/* ==========================================
   ■ :root (変数)
   ========================================== */
:root {
    --wst-color-text-primary: #333333;
    --wst-color-fill-background: #ffffff;
    --main-font: "ot-pshirotae-stdn", "Hiragino Mincho ProN", serif;
    --accent-color: #d4a373;
}

/* ==========================================
   ■ body 
   ========================================== */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--main-font);
    background-color: var(--wst-color-fill-background);
    color: var(--wst-color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================
   ■ nav (本体)
   ========================================== */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 4vw;
    background-color: rgba(255,255,255,0.95);
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(5px);
    width: 100%;
    box-sizing: border-box;
    transition: background-color 0.25s, border-color 0.25s, backdrop-filter 0.25s;
}
nav.at-top {
    background-color: transparent;
    border-bottom-color: transparent;
    backdrop-filter: none;
}

/* ハンバーガーボタン（PCでは非表示） */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 1002;
    border-radius: 8px;
    transition: background 0.2s;
}
.nav-toggle:hover { background: rgba(0,0,0,0.05); }
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #333;
    border-radius: 1px;
    transition: transform 0.3s, opacity 0.3s;
}
nav.is-open .nav-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
nav.is-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}
nav.is-open .nav-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}
body.nav-open { overflow: hidden; }

/* メニューを包むパネル（PCでは横並びのまま） */
.nav-panel {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* ==========================================
   ■ nav ul / .nav-menu / .nav-sns 
   ========================================== */
.nav-menu, .nav-sns {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 25px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 25px;
}

.nav-sns {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 15px;
}

/* ==========================================
   ■ nav a (リンク) 
   ========================================== */
nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 0.9rem;
    transition: opacity 0.3s;
}

nav a:hover {
    opacity: 0.6;
}

.site-root nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 1rem;
    transition: color 0.3s;
}

.site-root nav ul li a:hover {
    color: #777;
}

.nav-menu a:hover { 
    color: var(--accent-color); 
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 0.9rem;
    transition: color 0.3s;
}

/* ==========================================
   ■ .sns-btn (SNSアイコン) 
   ========================================== */
