:root {
  --bg: #ffffff;
  --fg: #0f1117;
  --muted: #5b606b;
  --border: #e4e7ec;
  --surface: #f5f7fb;
  --accent: #2f6fed;
  --accent-strong: #1f56c9;
  --accent-soft: #e8efff;
  --violet: #7c4dff;
  --on-accent: #ffffff;
  --shadow: 0 30px 80px rgb(15 17 23 / 0.14);
  /*
   * 書体は FONTPLUS の Neue Frutiger とロダンの混植。
   * 文字の少ない欧文を先に書き、欧文にない仮名と漢字をロダンに回す。
   * どちらも読み込めない環境では、閲覧者の環境のゴシック体に任せる。
   */
  --font-body: "FrutigerNeueLTW1G-Regular", "FOT-ロダン ProN M", "RodinProN-M", sans-serif;
  --font-heading: "FrutigerNeueLTW1G-Bold", "FOT-ロダン ProN DB", "RodinProN-DB", sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0e13;
    --fg: #eceef2;
    --muted: #a3a8b2;
    --border: #252a33;
    --surface: #14171e;
    --accent: #7aa2ff;
    --accent-strong: #a3c0ff;
    --accent-soft: #19223a;
    --violet: #b39cff;
    --on-accent: #0c0e13;
    --shadow: 0 30px 80px rgb(0 0 0 / 0.5);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.8 var(--font-body);
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
}

/*
 * 見出しなどは Neue Frutiger Bold とロダン DB。どちらも太さごとに別の書体として配信されるので、太字を擬似的に作らせない。
 * font-weight は、ロダンを読み込めずに sans-serif になったときの太さとして残す。
 * 900 だと iOS ではヒラギノ角ゴの最も太いウェイトになり太すぎるので、700 までにする。
 */
h1,
h2,
h3,
.brand,
.button,
.eyebrow,
.section-label,
.compare-label,
.faq summary,
.facts-list dd {
  font-family: var(--font-heading);
  font-synthesis: none;
}

/* 見出しは文節の切れ目で折り返す。対応していないブラウザでは通常の折り返しになる。 */
h1,
h2,
h3,
.lead,
.section-lead {
  word-break: auto-phrase;
}

.wrap {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}

.narrow {
  width: min(760px, 100% - 40px);
  margin-inline: auto;
}

.center {
  text-align: center;
}

.gradient-text {
  background: linear-gradient(100deg, var(--accent) 10%, var(--violet) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ヘッダー */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand svg {
  width: 26px;
  height: 26px;
  color: var(--accent);
}

.site-nav {
  flex: 1;
}

.site-nav ul {
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  color: var(--muted);
  font-size: 15px;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--fg);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

@media (max-width: 760px) {
  .site-nav {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-actions .text-link {
    display: none;
  }
}

/* ボタン */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font: inherit;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 30%, transparent);
  transition: transform 0.15s, background-color 0.15s, box-shadow 0.15s;
}

.button:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.button svg {
  width: 18px;
  height: 18px;
  transition: transform 0.15s;
}

.button:hover svg {
  transform: translateX(3px);
}

.button.secondary {
  border-color: var(--border);
  background: var(--bg);
  color: var(--fg);
  box-shadow: none;
}

.button.secondary:hover {
  background: var(--surface);
}

.button.large {
  min-height: 54px;
  padding: 0 28px;
  font-size: 16px;
}

.button.small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 14px;
  box-shadow: none;
}

.text-link {
  color: var(--fg);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

kbd {
  display: inline-block;
  min-width: 1.8em;
  padding: 1px 7px;
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--bg);
  color: var(--fg);
  font: inherit;
  font-size: 0.85em;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* ヒーロー */

.hero {
  position: relative;
  overflow: hidden;
  background-image: radial-gradient(color-mix(in srgb, var(--fg) 9%, transparent) 1px, transparent 1px);
  background-size: 22px 22px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  inset: -20% -10% auto 35%;
  height: 720px;
  background:
    radial-gradient(40% 50% at 40% 40%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 70%),
    radial-gradient(35% 45% at 70% 55%, color-mix(in srgb, var(--violet) 24%, transparent), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 56px;
  padding-block: 88px 120px;
}

@media (max-width: 960px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 56px;
    padding-block: 56px 88px;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  padding: 6px 14px;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border));
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 700;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent);
}

