#booking-package_calendarPage .calendar {
    padding: 0;
    margin: 0;
}
#booking-package_calendarPage .calendarPanel {
    background-image: linear-gradient(to left top, #707070, #747474, #777777, #7b7b7b, #7f7f7f);
    color: #fff;
    padding: 0;
}
#booking-package_calendarPage .calendarPanel::after {
    white-space: pre-wrap;
    content: "黄色でマークされている日がこの講座の開催日です。\A該当する日が無い場合は、翌月以降のカレンダーをご覧ください。";
    background: #ffda30;
    color: #333;
    font-size: 16px;
    line-height: 1.3;
    grid-column-start: span 3;
    padding: 5px 10%;
}
#booking-package_calendarPage .arrowLeft span,
#booking-package_calendarPage .arrowRight span {
    border-bottom: 1px solid;
}
#booking-package_calendarPage .arrowLeft span::after,
#booking-package_calendarPage .arrowRight span::after {
    content: "月を見る";
    font-size: .9em;
    letter-spacing: -1px;
}
.calendarData {
    font-size: 28px;
}
#booking-package_calendarPage .calendarPanel .calendarChangeButton {
    font-size: 24px;
}
#booking-package_inputFormPanel .row {
    padding: 10px 20px;
}
#booking-package_inputFormPanel .name {
    font-size: 17px;
    font-weight: 600;
    display: flex;
    line-height: 1.5;
}
#booking-package_calendarPage .pointer {
    background: #ffda30;
}
#booking-package_inputFormPanel input,
#booking-package_inputFormPanel textarea,
#booking-package_inputFormPanel select {
    background: #fff;
    border-radius: 4px;
    padding: 6px 10px !important;
    font-family: 'Noto Sans';
    color: #333;
}
#booking-package_inputFormPanel .row:has(.bookingDate) {
    text-align: center;
    background: #fff;
    border: none;
}
#booking-package_inputFormPanel .row:has(.bookingDate) .name {
    font-size: 0;
    display: block;
}
#booking-package_inputFormPanel .row:has(.bookingDate) .name::before {
    content: "下記開催日時への予約申し込みを行います";
    font-size: 17px;
    line-height: 2;
}
#booking-package_inputFormPanel .bookingDate {
    display: block;
}
#booking-package_inputFormPanel .bookingDate::before {
    content: "開催日：";
}
#booking-package_inputFormPanel .bookingTime::before {
    content: "開催時間：";
}
#booking-package_inputFormPanel .bookingDate, .bookingTime, .bookingSubtitle {
    font-size: 110%;
    font-weight: 600;
    line-height: 1.2;
}
#booking-package_inputFormPanel label:has(input[type="radio"]),
#booking-package_inputFormPanel label:has(input[type="checkbox"]) {
    padding: 10px 15px 10px 10px;
    margin: 0 10px 8px 0;
    background: #fff;
    border-radius: 5px;
    display: inline-flex;
    border: 1px solid #d6d6d6;
}
#booking-package_inputFormPanel label:has(input[type="radio"]:checked),
#booking-package_inputFormPanel label:has(input[type="checkbox"]:checked) {
    background-image: linear-gradient(to left top, #de5874, #e15e79, #e5637e, #e86983, #eb6e88);
    color: #fff;
    border-color: #de5874;
}
#booking-package_inputFormPanel label:has(input[type="radio"]:checked) span::before,
#booking-package_inputFormPanel label:has(input[type="checkbox"]:checked) span::before{
    border-color: #fff;
    background: #fff;
    color: #de5874;
}
#booking-package_inputFormPanel .required {
    color: #333333;
}
#booking-package_inputFormPanel .radio_title {
    font-size: 18px;
    line-height: 1.2;
    display: flex;
    align-items: center;
}
#booking_package_input_seibetsu {
    display: flex;
}
#booking-package_inputFormPanel .value:has(#booking_package_input_terms) .description {
    position: relative;
    overflow-y: auto;
    height: 200px;
    padding: 5px;
    border: 1px solid #000;
    background-color: #F9F9F9;
    color: #000;
    font-size: 14px;
}
#booking-package_inputFormPanel div#reservationHeader {
    font-size: 0;
    background-image: linear-gradient(to left top, #de5874, #e15e79, #e5637e, #e86983, #eb6e88);
    position: relative;
}
#reservationHeader::after {
    content: "STEP②：ご予約者様の情報を入力してください";
    color: #fff;
    font-size: 18px;
    font-weight: 400;
}
#booking-package button.bookingButton {
    font-size: 0 !important;
    background-image: linear-gradient(to left top, #de5874, #e15e79, #e5637e, #e86983, #eb6e88);
}
#booking-package button.bookingButton::before {
    content: "入力した内容で予約する";
    color: #fff;
    font-size: 20px;
    padding: 12px 12px 0;
    display: block;
    line-height: 1;
}
#booking-package button.bookingButton::after {
    content: "※このボタンを押すと予約が完了します※";
    color: #fff;
    font-size: 16px;
    padding: 12px;
    display: block;
    line-height: 1;
}
#nextAndReturnPanel button#returnToSchedules {
    font-size: 0;
    background-image: linear-gradient(to left top, #555555, #585858, #5b5b5b, #5f5f5f, #626262);
}
#nextAndReturnPanel button#returnToSchedules::after {
    content: "日時選択に戻る";
    color: #fff;
    font-size: 20px;
    padding: 12px;
    display: inline-block;
}
div#paymentPanel div#booking-package_pay_locally button.returnButton.bookingButton {
    font-size: 20px;
    padding: 12px;
}
#booking-package_schedulePage .positionSticky {
    position: absolute !important;
}
#booking-package_calendarPage .dayPanel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
}
#booking-package_calendarPage .dayPostion {
    line-height: 1;
}
#booking-package_calendarPage .dayPanel:has(.symbolPanel) {
    background: #ffda30;
}
#booking-package_calendarPage .symbolPanel {
    font-size: 12px !important;
    margin-top: -3px;
}
#booking-package_calendarPage .dayPanelHeight {
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
}
.booking-form h3 {
    background-image: linear-gradient(to left top, #de5874, #e15e79, #e5637e, #e86983, #eb6e88);
    color: #fff;
    text-align: center;
    padding: 10px 0;
    font-size: 18px;
    font-weight: 400;
}
div#booking_package_input_kigae {
    display: grid;
    grid-template-columns: 1fr 300px;
    align-items: center;
}
#booking_package_input_kigae::before {
    content: "";
    display: block;
    width: 300px;
    height: 215px;
    background-image: url(https://dev.mdx-edu.com/wp-content/uploads/2022/09/rental-set.png);
    background-size: cover;
    background-position: center;
    margin: 0 auto;
    grid-column: 2/3;
    grid-row-start: 1;
	grid-row-end: 6;
}
#booking-package_inputFormPanel label, #booking-package-subscription_form label {
    line-height: 1.4;
    grid-column: 1/2;
}
#booking-package_inputFormPanel .required:after {
    content: "必須";
    font-size: 14px;
    background: #ef4568;
    color: #fff;
    border-radius: 5px;
    font-weight: 400;
    display: inline-block;
    height: 1.5em;
    width: 2.6em;
    line-height: 1.5;
    text-align: center;
    margin-left: 5px;
}
.row:has(#booking_package_value_emailcheck) .name {
    font-size: 0;
}
.row:has(#booking_package_value_emailcheck) .name::before {
    white-space: pre-wrap;
    content: "Eメールアドレスに誤りがありますとお申込み後のご連絡メールが届きません。\A今一度入力内容をご確認ください。";
    font-size: 17px;
}
.row:has(#booking_package_value_emailcheck) .name::after {
    font-size: 14px;
}
#booking-package_inputFormPanel .cartPanel {
    margin-top: 30px;
}
#booking-package_inputFormPanel label,
#booking-package-subscription_form label {
    line-height: 1.4;
}
#booking-package_calendarPage .sun {
    background: #f3d2d2;
}
#booking-package_calendarPage .sat {
    background: #d6eced;
}
#booking-package_calendarPage .dayPanel {
    border-color: #ababab;
}

