@charset "UTF-8";

/* ============================================================
   QB Edge — デスクトップ版 試験配布 LP
   紙（和紙テクスチャ）／濃墨／黄 の3値で構成する editorial 配布面。
   外部フォント・外部リソースは一切参照しない。
   ============================================================ */

/* --- 1. トークン ------------------------------------------- */

:root {
  /* 色 */
  --paper:        #f2eee3;
  --paper-warm:   #ebe5d6;
  --ink:          #141414;
  --ink-80:       #35322d;
  --ink-60:       #5f5a51;
  --ink-45:       #837c70;
  --rule:         rgba(20, 20, 20, .16);
  --rule-strong:  rgba(20, 20, 20, .42);
  --rule-dot:     rgba(20, 20, 20, .3);

  --noir:         #101010;
  --noir-2:       #171717;
  --noir-fg:      #ece7db;
  --noir-fg-60:   #918b7f;
  --noir-rule:    rgba(236, 231, 219, .18);
  --noir-dot:     rgba(236, 231, 219, .26);

  --yellow:       #f0c000;
  --yellow-hi:    #ffd21f;
  --yellow-deep:  #c79c00;

  /* 書体 */
  --mincho: "Hiragino Mincho ProN", "ヒラギノ明朝 ProN", "Hiragino Mincho Pro",
            "Yu Mincho", "YuMincho", "Noto Serif JP", "Source Han Serif JP",
            "Songti SC", serif;
  --gothic: "Hiragino Sans", "ヒラギノ角ゴシック", "Hiragino Kaku Gothic ProN",
            "Yu Gothic Medium", "Yu Gothic", "Noto Sans JP", sans-serif;
  --mono:   "SF Mono", "SFMono-Regular", ui-monospace, Menlo, Monaco,
            "Courier New", monospace;

  /* 寸法 */
  --gut: clamp(20px, 5vw, 92px);
  --sec-y: clamp(72px, 11vw, 168px);
  --maxw: 1440px;
}

/* --- 2. リセット ------------------------------------------- */

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

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

