/* =========================================
   ART DIRECTION: Echizen Cinematic (Final Complete)
   ========================================= */

/* 1. Base Setup & Reset */
*, *::before, *::after { box-sizing: border-box; }

:root {
    --c-midnight: #0a1118;
    --c-ocean: #152538;
    --c-sand: #f4f1ea;
    --c-copper: #c49a6c;
    --c-ink: #2b2b2b;
    --c-white: #ffffff;
    --c-warm-bg-start: #f4f1ea;
    --c-warm-bg-end: #e8e2d2;
    --f-jp: 'Zen Old Mincho', 'Shippori Mincho', serif;
    --f-en: 'Cinzel', serif;
    --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
    --ease-in-out: cubic-bezier(0.645, 0.045, 0.355, 1);

    /* --- Spacing Scale (8基準・clampで可変) --- */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 32px;
    --space-lg: clamp(48px, 8vw, 80px);
    --space-block: clamp(64px, 11vw, 120px);   /* ブロック間 */
    --space-section: clamp(80px, 13vw, 150px);  /* セクション上下 */
    --space-divider: clamp(56px, 9vw, 100px);
    --header-h: 90px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    margin: 0; padding: 0;
    font-family: var(--f-jp); color: var(--c-ink); background-color: var(--c-midnight);
    transition: background-color 1s var(--ease-in-out), color 1s;
    overflow-x: hidden; line-height: 2; -webkit-font-smoothing: antialiased; width: 100%;
}

body.menu-open { overflow: hidden; height: 100vh; }

/* Theme Switching Logic */
body[data-theme="dark"] { background-color: var(--c-ocean); color: var(--c-white); }
body[data-theme="light"] { background-color: var(--c-sand); color: var(--c-ink); }
body[data-theme="warm"] { background: linear-gradient(to bottom, var(--c-warm-bg-start), var(--c-warm-bg-end)); color: #4a3b32; }
body[data-theme="black"] { background-color: #000; color: #888; }

/* Noise Texture */
.noise-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none; z-index: 9999; opacity: 0.4;
}

/* Typography Utils */
.en-font { font-family: var(--f-en); letter-spacing: 0.1em; }
.vertical-text { writing-mode: vertical-rl; text-orientation: upright; letter-spacing: 0.15em; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { width: 100%; display: block; height: auto; }
.white-text { color: var(--c-white) !important; }

/* Accessibility: キーボード操作時のフォーカス可視化 */
a:focus-visible, button:focus-visible, .hamburger:focus-visible,
.form-control:focus-visible, .menu-item:focus-visible, .cta-button:focus-visible, .submit-btn:focus-visible {
    outline: 2px solid var(--c-copper);
    outline-offset: 3px;
    border-radius: 2px;
}
.hamburger { cursor: pointer; }
/* モーション過敏設定の尊重 */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
    .parallax-target { transform: none !important; }
}

/* =========================================
   HEADER & NAV (Fixed)
   ========================================= */
#header {
    position: fixed; top: 0; left: 0; width: 100%; padding: 30px 20px;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 1000; mix-blend-mode: exclusion; color: #fff; pointer-events: none;
    transition: padding 0.4s var(--ease-out), background-color 0.4s var(--ease-out);
}
/* スクロール後：blend解除＋半透明下地で、明背景でも視認性を確保 */
#header.scrolled {
    mix-blend-mode: normal;
    background-color: rgba(10, 17, 24, 0.72);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 16px 20px;
    box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
#header.scrolled .bar { background-color: #fff; box-shadow: none; }
#header .logo-area, #header .header-controls { pointer-events: auto; }
.logo-img { width: 180px; height: auto; display: block; }
.header-controls { display: flex; gap: 30px; align-items: center; }

