/* 白樺 SHIRAKABA CMS — LP
   トーン: 白地・ネイビー 1 色・余白広め。装飾バー / グラデーション / 影は使わない。 */

:root {
  --ink: #111827;
  --navy: #1f3a5f;
  --navy-hover: #172d4a;
  --text: #1f2937;
  --muted: #5b6472;
  --line: #e2e5ea;
  --line-strong: #c9cfd8;
  --paper: #ffffff;
  --mist: #f5f6f8;
  --navy-tint: #eef2f7;

  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;

  --wrap: 1160px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(88px, 12vw, 160px);
  --radius: 4px;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  font-feature-settings: "palt" 0;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: var(--navy); text-underline-offset: 0.2em; }
a:hover { color: var(--navy-hover); }
p { margin: 0 0 1.2em; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 600; word-break: auto-phrase; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }

/* 顧客指示により、prefers-reduced-motion でもセクションの入場アニメーションは止めない。
   動きは「不透明度 + 上方向 14px の移動」だけ（点滅・視差・ループ・拡大縮小なし）。
   スムーススクロールだけは設定に従って切る。 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 50; padding: 8px 14px; background: var(--ink); color: #fff; }
.skip:focus { top: 12px; color: #fff; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 48px; padding: 0 1.6em;
  border: 1px solid var(--navy); border-radius: var(--radius);
  font: 500 15px/1 var(--sans); letter-spacing: 0.08em; text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-hover); border-color: var(--navy-hover); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--navy-tint); }
.btn svg { width: 16px; height: 16px; flex: none; }

/* ---------- ヘッダー ---------- */
.header {
  position: sticky; top: 0; z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.header__logo { display: block; flex: none; }
.header__logo img { height: 40px; width: auto; }
.header__nav { display: flex; align-items: center; gap: 28px; }
.header__nav a:not(.btn) { color: var(--text); font-size: 14px; letter-spacing: 0.08em; text-decoration: none; }
.header__nav a:not(.btn):hover { color: var(--navy); }
.header__nav .btn { min-height: 38px; padding: 0 1.1em; font-size: 13px; }
@media (max-width: 1100px) {
  .header__nav a:not(.btn) { display: none; }
}

/* ---------- 共通: セクション ---------- */
.section { padding: var(--section) 0; }
.section--mist { background: var(--mist); }
.section + .section:not(.section--mist) { border-top: 1px solid var(--line); }
.section--mist + .section { border-top: 0; }

.eyebrow {
  display: flex; align-items: baseline; gap: 14px;
  margin: 0 0 24px;
  color: var(--navy); font: 500 13px/1.4 var(--sans); letter-spacing: 0.18em;
}
.eyebrow__no { font-family: var(--serif); font-size: 15px; letter-spacing: 0.06em; }
.eyebrow__no::after { content: ""; display: inline-block; width: 32px; height: 1px; margin-left: 14px; vertical-align: middle; background: var(--navy); }

.h2 { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 40px); line-height: 1.5; letter-spacing: 0.06em; }
.lead { max-width: 40em; margin: 28px 0 0; color: var(--muted); font-size: 16px; }
.head { margin-bottom: clamp(48px, 7vw, 80px); }

.figure-frame { border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.caption { margin: 14px 0 0; color: var(--muted); font-size: 13px; letter-spacing: 0.04em; }

/* ---------- ① ヒーロー ---------- */
.hero { padding: clamp(72px, 11vw, 140px) 0 0; overflow: hidden; }
.hero__origin { margin: 0 0 32px; color: var(--navy); font: 500 14px/1.6 var(--sans); letter-spacing: 0.2em; }
.hero__title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(34px, 6.4vw, 76px); line-height: 1.38; letter-spacing: 0.04em;
}
.hero__title span { display: block; }
.hero__sub { max-width: 36em; margin: 36px 0 0; color: var(--muted); font-size: clamp(15px, 1.6vw, 17px); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }
.hero__spec {
  display: flex; flex-wrap: wrap; gap: 8px 28px;
  margin: 56px 0 0; padding: 18px 0 0; list-style: none;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 13px; letter-spacing: 0.06em;
}
.hero__spec li { display: flex; gap: 10px; }
.hero__spec b { color: var(--ink); font-weight: 500; }
.hero__shot { margin: clamp(56px, 8vw, 96px) 0 0; }
.hero__shot .figure-frame { border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0; }

