:root {
    --bg: #FFFBF3;
    --bg-soft: #FFF6E4;
    --gold-soft: #F8E7B8;
    --title: #1C1608;
    --text: #3A3120;
    --muted: #6B5E43;
    --note: #8A7B5E;
    --gold: #D4A017;
    --gold-bright: #E8C547;
    --gold-warm: #F0C94A;
    --gold-deep: #B8860B;
    --line: rgba(212, 160, 23, 0.18);
    --shadow: 0 16px 42px rgba(80, 55, 10, 0.10);
    --footer: #1A1508;
    --max: 1280px;
    --header-space: 136px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; line-height: 1.72; overflow-x: hidden; }
body.is-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid rgba(184, 134, 11, .42); outline-offset: 3px; }
.shell { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; }
.skip-link { position: fixed; left: 16px; top: 8px; transform: translateY(-140%); z-index: 120; background: var(--title); color: var(--bg-soft); padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
.site-header { position: fixed; inset: 0 0 auto; z-index: 80; box-shadow: 0 1px 0 var(--line); }
.gold-line { height: 22px; background: #211907; color: #F8E7B8; font-size: 12px; letter-spacing: .04em; }
.gold-line-inner { height: 22px; display: flex; align-items: center; justify-content: space-between; }
.brand-mini { line-height: 22px; white-space: nowrap; }
.search-trigger { height: 22px; min-width: 48px; border: 0; background: transparent; color: #FFF6E4; padding: 0 4px; }
.concierge-bar { height: 70px; background: rgba(255, 251, 243, .97); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.concierge-inner { height: 70px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; }
.logo-link { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; }
.brand-logo { max-height: 38px; width: auto; }
.logo-fallback { font-size: 22px; font-weight: 800; letter-spacing: .1em; color: var(--title); }
.book-trigger, .entry-link { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; font-weight: 750; }
.book-trigger { justify-self: center; min-width: 94px; border: 1px solid var(--gold); background: var(--bg-soft); color: var(--title); }
.entry-link { justify-self: end; padding: 0 18px; background: linear-gradient(135deg,#F0C94A 0%,#D4A017 55%,#B8860B 100%); color: var(--title); }
.stage-tabs { height: 44px; background: #F8E7B8; border-bottom: 1px solid var(--line); }
.stage-tabs-inner { height: 44px; display: flex; align-items: center; gap: 8px; overflow: hidden; }
.stage-tabs a { min-height: 32px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 7px; color: var(--text); font-size: 14px; font-weight: 650; white-space: nowrap; }
.stage-tabs a:hover, .stage-tabs a.is-current { background: var(--gold-warm); color: var(--title); }
.site-main { padding-top: var(--header-space); min-height: 70vh; }
.page-hero { padding: 52px 0 28px; }
.page-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; align-items: center; }
.eyebrow { margin: 0 0 8px; color: var(--gold-deep); font-weight: 800; letter-spacing: .12em; font-size: 13px; }
h1, h2, h3 { color: var(--title); line-height: 1.28; margin-top: 0; }
h1 { margin-bottom: 16px; font-size: clamp(28px, 4vw, 32px); letter-spacing: -.02em; }
h2 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 14px; }
h3 { font-size: 18px; margin-bottom: 8px; }
p { margin: 0 0 14px; }
.lead { font-size: 17px; color: var(--muted); max-width: 780px; }
.hero-actions, .button-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.text-button, .primary-button, .secondary-button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; padding: 0 18px; font-weight: 760; }
.primary-button { background: linear-gradient(135deg,#F0C94A 0%,#D4A017 55%,#B8860B 100%); color: var(--title); }
.secondary-button, .text-button { border: 1px solid rgba(184,134,11,.42); background: rgba(255,255,255,.45); color: var(--title); }
.text-button:hover, .secondary-button:hover { background: var(--bg-soft); border-color: var(--gold); }
.media-frame { margin: 0; width: 100%; aspect-ratio: 16 / 9; max-height: 320px; overflow: hidden; background: linear-gradient(145deg, #F8E7B8, #FFF6E4); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame.portrait { aspect-ratio: 4 / 5; max-height: 440px; }
.media-frame.compact { aspect-ratio: 4 / 3; max-height: 280px; }
.content-section { padding: 34px 0; }
.content-section.alt { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.section-head p { max-width: 680px; color: var(--muted); }
.grid-2, .grid-3, .grid-4, .feature-grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card, .feature-card, .policy-block, .notice-card, .index-card { background: rgba(255,255,255,.56); border: 1px solid var(--line); border-radius: 12px; padding: 20px; box-shadow: 0 8px 24px rgba(80,55,10,.055); }
.card p, .feature-card p, .notice-card p, .index-card p { color: var(--muted); }
.card a, .feature-card a, .notice-card a, .index-card a { color: var(--gold-deep); font-weight: 760; }
.number { display: inline-flex; min-width: 42px; height: 34px; align-items: center; justify-content: center; background: var(--gold-warm); color: var(--title); border-radius: 8px; font-weight: 850; margin-bottom: 12px; }
.number.deep { background: var(--gold-deep); color: #FFF6E4; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tag { display: inline-flex; align-items: center; min-height: 30px; padding: 4px 10px; border-radius: 7px; background: #F8E7B8; color: var(--title); font-size: 13px; font-weight: 700; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: center; }
.split.reverse { grid-template-columns: 1.1fr .9fr; }
.timeline { display: grid; gap: 14px; }
.timeline-item { display: grid; grid-template-columns: 76px 1fr; gap: 18px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.timeline-item:last-child { border-bottom: 0; }
.timeline-step { font-size: 28px; color: var(--gold-deep); font-weight: 900; letter-spacing: -.03em; }
.status { display: inline-flex; align-items: center; min-height: 30px; padding: 4px 10px; border-radius: 8px; background: var(--gold-soft); color: var(--title); font-weight: 780; font-size: 13px; }
.status.ready { background: var(--gold-warm); }
.notice-board { display: grid; gap: 12px; }
.notice-card { display: grid; grid-template-columns: minmax(120px, .3fr) 1fr; gap: 18px; align-items: start; }
.magazine-row { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 24px; align-items: center; margin-bottom: 26px; }
.magazine-row:nth-child(even) { grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); }
.gallery-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.gallery-card { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fffaf0; }
.gallery-card .gallery-copy { padding: 18px; }
.program-list { border-top: 1px solid var(--line); }
.program-row { display: grid; grid-template-columns: 80px 1fr auto; gap: 18px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.program-row strong { color: var(--title); }
.program-row span { color: var(--muted); }
.rule-list { display: grid; gap: 12px; }
.rule-item { padding: 18px; border-left: 4px solid var(--gold); background: var(--bg-soft); border-radius: 0 10px 10px 0; }
.policy-block { margin-bottom: 14px; }
.policy-block p:last-child { margin-bottom: 0; }
.callout { padding: 20px; background: #F8E7B8; border: 1px solid rgba(184,134,11,.22); border-radius: 12px; color: var(--title); }
.callout strong { color: var(--title); }
.home-cover { padding: 26px 0 38px; }
.home-cover .media-frame { max-height: 320px; }
.home-intro { padding: 18px 0 0; max-width: 900px; }
.home-intro .kicker { color: var(--gold-deep); font-weight: 800; margin-bottom: 8px; }
.home-intro .home-quote { font-size: clamp(27px,4vw,32px); font-weight: 850; color: var(--title); line-height: 1.25; margin-bottom: 14px; }
.scene-tags { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 10px; }
.scene-tag { padding: 14px; border-radius: 10px; border: 1px solid var(--line); min-height: 136px; background: var(--bg-soft); }
.scene-tag:nth-child(2n) { background: #F8E7B8; }
.scene-tag strong { display: block; color: var(--title); margin-bottom: 7px; }
.scene-tag p { font-size: 14px; color: var(--muted); margin-bottom: 9px; }
.scene-tag a { color: var(--gold-deep); font-weight: 760; font-size: 14px; }
.home-stage { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: center; }
.index-stack { display: grid; gap: 10px; margin-top: 16px; }
.index-line { display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.index-line:last-child { border-bottom: 0; }
.index-line strong { color: var(--gold-deep); }
.faq-list { display: grid; gap: 14px; }
.faq-item { padding: 20px; background: rgba(255,255,255,.62); border: 1px solid var(--line); border-radius: 12px; }
.faq-item h2 { font-size: 19px; margin-bottom: 8px; }
.service-path { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.service-step { padding: 18px; border-top: 4px solid var(--gold); background: var(--bg-soft); border-radius: 0 0 10px 10px; }
.app-product { display: grid; grid-template-columns: .72fr 1.28fr; gap: 28px; align-items: center; }
.app-icon { width: 82px; height: 82px; border-radius: 18px; border: 1px solid var(--line); background: var(--gold-soft); overflow: hidden; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.app-icon img { width: 100%; height: 100%; object-fit: cover; }
.legal-note { color: var(--note); font-size: 14px; }
.site-footer { background: var(--footer); color: #FFF6E4; border-top: 1px solid rgba(232,197,71,.24); padding: 38px 0 calc(30px + env(safe-area-inset-bottom)); }
.footer-brand-row { display: grid; grid-template-columns: .75fr 1.25fr; gap: 28px; align-items: start; padding-bottom: 28px; border-bottom: 1px solid rgba(232,197,71,.2); }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo { max-height: 36px; width: auto; filter: brightness(1.08); }
.footer-brand strong { display: block; font-size: 19px; color: #FFF6E4; }
.footer-brand span { display: block; font-size: 12px; color: #E8C547; letter-spacing: .11em; }
.footer-brand-row p { margin: 0; color: #E8DDBA; }
.footer-links { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; padding: 28px 0; }
.footer-links section { display: flex; flex-direction: column; gap: 7px; }
.footer-links h2 { color: #E8C547; font-size: 15px; margin-bottom: 6px; }
.footer-links a { color: #FFF6E4; font-size: 14px; }
.footer-links a:hover { color: #E8C547; }
.footer-bottom { border-top: 1px solid rgba(232,197,71,.2); padding-top: 18px; display: flex; justify-content: space-between; gap: 18px; color: #E8DDBA; font-size: 13px; }
.footer-bottom div { display: flex; flex-wrap: wrap; gap: 14px; }
.book-panel { position: fixed; z-index: 100; left: 0; right: 0; top: 92px; max-height: calc(100vh - 92px); overflow-y: auto; background: var(--bg); border-top: 1px solid var(--line); box-shadow: var(--shadow); visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(-12px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.book-panel.is-open { visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0); }
.book-panel-inner { padding: 18px 0 28px; }
.book-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.book-brand { display: flex; align-items: center; gap: 12px; }
.book-brand img { max-height: 32px; width: auto; }
.book-brand strong, .book-brand span { display: block; }
.book-brand strong { color: var(--title); }
.book-brand span { color: var(--muted); font-size: 12px; letter-spacing: .08em; }
.close-button { min-height: 44px; min-width: 66px; border: 1px solid var(--line); border-radius: 9px; background: var(--bg-soft); color: var(--title); }
.book-groups { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; padding-top: 18px; }
.book-groups h2 { font-size: 15px; color: var(--gold-deep); margin-bottom: 10px; }
.book-groups section { min-width: 0; }
.book-groups a { display: block; padding: 9px 0; border-bottom: 1px solid rgba(212,160,23,.12); }
.book-groups strong { display: block; color: var(--title); font-size: 15px; }
.book-groups span { display: block; color: var(--muted); font-size: 12px; line-height: 1.5; }
.search-layer { position: fixed; z-index: 101; top: 92px; left: 0; right: 0; visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .2s ease, visibility .2s; }
.search-layer.is-open { visibility: visible; opacity: 1; pointer-events: auto; }
.search-card { width: min(calc(100% - 32px), 760px); margin: 0 auto; background: var(--bg); border: 1px solid var(--line); border-radius: 0; box-shadow: var(--shadow); padding: 20px; }
.search-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.search-head strong { color: var(--title); font-size: 18px; }
.search-box { display: block; color: var(--muted); font-size: 13px; }
.search-box span { display: block; margin-bottom: 7px; }
.search-box input { width: 100%; min-height: 48px; border: 1px solid rgba(184,134,11,.35); border-radius: 9px; background: #fffdf7; color: var(--title); padding: 0 14px; }
.search-presets { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 14px; }
.search-presets a { min-height: 44px; display: flex; align-items: center; justify-content: center; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 9px; font-weight: 700; }
.site-mask { position: fixed; inset: 0; z-index: 90; background: rgba(28,22,8,.34); visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .2s ease, visibility .2s; }
.site-mask.is-open { visibility: visible; opacity: 1; pointer-events: auto; }
.mobile-bottom-nav { display: none; }

@media (max-width: 980px) {
    .scene-tags { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .grid-4, .service-path { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .book-groups { grid-template-columns: repeat(2,1fr); }
    .footer-links { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 760px) {
    :root { --header-space: 92px; }
    body { padding-bottom: calc(50px + env(safe-area-inset-bottom)); }
    .shell { width: min(calc(100% - 32px), var(--max)); }
    .gold-line { height: 22px; }
    .concierge-bar, .concierge-inner { height: 70px; }
    .concierge-inner { grid-template-columns: 1fr auto 1fr; gap: 8px; }
    .brand-logo { max-height: 32px; max-width: 132px; }
    .logo-fallback { font-size: 18px; letter-spacing: .04em; }
    .book-trigger { min-width: 70px; padding: 0 10px; }
    .entry-link { padding: 0 12px; }
    .stage-tabs { display: none; }
    .page-hero { padding: 34px 0 22px; }
    .page-hero-grid, .split, .split.reverse, .home-stage, .app-product, .footer-brand-row, .magazine-row, .magazine-row:nth-child(even) { grid-template-columns: 1fr; }
    .grid-2, .grid-3, .grid-4, .gallery-grid, .service-path { grid-template-columns: 1fr; }
    .scene-tags { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .section-head { align-items: start; flex-direction: column; }
    .notice-card { grid-template-columns: 1fr; }
    .program-row { grid-template-columns: 58px 1fr; }
    .program-row .status { grid-column: 2; justify-self: start; }
    .book-panel { top: 92px; max-height: calc(100vh - 92px - 50px - env(safe-area-inset-bottom)); width: 100%; }
    .book-groups { grid-template-columns: 1fr; }
    .search-layer { inset: 0; top: 0; background: var(--bg); overflow-y: auto; }
    .search-card { width: 100%; min-height: 100vh; border: 0; box-shadow: none; padding: 18px 16px 84px; }
    .search-presets { grid-template-columns: 1fr 1fr; }
    .mobile-bottom-nav { position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; min-height: calc(50px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: rgba(255,251,243,.98); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5,1fr); }
    .mobile-bottom-nav a { min-height: 50px; display: flex; align-items: center; justify-content: center; color: var(--text); font-size: 13px; font-weight: 720; }
    .mobile-bottom-nav a.is-current { background: var(--gold-warm); color: var(--title); }
    .footer-links { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; }
    .site-footer { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
}
@media (max-width: 460px) {
    .brand-mini { max-width: 72vw; overflow: hidden; text-overflow: ellipsis; }
    .scene-tags { grid-template-columns: 1fr; }
    .search-presets { grid-template-columns: 1fr; }
    .footer-links { grid-template-columns: 1fr; }
    .timeline-item { grid-template-columns: 58px 1fr; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
