@import url('https://cdn.jsdelivr.net/npm/line-seed-jp@0.0.5/line-seed-jp.min.css');

/* --- 基本設定 --- */
:root {
    --theme-color: #ff6e2b; /* オレンジ */
    --text-color: #333333;
    --background-color: #ffffff;
    --white-color: #FFFFFF;
    --border-color: #E0E0E0;
    --placeholder-color: #BDBDBD;
    --sunday-color: #E53935; /* 日曜日の色・祝日色 */
    --saturday-color: #1E88E5; /* 土曜日の色 */
}

/*ホバー時の文字色変化を無効化（全体）*/
a, a:hover, a:visited, a:active, a:focus {
    color: inherit;
    text-decoration: none;
}

/* iOS Safari 等の自動テキスト拡大を抑える */
html, body {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'LINE Seed JP' !important;
    background-color: var(--background-color);
    color: var(--text-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding:0 20px;
    min-height: 100vh;
    overflow-x: visible; /* フルブリードのFVがはみ出しても見切れないように */
}

h2 {
    margin: 0;
    font-weight: 700;
    line-height: 1.4;
}

a {
    text-decoration: none;
    color: inherit;
}

.text-left {
    text-align: left;
}


/* --- ヘッダー（フルブリード＋影） --- */
.header {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.95); /* 90% 不透明 */
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0; /* 内側で余白を持つ */
    border-bottom: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
/* iOS/Safariの1pxズレ対策 */
@supports (width: 100dvw) {
    .header {
        width: 100dvw;
        margin-left: calc(50% - 50dvw);
        margin-right: calc(50% - 50dvw);
    }
}

.header-inner {
    max-width: 600px;
    margin: 0 auto;
    padding: 8px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ロゴ上のキャッチコピー */
.logo-tagline {
    font-size: 9px;
    line-height: 1;
    color: #555555;
}

.logo img {
    height: 36px;
    display: block;
    margin-top:6px;
    margin-bottom:-4px;
}

/* --- ヘッダーメニュー --- */
.menu-icon {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333333;
}

    .menu-icon .material-icons {
        font-size: 26px;
        color: #333333;
    }

.menu-icon-label {
    margin-top:-4px;
    font-size: 9px;
}

/* --- ヘッダーメニュー内ログインボタン） --- */
.modal-login-btn {
    display: block;
    width: 100%;
    padding: 16px;
    background: linear-gradient(45deg, var(--theme-color), #FF8F00);
    color: var(--white-color);
    border: none;
    border-radius: 8px;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    position: relative;
    box-sizing: border-box;
    transition: opacity .2s ease;
    margin-bottom: 20px;
    text-decoration: none;
}

    .modal-login-btn:hover {
        color: yellow;
    }

    .modal-login-btn .arrow-icon {
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 35px;
    }

    /* モーダル内ボタンの左固定アイコン */
    .modal-login-btn .left-icon {
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 35px;
    }

/* ログアウトボタン（モーダル用・テキストのみ） */
.HeaderMenu-logout-btn {
    margin: 18px 0px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    color:#333333;
}



/* FV（フルブリード） */
.hero-section {
    position: relative;
    height: 250px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #000; /* フォールバック背景のみ */
}

@supports (width: 100dvw) {
    .hero-section {
        width: 100dvw;
        margin-left: calc(50% - 50dvw);
        margin-right: calc(50% - 50dvw);
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 1;
}

/* カルーセル（フェード＋ズーム） */
.hero-slideshow {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

    /* カルーセル：一瞬の静止を無くす（重ね時間を延ばし、線形で常時ズーム） */
    .hero-slideshow .hero-slide {
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: center;
        opacity: 0;
        transform: scale(1);
        animation: heroKenburns 30s linear infinite both;
        will-change: opacity, transform;
    }

        /* 4枚分の遅延（6s 間隔） */
        .hero-slideshow .hero-slide:nth-child(1) {
            animation-delay: 0s;
        }

        .hero-slideshow .hero-slide:nth-child(2) {
            animation-delay: 6s;
        }

        .hero-slideshow .hero-slide:nth-child(3) {
            animation-delay: 12s;
        }

        .hero-slideshow .hero-slide:nth-child(4) {
            animation-delay: 18s;
        }
        .hero-slideshow .hero-slide:nth-child(5) {
            animation-delay: 24s;
        }

/* ズームをフェードアウト中も継続し、次スライドと十分にオーバーラップ */
@keyframes heroKenburns {
    0% {
        opacity: 0;
        transform: scale(1.00);
    }

    4% {
        opacity: 1;
        transform: scale(1.01);
    }
    /* ここで完全表示 */
    28% {
        opacity: 1;
        transform: scale(1.08);
    }
    /* 可視区間でゆっくり拡大 */
    36% {
        opacity: 0;
        transform: scale(1.12);
    }
    /* フェードアウト中も拡大を継続 */
    100% {
        opacity: 0;
        transform: scale(1.12);
    }
}

/* 不要になった背景画像用のスタイルは削除（cshtmlに .hero-image 要素なし） */

.hero-catchphrase-img {
    display: block;
    width: auto;
    height: 150px;
    margin-top: -100px;
    position: relative;
    z-index: 3;
}

/* ===== 検索セクション（カードのみFVに被せる） ==== */
.search-section {
    padding: 16px 0 0;
    background: var(--background-color);
}

/* カード自体を上に持ち上げ、下の空きを相殺。スタッキングは前面に。 */
.search-box {
    background-color: var(--white-color);
    border-radius: 4px;
    padding: 20px;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    color: var(--text-color);
    box-sizing: border-box;
    width: 100%;
    margin-top: -20px;
    max-width: 560px;
    /* 被せ処理 */
    position: relative;
    z-index: 5; /* バナー暗幕(::before)より前 */
    transform: translateY(-80px);
    margin-bottom: -80px;
}

.search-item {
    display: flex;
    align-items: center;
    padding: 12px;
    background-color: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-bottom: 12px;
    transition: box-shadow .2s ease;
    cursor: pointer;
}

    .search-item:hover {
        box-shadow: 0 4px 8px rgba(0,0,0,.05);
    }

    .search-item .material-symbols-outlined {
        color: var(--theme-color);
        margin-right: 16px;
    }

    .search-item div {
        flex-grow: 1;
        text-align: left;
        overflow: hidden;
        display: flex;
        align-items: center;
        gap: 8px;
        min-width: 0;
    }

    .search-item .item-label {
        display: block;
        min-width:44px;
        font-size: 14px;
        font-weight: 700;
    }

    .search-item .item-value {
        display: block;
        font-size: 12px;
        color: #E97B17;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

        .search-item .item-value.is-placeholder {
            color: #BDBDBD;
        }

    .search-item .arrow {
        color: var(--placeholder-color);
        margin-right: 0;
    }

/* ===== 検索セクション（検索結果ページ用） ==== */
.Result-search-section {
    margin-top: 15px; /* ヘッダー63px */
}

.Result-search-box {
    display: flex;
    padding: 0;
}

.Result-search-item {
    padding: 8px;
    width: 50%;
    margin: 0;
}

.Result-SearchItem-icon {
    font-size:20px;
    margin-right: 4px !important;
}

.search-button {
    width: 100%;
    padding: 16px 8px;
    background: linear-gradient(150deg, #F69A08, #EB4218);
    color: var(--white-color);
    border: none;
    border-radius: 4px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity .2s ease;
    position: relative;
    text-align: center;
}

.search-button_ResultPage {
    padding: 8px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 0px;
}

    .search-button:hover {
        opacity: .9;
    }

    .search-button .arrow-icon {
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 24px;
    }



/* --- 共通セクション --- */
.section {
    padding: 48px 0;
    border-bottom: 1px solid #e0e0e0;
}

    .section:last-child {
        border-bottom: none;
    }

.section-title {
    text-align: center;
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 24px;
}


.section-fullwidth-background {
    background-color: #FFF8F2;
    width: 100vw;
    min-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 48px;
    position: relative;
    z-index: 0;
    /* ここでoverflowやdisplayは指定しない */
}

    .section-fullwidth-background .inner {
        max-width: 600px; /* .containerと同じ幅に */
        margin: 0 auto;
        padding: 0 20px;
        box-sizing: border-box;
        position: relative;
        z-index: 1;
    }

/* --- モーダル共通 --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0,0,0,.6);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}

    .modal-overlay.show {
        opacity: 1;
        visibility: visible;
    }

.modal-close-btn {
    background: none;
    border: 2px solid var(--text-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .modal-close-btn .material-icons {
        font-size: 28px;
        color: var(--text-color);
    }

.modal-menu-content {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100%;
    background-color: var(--white-color);
    z-index: 1002;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    transition: right .4s cubic-bezier(.25,.46,.45,.94);
}

.modal-overlay.show .modal-menu-content {
    right: 0;
}

.modal-menu-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.modal-logo {
    background: none;
    padding: 0;
    border-radius: 0;
    margin-bottom: 20px;
    text-align: center;
}

    .modal-logo img {
        display: block;
        width: 230px; 
        height: auto;
        margin: 0 auto;
    }

.modal-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modal-nav li a {
    display: block;
    padding: 14px 10px;
    border-bottom: 1px solid var(--border-color);
    font-weight: bold;
    transition: background-color .2s;
}

.modal-nav li:first-child a {
    border-top: 1px solid var(--border-color);
}

.modal-nav li a:hover {
    background-color: #f9f9f9;
}

/* --- 選択モーダル --- */
.modal-selection-content {
    position: fixed;
    top: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    width: 90%;
    max-width: 500px;
    height: calc(100% - 64px);
    background-color: var(--white-color);
    z-index: 1002;
    display: flex;
    flex-direction: column;
    transition: transform .4s cubic-bezier(.25,.46,.45,.94);
    border-radius: 12px;
    overflow: hidden;
}

.modal-overlay.show .modal-selection-content {
    transform: translateX(-50%) translateY(0);
}

.modal-selection-header {
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}

    /* 見出し：左にオレンジのアイコン */
    .modal-selection-header h3 {
        margin: 0;
        font-size: 16px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

.modal-title-icon {
    color: var(--theme-color);
    font-size: 20px;
    line-height: 1;
}

.modal-selection-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 10px 20px 80px;
}

.accordion-item .accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 8px;
    cursor: pointer;
    border-bottom: 1px solid var(--border-color);
    font-size: 16px;
    font-weight: bold;
}

.accordion-header .material-icons {
    transition: transform .3s ease;
}

.accordion-header.active .material-icons {
    transform: rotate(180deg);
}

.accordion-title {
    display: flex;
    align-items: center;
    gap: 8px; /* タイトルとバッジの間隔 */
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease-out, padding .3s ease-out;
    background-color: #fdfdfd;
}

.selection-list {
    padding: 15px 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.selection-btn {
    background-color: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color .2s, color .2s, border-color .2s;
}

    .selection-btn.selected {
        color: var(--theme-color);
        border-color: var(--theme-color);
        font-weight: 600;
    }

.select-all-btn {
    background-color: #f0f0f0;
    border: 1px solid #e0e0e0;
    color: #555;
}

/* --- 準備中タグ --- */
.status-badge {
    display: inline-block;
    font-size: 8px;
    font-weight: 300;
    padding: 2px 6px;
    border-radius: 4px;
    background-color: #777777;
    color: #FFFFFF;
    pointer-events: none; /* クリック不可（見た目だけ） */
}

/* --- キャラクターセクション --- */
.character-section {
    padding: 20px 0;
    background-color: transparent;
    border-bottom: 1px solid #e0e0e0;
}

.Result-character-section {
    margin-top: 50px;
    margin-bottom:-30px;
    border-bottom: none;
    padding: 0;
    justify-content: center;
    text-align:center;
}

.Result-character-section p {
    font-size:14px;
    margin-bottom:0;
}
.character-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.guide-character {
    height: auto;
}

.speech-bubble-static {
    position: relative;
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    flex-grow: 1;
    max-width: 350px;
    min-height: 0;
}

    .speech-bubble-static::before {
        content: '';
        display: none;
    }

    .speech-bubble-static p {
        margin: 0;
        font-size: 12px;
        line-height: 1.6;
    }

/* === タイトル === */
.sabagoportal-title {
    --heading-color: #111; /* 見出し色（必要に応じて上書き可） */
    --subtitle-color: #222; /* サブタイトル色 */
    --weight: 900; /* 見出しの太さ */
    text-align: left;
    background: var(--bg);
    margin-bottom:10px;
}

.sabagoportal-title__main {
    margin: 0;
    color: var(--heading-color);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: .04em;
    font-size: 22px;
}

.sabagoportal-title__subtitle {
    margin: 4px 0 0;
    color: #555555;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: .06em;
    font-size: 10px;
}

.sabagoportal-title__bar {
    display: block;
    width: 40px;
    height: 3px;
    margin-top:10px;
    margin-left: 0;
    background: currentColor;
    background: linear-gradient(45deg, var(--theme-color), #FF8F00);
    border-radius: 999px;
}

/* --- ピックアップ --- */
.pickup-list-container {
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

    .pickup-list-container::-webkit-scrollbar {
        display: none;
    }

.pickup-list {
    display: flex;
    gap: 10px;
    padding: 4px 20px 16px 20px;
    margin: 0 -20px;
}

.pickup-card {
    flex: 0 0 120px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    background-color: var(--white-color);
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
    transition: transform .2s ease;
}




.card-image-placeholder {
    height: 100px;
    background-size: cover;
    background-position: center;
}

.card-FieldWrap {
    padding: 8px 4px; 
    display: flex;
    flex-direction: column;
    gap: 2px; /* 行間の代わりに隙間を制御 */
}

.card-FieldName,
.card-FieldAddress {
    margin: 0; /* 念のため明示 */
}

.card-FieldName {
    font-size: 13px;
    font-weight:600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-FieldAddress {
    font-size: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color:#777777;
}

.pickup-shortcuts {
    display: flex;
    justify-content: space-around; /* 均等配置 */
    margin: 10px 0 10px 0;
}

/*人気のエリア*/
.NinkiArea-Wrap {
    width: 100%;
    max-width: 600px;
    margin-top: 16px;
    padding: 0;
}

.NinkiArea-list {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}

.NinkiArea-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
}

.NinkiArea-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    transition: box-shadow 0.2s ease;
}

.NinkiArea-name {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 400;
    color: #333333;
    text-align: center;
}



/* --- マップ & SNS --- */
.map-container {
    border-radius: 4px;
    overflow: hidden;
    width: 100%;
    border: 1px solid var(--border-color);
}

.sns-container {
    border-radius: 4px;
    height: 300px;
    padding:8px;
}

/* フッター（決定/リセット） */
.modal-selection-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 20px;
    box-sizing: border-box;
    background-color: var(--white-color);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0,0,0,.05);
}

.selection-info {
    font-size: 14px;
    font-weight: bold;
    display: none;
}

    .selection-info span {
        color: var(--theme-color);
        font-size: 16px;
    }

.confirm-selection-btn {
    width: 100%;
    padding: 12px 24px;
    font-size: 14px;
    min-width: 120px;
    color: var(--theme-color);
    background: #FFFFFF;
    border: 2px solid var(--theme-color);
    border-radius: 4px;
}

/* --- カレンダー --- */
.calendar-container {
    padding: 10px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 10px;
}

    .calendar-header h4 {
        margin: 0;
        font-size: 18px;
        font-weight: bold;
    }

    .calendar-header button {
        background: none;
        border: none;
        cursor: pointer;
        padding: 5px;
    }

        .calendar-header button .material-icons {
            font-size: 32px;
        }

.calendar-weekdays, .calendar-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    text-align: center;
}

    .calendar-weekdays div {
        font-size: 12px;
        padding-bottom: 10px;
    }

    .calendar-weekdays .sunday {
        color: #E53935;
    }

    .calendar-weekdays .saturday {
        color: #1E88E5;
    }

    .calendar-days div {
        width: 100%;
        height: 44px;
        margin: 0;
        justify-self: stretch;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background-color .2s, color .2s, border-color .2s;
        font-size: 14px;
        position: relative;
        border: 1px solid transparent;
        line-height: 1.1;
        border-radius: 8px; /* セル全体の角丸（不要なら削除OK） */
    }

        .calendar-days div:not(.empty):not(.past):hover .date-number {
            background-color: #FFFFFF;
        }

        .calendar-days div.empty {
            cursor: default;
        }

        .calendar-days div.past {
            color: #ccc;
            cursor: not-allowed;
            text-decoration: line-through;
        }

        .calendar-days div.sunday:not(.selected):not(.past) .date-number {
            color: var(--sunday-color);
        }

        .calendar-days div.saturday:not(.selected):not(.past) .date-number {
            color: var(--saturday-color);
        }

.today-label {
    font-size: 9px;
    height: 12px;
    line-height: 12px;
    font-weight: normal;
}

/* 丸い見た目を date-number に付与 */
.date-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    line-height: 1;
    border-radius: 50%;
    font-size: 14px;
}

.calendar-days div.selected .date-number {
    color: var(--theme-color) !important;
    font-weight: bold;
    border: 2px solid var(--theme-color);
    background-color:#FFFFFF;
}

.calendar-days div.today .date-number {
    outline: 1px solid var(--border-color);
    outline-offset: -1px;
}

.calendar-days div.selected .today-label {
    color: var(--white-color) !important;
}

/* 祝日表示（赤字）: 土曜の青より優先されるよう後段に記述 */
.calendar-days div.holiday:not(.selected):not(.past) .date-number {
    color: var(--sunday-color);
}

/* リセットはテキストのみの見た目に */
#reset-date-btn {
    background: none;
    border: none;
    width: 100px;
    padding: 0;
    margin-right: auto; /* 左寄せ・決定ボタンを右端へ */
    color: #757575;
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
}

    #reset-date-btn:hover {
        opacity: 0.8;
    }

#confirm-date-btn {
    flex-grow: 0;
}

/* ===都道府県からフィールドを探す（フッター扱い）=== */
.region-block {
    margin: 20px 0 28px;
}

.region-title {
    font-size: 14px;
    margin: 0 0 8px;
    font-weight: 600;
}

.pref-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex; /* 横並び */
    flex-wrap: wrap; /* はみ出したら次の行へ */
    gap: 0px 16px;
}

    .pref-links li {
        white-space: nowrap; /* 各項目の途中改行を防止（任意） */
    }
    .pref-links a {
        color: #1a73e8;
        text-decoration: underline;
        font-size: 12px;
        font-weight: 400;
    }

        .pref-links a:hover {
            text-decoration: none;
        }

