@charset "UTF-8";
/* 澪環 — 3ページ共通のデザイン（白地に墨色の文字、諏訪湖の藍をひとさじ） */
:root {
  --paper: #ffffff;
  --ink: #1d1b1a;
  --dim: #6b6662;
  --accent: #2d4f74;      /* 夕暮れの諏訪湖の藍 */
  --line: rgba(29, 27, 26, 0.1);
  --card: #fbfaf8;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  font-weight: 300;
  line-height: 2.05;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: #d3dfec; color: var(--ink); }
a { color: inherit; }
.en { font-family: 'Cormorant Garamond', serif; font-style: italic; }

/* ---------- ヒーロー：諏訪湖が現れ、その下に名前が浮かび上がる ---------- */
.hero { position: relative; text-align: center; padding-bottom: 9vh; overflow: hidden; }
.gate { position: relative; margin: 0 auto; max-width: 760px; }
.gate img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
}
@media (min-width: 761px) {
  .gate { margin-top: 5vh; }
  .gate img {
    -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 44%, #000 55%, transparent 100%);
    mask-image: radial-gradient(ellipse 72% 70% at 50% 44%, #000 55%, transparent 100%);
  }
}
.hero-text { position: relative; margin-top: -9vw; padding: 0 6vw; }
@media (min-width: 761px) { .hero-text { margin-top: -40px; } }

/* 名前の後ろに漂う、淡い水の色の霧（澪環が聴く「心の流れ」） */
.mist { position: absolute; left: 50%; top: 50%; width: min(120vw, 760px); aspect-ratio: 1.6; transform: translate(-50%, -50%); pointer-events: none; z-index: 0; }
.mist span { position: absolute; border-radius: 50%; filter: blur(34px); opacity: 0.5; animation: drift 18s ease-in-out infinite alternate; }
.mist span:nth-child(1) { left: 14%; top: 24%; width: 36%; height: 46%; background: rgba(150, 190, 225, 0.5); }
.mist span:nth-child(2) { left: 48%; top: 18%; width: 34%; height: 44%; background: rgba(246, 200, 140, 0.42); animation-duration: 22s; animation-delay: -6s; }
.mist span:nth-child(3) { left: 30%; top: 46%; width: 40%; height: 40%; background: rgba(180, 200, 235, 0.4); animation-duration: 26s; animation-delay: -12s; }
.mist span:nth-child(4) { left: 58%; top: 50%; width: 28%; height: 36%; background: rgba(205, 190, 225, 0.38); animation-duration: 20s; animation-delay: -3s; }
@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(4%, -6%) scale(1.08); }
  100% { transform: translate(-5%, 4%) scale(0.96); }
}

.hero .eyebrow, .hero h1, .hero .reading, .hero .catch { position: relative; z-index: 1; }
.hero .eyebrow { font-size: 0.74rem; letter-spacing: 0.42em; text-indent: 0.42em; color: var(--accent); font-weight: 400; }
.hero h1 {
  margin-top: 1.1rem;
  font-weight: 200; font-size: clamp(3.4rem, 19vw, 6.4rem);
  letter-spacing: 0.24em; text-indent: 0.24em; line-height: 1.1; white-space: nowrap;
}
.hero h1 span { display: inline-block; }
.hero .reading { margin-top: 1.3rem; font-size: 0.82rem; letter-spacing: 0.62em; text-indent: 0.62em; color: var(--dim); }
.hero .catch { line-height: 1.9; margin-top: 1.8rem; font-size: clamp(0.98rem, 3.9vw, 1.18rem); letter-spacing: 0.08em; color: var(--dim); }