body {
  margin: 0;
  font-family: var(--gothic);
  font-size: 1rem;              /* 16px 下限 */
  line-height: 1.95;
  color: var(--ink);
  background-color: var(--paper);
  background-image: url("./assets/paper.png");
  background-size: 1536px 1024px;
  background-position: center top;
  background-repeat: repeat;
  background-attachment: fixed;
  font-feature-settings: "palt" 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, p, ul, ol, dl, dd, figure, pre { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
code, pre, kbd { font-family: var(--mono); }

a { color: inherit; }

/* フォーカス表示 */
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 1px;
}
.specimen :focus-visible,
.tail :focus-visible,
.site-foot :focus-visible { outline-color: var(--yellow); }

::selection { background: var(--yellow); color: var(--ink); }

/* スキップリンク */
.skip {
  position: absolute;
  left: 0; top: 0;
  z-index: 60;
  transform: translateY(-120%);
  padding: .85rem 1.4rem;
  background: var(--ink);
  color: var(--paper);
  font-size: .9375rem;
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { transform: translateY(0); }

/* --- 3. 共通レイアウト ------------------------------------- */

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

.section { padding-block: var(--sec-y); }

.section + .section { border-top: 1px solid var(--rule); }

/* 見出しブロック：左に索引番号を吊るす非対称構成 */
.sec-head {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .5rem;
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.idx {
  font-family: var(--mono);
  font-size: .875rem;
  letter-spacing: .22em;
  color: var(--ink-45);
  border-top: 2px solid var(--ink);
  padding-top: .5rem;
  width: max-content;
  margin-bottom: .9rem;
}

.sec-title {
  font-family: var(--mincho);
  font-weight: 600;
  font-size: clamp(1.875rem, 4.2vw, 3.25rem);
  line-height: 1.34;
  letter-spacing: .01em;
  margin-bottom: 1.1rem;
}

.sec-desc {
  font-size: 1.0625rem;
  line-height: 2.05;
  color: var(--ink-80);
  max-width: 38rem;
}

.eyebrow {
  font-family: var(--mono);
  font-size: .875rem;
  letter-spacing: .18em;
  color: var(--ink-60);
  margin-bottom: 1.6rem;
}

/* 縦組みのラベル */
.rail-label {
  font-family: var(--mono);
  font-size: .875rem;
  letter-spacing: .3em;
  color: var(--ink-45);
}
.rail-label span {
  display: inline-block;
  writing-mode: vertical-rl;
  border-left: 1px solid var(--rule-strong);
  padding-left: .7rem;
}
.rail-label--light { color: var(--noir-fg-60); }
.rail-label--light span { border-left-color: var(--noir-rule); }

/* --- 4. ヘッダー ------------------------------------------- */

.site-head { border-bottom: 1px solid var(--rule); }

.site-head__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 1.15rem;
}

.brand {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .7rem;
  min-width: 0;
  max-width: 100%;
  text-decoration: none;
}
.brand__mark { flex: none; }
.brand__name {
  font-family: var(--mincho);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: .04em;
}
.brand__sub {
  font-family: var(--mono);
  font-size: .875rem;
  letter-spacing: .14em;
  color: var(--ink);
  background: var(--yellow);
  padding: .15rem .55rem;
  max-width: 100%;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1.55rem;
}
.site-nav a {
  display: inline-block;
  font-size: .9375rem;
  letter-spacing: .04em;
  text-decoration: none;
  padding-block: .2rem;
  border-bottom: 1px solid transparent;
  transition: border-color .18s ease, color .18s ease;
}
.site-nav a:hover { border-bottom-color: var(--ink); }
.site-nav a[aria-current="true"] {
  border-bottom-color: var(--yellow-deep);
  color: var(--ink);
  font-weight: 700;
}

/* --- 5. ヒーロー ------------------------------------------- */

.hero {
  padding-block: clamp(56px, 9vw, 132px) clamp(56px, 9vw, 130px);
  border-bottom: 1px solid var(--rule);
  position: relative;
}

/* 背後の細罫グリッド */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    to right,
    transparent 0,
    transparent calc(12.5% - 1px),
    rgba(20, 20, 20, .055) calc(12.5% - 1px),
    rgba(20, 20, 20, .055) 12.5%
  );
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 3.5rem);
}

.hero__title {
  font-family: var(--mincho);
  font-weight: 600;
  font-size: clamp(2.4rem, 8.6vw, 5.75rem);
  line-height: 1.22;
  letter-spacing: .015em;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
}
.hero__title span { display: block; }
.hero__title .accent {
  display: inline;
  background-image: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 92%, transparent 92%);
}

.hero__lede {
  font-size: 1.125rem;
  line-height: 2.1;
  color: var(--ink-80);
  max-width: 34rem;
  border-left: 2px solid var(--ink);
  padding-left: 1.3rem;
}
.hero__lede strong { font-weight: 700; color: var(--ink); }

.hero__cta { margin-top: clamp(2.25rem, 4.5vw, 3.25rem); max-width: 34rem; }

.cta-sub {
  font-size: .9375rem;
  color: var(--ink-60);
  margin-top: .9rem;
}
.cta-sub a { text-underline-offset: .22em; }

/* サイドの基礎情報 */
.hero__aside {
  display: flex;
  align-items: flex-start;
  gap: clamp(1.25rem, 3vw, 2.25rem);
}
.hero__aside .rail-label { display: none; }

.factsheet {
  flex: 1 1 auto;
  min-width: 0;
  border-top: 2px solid var(--ink);
}
.fact {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .25rem 1rem;
  padding-block: .8rem;
  border-bottom: 1px solid var(--rule);
}
.fact dt {
  font-size: .875rem;
  letter-spacing: .1em;
  color: var(--ink-60);
  font-family: var(--mono);
}
.fact dd {
  font-family: var(--mincho);
  font-weight: 600;
  font-size: 1.0625rem;
  text-align: right;
}

/* --- 6. CTA ------------------------------------------------ */

