/* ============================================================
   サーティス FDE Services — Landing Page
   Editorial / 硬派 B2B 組版主導スタイル
   ============================================================ */

:root {
  /* — 紙と墨（温かみのある中性トーン）— */
  --paper:        #f7f4ee;   /* 温かい白（ブランドの白に寄せる） */
  --paper-2:      #efeae0;   /* 一段沈めた紙 */
  --ink:          #211e1a;   /* 墨（ニアブラック） */
  --ink-soft:     #4a463f;   /* 副次テキスト */
  --ink-faint:    #837d72;   /* 補助・キャプション */
  --rule:         #cfc9bc;   /* 罫線（温かいグレー） */
  --rule-soft:    #ddd8cc;
  --dark:         #1b1916;   /* 反転バンドの地 */
  --dark-2:       #262320;

  /* — 差し色：ブランドのアンバー／オレンジ（ロゴ由来）。Tweaksで切替 — */
  --accent:       oklch(0.64 0.15 58);     /* ブランドオレンジ #D87800 系 */
  --accent-ink:   oklch(0.52 0.135 58);    /* テキスト用の濃いオレンジ */
  --accent-tint:  oklch(0.64 0.15 58 / 0.10);
  --brand-amber:  oklch(0.81 0.15 80);     /* ロゴのアンバー #F0A800 系 */

  /* — 書体：すべて BIZ UDPGothic に統一 — */
  --serif: "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic", sans-serif;
  --sans:  "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic", sans-serif;
  --mono:  "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic", sans-serif;

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; }

/* スクリーンリーダー専用（視覚非表示・クロール可能な見出し用） */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.85;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--accent); color: #fff; }

a { color: inherit; text-decoration: none; }

/* — レイアウト基盤 — */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

.section { padding-block: clamp(64px, 9vw, 132px); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }

/* セクション見出し（左ラベル＋右本文の編集的ヘッダ） */
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px 48px;
  padding-bottom: clamp(34px, 4vw, 56px);
}
@media (min-width: 820px) {
  .sec-head { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-ink);
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 22px;
}
.eyebrow .idx { color: var(--ink-faint); }
.sec-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(27px, 3.6vw, 42px);
  line-height: 1.32;
  letter-spacing: 0.01em;
  margin: 0;
}
.sec-lede {
  color: var(--ink-soft);
  max-width: 62ch;
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.95;
}

/* 罫線ユーティリティ */
.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }

/* —————————————————— ヘッダ —————————————————— */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.topbar.is-stuck { border-bottom-color: var(--rule); }
.topbar__in {
  max-width: var(--maxw); margin: 0 auto;
  padding: 15px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand__logo { height: 30px; width: auto; display: block; }
.brand__mark {
  font-family: var(--serif); font-weight: 700; font-size: 21px;
  letter-spacing: 0.04em;
}
.brand__sub {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--ink-faint);
}
.nav { display: none; gap: 30px; align-items: center; }
@media (min-width: 940px) { .nav { display: flex; } }
.nav a {
  font-size: 13.5px; color: var(--ink-soft);
  position: relative; padding-block: 4px;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--ink); transition: width .25s;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em;
  padding: 11px 20px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper);
  border-radius: 2px; cursor: pointer; line-height: 1;
  transition: background .2s, color .2s, transform .15s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-1px); }
.btn .arw { transition: transform .2s; }
.btn:hover .arw { transform: translateX(3px); }
.btn--ghost {
  background: transparent; color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--sm { padding: 9px 16px; font-size: 12px; }
.btn--light {
  background: var(--paper); color: var(--ink); border-color: var(--paper);
}
.btn--light:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* —————————————————— ヒーロー —————————————————— */
.hero { position: relative; overflow: hidden; }
.hero__in {
  max-width: var(--maxw); margin: 0 auto; padding: clamp(56px,8vw,104px) var(--gutter) 0;
}
.hero__eyebrow {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent-ink);
  display: flex; align-items: center; gap: 14px; margin: 0 0 30px;
}
.hero__eyebrow::before {
  content: ""; width: 40px; height: 1px; background: var(--accent);
}
.hero__title {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(36px, 6.4vw, 82px);
  line-height: 1.26; letter-spacing: 0.01em;
  margin: 0; max-width: 18ch;
}
.hero__title .em { color: var(--accent-ink); }
.hero__lede {
  margin: 34px 0 0; max-width: 54ch;
  font-size: clamp(16px, 1.5vw, 18.5px); line-height: 2;
  color: var(--ink-soft);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 40px 0 0; }