/* ---------- ストーリー ---------- */
.story { padding: var(--section) 0; border-top: 1px solid var(--line); }
.story__sheet { max-width: 680px; margin: 0 auto; }
.story__title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(26px, 3.6vw, 40px); line-height: 1.6; letter-spacing: 0.08em;
  margin-bottom: clamp(48px, 7vw, 72px);
}
.story__body p {
  margin: 0 0 2em;
  font-family: var(--serif); font-size: clamp(16px, 1.7vw, 17px); line-height: 2.15; letter-spacing: 0.05em;
  color: var(--text);
}
.story__quote { padding-left: 1.4em; border-left: 1px solid var(--navy); color: var(--ink); }
.story__promise {
  margin: clamp(56px, 8vw, 88px) 0 0; padding-top: clamp(40px, 6vw, 56px);
  border-top: 1px solid var(--line);
  font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 3vw, 30px); line-height: 1.6; letter-spacing: 0.1em;
  color: var(--ink);
}
.story__sign { margin: 24px 0 0; }
.story__sign p { margin: 0; }
.story__sign-name { font-family: var(--serif); font-size: 16px; letter-spacing: 0.12em; color: var(--ink); }
.story__sign .story__sign-meta { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.9; letter-spacing: 0.04em; }

.story__body .story__conclusion { margin-top: 2.6em; padding: 28px 0 0; border-top: 1px solid var(--navy); color: var(--ink); font-weight: 600; }

/* ---------- ② なぜ静的か ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.compare__col { padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--paper); }
.compare__col--ours { border-color: var(--navy); }
.compare__label { margin: 0 0 6px; font: 500 13px/1.4 var(--sans); letter-spacing: 0.14em; color: var(--muted); }
.compare__col--ours .compare__label { color: var(--navy); }
.compare__name { margin: 0 0 24px; font-family: var(--serif); font-size: 22px; letter-spacing: 0.06em; color: var(--ink); }
.compare svg { width: 100%; }
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); margin-top: clamp(56px, 7vw, 88px); list-style: none; }
.point__no { font-family: var(--serif); font-size: 15px; color: var(--navy); letter-spacing: 0.08em; }
.point__title { margin: 10px 0 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 20px; line-height: 1.6; letter-spacing: 0.06em; }
.point p { margin: 0; color: var(--muted); font-size: 15px; }
.point dl { margin: 18px 0 0; font-size: 14px; line-height: 1.7; }
.point dt { color: var(--muted); font-size: 12px; letter-spacing: 0.1em; }
.point dd { margin: 0 0 10px; color: var(--ink); }

/* 図 (SVG) */
.dg-box { fill: var(--paper); stroke: var(--line-strong); stroke-width: 1; }
.dg-box--muted { fill: var(--mist); }
.dg-box--risk { fill: var(--paper); stroke: var(--ink); stroke-dasharray: 4 3; }
.dg-box--navy { fill: var(--navy-tint); stroke: var(--navy); }
.dg-box--solid { fill: var(--navy); stroke: var(--navy); }
.dg-line { stroke: var(--line-strong); stroke-width: 1.2; fill: none; }
.dg-line--navy { stroke: var(--navy); }
.dg-head { fill: var(--line-strong); }
.dg-head--navy { fill: var(--navy); }
.dg-t { font-family: var(--sans); font-size: 13px; fill: var(--text); letter-spacing: 0.04em; }
.dg-t--s { font-size: 11px; fill: var(--muted); }
.dg-t--b { font-weight: 500; fill: var(--ink); }
.dg-t--w { fill: #fff; font-weight: 500; }
.dg-t--navy { fill: var(--navy); font-weight: 500; }

/* ---------- ③ デザイン ---------- */
.themes { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(14px, 2vw, 24px); list-style: none; }
.theme__btn {
  display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: zoom-in;
  font: inherit; color: inherit;
}
.theme__img { display: block; aspect-ratio: 16 / 10; border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; background: var(--mist); }
.theme__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.theme__btn:hover .theme__img img, .theme__btn:focus-visible .theme__img img { transform: scale(1.035); }
.theme__btn:hover .theme__img { border-color: var(--navy); }
.theme__name { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 10px; font-size: 14px; letter-spacing: 0.06em; color: var(--ink); }
.theme__name small { color: var(--muted); font-size: 11px; letter-spacing: 0.1em; }
.themes-note { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 4vw, 56px); margin-top: clamp(48px, 6vw, 72px); padding-top: 32px; border-top: 1px solid var(--line); }
.themes-note h3 { margin-bottom: 8px; font-family: var(--serif); font-size: 18px; letter-spacing: 0.06em; }
.themes-note p { margin: 0; color: var(--muted); font-size: 15px; }

