/* カレンダー
====================================================*/
/* 手順 */
.top-contact__flow {
    max-width: 980px;
    width: 96%;
    margin: 0 auto 70px;
}

.top-contact__flow_ttl {
    margin: 0 auto 25px;
    line-height: 1;
    font-size: clamp(1.25rem, 1.1591rem + 0.4545vw, 1.5rem);
    font-weight: bold;
}

@media (max-width: 500px) {
    .top-contact__flow {
        margin: 0 auto 20px;
    }
}

.top-contact__flow_list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.top-contact__flow_item {
    display: flex;
    align-items: stretch; /* 高さを揃える */
    position: relative;
    background: #f1f1f1;
    min-height: 100px; /* 必要に応じて指定 */
}

.top-contact__flow_item::after {
    content: "";
    border-top: 18px solid #009b97;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 18px solid transparent;
    position: absolute;
    left: 50%;
    bottom: -47px;
    transform: translateX(-50%);
}

.top-contact__flow_item:last-child::after {
    display: none;
}

.top-contact__flow_num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    background: #009b97;
    font-family: "Myriad Pro", sans-serif;
    font-size: clamp(1.5rem, 1.3636rem + 0.6818vw, 1.875rem);
    font-weight: bold;
    color: #fff;
}

.top-contact__flow_text {
    display: flex;
    align-items: center; /* テキストを縦中央 */
    padding: clamp(0.875rem, 0.625rem + 1.25vw, 1.5625rem)
        clamp(0.625rem, 0.3977rem + 1.1364vw, 1.25rem);
    width: calc(100% - 64px);
    box-sizing: border-box;
    font-size: clamp(0.875rem, 0.7841rem + 0.4545vw, 1.125rem);
    font-weight: bold;
    line-height: 1.4;
    height: 100%; /* 高さ揃える */
    text-align: left;
}


/* テーブル */
.calendar-table {
    border-spacing: 0;
    border-collapse: collapse;
    width: 96%;
    margin: 0 auto;
    border: #009b97 3px solid;
    max-width: 980px;
}
.calendar-table th,
.calendar-table td {
    font-weight: normal;
    border-top: 1px solid #009b97;
    border-left: 1px solid #009b97;
}
.calendar-table th:last-child,
.calendar-table td:last-child {
    border-right: 1px solid #009b97;
}
.calendar-table tr:last-child th,
.calendar-table tr:last-child td {
    border-bottom: 1px solid #009b97;
}

/* カレンダー日付 */
.calendar-table th {
    text-align: center;
    padding: 5px 2px;
    font-size: clamp(0.75rem, 0.7045rem + 0.2273vw, 0.875rem);
}
.calendar-time .date {
    white-space: nowrap; /* 通常は改行させない */
}
@media (max-width: 500px) {
    .calendar-time .date {
        white-space: normal; /* 改行を許可 */
    }
    .calendar-time .weekday {
        display: block; /* 500px以下のときに強制的に改行 */
    }
}
.date-label {
    margin: 0.5rem 0;
}
.faded {
    color: #bbb; /* 全体を薄くする */
}
.faded .date-label {
    color: #bbb;
}
.faded .booking-status {
    color: #bbb;
}
.booking-status {
    margin: 0.5rem;
}

/* カレンダーページング */
.calendar-paging {
    width: 96%;
    max-width: 980px;
    margin: 30px auto 10px;
    display: flex;
    justify-content: space-between;
}
.calendar-paging a{
    color: #009b97;;
    font-weight: bold;
}