.cta-note {
  font-size: .9375rem;
  line-height: 1.85;
  color: var(--ink-80);
  border-top: 1px solid var(--rule-strong);
  padding-top: .85rem;
  margin-bottom: 1.1rem;
}
.cta-note__tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: .875rem;
  letter-spacing: .16em;
  background: var(--ink);
  color: var(--paper);
  padding: .1rem .5rem;
  margin-right: .6rem;
  vertical-align: .08em;
}
.cta-note--dark {
  color: var(--noir-fg);
  border-top-color: var(--noir-rule);
}
.cta-note--dark .cta-note__tag {
  background: var(--yellow);
  color: var(--ink);
}

.cta {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .28rem;
  max-width: 100%;
  padding: 1.15rem 1.9rem;
  background: var(--yellow);
  color: var(--ink);
  text-decoration: none;
  border: 2px solid var(--ink);
  box-shadow: 7px 7px 0 var(--ink);
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.cta:hover {
  background: var(--yellow-hi);
  transform: translate(3px, 3px);
  box-shadow: 4px 4px 0 var(--ink);
}
.cta:active { transform: translate(7px, 7px); box-shadow: 0 0 0 var(--ink); }

.cta__label {
  font-family: var(--mincho);
  font-weight: 600;
  font-size: clamp(1.125rem, 2.4vw, 1.4375rem);
  letter-spacing: .04em;
  line-height: 1.5;
}
.cta__meta {
  font-family: var(--mono);
  font-size: .875rem;
  letter-spacing: .06em;
  color: rgba(20, 20, 20, .78);
  overflow-wrap: anywhere;
}
.cta--lg { padding: 1.35rem 2.2rem; }

.tail .cta { border-color: var(--noir-fg); box-shadow: 7px 7px 0 var(--yellow-deep); }
.tail .cta:hover { box-shadow: 4px 4px 0 var(--yellow-deep); }
.tail .cta:active { box-shadow: 0 0 0 var(--yellow-deep); }

/* --- 7. 罫線リスト（概要） --------------------------------- */

.ruled-list { border-top: 2px solid var(--ink); }
.ruled-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .2rem 2rem;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--rule);
}
.ruled-list__k {
  font-family: var(--mincho);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: .03em;
}
.ruled-list__v { color: var(--ink-80); max-width: 46rem; }

/* --- 8. 2つのモード ---------------------------------------- */

.modes { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }

.mode {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem 2.5rem;
  border-top: 2px solid var(--ink);
  padding-top: 1.6rem;
}

.mode__num {
  font-family: var(--mincho);
  font-weight: 600;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1;
  color: var(--ink);
}
.mode--b .mode__num { color: var(--ink-45); }

.mode__tag {
  display: inline-block;
  max-width: 100%;
  font-family: var(--mono);
  font-size: .875rem;
  letter-spacing: .14em;
  padding: .15rem .55rem;
  margin-bottom: .85rem;
  background: var(--yellow);
}
.mode--b .mode__tag { background: transparent; border: 1px solid var(--rule-strong); }

.mode__title {
  font-family: var(--mincho);
  font-weight: 600;
  font-size: clamp(1.625rem, 3.4vw, 2.375rem);
  line-height: 1.4;
  letter-spacing: .03em;
  margin-bottom: .75rem;
}
.mode__lede {
  font-size: 1.0625rem;
  color: var(--ink-80);
  max-width: 34rem;
  margin-bottom: 1.6rem;
}

.checks { border-top: 1px solid var(--rule); max-width: 40rem; }
.checks li {
  position: relative;
  padding: .8rem 0 .8rem 1.9rem;
  border-bottom: 1px solid var(--rule);
  font-size: 1rem;
  line-height: 1.85;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.45em;
  width: .85rem;
  height: 2px;
  background: var(--ink);
}

/* --- 9. 技術仕様（黒帯） ----------------------------------- */

.specimen {
  position: relative;
  overflow: clip;
  background: var(--noir);
  color: var(--noir-fg);
  padding-block: clamp(76px, 12vw, 176px);
  border-top: 1px solid var(--rule);
}

/* 上端に載る非対称の黄色バー */
.specimen__bar {
  position: absolute;
  top: 0; left: 0;
  width: 38%;
  height: 8px;
  background: var(--yellow);
}

