@charset "UTF-8";

/* =========================================
   フェススタイル（完全最適化レスポンシブ版）
========================================= */
:root {
    --bg-main: #f4f6fa;
    --bg-white: #ffffff;
    --fest-purple: #6c5ce7;
    --fest-pink: #ff007f;
    --fest-orange: #ff7675;
    --fest-blue: #0984e3;
    --text-dark: #2d3436;
    --text-sub: #636e72;
    --btn-grad: linear-gradient(135deg, #ff007f 0%, #6c5ce7 100%);
}

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

html { 
    scroll-behavior: smooth; 
}

body.fest-bright-theme {
    font-size: 16px;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-main);
    overflow-x: hidden;
    padding-bottom: 90px;
}

.container { 
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 0 15px; 
    width: 100%; 
}

/* =========================================
   キーフレームアニメーション
========================================= */
@keyframes pulseGlow {
    0% { transform: scale(1); box-shadow: 0 4px 15px rgba(255, 0, 127, 0.3); }
    50% { transform: scale(1.03); box-shadow: 0 8px 25px rgba(255, 0, 127, 0.5); }
    100% { transform: scale(1); box-shadow: 0 4px 15px rgba(255, 0, 127, 0.3); }
}

@keyframes pulseConfirmed {
    0% { transform: scale(1); box-shadow: 0 0 10px rgba(0, 184, 148, 0.5); }
    50% { transform: scale(1.04); box-shadow: 0 0 18px rgba(0, 184, 148, 0.8); }
    100% { transform: scale(1); box-shadow: 0 0 10px rgba(0, 184, 148, 0.5); }
}

@keyframes shineText {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* スクロール浮き上がり用ターゲット */
.js-float-target {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.js-float-target.is-floated {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   文字改行コントロール
========================================= */
.keep-phrase {
    display: inline-block;
}

.pc-only {
    display: block;
}

/* =========================================
   ヘッダー
========================================= */
.global-header { 
    background: #ffffff; 
    border-bottom: 3px solid var(--fest-pink); 
    padding: 12px 0; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.06); 
}

.header-inner { 
    max-width: 1100px; 
    margin: 0 auto; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 0 15px; 
}

.header-logo img { 
    height: 35px; 
    width: auto; 
    display: block; 
}

.hamburger-btn { 
    display: none; 
    background: none; 
    border: none; 
    color: var(--fest-purple); 
    font-size: 1.5rem; 
    cursor: pointer; 
}

.header-nav { 
    display: flex; 
    gap: 20px; 
    list-style: none; 
    margin: 0; 
    padding: 0; 
}

.header-nav a { 
    color: var(--text-dark); 
    text-decoration: none; 
    font-weight: bold; 
    font-size: 14px; 
    transition: color 0.3s; 
}

.header-nav a:hover { 
    color: var(--fest-pink); 
}

.menu-overlay { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100vh; 
    background: rgba(0,0,0,0.5); 
    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: #ffffff; 
    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 #eee; 
}

.close-btn { 
    background: none; 
    border: none; 

    color: #666; 
    font-size: 1.5rem; 
    cursor: pointer; 
}

.drawer-content { 
    list-style: none; 
    padding: 0; 
}

.drawer-content a { 
    display: block; 
    padding: 15px 20px; 
    color: var(--text-dark); 
    text-decoration: none; 
    border-bottom: 1px solid #f0f0f0; 
    font-weight: bold; 
}

/* =========================================
   ヒーローエリア
========================================= */
.hero-fest {
    position: relative;
    background: url('https://www.orion-tour.co.jp/bustour/nishiawa/img/nishiawa1200x900-001.jpg') center/cover no-repeat;
    padding: 80px 0 60px;
    text-align: center;
}

.hero-overlay { 
    position: absolute; 
    inset: 0; 
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.65) 0%, rgba(15, 23, 42, 0.85) 100%); 
}

.hero-container { 
    position: relative; 
    z-index: 2; 
}

.fest-badge-group { 
    display: flex; 
    justify-content: center; 
    align-items: center;
    gap: 10px; 
    margin-bottom: 20px; 
    flex-wrap: wrap; 
}