/* ライトボックス */
.lightbox { width: min(1200px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: var(--radius); background: var(--paper); color: var(--text); }
.lightbox::backdrop { background: rgba(17, 24, 39, 0.82); }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 20px; border-bottom: 1px solid var(--line); }
.lightbox__title { margin: 0; font-family: var(--serif); font-size: 16px; letter-spacing: 0.06em; color: var(--ink); }
.lightbox__ctrl { display: flex; gap: 4px; }
.lightbox__ctrl button { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid transparent; border-radius: var(--radius); background: none; color: var(--ink); cursor: pointer; }
.lightbox__ctrl button:hover { border-color: var(--line-strong); }
.lightbox__ctrl svg { width: 18px; height: 18px; }
.lightbox__img { width: 100%; height: auto; max-height: calc(100vh - 110px); object-fit: contain; background: var(--mist); }

/* ---------- ④ 更新担当者 ---------- */
.flow { display: grid; gap: clamp(64px, 9vw, 112px); list-style: none; counter-reset: step; }
.flow__item { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.flow__item:nth-child(even) { grid-template-columns: minmax(0, 8fr) minmax(0, 5fr); }
.flow__item:nth-child(even) .flow__text { order: 2; }
.flow__step { font-family: var(--serif); font-size: 15px; color: var(--navy); letter-spacing: 0.1em; }
.flow__title { margin: 8px 0 18px; font-family: var(--serif); font-size: clamp(22px, 2.6vw, 28px); line-height: 1.55; letter-spacing: 0.06em; }
.flow__text p { color: var(--muted); font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; list-style: none; }
.tags li { padding: 3px 10px; border: 1px solid var(--line-strong); border-radius: 2px; font-size: 12px; letter-spacing: 0.06em; color: var(--text); background: var(--paper); }

/* ---------- ⑤ セキュリティ ---------- */
.sec { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.sec__fig { padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--paper); }
.checklist { list-style: none; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.checklist li:first-child { padding-top: 0; }
.checklist svg { width: 18px; height: 18px; margin-top: 6px; color: var(--navy); }
.checklist b { display: block; color: var(--ink); font-weight: 500; letter-spacing: 0.04em; }
.checklist span { display: block; color: var(--muted); font-size: 14px; line-height: 1.8; }
.sec__note { margin-top: 28px; color: var(--muted); font-size: 13px; }

/* ---------- ⑥ 設置 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; border-top: 1px solid var(--ink); }
.steps li { padding: 32px clamp(16px, 2.6vw, 32px) 0 0; }
.steps li + li { padding-left: clamp(16px, 2.6vw, 32px); border-left: 1px solid var(--line); }
.steps__no { font-family: var(--serif); font-size: clamp(36px, 4vw, 48px); line-height: 1; color: var(--navy); }
.steps h3 { margin: 22px 0 12px; font-family: var(--serif); font-size: 19px; line-height: 1.6; letter-spacing: 0.06em; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }
.steps code { padding: 1px 6px; border: 1px solid var(--line); border-radius: 2px; background: var(--mist); font: 13px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink); }
.req { display: flex; flex-wrap: wrap; gap: 10px 32px; margin-top: 56px; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--mist); list-style: none; font-size: 14px; }
.req b { margin-right: 10px; color: var(--muted); font-weight: 400; font-size: 12px; letter-spacing: 0.12em; }

/* ---------- ⑦ 多言語 ---------- */
.i18n { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.langs { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0; list-style: none; border-top: 1px solid var(--line); }
.langs li { display: flex; align-items: baseline; gap: 12px; padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink); }
.langs small { order: -1; min-width: 42px; color: var(--muted); font-size: 11px; letter-spacing: 0.1em; }
.status { display: inline-block; margin-top: 28px; padding: 4px 12px; border: 1px solid var(--navy); border-radius: 2px; color: var(--navy); font-size: 13px; letter-spacing: 0.1em; }
.i18n__list { margin-top: 24px; list-style: none; }
.i18n__list li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.i18n__list b { display: block; color: var(--ink); font-weight: 500; }

/* ---------- AI 検索 ---------- */
.aiflow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--paper); }
.aiflow__node { position: relative; padding: 24px 28px 24px 24px; }
.aiflow__node + .aiflow__node { border-left: 1px solid var(--line-strong); }
.aiflow__node + .aiflow__node::before { content: ""; position: absolute; top: 50%; left: -6px; width: 10px; height: 10px; margin-top: -5px; border-top: 1px solid var(--line-strong); border-right: 1px solid var(--line-strong); background: var(--paper); transform: rotate(45deg); }
.aiflow__node--cms { background: var(--navy-tint); }
.aiflow__node--cms + .aiflow__node::before { border-color: var(--navy); }
.aiflow__k { display: block; margin-bottom: 8px; color: var(--muted); font-size: 11px; letter-spacing: 0.16em; }
.aiflow__node b { display: block; color: var(--ink); font-family: var(--serif); font-size: 17px; font-weight: 600; letter-spacing: 0.05em; }
.aiflow__node--cms b { color: var(--navy); }
.aiflow__node > span:last-child { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; }
.aiflow__files { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; list-style: none; }
.aiflow__files li { padding: 2px 8px; border: 1px solid var(--navy); border-radius: 2px; color: var(--navy); font-size: 12px; letter-spacing: 0.04em; }
.aiflow__files code { font: inherit; }
.ai-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); margin-top: clamp(48px, 6vw, 72px); }
.ai-cols__title { margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); font-family: var(--serif); font-size: 19px; letter-spacing: 0.05em; }
.ai-list { list-style: none; }
.ai-list li { position: relative; padding: 10px 0 10px 20px; border-bottom: 1px solid var(--line); color: var(--text); font-size: 15px; }
.ai-list li::before { content: ""; position: absolute; left: 2px; top: 24px; width: 8px; height: 1px; background: var(--navy); }
.ai-list code, .aiflow code { padding: 0 4px; border: 1px solid var(--line); border-radius: 2px; background: var(--mist); font: 13px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink); }
.ai-cols__note { margin: 16px 0 0; color: var(--muted); font-size: 13px; }
.feature--wide { grid-column: 1 / -1; }
.feature--wide p { max-width: 60em; }

