/**
 * CSS Start
 */
button {
    border: none;
    border-radius: 10px;
}
button.tantou {
    width: 260px;
    padding: 10px;
    background-color: #18b57b;
}

#header {
    position: relative;
    background: #18b57b;
}

/*
#header .icon-nav-bar {
    font-size: 2em;
    text-align: right;
    vertical-align: middle;
    color: #fff;
    padding: 9px;
}
*/
#header .icon-nav-bar {
    font-size: 2em;
    color: #fff;
    display: flex;
    flex-direction: row-reverse;
    gap: 1em;
}

#header h1 {
    color: #fff;
}

#menuTitle {
    display: none;
}

#header .icon-nav-bar .icon-button {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin: 5px 2%;
    padding: 2px 1%;
}

.icon-button-selected {
    background: rgb(102 123 227 / 50%);
    border-bottom: solid 3px #fff;
}

#header-nav-info {
    position: absolute;
    top: 12px;
    left: 12px;
    color: #333;
    font-size: 20px;
    background: yellow;
    border-radius: 7px;
    padding: 3px 4px 1px;
}

.icon-label {
    font-size: 10px;
    margin-top: 2px;
    line-height: 1em;
}

#logo {
    text-align: center;
}

#leftPane {
    width: 30%;
    min-width: 350px;
    float: left;
    border: solid 1px #ccc;
    padding: 5px;
}

#rightPane {
    width: 70%;
    min-width: 350px;
    float: left;
    padding: 5px;
}

@media only screen and (max-width: 480px) {
    #leftPane {
        width: 100%;
        min-width: 350px;
        float: left;
        border: solid 1px #ccc;
        padding: 5px;
    }
    #rightPane {
        width: 100%;
        min-width: 350px;
        float: left;
        padding: 5px;
    }
}

/* 担当者選択セクション全体のスタイル */
#tantouSelect {
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 見出しのスタイル */
#tantouSelect h3 {
    margin: 0;
}

/* ボタン＋画像の横並びコンテナ */
#tantouSelect .tantou-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
}

/* 左側：選択UIコンテナ */
#tantouSelect .selection-ui {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 担当選択ボタン共通スタイル */
#tantouSelect .tantou {
    padding: 6px 30px;
    background: #18b57b;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    width: 200px;
}

#tantouSelect .tantou:hover {
    background: rgb(18,92,233);
}

/* 担当ステータス表示 */
#instructorStatus {
    margin: 10px 0 0;
}

/* 右側：担当者画像コンテナ */
#worker_image {
    display: flex;
    align-items: center;
}

/* 担当者画像 */
#worker_image img {
    border-radius: 10px;
    width: 270px;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-header {
    /* width: 100%; */
    background: #18b57b;
    height: 2em;
    text-align: center;
    font-size: 2em;
    padding: 14px 0;
    color: #fff;
    font-weight: bold;
    margin: 0;
}

/* 閉じるボタンを常に表示する */
.modal-close {
    position: absolute;
    top: 3px;
    left: 4px;
    cursor: pointer;
    font-size: 24px;
    background: #ff4400;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1010;
    margin-bottom: 10px;
    padding: 7px 12px;
}

/* モーダルコンテンツのスクロール設定 */
.modal-body {
    background: #ebeaea;
    /* padding: 10px; */
    width: 100%;
    max-height: 100vh;
    overflow-y: auto;
    position: fixed;
    top: 0;
    left: 0;
    box-shadow: -10px 0 10px -4px rgba(0, 0, 0, 0.3);
    -ms-overflow-style: none;    /* IE、Edgeのスクロールバーを非表示 */
    scrollbar-width: none; 
}