.fest-tag { 
    font-family: 'Montserrat', sans-serif; 
    font-weight: 900; 
    font-size: 0.85rem; 
    padding: 6px 16px; 
    border-radius: 30px; 
    letter-spacing: 1px; 
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.glow-confirmed {
    background: #00b894;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(0, 184, 148, 0.6);
    animation: pulseConfirmed 2s infinite;
}

.glow-cyan { 
    background: #00cec9; 
    color: #ffffff; 
}

.glow-pink { 
    background: var(--fest-pink); 
    color: #ffffff; 
}

.fest-main-title { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 8px; 
    margin-bottom: 20px; 
}

.fest-main-title .sub-text { 
    font-size: 1.1rem; 
    color: #ffeaa7; 
    font-weight: bold; 
    letter-spacing: 2px; 
}

.glow-text {
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.2;
    background: linear-gradient(90deg, #ffffff 0%, #ff7675 25%, #ff007f 50%, #00cec9 75%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shineText 4s linear infinite;
    text-shadow: 0 0 20px rgba(255, 0, 127, 0.3);
}

.fest-sub-banner { 
    background: var(--fest-purple); 
    color: #fff; 
    font-size: 0.95rem; 
    font-weight: bold; 
    padding: 5px 20px; 
    border-radius: 4px; 
    display: inline-block; 
}

.hero-lead { 
    font-size: clamp(0.9rem, 2.5vw, 1.15rem); 
    color: #f1f2f6; 
    font-weight: 500; 
}

/* =========================================
   チケット風カード ＆ ボタン
========================================= */
.feature-section { 
    padding: 40px 15px; 
}

.fest-ticket-card {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    margin-bottom: 50px;
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.12);
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.fest-ticket-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(108, 92, 231, 0.2);
}

.fest-ticket-card::before { 
    content: ''; 
    position: absolute; 
    left: 0; 
    top: 0; 
    bottom: 0; 
    width: 6px; 
    background: var(--btn-grad); 
}

.ticket-left { 
    flex: 1 1 60%; 
    padding: 30px; 
    min-width: 0;
}

.ticket-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.fest-code { 
    font-family: 'Montserrat', sans-serif; 
    font-size: 0.8rem; 
    color: var(--fest-purple); 
    letter-spacing: 1px; 
    font-weight: 800; 
}

.status-badge-confirmed {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #e6f9f0;
    color: #00b894;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid #b2f2d5;
}

.ticket-title { 
    font-size: 1.25rem; 
    margin: 0 0 15px; 
    color: var(--text-dark); 
    line-height: 1.4; 
    font-weight: bold; 
}

.ticket-tags { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 8px; 
}

.ticket-tags span { 
    background: #f1f2f6; 
    color: var(--text-sub); 
    font-size: 0.8rem; 
    padding: 6px 12px; 
    border-radius: 6px; 
    font-weight: bold; 
}

.ticket-right { 
    flex: 0 0 320px; 
    background: #f8fafc; 
    padding: 30px; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    border-left: 2px dashed #e2e8f0; 
}

.ticket-price-label { 
    font-family: 'Montserrat', sans-serif; 
    font-size: 0.75rem; 
    color: var(--text-sub); 
    letter-spacing: 1px; 
}

.ticket-price { 
    font-size: 2.2rem; 
    font-weight: 900; 
    color: var(--fest-pink); 
    margin-bottom: 15px; 
}

.ticket-price small { 
    font-size: 0.9rem; 
    color: var(--text-dark); 
    font-weight: normal; 
}

.fest-btn-neon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--btn-grad);
    color: #fff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    padding: 14px 28px;
    border-radius: 30px;
    animation: pulseGlow 2.5s infinite;
    transition: transform 0.3s;
    white-space: nowrap;
}

.fest-btn-neon:hover { 
    transform: scale(1.05); 
}

/* =========================================
   フェスグリッド ＆ カード
========================================= */
.fest-section-title { 
    text-align: center; 
    margin-bottom: 35px; 
}

.fest-section-title .en-title { 
    display: block; 
    font-family: 'Montserrat', sans-serif; 
    font-weight: 900; 
    font-size: 0.85rem; 
    color: var(--fest-purple); 
    letter-spacing: 2px; 
}

.fest-section-title .jp-title { 
    font-size: clamp(1.3rem, 3.5vw, 1.8rem); 
    color: var(--text-dark); 
    font-weight: 900; 
}

.fest-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); 
    gap: 20px; 
    margin-bottom: 50px; 
}

.fest-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: transform 0.3s, box-shadow 0.3s;
}

.fest-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(108, 92, 231, 0.15);
}

