@charset "utf-8";

/* ==========================================================================
   釘ログ kugilog.com — 共通スタイル
   レイアウト/組版の正本: Claude Design「kugilog リデザイン」(2026-09-01、D-61)
   カラートークンの正本: packages/ui-tokens/tokens.json / docs/12-design-principles.md
   制約(site-brief §3): JS なし・外部リクエストなし・Cookie なし
   ========================================================================== */

:root {
  /* 面 */
  --bg:          #0F1115;
  --surface:     #171A21;
  --elevated:    #1F2430;
  --pressed:     #2A303C;
  --deep:        #0C0E12;
  --band:        #13161D;
  /* 罫線 */
  --line:        #2A303C;
  --line-subtle: #1F2430;
  --line-strong: #3A4150;
  /* 文字 */
  --fg:          #F2F4F8;
  --fg-2:        #A3ACBF;
  --fg-3:        #6B7486;
  /* アクセント */
  --teal:        #2DD4BF;
  --teal-hi:     #5EEAD4;
  --on-teal:     #0B1A18;
  /* 状態 */
  --positive:    #4ADE80;
  --negative:    #F87171;

  /* 形状 */
  --r-chip:  8px;
  --r-key:  12px;
  --r-card: 16px;

  /* レイアウト */
  --wrap:   1120px;
  --gutter: clamp(20px, 5vw, 40px);
  --sec-y:  clamp(72px, 9vw, 112px);

  /* 書体(外部フォントは読み込まない = site-brief §3) */
  --sans: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN",
          "Noto Sans JP", "Yu Gothic UI", Meiryo, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  color-scheme: dark;
}

/* --------------------------------------------------------------------------
   ベース
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: clamp(16px, 1.6vw, 17px);
  line-height: 1.8;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; border: 0; }

/* 全面のフィルムグレイン。SVG の feTurbulence をデータ URI で埋め込む
   (外部リクエストなし。stitchTiles='stitch' で継ぎ目なくタイルする) */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 9;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  opacity: .14;
  mix-blend-mode: overlay;
}
@media (prefers-reduced-transparency: reduce) {
  body::before { display: none; }
}

h1, h2, h3 { margin: 0; font-weight: 700; text-wrap: balance; }
p, li { text-wrap: pretty; }

a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color .15s ease;
}
a:hover { color: var(--teal-hi); }
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* 数字は必ず等幅(桁がずれない) */
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

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

.sr {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 12px; top: -64px; z-index: 99;
  background: var(--teal); color: var(--on-teal);
  padding: 10px 16px; border-radius: var(--r-chip);
  font-weight: 700; text-decoration: none;
  transition: top .15s ease;
}
.skip:focus { top: 12px; color: var(--on-teal); }

/* --------------------------------------------------------------------------
   ヘッダー / フッター
   -------------------------------------------------------------------------- */

.masthead {
  position: relative; z-index: 6;
  border-bottom: 1px solid var(--line-subtle);
  background: rgba(15, 17, 21, .72);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
}
.masthead__in { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--fg); text-decoration: none; font-weight: 700;
  letter-spacing: .03em; font-size: 17px;
}
.brand:hover { color: var(--fg); }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.masthead nav {
  margin-left: auto;
  display: flex; align-items: center; gap: clamp(14px, 3vw, 28px);
  font-size: 14px;
}
.masthead nav a { color: var(--fg-2); text-decoration: none; }
.masthead nav a:hover { color: var(--fg); }
.masthead nav a[aria-current="page"] {
  color: var(--fg);
  box-shadow: inset 0 -2px 0 var(--teal);
  padding-bottom: 2px;
}