.pref-link.is-disabled {
    color: #999;
    font-size: 12px;
    font-weight: 400;
}

/* 幅が狭い端末は1列に */
@media (max-width: 360px) {
    .pref-links {
        grid-template-columns: 1fr;
    }
}

/* ==== ゲーム種別タブ（TOP） ==== */
.result-TabsWrap {
    display: flex;
    gap: 16px;
    margin: 0px 0 16px;
}

.result-tab {
    appearance: none;
    border-radius: 4px;
    border: 1px solid #FF8C04;
    background: none;
    padding: 4px 10px;
    margin-bottom: -1px;
    font-size: 14px !important;
    font-weight: 600;
    color: #FF8C04;
    position: relative;
    cursor: pointer;
}

    .result-tab.is-active {
        background: linear-gradient(45deg, #FF8F00, var(--theme-color));
        color: #FFFFFF;
        border-radius: 4px;
        padding: 4px 10px; /* 背景が見えるよう水平パディングを追加 */
        margin-bottom: -1px; /* 下のボーダーにかぶせる */
        z-index: 1;
    }

        .result-tab.is-active::after {
            content: '';
            position: absolute;
            left: 0;
            right: 0;
            height: 2px;
            border-radius: 999px;
        }

        /* アクティブタブの下に小さな ▼ を表示 */
        .result-tab.is-active::before {
            content: "";
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            bottom: -5px; /* 位置調整。下線と重なるなら -6px などに */
            width: 0;
            height: 0;
            border-left: 6px solid transparent; /* ▼の左右 */
            border-right: 6px solid transparent;
            border-top: 6px solid #FF8112; /* ▼の色 */
        }

/* ==== ゲーム種別タブ（検索結果） ==== */
.ResultPage-result-TabsWrap {
    display: flex;
    gap: 0;
    margin-top: 60px;
    margin-bottom: -20px;
    justify-content: flex-start; /* 子要素を横方向に左寄せ */
    align-items: center; /* 縦方向は中央（不要なら削除可） */
}

.ResultPage-ResultText {
    font-size: 20px;
    font-weight: 600;
    margin: 0 14px 0 0;
}

.ResultPage-tabs {
    margin-left: auto; /* 右端へ */
    display: flex;
    gap: 8px; /* ベタ付け */
}

.ResultPage-result-tab {
    appearance: none;
    border-radius: 4px;
    border: 1px solid #FF8C04;
    background: none;
    padding: 4px 10px;
    margin-bottom: -1px;
    font-size: 14px !important;
    font-weight: 600;
    color: #FF8C04 !important;
    position: relative;
    cursor: pointer;
}

    .ResultPage-result-tab.is-active {
        background: linear-gradient(45deg, #FF8F00, var(--theme-color));
        color: #FFFFFF !important;
        border-radius: 4px;
        padding: 4px 10px; /* 背景が見えるよう水平パディングを追加 */
        margin-bottom: -1px; /* 下のボーダーにかぶせる */
        z-index: 1;
    }

        .ResultPage-result-tab.is-active::after {
            content: '';
            position: absolute;
            left: 0;
            right: 0;
            height: 2px;
            border-radius: 999px;
        }

        /* アクティブタブの下に小さな ▼ を表示 */
        .ResultPage-result-tab.is-active::before {
            content: "";
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            bottom: -5px; /* 位置調整。下線と重なるなら -6px などに */
            width: 0;
            height: 0;
            border-left: 6px solid transparent; /* ▼の左右 */
            border-right: 6px solid transparent;
            border-top: 6px solid #FF8112; /* ▼の色 */
        }

/* ==== リスト／カード ==== */
.result-pane {
    display: block;
}

    .result-pane[hidden] {
        display: none;
    }

.field-card {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 12px 12px 16px;
    margin-top: 56px;
}

.field-card {
    position: relative;
}

/*フィールドロゴ、名称住所エリア*/
.ResultFieldInfo_wrap {
    display: grid;
    grid-template-columns: auto 1fr; /* 左ロゴ固定、右テキスト列を伸ばす */
    column-gap: 8px;
    align-items: start;
}

.ResultFieldInfo_Logo {
    width: 50px; /* ← 固定正方形 */
    height: 50px; /* ← 固定正方形 */
    border-radius: 4px;
    background: #e0e0e0 center/cover no-repeat; /* 画像はカバーでトリミング */
    object-fit: cover;
}



/* ＝＝＝写真エリア＝＝＝ */
.field-photos {
    position: relative;
    margin-bottom: 12px;
}

.field-badge {
    position: absolute;
    margin-top:-24px;
    margin-left:-20px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    z-index: 2;
}

    .field-badge .badge-icon {
        width: 26px;
        height: 26px;
        border-radius: 50%;
        background: #ffffff; /* 円の中の台座 */
        border: 1px solid var(--theme-color); /* テーマ色の縁取り */
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 1px 3px rgba(0,0,0,.18);
        overflow: hidden;
    }

        .field-badge .badge-icon img {
            width: 16px;
            height: 16px;
            display: block;
        }

.badge-text {
    font-size: 8px;
    color: #000000;
    font-weight: 300;
}

/* 写真行 */
.thumbs {
    display: flex;
    gap: 6px;
    margin-top:8px;
    overflow-x: auto; /* 矢印スクロールが効くように横スクロール可 */
    padding: 4px 0;
    scroll-behavior: smooth;
    -ms-overflow-style: none; /* スクロールバー非表示（任意） */
    scrollbar-width: none;
}

    .thumbs::-webkit-scrollbar {
        display: none;
    }

.thumb {
    width: 80px; /* ← 固定正方形 */
    height: 80px; /* ← 固定正方形 */
    flex: 0 0 auto; /* 横一列で並べる */
    border-radius: 4px;
    background: #e0e0e0 center/cover no-repeat; /* 画像はカバーでトリミング */
    cursor: zoom-in;
}

/* thumbs内で<img>を使う場合の見た目を背景画像と揃える */
.thumbs .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 中心トリミング */
    display: block;
    border-radius: 4px;
}

/* 写真ナビ（横スクロール） */
.photos-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #BBBBBB;
    background: rgba(255, 255, 255, 0.9); /* 白の90%不透明 */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .photos-nav.prev {
        left: -10px;
    }

    .photos-nav.next {
        right: -10px;
    }

    .photos-nav .material-icons {
        font-size: 18px;
        color: #555555;
    }

/* 画像拡大モーダル */
/* 画像拡大モーダル（元のベース + ナビ機能追加） */
#photo-modal {
    position: fixed; /* 元の位置指定を維持 */
    inset: 0;
    background: rgba(0,0,0,.6); /* 背景暗幕を維持 */
    display: none; /* 初期は非表示 */
    align-items: center; /* 中央揃え（元にあった） */
    justify-content: center;
    z-index: 9999;
}

    #photo-modal.show {
        display: flex;
    }

    #photo-modal .photo-modal-inner {
        position: relative;
        max-width: min(92vw, 1000px); /* 元の最大幅を残すなら追加 */
        max-height: 90vh;
        background: #000;
        border-radius: 4px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0,0,0,.35);
    }

    #photo-modal img {
        max-width: 100%;
        max-height: 90vh;
        display: block;
        margin: 0 auto;
        user-select: none;
    }

    #photo-modal .photo-modal-close {
        position: absolute;
        top: 8px;
        right: 8px;
        width: 36px;
        height: 36px;
        border: 0;
        border-radius: 50%;
        background: rgba(0,0,0,.4);
        color: #fff;
        cursor: pointer;
        display: grid;
        place-items: center;
    }

    #photo-modal .photo-modal-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 30px;
        height: 30px;
        border: none;
        background: rgba(0,0,0,0.0);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        border-radius: 50%;
    }

        #photo-modal .photo-modal-nav.prev {
            left: 1px;
        }

        #photo-modal .photo-modal-nav.next {
            right: 1px;
        }

        #photo-modal .photo-modal-nav:hover {
            background: rgba(0,0,0,0.55);
        }