.glow-border-purple { border-top: 4px solid var(--fest-purple); }
.glow-border-pink { border-top: 4px solid var(--fest-pink); }
.glow-border-orange { border-top: 4px solid var(--fest-orange); }
.glow-border-blue { border-top: 4px solid var(--fest-blue); }

.card-num { 
    position: absolute; 
    right: 15px; 
    top: 10px; 
    font-family: 'Montserrat', sans-serif; 
    font-size: 2.2rem; 
    font-weight: 900; 
    opacity: 0.08; 
    color: #000; 
}

.card-icon { 
    font-size: 2rem; 
    color: var(--fest-purple); 
    margin-bottom: 15px; 
}

.fest-card h3 { 
    font-size: 1.05rem; 
    color: var(--text-dark); 
    margin-bottom: 10px; 
    font-weight: bold; 
}

.fest-card p { 
    font-size: 0.85rem; 
    color: var(--text-sub); 
    line-height: 1.6; 
}

/* =========================================
   ギャラリー ＆ スライダー
========================================= */
.visual-area { 
    margin-bottom: 50px; 
}

.fest-sub-title { 
    font-family: 'Montserrat', sans-serif; 
    font-size: 1rem; 
    color: var(--fest-purple); 
    margin-bottom: 15px; 
    font-weight: bold; 
}

.horizontal-slider { 
    display: flex; 
    overflow-x: auto; 
    overflow-y: hidden; 
    gap: 15px; 
    padding-bottom: 15px; 
    scroll-snap-type: x mandatory; 
    -webkit-overflow-scrolling: touch;
}

.visual-box { 
    flex: 0 0 280px; 
    height: 190px; 
    border-radius: 10px; 
    border: 1px solid #e2e8f0; 
    overflow: hidden; 
    scroll-snap-align: center; 
    position: relative;
    background-color: #000;
}

.clickable-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; 
    cursor: zoom-in;
    transition: transform 0.3s, filter 0.3s;
}

.clickable-img:hover {
    transform: scale(1.08);
    filter: brightness(1.08);
}

/* 拡大モーダル */
.img-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    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;
}

.img-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.img-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.img-modal-overlay.is-open .img-modal-content {
    transform: scale(1);
}

.img-modal-content img {
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    display: block;
    border: 2px solid var(--fest-pink);
}

.img-modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: var(--fest-pink);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 0, 127, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* =========================================
   タイムテーブル ＆ スケジュール
========================================= */
.plan-block { 
    padding: 0 15px 50px; 
}

.timetable-box { 
    background: #ffffff; 
    border-radius: 16px; 
    padding: 30px; 
    border: 1px solid #e2e8f0; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.03); 
}

.tt-day { 
    margin-bottom: 30px; 
}

.tt-day:last-child { 
    margin-bottom: 0; 
}

.tt-badge { 
    display: inline-block; 
    background: var(--fest-purple); 
    color: #fff; 
    font-family: 'Montserrat', sans-serif; 
    font-weight: 900; 
    padding: 4px 14px; 
    border-radius: 20px; 
    font-size: 0.85rem; 
    margin-bottom: 20px; 
}

.tt-timeline { 
    border-left: 2px solid #e2e8f0; 
    margin-left: 10px; 
    padding-left: 20px; 
}

.tt-item { 
    position: relative; 
    margin-bottom: 25px; 
}

.tt-item::before { 
    content: ''; 
    position: absolute; 
    left: -26px; 
    top: 6px; 
    width: 10px; 
    height: 10px; 
    background: var(--fest-pink); 
    border-radius: 50%; 
}

.tt-time { 
    font-family: 'Montserrat', sans-serif; 
    font-weight: 800; 
    color: var(--fest-pink); 
    font-size: 0.9rem; 
    display: block; 
}

.tt-text h4 { 
    font-size: 0.95rem; 
    color: var(--text-dark); 
    margin: 4px 0; 
    font-weight: bold; 
}

.tt-text p { 
    font-size: 0.85rem; 
    color: var(--text-sub); 
}

.fest-live-box { 
    background: #fff5f8; 
    border: 1px solid #ffccd5; 
    padding: 15px; 
    border-radius: 8px; 
    margin-top: 10px; 
}

.fest-live-box h5 { 
    color: var(--fest-pink); 
    font-size: 0.9rem; 
    margin-bottom: 5px; 
    font-weight: bold; 
}

/* =========================================
   集合場所マップ（カード枠デザイン強化）
========================================= */
.map-section {
    padding: 0 15px 50px;
}