.foot {
  background: var(--deep);
  border-top: 1px solid var(--line);
  padding-block: clamp(40px, 5vw, 56px) clamp(36px, 4vw, 48px);
}
.foot__in { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot__brand { display: flex; align-items: center; gap: 12px; }
.foot__brand img { width: 34px; height: 34px; border-radius: 8px; }
.foot__brand b { display: block; font-size: 17px; font-weight: 700; letter-spacing: .03em; }
.foot__brand span span { display: block; font-size: 13px; color: var(--fg-3); font-weight: 400; letter-spacing: 0; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 15px; padding-top: 6px; }
.foot nav a { color: var(--fg-2); text-decoration: none; }
.foot nav a:hover { color: var(--teal); text-decoration: underline; }
.foot__legal {
  margin: clamp(24px, 3vw, 36px) 0 0; padding-top: 24px;
  border-top: 1px solid var(--line-subtle);
  font-size: 13px; color: var(--fg-3); line-height: 1.9;
}

/* --------------------------------------------------------------------------
   ヒーロー
   -------------------------------------------------------------------------- */

.hero {
  position: relative; z-index: 1;
  padding-block: clamp(56px, 8vw, 96px) clamp(64px, 9vw, 112px);
  background-image:
    radial-gradient(60% 55% at 76% 12%, rgba(45, 212, 191, .14) 0%, rgba(45, 212, 191, 0) 68%),
    linear-gradient(100deg, rgba(15, 17, 21, .96) 0%, rgba(15, 17, 21, .86) 42%, rgba(15, 17, 21, .55) 100%),
    linear-gradient(to bottom, rgba(15, 17, 21, .1) 55%, var(--bg) 100%),
    url("img/hero-bg.jpg");
  background-size: auto, auto, auto, cover;
  background-position: center, center, center, center 30%;
  background-repeat: no-repeat;
}
@media (max-width: 899px) {
  /* モバイルは端末画像が下に来るので、縦方向の覆いを強くする */
  .hero {
    background-image:
      radial-gradient(90% 50% at 70% 6%, rgba(45, 212, 191, .14) 0%, rgba(45, 212, 191, 0) 68%),
      linear-gradient(to bottom, rgba(15, 17, 21, .92) 0%, rgba(15, 17, 21, .82) 45%, rgba(15, 17, 21, .96) 100%),
      url("img/hero-bg.jpg");
    background-size: auto, auto, cover;
  }
}

.hero__in { position: relative; }
.hero__copy { max-width: 620px; }

.eyebrow {
  margin: 0;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .18em;
  color: var(--fg-3);
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--line-strong);
}

.hero h1 { margin: clamp(14px, 2vw, 18px) 0 0; }
.hero h1 .hero__kicker {
  display: block;
  font-size: clamp(17px, 2.1vw, 25px);
  font-weight: 600; color: var(--fg-2);
  letter-spacing: .02em; line-height: 1.45;
}
.hero h1 em {
  display: block; font-style: normal;
  color: var(--fg);
  font-size: clamp(37px, 5.6vw, 68px);
  letter-spacing: -0.03em; line-height: 1.16;
  margin-top: clamp(4px, 1vw, 8px);
}

.hero__lead {
  margin: clamp(18px, 2.4vw, 24px) 0 0;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.95; color: var(--fg-2);
  max-width: 31em;
}

/* 区切り罫で並べる(pill にしない) */
.hero__facts {
  list-style: none; margin: clamp(22px, 3vw, 32px) 0 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center;
  font-size: 13px; font-weight: 600; color: var(--fg-2);
}
.hero__facts li { padding: 2px 14px; border-left: 1px solid var(--line); }
.hero__facts li:first-child { padding-left: 0; border-left: 0; }
/* 折り返すと 2 行目の先頭にも罫線が残る(CSS では行頭を判定できない)ので、
   1 行に収まらない幅では罫線をやめて余白だけで区切る */
@media (max-width: 719px) {
  .hero__facts { gap: 8px 18px; }
  .hero__facts li { padding: 0; border-left: 0; }
}

.status {
  margin: clamp(26px, 3.4vw, 36px) 0 0;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; color: var(--fg-2);
}
.status__dot {
  width: 8px; height: 8px; flex: none; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 0 4px rgba(45, 212, 191, .14);
}
.status b { color: var(--fg); font-weight: 700; }

/* --------------------------------------------------------------------------
   端末モック
   -------------------------------------------------------------------------- */

