/* ============================================
   メモリアム ペット（仮）
   ― あの子の話を、聴かせてください。
   本体サイト「メモリアム」のデザイン言語を継承
   （白磁と墨／箱をやめて余白で区切る／灯色は5%だけ）
   ============================================ */
:root {
  --bg: #fcfbf8;
  --bg-warm: #f6f3ec;
  --ink: #1f1d1a;
  --ink-soft: #6d675e;
  --flame: #b78a3f;
  --hairline: rgba(31, 29, 26, .14);
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  background: var(--bg);
  color: var(--ink);
  line-height: 2.1;
  letter-spacing: .06em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 5vw;
  transition: background .5s ease, padding .5s ease;
}
.site-header.is-scrolled {
  background: rgba(252, 251, 248, .92);
  backdrop-filter: blur(10px);
  padding: 14px 5vw;
  border-bottom: 1px solid var(--hairline);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark { width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; }
.brand .b-name { font-family: var(--serif); font-size: 1.05rem; letter-spacing: .26em; }
.brand .b-name small { font-size: .62em; letter-spacing: .2em; opacity: .75; margin-left: .5em; }
.hero-on .site-header:not(.is-scrolled) .b-name { color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.35); }

.global-nav ul { display: flex; gap: 34px; list-style: none; align-items: center; }
.global-nav a { font-size: .8rem; letter-spacing: .18em; font-weight: 400; position: relative; padding: 4px 0; }
.global-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 50%; bottom: -2px; width: 0; height: 1px;
  background: currentColor; transition: width .4s ease, left .4s ease;
}
.global-nav a:not(.nav-cta):hover::after { width: 100%; left: 0; }
.hero-on .site-header:not(.is-scrolled) .global-nav a { color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.35); }
.nav-cta { border: 1px solid currentColor; padding: 10px 26px !important; letter-spacing: .22em; border-radius: 6px; transition: background .4s ease, color .4s ease, border-color .4s ease; }
.site-header.is-scrolled .nav-cta { border-color: var(--ink); }
.site-header.is-scrolled .nav-cta:hover { background: var(--ink); color: var(--bg); }
.hero-on .site-header:not(.is-scrolled) .nav-cta:hover { background: rgba(255,255,255,.92); color: var(--ink); text-shadow: none; }
.nav-toggle { display: none; }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative; height: 100svh; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; text-align: center; padding: 0;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.06);
  transition: opacity 2.4s ease, transform 8s linear;
}
.hero-slide.on { opacity: 1; transform: scale(1.0); }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(22, 19, 15, .42); }
.hero-inner { position: relative; z-index: 2; color: #fff; padding: 0 6vw; }
.hero h1 {
  font-size: clamp(1.9rem, 5.2vw, 3.6rem);
  letter-spacing: .28em; line-height: 1.95; font-weight: 500;
  text-shadow: 0 2px 24px rgba(0,0,0,.4);
  opacity: 0; animation: heroRise 2s ease .8s forwards;
}
.hero .h-sub {
  margin-top: 26px; font-size: clamp(.8rem, 1.5vw, .95rem);
  letter-spacing: .26em; font-weight: 300; color: rgba(255,255,255,.9);
  line-height: 2.4;
  opacity: 0; animation: heroRise 2s ease 1.6s forwards;
}
.hero .h-cta {
  display: inline-block; margin-top: 48px; border-radius: 6px;
  border: 1px solid rgba(255,255,255,.85); color: #fff;
  padding: 16px 54px; font-size: .84rem; letter-spacing: .28em;
  transition: background .5s ease, color .5s ease;
  opacity: 0; animation: heroRise 2s ease 2.4s forwards;
}
.hero .h-cta:hover { background: rgba(255,255,255,.94); color: var(--ink); }
@keyframes heroRise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes heroRiseCentered { from { opacity: 0; transform: translate(-50%, 24px); } to { opacity: 1; transform: translate(-50%, 0); } }
.hero-scroll {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 2;
  color: rgba(255,255,255,.75); font-size: .6rem; letter-spacing: .4em;
  opacity: 0; animation: heroRiseCentered 2s ease 3s forwards;
}
.hero-scroll::after {
  content: ""; display: block; width: 1px; height: 52px; margin: 10px auto 0;
  background: linear-gradient(to bottom, rgba(255,255,255,.8), transparent);
  animation: heroLine 2.6s ease infinite;
}
@keyframes heroLine { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: top; } 56% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ヒーロー上部：流入チャネルバー */
.hero-utility {
  position: absolute; top: 104px; left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; align-items: stretch;
  background: rgba(255,255,255,.1); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.42); border-radius: 999px;
  padding: 8px; opacity: 0; animation: heroRiseCentered 2s ease 2s forwards;
}
.hero-utility .hu-item {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 148px; padding: 14px 20px; border-radius: 999px; color: #fff;
  font-size: .82rem; letter-spacing: .1em; white-space: nowrap;
  transition: background .35s ease;
}
.hero-utility .hu-item:hover { background: rgba(255,255,255,.18); }
.hero-utility .hu-item svg { width: 19px; height: 19px; stroke: #fff; fill: none; flex-shrink: 0; }
.hero-utility .hu-divider { width: 1px; margin: 10px 0; background: rgba(255,255,255,.32); flex-shrink: 0; }
@media (max-width: 860px) {
  .hero-utility { top: 86px; padding: 6px; }
  .hero-utility .hu-item { width: 52px; padding: 12px; font-size: 0; gap: 0; }
}
/* 背の低いビューポートでチャネルバーと見出しが重ならないようにする */
@media (max-height: 800px) {
  .hero-utility { top: 84px; }
  .hero-inner { padding-top: 76px; }
  .hero .h-cta { margin-top: 36px; }
  .hero-scroll { display: none; }
}
/* 狭い画面：見出しの字間を詰めて横あふれを防ぐ */
@media (max-width: 640px) {
  .hero h1 { font-size: 1.62rem; letter-spacing: .16em; line-height: 2.1; }
  .hero .h-sub { font-size: .76rem; letter-spacing: .16em; margin-top: 20px; }
  .hero .h-cta { padding: 15px 44px; letter-spacing: .22em; }
  .sec-title { letter-spacing: .16em; }
  .statement .st-line { letter-spacing: .12em; }
  .mem-hero h1 { letter-spacing: .16em; }
  .mem-hero .mh-date { font-size: .72rem; letter-spacing: .18em; }
}

/* ---------- 共通 ---------- */
section { padding: 150px 6vw; }
.sec-label {
  display: block; text-align: center;
  font-size: .64rem; letter-spacing: .5em; color: var(--flame);
  margin-bottom: 30px; font-weight: 400;
}
.sec-title {
  text-align: center; font-size: clamp(1.45rem, 3.1vw, 2.05rem);
  letter-spacing: .24em; line-height: 1.95; margin-bottom: 26px;
}
.sec-lead { text-align: center; font-size: .9rem; color: var(--ink-soft); letter-spacing: .12em; line-height: 2.3; }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1.1s ease, transform 1.1s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.rv1 { transition-delay: .15s; } .rv2 { transition-delay: .3s; } .rv3 { transition-delay: .45s; }

/* ---------- ステートメント ---------- */
.statement { padding: 180px 6vw; text-align: center; }
.st-line {
  font-family: var(--serif); font-size: clamp(1.2rem, 2.9vw, 1.85rem);
  letter-spacing: .2em; line-height: 2.4; color: var(--ink);
  opacity: 0; transform: translateY(26px);
  transition: opacity 1.4s ease, transform 1.4s ease;
}
.st-line + .st-line { margin-top: 62px; }
.st-line.is-visible { opacity: 1; transform: none; }
.st-line .flame { color: var(--flame); }
.statement.js-scrub .st-line { opacity: 1; transform: none; transition: none; }
.st-line .ch { color: rgba(31,29,26,.13); transition: color .5s ease; }
.st-line .ch.on { color: var(--ink); }
.st-line .flame .ch { color: rgba(183,138,63,.2); }
.st-line .flame .ch.on { color: var(--flame); }

/* ---------- PHILOSOPHY ---------- */
.reasons-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; max-width: 1040px; margin: 0 auto; }
.reason { text-align: center; position: relative; }
.reason:nth-child(2) { transform: translateY(56px); }
@media (max-width: 900px) { .reason:nth-child(2) { transform: none; } }
.reason .r-no {
  font-family: var(--serif); font-size: clamp(3.4rem, 7vw, 5rem); font-weight: 500;
  color: rgba(31,29,26,.07); line-height: 1; display: block; margin-bottom: -.3em; letter-spacing: 0;
}
.reason .r-img {
  aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 34px; position: relative;
  border-radius: 2px; box-shadow: 0 24px 60px -20px rgba(31,29,26,.28);
}
.reason .r-img img {
  width: 100%; height: 100%; object-fit: cover; filter: saturate(.9);
  transition: transform 1.8s cubic-bezier(.16,1,.3,1);
}
.reason:hover .r-img img { transform: scale(1.07); }
.reason h3 {
  font-size: 1.55rem; letter-spacing: .5em; text-indent: .5em; margin-bottom: 18px;
  opacity: 0; transform: translateY(14px); transition: opacity .9s ease .1s, transform .9s ease .1s;
}
.reason.is-visible h3 { opacity: 1; transform: none; }
.reason p {
  font-size: .84rem; color: var(--ink-soft); letter-spacing: .08em; line-height: 2.3;
  max-width: 290px; margin: 0 auto;
  opacity: 0; transform: translateY(14px); transition: opacity .9s ease .25s, transform .9s ease .25s;
}
.reason.is-visible p { opacity: 1; transform: none; }
.reasons-line { max-width: 1040px; margin: 0 auto 90px; height: 1px; background: var(--hairline); position: relative; overflow: hidden; }
.reasons-line::after {
  content: ""; position: absolute; inset: 0; background: var(--flame);
  transform: scaleX(0); transform-origin: left; transition: transform 1.6s cubic-bezier(.16,1,.3,1);
}
.reasons-line.is-visible::after { transform: scaleX(1); }