.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(38px, 4.6vw, 58px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.hero .lead {
  max-width: 30em;
  margin: 0 0 36px;
  color: var(--muted);
  font-size: 17px;
}

.hint {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* ヒーローの舞台。架空のサイトの上で、クイックジャンプが動く様子を見せる */

.stage {
  position: relative;
}

/* 見本の中は本物の入力欄に揃えて sans-serif にする。文字が入れ替わるので、サブセット化された Web フォントを当てない */
.stage-window {
  font-family: sans-serif;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg);
  box-shadow: var(--shadow);
}

.stage-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.stage-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.stage-bar em {
  margin-left: 12px;
  padding: 2px 12px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.stage-page {
  padding: 22px 26px 30px;
  transition: opacity 0.2s, filter 0.2s;
}

.stage.is-navigating .stage-page {
  opacity: 0.2;
  filter: blur(2px);
}

.stage-nav {
  display: flex;
  gap: 10px;
  margin-bottom: 26px;
}

.stage-nav span {
  width: 52px;
  height: 8px;
  border-radius: 4px;
  background: var(--border);
}

.stage-title {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 700;
}

.stage-lines {
  display: grid;
  gap: 9px;
  margin-bottom: 22px;
}

.stage-lines span {
  height: 8px;
  border-radius: 4px;
  background: var(--surface);
}

.stage-lines span:nth-child(2) {
  width: 88%;
}

.stage-lines span:nth-child(3) {
  width: 64%;
}

.stage-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.stage-cards span {
  height: 64px;
  border-radius: 10px;
  background: var(--surface);
}

.stage-dialog {
  position: absolute;
  inset: 70px 28px auto;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg);
  box-shadow: 0 20px 50px rgb(15 17 23 / 0.2), 0 0 0 100vmax rgb(15 17 23 / 0.18);
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  transition: opacity 0.18s, transform 0.18s;
}

.stage-dialog.is-open {
  opacity: 1;
  transform: none;
}

.stage-input {
  min-height: 56px;
  padding: 14px 18px;
  font-size: 18px;
}

.stage-caret {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  margin-left: 2px;
  background: var(--accent);
  vertical-align: text-bottom;
  animation: blink 1s steps(1) infinite;
}

.stage-results {
  margin: 0;
  padding: 0 6px;
  list-style: none;
  max-height: 0;
  overflow: hidden;
  border-top: 1px solid transparent;
  transition: max-height 0.2s, padding 0.2s;
}

.stage-results.is-shown {
  max-height: 160px;
  padding-block: 6px;
  border-top-color: var(--border);
}

.stage-results li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 15px;
}

.stage-results li.is-active {
  background: var(--accent-soft);
  color: var(--fg);
  font-weight: 700;
}

.stage-results li.is-chosen {
  background: var(--accent);
  color: var(--on-accent);
}

.stage-enter {
  display: grid;
  place-items: center;
  width: 22px;
  height: 20px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--bg);
  color: var(--muted);
  font-size: 12px;
}

.stage-keys {
  position: absolute;
  right: -10px;
  bottom: -22px;
  display: flex;
  gap: 8px;
  font-size: 18px;
}

.stage-keys kbd {
  padding: 4px 12px;
  box-shadow: 0 10px 24px rgb(15 17 23 / 0.16);
  transition: transform 0.08s, background-color 0.08s, color 0.08s;
}

.stage-keys kbd.is-pressed {
  background: var(--accent);
  color: var(--on-accent);
  transform: translateY(3px);
}

@media (max-width: 560px) {
  .stage-dialog {
    inset-inline: 14px;
  }

  .stage-keys {
    right: 8px;
  }
}

@keyframes blink {
  50% { opacity: 0; }
}

/* 言い換えの帯 */

.phrases {
  display: grid;
  gap: 14px;
  padding-block: 8px 24px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee {
  display: flex;
  width: max-content;
}

.marquee-track {
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 0 14px 0 0;
  list-style: none;
  animation: marquee 48s linear infinite;
}

.marquee[data-direction="right"] .marquee-track {
  animation-direction: reverse;
}

.phrases:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-track li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  white-space: nowrap;
}