/* ヒーロー下部のスペック帯 */
.hero__spec {
  margin-top: clamp(56px, 8vw, 96px);
  border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: 1fr; 
}
@media (min-width: 720px) { .hero__spec { grid-template-columns: repeat(3, 1fr); } }
.spec {
  padding: 26px 0;
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 720px) {
  .spec { padding: 30px 34px 30px 0; border-bottom: 0; }
  .spec + .spec { border-left: 1px solid var(--rule); padding-left: 34px; }
}
.spec__k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 8px; }
.spec__v { font-family: var(--serif); font-size: clamp(20px,2.4vw,27px); font-weight: 700; line-height: 1.3; margin: 0; }
.spec__v small { font-size: 14px; font-family: var(--sans); font-weight: 400; color: var(--ink-soft); }

/* —————————————————— 反転バンド（方針） —————————————————— */
.band-dark {
  background: var(--dark); color: var(--paper);
}
.band-dark .eyebrow { color: color-mix(in srgb, var(--accent) 80%, white 20%); }
.band-dark .sec-title { color: #f5f2ea; }
.band-dark .rule { border-color: rgba(255,255,255,.14); }

.statement {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(26px, 4.2vw, 50px); line-height: 1.4;
  letter-spacing: 0.01em; margin: 0; max-width: 22ch;
}
.statement .q { color: var(--accent); }
.statement-note { color: rgba(245,242,234,.7); margin: 28px 0 0; max-width: 56ch; line-height: 2; font-size: 16px; }

/* 従来型 vs FDE 対比 */
.versus {
  display: grid; gap: 1px; margin-top: clamp(44px,6vw,72px);
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.14);
}
@media (min-width: 800px) { .versus { grid-template-columns: 1fr 1fr; } }
.vcol { background: var(--dark); padding: clamp(28px,3vw,40px); }
.vcol--fde { background: var(--dark-2); }
.vcol__tag {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em;
  text-transform: uppercase; margin: 0 0 22px; display: flex; align-items: center; gap: 10px;
}
.vcol--old .vcol__tag { color: rgba(245,242,234,.55); }
.vcol--fde .vcol__tag { color: color-mix(in srgb, var(--accent) 75%, white 25%); }
.vlist { list-style: none; margin: 0; padding: 0; }
.vlist li {
  padding: 14px 0 14px 26px; position: relative;
  border-top: 1px solid rgba(255,255,255,.1); line-height: 1.65; font-size: 15.5px;
}
.vlist li:first-child { border-top: 0; }
.vcol--old .vlist li { color: rgba(245,242,234,.62); }
.vcol--old .vlist li::before { content: "—"; position: absolute; left: 0; color: rgba(245,242,234,.4); }
.vcol--fde .vlist li::before {
  content: ""; position: absolute; left: 0; top: 22px; width: 11px; height: 1px; background: var(--accent);
}
.vcol--fde .vlist li { color: #f1ede4; }

/* —————————————————— 3つの価値 —————————————————— */
.values { display: grid; gap: 0; }
.value-row {
  display: grid; grid-template-columns: 1fr; gap: 14px 40px;
  padding: clamp(34px,4vw,52px) 0; border-top: 1px solid var(--rule);
}
.value-row:last-child { border-bottom: 1px solid var(--rule); }
@media (min-width: 800px) { .value-row { grid-template-columns: 110px 320px 1fr; } }
.value-num {
  font-family: var(--serif); font-size: clamp(34px,4vw,52px); font-weight: 700;
  color: var(--accent-ink); line-height: 1;
}
.value-h { font-family: var(--serif); font-size: clamp(19px,2vw,24px); font-weight: 700; line-height: 1.45; margin: 0; }
.value-p { color: var(--ink-soft); margin: 0; font-size: 15.5px; line-height: 1.95; max-width: 52ch; }

/* —————————————————— 関与領域 —————————————————— */
.domains { display: grid; gap: 22px; }
@media (min-width: 860px) { .domains { grid-template-columns: repeat(3,1fr); } }
.domain {
  border: 1px solid var(--rule); background: var(--paper-2);
  padding: clamp(26px,2.6vw,34px); display: flex; flex-direction: column; gap: 16px;
  transition: border-color .25s, transform .25s;
}
.domain:hover { border-color: var(--ink); transform: translateY(-3px); }
.domain__n { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.18em; color: var(--ink-faint); }
.domain__h { font-family: var(--serif); font-size: 22px; font-weight: 700; margin: 0; }
.domain__p { margin: 0; font-size: 14.5px; color: var(--ink-soft); line-height: 1.9; }
.domain__tags { list-style: none; margin: auto 0 0; padding: 14px 0 0; border-top: 1px dashed var(--rule); display: flex; flex-wrap: wrap; gap: 7px; }
.domain__tags li { font-family: var(--mono); font-size: 11px; color: var(--ink-faint); border: 1px solid var(--rule); padding: 4px 9px; border-radius: 2px; }
.domains-note { margin: 32px 0 0; color: var(--ink-soft); font-size: 15px; max-width: 70ch; line-height: 1.95; }
.domains-note b { color: var(--ink); font-weight: 700; }

/* —————————————————— サービスメニュー —————————————————— */
.menus { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
@media (min-width: 900px) { .menus { grid-template-columns: repeat(3,1fr); } }
.menu { position: relative; background: var(--paper); padding: clamp(28px,2.8vw,38px); display: flex; flex-direction: column; }
.menu--feature { background: var(--paper-2); }
.menu__rank { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 6px; }
.menu__name { font-family: var(--serif); font-size: clamp(21px,2.2vw,26px); font-weight: 700; margin: 0 0 4px; line-height: 1.3; }
.menu__name:has(.en) { min-height: 84px; }
.menu__name .en { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--accent-ink); font-weight: 400; margin-bottom: 9px; text-transform: uppercase; }
.menu__desc { color: var(--ink-soft); font-size: 14.5px; line-height: 1.85; margin: 6px 0 22px; }
.menu__facts { list-style: none; margin: 0 0 24px; padding: 0; border-top: 1px solid var(--rule); }
.menu__facts li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 14px; align-items: baseline; }
.menu__facts .fk { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); white-space: nowrap; }
.menu__facts .fv { text-align: right; font-weight: 500; white-space: nowrap; }
.menu__facts .fv--wrap { white-space: normal; }
.menu__facts .fv b { font-family: var(--serif); font-size: 17px; }
.menu__foot { margin-top: auto; }
.menu__badge {
  position: absolute; top: 0; right: 0; margin: 0;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink); background: var(--brand-amber); border: 0;
  padding: 7px 13px; border-radius: 0 0 0 3px; font-weight: 500;
}