.map-card-container {
    background: #ffffff;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.08);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.map-card-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(108, 92, 231, 0.12);
}

.map-card-header {
    padding: 24px 28px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid #e2e8f0;
}

.map-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--fest-purple);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.map-card-header h3 {
    font-size: 1.15rem;
    color: var(--text-dark);
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 6px;
}

.map-card-header p {
    font-size: 0.85rem;
    color: var(--fest-pink);
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 6px;
}

.map-wrapper {
    position: relative;
    width: 100%;
    height: 420px;
    background-color: #f1f2f6;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* =========================================
   注意事項 ＆ FAQ ＆ フッター
========================================= */
.faq-section { 
    padding: 0 15px 50px; 
}

.fest-info-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); 
    gap: 20px; 
    margin-bottom: 30px; 
}

.fest-info-card { 
    background: #ffffff; 
    padding: 20px; 
    border-radius: 10px; 
    border: 1px solid #e2e8f0; 
}

.fest-info-card h4 { 
    color: var(--fest-purple); 
    font-size: 0.95rem; 
    margin-bottom: 10px; 
    font-weight: bold; 
}

.fest-info-card p { 
    font-size: 0.85rem; 
    color: var(--text-sub); 
    line-height: 1.6; 
}

.fest-faq details { 
    background: #ffffff; 
    border: 1px solid #e2e8f0; 
    border-radius: 8px; 
    margin-bottom: 10px; 
}

.fest-faq summary { 
    padding: 15px 20px; 
    font-weight: bold; 
    color: var(--text-dark); 
    cursor: pointer; 
    font-size: 0.9rem; 
}

.notice-content { 
    padding: 20px; 
    font-size: 0.85rem; 
    color: var(--text-sub); 
    border-top: 1px solid #e2e8f0; 
    line-height: 1.6; 
}

.global-footer { 
    background: #1e293b; 
    padding: 40px 15px 20px; 
    text-align: center; 
    color: #94a3b8; 
    font-size: 12px; 
}

.footer-links { 
    display: flex; 
    justify-content: center; 
    gap: 15px; 
    list-style: none; 
    margin-bottom: 15px; 
    padding: 0; 
}

.footer-links a { 
    color: #cbd5e1; 
    text-decoration: none; 
}

/* =========================================
   スマホ固定コンバージョンバー
========================================= */
.fixed-bottom-bar.fest-fixed {
    position: fixed; 
    bottom: 0; 
    left: 0; 
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid #e2e8f0;
    padding: 10px 15px;
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    z-index: 9999; 
    backdrop-filter: blur(8px);
    box-shadow: 0 -4px 15px rgba(0,0,0,0.08);
}

.fixed-price-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}

.fixed-price { 
    color: var(--fest-pink); 
    font-size: 1.15rem; 
    font-weight: 900; 
    line-height: 1;
}

.fixed-price small { 
    font-size: 0.7rem; 
    color: var(--text-dark); 
    font-weight: normal; 
}

.fixed-badge-confirmed {
    background: #00b894;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
}

.fixed-sub { 
    font-size: 0.7rem; 
    color: var(--text-sub); 
    display: block; 
    margin-top: 2px;
}

.fest-btn-neon-sm { 
    background: var(--btn-grad); 
    color: #fff; 
    text-decoration: none; 
    font-family: 'Montserrat', sans-serif; 
    font-weight: 900; 
    padding: 10px 20px; 
    border-radius: 20px; 
    font-size: 0.85rem; 
    white-space: nowrap;
}

/* =========================================
   レスポンシブ最適化
========================================= */
@media (max-width: 768px) {
    .header-nav { display: none; }
    .hamburger-btn { display: block; }
    
    .fest-ticket-card { 
        flex-direction: column; 
    }
    
    .ticket-left { 
        padding: 20px; 
        width: 100%; 
    }
    
    .ticket-right { 
        flex: 1 1 auto;
        width: 100%; 
        border-left: none; 
        border-top: 2px dashed #e2e8f0; 
        padding: 20px; 
    }
    
    .fest-btn-neon { 
        width: 100%; 
        justify-content: center; 
    }
    
    .timetable-box { 
        padding: 20px 15px; 
    }

    .map-card-header {
        padding: 18px 20px;
    }

    .map-wrapper {
        height: 300px;
    }

    .pc-only {
        display: none;
    }
    
    .hero-lead {
        padding: 0 10px;
        line-height: 1.8;
        word-break: keep-all;
        overflow-wrap: break-word;
    }
}