/* ふきだし */
.modal-bubble-container {
    margin: 10px;
    border: solid 3px #18b57b;
    border-radius: 10px;
    background: #fffff0;
    font-size: 1.2em;
    padding: 10px;
    display: flex;
}
.modal-bubble-container .modal-bubble-image {
    display:none;
}
.modal-bubble-container .modal-bubble-image .worker-image-wrapper {
    width: 100px;
    margin: 0px 10px 0 0;
}
.modal-bubble-container .modal-bubble-image .worker-image-wrapper img {
    border-radius: 5px;
}
.modal-bubble-container .modal-bubble-text p {
    margin-bottom: 0.2em;
    line-height: 1.2em;
}

.modal-content {
    margin: 10px;
    background: #fff;
    /* padding: 20px; */
    border: solid 1px #ccc;
    border-radius: 10px;
}

.modal-footer {
    display: flex;
    justify-content: center;
    gap: 1.5em; /* ボタンの間隔を調整 */
    /* margin-top: 1.5em; */
}

.modal-footer button {
    min-width: 100px;
    padding: 0.6em 1.2em;
    font-size: 1em;
    background-color: #18b57b;
}

#myPageModal .modal-header {
    /* height: 2em; */
    padding: 5px;
}

#myPageModal .modal-header .icon-nav-bar {
    vertical-align: middle;
    display: flex;
    flex-direction: row-reverse;
    gap: 1em;
}

#myPageModal .modal-header .icon-nav-bar .icon-button i {
    /* font-size: 0.8em; */
    font-style: normal;
}

#myPageModal .modal-header .icon-nav-bar .icon-button .icon-label {
    line-height: 1.2em;
}

#reserveDateModal .modal-content {
    height: 100vh;
    overflow: hidden;
}

#reserveDateModal .iframe-wrapper {
    height: 100%;
    overflow-y: auto;
}

#header-nav-mypage {
    position: relative;       /* バッジ位置の基準 */
    display: inline-block;    /* これ重要。中身の幅に基準が合う */
}

.reserve-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #E53935;
    color: #fff;
    font-size: 11px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border: 2px solid white;  /* 見切れ防止 */
    padding: 0;
}

.ticket-info-block {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.6;
}

.ticket-auto-renew-note {
    margin-top: 6px;
    font-size: 12px;
    color: #c00;
}

.course-price-block p {
    margin: 4px 0;
    font-size: 14px;
    line-height: 1.6;
}

.trial-label {
    font-size: 12px;
    color: #2a7;
}

.ticket-auto-renew-note {
    font-size: 12px;
    color: #c00;
}


.summary-ticket {
    font-weight: bold;
    margin-bottom: 4px;
}

.summary-note {
    font-size: 12px;
    color: #666;
}


#workerSelectModal .instructorList li {
    padding: 0;
    cursor: pointer;
}

#instructorBlock {
    margin: 0;
    background: #fff;
    border-radius: 10px;
}
#instructorList {
    list-style: none;
    padding: 0;
}
#instructorList li {
    margin: 0;
    padding-left: 5px;
    border-bottom: solid 1px #ccc;
    cursor: pointer;
}
#instructorList li:hover {
    background-color:rgb(201, 231, 247);
    cursor: pointer;
}
#info {
    margin: 0;
}
#agreementContent {
    padding: 10px;
    border: solid 1px #ccc;
    /* max-height: 600px; /* 高さを制限 */
    overflow-y: scroll; /* スクロールを有効化 */
    -ms-overflow-style: none; /* IEとEdgeのスクロールバーを非表示 */
    scrollbar-width: none; /* Firefoxのスクロールバーを非表示 */
    background: #fff;
    border-radius: 5px;
}

/* Webkit（Chrome, Safari等）のスクロールバーを非表示 */
#agreementContent::-webkit-scrollbar {
    display: none;
}

