:root {
    --success: #00adb5;
    --daunger: crimson;
    --text-black: #1E2022;
}

html,
body {
    overflow-x: hidden;
}

body {
    background-color: #fffefb;
    color: #555555;
    max-width: 100vw;
}

header {
    height: 7vh;
}

main {
    padding-bottom: 10vh;
}

footer {
    height: 6vh;
}
@media print, screen and (max-height: 690px) {
    footer {
        height: 8vh;
    }
}

.header_logo {
    margin: 8px 0 8px 10px;
}

.btn_sm {
    width: 90px;
}

.btn_md {
    width: 120px;
}

.btn_lg {
    width: 200px;
}

.btn_style_reset {
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    appearance: none;
}

.reserve_grid {
    display: grid;
    grid-template-columns: 2% 98% repeat(3, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;

    .grid_blank_space {
        grid-area: 1 / 1 / 2 / 2;
    }
    .grid_rooms {
        grid-area: 1 / 2 / 2 / 3;
    }
    .grid_reservations {
        grid-area: 2 / 2 / 3 / 3;
    }
}

.selected_day_btn {
    width: 60px;
    padding: 3px 0;
    margin-right: 10px;
    float: left;
}

.selected_day_btn_active {
    background-color: gray;
    width: 60px;
    padding: 3px 0;
    margin-right: 10px;
    float: left;
}

.room_btn,
.room_btn_reverse {
    margin-right: 15px;
    width: 27vw;
}

.reservation_card {
    width: 27vw;
    padding: 12px 0 12px 0;
    margin-right: 15px;
    border-radius: 5px;
    margin-top: 20px;
    text-align: center;
    position: relative;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
    background-color: black;
    width: 30px;
    height: 70px;
    border-radius: 4px;
}

.coupon_discount_rate {
    font-size: 36px;
    font-weight: bold;
}

.coupon_name {
    font-size: 22px;
    line-height: 22px;
}

.availability_period,
.remaining_count_of_available {
    font-size: 16px;
}

.vip_member_monthly_fee {
    border-bottom: double 10px;
}

.tabs {
    position: relative;
}

#lamp {
    width: 25%;
    height: 2px;
    position: absolute;
    transition: all 0.3s ease-in;
    -o-transition: all 0.3s ease-in;
    -webkit-transition: all 0.3s ease-in;
    -moz-transition: all 0.3s ease-in;
}

#lamp.reservations {
    left: 7%;
}

#lamp.usage_history {
    left: 38%;
}

#lamp.cancel_history {
    left: 69%;
}

.mobile_order_history_total_price {
    font-size: 22px;
}

.item_explanation {
    white-space: pre-wrap;
}

.item {
    height: auto;
    /* マック用 */
    /* height: 60vw;
    width: 42vw; */
}
.item_img_container {
    height: 50vw;
}

.item_img {
    /* マック用 */
    /* height: 42vw;
    width: auto;
    aspect-ratio: auto;
    margin: auto; */

    aspect-ratio: auto;
    margin: auto;
}

.receipt_display_period_btn {
    border-radius: 50%;
    padding: 0;
    width: 30px;
    height: 30px;
    margin-right: 5px;
}

.quantity_btn {
    border-radius: 50%;
    height: 37px;
    width: 37px;
    padding-bottom: 4px;
    padding-right: 6px;
}

.check_out_btn {
    width: 280px;
    height: 100px;
}

.cart_modal_btn {
    position: fixed;
    width: 90%;
    bottom: 7vh;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 777;
}

.cart_quantity_mark {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background-color: red;
    border-radius: 50%;
    line-height: 30px;
    padding: 0;
}

.number_of_carts {
    font-size: 15px;
    width: 100%;
    padding: auto;
    text-align: center;
}
.reserve_total_price {
    font-size: 20px;
    font-weight: bold;
}

.dropdown-toggle::after {
    display: none;
}

input[type="radio"] {
    accent-color: #00adb5;
}

.form-check-input {
    transform: scale(1.3);
}


.form-check-input:checked {
    background-color: #00adb5;
    border-color: #00adb5;
}

.card_hide_mask_gray {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
    border-radius: 5px;
}

.ox_mask_text {
    color: var(--text-100);
    font-size: 25px;
    margin-top: 5%;
    font-weight: bold;
}

