.home-main { width: 100%; }
.section-padding { padding: 120px 0; }
.bg-light { background-color: #fcfcfc; }

/* PC版のタイトルを強調 */
.section-title { font-size: 1.1rem; letter-spacing: 0.3em; color: #999; text-align: center; margin-bottom: 60px; font-weight: bold; }

.hero {
    position: relative;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.hero-video-wrap {
    position: relative;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    line-height: 0;
    border-radius: 16px;
    overflow: hidden;
}

.hero-video {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(100vh - var(--header-height) - 32px);
}

.hero-keyvisual {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease;
    z-index: 1;
}

.hero-keyvisual.is-visible { opacity: 1; }

.hero-objects {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease;
    pointer-events: none;
    z-index: 2;
}

.hero-objects.is-visible {
    opacity: 1;
    pointer-events: auto;
}

/* HOME: 動画再生中はヘッダーを半透明に */
.global-header.header-over-video {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-bottom-color: rgba(255, 255, 255, 0.15);
}

/* 動画コントロール */
.video-controls {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 20px;
    padding: 6px 14px 6px 10px;
    opacity: 1;
    transition: opacity 0.6s ease;
}

.video-controls.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.video-skip-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    font-family: inherit;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
    white-space: nowrap;
}

.video-skip-btn:hover { color: #fff; }

.video-fullscreen-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    line-height: 0;
    transition: color 0.2s;
}

.video-fullscreen-btn:hover { color: #fff; }

/* フルスクリーン時: 動画をラッパーいっぱいに表示 */
.hero-video-wrap:fullscreen,
.hero-video-wrap:-webkit-full-screen {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video-wrap:fullscreen .hero-video,
.hero-video-wrap:-webkit-full-screen .hero-video {
    width: 100%;
    height: 100%;
    max-width: 100vw;
    max-height: 100vh;
    object-fit: contain;
}

.video-replay-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    line-height: 0;
    transition: color 0.2s;
}

.video-replay-btn:hover { color: #fff; }

.video-controls-divider {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.25);
}

.video-mute-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    line-height: 0;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.video-mute-btn:hover { opacity: 1; }

.video-volume {
    -webkit-appearance: none;
    appearance: none;
    width: 80px;
    height: 2px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.video-volume::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}

.video-volume::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    border: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .video-controls { top: 12px; right: 12px; padding: 5px 12px 5px 8px; gap: 8px; }
    .video-volume { width: 60px; }
}

.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.4); z-index: 2; }

/* メインビジュアル内の文字視認性向上 */
.hero-content { position: relative; z-index: 3; text-align: center; color: #fff; width: 90%; text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6); }
.hero-subtitle { font-size: 1.1rem; letter-spacing: 0.3em; margin-bottom: 25px; font-weight: 500; }
.hero-title { font-size: 4.8rem; font-weight: 200; letter-spacing: 0.15em; margin: 0 0 15px 0; line-height: 1.2; }

/* 日程テキストのサイズを拡大 */
.hero-date { font-size: 2.1rem; letter-spacing: 0.2em; font-weight: 400; display: inline-block; padding-top: 10px; }

/* hero-objects 表示時にテキストをスタッガーで出す */
.hero-subtitle,
.hero-title,
.hero-date {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}
.hero-objects.is-visible .hero-subtitle { opacity: 0.95; transform: translateY(0); transition-delay: 0.1s; }
.hero-objects.is-visible .hero-title    { opacity: 1;    transform: translateY(0); transition-delay: 0.3s; }
.hero-objects.is-visible .hero-date     { opacity: 1;    transform: translateY(0); transition-delay: 0.5s; }

.scroll-indicator { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 3; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,0.5); text-align: center; }
.scroll-indicator span { font-size: 0.75rem; letter-spacing: 0.3em; margin-bottom: 10px; display: block; font-weight: 500; }
.scroll-line { width: 1px; height: 60px; background: rgba(255, 255, 255, 0.5); margin: 0 auto; position: relative; overflow: hidden; }
.scroll-line::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 50%; background: #fff; animation: scrollLine 2s ease-in-out infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 100% { transform: translateY(200%); } }