/* ---------- 思い出インタビュー（このサービスの核） ---------- */
.interview { background: var(--bg-warm); }
.iv-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; max-width: 1080px; margin: 0 auto; align-items: start; }
.iv-visual { position: sticky; top: 120px; }
.iv-visual .iv-img { aspect-ratio: 3 / 4; overflow: hidden; border-radius: 4px; }
.iv-visual .iv-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92); }
.iv-visual .iv-cap { margin-top: 18px; font-size: .7rem; color: var(--ink-soft); letter-spacing: .1em; line-height: 2; }
.iv-lead { font-family: var(--serif); font-size: clamp(1.1rem, 2.2vw, 1.45rem); letter-spacing: .16em; line-height: 2.2; margin-bottom: 30px; }
.iv-body { font-size: .86rem; color: var(--ink-soft); letter-spacing: .08em; line-height: 2.4; margin-bottom: 46px; }
.iv-qtitle { font-size: .66rem; letter-spacing: .44em; color: var(--flame); margin-bottom: 26px; }
.iv-q { list-style: none; border-top: 1px solid var(--hairline); }
.iv-q li {
  border-bottom: 1px solid var(--hairline); padding: 17px 4px 17px 34px;
  font-size: .88rem; letter-spacing: .08em; position: relative; line-height: 2;
}
.iv-q li::before {
  content: "「"; position: absolute; left: 4px; top: 15px; color: var(--flame);
  font-family: var(--serif); font-size: 1rem;
}
.iv-note {
  margin-top: 40px; padding: 26px 28px; border-left: 2px solid var(--flame);
  background: rgba(183,138,63,.06); border-radius: 0 4px 4px 0;
  font-size: .82rem; color: var(--ink-soft); line-height: 2.3; letter-spacing: .06em;
}
.iv-note strong { color: var(--ink); font-weight: 500; }
@media (max-width: 900px) {
  .iv-wrap { grid-template-columns: 1fr; gap: 44px; }
  .iv-visual { position: static; }
  .iv-visual .iv-img { aspect-ratio: 16 / 10; }
}