/* Swiperモーダル用CSS（最小） */
.swiper-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
}

    .swiper-modal.show {
        display: flex;
    }

.swiper-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100001;
    background: rgba(0,0,0,0.7);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-modal .swiper {
    width: 90vw;
    max-width: 1200px;
    height: 80vh;
    position: relative;
    z-index: 100000;
}

.swiper-modal .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

    .swiper-modal .swiper-slide img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
        display: block;
    }

.swiper-modal .swiper-button-prev,
.swiper-modal .swiper-button-next {
    color: #fff;
    z-index: 100001;
    width: 44px;
    height: 44px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .swiper-modal .swiper-button-prev::after,
    .swiper-modal .swiper-button-next::after {
        content: '';
        display: none;
    }

    .swiper-modal .swiper-modal-close .material-symbols-outlined,
    .swiper-modal .swiper-button-prev .material-symbols-outlined,
    .swiper-modal .swiper-button-next .material-symbols-outlined {
        font-size: 32px;
        font-weight: 600;
        color: #FFFFFF;
        margin: 0;
    }

.swiper-modal {
    z-index: 1000;
}

.swiper-modal-close {
    z-index: 1002;
}

.swiper-modal .swiper {
    z-index: 1001;
}

/* フィールド情報トップエリア（画面幅いっぱい） */
.FieldTopInfo-FullWidth {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 16px 0px 1px 0px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.FieldTopInfo-Inner {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: left;
}

/* 検索結果：フィールド名、住所のエリア */
.FieldTitle-Wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto; /* ★重要：1frを縮められるようにする */
    align-items: center;
    column-gap: 12px;
    width: 100%;
}

    .FieldTitle-Wrap .IndexFildTitleWrap {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        column-gap: 12px;
        width: 100%;
        grid-column: 1; /* Gridの第1列に明示的に配置 */
        justify-self: start; /* Grid内で左寄せ */
    }

/* 住所横のロケーションアイコン */
.field-location-icon {
    margin-right: 0;
    font-size: 16px;
    color: var(--theme-color);
}

/* 右横ボタン（右端固定） */
.FieldTitle-Button {
    display: inline-flex;
    align-items: center;
    background-color: #2db2ff;
    border-radius: 4px;
    padding: 2px 2px 2px 4px;
    text-decoration: none;
    line-height: 1;
    cursor: pointer;
    justify-self: end; /* ★Gridの右寄せはこれ */
}

    /* アイコンサイズ微調整 */
    .FieldTitle-Button .material-symbols-outlined {
        font-size: 15px;
        line-height: 1;
        margin-right: 0;
        color: #FFFFFF;
    }

/* テキスト */
.field-title {
    margin: 0;
    min-width: 0;
    color: #111111;
    font-size: 16px;
    font-weight: 600;
}

.field-meta {
    color: #333333;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.field-description {
    border-left: solid 5px #999999;
    padding-left:8px;
}

    .field-catch {
    color: #111111;
    line-height: 1.3;
    font-size: 14px;
    font-weight:700;
}

.field-bodytext {
    color: #000000;
    line-height: 1.6;
    font-size: 10px;
    font-weight: 500;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif;
    margin-top: -12px;
    margin-bottom: 0;
}

.field-morecal {
    text-align: center;
    margin: 10px 0 0;
    font-weight: 700;
}

    .field-morecal a {
        text-decoration: none;
    }

/* =====検索結果＞該当日付のゲーム一覧パーツ===== */
.ResultGameList_Wrap {
    margin-top: 16px;
    text-align: left;
    border-radius: 2px;
    width: 100%;
}

.ResultGameList_Link {
    display: block; /* flex → block に変更して1列占有 */
    width: 100%;
}

.ResultGameList_Content {
    display: block; /* 横幅占有を確実に */
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

/* 日付部分 */
.ResultGameList_Wrap .ResultDate {
    margin-top: 4px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

/* 日付部分のアイコン*/
.ResultDate-icon {
    margin-top:-2px !important;
    margin-right: 1px !important;
    color: var(--theme-color);
}

/* ゲーム名のラップ */
    .ResultGameList_Wrap .GameDetail_Wrap {
        margin-top: 8px;
        padding: 2px 4px;
        display: flex;
        width: 100%;
        border-top: 1px solid #DDDDDD;
    }

        .ResultGameList_Wrap .GameDetail_Wrap .GameName {
            margin-top: 12px;
            font-weight: 600;
            font-size: 14px;
            color: #333333;
            display: -webkit-box;
            -webkit-line-clamp: 2; /* 最大2行 */
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: normal; /* 複数行許可 */
            line-height: 1.4; /* 行高（必要に応じ調整） */
        }


.ResultGameList_TagandPriceWrap {
    display: inline-flex;
    align-items: center; /* 行内の縦中央 */
    text-align: center;
    gap: 4px; /* 列間 */
    row-gap: 6px; /* 行間（複数行時） */
    flex-wrap: wrap; /* ← 折り返しを許可 */
    min-width: 0;
    align-content: flex-start; /* 複数行の縦方向整列を安定化 */
}

/* ステータスバッジこれがベースっぽい */
.ResultGameList_StatusTag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    padding: 1px 4px;
    border-radius: 2px;
    font-size: 9px;
    background-color:#BBBBBB;
    color: #FFFFFF;
    text-align: center;
}

    /* 中止バッジ */
    .ResultGameList_StatusTag.is-canceled {
        background-color: #9e9e9e;
    }

    /* 満席バッジ */
    .ResultGameList_StatusTag.is-full {
        background-color: #9e9e9e;
    }

    /* 連動NGバッジ */
    .ResultGameList_StatusTag.is-blocked {
        background-color: #9e9e9e;
    }

/* 残席数バッジ */
.ResultGameList_RemainTag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    padding: 1px 4px;
    background: #FFFFFF;
    color: #2DB2FF;
    border-radius: 2px;
    border: 1px solid #2DB2FF;
    font-size: 10px;
    flex: 0 0 auto;
    text-align: center;
}

/* ゲームスケジュール */
.ResultGameList_Time {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-right:8px;
    border-right: 1px solid #777777;
    font-size: 11px;
    font-weight: 500;
    color: #777777;
    text-align: center;
}

/* 参加費 */
.ResultGameList_Price {
    font-size: 11px;
    font-weight: 500;
    color: #777777;
    display: flex; /* 横並び */
    align-items: center; /* 縦中央 */
    justify-content: center;
    text-align: center;
    margin-left:4px;
    gap:2px;
}

/* PortalCalendar: ゲーム詳細ボタン */
.ResultGameList_DetailButton {
    width: 100%; /* 親コンテンツ幅いっぱい */
    max-width: none; /* 530pxの頭打ちを撤去 */
    box-sizing: border-box;
    display: flex;
    height: 40px;
    align-items: center;
    justify-content: center;
    margin-top: 7px;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    padding: 4px 12px;
    border-radius: 4px;
    background: linear-gradient(45deg, #FF8F00, var(--theme-color));
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 4px rgba(0,0,0,0.1);
}

.ResultGameList_ViewButton .material-symbols-outlined {
    font-size: 20px; /* 矢印サイズ */
    line-height: 1;
    margin-left: 4px;
}

/* ===== 2週間カレンダー（静的HTML版） ===== */
.cal2-grid {
    display: grid;
    grid-template-columns: 4px 1fr 4px; /* 左右ナビをベタ付け配置 */
    grid-template-rows: auto 1fr;
    border: 1px solid #DDDDDD;
    margin-top: 8px;
}

/* ヘッダ（曜日） */
.cal2-weekhead {
    grid-column: 2;
    grid-row: 1;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border-bottom: 1px solid #e9e9e9;
    height: 24px;
    line-height: 24px;
}

    .cal2-weekhead div {
        text-align: center;
        font-size: 11px;
        font-weight: 500;
        border-right: 1px solid #eee;
    }

        .cal2-weekhead div:last-child {
            border-right: none;
        }

    .cal2-weekhead .sat {
        color: var(--saturday-color);
    }

    .cal2-weekhead .sun {
        color: var(--sunday-color);
    }

/* 左右ナビ（左右ベタ・縦いっぱい） */
.cal2-nav {
    grid-row: 1 / span 2;
    align-self: stretch; /* 縦に伸ばす */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f3f3;
    border: none;
    cursor: pointer;
    width: 100%;
}

.cal2-prev {
    grid-column: 1;
}

.cal2-next {
    grid-column: 3;
}

.cal2-nav .material-icons {
    font-size: 20px;
    color: #777;
}

/* 本体グリッド（2行×7列） */
.cal2-cells {
    grid-column: 2;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(7,1fr);
    grid-template-rows: repeat(2,1fr);
}

/* 6週間モード用のスタイル */
.cal2-cells.cal2-cells-6weeks {
    grid-template-rows: repeat(6,1fr);
}

.cal2-cell {
    height: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-right: 1px solid #f0f0f0;
    border-bottom: 1px solid #ececec;
}

    .cal2-cell:nth-child(7n) {
        border-right: none;
    }

    /* 6週間モードの最終行（6行目）の下ボーダー消し */
    .cal2-cells.cal2-cells-6weeks .cal2-cell.cal2-row-6 {
        border-bottom: none;
    }

/* 日付表示 */
.cal2-date {
    font-size: 11px;
    font-weight: 400;
    line-height: 1;
}

    .cal2-date.sat {
        color: var(--saturday-color);
    }

    .cal2-date.sun {
        color: var(--sunday-color);
    }

    .cal2-date.muted {
        color: #bdbdbd;
        font-weight: 600;
    }

/* 状態表示：テキスト記号（◎／—） */
.cal2-mark {
    font-size: 14px;
    line-height: 1;
    font-weight: 400;
}

    /* 検索対象日付の◎を赤く表示 */
    .cal2-mark.is-search-date {
        margin-top: -6px;
        color: #FFFFFF;
        font-weight: 700;
        background: linear-gradient(45deg, #FF8F00, var(--theme-color));
        border-radius: 4px;
        padding: 3px;
        font-size: 16px;
        box-shadow: 0 4px 4px rgba(0,0,0,0.1);
    }

/* 二週間カレンダー切り替わりアニメーション（方向でクラスを切り替える） */
.cal2-cells {
    position: relative;
}

    .cal2-cells.slide-left {
        animation: cal2SlideLeft .20s ease-out both;
    }

    .cal2-cells.slide-right {
        animation: cal2SlideRight .20s ease-out both;
    }

@keyframes cal2SlideLeft {
    from {
        opacity: 0;
        transform: translateX(10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes cal2SlideRight {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* 二週間カレンダー下のカレンダー誘導リンク */
.Result-GoToFieldCalender {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 14px;
    text-decoration: none;
    margin-top: 12px;
}


/* ===== カレンダー下ショートカット ===== */
/* ショートカットアイコンのラッパー */
.cal2-shortcuts {
    display: flex;
    justify-content: space-around; /* 均等配置 */
    margin-top:16px;
}

/* 各アイテム */
.shortcut-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    width: 64px; /* 横幅を揃える */
}

    /* アイコン部分 */
    .shortcut-item {
        font-size: 20px;
        color: #777777; 
    }

.shortcut-icon-calendar {
    color: #E97B17 !important; /* メインカラーで強調 */
}
   
/* テキスト部分 */
.shortcut-label {
    font-size: 9px;
    line-height: 1.2;
    text-align: center;
    color: #777777;
}


/* ===== もっと見るボタン ===== */
.pager-more {
    display: flex;
    justify-content: center; 
    gap: 32px;
    margin: 16px 0 0;
    padding:0 16px;
}

.pager-more-btn {
    height: 40px;
    margin-top: 48px;
    border: 1.5px solid #E97B17 !important;
    border-radius: 4px;
    background: #fff;
    font-size: 14px;
    color: #E97B17 !important;
    cursor: pointer;
    display: flex;
    align-items: center; /* 縦方向中央揃え */
}

.pager-prev-btn {
    padding-right:16px;
}

.pager-next-btn {
    padding-left: 16px;
}


/* --- フッター --- */
.footer {
    color: #aaa;
    margin-top: -48px;
    padding: 30px 20px 8px 20px;
    text-align: center;
    border-top: 1px solid #e0e0e0;
}

.footer-logo img {
    height: 80px;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap; /* 折返しが必要な場合 */
    justify-content: center; /* 画面中央揃え */
}

    .footer-links a {
        color: #777777;
        font-size: 11px;
        text-align: center;
    }

        .footer-links a:hover {
            color: #000000;
        }

.footer-navlink {
    border-bottom: 1px solid #909090;
    border-left: 0px solid #909090;
    border-right: 0px solid #909090;
    border-top: 0px solid #909090;
    color: #909090;
    font-size: 12px;
    line-height: 1.4;
    margin: 0;
}

    .footer-navlink:hover {
        text-decoration: none;
        color: #909090;
    }
    
    
    .footer-copyright p {
    margin-top: 16px;
    margin-bottom:0;
    font-size: 10px;
    font-weight:300;
    color:#555555;
}

/* --- レスポンシブ（任意） --- */
@media (max-width: 360px) {
    .hero-catchphrase {
        font-size: 24px;
    }
}

/* ポータル検索結果の二週カレンダー押下時のモーダル背景 */
.portal-calendar-modal {
    position: fixed;
    padding:16px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-info-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid #eee;
    gap: 12px;
}

.game-label {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    border-radius: 4px;
    font-weight: bold;
}

.game-details {
    flex: 1;
}

.game-name {
    font-weight: bold;
    margin-bottom: 4px;
}

.game-time, .game-area, .game-capacity {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 2px;
}

.btn-detail {
    background: #007bff;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9em;
}

.btn-detail:hover {
    background: #0056b3;
    color: white;
    text-decoration: none;
}

/*＝＝＝＝＝＝＝site.cssからのコピー＝＝＝＝＝＝＝*/
/*＝＝＝＝＝＝＝site.cssからのコピー＝＝＝＝＝＝＝*/
/*＝＝＝＝＝＝＝site.cssからのコピー＝＝＝＝＝＝＝*/


/* ーーーーーーーーーー */
/* 予約カレンダーページ */
/* ーーーーーーーーーー */

/* カレンダー全体の設定 */
#calendar {
    max-width: 500px;
    margin: 0 auto;
    padding:0 20px;
    height: 505px;
}

.fc th { /* 曜日ヘッダのスタイル */
    background-color: #ef6c00 !important;
    color: white;
    text-align: center;
}

.fc-day { /* 日付セルのスタイル */

    text-align: center;
}

.fc-h-event {
    background-color: white;
    border-color: Highlight;
}

    .fc-h-event .fc-event-main {
        color: #ef6c00 !important;
        font-size: 2vw;
        display: flex; /* 追加 */
        justify-content: center; /* 追加 */
        align-items: center; /* 追加 */
    }

.fc-h-event {
    border: 0px solid var(--fc-event-border-color);
    display: block;
}

/* 予約へ進むなどのボタン（活性後） */
.eventBtnEnColor {
    background-color: #ef6c00 !important;
    color: white;
    border-color: #ef6c00 !important;
}

/* 予約へ進むなどのボタン（活性まえ） */
.eventBtnDisColor {
    background-color: #e0e0e0 !important;
    color: black;
    border-color: #e0e0e0 !important;
}

.fc table {
    font-size: 2vw;
}

.ftfontsize {
    font-size: 1vw;
}


#calendar {
    -webkit-font-smoothing: antialiased;
}
/* ========= */


/* v2Calendar ヘッダー（月移動と年月） */
.v2Calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* 下揃えに変更 */
    margin-top: 20px;
    gap: 16px;
}

/* v2Calendar タイトル（年月表示） */
.v2Calendar-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.v2Calendar-title-year {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    line-height: 1;
}

.v2Calendar-title-month {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    line-height: 1;
}

/* v2Calendar ナビゲーションボタン */
.v2Calendar-navBtn {
    font-size: 14px;
    background: none;
    border: 1px solid #FFFFFF;
    cursor: pointer;
    color: #333;
    transition: background .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 曜日部分 */
.fc th {
    background: #f4c92e !important;
    height: 32px;
    color: #575757;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
}

    .fc th > .fc-scrollgrid-sync-inner {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
    }

.fc thead th:nth-last-child(-n+2) {
    background: #eb701f !important;
    color: #FFF;
    border-right: none;
}

/* 日付の枠 */
.fc .fc-daygrid-day-frame {
    min-height: 100%;
    height: 72px;
    position: relative;
    display: flex;
    justify-content: center;
    margin: 0;
    padding-top: 4px;
    /* 日付テキストの設定 */
    color: #333333;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.fc .fc-daygrid-day-number {
    padding: 0;
}

/* 済とかの枠設定っぽい */
.fc .fc-daygrid-body-balanced .fc-daygrid-day-events {
    width: 100%;
    height: 48px;
    bottom: 6px;
}

.fc .fc-non-business,
.fc .fc-daygrid-day.fc-day-today {
    background: none;
}


/* カレンダー上の○×△済？ */
.fc-h-event .fc-event-main {
    color: #ef6c00 !important;
    font-size: 20px;
    font-weight: 500;
    width: fit-content;
    transition: .3s cubic-bezier(.4, .4, 0, 1);
    margin: 12px auto 0 auto; /* 上 10px, 左右自動, 下 0px */
    display: flex; /* 追加 */
    justify-content: center; /* 追加 */
    align-items: center; /* 追加 */
}

    .fc-h-event .fc-event-main:hover {
        background: #eb701f;
        color: #FFFFFF !important;
        padding: 0px 5px 0px;
    }

.fc .fc-button-primary:not(:disabled).fc-button-active,
.fc .fc-button-primary:not(:disabled),
.fc .fc-button-primary:not(:disabled).fc-button-active:focus,
.fc .fc-button-primary:not(:disabled):active:focus {
    box-shadow: none;
}

.fc-daygrid-day-bottom:first-child {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
}

    /* カレンダー上のー */
    .fc-daygrid-day-bottom:first-child::before {
        content: "-";
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        left: 0;
        margin: auto;
        color: #9e9e9e;
        font-size: 24px;
        font-weight: 400;
        line-height: 1.4;
    }

.fc .fc-day-other .fc-daygrid-day-bottom:first-child::before {
    opacity: 0.3;
}

/* ボーダー色 */
.fc-theme-standard th {
    border: 1px solid #fff;
}

.fc .fc-theme-standard td,
.fc .fc-theme-standard th,
.fc-scrollgrid-sync-table td {
    border: 1px solid #f4c92e !important;
}

.fc-theme-standard .fc-scrollgrid,
.fc-theme-standard td {
    border-color: #f4c92e !important;
}

/* ヘッダー */
.navbar {
    padding: 3px 0;
}

.navbar-header {
    margin: 0 auto;
}
/* ヘッダーロゴ */
.navbar-brand {
    width: 162px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
    /* serviced by */
    .navbar-brand span {
        color: #FFFFFF;
        font-size: 10px;
        font-weight: 400;
        line-height: 1.4;
        align-items: flex-start;
    }


/* ゲーム一覧 */
.GameListSubComment {
    color: #424242;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    margin: 5px 0 0;
    padding: 0;
    text-align: center;
    width: auto;
    max-width: 100%;
}


.Gamelist01 {
    display: flex; /* inline-flexをflexに変更 */
    align-items: stretch; /* 子要素を高さ一杯に広げる */
    width: 100%;
    max-width: 800px; /* 全体の横幅のデフォルトを800pxに */
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0,0,0,.1);
    margin-top: 16px;
    cursor: pointer;
    margin-left: auto;
    margin-right: auto;
}

.Gamelist01-Availability {
    width: 40px;
    min-width: 40px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: #EB701F;
    border-right: 1px solid #DDDDDD;
}

.Gamelist01-Information {
    display: flex;
    flex-direction: column;
    padding: 8px;
    width: calc(100% - 48px - 40px); /* Gamelist01-GoToDetailの幅を考慮して残りの幅を設定 */
    flex-grow: 1; /* 残りのスペースを占有 */
}

.Gamelist01-Information-Top {
    display: flex;
    justify-content: space-between;
}

.Gamelist01-Information-Date {
    font-size: 12px;
    font-weight: bold;
    text-align: left;
    flex-shrink: 0;
}

.Gamelist01-Information-Area {
    font-size: 12px;
    font-weight: bold;
    text-align: left;
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-left: 4px;
}

.Gamelist01-Information-GameName {
    font-size: 14px;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4;
}

.Gamelist01-GoToDetail {
    height: auto; /* 親要素の高さに合わせる */
    width: 40px;
    min-width: 40px;
    background-color: #EB701F;
    color: yellow;
    font-size: 12px;
    display: flex;
    flex-direction: column; /* 縦配置に変更 */
    justify-content: center;
    align-items: center;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border: none; /* ボタンのデフォルトのボーダーを削除 */
}

    .Gamelist01-GoToDetail span {
        margin: 1px 0px 2px 0px;
        justify-content: center;
    }



/* ーーーーーーーーーー */
/* 共通コンポーネント */
/* ーーーーーーーーーー */

/* ページの全要素を中央揃えにする奴 */
.centered {
    display: flex; /* Flexboxを有効化 */
    flex-direction: column; /* 縦方向に要素を並べる */
    justify-content: center; /* 垂直方向に中央揃え */
    align-items: center; /* 水平方向に中央揃え */
    min-height: 100vh; /* 画面全体の高さを確保 */
}



/* ページタイトルのスタイル */
.pagetitle {
    margin-top:24px;
    font-size: 20px;
    color: #ef6c00;
    font-weight: bold;
}

.PageTitle_v02 {
    display: inline-block; /* 幅をコンテンツに合わせる */
    position: relative; /* 擬似要素の基準位置 */
    font-size: 20px;
    font-weight: 600;
    color: #333333;
    padding-bottom: 5px; /* 下線との間隔 */
    margin-top:28px;
}

    .PageTitle_v02::after {
        content: '';
        position: absolute;
        left: 50%; /* 中央を基準点に */
        transform: translateX(-50%); /* 左に50%移動して中央配置 */
        bottom: 0;
        width: 20px; /* 下線の長さ */
        height: 1px; /* 下線の太さ */
        background-color: #999999;
        border-radius: 50px;
    }

/* 細い線01 */
.hr01 {
    border-width: 1px 0 0 0;
    border-style: solid;
    border-color: #999999;
    height: 1px;
    background: none;
}

/* ゲーム詳細＞カテゴリー名(今後使わない方向）*/
.details-category {
    display: inline-block;
    vertical-align: 6px;
    font-size: 16px;
    font-weight: bold;
    margin-top: 24px;
}

/*レギュレーションテキストボックス*/
.regulations-textbox {
    height: 350px;
    overflow-y: scroll;
    border: solid 1px;
    border-color: lightgray;
    border-radius:4px;
    font-size: 11px;
    padding: 8px;
    line-height: 1.6;
}

#markdown-output a {
    color: #1a73e8 !important;
    text-decoration: underline;
}


/* ーーーボタン共通デザインーーー */
.CpntBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 300px;
    height: 48px;
    border-radius: 8px;
    padding: 8px;
    font-size: 16px;
    gap: 4px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

    .CpntBtn input[type="submit"] {
        all: unset;
        width: 100%;
        height: 100%;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        pointer-events: auto;
        cursor: pointer;
    }

    .CpntBtn span {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
    }

.CpntBtn-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    z-index: 2;
    pointer-events: none;
}

.CpntBtn-pri {
    background: linear-gradient(45deg, #FF8F00, var(--theme-color));
    color: #FFF;
    font-weight: 600;
}

    .CpntBtn-pri:has(input:disabled) {
        background-color: #F2C9A4;
        cursor: not-allowed;
    }

.CpntBtn-OrangeBorder {
    background-color: #FFF;
    border: 1px solid #EB701F;
    color: #EB701F;
}

    .CpntBtn-OrangeBorder span {
        font-size: 18px;
    }

.CpntBtn-GrayBorder {
    background-color: #FFFFFF;
    border: 1px solid #555555;
    color: #555555;
}

    .CpntBtn-GrayBorder span {
        font-size: 18px;
    }




.Compnt-WarningButton-Wrap {
    background-color: #FFC400;
    color: #333333;
}

    .Compnt-WarningButton-Wrap span {
        color: #FFC400;
    }

.Compnt-DangerButton-Wrap {
    background-color: #FFF;
    border: 3px solid #D32F2F; /* 枠線の追加 */
    color: #D32F2F;
}

    .Compnt-DangerButton-Wrap span {
        background-color: #D32F2F;
        color: #FFF;
    }

/* 小さいボタン */
.Compnt-SmallButton-Wrap {
    display: inline-flex; /* 要素を横並びに */
    background-color: #4CAF50;
    width: auto;
    align-items: center;
    justify-content: center; /* 中央揃え */
    border-radius: 50px; /* 両端を丸くする */
    margin-top: 8px;
    padding: 4px 16px 4px 6px;
    font-size: 12px;
    font-weight: 500;
    color: #FFF;
    cursor: pointer;
    position: relative; /* 子要素の絶対配置を許可 */
    gap: 8px; /* 子要素間の間隔を調整 */
}

    .Compnt-SmallButton-Wrap input {
        all: unset; /* デフォルトスタイルをリセット */
        text-align: center; /* テキストを中央揃え */
        cursor: pointer;
        flex: 1; /* 入力フィールドを横幅いっぱいに拡大 */
    }

    .Compnt-SmallButton-Wrap span {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 18px;
        height: 18px;
        background-color: white; /* 白い円の背景 */
        border-radius: 50%; /* 円形にする */
        font-size: 12px; /* アイコンのサイズ */
        color: #4CAF50;
        pointer-events: none; /* アイコンをクリック不可に */
        position: static; /* 絶対位置指定を解除 */
    }


/* サブリンク共通デザイン（戻るとか） */
.Compnt-SubLink-Wrap {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    color: #6c757d; /* グレー色 */
    cursor: pointer;
    margin-top: 16px;
    padding: 0;
    text-align: left;
}

    .Compnt-SubLink-Wrap:hover {
        color: #000; /* ホバー時に色を変える */
    }

    .Compnt-SubLink-Wrap .material-icons {
        font-size: 20px; /* 矢印アイコンのサイズ */
        text-decoration: underline; /* 下線を表示 */
        text-decoration-color: #FFF; /* 下線の色を変更 */
    }


/* ↓以下のボタンデザインは順次切り替え予定 */
/* 基本のボタンデザイン */
.basic-button {
    display: inline-block;
    width: 300px;
    background-color: #ef6c00;
    padding: 5px 20px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    border: 1px solid #ef6c00;
    border-radius: 30px;
    cursor: pointer;
}

/* 共有のボタンデザイン */
.share-btn {
    display: inline-block;
    width: 300px;
    padding: 10px 20px;
    color: #333333;
    font-size: 14px;
    align-items: center;
    border: 1px solid #333333;
    border-radius: 30px;
    cursor: pointer;
}

/* グレーアウトしたボタンデザイン */
.grayout-basic-button {
    display: inline-block;
    background-color: gray;
    padding: 5px 20px;
    margin-right: 10px;
    color: white;
    font-size: 14px;
    border: 1px solid gray;
    border-radius: 30px;
    cursor: pointer;
}


/* 予約ボタンなどのCV関連ボタンデザイン */
.cv-button {
    display: inline-block;
    width: 300px;
    background-color: #ef6c00;
    padding: 10px 0px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    border: 1px solid #ef6c00;
    border-radius: 30px;
    cursor: pointer;
}


/* マテリアルアイコン中央にしてサイズ変えるCSS */
.material-symbols-outlined {
    display: inline-flex;
    align-items: center;
    margin-right: 8px;
}


/* ステップインジケーター全体のスタイル */
.progressbar {
    position: relative;
    width: 100%;
    margin:16px 0 40px 0; /* マージンを0に設定 */
    padding: 0; /* パディングを0に設定 */
    display: flex; /* フレックスボックスモデルを使用 */
    flex-wrap: nowrap; /* ラップなしで一行に表示 */
    justify-content: space-between; /* アイテム間に均等なスペースを配置 */
    list-style: none; /* リストのスタイル（点）を無効化 */
}

    /* ステップインジケーター内の各項目のスタイル */
    .progressbar li {
        position: relative;
        list-style-type: none; /* リストスタイルを無しに設定 */
        text-align: center; /* テキストを中央揃えに設定 */
        text-transform: uppercase; /* テキストを大文字に変換 */
        width: 33.333%; /* 各項目の幅を33.333%に設定 */
        color: #999999; /* 文字色をライトグレーに設定 */
        font-size: 10px; /* フォントサイズを12pxに設定 */
    }

        /* ステップインジケーター内の項目の前に表示される円のスタイル */
        .progressbar li:before {
            display: block;
            width: 10px; /* 幅を設定 */
            height: 10px; /* 高さを設定 */
            margin: 11px auto; /* ここを9pxに調整し、下部のマージンを削除 */
            content: '';
            text-align: center;
            border-radius: 50%; /* 角丸を50%に設定して円形にする */
            background-color: #dbdbdb; /* 背景色をライトグレーに設定 */
        }

        /* ステップインジケーターの項目間の線のスタイル */
        .progressbar li:after {
            position: absolute;
            z-index: -1; /* z-indexを-1に設定して背後に表示 */
            top: 15px; /* 上部から15pxの位置に設定 */
            left: -50%; /* 左側を-50%に設定して左にずらす */
            width: 100%; /* 幅を100%に設定 */
            height: 1px; /* 高さを2pxに設定 */
            content: '';
            background-color: #dbdbdb; /* 背景色をライトグレーに設定 */
        }

        /* 最初の項目の後の線を非表示にするスタイル */
        .progressbar li:first-child:after {
            content: none; /* 内容を非表示に設定 */
        }

        /* アクティブまたは完了状態の項目のスタイル */
        .progressbar li.active,
        .progressbar li.complete {
            color: #4CAF50; /* 文字色設定 */
        }

            /* アクティブまたは完了状態の項目の前の円のスタイル */
            .progressbar li.active:before,
            .progressbar li.complete:before {
                background-color: #4CAF50; /* 背景色設定 */
            }

            /* アクティブまたは完了状態の項目の間の線のスタイル */
            .progressbar li.active:after,
            .progressbar li.complete:after {
                background-color: #4CAF50; /* 背景色を設定 */
            }


/* ーーーーーーーーーー */
/* ゲーム詳細画面 */
/* ーーーーーーーーーー */

.GameDetails-Summary-Section01 {
    display: flex;
    align-items: center; /* 高さ方向中央 */
    justify-content: flex-start; /* 左揃え */
    gap: 8px;
    cursor: pointer;
    color: #FFFFFF;
}

    .GameDetails-Summary-Section01 .ShareButton01 {
        display: flex;
        align-items: center; /* 高さ方向中央 */
        justify-content: center; /* 横方向中央揃えに変更 */
        gap: 4px;
        padding: 3px 8px;
        border-radius: 4px;
        background: linear-gradient(45deg, #FF8F00, var(--theme-color));
        font-size: 12px;
        font-weight: 500;
    }


/* ゲーム詳細＞カテゴリー */
.gamedetails-category-wrap { /* 予約登録画面にも使ってる */
    width: 100%;
    height: 30px;
    display: flex;
    vertical-align: 6px;
    margin-top: 32px;
    border-bottom: 1px solid #999999;
}

.gamedetails-category-icon {
    font-size: 24px;
    color: #ef6c00;
    align-items: center; /* アイコンの垂直方向の中央揃え */
}

.gamedetails-category-title {
    margin-left: -8px;
    font-size: 18px;
    font-weight: 600;
    color: #662d00;
    align-items: center; /* タイトルの垂直方向の中央揃え */
}



/* ゲーム詳細画面 */
.details-container {
    display: flex;
    width: 100%;
    margin-top: 8px;
    padding:0 10px;
}

.details-title {
    display: flex;
    align-items: center; /* 縦方向の中央揃え */
    justify-content: center; /* 横方向の中央揃え */
    width: 90px;
    font-size: 10px;
    font-weight: bold;
    margin: 0px 8px 8px 0px;
    background-color: #efefef; /* 背景 */
    color: #333333; /* フォントを白に */
    padding: 2px; /* パディングを2pxずつ */
}

.details-body {
    display: inline-block;
    flex: 1;
    font-size: 12px;
    margin-right: 8px;
    color: #333333;
    text-align: left; 
}

    .details-body a[href] {
        color: #1a73e8;
        text-decoration: underline;
    }

        .details-body a[href]:hover,
        .details-body a[href]:active,
        .details-body a[href]:focus {
            color: #1a73e8;
            text-decoration: underline;
        }

/* ゲーム詳細＞オプションカテゴリー */
.op-title {
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    margin: 8px 0px 4px 0px;
    color: #999999;
    padding:0 10px;
}

.op-name {
    display: inline-block;
    font-size: 12px;
    margin: 0px 8px 0px 18px;
}


/* ゲーム詳細＞カテゴリ名B */
.itemname {
    font-size: 16px;
    color: #ef6c00;
    font-weight: bold;
}

/* ゲーム詳細＞項目＞詳細のスタイルB */
.itembody {
    font-size: 14px;
}










/* 202301 ここから追加 */


header .navbar {
    padding: 3px 0;
}

header .navbar-header {
    margin: 0 auto;
}

header .navbar-brand {
    width: 162px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.shopname {
    color: #424242;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    margin: 5px 0 0;
    padding: 0;
    text-align: center;
    width: auto;
    max-width: 100%;
}

.titleblock {
    border-bottom: 1px solid #e0e0e0;
    padding: 0 0 10px;
    margin: 0 calc(50% - 50vw);
    width: 100vw;
}

.selectblock {
    width: 1000px;
    max-width: 100%;
    margin: 30px auto 0;
}

.selectblock--calendar {
    margin-top: 50px;
}

.selectblock-titile {
    color: #606060;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    padding: 0 0 5px;
    text-align: center;
}

/* カレンダーの定例貸切切り替えボタン */
.selectblock-btnwrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 4px;
    gap: 8px;
}

.selectblock-btn {
    width: 155px;
    font-size: 15px;
    height: auto;
    line-height: 2.5;
    text-align: center;
    border-radius: 4px;
    background: #FFF;
    border: 1px solid #eb701f;
    color: #eb701f;
    font-weight: 500;
    transition: 0.3s all;
}

    .selectblock-btn:hover,
    .selectblock-btn.active {
        background: #eb701f;
        font-weight: 500;
        border: 1px solid #eb701f;
        color: #FFFFFF;
    }

#calendar {
    width: 1000px;
    max-width: 100%;
    margin-top: 10px;
}


/* カレンダー＞モーダルの設定ここから */
body .modal.fade .modal-dialog {
    transform: translate(0,-50%);
    top: 50%;
    margin: 0 auto;
    width: 500px;
    max-width: calc(100% - 24px);
}

body .modal-dialog.resvmodal {
    background: none !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: none;
}

body .resvmodal.modal-content {
    border-radius: 8px; /* 角丸を再度追加 */
    margin-bottom: 8px; /* パーツ間のマージンを追加 */
    background-color: var(--theme-color);
}

body .modal-body {
    padding: 0;
}

.modal-clm {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
    flex-wrap: nowrap;
}

.modal-main {
    flex-grow: 1;
    overflow: hidden;
    white-space: normal;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 8px;
    background-color: var(--theme-color);
    color:#FFFFFF;
}

.modal-side {
    width: 55px;
    flex-shrink: 0;
    border-right: 1px dashed #FFFFFF;
    padding: 10px 4px;
    margin-right: 12px;
    font-size: 24px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--theme-color);
    color:#FFFFFF;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.modal-num {
    color: #FFFFFF;
    font-weight: 400;
    padding: 0 4px;
    font-size: 12px;
    margin: 0px 0 0;
}

.modal-timewrap {
    display: flex;
    margin-top: 8px;
}

.modal-date {
    font-size: 14px;
    margin: 0;
    text-align: left;
    font-weight: 400;
}


.modal-time {
    font-size: 14px;
    margin: 0;
    margin-left: 8px;
    text-align: left;
    font-weight: 400;
}

.modal-area {
    font-size: 12px;
    font-weight: 400;
    margin: 0;
    text-align: left;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.modal-eventname {
    margin: 0;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0px 0px 8px 0px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    white-space: normal;
    word-break: break-all;
}

.modal-btn-wrap {
    width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0 0 0 14px;
    flex-shrink: 0;
    background: #FFF;
    border-top-right-radius: 7px; /* 右上の角丸 */
    border-bottom-right-radius: 7px; /* 右下の角丸 */
}

.modal-btn-gotodetail {
    color: #eb701f !important;
    background: none;
    border: none;
    outline: none;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.4;
    margin: 0;
    padding: 0;
}

.fc .fc-daygrid-event {
    cursor: pointer;
}

.hidden {
    display: none;
}

/* カレンダー＞モーダルの設定ここまで */



/* カレンダー＞凡例 */
.calender-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.calender-example-title {
    font-weight: 600;
    margin-top: 8px;
    font-size: 10px;
    text-align: center;
}

.calender-example-detail {
    width: 150px;
    font-size: 10px;
    text-align: left;
}



/* β版のヘッダーとお知らせバー */
.Beta-Header {
    height: 60px;
    background-color: white;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 10px;
}

.Beta-Header-MyPageIcon {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 10px;
    color: #777777;
    text-decoration: none; /* テキストの下線を削除 */
}

    .Beta-Header-MyPageIcon:hover {
        color: #EF6C00;
        cursor: pointer;
        text-decoration: none; /* ホバー時の下線を削除 */
    }

.InformationBar {
    position: relative;
    width: 100vw;
    min-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    height: auto;
    background-color: #fff200;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    font-size: 12px;
    color: red;
    padding: 6px 20px;
}

.InformationBar-inner {
    width: 100%;
    max-width: 600px; /* 例: .containerと同じ幅 */
    margin: 0 auto;
    display: flex;
    align-items: center;
}


/* 入力フォームの追加デザイン */
.form-add-design {
    height: 500px;
}






/* ーーーーーーーーーー */
/* 予約情報登録画面 */
/* ーーーーーーーーーー */

/* ▼情報登録画面全体のレイアウト▼ */
.CreateUser-FormContainer { /* 入力フォームのコンテナ */
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; /* 子要素を左寄せ */
    column-gap: 16px; /* 横方向のギャップを16pxに設定 */
    row-gap: 0; /* 縦方向のギャップを0に設定 */
}

.CreateUser-FormWrap {
    margin-top: 16px;
    width: 100%; /* デフォルトでは親要素に合わせる */
    max-width: 200px; /* 余裕があるときは200pxに固定 */
    justify-content: flex-start; /* 子要素を左寄せ */
    text-align: left;
    font-size: 14px;
}

/* メディアクエリで画面幅が440px以下の場合の条件を追加 */
@media (max-width: 440px) {
    .CreateUser-FormWrap {
        width: 100%; /* 画面幅いっぱいにする */
        max-width: none; /* 最大幅の制限を解除 */
    }
}

.CreateUser-FormWrap:last-child {
    margin-right: 0;
    clear: both; /* 3つ目の要素を新しい行に配置 */
}


.CreateUser-MustTag { /* 必須タグ */
    background-color: #D32F2F;
    color: white;
    padding: 2px 4px;
    margin-right: 4px;
    border-radius: 3px;
    font-size: 10px;
    vertical-align: middle;
}

.CreateUser-OptionalTag { /* 任意タグ */
    background-color: #BBBBBB;
    color: white;
    padding: 2px 4px;
    margin-right: 4px;
    border-radius: 3px;
    font-size: 10px;
    vertical-align: middle;
}

.CreateUser-FormBox {
    margin-top:6px;
    height: 50px !important;
    max-width: 350px;
}

.CreateUser-WarningText {
    font-size: 10px;
    width: auto;
    text-align: left;
}



/* ▼オプションの全体パーツ_241129▼ */

/* オプションのカテゴリ名 */
.create-option-title {
    margin:24px 0 8px 0;
    background-color: #EEEEEE;
    width: auto;
    color: #555555;
    font-size: 10px;
    padding: 2px 8px 2px 8px;
    border-radius: 4px; /* 角を丸くする */

    display: block; /* インライン要素ならblock化 */
    text-align: left;
}

/* オプション名、金額、ステッパーのコンテナ */
.option-container {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    margin: 0 0 10px 0;
    border-bottom: 1px dotted #CCCCCC;
    padding-bottom: 10px;
    width: 100%;
    max-width: 420px;
    box-sizing: border-box;
    gap: 10px;
    position: relative;
}



/* オプション名と金額をまとめるラップ */
.option-wrapper {
    max-width: calc(100% - 120px); /* デバイスの横幅から .multiplier-wrapper の幅を引いた値を指定 */
}



/* オプション名 */
.create-option-name {
    font-size: 14px;
    color: #333333;
    font-weight: 600;
    word-wrap: break-word; /* 長い単語を折り返す */
    overflow-wrap: break-word; /* テキストの折り返しをさらに補完 */
}


/* 金額用のスタイル */
.option-price {
    font-size: 14px;
    color: #555555;
}


/* 掛ける数量を示す「×」とステッパーのラップ */
.multiplier-wrapper {
    position: absolute; /* 親要素の右端に固定 */
    right: 0; /* 右端に配置 */
    top: 50%; /* 縦方向の中央に配置 */
    transform: translateY(-50%); /* 縦方向の中央揃え */
    display: flex;
    align-items: center; /* ステッパー内の要素を縦方向で中央揃え */
    width: 110px;
    height: 100%;
}

/* 掛ける数量を示す「×」 */
.multiplier-symbol {
    font-size: 16px;
    font-weight: bold;
    color: #333333;
    margin: 0px 4px 0px 8px; /* ステッパーとの間に少し余白 */
    line-height: 30px; /* ステッパーと縦位置を合わせる */
}

/* オプションの数量変更のパーツ */
.option-stepper {
    display: flex;
    align-items: center;
    height: 30px;
    width: 80px;
    border: 1px solid #EB701F;
    border-radius: 50px;
    overflow: hidden;
}

.option-stepper-number {
    width: 32px;
    height: 32px; /* 高さを指定して中央揃えにする */
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: #555555;
    background-color: transparent;
    padding: 0;
    display: flex; /* フレックスボックスで中央揃え */
    align-items: center; /* 縦中央揃え */
    justify-content: center; /* 横中央揃え */
    box-sizing: border-box; /* 高さを含めたボックスサイズを調整 */
}

.option-stepper-button {
    width: 24px;
    height: 30px;
    background-color: #FFF;
    border: none;
    cursor: pointer;
    color: #EB701F;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .option-stepper-button:hover {
        background-color: #fce6d9;
    }




/* ＝＝＝＝＝ */
/* マイページ */
/* ＝＝＝＝＝ */


/* マイページのコンテンツ枠 */
.mypage-card {
    width: 100%;
    margin-top: 32px;
    padding: 16px 8px 16px 8px;
    background-color: #FFFFFF;
    border-radius: 5px;
    box-sizing: border-box; /* パディングを含む幅を指定するために追加 */
    position: relative; /* アイコンの位置を調整するために追加 */
}

.mypage-card-icon {
    font-size: 48px !important;
    color: #999999;
}

.mypage-card-text {
    font-size: 14px;
    color: #333333;
    font-weight: bold;
}

.settings-icon {
    font-size: 28px !important;
    color: #777777;
    position: absolute;
    top: 16px;
    right: 8px;
}

/* マイページの予約履歴の枠 */
.reserve-history-detail-area {
    margin-top:10px;
}

.reserve-history-wrap {
    display: flex;
    align-items: center;
    margin-top: 4px;
    font-size: 14px;
}



.reserve-history-icon {
    font-size: 20px !important;
    margin-right: 4px;
}


/* マイページの予約履歴のボタンデザイン */
.reserve-history-chek-change {
    background: #EF6C00;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 8px 0px 0px 0px;
    max-width: 280px;
    padding: 8px 16px 8px 8px;
    color: #FFFFFF;
    font-weight: 600;
    border: none; /* 枠線を消す */
    border-radius: 8px; /* 角を4pxにする */
    font-size: 14px; /* フォントサイズを16pxにする */
    letter-spacing: 0.1em; /* テキストのカーニングを調整する */
}

.reserve-history-cancel {
    background: none; /* 背景無しにする */
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 8px 0px 0px 16px;
    max-width: 280px;
    padding: 8px 16px 8px 16px;
    color: #333333; /* テキストカラーを#333にする */
    font-weight: 500;
    border: 1px solid #333333; /* 枠線を1px、色を#333にする */
    border-radius: 8px; /* 角を8pxにする */
    font-size: 12px; /* フォントサイズを14pxにする */
    letter-spacing: 0.1em; /* テキストのカーニングを調整する */
}

.reserve-history-past-check {
    background: #777777;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 8px 0px 0px 0px;
    max-width: 280px;
    padding: 8px 16px 8px 8px;
    color: #FFFFFF;
    font-weight: 400;
    border: none; /* 枠線を消す */
    border-radius: 8px; /* 角を4pxにする */
    font-size: 14px; /* フォントサイズを16pxにする */
    letter-spacing: 0.1em; /* テキストのカーニングを調整する */
}

.reserve-history-teirei-chek-change .btn-icon {
    font-size: 24px;
}




/* 予約履歴の切り替えタブデザイン */
/* これからの予約 */
.history-button-selected {
    display: inline-block;
    background-color: #F5F5F5;
    font-size: 14px;
    color: #41b154;
    font-weight: bold;
    border: none;
    cursor: pointer;
    text-decoration: underline; /* アンダーラインを追加 */
    text-decoration-thickness: 2px; /* 線の太さを2pxに */
    text-underline-offset: 8px; /* テキストから8px離す */
}

/* 過去の予約 */
.history-button-nonselected {
    display: inline-block;
    background-color: #F5F5F5;
    font-size: 14px;
    color: #999999;
    font-weight: bold;
    border: none;
    cursor: pointer;
}


/* マイページの予約履歴パーツ */
.mypage-GameHistoryWrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mypage-GameHistoryWrap-child {
    padding-bottom: 16px;
    border-bottom: 1px solid #ccc;
}

    .mypage-GameHistoryWrap-child:last-child {
        border-bottom: none;
        padding-bottom: 0px;
    }

/* マイページの予約履歴の種別タグデザイン */
.mypage-history-tag-arrive {
    display: inline-block;
    margin-right: 4px;
    padding:2px 8px;
    color: #333333;
    font-weight: 400;
    font-size: 11px;
    border: 1px solid #333333;
    border-radius:4px;
}

.mypage-history-tag-past {
    display: inline-block;
    margin-right: 4px;
    padding: 2px 8px;
    color: #AAAAAA;
    font-weight: 400;
    font-size: 11px;
    border: 1px solid #AAAAAA;
    border-radius: 4px;
}

.cancel-button {
    display: inline-block;
    background-color: white;
    padding: 5px 20px;
    color: dimgray;
    font-size: 10px;
    border: 1px solid white;
    border-radius: 30px;
    cursor: pointer;
}


/* ＝＝＝＝＝＝＝＝＝＝＝＝ */
/* 予約登録画面になかったやつ */
/* ＝＝＝＝＝＝＝＝＝＝＝＝ */

/* オプションのパーツ */
.op-container {
    display: flex;
    flex-direction: column; /* 縦に並べる */
}

/* オプション名（在庫あり/0） */
.create-op-name {
    margin: 8px 0px 0px -20px;
    max-width: 500px;
    font-size: 14px;
    font-weight: bold;
    color: #333333;
}

/* オプションの数量変更のパーツ */
.op-stepper {
    display: flex; /* 横並びを維持 */
    align-items: center;
    justify-content: space-between; /* 要素を均等に配置 */
    overflow: hidden;
    height: 30px; /* パーツ全体の高さ設定 */
    width: 120px;
    border: 1px solid #CCCCCC; /* 全体を1pxの黒線で囲む */
    border-radius: 4px; /* 角を4pxにする */
    margin: 4px 0px 0px -4px;
}

.op-stepper-number {
    height: 100%; /* stepperの高さに合わせる */
    width: 50px;
    border: none;
    text-align: center; /* テキストを中央揃えにする */
    font-size: 18px;
    font-weight: bold;
    color: #333333;
    background-color: transparent; /* 背景色設定 */
    padding: 0; /* 余白をなくす */
    box-sizing: border-box; /* パディングを含めたサイズ計算にする */
    line-height: 30px; /* 中央揃えにするために高さと同じ値を設定 */
}

.op-stepper-button {
    height: 30px; /* 親要素の高さに合わせる */
    width: 30px; /* 高さと同じ値に設定 */
    background-color: #EB701F; /* ボタンの色 */
    border: none;
    cursor: pointer;
    text-align: center;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    display: flex; /* Flexboxを使用 */
    justify-content: center; /* 水平方向に中央揃え */
    align-items: center; /* 垂直方向に中央揃え */
    border-radius: 4px; /* ボタンの角を4pxにする */
}

    .op-stepper-button:hover {
        background-color: #ff8f49;
    }


/*ログインページ*/
/* ログインカード */
.UserLogIn-Wrap {
    margin-top: 50px;
    max-width: 400px;
    width: 100%;
    background: #FFFFFF;
    backdrop-filter: saturate(140%) contrast(105%);
    border-radius: 8px;
    padding: 30px 20px;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 6px 20px -4px rgba(0,0,0,0.18), 0 2px 6px rgba(0,0,0,0.12);
}

    .UserLogIn-Wrap .pagetitle {
        margin-top: 0;
        color: #333333;
    }

    .UserLogIn-Wrap .logo {
        margin-top: 30px;
        width: 150px;
    }

        .UserLogIn-Wrap .logo img {
            width: 100%;
            height: auto;
            display: block;
        }

    .UserLogIn-Wrap .SmallText {
        font-size: 11px;
        line-height: 1.5;
        color: #333;
        font-weight: 300;
        margin-top: 4px;
    }

        .UserLogIn-Wrap .SmallText a {
            font-size: 11px;
            color: #0066cc;
            text-decoration: underline;
        }


/* ーーーログインエラーページーーー */
.LoginError_body {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.LoginError_alert-icon {
    margin-top: 32px;
    font-size: 60px !important;
    color: red;
}

.LoginError_section-title {
    margin-top: 32px;
    font-size: 16px;
    font-weight: bold;
    color: #333333;
    text-align: left;
}

.LoginError_reason-box {
    margin-top: 2px;
    background-color: #F5F5F5;
    padding: 16px;
    text-align: left;
    margin-bottom: 28px;
}

    .LoginError_reason-box p {
        color: #333333;
        font-size: 14px;
        margin-bottom: 0 !important;
    }

.LoginError_Field-linkWrap {
    display: flex;
    align-items: center;
    justify-content: space-between; /* 矢印右寄せ */
    border: 1px solid #AAAAAA;
    border-radius: 4px;
    padding: 12px 8px;
    font-size: 18px;
    font-weight: bold;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    text-decoration: none;
}

    .LoginError_Field-linkWrap:hover {
        text-decoration: none; /* ホバー時にも下線が出ないようにする */
    }

    .LoginError_Field-linkWrap .icon-text-group {
        display: flex;
        align-items: center;
    }

    .LoginError_Field-linkWrap .logo-circle {
        width: 50px;
        height: 50px;
        margin-right: 8px;
        border: 1px solid #999999;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }

        .LoginError_Field-linkWrap .logo-circle img {
            width: 50px;
            height: 50px;
            object-fit: cover;
        }

    .LoginError_Field-linkWrap .field-name {
        width: auto;
        font-size: 16px;
        color: #555555;
        text-align: left;
    }

    .LoginError_Field-linkWrap .arrow-icon {
        font-family: 'Material Icons';
        font-size: 24px;
        color: #555555;
    }



/*＝＝＝予約完了画面＝＝＝*/

/*ショートカットアイコン*/
.ShortCut-Section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between; /* 均等配置 */
}

.ShortCut-Item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.ShortCut-Section .ShortCut-icon {
    color: #EF6C00;
    font-size: 30px;
}

.ShortCut-Section .IconText {
    margin-top: 4px;
    font-size: 11px;
    color: #374151;
    text-align: center;
    line-height: 1.1;
}

.MyPageHistory-Icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    border: none;
    margin: 8px 8px 0 0;
}

    .MyPageHistory-Icon .Icon {
        font-size: 22px !important;
        color: #333333 !important;
        border: 1.2px solid #333333;
        border-radius: 50%;
        padding: 6px;
        box-sizing: border-box;
        margin-right: 0;
    }

    .MyPageHistory-Icon .IconText {
        margin-top: 4px;
        margin-bottom: 0 !important;
        color: #333333;
    }

.MyPage-GoAgain-Button {
    padding: 2px 6px;
    color: #FFFFFF;
    background: #41B16D;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    border-radius: 4px;
    gap: 4px;
}

    .MyPage-GoAgain-Button .icon {
        margin: 0;
    }

.DeleteUser-Button {
    margin-top: 20px;
    color: #F5F5F5 !important;
    font-size: 6px;
}

/* ＝＝＝＝＝＝＝＝ */
/* 以下使ってないかも */
/* ＝＝＝＝＝＝＝＝ */
/* 項目カテゴリ */
.create-info-category {
    margin: 40px 0px -36px 0px;
    color: #ef6c00;
    text-align: left;
    display: flex;
    align-items: center;
}

/* 項目カテゴリ注釈 */
.create-info-note {
    font-size: 12px;
    color: #333;
    margin-left: 10px;
}

/* 項目タイトル */
.create-info-title {
    margin: 0;
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
}

/* オプションカテゴリー名 */
.create-op-title {
    font-size: 12px;
    margin-bottom: -4px;
    font-weight: 600;
    color: #777777;
}

/*汎用グレータグ*/
.Tag-Gray {
    display: inline-flex;
    width: fit-content;
    min-width: 0;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
    border-radius: 4px;
    background-color: #EEEEEE;
    color: #777777;
    white-space: nowrap;
}

/*青タグ*/
.Tag-Blue {
    display: inline-flex;
    width: fit-content;
    min-width: 0;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
    border-radius: 4px;
    border: 1px solid #2db2ff;
    background-color: #FFFFFF;
    color: #2db2ff;
    white-space: nowrap;
}

/*ヘッダー上部のキャンペーンバナーエリア*/
.banner-HederTop {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 560px;
    margin: 0 auto; /* 左右中央揃え */
}

    .banner-HederTop img {
        width: 100%;
        height: auto;
        display: block;
    }

/*バナーA,B,Dエリア*/
.banner-ABDarea {
    display: flex;
    flex-direction: column; /* デフォルトは縦並び */
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    gap: 24px;
}

    .banner-ABDarea a {
        width: 100%; /* デフォルトは画面幅いっぱい */
    }

    .banner-ABDarea img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 4px;
    }

/* 500px以上で2列表示 */
@media (min-width: 500px) {
    .banner-ABDarea {
        flex-direction: row; /* 横並びに変更 */
        flex-wrap: wrap; /* 2行目以降に折り返し */
        gap: 16px; /* 隙間を調整 */
    }

        .banner-ABDarea a {
            width: calc(50% - 8px); /* 2列レイアウト（gap 16pxの半分を引く） */
        }
}


/*バナーCエリア*/
.banner-Carea {
    display: flex;
    flex-direction: row; /* 横方向に配置 */
    flex-wrap: wrap; /* 複数行に折り返す */
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 560px; /* 最大幅を設定 */
    margin: 48px auto 0;
    gap: 12px; /* 要素間の余白 */
}

    .banner-Carea a {
        width: calc(50% - 6px); /* デフォルトは2列レイアウト（gap 12pxの半分を引く） */
        flex-shrink: 0; /* 縮小を防ぐ */
    }

    .banner-Carea img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 4px;
    }

/* 500px以上で3列表示 */
@media (min-width: 500px) {
    .banner-Carea {
        gap: 14px; /* 余白を少し広げる */
    }

        .banner-Carea a {
            width: calc(33.333% - 10px); /* 3列レイアウト（gap 14pxを考慮） */
        }
}


.banner-area {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.banner-link {
    display: block;
    width: 48%;
    min-width: 180px;
    max-width: 400px;
}

.banner-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

@media (max-width: 700px) {
    .banner-area {
        flex-direction: column;
    }

    .banner-link {
        width: 100%;
        max-width: 100%;
    }
}

.pr-label {
    margin-top:-10px;
    position: absolute;
    color: #BBBBBB;
    font-size: 7px;
    pointer-events: none;
}

/*サイドメニューバナーエリア*/
.Menubanner-area {
    width: 100%;
    display: flex;
}

.logout-content {
    margin-top:30px;
}


/* レギュレーション同意 */
.agreement-section {
    font-size: 13px;
    text-align: center;
}

.agreement-checkbox {
    transform: scale(1.5);
    margin-right: 8px;
}

/* 無効（= 同意未チェック）時。グラデーションを無効化して上書き */
.CpntBtn-pri:has(input:disabled) {
    background: #F2C9A4 !important; /* 単色で上書き */
    background-image: none !important; /* グラデーショを消す */
    cursor: not-allowed;
}

/* ▼オプション数量プルダウンの矢印（最小実装） */
.select-arrow {
    position: relative;
    display: inline-block;
}

    /* ネイティブ矢印を隠し、右側に余白を確保 */
    .select-arrow > select {
        -webkit-appearance: none;
        appearance: none;
        padding-right: 24px;
        background: none;
    }

        /* IE系の余分な矢印を消す（必要なら） */
        .select-arrow > select::-ms-expand {
            display: none;
        }

    /* Material Symbols の下向き矢印を重ねる */
    .select-arrow::after {
        content: "expand_more";
        font-family: "Material Symbols Outlined";
        font-size: 18px;
        color: #777;
        position: absolute;
        right: 6px;
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none;
    }