/* KS CONSULTING — ウォークスルー表示
   基本の色・幅はstyle.cssの変数を継承。写真はimages/内を使用。
   901px以上＋十分な高さ＋動きを許可した環境だけ、JSが空間移動を有効にします。 */
:root { --space-line: rgba(215,170,67,.25); --space-copy: #c4cddb; }
html { scroll-padding-top: 104px; }
body { background: #030b18; color: #f7f6f2; }
#journey-space, .space-horizon { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#journey-space { z-index: -2; }
.space-horizon { z-index: -1; background: radial-gradient(ellipse at 50% 42%, transparent 5%, rgba(3,11,24,.2) 60%, #030b18 100%); }
.site-header { position: fixed; background: rgba(3,11,24,.88); backdrop-filter: blur(16px); border-color: rgba(215,170,67,.17); }
.header-inner { min-height: 82px; grid-template-columns: 1fr auto auto; gap: 32px; }
.global-nav { gap: 22px; font-size: .875rem; }
.logo strong { font-size: .875rem; }
.logo small { font-size: .75rem; letter-spacing: .025em; }
.button { min-height: 52px; font-size: .9375rem; border-radius: 3px; }
.button-small { font-size: .875rem; padding-inline: 18px; }
.button:hover { transform: translateY(-2px); }
.button-primary { box-shadow: 0 8px 28px rgba(215,170,67,.12); }
.hero, .section, .contact { background: transparent; color: #f7f6f2; }
.section { padding: 100px 0; }
.eyebrow, .eyebrow.navy { color: #e6c576; font-size: .75rem; letter-spacing: .2em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.55; overflow-wrap: anywhere; }
.hero { height: auto; min-height: 100svh; padding: 145px 0 100px; }
.hero-inner { padding-top: 0; }
.hero-image { inset: 0 0 0 auto; width: 46%; height: 100%; object-position: 62% center; opacity: .85; mask-image: linear-gradient(90deg, transparent, #000 18%); }
.hero-overlay { background: linear-gradient(90deg, #061326 0%, rgba(6,19,38,.85) 46%, rgba(6,19,38,.1) 100%); }
.hero-grid { display: none; }
.hero-copy { max-width: 66%; }
.js .hero-copy.reveal { opacity: 1; transform: none; }
.hero h1 { font-size: clamp(2rem, 3.25vw, 3rem); line-height: 1.65; letter-spacing: .015em; }
.hero h1 .phrase { display: inline-block; }
.hero-lead { max-width: 520px; font-size: 1rem; line-height: 1.9; }
.assurance { font-size: .875rem; }
.scroll-guide { bottom: 22px; font-size: .75rem; }
.section-heading { margin-bottom: 30px; }
.section-heading.centered { margin-bottom: 30px; }
.section-heading > p:last-child, .heading-split > p, .body-copy,
.section-closing, .section-dark .body-copy, .service-card p, .concern-card p,
.reason-list p, .flow-list p, .faq-list details p, .result-placeholder p { color: var(--space-copy); font-size: 1rem; }
.heading-split, .two-column, .message-layout, .reasons-layout, .faq-layout { gap: 48px; }
.card-grid { gap: 18px; }
.concern-card, .service-card, .result-placeholder { background: rgba(14,32,55,.72); border: 1px solid var(--space-line); box-shadow: none; border-radius: 4px; }
.concern-card { min-height: 205px; padding: 28px; }
.concern-card h3 { margin-top: 24px; }
.concern-card > span, .service-card span, .result-placeholder > span { color: #e6c576; font-size: .75rem; }
.section-closing { margin-top: 32px; }
.section-closing strong { color: #f0d797; }
.future-steps { margin-top: 32px; gap: 18px; }
.future-steps > div { padding: 24px; min-height: 126px; }
.future-steps b, .flow-list li > span { font-size: .75rem; color: #e6c576; }
.future-steps small { font-size: .875rem; color: var(--space-copy); }
.service-card img { aspect-ratio: 1.8; }
.service-card > div { padding: 22px; }
.service-card h3 { margin: 14px 0 10px; font-size: 1.15rem; }
.inline-cta { background: transparent; padding: 22px 0 0; margin-top: 24px; border-top: 1px solid var(--space-line); }
.reason-list li, .reason-list li:last-child { border-color: var(--space-line); padding-block: 24px; }
.reason-list span { background: rgba(215,170,67,.12); color: #e6c576; }
.flow-list { background: var(--space-line); border-color: var(--space-line); }
.flow-list li { background: #0b1c32; min-height: 225px; padding: 26px; }
.flow-list li > i { color: #e6c576; opacity: .65; font-size: 2rem; margin-block: 12px; }
.message-image img { aspect-ratio: 1; border-radius: 4px; }
.message-image figcaption { font-size: .75rem; color: #a8b5c7; }
.message-layout > div > p:not(.eyebrow) { font-size: 1rem; color: var(--space-copy); }
.result-placeholder { min-height: 160px; padding: 24px; }
.faq-list, .faq-list details { border-color: var(--space-line); }
.faq-list summary { padding-block: 18px; min-height: 56px; font-size: 1rem; }
.faq-list summary::before { color: #e6c576; }
.contact { min-height: 700px; padding-block: 100px; }
.contact-inner h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); }
.contact-inner li, .line-note { font-size: .875rem; }
.contact > img { width: 48%; left: auto; opacity: .7; mask-image: linear-gradient(90deg, transparent, #000 30%); }
.contact-overlay { background: linear-gradient(90deg,#061326 30%,rgba(6,19,38,.3)); }
.footer-main { min-height: 120px; }
.footer-main nav, .footer-bottom { font-size: .875rem; }
.footer-bottom small { font-size: .75rem; }
.site-footer { position: relative; background: #030b18; }
/* 演出中も本文はHTMLのまま。検索・選択・リンク・FAQを通常どおり使えます。 */
.journey-nav, .journey-status { display: none; }
.walkthrough .journey-nav { position: fixed; z-index: 35; right: 12px; top: 50%; transform: translateY(-50%); display: grid; }
.journey-nav a { width: 44px; height: 44px; display: grid; place-items: center; position: relative; }
.journey-nav a::after { content: ''; width: 7px; height: 7px; border-radius: 50%; border: 1px solid #ac9563; transition: background .2s, box-shadow .2s; }
.journey-nav a[aria-current]::after { background: #f2d27b; box-shadow: 0 0 16px #d7aa43; }
.journey-nav span { position: absolute; right: 42px; white-space: nowrap; font-size: .875rem; opacity: 0; background: #061326; padding: 5px 10px; pointer-events: none; }
.journey-nav a:hover span, .journey-nav a:focus-visible span { opacity: 1; }
.walkthrough .journey-status { display: flex; position: fixed; z-index: 25; left: 32px; bottom: 28px; gap: 16px; align-items: center; color: #c4b58f; font-size: .75rem; letter-spacing: .1em; pointer-events: none; }
.journey-status-rule { width: 44px; height: 1px; background: #a98a45; }
.walkthrough .mobile-cta { display: block; position: fixed; inset: auto 28px 22px auto; padding: 0; background: none; z-index: 40; }
.walkthrough .mobile-cta a { display: grid; place-items: center; min-height: 48px; padding: 0 24px; background: #08a950; color: white; font-size: .875rem; border-radius: 3px; }
.walkthrough main > .journey-scene { display: block; height: var(--scene-height, 150svh); min-height: 0; padding: 0; overflow: visible; }
.scene-sticky { position: sticky; top: 82px; height: calc(100svh - 140px); display: grid; place-items: center; perspective: 1200px; }
.scene-panel { position: relative; width: min(1100px, calc(100% - 128px)); padding: 42px; border: 1px solid rgba(215,170,67,.3); background: linear-gradient(130deg,rgba(10,28,49,.97),rgba(5,18,36,.93)); box-shadow: 0 32px 100px #0008, inset 0 1px 0 #eac56a18; border-radius: 6px; transform-origin: 50% 50%; }
.scene-panel > .container { width: 100%; }
.scene-panel .heading-split, .scene-panel .two-column { grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); }
.scene-panel .heading-split h2 { font-size: 2.2rem; }
.walkthrough main > .scene-tall { height: auto; padding: 100px 0; }
.scene-tall .scene-sticky { position: relative; top: 0; height: auto; }
.scene-panel .hero-copy { max-width: 65%; }
.scene-panel .hero-image, .scene-panel .hero-overlay, .scene-panel .contact-overlay { border-radius: 6px; }
.hero .scene-panel { min-height: 520px; display: grid; align-items: center; }
.contact .scene-panel { min-height: 480px; display: grid; align-content: center; }
.scene-panel .reveal, .js .scene-panel .reveal { opacity: 1; transform: none; transition: none; }
.walkthrough .hero .scroll-guide { display: none; }
/* 小さな画面や文字拡大でパネルが収まらない場合は通常の縦読みへ切替。 */
@media (max-width: 1100px) { .header-inner { gap: 18px; } .global-nav { gap: 14px; } .scene-panel { padding: 30px; } }
@media (max-width: 900px) {
  .header-inner { min-height: 74px; grid-template-columns: 1fr auto auto; }
  .heading-split, .two-column, .message-layout, .reasons-layout, .faq-layout { gap: 28px; }
  .hero-copy { max-width: 78%; }
  .hero h1 { font-size: 2.5rem; }
  .section { border-top: 1px solid var(--space-line); }
  .card-grid { max-width: none; }
  .service-card { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
  .service-card img { aspect-ratio: 1.4; height: 100%; }
  .message-image { max-width: 500px; }
}
@media (max-width: 620px) {
  html { scroll-padding-top: 82px; }
  body { padding-bottom: 64px; }
  .header-inner { grid-template-columns: 1fr auto; }
  .logo small { font-size: .75rem; } .logo strong { font-size: .75rem; }
  .hero { padding: 222px 0 36px; min-height: 0; background: #061326; }
  .hero-image { width: 100%; height: 148px; inset: 74px 0 auto; object-position: 65% 26%; mask-image: linear-gradient(#000 58%,transparent); }
  .hero-overlay { background: linear-gradient(180deg, #030b1826 0, #06132600 180px, #061326 220px); }
  .hero-copy { max-width: 100%; }
  .hero h1 { font-size: clamp(1.5rem,6.4vw,1.85rem); line-height: 1.6; margin-bottom: 16px; }
  .hero-lead { font-size: 1rem; line-height: 1.8; margin-bottom: 20px; }
  .hero .eyebrow { margin-bottom: 10px; font-size: .75rem; }
  .assurance { font-size: .875rem; align-items: flex-start; }
  .section { padding-block: 62px; background: #061326bb; }
  h2 { font-size: 1.8rem; } .section-heading.centered { text-align: left; } .section-heading.centered .eyebrow { text-align: left; }
  .service-card { display: block; } .service-card img { aspect-ratio: 1.8; height: auto; }
  .section-heading > p:last-child, .heading-split > p, .body-copy, .section-closing, .section-dark .body-copy, .service-card p, .concern-card p, .reason-list p, .flow-list p, .faq-list details p, .result-placeholder p { font-size: 1rem; }
  .contact { padding-block: 64px; min-height: 580px; }
  .contact > img { width: 100%; opacity: .22; mask-image: none; }
  .contact-overlay { background: #061326aa; }
  .contact-inner h2 { font-size: 2rem; }
  .button-line { min-width: 0; }
  .mobile-cta { display: block; }
  .footer-main nav { font-size: .875rem; }
  .footer-bottom { flex-wrap: wrap; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } #journey-space { display: none; } .js .reveal { opacity: 1; transform: none; } }

/* ===== 制作サンプルの帯（Len.Design 2026-09-10 追加。style.css・walkthrough.cssの後に効かせる） ===== */
:root { --demo-bar: 34px; }
.demo-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: var(--demo-bar); display: flex; align-items: center; justify-content: center; padding: 0 12px; background: #1f3b5c; color: #fff; font-size: 12.5px; line-height: 1.4; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-bar a { color: #fff; font-weight: 700; }
.demo-bar-short { display: none; }
.site-header { top: var(--demo-bar); }
.scene-sticky { top: calc(82px + var(--demo-bar)); }
html { scroll-padding-top: calc(82px + var(--demo-bar)); }
@media (max-width: 900px) { .demo-bar { font-size: 11.5px; } .demo-bar-long { display: none; } .demo-bar-short { display: inline; } .js .global-nav { top: var(--demo-bar); } }
@media (max-width: 620px) { .hero { padding-top: calc(248px + var(--demo-bar)); } }