.phone {
  position: relative;
  width: 100%; max-width: 300px;
  margin-inline: auto;
  border-radius: 38px; padding: 9px;
  background: linear-gradient(160deg, #333A49 0%, #1A1E27 38%, #0C0E13 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .1) inset,
    0 34px 70px -24px rgba(0, 0, 0, .95),
    0 0 0 1px rgba(0, 0, 0, .5);
}
.phone img { border-radius: 30px; width: 100%; background: var(--bg); }
.phone::before {
  content: "";
  position: absolute; top: 17px; left: 50%; transform: translateX(-50%);
  width: 64px; height: 5px; border-radius: 3px;
  background: rgba(0, 0, 0, .62); z-index: 2;
}

/* ヒーローの端末は、デスクトップだけ本文の右に重ねる */
.phone--hero { margin-top: clamp(40px, 6vw, 56px); max-width: 280px; }
@media (min-width: 900px) {
  .phone--hero {
    /* right は padding box 基準なので、gutter 分だけ内側に寄せないと
       1120px 未満で端末が画面端に張り付いて切れる */
    position: absolute; right: var(--gutter); top: -6px;
    width: 300px; max-width: none; margin: 0;
    transform: rotate(-2.2deg); z-index: 5;
  }
}
@media (min-width: 1120px) {
  .phone--hero { width: 320px; }
}

/* --------------------------------------------------------------------------
   セクション
   -------------------------------------------------------------------------- */

.section { padding-block: var(--sec-y) calc(var(--sec-y) - 8px); }
.section--surface {
  background: linear-gradient(to bottom, var(--bg) 0%, var(--band) 14%, var(--band) 86%, var(--bg) 100%);
}

/* 背景写真つきのセクション(画像は任意。無ければグラデーションだけが残る)。
   覆いを重ねて本文のコントラストを WCAG AA 以上に保つこと。 */
.section--photo {
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  isolation: isolate;
}
.section--photo > * { position: relative; z-index: 1; }

/* 「釘ログでできること」— 極めて控えめな質感 */
.section--caps {
  background-image:
    linear-gradient(to bottom, var(--bg) 0%, rgba(15, 17, 21, .90) 18%, rgba(15, 17, 21, .90) 82%, var(--bg) 100%),
    url("img/panel-texture.jpg");
  background-size: auto, cover;
  background-position: center, center;
}

/* 「ホールで、手が止まらない」— ボケたホール内観 */
.section--hall {
  background-image:
    linear-gradient(100deg, rgba(15, 17, 21, .97) 0%, rgba(15, 17, 21, .90) 46%, rgba(15, 17, 21, .70) 100%),
    linear-gradient(to bottom, var(--bg) 0%, rgba(15, 17, 21, 0) 18%, rgba(15, 17, 21, 0) 82%, var(--bg) 100%),
    url("img/hall-bg.jpg");
  background-size: auto, auto, cover;
  background-position: center, center, center 40%;
}
@media (max-width: 899px) {
  .section--hall {
    background-image:
      linear-gradient(to bottom, rgba(15, 17, 21, .96) 0%, rgba(15, 17, 21, .90) 50%, rgba(15, 17, 21, .96) 100%),
      url("img/hall-bg.jpg");
    background-size: auto, cover;
  }
}

/* 見出し。h2 は 27→42px、リードは 37em で止める */
.section__head h2 {
  font-size: clamp(27px, 3.6vw, 42px);
  letter-spacing: -0.015em;
  line-height: 1.32;
  max-width: 18em;
}
.section__head p {
  margin: clamp(12px, 1.6vw, 16px) 0 0;
  color: var(--fg-2);
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.9;
  max-width: 37em;
}

/* ヒーロー直下の細い区切り(画像は使わない) */
.band {
  position: relative; height: 1px;
  background: linear-gradient(to right,
    rgba(42, 48, 60, 0) 0%, var(--line) 22%, var(--line-strong) 50%, var(--line) 78%, rgba(42, 48, 60, 0) 100%);
}
.band::after {
  content: "";
  position: absolute; left: 50%; top: 50%;
  width: min(560px, 66vw); height: 140px;
  transform: translate(-50%, -50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(45, 212, 191, .13) 0%, rgba(45, 212, 191, 0) 70%);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   なぜ数えるのか(本文だけ)
   -------------------------------------------------------------------------- */

.why__body {
  max-width: 44em;
  margin-top: clamp(26px, 3.4vw, 40px);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 2;
  color: var(--fg-2);
}
.why__body p { margin: 0 0 18px; }
.why__body p:last-child { margin-bottom: 0; }
.why__body strong { color: var(--fg); font-weight: 700; }

/* --------------------------------------------------------------------------
   続けるか、移るか — 実機画面つきの 2 例
   -------------------------------------------------------------------------- */

.cases {
  display: grid;
  gap: clamp(44px, 6vw, 72px);
  margin-top: clamp(40px, 5vw, 64px);
}
@media (min-width: 880px) { .cases { grid-template-columns: 1fr 1fr; } }

.case {
  display: grid; gap: clamp(20px, 2.4vw, 28px);
  align-content: start;
  border-top: 1px solid var(--line);
  padding-top: clamp(22px, 2.6vw, 30px);
}

.case__label {
  margin: 0;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--fg);
}
.case__label::before {
  content: ""; width: 9px; height: 9px; flex: none; border-radius: 50%;
  background: var(--line-strong);
}
.case--up   .case__label::before { background: var(--positive); box-shadow: 0 0 0 4px rgba(74, 222, 128, .14); }
.case--down .case__label::before { background: var(--negative); box-shadow: 0 0 0 4px rgba(248, 113, 113, .14); }

.case__big {
  margin: 0;
  display: flex; align-items: baseline; gap: 8px;
  font-size: clamp(56px, 9vw, 104px);
  font-weight: 700; line-height: .95; letter-spacing: -0.05em;
}
.case__big i { font-style: normal; font-size: .26em; font-weight: 600; color: var(--fg-2); letter-spacing: 0; }

.case__cmp {
  margin: 0; padding-top: clamp(16px, 2vw, 22px);
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px;
  font-size: 15px; color: var(--fg-2);
}
.case__cmp b { font-weight: 700; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.02em; line-height: 1; }
.case--up   .case__cmp b { color: var(--positive); }
.case--down .case__cmp b { color: var(--negative); }

.case .phone { margin-inline: 0; max-width: 260px; }
.case__note { margin: 0; font-size: 15px; line-height: 1.9; color: var(--fg-2); max-width: 30em; }
.case__note b { color: var(--fg); font-weight: 700; }

/* --------------------------------------------------------------------------
   釘ログでできること — 罫線の表組み + 淡い連番(カードにしない)
   -------------------------------------------------------------------------- */

.caps { margin-top: clamp(28px, 4vw, 56px); }
.cap {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 4px 20px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.cap:last-child { border-bottom: 1px solid var(--line); }
.cap__no {
  grid-row: span 2;
  font-size: 44px; font-weight: 700; line-height: .9; letter-spacing: -0.04em;
  color: var(--line-strong);
}
.cap h3 { font-size: 18px; line-height: 1.5; }
.cap p { margin: 0; font-size: 14px; line-height: 1.85; color: var(--fg-2); max-width: 34em; }

@media (min-width: 900px) {
  .cap {
    grid-template-columns: 150px 330px minmax(0, 1fr);
    gap: 44px; padding: 36px 0; align-items: start;
  }
  .cap__no { grid-row: auto; font-size: 78px; line-height: .85; }
  .cap h3 { font-size: 22px; }
  .cap p { font-size: 15px; line-height: 1.9; }
}

/* --------------------------------------------------------------------------
   操作は 3 つだけ — 上罫 + 大きな番号
   -------------------------------------------------------------------------- */

.steps { list-style: none; margin: clamp(28px, 4vw, 64px) 0 0; padding: 0; display: grid; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 56px; } }

.step { border-top: 1px solid var(--line); padding: 26px 0; }
@media (min-width: 860px) { .step { padding: 28px 0 0; } }
.step__no {
  display: block;
  font-size: clamp(44px, 4.8vw, 60px);
  font-weight: 700; line-height: 1; letter-spacing: -0.04em;
}
.step h3 { margin: clamp(16px, 2vw, 22px) 0 0; font-size: clamp(17px, 1.8vw, 18px); line-height: 1.65; }
.step p { margin: clamp(10px, 1.4vw, 12px) 0 0; font-size: clamp(14px, 1.5vw, 15px); line-height: 1.9; color: var(--fg-2); }

.more { margin: clamp(36px, 5vw, 64px) 0 0; font-size: clamp(15px, 1.6vw, 16px); }

/* --------------------------------------------------------------------------
   ホールで、手が止まらない — 高さをずらした 2 列
   -------------------------------------------------------------------------- */

.perks { display: grid; gap: 14px; margin-top: clamp(28px, 4vw, 64px); }
@media (min-width: 900px) {
  .perks { grid-template-columns: 1fr 1fr; gap: 0 36px; align-items: start; }
  .perks__col { display: flex; flex-direction: column; gap: 32px; }
  .perks__col--offset { margin-top: 112px; }
}
.perks__col { display: flex; flex-direction: column; gap: 14px; }

.perk {
  background: var(--elevated);
  border-radius: var(--r-key);
  padding: 24px 24px 26px;
}
@media (min-width: 900px) { .perk { border-radius: 14px; padding: 34px 36px; } }
.perk strong { display: block; font-size: clamp(17px, 1.9vw, 19px); font-weight: 700; margin-bottom: 9px; }
.perk span { display: block; font-size: clamp(14px, 1.5vw, 15px); color: var(--fg-2); line-height: 1.9; }

.disclaimer {
  margin: clamp(30px, 4vw, 36px) 0 0;
  border-left: 2px solid var(--line-strong);
  padding: 5px 0 5px 20px;
  font-size: clamp(13px, 1.4vw, 14px); line-height: 1.9; color: var(--fg-3);
  max-width: 46em;
}

/* --------------------------------------------------------------------------
   行動喚起
   -------------------------------------------------------------------------- */

.cta {
  position: relative;
  padding-block: clamp(64px, 8vw, 112px);
  border-top: 1px solid var(--line);
  background-image:
    radial-gradient(90% 130% at 84% 0%, rgba(45, 212, 191, .16) 0%, rgba(45, 212, 191, 0) 62%),
    linear-gradient(95deg, rgba(15, 17, 21, .97) 0%, rgba(16, 19, 24, .88) 48%, rgba(16, 19, 24, .55) 100%),
    url("img/cta-bg.jpg");
  background-size: auto, auto, cover;
  background-position: center, center, center 65%;
  background-repeat: no-repeat;
}
.cta__in { display: flex; align-items: center; justify-content: space-between; gap: clamp(24px, 4vw, 56px); flex-wrap: wrap; }
.cta h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.01em; line-height: 1.35; }
.cta p { margin: 14px 0 0; color: var(--fg-2); font-size: clamp(14px, 1.5vw, 16px); line-height: 1.9; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 clamp(28px, 3.4vw, 40px);
  border-radius: var(--r-key);
  font-size: 17px; font-weight: 700;
  text-decoration: none; white-space: nowrap;
  background: var(--teal); color: var(--on-teal);
  box-shadow: 0 24px 50px -20px rgba(45, 212, 191, .45);
  transition: background-color .16s ease;
}
.btn:hover { background: var(--teal-hi); color: var(--on-teal); }
@media (min-width: 900px) { .btn { min-height: 62px; } }