/* ---------- 流れ（sticky） ---------- */
.flow { background: var(--bg); }
.flow-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; max-width: 1060px; margin: 0 auto; }
.flow-visual { position: relative; }
.flow-visual-inner { position: sticky; top: 120px; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; }
.flow-img { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.1s ease; }
.flow-img.on { opacity: 1; }
.flow-steps-col { display: flex; flex-direction: column; }
.flow-step { padding: 10vh 0; border-bottom: 1px solid var(--hairline); }
.flow-step:last-child { border-bottom: none; }
.flow-step .f-no { font-size: .64rem; letter-spacing: .44em; color: var(--flame); display: block; margin-bottom: 16px; }
.flow-step h3 { font-size: 1.28rem; letter-spacing: .18em; margin-bottom: 16px; line-height: 1.95; }
.flow-step p { font-size: .86rem; color: var(--ink-soft); letter-spacing: .08em; }
.flow-step.is-key h3 { color: var(--ink); }
.flow-step.is-key .f-no::after { content: "　― いちばん時間をかけます"; letter-spacing: .12em; }
.flow-step .f-mobile-img { display: none; }
.flow-note { text-align: center; margin-top: 80px; font-size: .82rem; color: var(--ink-soft); letter-spacing: .12em; line-height: 2.3; }
.flow-note strong { color: var(--ink); font-weight: 500; }
.flow-step .f-link {
  display: inline-block; margin-top: 10px; color: var(--flame); font-size: .8rem;
  letter-spacing: .1em; border-bottom: 1px solid rgba(183,138,63,.4); padding-bottom: 2px;
  transition: border-color .3s ease;
}
.flow-step .f-link:hover { border-bottom-color: var(--flame); }
.f-callout {
  margin-top: 24px; padding: 22px 24px; border-left: 2px solid var(--flame);
  background: rgba(183,138,63,.07); border-radius: 0 4px 4px 0;
  font-size: .8rem; color: var(--ink-soft); line-height: 2.2; letter-spacing: .05em;
}
.f-callout strong { display: block; color: var(--ink); font-weight: 500; margin-bottom: 4px; }

/* ---------- 作品例 ---------- */
.works { background: var(--bg-warm); }
.work-feature {
  display: grid; grid-template-columns: 1.15fr .85fr; max-width: 1060px; margin: 0 auto;
  background: #fff; border: 1px solid var(--hairline); border-radius: 8px; overflow: hidden;
  box-shadow: 0 18px 50px -28px rgba(31,29,26,.4);
  transition: transform .5s ease, box-shadow .5s ease;
}
.work-feature:hover { transform: translateY(-4px); box-shadow: 0 26px 60px -28px rgba(31,29,26,.45); }
.work-feature .wf-img { position: relative; overflow: hidden; min-height: 440px; }
.work-feature .wf-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s ease; }
.work-feature:hover .wf-img img { transform: scale(1.05); }
.work-feature .wf-text { padding: 60px 48px; display: flex; flex-direction: column; justify-content: center; }
.work-feature .wf-kind { font-size: .62rem; letter-spacing: .4em; color: var(--flame); margin-bottom: 20px; }
.work-feature .wf-text h3 { font-size: 1.3rem; letter-spacing: .14em; line-height: 1.9; margin-bottom: 18px; }
.work-feature .wf-text p { font-size: .82rem; color: var(--ink-soft); letter-spacing: .06em; line-height: 2.2; }
.work-feature .wf-more {
  display: inline-block; margin-top: 34px; font-size: .72rem; letter-spacing: .28em;
  border: 1px solid var(--ink); border-radius: 6px; padding: 13px 34px; align-self: flex-start;
  transition: background .4s ease, color .4s ease;
}
.work-feature:hover .wf-more { background: var(--ink); color: var(--bg); }
.fiction-note { text-align: center; margin-top: 40px; font-size: .7rem; color: var(--ink-soft); letter-spacing: .14em; }
@media (max-width: 860px) {
  .work-feature { grid-template-columns: 1fr; }
  .work-feature .wf-img { min-height: 260px; aspect-ratio: 4/3; }
  .work-feature .wf-text { padding: 42px 30px; }
}