.sns-btn {
    text-decoration: none;
    font-size: 1.1rem;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f0f0f0;
    transition: transform 0.3s;
}
.sns-btn:hover { transform: scale(1.1); background: #e0e0e0; }

/* ==========================================
   ■ .content-box / .container-center 
   ========================================== */
.container-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.container-center img {
    max-width: 100%;
    height: auto;
}
.content-box {
    max-width: 800px;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    padding: 80px 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

/* ==========================================
   ■ .video-background 
   ========================================== */
.video-background {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 0;
    background: #000;
}

.video-background video {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%; min-height: 100%;
    object-fit: cover;
    animation: fade-out linear both;
    animation-timeline: scroll();
    animation-range: exit 0% exit 100%;
}

/* ==========================================
   ■ .ticket-btn 
   ========================================== */
.ticket-btn {
    display: inline-block;
    background-color: #333;
    color: #fff;
    padding: 20px 60px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    transition: all 0.3s;
    letter-spacing: 0.1em;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.ticket-btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* ==========================================
   ■ #bgm-button 
   ========================================== */
#bgm-button {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    background: rgba(255,255,255,0.9);
    border: 1px solid #ddd;
    padding: 12px 20px;
    cursor: pointer;
    border-radius: 50px;
    font-size: 0.8rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* ==========================================
   ■ @media (レスポンシブ)
   ========================================== */
@media (max-width: 768px) {
    header {
        background: transparent !important;
    }
    .nav-toggle {
        display: flex;
    }
    .nav-panel {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        min-height: 100vh;
        min-height: 100dvh;
        background: #ffffff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        padding: 80px 24px 40px;
        z-index: 1001;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s, visibility 0.3s;
    }
    nav.is-open .nav-panel {
        opacity: 1;
        visibility: visible;
    }
    .nav-menu {
        flex-direction: column;
        gap: 8px;
        font-size: 1.1rem;
        text-align: center;
    }
    .nav-menu a { font-size: 1.1rem; }
    .nav-sns {
        gap: 16px;
        margin-top: 16px;
    }
    nav {
        flex-direction: row;
        justify-content: flex-end;
        gap: 0;
        padding: 10px 4vw;
        background-color: transparent !important;
        background-image: none !important;
        border-bottom: none !important;
        backdrop-filter: none !important;
        box-shadow: none !important;
    }
    .vertical-text p { font-size: 24px; }
    .vertical-text { margin: 80px auto; }
    .contact-container { padding: 30px 15px; }
    .contact-title { font-size: 1.8rem; }
    .content-box { padding: 40px 20px; }
    h1.page-title { font-size: 2.5rem; }
    /* iOSで fixed 背景が崩れる・重いためモバイルでは scroll に */
    .hero-section,
    .parallax-section,
    .gallery-main,
    main[style*="background-attachment"] {
        background-attachment: scroll !important;
    }
    .main-content { padding: 80px 15px 40px; }
    .hero-section { padding: 60px 15px 40px; }
    .artist-container { padding: 24px 16px; }
    .artist-name { font-size: 1.5rem; }
    .artist-card { margin-bottom: 50px; padding-bottom: 40px; }
    .artist-bio, .artist-links { font-size: 0.9rem; }
    .main-visual h2 { font-size: 1.5rem !important; margin-bottom: 20px !important; }
    .link-banner { height: 300px; margin-top: 60px; }
    .section-headline { font-size: 1.5rem; }
    .info-section { margin-bottom: 50px; }
    .rule-item h4 { font-size: 1.1rem; }
    .ticket-btn { padding: 16px 32px; font-size: 1rem; max-width: 100%; box-sizing: border-box; }
    .ticket-selection-card { padding: 20px 16px; }
    .gallery-video-header { padding: 80px 20px 40px; }
    .full-screen-center { min-height: 50vh; }
    .full-screen-center h1 { font-size: 1.5rem; }
    .concept-box { padding: 30px 20px; }
    .concept-title { font-size: 1.75rem; margin-bottom: 30px; }
    .concept-body h3 { font-size: 1.2rem; }
    .form-wrapper { padding-top: 1100px; }
    .site-root > footer { padding: 24px 16px !important; font-size: 0.7rem !important; }
    .concept-section { padding: 60px 15px; }
}

@media (max-width: 600px) {
    .site-root nav ul {
        gap: 15px;
        font-size: 0.8rem;
    }
    section { padding: 60px 15px; }
    .tile-section { padding: 60px 15px; }
    #bgm-button { bottom: 20px; left: 20px; padding: 14px 18px; font-size: 0.75rem; min-height: 44px; }
    h1.page-title { font-size: 2rem; }
    .artist-name { font-size: 1.35rem; }
    .concept-title { font-size: 1.5rem; }
    .concept-box { padding: 24px 16px; }
    .content-box { padding: 24px 16px; }
    .purchase-container .ticket-selection-card { padding: 16px 12px; }
    .ticket-details h3 { font-size: 1.25rem; }
    .ticket-details .price { font-size: 1.5rem; }
}

@media (max-width: 380px) {
    .link-banner h1 { font-size: clamp(60px, 12vw, 80px); }
    .vertical-text p { font-size: 20px; }
}

/* ==========================================
   ■ その他・固有パーツ (並び替えなし) 
   ========================================== */
.site-root { width: 100%; }

section {
    position: relative;
    padding: 100px 20px;
    box-sizing: border-box;
}

@keyframes fade-out {
    from { opacity: 1; }
    to { opacity: 0; }
}

.parallax-section {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.vertical-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    margin: 200px auto;
    height: auto;
}

.vertical-text p {
    font-size: 34px;
    letter-spacing: 0.05em;
    color: #ffffff;
    margin: 0 15px;
}

.link-banner {
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
    text-decoration: none;
    position: relative;
}

.link-banner h1 {
    position: relative;
    z-index: 1;
    color: var(--accent-color);
    font-size: clamp(80px, 15vw, 150px);
    letter-spacing: 0.1em;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    margin: 0;
} 







/* セクション全体の背景（白でリセット） */
.tile-section {
    background-color: #ffffff;
    padding: 100px 4vw;
}

/* 4つ並べるためのグリッド修正 */
.tile-grid {
    max-width: 1300px; /* 4つ並ぶので少し最大幅を広げると綺麗です */
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4等分に変更 */
    gap: 20px; /* カード同士の間隔を少し詰めるとバランスが良いです */
}

/* カード1枚のスタイル */
.tile-card {
    text-decoration: none;
    color: #333;
    display: block;
    transition: transform 0.3s ease;
}

/* 画像を包むエリア（ここで角丸と切り抜き） */
.tile-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5; /* 縦長でおしゃれな雑誌風比率 */
    overflow: hidden;
    border-radius: 12px; /* 柔らかい角丸 */
    background-color: #f0f0f0;
}

.tile-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* ホバー時の画像拡大 */
.tile-card:hover .tile-image-wrapper img {
    transform: scale(1.08);
}

/* ホバー時に画像の上に出る文字 */
.tile-hover-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(18, 125, 98, 0.2); /* 出旅グリーンの薄い幕 */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tile-hover-overlay span {
    color: #fff;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    border: 1px solid #fff;
    padding: 8px 16px;
}

.tile-card:hover .tile-hover-overlay {
    opacity: 1;
}

/* 画像の下の文字エリア */
.tile-info {
    padding: 20px 0;
    text-align: center;
}

.en-sub {
    display: block;
    font-size: 0.7rem;
    color: #999;
    letter-spacing: 0.3em;
    margin-bottom: 5px;
}

.tile-info h3 {
    font-size: 1.2rem;
    margin: 0;
    font-weight: normal;
    letter-spacing: 0.1em;
}

/* スマホ・タブレット表示の調整 */
@media (max-width: 1024px) {
    .tile-grid {
        grid-template-columns: repeat(2, 1fr); /* タブレットや大きめのスマホでは2列 */
    }
}

@media (max-width: 600px) {
    .tile-grid {
        grid-template-columns: 1fr; /* 小さなスマホでは1列 */
    }
}





.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.2);
}