/* --------------------------------------------------------------------------
   サポート — 見出し / ラベル付き段落
   -------------------------------------------------------------------------- */

.page-head {
  padding-block: clamp(56px, 8vw, 96px) clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line-subtle);
  background: radial-gradient(80% 100% at 20% 0%, #171B24 0%, var(--bg) 70%);
}
/* 和文は既定だと文字単位で折り返すので「プライ / バシーポリシー」と語中で割れる。
   keep-all で空白位置だけを改行点にし、最小サイズは 390px 幅で
   「プライバシーポリシー」(32px で 312px)が 1 行に収まる値にする。 */
.page-head h1 { font-size: clamp(32px, 5vw, 62px); letter-spacing: -0.025em; line-height: 1.18; word-break: keep-all; }
.page-head p { margin: clamp(14px, 2vw, 20px) 0 0; color: var(--fg-2); font-size: clamp(14px, 1.5vw, 16px); line-height: 1.9; }

/* 「アプリについて」のような、小さなラベル + 本文 */
.labeled { padding-block: clamp(48px, 6vw, 72px) 0; }
.labeled__in { display: grid; gap: 12px; }
@media (min-width: 900px) { .labeled__in { grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; } }
.labeled h2 {
  font-size: clamp(12px, 1.3vw, 14px); font-weight: 700;
  letter-spacing: .16em; color: var(--fg-3);
  padding-top: 8px; max-width: none;
}
.labeled p { margin: 0; font-size: clamp(15px, 1.6vw, 17px); line-height: 2; color: var(--fg-2); max-width: 42em; }