/* 登場の順番（画像が読み込めてから .go が付いて始まる） */
.js .gate img, .js .mist, .js .hero h1 span, .js .hero .reading, .js .hero .eyebrow, .js .hero .catch { animation-play-state: paused; }
.js .hero.go .gate img, .js .hero.go .mist, .js .hero.go h1 span, .js .hero.go .reading, .js .hero.go .eyebrow, .js .hero.go .catch { animation-play-state: running; }
.gate img { animation: gate-in 2.2s cubic-bezier(.2, .7, .2, 1) both; }
.mist { animation: fade-in 3s ease 1.1s both; }
.mist span { animation-play-state: inherit; }
.hero h1 span { animation: rise 1.8s cubic-bezier(.2, .7, .2, 1) both; }
.hero h1 span:nth-child(1) { animation-delay: 1.5s; }
.hero h1 span:nth-child(2) { animation-delay: 1.85s; }
.hero .reading { animation: soft 1.6s ease 2.7s both; }
.hero .eyebrow { animation: soft 1.6s ease 3.1s both; }
.hero .catch { animation: soft 1.6s ease 3.4s both; }
@keyframes gate-in { from { opacity: 0; transform: scale(1.06); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes soft { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- セクション共通 ---------- */
section { padding: 10vh 7vw; }
.inner { max-width: 34rem; margin: 0 auto; }
.narrow { max-width: 23em; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 6vh; }
.section-head h2 { font-weight: 300; font-size: clamp(1.7rem, 6.4vw, 2.3rem); letter-spacing: 0.12em; text-indent: 0.12em; line-height: 1.6; }
.section-head p { margin-top: 1.2rem; color: var(--dim); font-size: 0.9rem; line-height: 2; }
.prose p { font-size: min(4.2vw, 1.04rem); margin-bottom: 1.7rem; line-break: strict; word-break: auto-phrase; text-wrap: pretty; }
.prose p:last-child { margin-bottom: 0; }
.prose .dim { color: var(--dim); }
.prose .quote { padding-left: 1.2em; border-left: 1px solid rgba(45, 79, 116, 0.35); }
.prose .colors { list-style: none; margin: 0 0 1.7rem; }
.prose .colors li { display: flex; align-items: center; gap: 0.8em; font-size: min(4.2vw, 1.04rem); line-break: strict; word-break: auto-phrase; }
.prose .colors li::before { content: ""; flex: 0 0 auto; width: 0.7em; height: 0.7em; border-radius: 50%; background: var(--c); filter: blur(0.6px); }
.prose .list { list-style: none; margin: 0 0 1.7rem; }
.prose .list li { font-size: min(4.2vw, 1.04rem); line-break: strict; word-break: auto-phrase; text-wrap: pretty; }
.scene-break { display: flex; justify-content: center; gap: 0.9em; margin: 3.2rem 0; }
.scene-break i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); opacity: 0.55; }
.signoff { margin-top: 2.6rem; text-align: right; font-size: 0.86rem; letter-spacing: 0.32em; color: var(--accent); }

/* ---------- もくじ ---------- */
.toc { padding-top: 4vh; }
.toc nav { max-width: 26rem; margin: 0 auto; padding: 2.2rem 1.6rem; border: 1px solid var(--line); background: var(--card); }
.toc h2 { text-align: center; font-weight: 300; font-size: 1.15rem; letter-spacing: 0.4em; text-indent: 0.4em; margin-bottom: 1.4rem; }
.toc ol { list-style: none; }
.toc li a { display: grid; grid-template-columns: 2.4em 1fr; align-items: baseline; padding: 0.6rem 0; text-decoration: none; font-size: min(4vw, 0.98rem); line-height: 1.7; border-bottom: 1px solid var(--line); transition: color .3s; word-break: auto-phrase; text-wrap: pretty; }
.toc li a:hover { color: var(--accent); }
.toc .num { color: var(--accent); font-size: 1.05rem; }
.toc .sub { padding-left: 2.4em; }
.toc .sub a { font-size: min(3.8vw, 0.92rem); padding: 0.5rem 0; }
.toc .sub li:last-child a { border-bottom: 0; }
.toc-float {
  position: fixed; right: 16px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 20;
  padding: 0.55rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.92);
  font-size: 0.8rem; letter-spacing: 0.2em; text-decoration: none; color: var(--ink);
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
  opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .4s, transform .4s;
}
.toc-float.show { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- よく聞かれること ---------- */
.faq-item { padding: 3rem 0; border-top: 1px solid var(--line); scroll-margin-top: 16px; }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item h3 { display: grid; grid-template-columns: 2.6rem 1fr; align-items: baseline; font-weight: 500; font-size: clamp(1.02rem, 4.4vw, 1.2rem); line-height: 1.7; margin-bottom: 1.4rem; }
.faq-item h3 .num { color: var(--accent); font-weight: 400; font-size: 1.5rem; line-height: 1; }
#about, #faq { scroll-margin-top: 16px; }

/* ---------- ボタン ---------- */
.btn {
  display: block; width: 100%; max-width: 26rem; margin: 2rem auto 0; padding: 1.1rem 0.5rem;
  text-align: center; text-decoration: none; font-size: 1rem; letter-spacing: 0.2em; text-indent: 0.2em;
  border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  box-shadow: 0 8px 24px rgba(0,0,0,.08); transition: background .5s, border-color .5s;
}
.btn:hover, .btn:focus-visible { background: var(--accent); border-color: var(--accent); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.btn-sub { background: transparent; color: var(--ink); box-shadow: none; }
.btn-sub:hover, .btn-sub:focus-visible { color: var(--paper); }
.cta-block { text-align: center; }
.cta-block p { font-size: min(4.2vw, 1.02rem); }

/* ---------- プラン ---------- */
.plan { position: relative; padding: 2.8rem 1.6rem 2.6rem; border: 1px solid var(--line); background: var(--card); }
.plan + .plan { margin-top: 2.6rem; }
.plan::before { content: ""; position: absolute; top: -1px; left: 50%; width: 96px; height: 1px; transform: translateX(-50%); background: linear-gradient(to right, transparent, var(--accent), transparent); }
.plan-top { text-align: center; }
.plan .num { display: block; font-size: 1.5rem; line-height: 1; color: var(--accent); }
.plan-eyebrow { margin-top: 1rem; font-size: 0.76rem; letter-spacing: 0.16em; color: var(--dim); }
.plan-name { margin-top: 0.4rem; font-weight: 300; font-size: clamp(1.7rem, 7vw, 2.1rem); letter-spacing: 0.16em; text-indent: 0.16em; line-height: 1.6; }
.price { margin-top: 0.9rem; font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 500; font-size: 3.1rem; line-height: 1; letter-spacing: 0.02em; }
.price .yen { font-family: 'Noto Serif JP', serif; font-style: normal; font-weight: 300; font-size: 0.95rem; margin-left: 0.35em; color: var(--dim); }
.support { display: inline-block; margin-top: 1.4rem; padding: 0.2rem 1rem; border: 1px solid rgba(45,79,116,.35); font-size: 0.76rem; letter-spacing: 0.16em; color: var(--accent); }
.plan-lead { margin-top: 2.2rem; font-size: min(4vw, 1rem); line-height: 2.05; text-align: center; }
.plan-note { margin-top: 1rem; font-size: 0.78rem; line-height: 1.85; color: var(--dim); text-align: center; }
.plan-detail { margin-top: 2.4rem; padding-top: 2.2rem; border-top: 1px solid var(--line); }
.plan-detail h4 { margin: 2.2rem 0 1rem; padding-left: 1rem; border-left: 1px solid rgba(45,79,116,.4); font-weight: 500; font-size: 1rem; line-height: 1.7; color: var(--accent); }
.plan-detail h4:first-child { margin-top: 0; }
.plan-detail p { margin-bottom: 1.2rem; font-size: min(3.9vw, 0.98rem); line-height: 2.05; line-break: strict; }
.plan-detail p:last-child { margin-bottom: 0; }
.plan-detail ul { list-style: none; margin-bottom: 1.2rem; }
.plan-detail li { position: relative; padding-left: 1.2em; font-size: min(3.9vw, 0.98rem); line-height: 2.05; line-break: strict; }
.plan-detail li + li { margin-top: 0.3rem; }
.plan-detail li::before { content: ""; position: absolute; left: 0; top: 1.02em; width: 0.55em; height: 1px; background: var(--accent); }
.plans .plan .btn { margin-top: 2rem; }

/* ---------- 流れ ---------- */
.step-list { max-width: 40rem; margin: 0 auto; list-style: none; }
.step { display: grid; grid-template-columns: 80px 1fr; gap: 2rem; padding: 2.6rem 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step .num { font-size: 2.4rem; color: var(--accent); line-height: 1; }
.step h3 { font-weight: 500; font-size: clamp(1rem, 3.9vw, 1.2rem); margin-bottom: 0.7rem; line-height: 1.7; }
.step p { color: var(--dim); font-size: clamp(0.88rem, 3.4vw, 0.95rem); line-height: 2.05; line-break: strict; word-break: auto-phrase; text-wrap: pretty; }

/* ---------- フッター ---------- */
footer { text-align: center; padding: 4.5rem 6vw calc(4rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
footer .sigil { font-size: 1.3rem; letter-spacing: 0.3em; text-indent: 0.3em; color: var(--dim); }
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.6rem; margin: 1.6rem 0 1.2rem; font-size: 0.86rem; }
footer nav a { text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .3s; }
footer nav a:hover, footer nav a[aria-current="page"] { border-color: var(--accent); }
footer .handle { font-size: 0.8rem; color: var(--dim); }
footer .handle a { color: var(--accent); text-decoration: none; }

/* スクロールでふわっと現れる */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 1.2s ease, transform 1.2s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 640px) {
  .step { grid-template-columns: 1fr; gap: 0.5rem; }
  .plans { padding-left: 5vw; padding-right: 5vw; }
  .plan { padding: 2.6rem 1.3rem 2.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gate img, .mist, .mist span, .hero h1 span, .hero .reading, .hero .eyebrow, .hero .catch { animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  * { transition-duration: 0.01s !important; }
}
