/* 135 Kasumi Spatial — K10 ポスター（巨大な文字の面で区切る）。綺麗系。LP型（1枚もの）。
   色と書体は共通の13変数だけ。面の色は .t-ink / .t-fog が同じ名前の変数を上書きする */
:root {
  --c-bg: #f5f5f3;
  --c-bg-alt: #e8e8e5;
  --c-text: #374151;
  --c-sub: #4b5563;
  --c-line: #b9b9b4;
  --c-accent: #2b2d30;
  --c-accent-text: #50585b;
  --c-on-accent: #ffffff;
  --c-2: #8b9093;
  --c-3: #d9d9d5;
  --font-ja: "M PLUS 2", "Noto Sans JP", sans-serif;
  --font-head: "M PLUS 2", "Noto Sans JP", sans-serif;
  --font-en: "Lexend", "M PLUS 2", sans-serif;
  --header-h: 60px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}
.t-ink { --c-bg: #26282b; --c-bg-alt: #33363a; --c-text: #f1f1ee; --c-sub: #c7c8c5; --c-line: #5b5e62; --c-accent: #f5f5f3; --c-accent-text: #d4d6d3; --c-on-accent: #26282b; --c-2: #8b9093; --c-3: #44484c; }
.t-fog { --c-bg: #e8e8e5; --c-bg-alt: #f5f5f3; --c-text: #374151; --c-sub: #4b5563; --c-line: #a6a6a1; --c-accent: #2b2d30; --c-accent-text: #50585b; --c-on-accent: #ffffff; --c-2: #8b9093; --c-3: #d9d9d5; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 4px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--c-bg); color: var(--c-text); font-family: var(--font-ja); font-weight: 400; font-size: 16px; line-height: 2; overflow-x: hidden; }
figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, dd, dt, li, summary { word-break: auto-phrase; overflow-wrap: anywhere; }
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; padding: 0; font-weight: inherit; }
ul, ol { list-style: none; }
.fz { font-family: var(--font-ja); }
.en { font-family: var(--font-en); font-weight: 300; font-size: 15px; letter-spacing: .24em; text-transform: uppercase; color: var(--c-accent-text); margin-bottom: 18px; }
.wrap { width: min(100% - 40px, 1120px); margin: 0 auto; }
.wrap--narrow { width: min(100% - 40px, 720px); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; background: var(--c-accent); color: var(--c-on-accent); font-family: var(--font-ja); font-weight: 500; font-size: 16px; text-decoration: none; white-space: nowrap; flex: none; border: 1px solid var(--c-accent); border-radius: 2px; }
.btn--lg { min-height: 56px; padding: 0 36px; }

/* ===== ヘッダー ===== */
.header { position: fixed; inset: 0 0 auto 0; z-index: 30; height: var(--header-h); background: color-mix(in srgb, var(--c-bg) 92%, transparent); border-bottom: 1px solid var(--c-line); }
.header__inner { height: 100%; padding: 0 20px; display: flex; align-items: center; gap: 12px; position: relative; max-width: 1280px; margin: 0 auto; }
.logo { display: flex; align-items: baseline; gap: 12px; text-decoration: none; white-space: nowrap; flex: none; min-height: 44px; align-items: center; }
.logo__en { font-family: var(--font-en); font-weight: 300; font-size: 20px; letter-spacing: .08em; }
.logo__ja { display: none; font-size: 15px; color: var(--c-sub); }
.header__btn { display: none; margin-left: auto; min-height: 44px; padding: 0 18px; font-size: 15px; }
.spmenu { margin-left: auto; }
.spmenu { flex: none; }
.spmenu summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
.spmenu summary::-webkit-details-marker { display: none; }
.spmenu__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.spmenu__bar, .spmenu__bar::before, .spmenu__bar::after { display: block; width: 22px; height: 1px; background: currentColor; position: relative; }
.spmenu__bar::before, .spmenu__bar::after { content: ""; position: absolute; left: 0; }
.spmenu__bar::before { top: -7px; } .spmenu__bar::after { top: 7px; }
.spmenu[open] .spmenu__bar { background: transparent; }
.spmenu[open] .spmenu__bar::before { top: 0; transform: rotate(45deg); }
.spmenu[open] .spmenu__bar::after { top: 0; transform: rotate(-45deg); }
.spmenu__nav { position: absolute; right: 0; top: 100%; width: min(100%, 360px); background: var(--c-bg); border: 1px solid var(--c-line); padding: 6px 24px 16px; display: flex; flex-direction: column; }
.spmenu__nav a { display: flex; align-items: center; min-height: 50px; text-decoration: none; border-bottom: 1px solid var(--c-line); }
.spmenu__nav a:last-child { border-bottom: 0; }

/* ===== 1 メインビジュアル ===== */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; background: var(--c-bg-alt); }
.hero__photo { position: absolute; inset: 0; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--c-bg) 96%, transparent) 0%, color-mix(in srgb, var(--c-bg) 88%, transparent) 34%, transparent 72%); }
.hero__copy { position: relative; z-index: 2; padding: 0 20px 110px; max-width: 760px; }
.hero__title { font-family: var(--font-head); font-weight: 300; font-size: clamp(46px, 13vw, 96px); line-height: 1.2; letter-spacing: .02em; color: var(--c-accent); margin-bottom: 18px; }
.hero__lead { margin-bottom: 26px; max-width: 30em; }
/* A01：丸窓が開き、そのあと奥へ歩くように寄る。JS が is-motion を付けたときだけ */
.is-motion .hero__photo { animation: win 1.8s var(--ease) both; }
.is-motion .hero__photo img { animation: walk 26s linear 1.2s both; }
.is-motion .hero__copy { animation: copyin 1.2s var(--ease) 1s both; }
@keyframes win { from { clip-path: circle(9% at 50% 38%); } to { clip-path: circle(100% at 50% 38%); } }
@keyframes walk { from { transform: scale(1); } to { transform: scale(1.16); } }
@keyframes copyin { from { opacity: 0; } to { opacity: 1; } }