/* --------------------------------------------------------------------------
   サポートの手順 — 左右交互 + 袋文字の番号
   -------------------------------------------------------------------------- */

.howto { list-style: none; margin: clamp(36px, 5vw, 80px) 0 0; padding: 0; }

.howto__step {
  position: relative;
  border-top: 1px solid var(--line);
  padding: 26px 0 clamp(40px, 5vw, 64px);
  display: grid; gap: clamp(24px, 3vw, 72px);
}
.howto__step:last-child { border-bottom: 1px solid var(--line); }

.howto__no {
  font-size: clamp(64px, 9vw, 132px);
  font-weight: 700; line-height: 1; letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--teal);
  display: block;
}
@media (min-width: 1040px) {
  .howto__step { grid-template-columns: minmax(0, 1fr) 280px; align-items: center; }
  .howto__step--flip { grid-template-columns: 280px minmax(0, 1fr); }
  .howto__step--flip .howto__body { order: 2; }
  .howto__step--flip .phone { order: 1; }
  .howto__no { position: absolute; top: -46px; left: 0; }
  .howto__step--flip .howto__no { left: 352px; }
  .howto__body { padding-top: 120px; }
  .howto__step .phone { margin-top: 56px; max-width: 280px; }
}

.howto__body h3 { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.5; }
.howto__body p { margin: clamp(12px, 1.8vw, 16px) 0 0; font-size: clamp(14px, 1.6vw, 16px); line-height: 2; color: var(--fg-2); max-width: 36em; }
.howto__body b { color: var(--fg); font-weight: 700; }