/* 背後の細罫 */
.specimen::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    to right,
    transparent 0,
    transparent calc(16.666% - 1px),
    rgba(236, 231, 219, .07) calc(16.666% - 1px),
    rgba(236, 231, 219, .07) 16.666%
  );
}

/* 右端で断ち落とすブランドマーク */
.specimen__mark {
  position: absolute;
  right: -11%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(300px, 46vw, 620px);
  height: auto;
  opacity: .07;
  pointer-events: none;
}

.specimen__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}

.specimen__rail { display: flex; align-items: center; gap: 1.25rem; }
.specimen__idx {
  font-family: var(--mono);
  font-size: .875rem;
  letter-spacing: .22em;
  color: var(--noir-fg-60);
  border-top: 2px solid var(--yellow);
  padding-top: .5rem;
}

.specimen__title {
  font-family: var(--mincho);
  font-weight: 600;
  font-size: clamp(1.875rem, 4.4vw, 3.5rem);
  line-height: 1.32;
  letter-spacing: .01em;
  margin-bottom: 1.25rem;
}
.specimen__lede {
  font-size: 1.0625rem;
  line-height: 2.05;
  color: var(--noir-fg);
  opacity: .82;
  max-width: 36rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.specimen__h3 {
  font-family: var(--mono);
  font-size: .875rem;
  font-weight: 400;
  letter-spacing: .2em;
  color: var(--yellow);
  margin-bottom: 1.1rem;
  padding-bottom: .55rem;
  border-bottom: 1px solid var(--noir-rule);
}

/* 仕様表（点線リーダー付き） */
.spec { max-width: 42rem; }
.spec-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 .75rem;
  padding-block: .62rem;
}
.spec-row + .spec-row { border-top: 1px solid rgba(236, 231, 219, .08); }
.spec-row dt {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: .7rem;
  font-size: .9375rem;
  letter-spacing: .05em;
  color: var(--noir-fg-60);
  white-space: nowrap;
}
.spec-row dt::after {
  content: "";
  flex: 1 1 auto;
  min-width: 1.25rem;
  border-bottom: 1px dotted var(--noir-dot);
  transform: translateY(-.3em);
}
.spec-row dd {
  flex: 0 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
  font-family: var(--mincho);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: .02em;
  text-align: right;
}

.specimen__note {
  max-width: 42rem;
  margin-top: 1.5rem;
  padding-left: 1.1rem;
  border-left: 2px solid var(--yellow);
  font-size: .9375rem;
  line-height: 1.95;
  color: var(--noir-fg);
  opacity: .8;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.25rem, 4vw, 3.5rem);
  margin-top: clamp(3rem, 6vw, 5rem);
}

.bar-list li {
  position: relative;
  padding: .7rem 0 .7rem 1.6rem;
  border-bottom: 1px solid rgba(236, 231, 219, .08);
  font-size: 1rem;
  color: var(--noir-fg);
}
.bar-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35em;
  width: .7rem;
  height: 2px;
  background: var(--noir-fg-60);
}
.bar-list--open li::before { background: var(--yellow); }

/* --- 10. ダウンロード -------------------------------------- */

.section--download { background: rgba(235, 229, 214, .5); }

.dl {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 3.5rem);
  align-items: start;
}

.dl__action { max-width: 38rem; }

.filemeta {
  border-top: 2px solid var(--ink);
  container-type: inline-size;
}
.filemeta__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .3rem 1.5rem;
  padding-block: .95rem;
  border-bottom: 1px solid var(--rule);
}
/* 自分の列に十分な幅があるときだけ2カラムにする。
   テキストサイズを拡大すると自動的に縦積みへ戻る。 */
@container (min-width: 30rem) {
  .filemeta__row {
    grid-template-columns: minmax(0, 12rem) minmax(0, 1fr);
    align-items: baseline;
  }
}
.filemeta dt {
  font-family: var(--mono);
  font-size: .875rem;
  letter-spacing: .1em;
  color: var(--ink-60);
}
.filemeta dd {
  font-size: 1rem;
  overflow-wrap: anywhere;
}
.filemeta code {
  font-size: .9375rem;
  letter-spacing: .01em;
  background: rgba(20, 20, 20, .06);
  padding: .1rem .35rem;
}
.filemeta__row--hash dd {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
}
.filemeta__row--hash code {
  flex: 1 1 12rem;
  min-width: 0;
  word-break: break-all;
  line-height: 1.7;
}