.card_vacancy_mask {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(63, 166, 189, 0.7);
    z-index: 1;
    border-radius: 5px;
}

.mask_text {
    color: white;
    font-size: 21px;
    margin-top: 90px;
}

#is_open_item_modal_container,
#is_open_cart_modal_container,
#is_show_modal_container {
    z-index: 2000;
    opacity: 0;
    transform: translateY(-20px);
    transition: .3s ease-out;
}

#display_container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1101;
}

#background_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 黒の透過背景 */
    z-index: 1100; /* スピナーの上に配置 */
}

#cart_btn {
    position: fixed;
    bottom: 2vh;
    left: 50%;
    z-index: 777;
}

.terms_card {
    height: 200px;
    overflow-y: scroll;
}

.custum_checkbox {
    position: relative;
    padding-left: 30px;
    padding-right: 20px;
    cursor: pointer;
    user-select: none;
}

.custum_checkbox input {
    display: none;
}

.custum_mark {
    position: absolute;
    top: 0;
    left: 0;
    height: 23px;
    width: 23px;
    border: solid 1px var(--bg-200);
    border-radius: 5px;
    box-sizing: border-box;
    background-color: var(--bg-100);
}

.custum_mark:after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 9px;
    height: 14px;
    border: solid var(--bg-100);
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
    opacity: 0;
}

.custum_checkbox input:checked + .custum_mark {
    background: var(--success);
    border-color: var(--success);
}

.custum_checkbox input:checked + .custum_mark:after {
    opacity: 1;
}

.btn_mypages {
    padding-top: 35px;
    background-color: transparent;
    color: #333;
    border: none;
    cursor: not-allowed;
    position: relative;
}

.mypage_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    pointer-events: none;
}

.coming_soon_text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    width: 100%;
}

.btn_mypages > i{
    font-size: 60px;
    margin-bottom: 30px;
}

#checkin_qr {
    background-color: white;
    width: 160px;
    height: 160px;
    padding: 10px;
    margin: auto;
}

.month_arrow_btn {
    height: 30px;
    width: 30px;
    border-radius: 50%;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    width: 30px;
    height: 30px;
}


#calendar_select_btn {
    padding: 0;
    border: none;
    width: 30px;
    height: 30px;
}

#calendar_select_form {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 30;
    width: 30px;
    height: 30px;
    opacity: 0;
}

/* カレンダー全体のスタイル */
.ui-datepicker {
    background-color: #f0f0f0; /* 背景色の変更 */
    border: 1px solid #ccc; /* 枠線のスタイル */
    font-size: 14px; /* フォントサイズ */
}

/* ヘッダーのスタイル */
.ui-datepicker-header {
    background-color: #e0e0e0; /* 背景色の変更 */
    color: #333; /* テキストの色 */
}

/* ナビゲーションボタンのスタイル */
.ui-datepicker-prev, .ui-datepicker-next {
    background-color: #fff; /* 背景色の変更 */
    border: none; /* 枠線を削除 */
}

/* 各日付のスタイル */
.ui-datepicker-calendar td {
    padding: 5px; /* パディングの追加 */
    text-align: center; /* 中央揃え */
}
/* 土曜日の日付のスタイル */
.ui-datepicker-calendar .ui-datepicker-week-end:nth-child(7) {
    color: blue; /* 土曜日を青色に変更 */
}

/* 日曜日の日付のスタイル */
.ui-datepicker-calendar .ui-datepicker-week-end:nth-child(1) {
    color: red; /* 日曜日を赤色に変更 */
}

/* 〇×カレンダーの縦スクロール */
.fixed-row {
    position: sticky;
    top: 0;
    z-index: 1;
    background-color: var(--bg-100);
}

.fixed-row .col {
    border-bottom: 1px solid var(--bg-100);
}

.times-container {
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 500px;
    max-height: 600px;
}

.bg_blue {
    background-color: #00ADB5;
}

.color_white {
    color: white;
}

input[readonly] {
	cursor: not-allowed;
        color: #adb5bd; /* 文字色を淡いグレーに */
    background-color: #f8f9fa; /* 背景を明るいグレーに */
    border-color: #ced4da; /* ボーダーもグレーにする */
}