/* --------------------------------------------------------------------------
   用語 — 罫線だけの定義リスト
   -------------------------------------------------------------------------- */

.terms { padding-block: clamp(48px, 6vw, 8px) clamp(64px, 8vw, 104px); }
.terms__in { display: grid; gap: clamp(24px, 3vw, 64px); }
@media (min-width: 900px) { .terms__in { grid-template-columns: 280px minmax(0, 1fr); align-items: start; } }
.terms h2 { font-size: clamp(24px, 3vw, 36px); letter-spacing: -0.015em; line-height: 1.3; }
.terms__head p { margin: 14px 0 0; color: var(--fg-2); font-size: 15px; line-height: 1.9; }

.glossary { margin: 0; padding: 0; }
.glossary > div {
  display: grid; gap: 4px 32px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.glossary > div:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 680px) { .glossary > div { grid-template-columns: 200px minmax(0, 1fr); align-items: baseline; } }
.glossary dt { font-size: 16px; font-weight: 700; color: var(--fg); }
.glossary dd { margin: 0; font-size: 15px; line-height: 1.9; color: var(--fg-2); }
.glossary dd b { color: var(--fg); font-weight: 700; }

/* --------------------------------------------------------------------------
   FAQ(JS なし。details/summary のみ)
   -------------------------------------------------------------------------- */

.faq { margin-top: clamp(24px, 3vw, 40px); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; position: relative;
  padding: clamp(18px, 2.4vw, 24px) 48px clamp(16px, 2vw, 20px) 0;
  font-size: clamp(15px, 1.7vw, 17px); font-weight: 700; line-height: 1.7;
  color: var(--fg);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--teal-hi); }
