/* にと LP
   値の出どころ: 本文 Noto Sans JP（ウェルスナビ・TERASS本文）／斜体の数字（TERASS の 75% ・5.3）
   出現の動き: 20px 下から 0.8s・0.3s刻みの時間差（SmartHR）、曲線 cubic-bezier(0.19,1,0.22,1)（TERASS） */

:root {
  --cream: #FAEFDC;
  --paper: #FFF9F0;
  --ink: #0E1B21;
  --ink-2: #435257;
  --ink-3: #56666B;
  --line: rgba(14, 27, 33, 0.12);
  --teal: #003243;
  --teal-2: #0B4557;
  --teal-soft: #CFE0DE;
  --orange: #E16A1B;

  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --num: "Barlow Condensed", "Noto Sans JP", sans-serif;
  --hand: "Klee One", "Noto Sans JP", sans-serif;

  --gutter: 24px;
  --radius-s: 8px;
  --radius-m: 12px;
  --radius-l: 20px;
  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
  --section: 104px;
}
@media (min-width: 768px) {
  :root { --gutter: 40px; --section: 148px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
strong { font-weight: 700; }

.num {
  font-family: var(--num);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
  font-feature-settings: "tnum" 0;
}
.num--inline { font-size: 1.25em; line-height: 1; padding-right: 0.05em; }

/* 見出しのキーワードに引く線（TERASSの見出し下線をティールで） */
.u-line {
  background: linear-gradient(transparent 84%, var(--teal-soft) 84%);
  padding: 0 2px;
}
.qa--dark .u-line, .final .u-line { background: linear-gradient(transparent 84%, rgba(250, 239, 220, 0.25) 84%); }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  padding: 8px 14px; background: var(--ink); color: var(--cream);
  border-radius: var(--radius-s); text-decoration: none;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.wrap { width: 100%; max-width: 920px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- 出現の動き ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
[data-reveal="1"] { transition-delay: 0.15s; }
[data-reveal="2"] { transition-delay: 0.3s; }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(250, 239, 220, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1160px; margin: 0 auto;
  padding: 10px var(--gutter);
}
/* 名前まわりは gracewang.design のヘッダー（アイコン＋手書きの名前、右に線画のSNSアイコン）に寄せる */
.brand { display: flex; align-items: center; gap: 10px; line-height: 1; }
.brand__icon { width: 38px; height: auto; }
.brand__name { font-size: 17px; font-weight: 700; letter-spacing: 0.08em; }
.brand__sub { font-size: 11px; font-weight: 500; color: var(--ink-3); letter-spacing: 0.06em; }
.site-header__end { display: flex; align-items: center; gap: 18px; }

.social { display: flex; align-items: center; }
.social a { color: var(--ink-2); text-decoration: none; transition: color 0.3s; }
.social a:hover { color: var(--teal); }
.social__icon {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.social--header { gap: 4px; }
.social--header a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; }
.social--header a:hover { background: rgba(0, 50, 67, 0.06); }
@media (max-width: 767px) { .social--header { display: none; } }
.header-cta {
  display: inline-flex; align-items: center; min-height: 40px;
  font-size: 13px; font-weight: 700;
  color: var(--cream); background: var(--teal);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius-s);
  transition: background-color 0.3s;
}
.header-cta:hover { background: var(--teal-2); }

/* ---------- CTA（TERASSの型: 大きい動詞＋下に小さい不安消し、右に矢印） ---------- */
.cta {
  position: relative;
  display: grid; gap: 3px;
  width: 100%; max-width: 380px;
  padding: 15px 52px 15px 22px;
  background: var(--teal);
  color: var(--cream);
  border-radius: var(--radius-m);
  text-decoration: none;
  line-height: 1.35;
  box-shadow: 0 12px 24px -16px rgba(0, 50, 67, 0.8);
  transition: background-color 0.3s, transform 0.4s var(--ease-out);
}
.cta::after {
  content: ""; position: absolute; right: 24px; top: 50%;
  width: 9px; height: 9px;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
  transition: right 0.4s var(--ease-out);
}
.cta:hover { background: var(--teal-2); }
.cta:hover::after { right: 19px; }
.cta__main { font-size: 19px; font-weight: 700; letter-spacing: 0.08em; }
.cta__sub { font-size: 12px; opacity: 0.8; letter-spacing: 0.04em; }
.cta--light { background: var(--cream); color: var(--teal); box-shadow: 0 12px 24px -16px rgba(0, 0, 0, 0.7); }
.cta--light:hover { background: #fff; }

/* ---------- ヒーロー ----------
   背景はユーザー制作の場面画像（1536×1024）。左はクリームの余白、右にデスクとにと。
   スマホ・タブレット: 場面の右側だけを上に見せて、文言は下。PC（1100px〜）: 場面を全面に敷いて、左の余白に文言。
   「！」・押せる範囲・注釈・カードケースは、元画像の座標を % にして .scene の中に置く（どの幅でも絵とずれない） */
.hero { position: relative; }

.stage { position: relative; height: 300px; overflow: hidden; }
.stage::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 56px;
  background: linear-gradient(to bottom, rgba(250, 239, 220, 0), var(--cream));
  pointer-events: none;
}
.scene {
  position: absolute; right: 0; bottom: 0;
  width: 167vw; aspect-ratio: 1536 / 1024;
}
.scene__img { position: absolute; inset: 0; width: 100%; height: 100%; user-select: none; -webkit-user-drag: none; }
@media (min-width: 768px) {
  .stage { height: 480px; }
  .scene { width: 133vw; }
}

.stage__hit {
  position: absolute; left: 58.6%; top: 37.1%; width: 29.9%; height: 53.7%;
  padding: 0; border: 0; background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.stage__hit:focus-visible { outline-offset: 4px; border-radius: 40% 40% 12px 12px; }

.stage__note {
  position: absolute; left: 41.5%; top: 42%; z-index: 2;
  width: 118px;
  font-family: var(--hand);
  font-size: 12px; line-height: 1.65; letter-spacing: 0;
  color: var(--ink-2);
}
/* 矢印は文字と別の行に置き（同じ行にあると最後の1行だけ下にずれる）、右下のにとへ向ける */
.stage__note > span { display: block; }
.stage__arrow { display: block; width: 26px; height: 32px; margin: 2px 0 0 62px; color: var(--ink-3); transform: scaleX(-1) rotate(-12deg); }

.case {
  position: absolute; left: 41.5%; top: 30%; z-index: 2;
  display: grid; grid-template-columns: auto auto; column-gap: 8px; row-gap: 6px; align-items: baseline;
  font-size: 11px; color: var(--ink-3);
}

/* タブレットは場面の上が切れるので、ケースと注釈を下げる */
@media (min-width: 768px) and (max-width: 1099px) {
  .stage__note { top: 47%; }
  .case { top: 37%; }
}
@media (max-width: 359px) { .stage__note { top: 45%; } }

@media (min-width: 1100px) {
  .hero { --hero-h: min(clamp(600px, calc(100svh - 64px), 760px), 60vw); height: var(--hero-h); background: #FCF3E4; }
  .stage { position: absolute; inset: 0; height: auto; }
  .stage::after { height: 90px; }
  /* 場面は画面の右端ではなく、中身の列（1160px）に合わせて置く。広い画面でも真ん中が空かない。
     画像の右端は切れ目が出ないよう、ふんわり消してクリームに溶かす */
  .scene {
    right: auto; left: max(0px, calc(50% - 520px));
    width: calc(var(--hero-h) * 1.5);
    -webkit-mask-image: linear-gradient(to right, #000 86%, transparent 99%);
    mask-image: linear-gradient(to right, #000 86%, transparent 99%);
  }
  /* 脇役（注釈・ケース）は小さく、薄く */
  .stage__note { left: 50%; top: 21%; width: 170px; font-size: 13px; color: var(--ink-3); }
  .stage__arrow { width: 36px; height: 44px; margin-left: 94px; opacity: 0.8; }
  .case { left: 50%; top: 9%; font-size: 12px; }
}

/* 「！」: オレンジの丸にクリームの縁。出た瞬間に輪が1回だけ広がる */
.bang {
  position: absolute; left: 76%; top: 4%;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px var(--paper), 0 6px 14px -4px rgba(14, 27, 33, 0.35);
  opacity: 0; transform: scale(0.3) translateY(10px);
  pointer-events: none;
}
.bang svg { width: 60%; height: 60%; stroke: #fff; stroke-width: 3.4; stroke-linecap: round; fill: #fff; }
.bang::after {
  content: ""; position: absolute; inset: -3px;
  border: 2px solid var(--orange); border-radius: 50%;
  opacity: 0;
}
.is-bang .bang { animation: bang-in 0.42s var(--ease-out) forwards; }
.is-bang .bang::after { animation: bang-ring 0.9s 0.2s var(--ease-out); }
@keyframes bang-ring { 0% { opacity: 0.7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.9); } }
/* 押せる所だと分かるように、PCではカーソルを乗せたら少し明るく */
.stage__hit:hover .bang { filter: brightness(1.08); }
@keyframes bang-in {
  0% { opacity: 0; transform: scale(0.3) translateY(10px); }
  60% { opacity: 1; transform: scale(1.12) translateY(-2px); }
  100% { opacity: 1; transform: none; }
}
@media (min-width: 1100px) { .bang { width: 46px; height: 46px; } }

.nudge {
  position: absolute; left: 0; top: 2%;
  padding: 3px 10px;
  font-family: var(--hand); font-size: 13px; letter-spacing: 0;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.2s, transform 0.3s var(--ease-out);
  pointer-events: none; white-space: nowrap;
}
.nudge.is-on { opacity: 1; transform: none; }

/* 引いたカード: 画面の中央に出す（場面は端で切り抜いているので、その中には置かない） */
.pull {
  position: fixed; inset: 0; z-index: 40;
  display: grid; place-items: center;
  padding: 16px;
  background: rgba(250, 239, 220, 0.4);
}
.pull[hidden] { display: none; }
.pull__card {
  position: relative; overflow: hidden;
  width: min(84vw, 300px);
  padding: 22px 20px 16px;
  background: var(--paper);
  border-radius: var(--radius-l);
  box-shadow: 0 30px 60px -28px rgba(14, 27, 33, 0.5), 0 0 0 1px var(--line);
  transform-origin: 50% 90%;
  animation: card-in 0.7s var(--ease-out) both;
}
.pull__card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--rarity); }
.pull.is-leaving { background: transparent; transition: background-color 0.4s; }
.pull.is-leaving .pull__card { animation: card-out 0.5s var(--ease-out) forwards; }
@keyframes card-in {
  0% { opacity: 0; transform: translate(30px, 90px) rotate(12deg) scale(0.4); }
  100% { opacity: 1; transform: none; }
}
@keyframes card-out { to { opacity: 0; transform: translate(-30%, -40%) scale(0.18) rotate(-8deg); } }
.pull__top { display: flex; justify-content: space-between; align-items: baseline; }
.pull__rarity { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; color: var(--rarity-ink); }
.pull__no { font-size: 20px; color: var(--ink-3); line-height: 1; }
.pull__title { margin-top: 8px; font-size: 18px; font-weight: 700; line-height: 1.55; }
.pull__body { margin-top: 8px; font-size: 14px; line-height: 1.8; color: var(--ink-2); }
.pull__foot {
  margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line);
  font-size: 12px; color: var(--ink-3);
}
.pull__close {
  margin-top: 12px; width: 100%; padding: 11px;
  border: 0; border-radius: var(--radius-s);
  background: var(--cream); font-size: 14px; font-weight: 700;
  cursor: pointer; transition: background-color 0.3s;
}
.pull__close:hover { background: #F3E2C4; }

[data-rarity="common"] { --rarity: #CDBFA6; --rarity-ink: var(--ink-3); }
[data-rarity="uncommon"] { --rarity: #8DB0B1; --rarity-ink: #2E6068; }
[data-rarity="rare"] { --rarity: var(--teal); --rarity-ink: var(--teal); }
[data-rarity="legend"] { --rarity: var(--orange); --rarity-ink: #B24F0E; }

/* カードケース */
.case__count { font-size: 20px; line-height: 1; color: var(--ink); }
.case__of { margin: 0 2px; color: var(--ink-3); }
.case__slots { grid-column: 1 / -1; display: flex; gap: 3px; }
.case__slots i {
  width: 8px; height: 12px; border-radius: 2px;
  border: 1px solid rgba(14, 27, 33, 0.25);
  background: rgba(255, 249, 240, 0.6);
  transition: background-color 0.3s, border-color 0.3s;
}
.case__slots i.is-got { background: var(--rarity); border-color: var(--rarity); }
.case__slots i.is-new { animation: slot-pop 0.5s var(--ease-out); }
.case.is-bump .case__count { display: inline-block; animation: slot-pop 0.5s var(--ease-out); }
@keyframes slot-pop { 50% { transform: translateY(-5px) scale(1.25); } }
@media (min-width: 1100px) {
  .case__count { font-size: 20px; }
  .case__slots { gap: 4px; }
  .case__slots i { width: 11px; height: 15px; }
}

.hero__inner { position: relative; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.hero__copy { padding: 6px 0 0; }
@media (min-width: 768px) { .hero__copy { padding-top: 12px; max-width: 640px; } }
@media (min-width: 1100px) {
  .hero__inner { height: 100%; display: flex; align-items: center; pointer-events: none; }
  .hero__copy { pointer-events: auto; }
  .hero__copy { max-width: 580px; padding: 0 0 24px; }
}
.hero__hello { font-size: 14px; color: var(--ink-3); }
.hero__title {
  margin-top: 6px;
  font-size: clamp(29px, 7.8vw, 54px);
  font-weight: 700;
  line-height: 1.36;
  letter-spacing: 0.02em;
}
.hero__title, .qa__a, .final__title { word-break: auto-phrase; text-wrap: balance; }
.prose p, .hero__lead, .feature__text, .deck__text { text-wrap: pretty; }
.hero__lead { margin-top: 14px; font-size: clamp(15px, 4vw, 18px); color: var(--ink-2); max-width: 30em; }
.hero__copy .cta { margin-top: 24px; }

.hero__proof {
  margin-top: 26px;
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0 22px;
  max-width: 420px;
}
.hero__proof div { display: grid; }
.hero__proof dt { font-size: 11px; color: var(--ink-3); line-height: 1.4; }
.hero__proof dd { font-size: 12px; font-weight: 500; line-height: 1.2; }
.hero__proof .num { font-size: 30px; margin: 0 2px; color: var(--teal); }

/* PC は主役（見出し・ボタン・実績の数字）をひと回り大きく */
@media (min-width: 1100px) {
  .hero__copy { max-width: 640px; }
  .hero__hello { font-size: 15px; }
  .hero__title { margin-top: 10px; font-size: clamp(46px, 3.7vw, 60px); line-height: 1.32; }
  .hero__lead { margin-top: 20px; font-size: 19px; max-width: 27em; }
  .hero__copy .cta { margin-top: 32px; max-width: 420px; padding: 18px 56px 18px 26px; }
  .hero__copy .cta__main { font-size: 21px; }
  .hero__copy .cta__sub { font-size: 13px; }
  .hero__proof { margin-top: 32px; gap: 0 32px; max-width: 480px; }
  .hero__proof dt { font-size: 12px; }
  .hero__proof dd { font-size: 14px; }
  .hero__proof .num { font-size: 38px; }
}

/* ---------- Q&A ---------- */
.qa { padding: var(--section) 0 0; }
.qa__q { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.qa__no { font-size: 34px; line-height: 1; color: var(--teal); }
.qa__a {
  margin-top: 14px;
  font-size: clamp(25px, 7vw, 52px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.02em;
}
.qa__tail { margin-top: 40px; font-size: 16px; }
@media (min-width: 768px) { .qa__tail { font-size: 18px; } }

.prose { margin-top: 28px; max-width: 34em; }
.prose p + p { margin-top: 14px; }
.prose strong { background: linear-gradient(transparent 62%, var(--teal-soft) 62%); }

/* セクションを色面で積む（Yoom の実測: 上の角だけ丸く、前のセクションに重ねる。スマホ 40px / PC 60px） */
.panel {
  --panel-r: 40px;
  position: relative;
  margin-top: calc(var(--panel-r) * -1);
  padding: calc(var(--section) - 8px) 0 calc(var(--section) + var(--panel-r));
  border-radius: var(--panel-r) var(--panel-r) 0 0;
  background: var(--surface);
}
.panel--teal { --surface: var(--teal); color: var(--cream); }
.panel--paper { --surface: var(--paper); }
.panel--cream { --surface: var(--cream); }
@media (min-width: 768px) { .panel { --panel-r: 60px; } }
/* 最初の色面だけは、上のセクションに重ねずに余白を取ってから始める */
.qa:not(.panel) + .panel { margin-top: var(--section); }

/* 色面の上辺に、にとを載せる（きかせてジャーニーの型） */
.panel__nito { position: absolute; right: 22px; top: -66px; width: 84px; z-index: 1; }
@media (min-width: 768px) { .panel__nito { right: max(40px, calc(50% - 420px)); top: -92px; width: 118px; } }

/* 01: 悩みを大きな吹き出しにして、考えこむにとを吹き出しの縁に座らせる */
.worry {
  position: relative;
  margin-top: 104px;
  max-width: 640px;
  padding: 26px 24px 26px;
  background: var(--paper);
  border-radius: 28px;
}
.worry::after {
  content: ""; position: absolute; left: 44px; bottom: -14px;
  width: 28px; height: 28px;
  background: var(--paper);
  border-radius: 0 0 6px 0;
  transform: rotate(45deg);
}
.worry__img { position: absolute; right: 10px; top: -78px; width: min(28vw, 110px); }
.worry__line { font-size: clamp(19px, 5.4vw, 26px); font-weight: 700; line-height: 1.5; padding-right: 28%; }
.worry__line::before { content: "「"; margin-left: -0.5em; color: var(--ink-3); font-weight: 500; }
.worry__line::after { content: "」"; color: var(--ink-3); font-weight: 500; }
.worry__line--b { margin-top: 14px; padding-left: 1.2em; }
@media (min-width: 768px) {
  .worry { margin-top: 132px; padding: 38px 44px; }
  .worry__img { width: 150px; top: -104px; right: 24px; }
  .worry__line { padding-right: 0; }
}
.worry + .prose { margin-top: 40px; }

/* 02: 生首と体。絵を主役にして大きく並べる */
.qa--dark .qa__q { color: rgba(250, 239, 220, 0.75); }
.qa--dark .qa__no { color: var(--cream); }
.bodies { margin-top: 40px; display: grid; gap: 14px; }
.body-card {
  display: grid; grid-template-columns: 44% 1fr; align-items: center;
  background: rgba(250, 239, 220, 0.07);
  border-radius: var(--radius-l);
  overflow: hidden;
}
.body-card__art { display: grid; place-items: end center; height: 150px; padding: 14px 6px 0; }
.body-card__art img { height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: bottom; }
.body-card__art--head { place-items: center; padding-bottom: 12px; }
.body-card__art--head img { max-height: 80%; animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-6px); } }
.body-card figcaption { padding: 18px 18px 18px 4px; display: grid; gap: 6px; }
.body-card__tag { font-size: 12px; color: rgba(250, 239, 220, 0.66); line-height: 1.5; }
.body-card__text { font-size: 15px; line-height: 1.75; font-weight: 700; }
@media (min-width: 768px) {
  .bodies { grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
  .body-card { grid-template-columns: 1fr; }
  .body-card__art { height: 300px; padding: 28px 20px 4px; }
  .body-card figcaption { padding: 22px 28px 28px; }
  .body-card__text { font-size: 17px; }
}

/* 03: 図を主役に。比較の2枚と円を大きく */
.flows { margin-top: 40px; display: grid; gap: 12px; }
.flow { padding: 20px 20px 22px; border-radius: var(--radius-l); }
.flow__label { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; color: var(--ink-3); }
.flow__steps { margin-top: 10px; display: grid; gap: 2px; font-size: 17px; font-weight: 700; line-height: 1.5; }
.flow__steps li { display: grid; justify-items: start; }
.flow__steps li + li::before {
  content: ""; width: 10px; height: 10px; margin: 4px 0 6px 6px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); opacity: 0.45;
}
.flow--before { color: var(--ink-3); box-shadow: 0 0 0 1px var(--line) inset; }
.flow--before .flow__steps { font-weight: 500; text-decoration: line-through; text-decoration-color: rgba(14, 27, 33, 0.3); }
.flow--after { background: var(--cream); box-shadow: 0 0 0 2px var(--teal) inset; }
.flow--after .flow__label, .flow--after .flow__voice { color: var(--teal); }
.flow--after .flow__voice { font-size: 20px; }
@media (min-width: 768px) {
  .flows { grid-template-columns: 0.85fr 1.15fr; gap: 20px; margin-top: 56px; align-items: stretch; }
  .flow { padding: 30px 32px 32px; }
  .flow__steps { font-size: 20px; }
  .flow--after .flow__voice { font-size: 24px; }
}

.skip-list { margin-top: 88px; }
.skip-list__title { font-size: clamp(19px, 5.2vw, 28px); font-weight: 700; text-align: center; }
.ring { position: relative; width: 100%; max-width: 360px; aspect-ratio: 1; margin: 28px auto 0; }
.ring::before { content: ""; position: absolute; inset: 16%; border: 1.5px dashed rgba(0, 50, 67, 0.3); border-radius: 50%; }
.ring__items li {
  position: absolute; width: 42%;
  display: grid; justify-items: center; gap: 4px;
  font-size: 13px; font-weight: 500; line-height: 1.5; text-align: center;
  color: var(--ink-2);
  background: var(--surface, var(--cream));
  padding: 4px 0;
}
.ring__items svg { width: 46px; height: 46px; }
.ring__items span { text-decoration: line-through; text-decoration-color: rgba(225, 106, 27, 0.8); text-decoration-thickness: 1.5px; }
.ring__items li:nth-child(1) { top: -3%; left: 29%; }
.ring__items li:nth-child(2) { top: 33%; right: -4%; }
.ring__items li:nth-child(3) { bottom: -3%; left: 29%; }
.ring__items li:nth-child(4) { top: 33%; left: -4%; }
.ring__center {
  position: absolute; inset: 32%;
  display: grid; place-content: center;
  border-radius: 50%;
  background: var(--teal); color: var(--cream);
  text-align: center; font-size: 13px; line-height: 1.55;
}
.ring__center strong { font-size: 16px; }
@media (min-width: 768px) {
  .ring { max-width: 560px; margin-top: 40px; }
  .ring__items li { font-size: 16px; }
  .ring__items svg { width: 64px; height: 64px; }
  .ring__center { font-size: 16px; }
  .ring__center strong { font-size: 22px; }
}


/* 04: 中身を1つの太い枠の箱にまとめ、頬づえのにとが箱の上辺にもたれて覗く（きかせてジャーニーの型） */
.inside { position: relative; margin-top: 112px; }
.inside__nito { position: absolute; right: 26px; top: -86px; width: 100px; }
.inside__box {
  position: relative; z-index: 1;
  padding: 22px 16px 24px;
  background: var(--surface, var(--cream));
  border: 2.5px solid var(--teal);
  border-radius: 28px;
}
.inside__box .deck__list { margin: 14px -16px 0; padding: 4px 16px 16px; scroll-padding: 0 16px; }
@media (min-width: 768px) {
  .inside { margin-top: 150px; }
  .inside__nito { right: 64px; top: -120px; width: 140px; }
  .inside__box { padding: 40px 40px 44px; border-radius: 36px; }
  .inside__box .deck__list { margin: 18px 0 0; padding: 0; }
}
.feature { display: grid; gap: 12px; }
.feature__item {
  position: relative; overflow: hidden;
  padding: 20px 20px 22px;
  background: var(--paper);
  border-radius: var(--radius-l);
}
.feature__no { font-size: 26px; line-height: 1; color: var(--teal); }
.feature__title { margin-top: 0; font-size: 19px; font-weight: 700; line-height: 1.5; }
.feature__text { margin-top: 6px; font-size: 14px; line-height: 1.8; color: var(--ink-2); }
.feature__badge {
  display: inline-block; margin-top: 12px; padding: 2px 10px;
  font-size: 12px; font-weight: 500; color: var(--teal);
  border: 1px solid rgba(0, 50, 67, 0.35); border-radius: 999px;
}
.feature__item--main { padding-right: 34%; min-height: 196px; }
@media (max-width: 767px) { .feature__item--main .feature__title { font-size: 20px; } }
.feature__item--main .feature__title { font-size: 22px; }
.feature__img { position: absolute; right: -3%; bottom: -6%; width: 38%; }
.feature__item--soon { background: transparent; box-shadow: 0 0 0 1.5px rgba(14, 27, 33, 0.18) inset; padding-right: 30%; }
.feature__peek { position: absolute; right: 12px; bottom: 10px; width: 25%; opacity: 0.9; }
@media (min-width: 768px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 16px; }
  .feature__item { padding: 28px 30px 30px; }
  .feature__item--main { grid-column: 1 / -1; padding-right: 40%; min-height: 240px; }
  .feature__item--main .feature__title { font-size: 26px; }
  .feature__img { width: 28%; right: 5%; bottom: -12%; }
}

.deck { margin-top: 40px; }
.deck__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.deck__title { display: flex; align-items: baseline; gap: 10px; font-size: 18px; font-weight: 700; }
.deck__hint { font-size: 13px; color: var(--ink-3); }
.deck__list {
  margin: 14px calc(var(--gutter) * -1) 0;
  padding: 4px var(--gutter) 16px;
  display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 10px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
  overscroll-behavior-x: contain; scrollbar-width: none;
}
.deck__list::-webkit-scrollbar { display: none; }
.deck__card {
  scroll-snap-align: start;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 172px; padding: 18px 18px 16px;
  background: var(--paper); border-radius: var(--radius-m);
}
.deck__card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--rarity); }
.deck__meta { display: flex; justify-content: space-between; align-items: baseline; }
.deck__rarity { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; color: var(--rarity-ink); }
.deck__no { font-size: 18px; line-height: 1; color: var(--ink-3); }
.deck__name { margin-top: 6px; font-size: 15px; font-weight: 700; line-height: 1.6; }
.deck__text { margin-top: 6px; font-size: 13px; line-height: 1.75; color: var(--ink-2); }
/* ページ上の「！」で出たカードには、オレンジの線画の顔をスタンプで押す */
.deck__stamp {
  position: absolute; right: 8px; bottom: 8px;
  width: 64px; height: 64px;
  mix-blend-mode: multiply;
  display: grid; place-items: center;
  border: 1.5px solid var(--orange); border-radius: 50%;
  opacity: 0; transform: rotate(-14deg) scale(1.5);
  transition: opacity 0.2s, transform 0.45s var(--ease-out);
  pointer-events: none;
}
.deck__stamp::before {
  content: ""; position: absolute; inset: 3px;
  border: 1px solid rgba(225, 106, 27, 0.55); border-radius: 50%;
}
.deck__stamp img { width: 50px; height: 50px; }
.deck__card.is-caught .deck__stamp { opacity: 0.85; transform: rotate(-14deg) scale(1); }
.deck__scroll { margin-top: 2px; display: flex; gap: 4px; justify-content: center; }
@media (min-width: 768px) {
  .deck__list {
    margin: 18px 0 0; padding: 0;
    grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); grid-auto-columns: auto;
    gap: 14px; overflow: visible;
  }
}
@media (min-width: 1024px) { .deck__list { grid-template-columns: repeat(4, 1fr); } }

/* 05 */
.stats {
  position: relative;
  margin-top: 64px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--cream);
  border-radius: var(--radius-l);
}
.stats__item { padding: 18px 4px 18px; text-align: center; display: grid; align-content: space-between; gap: 6px; }
.stats__item + .stats__item { box-shadow: -1px 0 0 var(--line); }
.stats dt { font-size: 11px; color: var(--ink-3); line-height: 1.5; }
.stats dd { margin-top: 4px; font-size: 13px; font-weight: 500; line-height: 1; }
.stats .num { font-size: clamp(40px, 11vw, 64px); color: var(--teal); margin: 0 2px; }
.stats__nito { position: absolute; right: 8px; top: -40px; width: 64px; }
@media (min-width: 768px) { .stats__nito { width: 96px; top: -62px; right: 24px; } .stats dt { font-size: 13px; } .stats dd { font-size: 15px; } }

.story { margin-top: 56px; display: grid; gap: 20px; }
.story .prose { margin-top: 0; }
.story__avatar { position: relative; width: 150px; margin: 20px 0 30px 22px; }
.story__avatar img { position: relative; width: 100%; }
.blob { position: absolute; left: -16%; top: -16%; width: 132%; height: auto; fill: var(--teal-soft); transform: rotate(12deg); }
@media (min-width: 768px) {
  .story { grid-template-columns: 220px 1fr; gap: 56px; align-items: center; margin-top: 72px; }
  .story__avatar { width: 200px; }
}

.made {
  position: relative;
  margin-top: 40px;
  display: grid; grid-template-columns: 60px 1fr; gap: 14px; align-items: start;
  padding: 18px 20px;
  border-radius: var(--radius-l);
  box-shadow: 0 0 0 1.5px var(--teal) inset;
}
.made__img { width: 60px; margin-top: 4px; }
@media (min-width: 768px) { .made__img { margin-top: 0; } }
.made__title { font-weight: 700; line-height: 1.7; font-size: 15px; }
.made__text { margin-top: 6px; font-size: 13px; color: var(--ink-2); }
@media (min-width: 768px) { .made { grid-template-columns: 110px 1fr; padding: 30px 30px 28px; gap: 24px; align-items: center; } .made__img { width: 110px; } .made__title { font-size: 17px; } .made__text { font-size: 14px; } }

/* 06 */
.steps { margin-top: 36px; display: grid; gap: 10px; }
.steps__item {
  position: relative;
  display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 10px;
  padding: 16px 18px;
  background: var(--paper);
  border-radius: var(--radius-m);
}
.steps__no { font-size: 20px; line-height: 1; color: var(--teal); white-space: nowrap; }
.steps__item p { font-size: 15px; font-weight: 500; line-height: 1.6; }
/* STEP 3 のマグのにとは、05 の寝ているにとと同じく、ブロックの上辺に載せる */
.steps__nito { position: absolute; right: 10px; top: -40px; width: 60px; }
.steps__item--last { padding-right: 70px; }
.steps__note { margin-top: 10px; font-size: 13px; color: var(--ink-3); text-align: right; }
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .steps__item { grid-template-columns: 1fr; align-items: start; padding: 22px 22px 24px; }
  .steps__no { font-size: 24px; }
  .steps__item--last { padding-right: 22px; }
  .steps__nito { width: 76px; right: 18px; top: -52px; }
}
.cta-wrap { margin-top: 28px; }

/* FAQ */
.faq { padding: var(--section) 0; }
.panel--cream + .faq { padding-top: 0; }
.faq__title { font-size: clamp(22px, 5.8vw, 30px); font-weight: 700; }
.faq__list { margin-top: 20px; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  position: relative;
  display: flex; align-items: baseline; gap: 12px;
  padding: 18px 36px 18px 0;
  font-weight: 700; font-size: 15px; line-height: 1.6;
  cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__q { font-size: 22px; line-height: 1; color: var(--teal); }
.faq__item summary::after {
  content: ""; position: absolute; right: 8px; top: 50%;
  width: 9px; height: 9px;
  border-right: 1.5px solid var(--ink-2); border-bottom: 1.5px solid var(--ink-2);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.4s var(--ease-out);
}
.faq__item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq__item p { padding: 0 0 20px 26px; font-size: 14px; color: var(--ink-2); }

/* 最後 */
.final.panel { padding-bottom: var(--section); }
.final__art { position: relative; }
.final__art .blob { fill: rgba(250, 239, 220, 0.09); transform: rotate(-10deg); }
.final__art img { position: relative; }
.final__inner { display: grid; gap: 18px; justify-items: center; text-align: center; }
.final__img { width: min(42vw, 180px); }
.final__title { font-size: clamp(26px, 7vw, 42px); font-weight: 700; line-height: 1.45; }
.final__lead { margin-top: 10px; color: rgba(250, 239, 220, 0.78); }
.final .cta { margin: 26px auto 0; text-align: left; }
@media (min-width: 768px) {
  .final__inner { grid-template-columns: 220px 1fr; justify-items: start; text-align: left; gap: 56px; align-items: center; }
  .final__img { width: 220px; }
  .final .cta { margin-left: 0; }
}

.site-footer {
  padding: 36px var(--gutter) calc(100px + env(safe-area-inset-bottom));
  text-align: center; font-size: 12px; color: var(--ink-3);
}
.legal { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 20px; margin-bottom: 8px; }
.legal a { display: inline-flex; align-items: center; min-height: 40px; color: var(--ink-3); font-size: 12px; }
.legal a:hover { color: var(--teal); }
.social--footer { justify-content: center; flex-wrap: wrap; gap: 4px 18px; margin-bottom: 16px; }
.social--footer a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 13px; }
@media (min-width: 768px) { .site-footer { padding-bottom: 32px; } }

/* 下の固定CTA（スマホ・ウェルスナビの型） */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 16px 14px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--cream) 55%, rgba(250, 239, 220, 0));
  transform: translateY(110%);
  transition: transform 0.5s var(--ease-out);
  pointer-events: none;
}
.dock.is-on { transform: none; pointer-events: auto; }
.dock__cta {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 13px 46px 13px 18px;
  background: var(--teal); color: var(--cream);
  border-radius: var(--radius-m);
  text-decoration: none; line-height: 1.3;
  box-shadow: 0 12px 24px -12px rgba(0, 50, 67, 0.8);
}
.dock__cta::after {
  content: ""; position: absolute; right: 20px; top: 50%;
  width: 8px; height: 8px;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.dock__sub { font-size: 11px; opacity: 0.8; }
.dock .cta__main { font-size: 16px; }
@media (min-width: 768px) { .dock { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* 320px 前後の小さい画面 */
@media (max-width: 359px) {
  .brand__sub { display: none; }
  .dock__sub { display: none; }
}

/* プライバシーポリシー・利用規約 */
.brand--link { color: inherit; text-decoration: none; }
.doc { padding: 40px var(--gutter) 88px; }
.doc__inner { max-width: 720px; margin: 0 auto; padding: 36px 24px 44px; background: var(--paper); border-radius: 28px; }
.doc__back a { font-size: 13px; color: var(--ink-3); text-decoration: none; }
.doc__back a:hover { color: var(--teal); }
.doc__title { margin-top: 16px; font-size: clamp(26px, 6.4vw, 36px); font-weight: 700; line-height: 1.4; }
.doc__date { margin-top: 6px; font-size: 13px; color: var(--ink-3); }
.doc__date + p { margin-top: 28px; }
.doc h2 { margin-top: 36px; font-size: 17px; font-weight: 700; line-height: 1.6; }
.doc p, .doc li { font-size: 15px; color: var(--ink-2); }
.doc h2 + p, .doc p + p, .doc h2 + ul { margin-top: 10px; }
.doc ul { padding-left: 1.2em; list-style: disc; }
.doc a { color: var(--teal); }
.legal a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.site-footer--doc { padding-bottom: 40px; }
@media (min-width: 768px) { .doc { padding-top: 64px; } .doc__inner { padding: 56px 64px 64px; } .doc h2 { font-size: 19px; } }