.mdl-card {
    border: solid 1px #ccc;
    margin: 0 0 10px 0;
    padding: 5px;
}
.mdl-card__supporting-text {
    font-size: 2em;
    font-weight: bold;
    background: #89dde1;
    padding: 10px;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
#leftPane .rich-content {
    margin: 10px 0px;
}
.rich-content {
    padding: 5px;
    line-height: 1.5;
}
.rich-content p {
    margin: 0 0 10px 0;
}
.rich-content img {
    max-width: 100%;
    height: auto;
}
h4.agreementTitle {
    border-left-color: #18b57b !important;
    border-left-style: solid !important;
    border-left-width: 8px !important;
    box-sizing: border-box !important;
    color: rgb(51, 51, 51) !important;
    display: block !important;
    font-family: 游ゴシック体, "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, sans-serif !important;
    font-size: 1.5rem !important;
    font-weight: bold !important;
    line-height: 1.8rem !important;
    margin-bottom: 8px !important;
    padding-left: 10px !important;
    width: 100% !important;
    margin-top: 0px !important;
}

/****************************/
/* 
 * コースメニュー
 */
/****************************/
#courseList {
    margin-top: 10px;
    margin-bottom: 10px;
}
#courseList:last-child {
    margin-bottom: 0;
}
#courseList:first-child {
    margin-top: 0;
    border-top: 0;
}

.course_category_linkdown:before {
    content: "\f13a";
    color: #18b57b;
    font-family: Fontawesome;
    font-size: 1.5em;
    margin-right: .4em;
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
    -webkit-animation: linkdown 2s infinite;
    animation: linkdown 2s infinite;
}
.course_category_linkup:before {
    content: "\f139";
    color: #18b57b;
    font-family: Fontawesome;
    font-size: 1.5em;
    margin-right: .4em;
}

.courseName {
    font-size: 1.2em;
    font-weight: bold;
    margin: 0px;
    text-decoration: underline;
    color: rgb(20, 185, 213);
    cursor: pointer;
}
#subMenuContent .courseName {
    text-decoration: none;
    color: #333;
}
.courseTypeHeader {
    background: #f8f8f8;
    padding: 8px;
    margin: 0;
    font-size: 1.5em;
    font-weight: bold;
    border-bottom: solid 1px #c4c4c4;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2), 0 1px 5px 0 rgba(0, 0, 0, .12);
    cursor: pointer; /* カーソルをポインターに変更してクリック可能であることを示す */
}


/* オプション: ホバー効果を追加 */
.courseTypeHeader:hover {
    background-color: #e8e8e8;
}
.course-item {
    background: #ffffff;
    margin: 1px 1px 1px 0px;
    margin-bottom: 2px;
    padding: 0 5px;
    border-top: solid 1px #f4f4f4;
    border-bottom: solid 1px #f4f4f4;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2), 0 1px 5px 0 rgba(0, 0, 0, .12);
    border-radius: 5px;
}
.course-item-body {
    margin-left: 50px;
}
.course-item p {
    margin-bottom: 2px;
    margin-left: 0px;
    line-height: 1;
}
.category-header {
    cursor: pointer;
    font-weight: bold;
    padding: 10px;
    background-color: #f0f0f0;
}
.category-header.open {
    background-color: #e0e0e0;
}
.category-content {
    display: none; /* 最初は非表示 */
    padding: 10px;
    background-color: #fafafa;
}
.set-menu-label {
    display: block;
    color: magenta;
    font-weight: bold;
}
.previreLink {
    color : magenta;
    cursor: pointer;
}

.reserve-button-body {
    margin: 10px 10px 0px 10px;
}
button.reserve-button {
    color: white;
    width: 40px;
    height: 40px;
    line-height: 1.2em;
    position: relative;
    padding: 2px;
    top: -.3em;
    left: -.7em;
    cursor: pointer;
    font-size: 0.9em;
    background: rgba(249, 31, 99, 0.9);
    float: left;
}

.message-box {
    position: fixed;
    z-index: 1010;
    max-width: 80%;
    padding: 12px 30px 12px 15px;
    border-radius: 4px;
    border-left: 4px solid;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 10px; /* メッセージ間の間隔 */
    background-color: #fff;
}