.marquee-track span {
  color: var(--muted);
}

.marquee-track span::before {
  content: "「";
}

.marquee-track span::after {
  content: "」";
}

.marquee-track b {
  color: var(--fg);
}

.marquee-track b::before {
  content: "→";
  margin-right: 10px;
  color: var(--accent);
}

@keyframes marquee {
  to { transform: translateX(-100%); }
}

/* セクション */

.section {
  padding-block: 112px;
}

.section.tinted {
  background: var(--surface);
}

@media (max-width: 760px) {
  .section {
    padding-block: 76px;
  }
}

.section-label {
  display: inline-block;
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.section h2 {
  margin: 0 0 20px;
  font-size: clamp(24px, 4.2vw, 44px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.section-lead {
  max-width: 38em;
  margin: 0 0 52px;
  color: var(--muted);
  font-size: 17px;
}

/* 狭い画面では見出しの強制改行を外し、文節での折り返しに任せる */
@media (max-width: 560px) {
  .section h2 br,
  .closing h2 br {
    display: none;
  }
}

/* これまでと jetscan の比較 */

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 760px) {
  .compare {
    grid-template-columns: 1fr;
  }
}

.compare-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
}

.compare-card.is-jetscan {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
  background:
    radial-gradient(80% 90% at 100% 0%, var(--accent-soft), transparent 70%),
    var(--bg);
}

.compare-label {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.is-jetscan .compare-label {
  color: var(--accent);
}

.trail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.trail li {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  font-size: 15px;
  font-weight: 600;
}

.trail li:not(:last-child)::after {
  content: "›";
  margin-left: 10px;
  margin-right: -6px;
  color: var(--muted);
}

.trail li.trail-goal {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-accent);
}

.trail kbd {
  font-size: 13px;
}

.compare-note {
  margin: 0;
  color: var(--muted);
}

/* 特長のタイル */

.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tile {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--bg);
}

.tile-wide {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: 32px;
}

@media (max-width: 900px) {
  .bento {
    grid-template-columns: minmax(0, 1fr);
  }

  .tile-wide {
    grid-column: auto;
    flex-direction: column;
    align-items: stretch;
  }
}

.tile h3 {
  margin: 0 0 8px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.45;
}

.tile p {
  margin: 0;
  color: var(--muted);
}

.tile-visual {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  border-radius: 18px;
  background:
    radial-gradient(70% 90% at 50% 0%, var(--accent-soft), transparent 70%),
    var(--surface);
}

.tile-wide .tile-visual {
  width: min(44%, 320px);
  min-height: 160px;
}

@media (max-width: 900px) {
  .tile-wide .tile-visual {
    width: auto;
  }
}

.tile-keys {
  gap: 10px;
  font-size: 26px;
}

.tile-keys kbd {
  padding: 6px 16px;
  box-shadow: 0 10px 20px rgb(15 17 23 / 0.1);
}

.tile-intent {
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px;
  color: var(--accent);
}

.tile-intent svg {
  width: 22px;
  height: 22px;
}

.chip {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font-size: 14px;
  font-weight: 600;
}

.chip-strong {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-accent);
}

.tile-tree {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: center;
  gap: 10px 8px;
  padding: 18px;
}

.node {
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  font-family: monospace;
  font-size: 12px;
}

.node-root {
  grid-column: 1 / -1;
  justify-self: center;
  border-color: var(--accent);
  color: var(--accent);
}

.tile-themes {
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px;
}

.theme {
  display: grid;
  gap: 6px;
  width: 64px;
  padding: 10px 8px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--t-bg);
  box-shadow: 0 8px 18px rgb(15 17 23 / 0.08);
}

.theme::before,
.theme::after {
  content: "";
  height: 7px;
  border-radius: 4px;
}

.theme::before {
  background: var(--t-hl);
}

.theme::after {
  width: 70%;
  background: color-mix(in srgb, var(--t-fg) 25%, transparent);
}

/* 数字の帯 */

.facts {
  padding-block: 64px;
  border-block: 1px solid var(--border);
}