/* Hamburger Menu */
.hamburger { display: flex; flex-direction: column; justify-content: space-between; width: 50px; height: 24px; cursor: pointer; z-index: 10001; position: relative; }
.bar { width: 100%; height: 3px; background-color: #fff; border-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,0.5); transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55); }
#global-menu.active ~ #header .hamburger .bar:nth-child(1) { transform: translateY(10px) rotate(45deg); }
#global-menu.active ~ #header .hamburger .bar:nth-child(2) { transform: translateY(-10px) rotate(-45deg); }

/* Global Menu Overlay */
#global-menu { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; z-index: 900; pointer-events: none; opacity: 0; transition: opacity 0.6s; display: flex; justify-content: center; align-items: center; background: rgba(10,17,24,0.98); }
#global-menu.active { opacity: 1; pointer-events: auto; }
.menu-links { position: relative; display: flex; flex-direction: column; gap: 20px; text-align: center; overflow-y: auto; max-height: 100vh; padding: 40px 20px; -ms-overflow-style: none; scrollbar-width: none; }
.menu-links::-webkit-scrollbar { display: none; }
.menu-item { font-size: 1.4rem; color: #fff; font-family: var(--f-jp); opacity: 0; transform: translateY(20px); transition: 0.5s; }
#global-menu.active .menu-item { opacity: 1; transform: translateY(0); }
.menu-item .num { font-family: var(--f-en); font-size: 0.9rem; color: var(--c-copper); margin-right: 15px; vertical-align: middle; }
.menu-item .en { display: block; font-size: 0.8rem; font-family: var(--f-en); color: #888; margin-top: 0px; }
#lang-toggle { background: none; border: none; color: #fff; font-family: var(--f-en); cursor: pointer; font-size: 0.9rem; letter-spacing: 0.1em; }
.current-lang { font-weight: bold; border-bottom: 1px solid #fff; }
.next-lang { opacity: 0.5; }

/* MULTI-LANGUAGE */
.lang-en { display: none; }
body.en-mode .lang-jp { display: none; }
body.en-mode .lang-en { display: block; }
body.en-mode .lang-en.en-vertical { display: inline-block; }

/* =========================================
   TOP PAGE HERO SECTION
   ========================================= */
.hero-section { height: 100vh; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; background-size: cover; background-position: center; background-color: var(--c-ocean); }
.video-container { position: absolute; inset: 0; z-index: 0; }
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.video-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.3); }
.hero-text-wrapper { position: relative; z-index: 10; display: flex; gap: 60px; height: 60vh; align-items: flex-start; }
.main-copy { font-size: clamp(2rem, 5vw, 4rem); color: #fff; height: 100%; line-height: 1.6; text-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.en-vertical { font-size: 0.4em; opacity: 0.8; margin-left: 20px; font-family: var(--f-en); }
.sub-copy-area { writing-mode: vertical-rl; text-orientation: upright; color: #fff; font-size: 1.1rem; letter-spacing: 0.2em; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.scroll-indicator { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); color: #fff; display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: 0.7; }
.scroll-indicator .line { width: 1px; height: 80px; background: #fff; animation: scrollAnim 2s infinite; }
@keyframes scrollAnim { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* =========================================
   SUB-PAGE HERO SECTION (ヘッダー被り修正版)
   ========================================= */
.page-hero {
    height: 55vh; min-height: 450px; position: relative;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background-size: cover; background-position: center; background-color: var(--c-ocean);
    margin-bottom: 0; padding-top: 80px; /* ★被り防止 */
}
.page-hero::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.4); z-index: 1; }
.page-title-area { position: relative; z-index: 10; text-align: center; }
.page-title { font-size: clamp(2.5rem, 5vw, 3.5rem); margin-bottom: 15px; font-family: var(--f-jp); letter-spacing: 0.1em; color: #fff !important; }
.page-subtitle { display: block; font-family: var(--f-en); color: var(--c-copper); letter-spacing: 0.2em; font-size: 1rem; text-transform: uppercase; }
.breadcrumb { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 10; font-size: 0.85rem; color: rgba(255,255,255,0.8); font-family: var(--f-en); }
.breadcrumb a { border-bottom: 1px solid transparent; }
.breadcrumb a:hover { border-bottom: 1px solid #fff; }

/* =========================================
   LAYOUT UTILS & COMMON CLASSES
   ========================================= */
.content-section { padding: var(--space-section) 0; position: relative; }
.page-content { padding: var(--space-block) 0; color: var(--c-ink); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

.fluid-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.reverse-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; direction: rtl; }
.reverse-grid > * { direction: ltr; }
.col-2-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 100px; align-items: center; }
.col-2-layout img { width: 100%; border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

.sticky-content { position: sticky; top: 100px; }

.chapter-label { display: block; color: var(--c-copper); margin-bottom: 20px; font-size: 0.9rem; }
.section-title { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 40px; line-height: 1.4; font-weight: 500; }
.section-title .lang-en { display: block; font-family: var(--f-en); font-size: 0.5em; color: var(--c-copper); margin-top: 10px; letter-spacing: 0.05em; }

.content-h2 { font-family: 'Zen Old Mincho', serif; font-weight: 600; font-size: 1.8rem; color: var(--c-ocean); letter-spacing: 0.1em; position: relative; padding-bottom: 20px; margin: 60px 0 30px; }
.content-h2::after { content: ''; position: absolute; bottom: 0; left: 0; width: 60px; height: 2px; background: var(--c-copper); }

.prose-text { font-size: 1.05rem; margin-bottom: 40px; text-align: justify; line-height: 2.2; }
.section-divider { width: 100%; height: 1px; background: linear-gradient(to right, transparent, var(--c-copper), transparent); opacity: 0.3; margin: var(--space-divider) 0; }

/* =========================================
   TOP PAGE SPECIFIC RESTORED ELEMENTS
   ========================================= */
.art-frame { position: relative; overflow: hidden; border-radius: 2px; box-shadow: 0 10px 40px rgba(0,0,0,0.1); }
.art-frame img { transition: transform 1.5s var(--ease-out); width: 100%; }
.art-frame:hover img { transform: scale(1.05); }

.horizontal-scroll-wrapper {
    display: flex; align-items: center; overflow-x: auto; padding: 0 40px 100px; gap: 60px;
    scroll-snap-type: x proximity; scroll-padding-left: 40px; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.horizontal-scroll-wrapper::-webkit-scrollbar { display: none; }
.intro-block { min-width: 300px; flex-shrink: 0; }
/* 「横に続きがある」ことを伝えるスクロールキュー */
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px;
    color: var(--c-copper); font-family: var(--f-en); font-size: 0.8rem; letter-spacing: 0.15em; opacity: 0.9; }
.scroll-cue .cue-line { width: 40px; height: 1px; background: currentColor; position: relative; overflow: hidden; }
.scroll-cue .cue-line::after { content: ''; position: absolute; inset: 0; width: 12px; background: var(--c-white);
    animation: cueSlide 1.8s var(--ease-in-out) infinite; }
@keyframes cueSlide { 0% { transform: translateX(-14px); opacity: 0; } 50% { opacity: 1; } 100% { transform: translateX(40px); opacity: 0; } }

.gallery-track { display: flex; gap: 40px; }
.gallery-card { min-width: 350px; position: relative; scroll-snap-align: center; }
.card-img { height: 450px; overflow: hidden; margin-bottom: 20px; border-radius: 2px; }
.card-img img { height: 100%; width: 100%; object-fit: cover; transition: 0.6s; }
.gallery-card:hover .card-img img { transform: scale(1.1); }
.card-caption h3 { font-size: 1.2rem; font-weight: 500; margin-bottom: 5px; }

.cta-button { display: inline-block; margin-top: 40px; padding: 15px 50px; background: var(--c-copper); color: #fff; border-radius: 50px; font-size: 1.1rem; position: relative; overflow: hidden; transition: background 0.3s; }
.cta-button:hover { background: #a37e55; }

.centered { text-align: center; }
/* --- Instagram 自前フィード（SnapWidgetの代替 / kani-echizen同一仕様） --- */
.ig-feed { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 860px; margin: 0 auto; }
.ig-feed:empty { display: none; }
.ig-item { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 4px; background: rgba(0,0,0,0.05); }
.ig-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.ig-item:hover img { transform: scale(1.06); }
.ig-item .ig-badge { position: absolute; top: 8px; right: 10px; color: #fff; font-size: 0.7rem; text-shadow: 0 1px 4px rgba(0,0,0,0.6); pointer-events: none; }
.ig-fallback { display: inline-flex; align-items: center; gap: 8px; margin: 10px auto 0; padding: 12px 30px; border: 1px solid var(--c-copper); border-radius: 50px; color: var(--c-copper); transition: 0.3s; }
.ig-fallback:hover { background: var(--c-copper); color: #fff; }
.insta-link-area { margin-top: 30px; text-align: center; }
.insta-btn { display: inline-block; padding: 12px 30px; border: 1px solid var(--c-copper); border-radius: 50px; color: var(--c-copper); transition: 0.3s; }
.insta-btn:hover { background: var(--c-copper); color: #fff; }
@media (max-width: 700px) { .ig-feed { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

.footer-container { max-width: 1200px; margin: 0 auto; }
.footer-cta h2 { font-size: clamp(2rem, 5vw, 4rem); color: #fff; margin-bottom: 60px; line-height: 1.2; font-family: var(--f-jp); }

/* =========================================
   ABOUT PAGE SPECIFIC
   ========================================= */
.feature-section { padding: 80px 0; position: relative; }
.feature-block { margin-bottom: var(--space-block); }
.feature-title { font-family: 'Zen Old Mincho', serif; font-size: 2.2rem; font-weight: 600; letter-spacing: 0.1em; color: var(--c-ocean); margin-bottom: 15px; }
.feature-sub { font-family: var(--f-en); color: var(--c-copper); letter-spacing: 0.2em; margin-bottom: 40px; font-size: 1rem; display: flex; align-items: center; }
.feature-sub::after { content: ''; display: inline-block; width: 60px; height: 1px; background: var(--c-copper); margin-left: 20px; opacity: 0.6; }
.feature-desc { font-size: 1.05rem; line-height: 2.4; color: #4a3b32; text-align: justify; }

.intro-text-wrap { display: flex; gap: 40px; align-items: flex-start; }
.vertical-h2-rich { writing-mode: vertical-rl; text-orientation: upright; font-family: 'Zen Old Mincho', serif; font-size: 2.2rem; font-weight: 700; letter-spacing: 0.3em; color: var(--c-ocean); flex-shrink: 0; margin: 0; }
.handwriting { font-family: 'Shippori Mincho', serif; font-weight: 500; color: var(--c-ocean); opacity: 0.7; font-size: 1.6rem; text-align: right; margin-top: 50px; }

.img-col img, .family-img, .intro-img, .collage-img { width: 100%; object-fit: cover; border-radius: 8px; box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15); transition: box-shadow 0.5s ease-out; }
.intro-img { height: 400px; }
.family-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.family-img { height: 250px; }
.img-collage { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: start; position: relative; }
.collage-img-main { height: 450px; width: 100%; position: relative; z-index: 1; }
.collage-img-sub { height: 300px; width: 100%; margin-top: 120px; position: relative; z-index: 2; }

/* =========================================
   STAY & DINING PLAN BLOCKS
   ========================================= */
.season-header { text-align: center; margin: 80px 0 60px; padding: 20px; border-top: 1px solid var(--c-copper); border-bottom: 1px solid var(--c-copper); }
.season-title { font-size: 2rem; font-family: var(--f-jp); color: var(--c-ocean); margin-bottom: 10px; }
.season-sub { font-family: var(--f-en); color: var(--c-copper); letter-spacing: 0.1em; }

.plan-block { background: #fff; margin-bottom: 60px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); overflow: hidden; border-radius: 4px; }
.plan-header { padding: 30px 40px; border-bottom: 1px solid #eee; background: #fafafa; }
.plan-tag { display: inline-block; background: var(--c-copper); color: #fff; padding: 5px 15px; font-size: 0.8rem; margin-bottom: 10px; border-radius: 50px; }
.plan-tag.red { background: #b93b3b; }
.plan-name { font-size: 1.6rem; font-family: var(--f-jp); color: var(--c-ink); margin-bottom: 0; }

.plan-body { display: grid; grid-template-columns: 4fr 6fr; gap: 0; align-items: stretch; }
.plan-img { width: 100%; height: 100%; min-height: 300px; background: #f0f0f0; }
.plan-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.plan-details { padding: 40px; }
.plan-desc { margin-bottom: 30px; line-height: 1.8; }

.detail-table { width: 100%; border-collapse: collapse; }
.detail-table th { width: 25%; text-align: left; padding: 15px 0; color: var(--c-copper); font-weight: normal; vertical-align: top; border-bottom: 1px solid #eee; }
.detail-table td { padding: 15px 0 15px 20px; border-bottom: 1px solid #eee; }
.price-text { font-size: 1.4rem; font-weight: bold; color: var(--c-ink); }
.menu-list { font-size: 0.95rem; color: #555; line-height: 1.8; }
.suspend-note { color: #d9534f; font-weight: bold; margin-bottom: 10px; display: block; }

/* 丼ぶり (yuuzen.html) */
.donburi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-bottom: 60px; }
.donburi-card { background: #fff; border-radius: 4px; overflow: hidden; box-shadow: 0 3px 10px rgba(0,0,0,0.05); display: flex; flex-direction: column; }
.donburi-img { width: 100%; height: 220px; overflow: hidden; }
.donburi-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.donburi-card:hover .donburi-img img { transform: scale(1.05); }
.donburi-details { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; justify-content: center; }
.donburi-title { font-size: 1.2rem; font-family: var(--f-jp); margin-bottom: 10px; color: var(--c-ink); font-weight: bold; }
.donburi-price { font-size: 1.1rem; color: var(--c-ink); font-weight: bold; }
.crab-don-img { width: 100%; height: 250px; object-fit: cover; border-radius: 4px; margin-bottom: 15px; }

/* =========================================
   CONTACT FORM
   ========================================= */
.contact-info-box { text-align: center; margin-bottom: 80px; padding: 40px; background: #fff; border: 1px solid var(--c-copper); border-radius: 4px; }
.tel-link { font-family: var(--f-en); font-size: 2.5rem; color: var(--c-ink); font-weight: bold; display: block; margin: 20px 0; transition: color 0.3s; }
.tel-link:hover { color: var(--c-copper); }
.form-wrapper { max-width: 700px; margin: 0 auto; background: #fff; padding: 60px 40px; border-radius: 4px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.form-group { margin-bottom: 30px; }
.form-label { display: block; margin-bottom: 10px; font-weight: bold; color: var(--c-ink); }
.form-control { width: 100%; padding: 15px; border: 1px solid #ddd; border-radius: 2px; font-family: var(--f-jp); font-size: 1rem; transition: border-color 0.3s; }
.form-control:focus { outline: none; border-color: var(--c-copper); }
textarea.form-control { height: 200px; resize: vertical; }
.submit-btn { background: var(--c-ocean); color: #fff; border: none; padding: 20px 60px; font-size: 1.1rem; cursor: pointer; transition: 0.3s; display: block; margin: 40px auto 0; border-radius: 50px; letter-spacing: 0.1em; }
.submit-btn:hover { background: var(--c-copper); }
.antispam { display: none; }

/* =========================================
   ANIMATION & LOADER
   ========================================= */
.fade-up { opacity: 0; transform: translateY(30px); transition: 1s var(--ease-out); }
.fade-up.in-view { opacity: 1; transform: translateY(0); }
.delay-2 { transition-delay: 0.2s; }

#loader { position: fixed; inset: 0; background: var(--c-midnight); z-index: 9999; display: flex; justify-content: center; align-items: center; transition: transform 0.8s var(--ease-in-out); }
#loader.loaded { transform: translateY(-100%); }
.loader-content { text-align: center; color: var(--c-copper); }
.vertical-line { width: 1px; height: 0; background: var(--c-copper); margin: 0 auto 20px; animation: growLine 1.5s forwards; }
.loader-text { opacity: 0; animation: fadeIn 1s forwards 1s; letter-spacing: 0.3em; }

@keyframes growLine { to { height: 60px; } }
@keyframes fadeIn { to { opacity: 1; } }

/* =========================================
   FOOTER
   ========================================= */
footer { padding: 100px 40px 40px; background: #000; color: #888; text-align: center; }
.footer-info .address { margin-bottom: 10px; line-height: 2; }
.copyright { font-size: 0.8rem; opacity: 0.5; border-top: 1px solid #333; padding-top: 30px; display: inline-block; width: 100%; max-width: 600px; }

/* =========================================
   RESPONSIVE ADJUSTMENTS
   ========================================= */
@media (max-width: 900px) {
    /* Layouts */
    .fluid-grid, .reverse-grid, .col-2-layout { grid-template-columns: 1fr; gap: 40px; }
    .hero-text-wrapper { flex-direction: column; align-items: center; text-align: center; }
    .vertical-text, .sub-copy-area { writing-mode: horizontal-tb; height: auto; }
    .logo-img { width: 160px; }
    .page-hero { height: 40vh; }
    .header-controls { gap: 15px; }

    /* Horizontal Scroll to Vertical */
    .horizontal-scroll-wrapper { flex-direction: column; overflow: visible; padding: 0 20px; }
    .gallery-track { flex-direction: column; width: 100%; }
    .gallery-card { min-width: 100%; }
    
    /* About Page */
    .intro-text-wrap { flex-direction: column; align-items: center; gap: 20px; }
    .vertical-h2-rich { writing-mode: horizontal-tb; float: none; margin-right: 0; margin-bottom: 10px; min-height: auto; font-size: 2rem; text-align: center; width: 100%; }
    .img-collage { grid-template-columns: 1fr; gap: 20px; }
    .collage-img-main { height: 300px; }
    .collage-img-sub { height: 250px; margin-top: 0; }
    .family-grid { gap: 15px; }
    .family-img { height: 180px; }
    .intro-img { height: 300px; }

    /* Dining & Stay Plans */
    .plan-body { grid-template-columns: 1fr; }
    .plan-img { height: 250px; }
    .plan-details { padding: 25px; }
    .detail-table th, .detail-table td { display: block; width: 100%; padding: 5px 0; border: none; }
    .detail-table th { margin-top: 15px; font-weight: bold; }
    
    /* Forms */
    .form-wrapper { padding: 40px 20px; } 
    .tel-link { font-size: 1.8rem; }

    /* Header：スクロール前でも下地を出し、明背景での視認性を担保 */
    #header { padding: 18px 16px; }
    #header:not(.scrolled) { background: linear-gradient(to bottom, rgba(10,17,24,0.55), transparent); mix-blend-mode: normal; }
    #header:not(.scrolled) .bar { background:#fff; }
    .logo-img { width: 140px; }
    .container { padding: 0 24px; }
}

@media (max-width: 600px) {
    :root { --space-section: 64px; --space-block: 56px; --space-divider: 48px; }
    .horizontal-scroll-wrapper { padding: 0 16px 60px; }
    .content-h2 { font-size: 1.5rem; }
    .prose-text { line-height: 2; }
    .plan-details { padding: 20px; }
    .form-wrapper { padding: 32px 16px; }
    .tel-link { font-size: 1.6rem; }
}