/* —————————————————— 成果物 / 進め方 —————————————————— */
.split { display: grid; gap: clamp(40px,5vw,72px); }
@media (min-width: 920px) { .split { grid-template-columns: 1fr 1fr; } }

.deliverables { list-style: none; margin: 0; padding: 0; }
.deliverables li { display: grid; grid-template-columns: 34px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--rule); }
.deliverables li:last-child { border-bottom: 1px solid var(--rule); }
.deliverables .dnum { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--accent-ink); line-height: 1.2; }
.deliverables .dh { font-weight: 700; font-size: 16px; margin: 0 0 4px; }
.deliverables .dp { margin: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.85; }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 30px 38px; border-left: 1px solid var(--rule); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -5px; top: 4px; width: 9px; height: 9px;
  background: var(--paper); border: 1px solid var(--accent); border-radius: 50%;
}
.timeline li.is-final::before { background: var(--accent); }
.timeline .twk { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-ink); display: block; margin-bottom: 7px; }
.timeline .tp { margin: 0; font-size: 14.5px; color: var(--ink-soft); line-height: 1.8; }

/* —————————————————— 比較テーブル —————————————————— */
.tablewrap { overflow-x: auto; margin-top: 8px; }
table.cmp { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 14px; }
table.cmp caption { text-align: left; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); padding-bottom: 16px; }
table.cmp th, table.cmp td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--rule); vertical-align: top; line-height: 1.6; }
table.cmp thead th { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); font-weight: 500; border-bottom: 1px solid var(--ink); }
table.cmp tbody th { font-weight: 500; color: var(--ink-soft); font-family: var(--sans); width: 130px; }
table.cmp .col-fde { background: var(--accent-tint); }
table.cmp thead .col-fde { color: var(--accent-ink); font-weight: 700; border-bottom-color: var(--accent); }
table.cmp td.col-fde { font-weight: 500; color: var(--ink); }
.cmp-note { margin: 26px 0 0; color: var(--ink-soft); font-size: 15px; line-height: 1.95; max-width: 72ch; }
.cmp-note b { color: var(--ink); }