.message-top-right {
    top: 10px;
    right: 10px;
}

.message-top-left {
    top: 10px;
    left: 10px;
}
.message-box .message-content {
    margin: 0;
    padding: 0 0 0 0;
    position: relative;
    right: 0;
    top: 0;
}

/* タイプ別スタイル */
.message-error {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

.message-box button.message-close-btn {
    position: absolute;
    top: 2px;
    right: 2px;
    padding: 1px 4px 2px 5px;
    background: none;
}

/* サブメニューモーダル用の追加スタイル */
#subMenuContent .course-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 5px;
    padding-bottom: 5px;
}

#subMenuContent h3 {
    color: #18b57b;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #18b57b;
}

#subMenuContent .reserve-button {
    background: rgba(249, 31, 99, 0.9);
}

#subMenuContent .reserve-button:hover {
    background: rgba(249, 31, 99, 0.7);
}

.subMenuSelectGuide {
    background: rgb(255,255,240);
    padding: 8px;
    border: solid 3px green;
    border-radius: 10px;
    margin-bottom: 10px;
    line-height: 1.5em;
}

#selectedCourseContainer {
    background-color:white;
    padding:5px;
    margin: 0 5px;
    font-size:0.98em;
    line-height:1.2em;
    border-radius:5px;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2), 0 1px 5px 0 rgba(0, 0, 0, .12);
}
#selectedCourseName {
    font-size: 1.2em;
}
#selectedCourseName .courseName {
    font-weight: bold;
}

#exttraSubMenuList {
    margin: 5px;
}
#selectedCourseContainer hr {
    margin-bottom: 12px;
    border: 0;
    border-top: 1px solid #888;
    margin: 0;
    margin-top: 3px;
    margin-bottom: 3px;
    padding: 0;
}

#selectedCourseInfo {
    font-size: 1.1em;
    font-weight: bold;
}
#subMenuSubmitBody {
    text-align: center;
}

.subMenuSelect {
    background: #fff;
    padding: 8px;
    margin-bottom: 5px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.subMenuSelectItem {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.subMenuName {
    font-weight: bold;
}

.removeSubMenu {
    background: #f44336;
    color: white;
    border: none;
    border-radius: 5px;
    width: 25px;
    height: 25px;
    line-height: 18px;
    text-align: center;
    cursor: pointer;
    padding: 0;
}

.subMenuInfo {
    font-size: 0.9em;
    color: #666;
    margin-top: 3px;
}

.subMenuPrice, .subMenuTime {
    margin-right: 10px;
}

#subMenuSubmitButton {
    border-radius: 5.5em;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    background-color: rgba(249, 31, 99, 0.9);
    height: 40px;
    width: 90%;
    margin: 10px 10px;
    color: #fff;
    font-weight: bold;
    padding: 8px 20px;
}

.worker-item {
    padding: 10px;
    margin-bottom: 10px;
    background: #fff;
    margin: 0;
    border-bottom: solid 1px #ccc;
}

.blueButton_smallitem {
    background-color: #18b57b;
    color: white;
    padding: 5px 15px;
    border-radius: 5px;
    cursor: pointer;
}

.blueButton_smallitem:hover {
    background-color: #149c68;
}

.select-button-container {
    display: flex;
    align-items: center;
    margin: 0; /* マージンを0に設定 */
    padding: 0; /* パディングも0に設定 */
}

.circle-select-button {
    width: 40px;
    height: 40px;
    border-radius: 50%; /* これで完全な円になります */
    background-color: rgba(249, 31, 99, 0.9); /* 元の色に戻す */
    color: white;
    font-weight: bold;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 0;
    font-size: 14px;
    margin: 0;
}

.circle-select-button:hover {
    background-color: rgba(225, 28, 88, 0.9); /* 少し暗くした色 */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* ホバー時に影を追加するとさらに良いUXになります */
}

.worker_selection {
    display: flex;
    align-items: center;
    margin: 5px 0; /* 上下のマージンを減らす（10pxから5pxに） */
    line-height: 1; /* 行の高さを制御 */
}

.worker-name-display {
    font-size: 1.5em;
    font-weight: bold;
    margin-left: 10px;
}

.worker_desc {
    margin-top: 5px; /* 上部マージンを明示的に設定 */
    line-height: 1.2; /* 行の高さを少し広めに */
}



/* 予約確認モーダルのスタイル */
#reservationConfirmModal .modal-footer {
    text-align: center;
    background: #fff;
    padding: 20px;
}