.copy {
  flex: none;
  font-family: var(--mono);
  font-size: .875rem;
  letter-spacing: .1em;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--rule-strong);
  padding: .3rem .8rem;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease;
}
.copy:hover { background: var(--yellow); border-color: var(--ink); }
.copy[data-state="done"] { background: var(--yellow); border-color: var(--ink); }

.verify { margin-top: .5rem; }
.verify__head {
  font-family: var(--mono);
  font-size: .875rem;
  letter-spacing: .18em;
  color: var(--ink-60);
  border-bottom: 1px solid var(--rule);
  padding-bottom: .55rem;
  margin-bottom: 1rem;
}
.verify__code {
  background: var(--ink);
  color: var(--paper);
  padding: 1rem 1.15rem;
  overflow-x: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: .875rem;
  line-height: 1.8;
}
.verify__note {
  margin-top: 1rem;
  font-size: .9375rem;
  line-height: 1.9;
  color: var(--ink-80);
  max-width: 34rem;
}

/* --- 11. 導入手順 ------------------------------------------ */

.steps { border-top: 2px solid var(--ink); max-width: 52rem; }

.step {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: .35rem 1.5rem;
  padding-block: 1.6rem;
  border-bottom: 1px solid var(--rule);
}
.step__num {
  font-family: var(--mincho);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.5;
}
.step__num span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  min-height: 2.4rem;
  padding: .1rem .3rem;
  border: 1px solid var(--rule-strong);
}
.step__title {
  font-family: var(--mincho);
  font-weight: 600;
  font-size: 1.1875rem;
  line-height: 1.6;
  letter-spacing: .02em;
  margin-bottom: .35rem;
}
.step__body p { color: var(--ink-80); max-width: 40rem; }

.callout {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  max-width: 46rem;
  background: var(--paper-warm);
  border: 1px solid var(--rule-strong);
  border-left: 8px solid var(--yellow);
  padding: clamp(1.4rem, 3vw, 2.1rem);
}
.callout__tag {
  font-family: var(--mono);
  font-size: .875rem;
  letter-spacing: .14em;
  color: var(--ink-60);
  margin-bottom: .6rem;
}
.callout__title {
  font-family: var(--mincho);
  font-weight: 600;
  font-size: clamp(1.125rem, 2.4vw, 1.5rem);
  line-height: 1.6;
  margin-bottom: .75rem;
}
.callout__body { color: var(--ink-80); font-size: 1rem; }

/* --- 12. FAQ ----------------------------------------------- */

.faq { border-top: 2px solid var(--ink); max-width: 52rem; }

.qa { border-bottom: 1px solid var(--rule); }

.qa summary {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding-block: 1.35rem;
  cursor: pointer;
  list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "＋";
  flex: none;
  margin-left: auto;
  font-family: var(--mono);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink-60);
  transition: transform .2s ease, color .2s ease;
}
.qa[open] summary::after { content: "−"; color: var(--ink); }
.qa summary:hover .qa__q { text-decoration: underline; text-underline-offset: .25em; }

.qa__q {
  font-family: var(--mincho);
  font-weight: 600;
  font-size: clamp(1.0625rem, 2.2vw, 1.25rem);
  line-height: 1.7;
  letter-spacing: .02em;
}

.qa__a {
  padding: 0 0 1.5rem;
  max-width: 42rem;
}
.qa__a p {
  color: var(--ink-80);
  border-left: 2px solid var(--yellow);
  padding-left: 1.15rem;
}

/* --- 13. 末尾 CTA ------------------------------------------ */

.tail {
  background: var(--noir);
  color: var(--noir-fg);
  padding-block: clamp(72px, 11vw, 150px);
  position: relative;
  overflow: clip;
}
.tail::before {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 26%;
  height: 8px;
  background: var(--yellow);
}
.tail__inner { max-width: 44rem; }
.tail__eyebrow {
  font-family: var(--mono);
  font-size: .875rem;
  letter-spacing: .2em;
  color: var(--noir-fg-60);
  margin-bottom: 1.2rem;
}
.tail__title {
  font-family: var(--mincho);
  font-weight: 600;
  font-size: clamp(2rem, 5.4vw, 3.75rem);
  line-height: 1.3;
  letter-spacing: .02em;
  margin-bottom: 2rem;
}