/* 文章のフォントサイズを拡大 */
.concept-text { text-align: center; font-size: 1.15rem; line-height: 2.3; color: #444; margin-bottom: 40px; letter-spacing: 0.05em; }

.info-grid { max-width: 750px; margin: 0 auto 40px; }
.info-list { display: flex; flex-wrap: wrap; border-top: 1px solid #eee; }
.info-list dt, .info-list dd { padding: 24px 0; border-bottom: 1px solid #eee; margin: 0; font-size: 1.1rem; }
.info-list dt { width: 30%; color: #999; letter-spacing: 0.1em; font-weight: 500; }
.info-list dd { width: 70%; color: #333; line-height: 1.8; }
.address, .sub-text { font-size: 0.95rem; color: #777; margin-top: 5px; display: block; }

/* 公式サイトボタン */
.official-site-btn {
    display: inline-block;
    margin-top: 18px;
    padding: 12px 35px;
    border: 1px solid #333;
    color: #333;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    transition: all 0.4s;
    font-weight: 500;
}
.official-site-btn:hover { background: #333; color: #fff; }

.map-wrapper { max-width: 100%; margin-top: 25px; }
.map-wrapper iframe { filter: grayscale(0.2); border: 1px solid #eee !important; width: 100%; }

.btn-wrapper { text-align: center; margin-top: 40px; }
.primary-btn { display: inline-block; padding: 22px 70px; border: 1px solid #333; color: #333; text-decoration: none; font-size: 1rem; letter-spacing: 0.2em; transition: all 0.4s ease; font-weight: 500; }
.primary-btn:hover { background-color: #333; color: #fff; }

.fade-up { opacity: 0; transform: translateY(40px); transition: opacity 1s ease, transform 1s cubic-bezier(0.2, 1, 0.3, 1); }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* PAST EVENTS スライドショー */
.gallery-slideshow {
    position: relative;
    width: 50%;
    max-width: 600px;
    margin: 0 auto;
    aspect-ratio: 3 / 2;
    min-height: 200px;
    overflow: hidden;
    background: #f4f4f4;
    border-radius: 10px;
}

.gallery-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.gallery-slide.active { opacity: 1; }

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-loader::after {
    content: '';
    width: 28px;
    height: 28px;
    border: 1px solid #ddd;
    border-top-color: #999;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Instagram セクション */

/* スマホ最適化 */
@media (max-width: 768px) {
    .section-padding { padding: 60px 0; }

    .hero-video-wrap { width: 100%; }
    .hero-video { width: 100%; max-height: none; object-fit: fill; }

    /* ▼▼ タイトルが改行しないようにサイズと字間を調整 ▼▼ */
    .hero-title {
        font-size: 2rem;
        letter-spacing: 0.1em;
        margin-bottom: 10px;
    }
    
    .hero-subtitle { font-size: 0.8rem; }
    .hero-date { font-size: 1rem; padding-top: 5px; }
    .concept-text { font-size: 0.95rem; line-height: 2.1; text-align: left; }
    .info-list dt, .info-list dd { width: 100%; padding: 15px 0; border-bottom: none; font-size: 1rem; }
    .info-list dt { padding-bottom: 5px; }
    .info-list dd { padding-top: 0; border-bottom: 1px solid #eee; }
    .official-site-btn { padding: 10px 24px; font-size: 0.8rem; }
    .map-wrapper { margin-top: 20px; }
    .map-wrapper iframe { height: 300px; }
    .primary-btn { padding: 13px 36px; font-size: 0.85rem; }
}

/* ─── Instagram ─── */
.instagram { text-align: center; }

.instagram-label {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--text-sub);
    margin-bottom: 24px;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    color: var(--text-main);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 4px;
    transition: opacity 0.2s;
}

.instagram-link:hover { opacity: 0.55; }

.instagram-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

/* ─── アンケートモーダル ─── */
.survey-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.survey-modal.is-open { display: flex; }

.survey-modal-inner {
    position: relative;
    background: #fff;
    max-width: 480px;
    width: 100%;
    padding: 52px 48px 48px;
    text-align: center;
}

.survey-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1rem;
    color: var(--text-sub);
    cursor: pointer;
    line-height: 1;
    padding: 4px;
}

.survey-modal-close:hover { color: var(--text-main); }

.survey-modal-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    color: var(--text-sub);
    margin-bottom: 20px;
}

.survey-modal-title {
    font-size: 1.15rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 1.7;
    color: var(--text-main);
    margin-bottom: 20px;
}

.survey-modal-body {
    font-size: 0.82rem;
    color: var(--text-sub);
    line-height: 1.9;
    letter-spacing: 0.05em;
    margin-bottom: 36px;
}

.survey-modal-btn {
    display: inline-block;
    background: var(--text-main);
    color: #fff;
    padding: 16px 48px;
    font-size: 0.85rem;
    font-family: inherit;
    letter-spacing: 0.2em;
    text-decoration: none;
    transition: opacity 0.2s;
}

.survey-modal-btn:hover { opacity: 0.75; }

@media (max-width: 768px) {
    .survey-modal-inner { padding: 48px 28px 36px; }
    .survey-modal-btn { width: 100%; text-align: center; box-sizing: border-box; }
    .gallery-slideshow { width: 100%; max-width: 100%; }
}