.reservation-modal {
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    width: 100%;
    /* max-width: 500px; */
    overflow: hidden;
    margin: 0 auto;
}

.reservation-modal .modal-header {
    background: #18b57b;
    color: white;
    padding: 10px 15px;
    position: relative;
}

.reservation-modal .modal-header h2 {
    margin: 0;
    font-size: 1.5em;
    text-align: center;
    font-weight: bold;
    font-size: 2em;
}

.reservation-modal .close-button {
    position: absolute;
    top: 13px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
    color: white;
    background: yellow;
    padding: 3px 12px;
    border-radius: 4px;
    height: 55%;
    color: #333;
}

.reservation-modal .modal-body {
    max-height: none;
    overflow-y: auto;
    position: relative;
    max-width: none;
    width: 100%;
}

.reservation-modal .info-section {
    text-align: center;
    font-size: 1.2em;
    margin: 15px;
    display: none;
}

.reservation-modal .date-section {
    text-align: center;
    margin-bottom: 15px;
    background: #18b57b;
}

.reservation-modal .date-section h3 {
    line-height: initial;
    color: #fff;
    font-weight: bold;
    font-size: 2.0em;
}

.reservation-modal .instruction-message {
    background: #fffff0;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    border: solid 3px #18b57b;
    overflow: hidden;
    margin: 10px 10px 15px;
}

.reservation-modal .instruction-message img {
    float: left;
    width: 100px;
}

.reservation-modal .instruction-message p {
    float: left;
    margin-left : 10px;
    margin-bottom: 0;
}

.reservation-modal .reservation-details {
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 0;
}

.reservation-modal .service-info, .reservation-modal .appointment-info {
    background: #fff;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2), 0 1px 5px 0 rgba(0, 0, 0, .12);
    padding: 10px;
    border-radius: 5px;
    margin: 0 0 5px 0;
}

.reservation-modal .service-info h4,
.reservation-modal .appointment-info h4 {
    border-left: solid 20px rgb(45 244 78 / 70%);
    padding: 0 10px;
    font-size: 1.2em;
    font-weight: bold;
}

.reservation-modal .appointment-info p {
    line-height: 1em;
    margin-bottom: 5px;
}

.reservation-modal .reservation-limits {
    font-size: 0.9em;
    color: #666;
    white-space: pre-line;
    line-height: 1.2em;
    margin: 0;
}

.reservation-modal .modal-footer {
  background: #f8f8f8;
  padding: 15px;
  text-align: center;
}

.reservation-modal .reservation-button {
  display: inline-block;
  background: rgba(249, 31, 99, 0.9);
  color: white;
  padding: 10px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.reservation-modal .reservation-button:hover {
  background: rgba(249, 31, 99, 0.7);
}

#reservationModal.modal-overlay {
  z-index: 1020;
/*  background-color: rgba(0, 0, 0, 0.5); /* ← 半透明のグレー */
}

#reservationModalContent.modal-body {
    width: 100%;
    box-shadow: none;
    padding: 0 0;
    max-width: none;
    background: #fff;
    max-height: none;
    height: 100%;
}

#reservationConfirmModal .agreement-content {
    padding: 10px;
    /* background: #ebeaea; */
}