/* --- 14. フッター ------------------------------------------ */

.site-foot {
  background: var(--noir-2);
  color: var(--noir-fg);
  padding-block: 2.5rem;
}
.site-foot__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.site-foot__brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--mincho);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: .03em;
}
.site-foot__meta {
  font-family: var(--mono);
  font-size: .875rem;
  letter-spacing: .06em;
  color: var(--noir-fg-60);
  line-height: 1.9;
}

/* --- 15. 登場アニメーション -------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition:
    opacity .62s cubic-bezier(.22, .61, .36, 1) calc(var(--d, 0) * 80ms),
    transform .62s cubic-bezier(.22, .61, .36, 1) calc(var(--d, 0) * 80ms);
}

/* --- 16. ブレイクポイント ---------------------------------- */

/* < 720px : 仕様表は点線リーダーをやめて縦積みにする */
@media (max-width: 719px) {
  .spec-row { display: block; padding-block: .7rem; }
  .spec-row dt { display: block; white-space: normal; }
  .spec-row dt::after { display: none; }
  .spec-row dd { text-align: left; }
}

/* ≥ 720px : 見出し・手順・リストを2カラム化 */
@media (min-width: 720px) {
  .ruled-list li { grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); }
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step { grid-template-columns: 4.5rem minmax(0, 1fr); }
  .mode { grid-template-columns: 5.5rem minmax(0, 1fr); }
  .mode__num { text-align: right; }
}

/* ≥ 980px : 非対称グリッドを開く */
@media (min-width: 980px) {
  .hero__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0 clamp(16px, 2vw, 32px);
    align-items: start;
  }
  .hero__lead { grid-column: 1 / 9; }
  .hero__aside {
    grid-column: 9 / 13;
    margin-top: 4.5rem;
    padding-left: clamp(16px, 2vw, 32px);
    border-left: 1px solid var(--rule);
  }
  .hero__aside .rail-label { display: block; }

  .sec-head {
    grid-template-columns: 7rem minmax(0, 1fr);
    max-width: 62rem;
    column-gap: clamp(16px, 2vw, 32px);
  }
  .idx { grid-row: 1 / span 2; margin-bottom: 0; }
  .sec-title { grid-column: 2; }
  .sec-desc { grid-column: 2; }

  .specimen__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0 clamp(16px, 2vw, 32px);
  }
  .specimen__rail {
    grid-column: 1 / 3;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
  .specimen__body { grid-column: 3 / 11; }

  /* モード2列目をわずかに字下げして非対称にする */
  .mode--b { margin-left: clamp(0px, 8vw, 116px); }
}

/* ≥ 1120px : ダウンロード節を2カラムに割る
   （テキストサイズ拡大時に詰まらないよう、980px では割らない） */
@media (min-width: 1120px) {
  .dl { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  .dl__action { grid-row: span 2; }
}

/* ≥ 1280px */
@media (min-width: 1280px) {
  .specimen__body { grid-column: 3 / 10; }
  .hero__title { letter-spacing: .02em; }
}

/* --- 17. 動きの抑制 ---------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  .js .reveal.is-in { transition: none; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .cta:hover, .cta:active { transform: none; }
}

/* --- 18. コントラスト設定 ---------------------------------- */

@media (prefers-contrast: more) {
  :root {
    --ink-80: #1a1a1a;
    --ink-60: #2c2c2c;
    --ink-45: #3b3b3b;
    --rule: rgba(20, 20, 20, .45);
    --noir-fg-60: #cfc9bd;
  }
}

/* --- 19. 印刷 ---------------------------------------------- */

@media print {
  body { background: #fff; color: #000; }
  .site-nav, .skip, .copy { display: none; }
  .specimen, .tail, .site-foot { background: #fff; color: #000; }
  .cta { box-shadow: none; }
  .js .reveal { opacity: 1; transform: none; }
}