/* 完了画面 */
#booking-package_inputFormPanel:has(.booking_completed) .row:has(.bookingDate) .name::before {
    content: none;
}
#booking-package_inputFormPanel #reservationHeader.booking_completed {
    font-size: 0;
    position: relative;
}
#booking-package_inputFormPanel #reservationHeader.booking_completed::before {
    white-space: pre-wrap;
    content: "お申込みを受け付けました。\A後日、担当者よりご連絡を差し上げます。";
    font-size: 22px;
    font-weight: 600;
    color: #de5874;
    line-height: 1.4;
    background: #fff;
    display: block;
    width: 550px;
    max-width: 100%;
    margin: 0 auto;
    padding: 5px;
}
#booking-package_inputFormPanel #reservationHeader.booking_completed::after {
    white-space: pre-wrap;
    content: "参加のお申込みをありがとうございました。\A後日、担当者よりご連絡差し上げますのでお待ち下さい。\Aまずは、お申込内容が記載された自動送信メールをお送りしておりますが、こちらのメールが届かない場合はご入力いただいたメールが間違っている可能性がございます。\Aその場合はメールアドレスをお確かめの上、お問い合わせ下さい。また、自動送信メールが別のフォルダ（迷惑メール・低優先等）に入っていないかご確認ください。";
    font-size: 15px;
    line-height: 1.3;
    display: block;
    padding: 20px 30px;
    text-align: left;
}
#booking-package_inputFormPanel.booking_completed_panel .row {
    font-size: 17px;
}
#booking-package_inputFormPanel.booking_completed_panel .row .name {
    padding-bottom: 0;
    line-height: 1.3;
}
#booking-package_inputFormPanel.booking_completed_panel .row .value {
    font-size: 17px;
    font-weight: 400;
}
#booking-package_inputFormPanel.booking_completed_panel #nextAndReturnPanel button#returnToSchedules {
    display: none;
}
#booking-package_inputFormPanel.booking_completed_panel #nextAndReturnPanel button#returnToSchedules::after {
    content: none;
}
.booking-form:has(.booking_completed_panel)  > h3 {
    display: none;
}