#reservationConfirmModal .agreement-content .agreement-item {
    background: #fff;
    margin: 10px 0 10px;
}

/********************************************/
/*
 *メニュー詳細
 */
/********************************************/
#previewModal .preview-contents {
    padding: 10px;
    margin : 10px 0 0;
}

/********************************************/

/* 商品購入確認モーダルのスタイル */
#productConfirmModal .modal-footer {
    text-align: center;
    background: #fff;
    padding: 20px 0 0;
}

#productConfirmModal .agreement-content {
    padding: 10px;
    /* background: #ebeaea; */
}

#productConfirmModal .agreement-content .agreement-item {
    background: #fff;
    margin: 10px 0 10px;
}

#productConfirmModal .modal-content .final-payment-amount,
#thanksModal         .modal-content .final-payment-amount {
    margin: 10px;
    border: solid 1px #ccc;
    padding: 10px;
    border-radius: 10px;
    font-size: 1.2em;
    font-weight: bold;
}

#productConfirmModal .modal-content .final-payment-amount > label,
#thanksModal         .modal-content .final-payment-amount > label {
    font-size: 1.2em;
    font-weight: bold;
}


/* ペイメントモーダル用のスタイル調整 */
#paymentModalContent {
    position: relative; /* iframeを相対配置するために */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 90%; /* モーダルの幅を調整 */
    max-width: 800px; /* 最大幅 */
    height: 90vh; /* ビューポートの高さの90% */
    margin: 5vh auto; /* 上下にマージンを設けて中央寄せ */
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
#paymentModalTile {
    border: solid 1px #ccc;
    border-radius: 5px;
    background: #18b57b;
    font-size: 24px;
    padding: 10px;
    text-align: center;
    font-weight: bold;
}
#payment_iframe_container { /* iframeをラップするコンテナ */
    flex-grow: 1;
    width: 100%;
    height: 100%;
    overflow: auto; /* iframe自体がスクロールできるように */
    -webkit-overflow-scrolling: touch; /* iOSでのスムーズスクロール */
}
#payment_iframe {
    border: none;
    width: 100%;
    height: 100%;
    display: block; /* display:block を追加 */
}
#closePaymentModalButton {
    position: absolute;
    top: 17px;
    right: 16px;
    z-index: 1010;
    padding: 0px 7px 3px;
    background: #e9e919;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    line-height: 1;
    font-size: 30px;
    color: blue;
}

#closePaymentModalButton:hover {
    background: #e0e0e0;
}

#loadingIndicator {
    display:none;
    position:fixed;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
    background:rgba(255,255,255,0.8);
    padding:20px;
    border-radius:5px;
    z-index:2000;
}

#loadingIndicator .loadingIndicator-container {
    text-align:center;
}

#loadingIndicator .loadingIndicator-wrapper {
    border:5px solid #f3f3f3;
    border-top:5px solid #18b57b;
    border-radius:50%;
    width:50px;
    height:50px;
    animation:spin 2s linear infinite;
    margin:0 auto;
}
#loadingIndicator .loadingIndicator-body {
    margin-top:10px;
}

#iframe-Container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 1001;
}

#iframe-close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1002;
    padding: 5px 10px;
    background: #e9e919;
    border: none;
    border-radius: 5px;
}

#iframe-reserveDate {
  height: 100%;
  width: 100%;
  display: block;
  overflow: auto;
}



#mypage-container {
    z-index: 1000;
}

#myPagePane .iframe-wrapper {
    height: 100vh;
}

#myPagePane .iframe-wrapper iframe {
    height: 100%;
    width: 100%;
    display: block;
    overflow: auto;
}

#confirmModal .modal-body {
    background: #ebeaea;
    width: 80%;
    max-height: 80vh;
    overflow-y: auto;
    position: fixed;
    top: 10%;
    left: 10%;
    box-shadow: -10px 0 10px -4px rgba(0, 0, 0, 0.3);
    -ms-overflow-style: none;
    scrollbar-width: none;
    border: solid 2px #fdfdfd;
    border-radius: 10px;
}