/* ===== ポスター面 ===== */
.poster { background: var(--c-bg); color: var(--c-text); padding: 96px 0; min-height: 90svh; display: flex; align-items: center; }
.poster__in { width: min(100% - 40px, 1280px); margin: 0 auto; }
.mega { font-family: var(--font-head); font-weight: 300; font-size: clamp(38px, 12vw, 200px); line-height: 1.12; letter-spacing: .01em; color: var(--c-text); margin-bottom: 40px; }
.poster__lead { max-width: 34em; margin-bottom: 32px; font-size: clamp(16px, 2.2vw, 20px); color: var(--c-sub); }
.worries { display: grid; gap: 0; border-top: 1px solid var(--c-line); max-width: 760px; }
.worries li { padding: 18px 0; border-bottom: 1px solid var(--c-line); color: var(--c-sub); font-size: clamp(16px, 2vw, 19px); }
.cases { border-top: 1px solid var(--c-line); max-width: 760px; }
.cases li { display: flex; gap: 20px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--c-line); color: var(--c-sub); }
.cases .en { margin: 0; flex: none; }
.note { margin-top: 18px; font-size: 15px; color: var(--c-sub); }
.poster--end .info { margin: 44px 0 0; max-width: 640px; border-top: 1px solid var(--c-line); }
.info > div { display: grid; grid-template-columns: 5em minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--c-line); }
.info dt { color: var(--c-accent-text); }
.info dd { color: var(--c-sub); }

/* ===== 見出し・共通 ===== */
.h2 { font-family: var(--font-head); font-weight: 300; font-size: clamp(30px, 6vw, 52px); line-height: 1.4; letter-spacing: .04em; margin-bottom: 36px; color: var(--c-accent); }

/* ===== 4 制作の流れ（スマホ・JSなし：段ごとに縦並び） ===== */
.flow { background: var(--c-bg); padding: 96px 0; }
.flow__in { width: min(100% - 40px, 1280px); margin: 0 auto; }
.flow__view { display: none; }
.steps { display: grid; gap: 48px; }
.step { display: grid; gap: 8px; }
.step__fig { aspect-ratio: 3 / 2; overflow: hidden; background: var(--c-bg-alt); margin-bottom: 10px; }
.step__fig img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.85); }
.step__fig--no { display: grid; place-items: center; }
.step__no { display: none; }
.view__no { font-family: var(--font-en); font-weight: 200; font-size: 22vw; line-height: 1; color: var(--c-accent-text); }
.step h3 { font-family: var(--font-head); font-weight: 300; font-size: 26px; color: var(--c-accent); }
.step p { color: var(--c-sub); }

