body {
    background-color: #FDF6F0;
    /*color: #cda791;*/
    color: #888;
    font-family: 'M PLUS Rounded 1c', sans-serif;
}

a {
    color: #98EECC;
    text-decoration: none;
}
a:hover {
    color: #A4907C;
    text-decoration: none;
}

/* header start */

.header_img {
    display: grid;
    place-items: center; /* 中央揃え */
}

.header_img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center bottom;
}

.header_img {
    position: relative;
    display: inline-block; /* 画像のサイズに合わせる */
    width: 100%;
}

.center-text {
    margin-bottom: 1.2em; /* テキスト間のスペースを追加 */
}

.subtitle {
    width: 100%
    font-size: 1.4em; /* サブタイトルのフォントサイズ */
    white-space: pre-line; /* モバイル表示時に改行を保持 */
}

/* header end */

.logo{
	float:left
}

.logo_icon {
    width: 50px;
    position: absolute;
    top: 40px;
    left: 40px;
}

p {
    padding: 10px;
}

.table_p {
    margin-top: initial;
    margin-bottom: 0;
}

p.check_cast_info {
    text-align: left;
    display: inline-flex;
    height: 0em;
    margin: 0 0 0 1em;
}

::placeholder{
  color: #f9e3d7
}

.top_frame {
    margin: 0 1em 1em;
}

hr {
    border: 0;
    border-bottom: 1px dashed #ccc;
    background: #888;
    margin-bottm: 0.2em;
}

h1 {
    font-size: 2.0em;
    text-align: center;
    margin: 2em 0 1em;
    color: #000;
}

h2::before,
h2::after {
  content: '';
  width: 20px;
  height: 3px;
  background: #888;
}

/* 見出しの文字と横棒の間隔を開ける */
h2::before {
  margin-right: 20px;
}

h2::after {
  margin-left: 20px;
}

h2 {
    font-size: 2em;
    text-align: center;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    /*background-color: antiquewhite;*/
    display: flex;
    align-items: center;/* 縦位置の調整 */
    justify-content: center;/* 横位置の調整 */
}

h1::after {
    content: "";
    display: block;
    margin: auto;
    margin-top: 30px;
    margin-bottom: 30px;
    border-radius: 4px;
    width: 48px;
    height: 4px;
    background: #000;
}

h2.hosoku {
    margin: 1em 0 0 0;
}

.venuelist {
}

.news, .venue, .todo, .trick, notes {
    max-height: auto;
    margin: 0 0 2em;
    padding: 2em;
    background-color: #ffffff;
    border: var(--container-corvid-border-width,var(--brw,1px)) solid var(--container-corvid-border-color,rgba(var(--brd,var(--color_15)),var(--alpha-brd,1)));
    border-radius: var(--rd,5px);
    box-shadow: var(--shd,0 1px 4px rgba(0,0,0,.6));
}
.news {
    margin: 2em 0 2em;
    width: 600px;
}

.venue_thumbnail {
    width: 220px;
    height: auto;
    max-width: 100%;
}

.venue_part {
    margin-top: 1.5em;
}

.venue_part th {
    white-space: nowrap; /* テキストの自動改行を無効化 */
}

.access p {
    padding: 0;
}

.access span {
    font-weight: 700;
}

.transportation {
    margin: 1em 0;
}

.venue a, .how a {
    font-size: 1.0em;
    color: #fff;
    background-color: #98EECC;
    text-decoration: none; /* 下線を非表示にする */
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
    -ms-transition: 0.5s all;
}

.venue a:hover {
    color: #fff;
    background-color: #A4907C;
    text-decoration: none; /* 下線を非表示にする */
}

.btn-lg {
    padding: 0.7em 3em;
    border-radius: 0;
}

.contact {
    margin-bottom: 2em;
    padding: 1.2em 1.0em;
    background-color: #ffffff;
    border: var(--container-corvid-border-width,var(--brw,1px)) solid var(--container-corvid-border-color,rgba(var(--brd,var(--color_15)),var(--alpha-brd,1)));
    border-radius: var(--rd,5px);
    box-shadow: var(--shd,0 1px 4px rgba(0,0,0,.6));
}

#multi_date_picker {
    display: flex;
    justify-content: center;
    margin: 1em 0 0;
}

.cast_info {
    display: flex;
    justify-content: center;
    margin: 1em 0 0;
    flex-direction: column;
}

.common_time_area {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2em 0 0;
}

.full_btn_area {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2em 0 0;
}

.half_btn_area, .space_area {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}
.space_area {
    width: 0%;
    margin: 0 1em;
}

.cast_info_input_area {
    width: 100%;
    max-width: 100%;
    height: 2.5em;
    padding: 2px 2%;
    border: 1px solid #FCD8D4;
    border-radius: 3px;
    background: #fafafa;
    -webkit-appearance: none;
    font-family: inherit;
    font-size: 1em;
    color: #594a4e;
    text-align: center;
}

.time_input_area {
    width: 50%;
    max-width: 50%;
    height: 2.5em;
    padding: 2px 2%;
    border: 1px solid #FCD8D4;
    border-radius: 3px;
    background: #fafafa;
    -webkit-appearance: none;
    font-family: inherit;
    font-size: 1em;
    color: #594a4e;
    text-align: center;
}

.work_time_input {
    width: 100%;
    max-width: 100%;
    height: 2.5em;
    padding: 2px 2%;
    border: 1px solid #FCD8D4;
    border-radius: 3px;
    background: #fafafa;
    -webkit-appearance: none;
    font-family: inherit;
    font-size: 1em;
    color: #594a4e;
    text-align: center;
}

.consultation {
    position:fixed;
    bottom:10px;
    right:10px;
}