#confirmModal .modal-header {
    /* width: 100%; */
    background: #18b57b;
    height: 50px;
    text-align: center;
    font-size: 2em;
    padding: 14px 0;
    color: #fff;
    font-weight: bold;
    margin: 0;
}

#confirmModal .modal-close {
    display: none;
}

#confirmModal .modal-content {
    padding: 10px;
    font-size: 1.2em;
}

#confirmModal .modal-footer {
    display: flex;
    justify-content: center;
    gap: 3em;
    margin-top: 1.5em;
}

#confirmModal .modal-footer button {
    padding: 10px 30px;
    min-width: 100px;
}

#confirmModal .modal-footer .modal-confirm-button {
    background: #18b57b;
}

#confirmModal .modal-footer .modal-cancel-button {
    background: #f00;
}

#cancelConfirmModal .modal-close {
    display: none;
}

#cancelConfirmModal .modal-content {
    padding: 10px;
    font-size: 1.2em;
}

.agreement-content {
    padding: 10px;
    /* background: #ebeaea; */
}

.agreement-content .agreement-item {
    background: #fff;
    margin: 10px 0 10px;
}

.agreement-content hr {
    page-break-after: always;
    border: none;
    border-top: 1px solid #ccc;
    margin: 8px 0;
}

/******************/

/* ナビバー全体 */

#ticket-select-block {
    margin: 2px 0;
    padding: 10px 16px;
    background: #18b57b;
    border-bottom: solid 1px #ccc;
    border-radius: 5px;
}

#ticket-select-block .ticket-navi-bar {
    font-size: 14px;
    font-weight: bold;
    display: flex;
    /*
    justify-content: center;
    align-items: center;
    */
}
  
/* ラベル（テキストとチェックボックス） */
#ticket-select-block .ticket-navi-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
}

#ticket-select-block .ticket-navi-toggle .ticket-navi-label {
    color: #fff;
    font-size: 1.5em;
    font-weight: bold;
}

/* チェックボックス拡大＆整列 */
.ticket-navi-toggle input[type=checkbox] {
    margin-left: 10px;
    margin-top: 12px;
}

#ticket-select-block .ticket-navi-checkbox {
    transform: scale(2.5);
    /* accent-color: white; */
}

/* バブルメッセージの表示 */
.bubble-message {
    border: 3px solid #18b57b;
    border-radius: 6px;
    padding: 8px 12px;
    background-color: #fffff0;
    color: #333;
    font-size: 16px;
    margin: 12px;
    box-sizing: border-box;
}

#time-select-block {
    display: none;
    margin: 2px 0;
    background-color: #18b57b;
    border-radius: 5px;
    padding: 10px 16px;
}

#time-select-block .time-select-header .time-navi-bar {
    font-size: 14px;
    font-weight: bold;
    display: flex;
    /*
    justify-content: center;
    align-items: center;
    */
}

#time-select-block .time-navi-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
}

#time-select-block .time-navi-label {
    color: #fff;
    font-size: 1.5em;
    font-weight: bold;
}

#time-select-block input[type=checkbox] {
    margin-left: 10px;
    margin-top: 12px;
}

#time-select-block .time-select-checkbox {
    transform: scale(2.5);
    /* accent-color: white; */
}

#time-select-block .time-select-body-wrapper {
    display: none;
}

#time-select-block .time-select-body {
    margin: 10px 0px;
    padding: 20px 10px 10px;
    border: solid 1px #ccc;
    display: flex;
    gap: 20px;
    flex-direction: row;
    flex-wrap: wrap;
}

#time-select-block .time-select-label {
    color: #fff;
    font-weight: bold;
}

#time-select-block input[type=time] {
    font-size: 1.5em;
    border-radius: 10px;
}