.facts-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
  text-align: center;
}

@media (max-width: 700px) {
  .facts-list {
    grid-template-columns: 1fr;
  }
}

.facts-list dt {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.facts-list dd {
  margin: 4px 0;
  font-size: 22px;
  font-weight: 700;
}

.facts-list strong {
  margin-inline: 4px;
  font-size: 56px;
  line-height: 1.1;
  background: linear-gradient(100deg, var(--accent), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.facts-list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

/* ステップ */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.steps li {
  position: relative;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--bg);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  font-family: var(--font-heading);
  font-synthesis: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--violet));
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.steps h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

pre {
  overflow-x: auto;
  margin: 0 0 16px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  font-size: 14px;
  line-height: 1.7;
}

.steps pre {
  margin: 16px 0 0;
  padding: 12px 14px;
  font-size: 12px;
  white-space: pre-wrap;
  word-break: break-all;
}

code {
  font-family: monospace;
}

/* その場で試す */

.try-section {
  padding-top: 0;
}

.try {
  position: relative;
  overflow: hidden;
  padding: 72px 48px;
  border-radius: 32px;
  background: #0c0e13;
  color: #eceef2;
  text-align: center;
}

.try-glow {
  position: absolute;
  inset: -40% -10% auto;
  height: 420px;
  background:
    radial-gradient(40% 60% at 35% 50%, rgb(47 111 237 / 0.45), transparent 70%),
    radial-gradient(35% 55% at 65% 50%, rgb(124 77 255 / 0.4), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

.try > :not(.try-glow) {
  position: relative;
}

.try h2 {
  margin-bottom: 16px;
  color: #fff;
}

.try p {
  margin: 0 auto 32px;
  max-width: 34em;
  color: rgb(236 238 242 / 0.75);
}

.try kbd {
  border-color: rgb(255 255 255 / 0.3);
  background: rgb(255 255 255 / 0.06);
  color: #fff;
}

.try .keys {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
  font-size: 24px;
}

.try .keys kbd {
  padding: 4px 16px;
}

.try .button {
  background: #fff;
  color: #0c0e13;
  box-shadow: 0 10px 30px rgb(124 77 255 / 0.35);
}

.try .examples {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.try .examples li {
  padding: 4px 14px;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 999px;
  color: rgb(236 238 242 / 0.85);
}

@media (max-width: 760px) {
  .try {
    padding: 52px 24px;
  }
}

/* よくある質問 */

.faq {
  border-top: 1px solid var(--border);
}

.faq details {
  border-bottom: 1px solid var(--border);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  font-size: 17px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin: 0;
  padding: 0 4px 24px;
  color: var(--muted);
}

/* 締め */

.closing {
  position: relative;
  overflow: hidden;
  padding-block: 128px;
  background:
    radial-gradient(45% 70% at 50% 110%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
    radial-gradient(30% 50% at 70% 100%, color-mix(in srgb, var(--violet) 18%, transparent), transparent 70%),
    var(--bg);
  text-align: center;
}

.closing h2 {
  margin: 0 0 18px;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.3;
}

.closing p {
  margin: 0 0 40px;
  color: var(--muted);
  font-size: 17px;
}

.closing .actions {
  justify-content: center;
}

/* スクロールに合わせた表示。演出を使うときだけ、最初は隠しておく */

.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .marquee-track,
  .stage-caret {
    animation: none;
  }

  .marquee {
    width: auto;
  }

  .marquee-track {
    flex-wrap: wrap;
    justify-content: center;
  }

  .button,
  .button svg {
    transition: none;
  }
}

/* 下層ページ */

.doc {
  padding-block: 72px 96px;
}

.doc h1 {
  margin: 0 0 20px;
  font-size: clamp(30px, 5vw, 42px);
  font-weight: 700;
  line-height: 1.3;
}

.doc h2 {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 700;
}

.doc section {
  padding-block: 40px 0;
}

table {
  width: 100%;
  margin-bottom: 16px;
  border-collapse: collapse;
  font-size: 15px;
}

th,
td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.table-scroll {
  overflow-x: auto;
}

/* フッター */

.site-footer {
  padding-block: 48px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--fg);
}

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