/* —————————————————— 価格 —————————————————— */
.prices { display: grid; gap: 22px; }
@media (min-width: 820px) { .prices { grid-template-columns: repeat(3,1fr); } }
.price { border-top: 2px solid var(--ink); padding-top: 22px; }
.price__big { font-family: var(--serif); font-size: clamp(34px,4.4vw,52px); font-weight: 700; line-height: 1; }
.price__big .unit { font-size: 18px; font-family: var(--sans); }
.price__name { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-ink); margin: 14px 0 8px; }
.price__p { margin: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.8; }
.terms { display: grid; gap: clamp(28px,4vw,56px); margin-top: clamp(44px,5vw,68px); }
@media (min-width: 820px) { .terms { grid-template-columns: 1fr 1fr; } }
.term-h { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.term-list { list-style: none; margin: 0; padding: 0; }
.term-list li { position: relative; padding: 9px 0 9px 22px; font-size: 15px; color: var(--ink-soft); line-height: 1.8; }
.term-list li::before { content: ""; position: absolute; left: 0; top: 16px; width: 10px; height: 1px; background: var(--accent); }

/* —————————————————— 流れ（ステップ） —————————————————— */
.steps { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(5,1fr); } }
.step { background: var(--paper); padding: clamp(22px,2vw,28px); display: flex; flex-direction: column; gap: 12px; min-height: 180px; }
.step__n { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: var(--accent-ink); }
.step__h { font-family: var(--serif); font-size: 17px; font-weight: 700; margin: 0; line-height: 1.4; }
.step__p { margin: auto 0 0; font-size: 13px; color: var(--ink-soft); line-height: 1.75; }
.steps-note { margin: 30px 0 0; color: var(--ink-soft); font-size: 15px; line-height: 1.9; }
.steps-note b { color: var(--ink); }

/* —————————————————— FAQ —————————————————— */
.faq { border-top: 1px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  display: flex; align-items: flex-start; gap: 20px; padding: 26px 0;
  font-family: inherit; color: var(--ink); font-size: clamp(16px,1.7vw,19px);
  font-weight: 500; line-height: 1.55;
}
.faq__q .qn { font-family: var(--mono); font-size: 13px; color: var(--accent-ink); padding-top: 3px; flex-shrink: 0; }
.faq__q .qt { flex: 1; font-family: var(--serif); font-weight: 700; }
.faq__sign { flex-shrink: 0; width: 22px; height: 22px; position: relative; margin-top: 4px; }
.faq__sign::before, .faq__sign::after { content: ""; position: absolute; background: var(--ink); transition: transform .3s, opacity .3s; }
.faq__sign::before { left: 0; top: 50%; width: 100%; height: 1.5px; transform: translateY(-50%); }
.faq__sign::after  { top: 0; left: 50%; height: 100%; width: 1.5px; transform: translateX(-50%); }
.faq__item.open .faq__sign::after { transform: translateX(-50%) scaleY(0); opacity: 0; }
.faq__a { overflow: hidden; height: 0; transition: height .35s ease; }
.faq__a-in { padding: 0 0 28px 49px; color: var(--ink-soft); font-size: 15.5px; line-height: 2; max-width: 74ch; }