.faq__mark { color: var(--fg-3); margin-right: 12px; font-weight: 700; }
/* ＋ / − を CSS だけで */
.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute; right: 6px; top: calc(clamp(18px, 2.4vw, 24px) + 0.85em);
  width: 14px; height: 2px; border-radius: 1px;
  background: var(--fg-3);
  transition: transform .2s ease, opacity .2s ease;
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); opacity: 0; }
.faq__a {
  margin: 0; padding: 0 48px clamp(20px, 2.6vw, 28px) 0;
  font-size: clamp(14px, 1.6vw, 16px); line-height: 1.95; color: var(--fg-2);
  max-width: 52em;
}

/* --------------------------------------------------------------------------
   問い合わせ
   -------------------------------------------------------------------------- */

.contact { padding-block: clamp(64px, 8vw, 104px) clamp(56px, 7vw, 88px); }
.contact__in { display: grid; gap: clamp(24px, 3vw, 72px); }
@media (min-width: 980px) { .contact__in { grid-template-columns: minmax(0, 1fr) 520px; align-items: start; } }
.contact h2 { font-size: clamp(24px, 3vw, 36px); letter-spacing: -0.015em; line-height: 1.3; }

.contact-card {
  background: var(--elevated);
  border-radius: var(--r-card);
  border-top: 3px solid var(--teal);
  padding: clamp(26px, 3.2vw, 36px) clamp(24px, 3.4vw, 40px);
}
.contact-card strong { display: block; font-size: 15px; font-weight: 700; }
.contact-card > p:last-child { margin: 16px 0 0; font-size: 15px; color: var(--fg-2); line-height: 1.9; }

/* メールアドレスの収集対策(JS を使わない)
   HTML のソースには偽の文字列が挟まっているため、ソースを読むだけの収集ボットは
   誤ったアドレスを拾う。display:none の中身は画面表示・読み上げ・コピーのいずれ
   にも含まれないので、人間には正しいアドレスだけが見える。
   mailto: リンクにはしない(href がそのまま収集されるため)。 */
.mail {
  margin: 12px 0 0;
  font-family: var(--mono);
  font-size: clamp(17px, 2.4vw, 24px);
  font-weight: 700; letter-spacing: .01em;
  color: var(--fg);
  user-select: all; -webkit-user-select: all;
  word-break: break-all;
}
.mail__decoy { display: none; }
.contact-note { margin: 14px 0 0; font-size: 13px; line-height: 1.8; color: var(--fg-3); }

.contact__link { margin: 20px 0 0; font-size: 14px; }
@media (min-width: 980px) { .contact__link { grid-column: 2; } }

/* --------------------------------------------------------------------------
   プライバシーポリシー(読み物)
   -------------------------------------------------------------------------- */

.read { width: 100%; max-width: 720px; margin-inline: auto; padding-inline: var(--gutter); }

.prose { padding-block: clamp(36px, 5vw, 60px) clamp(52px, 7vw, 84px); }
.prose h2 {
  font-size: 20px; margin: 44px 0 14px; padding-top: 6px;
  scroll-margin-top: 20px; max-width: none;
}
.prose h2:first-of-type { margin-top: 0; }
.prose p { margin: 0 0 16px; font-size: 17px; line-height: 1.9; }
.prose ul { margin: 0 0 16px; padding-left: 1.2em; }
.prose li { margin-bottom: 8px; line-height: 1.9; }
.prose .contact-card { margin-top: 20px; }
.prose__meta {
  margin-top: 40px; padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px; color: var(--fg-3);
}

/* --------------------------------------------------------------------------
   立ち上がりの演出(CSS のみ・控えめ)
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .62s cubic-bezier(.22, .68, .36, 1) both; }
  .rise-1 { animation-delay: .04s; }
  .rise-2 { animation-delay: .12s; }
  .rise-3 { animation-delay: .20s; }
  .rise-4 { animation-delay: .28s; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
  }
  @media (min-width: 900px) {
    .phone--hero.rise { animation-name: rise-tilt; }
    @keyframes rise-tilt {
      from { opacity: 0; transform: translateY(20px) rotate(-2.2deg); }
      to   { opacity: 1; transform: translateY(0) rotate(-2.2deg); }
    }
  }
}

/* 印刷(プライバシーポリシーを紙で残す人向け) */
@media print {
  body { background: #fff; color: #000; }
  body::before, .masthead, .foot nav, .skip { display: none !important; }
  a { color: #000; }
}