/* 予約詳細フォーム
====================================================*/
.Form {
    margin-top: 80px;
    margin-left: auto;
    margin-right: auto;
    max-width: 720px;
    text-align: left;
}
@media screen and (max-width: 500px) {
    .Form {
        margin-top: 40px;
    }
}
.Form-Item {
    border-top: 1px solid #ddd;
    padding-top: 24px;
    padding-bottom: 24px;
    width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
@media screen and (max-width: 500px) {
    .Form-Item {
        padding-left: 14px;
        padding-right: 14px;
        padding-top: 16px;
        padding-bottom: 16px;
        flex-wrap: wrap;
    }
}
.Form-Item-mail-confirm{
    flex-wrap: nowrap;
}
@media screen and (max-width: 500px) {
    .Form-Item-mail-confirm{
    flex-wrap: wrap;
}
}
.Form-Item:nth-child(5) {
    border-bottom: 1px solid #ddd;
}
.Form-Item-Label {
    width: 100%;
    max-width: 248px;
    letter-spacing: 0.05em;
    font-weight: bold;
    font-size: 18px;
    text-align: left;
}
@media screen and (max-width: 500px) {
    .Form-Item-Label {
        max-width: inherit;
        display: flex;
        align-items: center;
        font-size: 15px;
    }
}
.Form-Item-Label.isMsg {
    margin-top: 8px;
    margin-bottom: auto;
}
@media screen and (max-width: 500px) {
    .Form-Item-Label.isMsg {
        margin-top: 0;
    }
}
.Form-Item-Label-Required {
    border-radius: 6px;
    margin-right: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
    width: 48px;
    display: inline-block;
    text-align: center;
    background: #5bc8ac;
    color: #fff;
    font-size: 14px;
}
@media screen and (max-width: 500px) {
    .Form-Item-Label-Required {
        border-radius: 4px;
        padding-top: 4px;
        padding-bottom: 4px;
        width: 32px;
        font-size: 10px;
    }
}
.Form-Item-Label-Arbitrary {
    border-radius: 6px;
    margin-right: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
    width: 48px;
    display: inline-block;
    text-align: center;
    background: #b6b6b6;
    color: #fff;
    font-size: 14px;
}
@media screen and (max-width: 500px) {
    .Form-Item-Label-Arbitrary {
        border-radius: 4px;
        padding-top: 4px;
        padding-bottom: 4px;
        width: 32px;
        font-size: 10px;
    }
}
.Form-Item-Input {
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-left: 40px;
    padding-left: 1em;
    padding-right: 1em;
    height: 48px;
    flex: 1;
    width: 100%;
    max-width: 410px;
    background: #eaedf2;
    font-size: 18px;
}
@media screen and (max-width: 500px) {
    .Form-Item-Input {
        margin-left: 0;
        margin-top: 18px;
        height: 40px;
        flex: inherit;
        font-size: 15px;
    }
}
.Form-Item-Textarea {
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-left: 40px;
    padding-left: 1em;
    padding-right: 1em;
    height: 216px;
    flex: 1;
    width: 100%;
    max-width: 410px;
    background: #eaedf2;
    font-size: 18px;
}
@media screen and (max-width: 500px) {
    .Form-Item-Textarea {
        margin-top: 18px;
        margin-left: 0;
        height: 200px;
        flex: inherit;
        font-size: 15px;
    }
}
.Form-Btn {
    border-radius: 6px;
    margin-top: 32px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 20px;
    padding-bottom: 20px;
    width: 280px;
    display: block;
    letter-spacing: 0.05em;
    color: #fff;
    font-weight: bold;
    font-size: 20px;
    text-align: center;
}
.Form-Btn:enabled {
    background-color: #5bc8ac;
}
.Form-Btn:disabled {
    background-color: #252525;
}
@media screen and (max-width: 500px) {
    .Form-Btn {
        margin-top: 24px;
        padding-top: 8px;
        padding-bottom: 8px;
        width: 160px;
        font-size: 16px;
    }
}

.number-container {
    margin-left: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.number-in {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 12px 0px;
    padding-right: 15px;
    gap: 8px;
}
.number-in p {
    margin: 0;
    white-space: nowrap;
}
.number-select {
    padding: 5px 20px;
    text-align: center;
}
@media screen and (max-width: 500px) {
    .number-container {
        margin-left: 0px;
    }
}
.plan-cool-wrap {
    flex-direction: column;
}
.plan-cool {
    font-size: clamp(0.875rem, 0.7386rem + 0.6818vw, 1.25rem) !important;
    width: 100% !important;
    margin-left: 50px;
}

/* 予約確認画面
====================================================*/
.yoyaku-errrortext {
    text-align: center;
}
.yoyaku-errrortext p {
    color: red;
}
.yoyaku-errrortext a {
    color: #1c5ce5;
    text-decoration: underline;
}
@media screen and (max-width: 500px) {
    .confirm-text {
        margin-top: 8px;
    }
}

/* 規約文章表示 */
.ruleArea {
    width: 100%;
    text-align: left;
    overflow-y: scroll;
    height: 225px;
    color: #333333;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
}
.ruleArea p {
    font-size: clamp(0.625rem, 0.5795rem + 0.2273vw, 0.75rem);
}
.ruleArea pre {
    white-space: pre-wrap;
    font-size: clamp(0.625rem, 0.5795rem + 0.2273vw, 0.75rem);
}
p.indent-0 {
    padding-left: 1em;
    text-indent: -1em;
}
p.indent-1 {
    padding-left: 2em;
    text-indent: -1em;
}
p.indent-2 {
    padding-left: 3em;
    text-indent: -1em;
}
p.indent-3 {
    padding-left: 4em;
    text-indent: -1em;
}
p.indent-4 {
    padding-left: 5em;
    text-indent: -1em;
}
p.indent-5 {
    padding-left: 6em;
    text-indent: -1em;
}
p.indent-6 {
    padding-left: 7em;
    text-indent: -1em;
}
p.indent-7 {
    padding-left: 8em;
    text-indent: -1em;
}
p.indent-8 {
    padding-left: 9em;
    text-indent: -1em;
}
p.indent-9 {
    padding-left: 10em;
    text-indent: -1em;
}
/* 無効状態のラベルに適用するクラス */
.agree-disabled {
    color: #e3e3e3; /* 薄いグレー */
    cursor: not-allowed;
}
@media screen and (max-width: 500px) {
    .form-table {
        width: 90%;
        margin: 0 auto;
    }
}

.fee-table {
    border-collapse: collapse;
    width: 90%;
    margin: 10px auto;
    text-align: center;
    font-family: sans-serif;
}

.fee-table th,
.fee-table td {
    border: 1px solid #ccc;
    padding: 5px;
    font-size: clamp(0.625rem, 0.5795rem + 0.2273vw, 0.75rem);
}

.room-fee-table {
    border-collapse: collapse;
    width: 90%;
    margin: 10px auto;
    text-align: center;
    font-family: sans-serif;
}

.room-fee-table th,
.room-fee-table td {
    border: 1px solid #ccc;
    padding: 5px;
    font-size: clamp(0.625rem, 0.5795rem + 0.2273vw, 0.75rem);
}

/* 予約確認画面
====================================================*/
.doneform {
    background-image: url(./img/donebg.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: contain;
}