#time-select-block .use-time {
    background: #d2dafa;
    border: none;
}

#time-select-block .time-select-submit-button {
    padding: 0px 16px;
    height: 38px;
    margin: 20px 0 0;
}

/**************************************************/
/*
* コンタクトフォーム
* for multi-form
*/
/**************************************************/
#contactFormModal.modal-overlay {
    z-index: 1003;
}

#contactFormModal span.required {
    color: red;
}

#contactFormModal input {
    border-radius: 5px;
    background: #f4f4ff;
}

#contactFormModal textarea {
    border-radius: 5px;
    background: #f4f4ff;
}

#contactFormSubmit {
    padding: 10px 30px;
}

/**************************************************/
/*
* コンタクトフォーム
* for 物販購入時：会員の場合のコンタクトフォーム
*/
/**************************************************/
#customerContactFormModal .contact_form_contents_body {
    margin: 10px;
}

#customerContactFormModal span.required {
    color: red;
}

#customerContactFormModal input {
    border-radius: 5px;
    background: #f4f4ff;
}

#customerContactFormModal textarea {
    border-radius: 5px;
    background: #f4f4ff;
}

#customerContactFormSubmit {
    padding: 10px 30px;
}

/****************************/
/* ポイント数                 */
/****************************/
.pay-by-point .pay-by-point-wrapper {
    padding: 10px;
}

.pay-by-point input.points {
    background: #fff;
    border-radius: 5px;
}
.pay-by-point input.points[readonly] {
    background-color: #eef6ff; /* やや青みのある淡い色 */
}


/****************************/
/* 共有者セレクタ             */
/****************************/
#main-share-user-selector .share-select-block {
    display: none;
    margin: 2px 0;
    background: #18b57b;
    padding: 10px;
    border-bottom: solid 1px #ccc;
    border-radius: 5px;
}

#main-share-user-selector .share-select-block .share-navi-label {
    color: #fff;
    font-size: 1.5em;
    font-weight: bold;
}

#main-share-user-selector .share-select-block .share-user-select {
    font-size: 1.5em;
    line-height: 1em;
    height: 2.0em;
    box-sizing: border-box;
    border-radius: 5px;
}

/* モーダルダイアログの共有者セレクタ */
#modal-share-user-selector .share-select-block {
    display: none;
    margin: 2px 0;
    background: #18b57b;
    padding: 10px;
    border-bottom: solid 1px #ccc;
    border-radius: 5px;
}

#modal-share-user-selector .share-select-block .share-navi-label {
    color: #fff;
    font-size: 1.5em;
    font-weight: bold;
}

#modal-share-user-selector .share-select-block .share-user-select {
    font-size: 1.5em;
    line-height: 1em;
    height: 2.0em;
    box-sizing: border-box;
    border-radius: 5px;
}


/****************************/
/* z-index                  */
/****************************/
.modal-overlay {
    z-index: 1000;
}

.modal-close {
    z-index: 1010;
}

/* 予約画面 */
#reservationModal {
    z-index: 1020;
}

/* コンタクトフォーム */
#contactFormModal {
    z-index: 1003;
}

/* 会員のコンタクトフォーム */
#customerContactFormModal {
    z-index: 1003;
}

/* paymentModal */
#paymentModal {
    z-index: 1010;
}
#closePaymentModalButton {
    z-index: 1010;
}

/* 物販購入時のペイメント */
#shoppingPaymentModal {
    z-index: 1010;
}

/* サンクスページ */
#thanksModal {
    z-index: 1020;
}

/* メッセージのチップ */
.message-box {
    z-index: 9999;
}

/* ローディングインジケータ */
#loadingIndicator {
    z-index:10000;
}

/* 確認ダイアログ */
#confirmModal {
    z-index: 11000;
}

/* キャンセルダイアログ */
#cancelConfirmModal {
    z-index: 11000;
}

/**
 * CSS END
 */