.wp-block-media-text__content {
    text-align: center !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.wp-block-embed {
    margin-left: auto !important;
    margin-right: auto !important;
}
.wp-block-media-text__content a {
    word-break: break-all;
}

.artist-container {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.85);
    padding: 40px 20px;
    border-radius: 15px;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.artist-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 80px;
    padding-bottom: 60px;
    border-bottom: 1px solid #ddd;
}
.artist-card:last-child { border-bottom: none; }
.artist-image {
    flex: 1 1 400px;
    padding: 10px;
}
.artist-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}
.artist-info {
    flex: 1 1 400px;
    padding: 20px;
    text-align: center;
}
.artist-name {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #111;
}
.artist-bio {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #444;
}
.artist-links {
    font-size: 0.8rem;
    margin-bottom: 20px;
    word-break: break-all;
}
.artist-links a { color: #0066cc; text-decoration: none; }
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 400px;
    margin: 0 auto;
}
.video-wrapper iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border: 0;
}
.main-visual {
    text-align: center;
    margin-bottom: 50px;
}
.main-visual img { max-width: 100%; height: auto; }

.main-content {
    padding: 120px 20px 60px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-container {
    max-width: 800px;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    text-align: center;
}

.contact-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--accent-color);
    letter-spacing: 0.2em;
}

.form-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 1250px; 
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
}

.form-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.hero-section {
    background-image: url('images/DSC08747.JPG');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 20px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

h1.page-title {
    font-size: 3.5rem;
    letter-spacing: 0.2em;
    margin-bottom: 10px;
    font-weight: normal;
}

.sub-lead {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 60px;
    color: #666;
    display: block;
}

.info-section {
    margin-bottom: 80px;
    text-align: left;
}

.section-headline {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    border-bottom: 1px solid #ddd;
    display: inline-block;
    width: 100%;
    padding-bottom: 10px;
}

.rule-item {
    margin-bottom: 40px;
}

.rule-item h4 {
    font-size: 1.2rem;
    color: #222;
    margin-bottom: 10px;
    border-left: 4px solid var(--accent-color);
    padding-left: 15px;
}

.ticket-btn-wrapper {
    margin-top: 60px;
}

/* コンセプトページ用 */
.concept-box {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.7);
    padding: 60px 40px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.concept-title {
    font-size: 40px;
    text-align: center;
    margin-bottom: 50px;
    color: #333;
    letter-spacing: 0.1em;
}
.concept-body {
    text-align: center;
    color: #333;
    line-height: 1.8;
}
.concept-body h3 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.4rem;
}
.concept-body p {
    margin-bottom: 40px;
}
.concept-body p:last-child {
    margin-bottom: 10px;
}
.concept-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-image: url('images/AF63C3F8-D43D-4F38-8841-3E37405E37DB.JPEG');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 20px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.full-screen-center {
    display: flex;
    justify-content: center; /* 水平中央 */
    align-items: center;     /* 垂直中央 */
    min-height: 60vh;        /* 画面の高さの6割程度を確保（お好みで100vhに） */
    text-align: center;
}
/* ギャラリー全体の背景（画像固定を活かす） */
.gallery-main {
    background-image: url('images/AF63C3F8-D43D-4F38-8841-3E37405E37DB.JPEG');
    background-attachment: fixed;
    background-size: cover;
}

/* ==========================================
   ■ ギャラリーセクション（1画面固定）
   ========================================== */
   .gallery-scroll-section {
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 5vw; /* 上下に少し余裕を */
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

/* 12カラム・グリッドシステム */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(12, 1fr);
    width: 100%;
    height: 100%; /* 親の80〜90%程度で表示される */
    max-width: 1300px;
    margin: 0 auto;
    gap: 20px;
}