/*---
 for Smartphone 540 pixels ---*/
@media screen and (max-width: 540px) {
    #booking-package_calendarPage .calendarPanel {
        grid-template-columns: 1fr 9em 1fr;
    }
    #booking-package_calendarPage .calendarPanel .arrowFont {
        width: auto;
        font-size: 1.2em !important;
    }
    #booking-package_calendarPage .arrowLeft span::after,
    #booking-package_calendarPage .arrowRight span::after {
    content: "";
    }
    div#booking_package_input_kigae {
    	display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    div#booking_package_input_kigae::before {
        width: 250px;
        height: 200px;
    }
    #booking-package_inputFormPanel #reservationHeader.booking_completed::before {
        width: 100%;
        padding: 20px 30px 0 30px;
        text-align: left;
        line-height: 1.3;
        font-size: 20px;
        background-image: linear-gradient(to left top, #de5874, #e15e79, #e5637e, #e86983, #eb6e88);
        color: #fff;
    }
    #booking-package_inputFormPanel #reservationHeader.booking_completed::after {
    	padding: 15px 30px 10px;
	}
    #booking-package_inputFormPanel .required:after {
    font-size: 0.8em;
    word-break: keep-all;
	}
}
@media only screen and (max-width: 480px) {
    #booking-package_schedulePage .positionSticky {
        position: absolute !important;
    }
}