#btn_design, #btn_design_sub {
    width: 100%;
    max-width: 100%;
    height: 2.5em;
    text-decoration: none;
    color: #FFF;
    background: #F5C6AA;/*背景色*/
    border-bottom: solid 2px #d77f4b;/*少し濃い目の色に*/
    border-radius: 4px;/*角の丸み*/
    box-shadow: inset 0 2px 0 rgba(255,255,255,0.2), 0 2px 2px rgba(0, 0, 0, 0.19);
    font-weight: bold;
    display: grid;
    place-items: center;
}

#btn_design:active, #btn_design_sub {
    border-bottom: solid 2px #fd9535;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.30);
}

#btn_design_sub {
    background: #e5acb9;/*背景色*/
    border-bottom: solid 2px #cf7c8f;/*少し濃い目の色に*/
    box-shadow: inset 0 2px 0 rgba(255,255,255,0.2), 0 2px 2px rgba(0, 0, 0, 0.19);
}

#btn_design_sub:active {
    border-bottom: solid 2px #fd9535;
}

.check_td {
    text-align: center;
}

.cal_area, .shift_area {
    margin: 1em 0 0;
    text-align: center;
    overflow-x: auto;
}
.shift_area table {
    margin-left: auto;
    margin-right: auto;
}

.table_header_height {
  height: 2.5em;
  text-align: center;
}

.home_table {
    margin-top: 1em;
    border-spacing: 0 10px;
    font-family: 'Yusei Magic', sans-serif;
}

.home_table tr {
}

.home_table td {
    padding: 10px;
}

.check_table {
    width: 100%;
    border-collapse: collapse;
    white-space: nowrap;
}

.check_table th,
.check_table td {
  border: 2px solid #eee;
  padding: 4px 8px;
}

.text_area {
    padding: 0 1em;
    text-align: left;
    margin: 1em 0 0
}

.check_area {
    width: 100%;
    text-align: center;
}

.trash_img {
    width: 20px;
    margin-top: 1em;
}

/* 2つの横並びボタン用 */
.double_button {
    display: flex;
    justify-content: center;
    margin: 2em 0 0;
}

.wrapper {
    margin: 0;
    display: flex;
    flex-flow: column;
    min-height: 100vh;
}

.other_text {
    width: 100%;
    height: 10em;
}

/* regacc/send.php, auth.php, index.phpのテキストエリアで使用 */
.text_comment_area {
    margin: 2em 1em;
}

/* index.phpのテキストエリアで使用 */
.comment_text {
    font-size: 0.8em;
}

.fix_table {
    font-size: 1.0em;
}

.btn-custom {
    color: #fff;
    background-color: #F5C6AA;
    border-bottom: solid 2px #d77f4b;
    box-shadow: inset 0 2px 0 rgba(255,255,255,0.2), 0 2px 2px rgba(0, 0, 0, 0.19);
    width: 144px;
    height: 42px;
}

form {
    margin-block-end: 0;
}

select:invalid {
    color: #888;
}
select option {
    color: black;
}
select option:first-child {
    color: #888;
}

/* Google reCAPTCHA V3 バッジを非表示にする >> */
.grecaptcha-badge {
    display: none !important;
}
/* << Google reCAPTCHA V3 バッジを非表示にする */

@media(max-width: 1199px){
    .text-overlay {
        font-size: 1.4em; /* テキストのフォントサイズ */
    }
}
@media(max-width:991px){
    h1::before,
    h1::after {
        flex-grow: 0.1;/* 少数にする */
    }
    .news {
        width: 100%;
    }
}
@media screen and (max-width: 800px) {
}
/* デスクトップ表示時のスタイル（オプション） */
@media screen and (min-width: 768px) {
    h3 {
        white-space: normal; /* デスクトップ表示時は通常の改行を使用 */
    }
}
@media screen and (max-width: 767px) {
    .news {
        padding: 1.2em;
    }
    .venue {
        padding: 1.5em 0.5em 1.5em;
    }
    .rap-img {
        padding: 0.5em;
    }
    .venue_thumbnail {
        /*padding: 1em 2em;*/
    }
    h1 {
        white-space: pre-line; /* モバイル表示時に改行を保持 */
    }
    .contact h3 {
        white-space: pre-line; /* モバイル表示時に改行を保持 */
    }
    .venuelist h2 {
        margin: 0 0 0.5em;
    }
    h3 {
        font-weight: 700;
    }
    h3 {
        white-space: pre-line; /* モバイル表示時に改行を保持 */
        text-align: center;
    }
    .access li {
        white-space: pre-line; /* モバイル表示時に改行を保持 */
    }
}
@media(max-width:768px){
    .text-overlay {
        font-size: 1.2em; /* テキストのフォントサイズ */
        width: 70%;
        top: 35%;
    }
    .center-text {
        margin-bottom: 0;
    }
    .subtitle {
        font-size: 1.0em; /* サブタイトルのフォントサイズ */
        white-space: nowrap; /* モバイル表示時は改行しない */
    }
}
@media(max-width:568px){
}
@media(max-width:480px){
    .text-overlay h1 {
        font-size: 1.4em; /* テキストのフォントサイズ */
    }
    .text-overlay {
        /*top: 40%;*/
    }
}
@media(max-width:384px){
    .text-overlay, .subtitle {
        font-size: 1.0em; /* テキストのフォントサイズ */
    }
    .subtitle {
        font-size: 1.0em; /* サブタイトルのフォントサイズ */
        white-space: normal;
    }
}
@media(max-width:320px){
    .text-overlay, .subtitle {
        font-size: 0.8em; /* テキストのフォントサイズ */
    }
}