/* 写真アイテム共通設定（額縁・ポラロイド風） */
.gallery-item {
    position: relative;
    overflow: hidden;
    background: #fff;
    padding: clamp(5px, 1vw, 12px); /* 画面サイズに合わせて余白調整 */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    display: flex;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

/* ホバー時に写真を少し拡大させる演出 */
.gallery-item:hover img {
    transform: scale(1.05);
}

/* ==========================================
   ■ 写真の配置パターン
   ========================================== */

/* メイン（横写真） */
.main-landscape {
    grid-column: 1 / 9;
    grid-row: 3 / 10;
    z-index: 2;
}

/* サブ1（縦写真） */
.sub-portrait-left {
    grid-column: 9 / 13;
    grid-row: 1 / 8;
    z-index: 1;
}

/* サブ2（縦写真） */
.sub-portrait-right {
    grid-column: 7 / 11;
    grid-row: 8 / 13;
    z-index: 3;
}

/* 反転パターン（偶数セクションなどに is-reverse を付与） */
.is-reverse .main-landscape { grid-column: 5 / 13; }
.is-reverse .sub-portrait-left { grid-column: 1 / 5; }
.is-reverse .sub-portrait-right { grid-column: 3 / 7; }

/* ==========================================
   ■ スクロールアニメーション（Reveal）
   ========================================== */
.reveal {
    opacity: 0;
    /* translateYを少し抑え、scaleを足して「奥から出てくる」感を出す */
    transform: translateY(30px) scale(0.98);
    transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), 
                transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* 遅延：3枚がバラバラに浮き上がるようにする（HTMLの並び順） */
.reveal:nth-child(1) { transition-delay: 0.1s; }
.reveal:nth-child(2) { transition-delay: 0.3s; }
.reveal:nth-child(3) { transition-delay: 0.5s; }

/* ==========================================
   ■ スマホ対応（レスポンシブ）
   ========================================== */
@media (max-width: 768px) {
    .gallery-scroll-section {
        height: auto; /* スマホではスクロール固定を解除 */
        padding: 60px 20px;
    }

    .gallery-grid {
        display: flex;
        flex-direction: column;
        gap: 40px;
        height: auto;
    }

    .gallery-item {
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 2; /* デフォルトを横長に */
    }

    /* 縦写真はスマホでも縦長を維持 */
    .sub-portrait-left, .sub-portrait-right {
        aspect-ratio: 2 / 3;
        width: 85%; /* 少し横幅を削るとおしゃれ */
        margin: 0 auto;
    }
    
    .reveal {
        transform: translateY(20px); /* スマホではscale変更なしの方がスムーズ */
    }
}
/* 動画ヘッダーセクション */
.gallery-video-header {
    padding: 120px 5vw 60px; /* ナビに被らないよう上を広めに */
    display: flex;
    justify-content: center;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2カラム並列 */
    gap: 40px;
    width: 100%;
    max-width: 1300px;
}

.video-item {
    background: #fff;
    padding: 15px; /* 写真のgallery-itemと合わせたポラロイド風 */
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.video-inner {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9比率 */
}

.video-inner iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

.video-caption {
    margin-top: 15px;
    text-align: center;
    font-size: 0.9rem;
    font-family: var(--main-font);
    letter-spacing: 0.1em;
    color: #333;
}

/* スマホ表示では縦に並べる */
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* チケット購入画面用 */
.purchase-container {
    max-width: 600px; /* 少しスリムにして入力しやすく */
}

.ticket-selection-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 30px;
    margin-top: 30px;
    text-align: left;
}

.ticket-details h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: #333;
}

.ticket-details .price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-color);
}

.ticket-details .price span {
    font-size: 0.9rem;
    font-weight: normal;
    color: #888;
}

.ticket-notes {
    list-style: none;
    padding: 0;
    font-size: 0.85rem;
    color: #666;
    margin: 20px 0;
}

.purchase-form {
    border-top: 2px dashed #eee;
    padding-top: 25px;
}

.quantity-selector {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.quantity-selector select {
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

.total-display {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
}
/* おわり */

/* ==========================================
   モバイル時ナビ常に透明（JS で body.mobile-view 付与・メディアクエリに依存しない）
   ========================================== */
body.mobile-view .site-root > header,
body.mobile-view .site-root > header nav {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border-bottom: none !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
}

/* 他ページ用：header の背後に表示する背景レイヤー（モバイルでナビ透明時に見える） */
.site-root > .page-background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    background-size: cover;
    background-position: center;
}