/* ---------- 料金 ---------- */
#price { background: linear-gradient(180deg, var(--bg) 0%, #f5f0e6 16%, #f5f0e6 84%, var(--bg) 100%); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; max-width: 1060px; margin: 0 auto; }
.plans.plans-2 { grid-template-columns: repeat(2, 1fr); gap: 26px; max-width: 820px; }
.plan {
  padding: 58px 30px 46px; text-align: center; cursor: pointer; position: relative;
  background: #fff; border: 1px solid var(--hairline);
  box-shadow: 0 8px 32px rgba(31,29,26,.05);
  transition: background .5s ease, box-shadow .5s ease, transform .5s ease;
  display: flex; flex-direction: column; align-items: center; border-radius: 8px;
}
.plan::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 46px; height: 2px; background: var(--flame); opacity: .5; border-radius: 0 0 2px 2px;
}
.plan:hover { box-shadow: 0 16px 44px rgba(31,29,26,.1); transform: translateY(-4px); }
.plan.recommend { background: linear-gradient(180deg, #fff 0%, #fbf6ec 100%); border-color: rgba(183,138,63,.45); box-shadow: 0 14px 44px rgba(183,138,63,.14); }
.plan.recommend::before { width: calc(100% - 2px); opacity: .75; }
.plan .p-rank { font-size: .62rem; letter-spacing: .5em; color: var(--flame); display: block; margin-bottom: 20px; }
.plan .p-pop {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: var(--bg); font-size: .62rem; letter-spacing: .26em;
  padding: 6px 22px; white-space: nowrap; font-weight: 400; border-radius: 3px;
}
.plan h3 { font-size: 1.22rem; letter-spacing: .16em; margin-bottom: 24px; white-space: nowrap; }
.plan .p-price { font-family: var(--serif); font-size: 1.85rem; letter-spacing: .06em; }
.plan .p-price small { font-size: .58rem; color: var(--ink-soft); letter-spacing: .14em; font-family: var(--sans); }
.plan .p-desc { margin: 22px 0 26px; width: 100%; font-size: .78rem; color: var(--ink-soft); line-height: 2.1; letter-spacing: .06em; min-height: 4.2em; }
.plan ul { list-style: none; text-align: left; display: inline-block; flex: 1; }
.plan li { font-size: .78rem; padding: 7px 0 7px 22px; position: relative; letter-spacing: .05em; line-height: 1.95; }
.plan li::before { content: "―"; position: absolute; left: 0; color: var(--flame); }
.plan li.p-opt { color: var(--ink-soft); font-size: .72rem; margin-top: 6px; }
.plan li.p-opt::before { content: "＋"; font-size: .7rem; top: 8px; }
.plan .p-select {
  display: inline-block; margin-top: auto; border-radius: 6px; font-size: .72rem; letter-spacing: .3em;
  border: 1px solid var(--ink); padding: 11px 32px; transition: background .4s ease, color .4s ease;
}
.plan:hover .p-select { background: var(--ink); color: var(--bg); }
.plans .plan { opacity: 0; transform: translateY(30px); }
.plans.is-visible .plan { opacity: 1; transform: translateY(0); transition: opacity 1.1s ease, transform 1.1s ease, box-shadow .5s ease; }
.plans.is-visible .plan:nth-child(2) { transition-delay: .14s, .14s, 0s; }
.plans.is-visible .plan:nth-child(3) { transition-delay: .28s, .28s, 0s; }
.plans.is-visible .plan:hover { transform: translateY(-4px); transition: transform .5s ease, box-shadow .5s ease; transition-delay: 0s; }
.sim-note { font-size: .74rem; color: var(--ink-soft); letter-spacing: .08em; line-height: 2.2; }

/* ---------- 約束 ---------- */
.promise { background: #1f1d1a; color: #e9e4da; }
.promise .sec-label { color: #c9a45e; }
.promise .sec-title { color: #f3efe6; }
.promise-visual { max-width: 760px; margin: 0 auto 70px; aspect-ratio: 21 / 9; overflow: hidden; border-radius: 8px; }
.promise-visual img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92); }
.promise-list { max-width: 700px; margin: 70px auto 0; }
.promise-item { display: flex; gap: 34px; padding: 34px 0; border-bottom: 1px solid rgba(233,228,218,.16); align-items: baseline; }
.promise-item:last-child { border-bottom: none; }
.promise-item .no { font-family: var(--serif); color: #c9a45e; font-size: 1.05rem; flex-shrink: 0; }
.promise-item h3 { font-size: 1rem; letter-spacing: .2em; margin-bottom: 10px; color: #f3efe6; }
.promise-item p { font-size: .8rem; color: #b6afa2; letter-spacing: .08em; line-height: 2.1; font-weight: 300; }
@media (max-width: 860px) { .promise-visual { aspect-ratio: 16 / 9; margin-bottom: 50px; } }

/* ---------- 声 ---------- */
.voices-rail {
  display: flex; gap: 3px; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0 -6vw; padding: 0 6vw;
}
.voices-rail::-webkit-scrollbar { display: none; }
.voice { flex: 0 0 min(560px, 86vw); scroll-snap-align: center; background: var(--bg-warm); padding: 66px 56px; border-radius: 4px; }
.voice p { font-family: var(--serif); font-size: 1rem; line-height: 2.6; letter-spacing: .1em; }
.voice .v-who { margin-top: 32px; }
.voice .v-who span { font-size: .72rem; color: var(--ink-soft); letter-spacing: .1em; line-height: 1.9; }
.voices-nav { display: flex; justify-content: center; gap: 20px; margin-top: 44px; }
.voices-nav button {
  width: 46px; height: 46px; border: 1px solid var(--hairline); background: transparent; border-radius: 6px;
  cursor: pointer; font-size: .9rem; color: var(--ink);
  transition: border-color .3s ease, background .3s ease, color .3s ease;
}
.voices-nav button:hover { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.voice-note { text-align: center; margin-top: 26px; font-size: .68rem; color: var(--ink-soft); letter-spacing: .1em; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 720px; margin: 0 auto; border-top: 1px solid var(--hairline); }
.faq-list details { border-bottom: 1px solid var(--hairline); }
.faq-list summary {
  cursor: pointer; list-style: none; padding: 28px 44px 28px 4px;
  font-size: .9rem; letter-spacing: .1em; font-weight: 400; position: relative; line-height: 1.9;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "＋"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  color: var(--flame); font-weight: 300; transition: transform .3s ease;
}
.faq-list details[open] summary::after { content: "－"; }
.faq-list .a-body { padding: 0 4px 30px; font-size: .82rem; color: var(--ink-soft); letter-spacing: .06em; line-height: 2.2; }

/* ---------- 相談・フォーム ---------- */
.contact { background: var(--bg-warm); }
.channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 620px; margin: 0 auto 64px; }
.channel {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 30px 12px 24px; border: 1px solid var(--hairline); border-radius: 8px;
  background: #fff; transition: border-color .35s ease, transform .35s ease, box-shadow .35s ease;
}
.channel:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: 0 14px 32px -18px rgba(31,29,26,.3); }
.channel .c-icon {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg); border: 1px solid var(--hairline);
  transition: background .35s ease, border-color .35s ease;
}
.channel .c-icon svg { width: 20px; height: 20px; stroke: var(--ink); fill: none; }
.channel:hover .c-icon { background: var(--ink); border-color: var(--ink); }
.channel:hover .c-icon svg { stroke: var(--bg); }
.channel.channel-line:hover .c-icon { background: #06c755; border-color: #06c755; }
.channel.channel-instagram:hover .c-icon { background: #d6249f; border-color: #d6249f; }
.channel .c-label { font-size: .78rem; letter-spacing: .12em; }
.channel .c-sub { font-size: .62rem; color: var(--ink-soft); letter-spacing: .08em; }
@media (max-width: 640px) {
  .channels { grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 420px; }
  .channel { padding: 22px 10px 18px; }
  .channel:last-child { grid-column: 1 / -1; }
}

.contact-form { max-width: 620px; margin: 70px auto 0; }
.contact-form .row { margin-bottom: 30px; }
.contact-form label { display: block; font-size: .74rem; letter-spacing: .24em; margin-bottom: 10px; color: var(--ink); }
.contact-form label .req { color: var(--flame); font-size: .62rem; margin-left: 10px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 15px 4px; border: none; border-bottom: 1px solid var(--hairline);
  background: transparent; color: var(--ink);
  font-family: var(--sans); font-weight: 300; font-size: .95rem; letter-spacing: .04em;
  transition: border-color .3s ease; border-radius: 0;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-bottom-color: var(--ink); }
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form .submit-row { text-align: center; margin-top: 50px; }
.contact-form button[type="submit"] {
  background: var(--ink); color: var(--bg); border: none; cursor: pointer; border-radius: 6px;
  padding: 18px 76px; font-size: .84rem; letter-spacing: .32em; font-family: var(--sans);
  transition: opacity .4s ease;
}
.contact-form button[type="submit"]:hover { opacity: .82; }
.contact-form .f-note { text-align: center; margin-top: 22px; font-size: .68rem; color: var(--ink-soft); letter-spacing: .08em; line-height: 2; }
.contact-form .f-note a { text-decoration: underline; text-underline-offset: 3px; }
.form-thanks { display: none; text-align: center; padding: 60px 20px; }
.form-thanks.show { display: block; }
.form-thanks h3 { font-size: 1.15rem; letter-spacing: .26em; margin-bottom: 16px; }
.form-thanks p { font-size: .84rem; color: var(--ink-soft); }

/* ---------- フッター ---------- */
.site-footer { padding: 90px 6vw 40px; text-align: center; }
.site-footer .f-name { font-family: var(--serif); font-size: 1.25rem; letter-spacing: .36em; }
.site-footer .f-tag { font-size: .66rem; letter-spacing: .3em; color: var(--ink-soft); margin-top: 12px; }
.site-footer .f-links { display: flex; justify-content: center; gap: 30px; margin: 44px 0; flex-wrap: wrap; }
.site-footer .f-links a { font-size: .72rem; letter-spacing: .16em; color: var(--ink-soft); transition: color .3s ease; }
.site-footer .f-links a:hover { color: var(--ink); }
.site-footer .f-company { font-size: .7rem; color: var(--ink-soft); letter-spacing: .1em; line-height: 2.2; }
.site-footer .f-sister {
  max-width: 560px; margin: 0 auto 40px; padding: 26px 24px;
  border: 1px solid var(--hairline); border-radius: 8px; background: var(--bg-warm);
}
.site-footer .f-sister .fs-label {
  display: block; font-size: .58rem; letter-spacing: .44em; color: var(--flame); margin-bottom: 12px;
}
.site-footer .f-sister a {
  display: inline-block; font-family: var(--serif); font-size: .95rem; letter-spacing: .12em;
  line-height: 1.9; border-bottom: 1px solid var(--hairline); padding-bottom: 3px;
  transition: border-color .3s ease;
}
.site-footer .f-sister a:hover { border-bottom-color: var(--ink); }
.site-footer .f-sister .fs-desc {
  display: block; margin-top: 12px; font-size: .7rem; color: var(--ink-soft); letter-spacing: .08em; line-height: 2;
}
.site-footer .f-legal {
  margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--hairline);
  font-size: .62rem; color: var(--ink-soft); letter-spacing: .06em; line-height: 2;
}

/* ---------- 追従CTA ---------- */
.sticky-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: rgba(252,251,248,.96); border-top: 1px solid var(--hairline);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); backdrop-filter: blur(8px);
}
.sticky-cta a {
  display: block; background: var(--ink); color: var(--bg); text-align: center; border-radius: 6px;
  padding: 15px 0; font-size: .82rem; letter-spacing: .3em;
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 900px) {
  section { padding: 100px 6vw; }
  .statement { padding: 120px 6vw; }
  .st-line + .st-line { margin-top: 44px; }
  .reasons-grid { grid-template-columns: 1fr; gap: 70px; max-width: 440px; }
  .flow-wrap { grid-template-columns: 1fr; gap: 0; }
  .flow-visual { display: none; }
  .flow-step { padding: 44px 0; }
  .flow-step .f-mobile-img { display: block; margin-top: 24px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; border-radius: 4px; }
  .flow-step.is-key .f-no::after { content: "　― いちばん時間をかけます"; display: block; margin-top: 4px; }
  .plans, .plans.plans-2 { grid-template-columns: 1fr; gap: 26px; }
  .plan.recommend { order: -1; }
  .voice { padding: 44px 28px; }

  .nav-toggle { display: block; z-index: 300; background: none; border: none; cursor: pointer; width: 40px; height: 40px; position: relative; }
  .nav-toggle span { position: absolute; left: 8px; width: 24px; height: 1px; background: var(--ink); transition: all .35s ease; }
  .hero-on .site-header:not(.is-scrolled) .nav-toggle span { background: #fff; }
  body.nav-open .nav-toggle span { background: var(--ink); }
  .nav-toggle span:nth-child(1) { top: 14px; }
  .nav-toggle span:nth-child(2) { top: 20px; }
  .nav-toggle span:nth-child(3) { top: 26px; }
  body.nav-open .nav-toggle span:nth-child(1) { top: 20px; transform: rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { top: 20px; transform: rotate(-45deg); }
  .global-nav {
    position: fixed; inset: 0; z-index: 200; background: rgba(252,251,248,.98);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity .4s ease;
  }
  body.nav-open .global-nav { opacity: 1; pointer-events: all; }
  .global-nav ul { flex-direction: column; gap: 34px; }
  .global-nav a { color: var(--ink) !important; text-shadow: none !important; font-size: 1rem; }

  .sticky-cta { display: block; }
  body { padding-bottom: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .st-line { opacity: 1; transform: none; transition: none; }
  .hero-slide { transition: opacity .5s ease; transform: none; }
  .hero h1, .hero .h-sub, .hero .h-cta, .hero-scroll, .hero-utility { animation-duration: .01s; animation-delay: 0s; }
  .st-line .ch, .st-line .flame .ch { color: inherit; transition: none; }
  .plans .plan { opacity: 1; transform: none; }
}

/* ============================================
   カスタマイズページ
   ============================================ */
.customize-main { max-width: 760px; margin: 0 auto; padding: 150px 6vw 60px; }
.plan-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.plan-tabs.plan-tabs-2 { grid-template-columns: repeat(2, 1fr); }
.plan-tab {
  position: relative; background: transparent; border: none; cursor: pointer; border-radius: 8px;
  border-left: 1px solid var(--hairline); padding: 30px 10px 26px;
  font-family: var(--sans); color: var(--ink); transition: background .4s ease, box-shadow .4s ease;
}
.plan-tab:first-child { border-left: none; }
.plan-tab:hover { background: rgba(183,138,63,.05); }
.plan-tab.on { background: #fff; box-shadow: inset 0 0 0 1px var(--ink); }
.plan-tab .pt-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: var(--bg); font-size: .56rem; letter-spacing: .18em;
  padding: 4px 14px; white-space: nowrap; font-weight: 400; border-radius: 3px;
}
.plan-tab .pt-name { display: block; font-family: var(--serif); font-size: 1.05rem; letter-spacing: .2em; }
.plan-tab .pt-price { display: block; margin-top: 8px; font-size: .78rem; color: var(--ink-soft); letter-spacing: .06em; }
.plan-desc { text-align: center; font-size: .82rem; color: var(--ink-soft); letter-spacing: .08em; padding: 26px 0 14px; line-height: 2.2; }
.sim-head { text-align: center; font-size: .68rem; letter-spacing: .44em; color: var(--flame); margin: 50px 0 40px; }
.sim-row { padding: 30px 0; border-bottom: 1px solid var(--hairline); }
.sim-row .s-label { font-size: .86rem; letter-spacing: .18em; margin-bottom: 18px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.sim-row .s-label small { font-size: .68rem; color: var(--ink-soft); letter-spacing: .08em; }
.sim-opts { display: flex; gap: 12px; flex-wrap: wrap; }
.sim-opt {
  border: 1px solid var(--hairline); padding: 11px 24px; cursor: pointer; border-radius: 6px;
  font-size: .8rem; letter-spacing: .1em; background: transparent;
  font-family: var(--sans); font-weight: 300; color: var(--ink);
  transition: border-color .3s ease, background .3s ease;
}
.sim-opt:hover { border-color: var(--ink); }
.sim-opt.on { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.sim-opt .add { font-size: .68rem; opacity: .75; margin-left: 8px; }
.sim-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: rgba(252, 251, 248, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--hairline);
}
.sim-bar-inner {
  max-width: 860px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 16px 5vw calc(16px + env(safe-area-inset-bottom));
}
.sim-bar .sb-summary { display: block; font-size: .64rem; color: var(--ink-soft); letter-spacing: .06em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 46vw; }
.sim-bar .sb-price { font-family: var(--serif); font-size: 1.5rem; letter-spacing: .04em; }
.sim-bar .sb-price small { font-size: .58rem; color: var(--ink-soft); font-family: var(--sans); }
.sim-cta { display: inline-block; background: var(--ink); color: var(--bg); border-radius: 6px; padding: 15px 40px; font-size: .8rem; letter-spacing: .26em; white-space: nowrap; flex-shrink: 0; transition: opacity .4s ease; }
.sim-cta:hover { opacity: .82; }
body.has-simbar { padding-bottom: 120px; }
@media (max-width: 600px) {
  .plan-tab .pt-name { font-size: .88rem; letter-spacing: .1em; }
  .plan-tab .pt-badge { font-size: .5rem; padding: 3px 8px; }
  .sim-bar .sim-cta { padding: 13px 20px; font-size: .72rem; letter-spacing: .16em; }
  .sim-bar .sb-price { font-size: 1.2rem; }
}

/* ============================================
   法務ページ
   ============================================ */
.legal-main { max-width: 780px; margin: 0 auto; padding: 140px 6vw 100px; }
.legal-main > h1 { font-size: 1.45rem; letter-spacing: .2em; text-align: center; margin-bottom: 64px; line-height: 1.9; }
.legal-block { margin-bottom: 80px; }
.legal-block:last-child { margin-bottom: 0; }
.legal-block h2 { font-size: 1.15rem; letter-spacing: .18em; border-bottom: 1px solid var(--hairline); padding-bottom: 18px; margin-bottom: 30px; }
.legal-block h3.legal-sub { font-size: .92rem; letter-spacing: .1em; margin: 32px 0 14px; color: var(--ink); font-family: var(--sans); font-weight: 500; }
.legal-block h3.legal-sub:first-of-type { margin-top: 8px; }
.legal-block p { font-size: .85rem; color: var(--ink-soft); line-height: 2.2; letter-spacing: .04em; margin-bottom: 1em; }
.legal-block ul, .legal-block ol { padding-left: 1.4em; margin-bottom: 1em; }
.legal-block li { font-size: .85rem; color: var(--ink-soft); line-height: 2.1; letter-spacing: .04em; margin-bottom: .6em; }
.legal-block li strong { color: var(--ink); font-weight: 500; }
.legal-block .company-table dl { display: grid; grid-template-columns: 168px 1fr; gap: 6px 20px; padding: 14px 0; border-bottom: 1px dashed var(--hairline); margin: 0; }
.legal-block .company-table dt { font-size: .78rem; letter-spacing: .08em; color: var(--ink); }
.legal-block .company-table dd { font-size: .82rem; color: var(--ink-soft); line-height: 2; }
@media (max-width: 640px) { .legal-block .company-table dl { grid-template-columns: 1fr; gap: 4px; } }

/* ============================================
   作品例ページ（そら）
   ============================================ */
.mem-hero { position: relative; height: 100svh; min-height: 560px; display: flex; align-items: flex-end; overflow: hidden; }
.mem-hero .mh-bg { position: absolute; inset: 0; background-size: cover; background-position: center 35%; transform: scale(1.04); animation: mhZoom 14s ease-out forwards; }
@keyframes mhZoom { to { transform: scale(1); } }
.mem-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(22,19,15,.72), rgba(22,19,15,.12) 55%, rgba(22,19,15,.3)); }
.mem-hero .mh-inner { position: relative; z-index: 2; color: #fff; padding: 0 8vw 12vh; width: 100%; }
.mem-hero .mh-kind { font-size: .62rem; letter-spacing: .44em; color: rgba(255,255,255,.75); margin-bottom: 22px; opacity: 0; animation: heroRise 1.8s ease .6s forwards; }
.mem-hero h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); letter-spacing: .24em; line-height: 1.6; opacity: 0; animation: heroRise 1.8s ease 1s forwards; }
.mem-hero .mh-date { margin-top: 24px; font-size: .82rem; letter-spacing: .3em; color: rgba(255,255,255,.85); opacity: 0; animation: heroRise 1.8s ease 1.6s forwards; }
.mem-hero .mh-sub { margin-top: 18px; font-size: .82rem; letter-spacing: .16em; color: rgba(255,255,255,.75); line-height: 2.2; opacity: 0; animation: heroRise 1.8s ease 2s forwards; }

.mem-prologue { padding: 150px 6vw; text-align: center; }
.mem-prologue p { font-family: var(--serif); font-size: clamp(1.05rem, 2.3vw, 1.35rem); line-height: 2.6; letter-spacing: .16em; max-width: 720px; margin: 0 auto; }
.mem-prologue p + p { margin-top: 40px; }

.chapter { max-width: 860px; margin: 0 auto; }
.chapter + .chapter { margin-top: 130px; }
.ch-no { font-size: .64rem; letter-spacing: .44em; color: var(--flame); display: block; margin-bottom: 18px; }
.chapter h2 { font-size: clamp(1.3rem, 2.8vw, 1.75rem); letter-spacing: .18em; line-height: 1.9; margin-bottom: 36px; text-align: left; }
.chapter p { font-size: .9rem; color: var(--ink-soft); line-height: 2.5; letter-spacing: .06em; margin-bottom: 1.6em; }
.chapter p strong { color: var(--ink); font-weight: 500; }

.owner-quote {
  margin: 46px 0; padding: 40px 44px; background: var(--bg-warm); border-radius: 6px;
  border-left: 2px solid var(--flame);
}
.owner-quote p { font-family: var(--serif); font-size: 1.02rem; color: var(--ink); line-height: 2.5; letter-spacing: .1em; margin-bottom: 0; }
.owner-quote .oq-who { display: block; margin-top: 22px; font-family: var(--sans); font-size: .7rem; color: var(--ink-soft); letter-spacing: .14em; }
.owner-quote .oq-tag { display: inline-block; font-size: .58rem; letter-spacing: .3em; color: var(--flame); margin-bottom: 18px; }

.ch-photo { margin: 50px 0; }
.ch-photo img { width: 100%; border-radius: 4px; }
.ch-photo figcaption { margin-top: 14px; font-size: .72rem; color: var(--ink-soft); letter-spacing: .1em; line-height: 2; }
.ch-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 50px 0; }
.ch-duo img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 4px; }

.timeline { max-width: 720px; margin: 0 auto; border-top: 1px solid var(--hairline); }
.tl-item { display: grid; grid-template-columns: 130px 1fr; gap: 24px; padding: 26px 4px; border-bottom: 1px solid var(--hairline); }
.tl-item .tl-when { font-family: var(--serif); font-size: .88rem; letter-spacing: .1em; color: var(--flame); }
.tl-item .tl-what { font-size: .86rem; letter-spacing: .06em; line-height: 2.1; }
.tl-item .tl-what small { display: block; color: var(--ink-soft); font-size: .78rem; margin-top: 4px; }
@media (max-width: 640px) { .tl-item { grid-template-columns: 1fr; gap: 6px; } }

.traits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; max-width: 1000px; margin: 0 auto; }
.trait { background: var(--bg-warm); padding: 40px 30px; border-radius: 2px; }
.trait h3 { font-size: .78rem; letter-spacing: .28em; color: var(--flame); margin-bottom: 14px; font-family: var(--sans); font-weight: 400; }
.trait p { font-size: .86rem; line-height: 2.2; letter-spacing: .06em; }
@media (max-width: 760px) { .traits { grid-template-columns: 1fr; } }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
.gallery figure { position: relative; overflow: hidden; aspect-ratio: 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s ease; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 18px 16px; color: #fff; font-size: .7rem;
  letter-spacing: .08em; line-height: 1.9; background: linear-gradient(to top, rgba(22,19,15,.78), transparent);
  opacity: 0; transition: opacity .5s ease;
}
.gallery figure:hover figcaption { opacity: 1; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } .gallery figcaption { opacity: 1; } }

.letter { max-width: 720px; margin: 0 auto; text-align: center; }
.letter p { font-family: var(--serif); font-size: 1.02rem; line-height: 2.8; letter-spacing: .14em; }
.letter p + p { margin-top: 34px; }
.letter .sign { margin-top: 50px; font-size: .78rem; letter-spacing: .2em; color: var(--ink-soft); font-family: var(--sans); }

.mem-cta { background: var(--bg-warm); text-align: center; }
.mem-cta .mc-lead { font-family: var(--serif); font-size: clamp(1.1rem, 2.4vw, 1.5rem); letter-spacing: .16em; line-height: 2.2; margin-bottom: 26px; }
.mem-cta .mc-sub { font-size: .84rem; color: var(--ink-soft); letter-spacing: .08em; line-height: 2.3; margin-bottom: 44px; }
.mem-cta .mc-btn { display: inline-block; background: var(--ink); color: var(--bg); border-radius: 6px; padding: 18px 60px; font-size: .82rem; letter-spacing: .28em; transition: opacity .4s ease; }
.mem-cta .mc-btn:hover { opacity: .82; }