/* ---------- ⑧ FAQ ---------- */
.faq { max-width: 860px; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: grid; grid-template-columns: 36px 1fr 20px; gap: 12px; align-items: baseline;
  padding: 24px 0; cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: clamp(16px, 1.8vw, 18px); font-weight: 600; letter-spacing: 0.04em; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; color: var(--navy); font-size: 18px; }
.faq summary::after { content: ""; width: 10px; height: 10px; margin-top: 4px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); transition: transform .2s; justify-self: center; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 10px; }
.faq__a { padding: 0 32px 28px 48px; color: var(--muted); font-size: 15px; }
.faq__a p:last-child { margin: 0; }

/* ---------- ⑨ 配布準備中 ---------- */
.contact { padding: var(--section) 0; background: var(--ink); color: #d6dae1; }
.contact__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 88px); align-items: end; }
.contact .eyebrow { color: #a9b6c8; }
.contact .eyebrow__no::after { background: #a9b6c8; }
.contact .h2 { color: #fff; }
.contact p { color: #b9c0cb; }
.contact__box { padding: 32px; border: 1px solid #39414f; border-radius: var(--radius); }
.contact__box p { margin: 0 0 20px; font-size: 14px; }
.contact__mail { display: block; margin-bottom: 24px; color: #fff; font-family: var(--serif); font-size: clamp(18px, 2.2vw, 22px); letter-spacing: 0.04em; word-break: break-all; text-decoration: none; }
.contact__mail:hover { color: #fff; text-decoration: underline; }
.contact .btn--primary { width: 100%; background: #fff; border-color: #fff; color: var(--ink); }
.contact .btn--primary:hover { background: #e7ebf0; border-color: #e7ebf0; color: var(--ink); }
.contact__tbd { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; margin: 32px 0 0; font-size: 14px; }
.contact__tbd dt { color: #8d96a4; letter-spacing: 0.1em; }
.contact__tbd dd { margin: 0; color: #fff; }

/* ---------- ⑩ フッター ---------- */
.footer { padding: 56px 0 40px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer__brand { display: flex; align-items: center; gap: 16px; }
.footer__brand img { height: 40px; width: auto; }
.footer__links { display: flex; gap: 24px; list-style: none; }
.footer__links a { color: var(--muted); text-decoration: none; }
.footer__links a:hover { color: var(--navy); text-decoration: underline; }

/* ---------- 下層 (privacy / 404) ---------- */
.doc { padding: clamp(64px, 10vw, 120px) 0 var(--section); }
.doc__sheet { max-width: 760px; }
.doc h1 { font-family: var(--serif); font-size: clamp(28px, 4vw, 40px); line-height: 1.5; letter-spacing: 0.06em; margin-bottom: 16px; }
.doc h2 { margin: 48px 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 20px; letter-spacing: 0.06em; }
.doc p, .doc li { color: var(--text); font-size: 15px; }
.doc ul { padding-left: 1.4em; }
.doc__meta { color: var(--muted); font-size: 13px; }
.notice { margin: 24px 0 0; padding: 14px 18px; border: 1px solid var(--navy); border-radius: var(--radius); background: var(--navy-tint); color: var(--navy); font-size: 14px; }
.nf { display: grid; place-items: center; min-height: calc(100vh - 68px - 140px); padding: 80px 0; text-align: center; }
.nf__code { font-family: var(--serif); font-size: 15px; letter-spacing: 0.3em; color: var(--navy); }
.nf h1 { margin: 16px 0 20px; font-family: var(--serif); font-size: clamp(26px, 4vw, 36px); letter-spacing: 0.08em; }
.nf p { color: var(--muted); }
.nf .btn { margin-top: 20px; }

/* ---------- 入場アニメーション ----------
   .js（boot.js が付ける）があるときだけ隠す。JS 無効時は最初から表示。
   site.js が動かないときは boot.js が 2.5 秒後に .reveal-all を付けて全部表示する。 */
:root { --ease-out: cubic-bezier(.22, .61, .36, 1); --rise: 14px; --dur: 560ms; --step: 70ms; }

.js .reveal,
.js [data-stagger] > * {
  opacity: 0;
  transform: translate3d(0, var(--rise), 0);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
  transition-delay: var(--delay, 0ms);
}
.js .reveal.is-in,
.js [data-stagger].is-in > *,
.reveal-all .reveal,
.reveal-all [data-stagger] > * { opacity: 1; transform: none; }

.js [data-stagger] > :nth-child(2)  { --delay: calc(var(--step) * 1); }
.js [data-stagger] > :nth-child(3)  { --delay: calc(var(--step) * 2); }
.js [data-stagger] > :nth-child(4)  { --delay: calc(var(--step) * 3); }
.js [data-stagger] > :nth-child(5)  { --delay: calc(var(--step) * 4); }
.js [data-stagger] > :nth-child(6)  { --delay: calc(var(--step) * 5); }
.js [data-stagger] > :nth-child(7)  { --delay: calc(var(--step) * 6); }
.js [data-stagger] > :nth-child(8)  { --delay: calc(var(--step) * 7); }
.js [data-stagger] > :nth-child(9)  { --delay: calc(var(--step) * 8); }
.js [data-stagger] > :nth-child(10) { --delay: calc(var(--step) * 9); }
.js [data-stagger] > :nth-child(n+11) { --delay: calc(var(--step) * 10); }

/* ヒーロー: 読み込み直後に 見出し → サブコピー → CTA → 仕様 の順。
   見出しは opacity 0.01 から始めて LCP の計測を遅らせない。画像は動かさない。 */
.js .hero__title span,
.js .hero-in { animation: hero-rise 600ms var(--ease-out) both; }
.js .hero__origin { animation-delay: 0ms; }
.js .hero__title span:nth-child(1) { animation-delay: 60ms; }
.js .hero__title span:nth-child(2) { animation-delay: 130ms; }
.js .hero__sub { animation-delay: 220ms; }
.js .hero__cta { animation-delay: 300ms; }
.js .hero__spec { animation-delay: 380ms; }
@keyframes hero-rise { from { opacity: 0.01; transform: translate3d(0, var(--rise), 0); } to { opacity: 1; transform: none; } }

/* ---------- 無料表記・フッター注記 ---------- */
.hero__free { display: inline-block; margin-left: 16px; padding: 2px 10px; border: 1px solid var(--navy); border-radius: 2px; font-size: 13px; letter-spacing: 0.12em; vertical-align: 1px; }
.footer__note { flex-basis: 100%; margin: 8px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.8; color: var(--muted); }
.footer__note a { color: var(--muted); }
.faq__list { margin: 0 0 0; padding-left: 1.3em; }
.faq__list li { margin-bottom: 6px; }
.req-link { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 40px; font-size: 14px; }

/* ---------- 動作要件 ---------- */
.spec-table { width: 100%; max-width: 920px; border-collapse: collapse; border-top: 1px solid var(--ink); font-size: 15px; background: var(--paper); }
.spec-table th, .spec-table td { padding: 16px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table th { width: 220px; color: var(--ink); font-weight: 500; letter-spacing: 0.04em; background: var(--mist); }
.spec-table td { color: var(--text); line-height: 1.85; }
.spec-table code { padding: 0 5px; border: 1px solid var(--line); border-radius: 2px; background: var(--mist); font: 13px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink); }

/* ---------- 維持費 ---------- */
.cost { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.cost__big { display: flex; align-items: baseline; gap: 8px; margin: 36px 0 0; padding: 20px 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); color: var(--navy); }
.cost__big b { font-family: var(--serif); font-size: clamp(40px, 5vw, 56px); font-weight: 600; line-height: 1; letter-spacing: 0.02em; }
.cost__unit { font-family: var(--serif); font-size: 18px; letter-spacing: 0.06em; color: var(--navy); }
.cost__sub { margin: 14px 0 0; color: var(--ink); font-size: 15px; }
.cost-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); font-size: 14px; background: var(--paper); }
.cost-table th, .cost-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cost-table thead th { color: var(--muted); font-weight: 400; font-size: 12px; letter-spacing: 0.1em; white-space: nowrap; }
.cost-table tbody th { width: 34%; color: var(--ink); font-weight: 500; }
.cost-table td { white-space: nowrap; }
.cost-table small { display: block; margin-top: 2px; color: var(--muted); font-size: 11.5px; font-weight: 400; line-height: 1.6; }
.cost-table td { color: var(--text); font-variant-numeric: tabular-nums; }
.cost-table tfoot th, .cost-table tfoot td { padding-top: 18px; padding-bottom: 18px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); color: var(--ink); font-weight: 500; }
.cost-table tfoot b { color: var(--navy); font-weight: 600; }
.cost-note { margin: 14px 0 0; color: var(--muted); font-size: 12px; }

/* ---------- 特徴 ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); background: var(--paper); }
.feature { position: relative; padding: clamp(24px, 3vw, 36px); border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.feature__icon { width: 32px; height: 32px; fill: none; stroke: var(--navy); stroke-width: 1.5; stroke-linejoin: miter; stroke-linecap: square; }
.feature__no { position: absolute; top: clamp(24px, 3vw, 36px); right: clamp(24px, 3vw, 36px); font-family: var(--serif); font-size: 14px; letter-spacing: 0.08em; color: var(--muted); }
.feature h3 { margin: 20px 0 10px; font-family: var(--serif); font-size: 18px; line-height: 1.6; letter-spacing: 0.05em; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.85; }
.feature code, .faq code { padding: 0 4px; border: 1px solid var(--line); border-radius: 2px; background: var(--mist); font: 12.5px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink); }
.feature__badge { display: inline-block; margin-left: 6px; padding: 0 8px; border: 1px solid var(--navy); border-radius: 2px; font-family: var(--sans); font-size: 11px; font-weight: 500; line-height: 1.8; letter-spacing: 0.08em; color: var(--navy); vertical-align: 2px; }

/* ---------- ヒーローの小リンク ---------- */
.hero__guide { display: inline-flex; align-items: center; min-height: 48px; padding: 0 4px; color: var(--navy); font-size: 14px; letter-spacing: 0.06em; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 1080px) {
  .themes { grid-template-columns: repeat(4, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .compare, .points, .sec, .i18n, .contact__inner, .themes-note, .cost, .ai-cols { grid-template-columns: minmax(0, 1fr); }
  .aiflow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aiflow__node:nth-child(3) { border-left: 0; border-top: 1px solid var(--line-strong); }
  .aiflow__node:nth-child(4) { border-top: 1px solid var(--line-strong); }
  .aiflow__node:nth-child(3)::before { top: -6px; left: 50%; margin: 0 0 0 -5px; transform: rotate(135deg); }
  .flow__item, .flow__item:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .flow__item:nth-child(even) .flow__text { order: 0; }
  .themes { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li, .steps li + li { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .steps li { display: grid; grid-template-columns: 64px 1fr; column-gap: 8px; }
  .steps__no { grid-row: span 2; }
  .steps h3 { margin-top: 2px; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .header__inner { height: 60px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .themes { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: minmax(0, 1fr); }
  .aiflow { grid-template-columns: minmax(0, 1fr); }
  .aiflow__node + .aiflow__node, .aiflow__node:nth-child(3), .aiflow__node:nth-child(4) { border-left: 0; border-top: 1px solid var(--line-strong); }
  .aiflow__node + .aiflow__node::before, .aiflow__node:nth-child(3)::before { top: -6px; left: 50%; margin: 0 0 0 -5px; transform: rotate(135deg); }
  .faq summary { grid-template-columns: 28px 1fr 16px; }
  .faq__a { padding: 0 8px 24px 40px; }
  .contact__box { padding: 24px; }
  .story__body p { line-height: 2.05; }
  .spec-table th, .spec-table td { display: block; width: auto; padding: 12px 14px; }
  .spec-table th { border-bottom: 0; padding-bottom: 6px; }
  .hero__free { display: table; margin: 10px 0 0; }
  .cost-table { font-size: 13px; }
  .cost-table th, .cost-table td { padding: 12px 8px; }
}

/* =========================================================
   /guide/ はじめてのホームページ準備ガイド
   ========================================================= */
.g-hero { padding: clamp(64px, 10vw, 128px) 0 clamp(48px, 7vw, 80px); }
.crumb { display: flex; gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; color: var(--muted); font-size: 13px; letter-spacing: 0.06em; }
.crumb li + li::before { content: "/"; margin-right: 10px; color: var(--line-strong); }
.crumb a { color: var(--muted); }
.g-hero h1 { font-family: var(--serif); font-size: clamp(30px, 5vw, 56px); line-height: 1.45; letter-spacing: 0.05em; }
.g-hero .lead { max-width: 42em; }
.g-note { margin-top: 28px; color: var(--muted); font-size: 13px; }

.toc { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0; margin: 48px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.toc li { display: flex; }
.toc a { flex: 1; display: grid; grid-template-columns: 36px 1fr; gap: 8px; padding: 14px 8px 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14px; letter-spacing: 0.04em; }
.toc a:hover { color: var(--navy); }
.toc b { font-family: var(--serif); font-weight: 400; color: var(--navy); }

/* 全体像 */
.ov { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: ov; }
.ov li { position: relative; padding: 20px 16px 20px 0; border-top: 2px solid var(--navy); counter-increment: ov; }
.ov li::before { content: counter(ov); display: block; margin-bottom: 8px; font-family: var(--serif); font-size: 22px; line-height: 1; color: var(--navy); }
.ov li::after { content: ""; position: absolute; top: -6px; right: 0; width: 10px; height: 10px; border-top: 2px solid var(--navy); border-right: 2px solid var(--navy); transform: rotate(45deg); background: transparent; }
.ov li:last-child::after { display: none; }
.ov b { display: block; color: var(--ink); font-weight: 500; font-size: 15px; letter-spacing: 0.04em; }
.ov span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.ov-total { display: flex; flex-wrap: wrap; gap: 12px 40px; margin-top: 36px; padding: 20px 24px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--paper); }
.ov-total div { display: flex; align-items: baseline; gap: 14px; }
.ov-total dt { color: var(--muted); font-size: 13px; letter-spacing: 0.1em; }
.ov-total dd { margin: 0; font-family: var(--serif); font-size: 22px; color: var(--ink); letter-spacing: 0.04em; }
.ov-total small { color: var(--muted); font-size: 12px; }

/* 各ステップ */
.gstep { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); }
.gstep__no { font-family: var(--serif); font-size: clamp(44px, 6vw, 72px); line-height: 1; color: var(--navy); }
.gstep__no small { display: block; margin-top: 12px; font-family: var(--sans); font-size: 12px; letter-spacing: 0.18em; color: var(--muted); }
.gstep h2 { font-family: var(--serif); font-size: clamp(24px, 3vw, 34px); line-height: 1.5; letter-spacing: 0.05em; }
.gstep__intro { max-width: 42em; margin: 20px 0 0; color: var(--muted); }
.gblock { margin-top: 40px; }
.gblock__label { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font: 500 13px/1.4 var(--sans); letter-spacing: 0.16em; color: var(--navy); }
.gblock__label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.gblock ol, .gblock ul { padding-left: 1.4em; }
.gblock li { margin-bottom: 10px; font-size: 15px; }
.gblock li::marker { color: var(--navy); }
.gblock p { font-size: 15px; }
.gblock code { padding: 1px 6px; border: 1px solid var(--line); border-radius: 2px; background: var(--mist); font: 13px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink); word-break: break-all; }
.gmeta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 0; border-top: 1px solid var(--line-strong); }
.gmeta div { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); }
.gmeta dt { color: var(--muted); font-size: 12px; letter-spacing: 0.12em; }
.gmeta dd { margin: 4px 0 0; color: var(--ink); font-family: var(--serif); font-size: 18px; letter-spacing: 0.03em; }
.gmeta dd small { display: block; font-family: var(--sans); font-size: 12px; color: var(--muted); letter-spacing: 0.02em; }
.gwarn { margin-top: 40px; padding: 24px 28px; border: 1px solid var(--ink); border-radius: var(--radius); background: var(--paper); }
.gwarn .gblock__label { color: var(--ink); }
.gwarn ul { margin: 0; padding-left: 1.2em; }
.gwarn li { margin-bottom: 10px; font-size: 15px; color: var(--text); }
.gwarn li:last-child { margin-bottom: 0; }
.gtable { width: 100%; margin: 8px 0 0; border-collapse: collapse; font-size: 14px; }
.gtable th, .gtable td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.gtable th { color: var(--muted); font-weight: 400; font-size: 12px; letter-spacing: 0.1em; border-bottom-color: var(--line-strong); }
.gtable td:first-child { color: var(--ink); font-weight: 500; white-space: nowrap; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* チェックリスト */
.checktable { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); font-size: 14px; background: var(--paper); }
.checktable th, .checktable td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.checktable thead th { color: var(--muted); font-weight: 400; font-size: 12px; letter-spacing: 0.1em; }
.checktable .box { width: 44px; }
.checktable .box span { display: inline-block; width: 16px; height: 16px; margin-top: 4px; border: 1.5px solid var(--ink); border-radius: 2px; }
.checktable .grp th { padding-top: 22px; color: var(--navy); font-family: var(--serif); font-weight: 600; font-size: 15px; letter-spacing: 0.06em; border-bottom: 1px solid var(--line-strong); }
.checktable .memo { width: 26%; color: var(--muted); }
.print-btn { margin-top: 24px; }
.help { margin-top: clamp(56px, 8vw, 96px); padding: clamp(28px, 4vw, 40px); border: 1px solid var(--navy); border-radius: var(--radius); background: var(--navy-tint); }
.help h2 { font-family: var(--serif); font-size: 22px; letter-spacing: 0.06em; }
.help p { margin: 12px 0 0; color: var(--text); }
.help a.mail { font-family: var(--serif); font-size: 20px; letter-spacing: 0.04em; }

/* 広告枠（PR 表記つき） */
.ad { margin-top: 40px; padding-top: 24px; border-top: 1px dashed var(--line-strong); }
.ad + .ad { margin-top: 28px; }
.ad__title { margin: 0 0 6px; font-family: var(--serif); font-size: 16px; font-weight: 600; letter-spacing: 0.05em; color: var(--ink); }
.ad__pr { margin: 0 0 10px; color: var(--muted); font-size: 11px; letter-spacing: 0.08em; }
.ad__banner { max-width: 100%; overflow: hidden; }
.ad__banner a { display: inline-block; max-width: 100%; }
.ad__banner img { max-width: 100%; height: auto; }

@media (max-width: 1080px) {
  .ov { grid-template-columns: repeat(4, 1fr); row-gap: 24px; }
}
@media (max-width: 760px) {
  .gstep { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .gstep__no { display: flex; align-items: baseline; gap: 14px; font-size: 44px; }
  .gstep__no small { margin: 0; }
  .ov { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .ov li { display: grid; grid-template-columns: 40px 1fr; padding: 14px 0; border-top: 0; border-left: 2px solid var(--navy); padding-left: 16px; }
  .ov li::before { grid-row: span 2; margin: 0; }
  .ov li::after { top: auto; bottom: -6px; left: -6px; right: auto; transform: rotate(135deg); }
  .gmeta { grid-template-columns: minmax(0, 1fr); }
  .gwarn { padding: 20px; }
  .checktable .memo { display: none; }
}

@media print {
  .header, .footer, .skip, .print-btn, .toc, .help { display: none !important; }
  body { font-size: 11pt; color: #000; }
  .section, .g-hero { padding: 16pt 0 !important; }
  .section--mist { background: none; }
  .js .reveal, .js [data-stagger] > * { opacity: 1 !important; transform: none !important; }
  .gstep, .checktable tr { break-inside: avoid; }
  #checklist { break-before: page; }
}
.gblock .cost__sub { margin-bottom: 24px; }
.gblock .cost-note + p { margin-top: 20px; }
.gblock .table-scroll + p:not(.cost-note) { margin-top: 20px; }
.g-xlink { margin: 20px 0 0; padding: 14px 18px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--paper); font-size: 14px; }
.g-xlink a { font-weight: 500; }