/* ===== 声 ===== */
.voice { background: var(--c-bg); padding: 0 0 96px; }
.vslider { overflow: hidden; }
.vslider .swiper { padding: 0 20px; max-width: 1280px; margin: 0 auto; overflow: visible; }
.vslider .swiper-slide { width: min(300px, 80vw); height: auto; }
.vcard { height: 100%; padding: 28px 24px; border: 1px solid var(--c-line); background: var(--c-bg-alt); display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.vcard__who { font-size: 15px; color: var(--c-sub); }
.vslider:not(.is-swiper) .swiper-wrapper { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; padding-bottom: 8px; }
.vslider:not(.is-swiper) .swiper-slide { flex: 0 0 min(300px, 80vw); scroll-snap-align: start; }
.vslider__ctrl { display: flex; align-items: center; gap: 10px; margin-top: 28px; }
.vslider__ctrl[hidden] { display: none; }
.vslider__dots { flex: 1; display: flex; }
.vslider__dots .swiper-pagination-bullet { width: 44px; height: 44px; margin: 0 !important; background: transparent; opacity: 1; position: relative; }
.vslider__dots .swiper-pagination-bullet::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px; border-radius: 50%; border: 1px solid var(--c-accent); }
.vslider__dots .swiper-pagination-bullet-active::after { background: var(--c-accent); }
.ctrl { white-space: nowrap; flex: none; min-width: 44px; min-height: 44px; padding: 0 14px; border: 1px solid var(--c-line); background: transparent; color: var(--c-text); font: inherit; cursor: pointer; border-radius: 2px; }

/* ===== 料金 ===== */
.price { background: var(--c-bg); padding: 96px 0; }
.plans { display: grid; gap: 16px; }
.plan { padding: 28px 24px; background: var(--c-bg-alt); border: 1px solid var(--c-line); position: relative; }
.plan--rec { border-color: var(--c-accent); }
.plan__tag { position: absolute; right: 16px; top: -14px; padding: 2px 12px; background: var(--c-accent); color: var(--c-on-accent); font-size: 15px; }
.plan h3 { font-family: var(--font-head); font-weight: 400; font-size: 22px; color: var(--c-accent); }
.plan__yen { font-family: var(--font-en); font-weight: 200; font-size: 36px; line-height: 1.5; color: var(--c-accent); }
.plan__term { margin-top: 8px; color: var(--c-sub); font-size: 15px; }
.price__cta { margin-top: 32px; }

/* ===== 質問 ===== */
.faq { background: var(--c-bg); padding: 96px 0; }
.qa { border-top: 1px solid var(--c-line); }
.qa:last-of-type { border-bottom: 1px solid var(--c-line); }
.qa summary { cursor: pointer; padding: 18px 40px 18px 0; position: relative; list-style: none; min-height: 52px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 8px; top: 16px; font-family: var(--font-en); font-weight: 200; font-size: 24px; }
.qa[open] summary::after { content: "−"; }
.qa p { padding: 0 0 20px; color: var(--c-sub); }

/* ===== フッター・固定ボタン ===== */
.footer { background: var(--c-bg); color: var(--c-text); border-top: 1px solid var(--c-line); padding: 36px 20px 120px; text-align: center; }
.footer__logo { margin: 0 0 8px; }
.footer__fiction { font-size: 15px; color: var(--c-sub); }
.fixcta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding: 10px 20px calc(10px + env(safe-area-inset-bottom)); background: var(--c-bg); border-top: 1px solid var(--c-line); }
.fixcta .btn { width: 100%; }

@media (min-width: 768px) {
  .header__btn { display: inline-flex; }
  .spmenu { margin-left: 0; }
  .logo__ja { display: inline; }
  .plans { grid-template-columns: repeat(3, 1fr); }
  .view__no { font-size: 140px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .header__inner { padding: 0 40px; }
}
@media (min-width: 1080px) {
  .fixcta { display: none; }
  .footer { padding-bottom: 36px; }
  .spmenu { display: none; }
  .poster { min-height: 100svh; }
  .hero__copy { padding: 0 64px 72px; }

  /* B03：JS が is-flow を付けたとき、左を固定して右の段を読むと切り替わる */
  .is-flow .flow__in { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: start; }
  .is-flow .flow__view { display: block; position: sticky; top: calc(var(--header-h) + 40px); height: calc(100svh - var(--header-h) - 80px); background: var(--c-bg-alt); overflow: hidden; border: 1px solid var(--c-line); }
  .is-flow .view__layer { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .9s var(--ease); }
  .is-flow .view__layer.is-on { opacity: 1; }
  .is-flow .view__layer img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.85); }
  .is-flow .view__no { font-size: clamp(160px, 20vw, 320px); }
  .is-flow .flow__body { order: 2; padding-top: 0; }
  .is-flow .steps { grid-template-columns: 1fr; gap: 0; }
  .is-flow .step { min-height: 62svh; align-content: center; padding: 24px 0; border-top: 1px solid var(--c-line); }
  .is-flow .step__fig { display: none; }
  .is-flow .step__no { display: block; margin: 0; }
  .is-flow .step h3 { font-size: 40px; }
  .is-flow .step p { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .is-motion .hero__photo, .is-motion .hero__photo img, .is-motion .hero__copy { animation: none; }
  .view__layer { transition: none; }
}