/* —————————————————— 最終CTA —————————————————— */
.cta { background: var(--dark); color: var(--paper); }
.cta__in { max-width: var(--maxw); margin: 0 auto; padding: clamp(64px,9vw,120px) var(--gutter); }
.cta__eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--accent) 78%, white 22%); margin: 0 0 26px; display: flex; align-items: center; gap: 14px; }
.cta__eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--accent); }
.cta__title { font-family: var(--serif); font-weight: 700; font-size: clamp(28px,4.6vw,54px); line-height: 1.34; margin: 0; max-width: 20ch; }
.cta__p { color: rgba(245,242,234,.74); margin: 26px 0 40px; max-width: 56ch; line-height: 2; font-size: 16px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.cta__meta { margin: 44px 0 0; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; gap: 36px; }
.cta__meta div { display: flex; flex-direction: column; gap: 5px; }
.cta__meta .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(245,242,234,.5); }
.cta__meta .v { font-size: 15px; color: #f1ede4; }

/* —————————————————— フッタ —————————————————— */
.footer { background: var(--dark-2); color: rgba(245,242,234,.7); }
.footer__in { max-width: var(--maxw); margin: 0 auto; padding: clamp(48px,5vw,72px) var(--gutter); }
.footer__top { display: grid; gap: 30px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.12); }
@media (min-width: 760px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer__brand .brand__mark { color: #f5f2ea; }
.footer__brand p { margin: 16px 0 0; font-size: 13.5px; line-height: 1.9; max-width: 38ch; }
.footer__col h4 { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(245,242,234,.45); margin: 0 0 14px; font-weight: 500; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer__col a { font-size: 14px; color: rgba(245,242,234,.78); }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-top: 24px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: rgba(245,242,234,.45); }

/* —————————————————— スクロール表示アニメ —————————————————— */
@media (prefers-reduced-motion: no-preference) {
  html.js-anim .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
  html.js-anim .reveal.in { opacity: 1; transform: none; }
  html.js-anim .reveal[data-d="1"] { transition-delay: .08s; }
  html.js-anim .reveal[data-d="2"] { transition-delay: .16s; }
  html.js-anim .reveal[data-d="3"] { transition-delay: .24s; }
}

/* —————————————————— Tweaks パネル最小スタイル —————————————————— */
#tw {
  position: fixed; right: 18px; bottom: 18px; z-index: 80;
  background: var(--paper); border: 1px solid var(--ink); border-radius: 4px;
  padding: 16px 18px; box-shadow: 0 14px 40px rgba(0,0,0,.18);
  font-size: 13px; display: none; min-width: 220px;
}
#tw.show { display: block; }
#tw h5 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 14px; color: var(--ink-faint); }
.tw-row { margin-bottom: 14px; }
.tw-row > span { display: block; font-size: 11px; color: var(--ink-faint); margin-bottom: 7px; font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.tw-opts { display: flex; gap: 7px; }
.tw-sw { width: 26px; height: 26px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; outline: 1px solid var(--rule); outline-offset: -1px; }
.tw-sw.sel { border-color: var(--ink); }
.tw-seg { display: flex; border: 1px solid var(--rule); border-radius: 3px; overflow: hidden; }
.tw-seg button { flex: 1; background: none; border: 0; padding: 7px 10px; font-family: var(--sans); font-size: 12px; cursor: pointer; color: var(--ink-soft); }
.tw-seg button.sel { background: var(--ink); color: var(--paper); }
