@charset "UTF-8";

/* =========================================
   CHICHIBU YO-MATSURI PHOTO & VISIBILITY ENHANCED
========================================= */
:root {
    --bg-dark: #0a0e17;               /* 漆黒の夜空 */
    --bg-card: #131a28;               /* ダークカード背景 */
    --bg-card-inner: #1c2536;         /* インナーブロック */
    --color-text-light: #f8fafc;      /* メイン白文字 */
    --color-text-sub: #cbd5e1;        /* サブテキスト */
    --color-gold: #f59e0b;            /* 提灯の黄金色 */
    --color-gold-bright: #fde047;     /* 金の煌めき */
    --color-crimson: #dc2626;         /* 祭の朱赤 */
    --color-crimson-bright: #ef4444;   /* 花火の赤 */
    --border-color: #2d3748;          /* 境界線 */
    --grad-gold: linear-gradient(135deg, #fde047 0%, #f59e0b 50%, #d97706 100%);
    --grad-crimson: linear-gradient(135deg, #f87171 0%, #dc2626 100%);
    --shadow-gold: 0 0 20px rgba(245, 158, 11, 0.3);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body.chichibu-matsuri-theme {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.85;
    color: var(--color-text-light);
    background-color: var(--bg-dark);
    overflow-x: hidden;
    padding-bottom: 90px;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 15px; width: 100%; }

/* スクロールアニメーション */
.js-scroll-target {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.js-scroll-target.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ヘッダー */
.global-header {
    background: rgba(10, 14, 23, 0.95);
    border-bottom: 2px solid var(--color-gold);
    padding: 12px 0;
    position: sticky; top: 0; z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.6);
}
.header-inner {
    max-width: 1080px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 15px;
}
.header-logo img { height: 35px; width: auto; display: block; filter: brightness(1.2); }
.header-nav { display: flex; gap: 24px; list-style: none; }
.header-nav a {
    color: var(--color-text-light); text-decoration: none; font-weight: 700; font-size: 14px;
    display: flex; align-items: center; gap: 6px; transition: color 0.3s;
}
.header-nav a:hover { color: var(--color-gold); }

.hamburger-btn { display: none; background: none; border: none; font-size: 1.5rem; color: var(--color-gold); cursor: pointer; }
.menu-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.8); z-index: 9998; opacity: 0; visibility: hidden; transition: 0.3s; }
.menu-overlay.open { opacity: 1; visibility: visible; }
.drawer-menu { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: var(--bg-card); z-index: 9999; transition: right 0.3s; }
.drawer-menu.open { right: 0; }
.drawer-header { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; border-bottom: 1px solid var(--border-color); }
.close-btn { background: none; border: none; font-size: 1.5rem; color: var(--color-gold); cursor: pointer; }
.drawer-content { list-style: none; }
.drawer-content a { display: block; padding: 15px 20px; color: var(--color-text-light); text-decoration: none; border-bottom: 1px solid var(--border-color); font-weight: bold; }

/* ヒーローエリア (画像なし・和モダンテキストモード) */
.hero-matsuri.text-hero-mode {
    position: relative;
    padding: 60px 0 50px;
    text-align: center;
    color: #ffffff;
    background: radial-gradient(circle at 50% 30%, #1a2338 0%, #0a0e17 75%);
    border-bottom: 1px solid var(--border-color);
}

.hero-container {
    position: relative;
    z-index: 2;
}

.matsuri-badge-group {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.matsuri-tag {
    font-size: 0.88rem;
    font-weight: 800;
    padding: 6px 20px;
    border-radius: 4px;
    letter-spacing: 1px;
}

.tag-gold { background: var(--grad-gold); color: #0a0e17; font-weight: 900; box-shadow: var(--shadow-gold); }
.tag-crimson { background: var(--color-crimson); color: #ffffff; }
.tag-navy { background: #0f172a; color: var(--color-gold-bright); border: 1px solid var(--color-gold); }

.hero-title-wrap .sub-catch {
    font-family: 'Shippori Mincho', serif;
    color: var(--color-gold-bright);
    font-size: clamp(1.05rem, 2.8vw, 1.35rem);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.main-title {
    font-family: 'Shippori Mincho', serif;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 22px;
    color: #ffffff;
}

.main-title .title-primary {
    display: block;
    font-size: clamp(2.4rem, 6vw, 4rem);
    letter-spacing: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #fde047 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-title .title-sub {
    display: block;
    font-size: clamp(1.15rem, 3vw, 1.7rem);
    font-weight: 700;
    margin-top: 10px;
    letter-spacing: 2px;
    color: #e2e8f0;
    -webkit-text-fill-color: initial;
}

.sub-banner {
    display: inline-block;
    background: rgba(19, 26, 40, 0.9);
    border: 1.5px solid var(--color-gold);
    padding: 10px 28px;
    font-size: clamp(0.9rem, 2.2vw, 1.1rem);
    border-radius: 4px;
    color: var(--color-gold-bright);
    font-family: 'Shippori Mincho', serif;
}

.aio-summary-box {
    max-width: 860px;
    margin: 30px auto 0;
    background: var(--bg-card);
    border: 1px solid rgba(245, 158, 11, 0.4);
    padding: 24px 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-card);
}

.hero-lead {
    font-size: 0.98rem;
    line-height: 1.9;
    color: #e2e8f0;
    text-align: left;
}

.hero-lead strong {
    color: var(--color-gold-bright);
    font-weight: 800;
}

/* ツアー概要 (2カラム分割カード) */
.summary-section { padding: 40px 15px 50px; }

.overview-grid-wrap {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 25px;
    align-items: stretch;
}

.overview-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--color-gold);
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.info-card-header { margin-bottom: 22px; }
.chochin-badge { font-family: 'Shippori Mincho', serif; color: var(--color-gold-bright); font-size: 0.85rem; font-weight: 700; letter-spacing: 1px; }
.info-tour-title { font-family: 'Shippori Mincho', serif; font-size: 1.35rem; font-weight: 700; color: #ffffff; margin: 8px 0; line-height: 1.5; }
.info-tour-code { font-size: 0.8rem; color: #64748b; font-family: monospace; }

.info-spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 22px;
}

.spec-tile {
    background: var(--bg-card-inner);
    border: 1px solid var(--border-color);
    padding: 14px 16px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tile-icon {
    font-size: 1.2rem;
    color: var(--color-gold-bright);
    width: 32px; height: 32px;
    background: rgba(245, 158, 11, 0.15);
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    flex-shrink: 0;
}

.tile-text { display: flex; flex-direction: column; }
.tile-label { font-size: 0.72rem; color: #94a3b8; font-weight: 700; }
.tile-val { font-size: 0.88rem; color: #f8fafc; font-weight: 700; }

.info-pills-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.info-pill {
    background: rgba(245, 158, 11, 0.12);
    color: var(--color-gold-bright);
    font-size: 0.78rem; font-weight: 700;
    padding: 6px 14px; border-radius: 4px;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.overview-price-card {
    background: linear-gradient(180deg, #131a28 0%, #0f172a 100%);
    border: 2px solid var(--color-gold);
    border-radius: 8px;
    padding: 30px 24px;
    box-shadow: 0 10px 35px rgba(245, 158, 11, 0.15);
    display: flex; flex-direction: column;
    justify-content: center; text-align: center;
}

.price-card-inner { display: flex; flex-direction: column; align-items: center; }
.price-header-tag { background: var(--color-crimson); color: #ffffff; font-size: 0.75rem; font-weight: 800; padding: 3px 12px; border-radius: 20px; margin-bottom: 12px; }
.price-label { font-size: 0.85rem; color: var(--color-text-sub); font-weight: 700; }
.price-main-display { margin: 10px 0 18px; color: var(--color-crimson-bright); font-family: 'Shippori Mincho', serif; }
.price-amount { font-size: 2rem; font-weight: 800; }
.price-wave { font-size: 1.2rem; margin: 0 2px; color: #cbd5e1; }
.price-tax { font-size: 0.85rem; color: var(--color-text-light); font-family: 'Noto Sans JP', sans-serif; font-weight: 500; }

.price-features-list {
    list-style: none; text-align: left; font-size: 0.82rem; color: #cbd5e1;
    margin-bottom: 22px; width: 100%; background: rgba(0, 0, 0, 0.2);
    padding: 12px 16px; border-radius: 6px;
}
.price-features-list li { margin-bottom: 6px; }
.price-features-list li:last-child { margin-bottom: 0; }
.price-features-list i { color: var(--color-gold-bright); margin-right: 6px; }

.btn-matsuri-action {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    background: var(--grad-gold); color: #0a0e17; text-decoration: none;
    font-weight: 900; padding: 16px 24px; border-radius: 4px; width: 100%;
    box-shadow: var(--shadow-gold); transition: all 0.3s ease;
    font-size: 1.05rem;
}
.btn-matsuri-action:hover { transform: translateY(-2px); box-shadow: 0 0 25px rgba(245, 158, 11, 0.6); }
.price-notice { font-size: 0.72rem; color: #64748b; margin-top: 12px; }

/* 🏮 秩父夜祭 特殊セクション */
.matsuri-special-section {
    background: linear-gradient(180deg, #0d131f 0%, #131a28 100%);
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin: 30px 0 50px;
}

.matsuri-lead-p {
    text-align: center; font-size: 0.95rem; color: var(--color-text-sub);
    margin-top: 15px; line-height: 1.8;
}

.matsuri-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 30px;
    margin-bottom: 35px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    aspect-ratio: 4 / 3;
}

.gallery-item.large-item {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}

.gallery-item img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* 🎬 夜祭セクション内 動画ブロック */
.matsuri-video-block {
    margin-bottom: 40px;
    background: var(--bg-card);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    padding: 20px;
    box-shadow: var(--shadow-card);
}

.matsuri-video-header h3 {
    font-family: 'Shippori Mincho', serif;
    font-size: 1.15rem;
    color: var(--color-gold-bright);
    margin-bottom: 15px;
    display: flex; align-items: center; gap: 8px;
}

.video-container {
    position: relative; width: 100%;
    padding-top: 56.25%; border-radius: 6px; overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.8); border: 1px solid var(--border-color);
}
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* 3大ポイントカード */
.matsuri-points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.matsuri-point-card {
    background: var(--bg-card);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--color-crimson);
    padding: 25px;
    box-shadow: var(--shadow-card);
}

.point-header { margin-bottom: 12px; }
.point-badge { display: inline-block; background: var(--color-crimson); color: #ffffff; font-size: 0.75rem; font-weight: 800; padding: 2px 10px; border-radius: 2px; margin-bottom: 8px; }
.point-header h3 { font-family: 'Shippori Mincho', serif; font-size: 1.15rem; font-weight: 700; color: #ffffff; }
.point-body p { font-size: 0.88rem; color: var(--color-text-sub); line-height: 1.75; }
.point-body strong { color: var(--color-gold-bright); }

/* 共通タイトル */
.matsuri-title-wrap { text-align: center; margin-bottom: 40px; }
.matsuri-title-wrap .en-sub { display: block; font-size: 0.8rem; color: var(--color-gold); font-weight: 700; letter-spacing: 3px; }
.matsuri-title-wrap .jp-main { font-family: 'Shippori Mincho', serif; font-size: clamp(1.4rem, 3.5vw, 1.8rem); font-weight: 700; color: #fff; margin-top: 2px; }
.title-divider { width: 50px; height: 2px; background: var(--grad-gold); margin: 12px auto 0; }

/* ハイライト（3列） */
.highlights-section { padding-bottom: 50px; }
.highlights-grid.highlights-three {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.highlight-card {
    background: var(--bg-card); border-radius: 8px; overflow: hidden;
    border: 1px solid var(--border-color); box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.highlight-card:hover { transform: translateY(-4px); border-color: var(--color-gold); }

.card-img-wrap { position: relative; height: 190px; width: 100%; }
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.card-num {
    position: absolute; top: 10px; left: 10px; background: rgba(15, 23, 42, 0.9); color: var(--color-gold-bright);
    font-family: 'Shippori Mincho', serif; font-size: 1.1rem; font-weight: 700; width: 34px; height: 34px;
    display: flex; justify-content: center; align-items: center; border-radius: 50%; border: 1px solid var(--color-gold);
}

.card-body { padding: 22px; }
.card-body h3 { font-family: 'Shippori Mincho', serif; font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.card-body p { font-size: 0.85rem; color: var(--color-text-sub); line-height: 1.7; }

/* スケジュール */
.schedule-section { padding-bottom: 50px; }
.schedule-container { background: var(--bg-card); padding: 32px; border-radius: 8px; border: 1px solid var(--border-color); box-shadow: var(--shadow-card); }

.day-block { margin-bottom: 35px; }
.day-block:last-child { margin-bottom: 0; }
.day-badge { display: inline-block; color: #fff; font-family: 'Shippori Mincho', serif; font-weight: 700; padding: 4px 18px; border-radius: 4px; margin-bottom: 20px; font-size: 0.9rem; }
.day-badge.badge-crimson { background: var(--color-crimson); }
.day-badge.badge-navy { background: var(--color-gold); color: #0a0e17; }

.timeline { border-left: 2px solid var(--color-gold); margin-left: 15px; padding-left: 22px; }
.timeline-item { position: relative; margin-bottom: 25px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item::before { content: ''; position: absolute; left: -28px; top: 8px; width: 10px; height: 10px; background: var(--color-gold); border-radius: 50%; box-shadow: 0 0 8px var(--color-gold); }

.time-tag { font-weight: 700; color: var(--color-gold-bright); font-size: 0.9rem; display: flex; align-items: center; gap: 6px; }
.timeline-body h4 { font-family: 'Shippori Mincho', serif; font-size: 1rem; font-weight: 700; color: #fff; margin: 2px 0; }
.timeline-body p { font-size: 0.85rem; color: var(--color-text-sub); }

.timeline-item.highlight { background: var(--bg-card-inner); padding: 14px 18px; border-radius: 6px; border-left: 3px solid var(--color-crimson-bright); }

/* 注意事項 & FAQ */
.notes-section, .faq-section { padding-bottom: 50px; }
.notes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }

.note-card { padding: 25px; border-radius: 8px; background: var(--bg-card); border: 1px solid var(--border-color); box-shadow: var(--shadow-card); }
.note-card.danger-card { border-top: 4px solid var(--color-crimson-bright); }
.note-card.info-card { border-top: 4px solid var(--color-gold); }

.note-card h3 { font-family: 'Shippori Mincho', serif; font-size: 1rem; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.note-card.danger-card h3 { color: var(--color-crimson-bright); }
.note-card.info-card h3 { color: var(--color-gold-bright); }
.note-card ul { padding-left: 18px; font-size: 0.85rem; color: var(--color-text-sub); line-height: 1.7; }

.faq-accordion details { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 6px; margin-bottom: 12px; }
.faq-summary { padding: 18px 22px; font-family: 'Shippori Mincho', serif; font-weight: 700; color: #fff; cursor: pointer; font-size: 0.95rem; }
.faq-answer { padding: 15px 22px; font-size: 0.85rem; color: var(--color-text-sub); border-top: 1px solid var(--border-color); line-height: 1.7; }

/* 🔍 画像タップモーダル (Lightbox) スタイル */
.image-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 14, 23, 0.92);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(8px);
}

.image-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.image-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-modal-content img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 6px;
    border: 2px solid var(--color-gold);
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    object-fit: contain;
}

.image-modal-caption {
    color: var(--color-gold-bright);
    font-family: 'Shippori Mincho', serif;
    font-size: 0.95rem;
    margin-top: 12px;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.image-modal-close {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 40px;
    height: 40px;
    background: var(--grad-gold);
    color: #0a0e17;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transition: transform 0.2s;
}

.image-modal-close:hover {
    transform: scale(1.1);
}

/* フッター & 固定バー */
.global-footer { background: #06090f; padding: 40px 15px 22px; text-align: center; color: #64748b; font-size: 12px; border-top: 1px solid var(--border-color); }
.footer-links { display: flex; justify-content: center; gap: 20px; list-style: none; margin-bottom: 15px; }
.footer-links a { color: #94a3b8; text-decoration: none; }

.fixed-bottom-bar {
    position: fixed; bottom: 0; left: 0; width: 100%;
    background: rgba(15, 23, 42, 0.95); border-top: 2px solid var(--color-gold);
    padding: 10px 15px; display: flex; justify-content: space-between; align-items: center;
    z-index: 9999; backdrop-filter: blur(10px); box-shadow: 0 -4px 20px rgba(0,0,0,0.6);
}
.fixed-price { color: var(--color-crimson-bright); font-family: 'Shippori Mincho', serif; font-size: 1.3rem; font-weight: 800; }
.fixed-price .tax { font-size: 0.75rem; color: var(--color-text-sub); font-family: 'Noto Sans JP', sans-serif; }
.fixed-sub { font-size: 0.7rem; color: var(--color-text-sub); display: block; }

.btn-matsuri-sm {
    background: var(--grad-gold); color: #0a0e17; text-decoration: none;
    font-weight: 900; padding: 10px 24px; border-radius: 4px; font-size: 0.85rem;
    box-shadow: var(--shadow-gold);
}

/* レスポンシブ */
@media (max-width: 900px) {
    .overview-grid-wrap {
        grid-template-columns: 1fr;
    }
    .overview-price-card {
        order: -1;
    }
    .info-spec-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-nav { display: none; }
    .hamburger-btn { display: block; }
    .matsuri-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item.large-item { grid-column: span 2; }
}