/* ==========================================================================
   BORDERLESS WORLD — corporate design system (2026-11)
   art direction: 和紙の地 × 墨 × 一本の青い糸。差し色は朱を面積5%未満で。
   書体は2つだけ: Shippori Mincho B1（見出し・数字）/ IBM Plex Sans JP（本文・ラベル）
   骨格の分岐は 768px のみ。見出しサイズは列幅（cqi）基準。
   ========================================================================== */

:root {
  --paper: #f4f1ea;
  --paper-2: #ebe7dc;
  --card: #fbfaf6;
  --ink: #0d0d10;
  --ink-2: #2f2f35;
  --ink-3: #6a696f;
  --line: rgba(13, 13, 16, .16);
  --line-soft: rgba(13, 13, 16, .08);
  --blue: #1848f8;
  --blue-deep: #0e32c4;
  --blue-tint: #e3e9fe;
  --shu: #d8432a;
  --serif: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  --sans: "IBM Plex Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Noto Sans JP", sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(72px, 10vw, 144px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  font-feature-settings: "palt" 1;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-break: strict;
  overflow-wrap: anywhere;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .28em; }
a:hover { color: var(--blue); }
p { margin: 0; text-wrap: pretty; }
li, dd { text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.4; }
h1, h2, h3, h4, dt, blockquote { word-break: auto-phrase; }
h1, h2, h3, h4, dt, blockquote p { text-wrap: balance; }
ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--blue); color: #fff; }

.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.nb { display: inline-block; white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; color: var(--paper); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 241, 234, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); }
.site-header__in { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { width: auto; height: 34px; }
.gnav { display: flex; gap: clamp(16px, 2.4vw, 34px); margin-left: auto; font-size: 14px; font-weight: 500; }
.gnav a { position: relative; padding: 10px 0; text-decoration: none; white-space: nowrap; }
.gnav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.gnav a:hover::after, .gnav a[aria-current="page"]::after { transform: scaleX(1); }
.gnav a[aria-current="page"] { color: var(--ink); }
.menu-btn { display: none; }

/* ---------- buttons / links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 56px; padding: 0 30px;
  background: var(--ink); color: var(--paper);
  border: 1px solid var(--ink); border-radius: 999px;
  font-weight: 700; font-size: 16px; letter-spacing: .04em; text-decoration: none; cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn .arr, .more .arr, .route__go .arr { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover .arr, .more:hover .arr, a:hover > .arr { transform: translateX(5px); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 14px; gap: 8px; flex: none; }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.more {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 15px; text-decoration: none;
  padding-bottom: 4px; border-bottom: 1px solid currentColor;
}

/* ---------- kicker (stitch + label) ---------- */
.kicker {
  display: flex; align-items: center; gap: 14px; margin: 0 0 22px;
  font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink);
}
.kicker::before {
  content: ""; flex: none; width: 44px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--blue) 0 9px, transparent 9px 16px);
}
.kicker b { font-weight: 700; white-space: nowrap; }
.kicker span { font-weight: 500; letter-spacing: .12em; color: var(--ink-3); text-transform: none; white-space: nowrap; }
.dark .kicker { color: var(--paper); }
.dark .kicker span { color: rgba(244, 241, 234, .62); }

/* ---------- section scaffolding ---------- */
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .62); }
.section--alt { background: var(--paper-2); }
.dark { background: var(--ink); color: var(--paper); --line: rgba(244, 241, 234, .22); --line-soft: rgba(244, 241, 234, .1); --ink-3: rgba(244, 241, 234, .66); --ink-2: rgba(244, 241, 234, .86); }
.dark a:hover { color: #9db4ff; }
.head { container-type: inline-size; max-width: 820px; margin-bottom: clamp(36px, 5vw, 64px); }
.head h2, .h2 {
  font-family: var(--serif); font-weight: 800;
  font-size: clamp(27px, 6.6cqi, 50px); line-height: 1.38; letter-spacing: .03em;
}
.head p { margin-top: 22px; color: var(--ink-2); max-width: 40em; }
.lede { font-size: clamp(16px, 1.25vw, 18px); line-height: 2; color: var(--ink-2); }

/* ---------- hero (home) ---------- */
.hero { padding-block: clamp(36px, 6vw, 84px) clamp(56px, 8vw, 112px); overflow: clip; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: end; }
.hero__copy { container-type: inline-size; }
.hero h1 {
  font-family: var(--serif); font-weight: 800;
  font-size: clamp(31px, 9.5cqi, 92px); line-height: 1.24; letter-spacing: .01em;
  margin-bottom: clamp(24px, 3.4vw, 44px);
}
.hero h1 .nb { display: block; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero__lede { max-width: 35em; font-size: clamp(15.5px, 1.2vw, 17.5px); line-height: 2.05; color: var(--ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: clamp(28px, 3.4vw, 44px); }
.assure { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 22px; font-size: 13px; color: var(--ink-3); }
.assure li { display: flex; align-items: center; gap: 8px; }
.assure li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--shu); }
.hero__visual { position: relative; }
.hero__visual img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 42%; }
.hero__tate {
  position: absolute; right: calc(100% + 16px); bottom: 0;
  writing-mode: vertical-rl; font-size: 12px; letter-spacing: .34em; color: var(--ink-3); white-space: nowrap;
}
.hero__tate::before { content: ""; display: inline-block; width: 1px; height: 56px; margin-bottom: 14px; background: var(--blue); vertical-align: bottom; }

/* ---------- fact strip ---------- */
.facts { border-block: 1px solid var(--line); }
.facts__in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts__item { padding: clamp(22px, 2.6vw, 34px) clamp(14px, 2vw, 28px); border-left: 1px solid var(--line); }
.facts__item:first-child { border-left: 0; padding-left: 0; }
.facts__label { font-size: 12px; letter-spacing: .14em; color: var(--ink-3); }
.facts__value { margin-top: 8px; font-family: var(--serif); font-weight: 800; font-size: clamp(24px, 2.9vw, 40px); line-height: 1.25; }
.facts__value small { font-family: var(--sans); font-size: .42em; font-weight: 500; margin-left: .3em; letter-spacing: .06em; }
.facts__note { margin-top: 8px; font-size: 12.5px; color: var(--ink-3); line-height: 1.6; }

/* ---------- fact sheet (definition table) ---------- */
.sheet { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.sheet .head { margin-bottom: 0; }
.deflist { border-top: 2px solid var(--ink); }
.deflist > div { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 4px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.deflist dt { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--ink-3); padding-top: 3px; }
.deflist dd { font-size: 15.5px; line-height: 1.85; }
.deflist dd a { color: var(--blue); }

/* ---------- route rows (services entry) ---------- */
.routes { border-top: 2px solid var(--ink); }
.route {
  position: relative; display: grid; grid-template-columns: 5.2rem minmax(0, 5fr) minmax(0, 6fr) auto; gap: 12px clamp(20px, 3vw, 48px);
  align-items: start; padding: clamp(26px, 3.2vw, 42px) 0; border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit; container-type: inline-size;
}
.route::after {
  content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.route:hover { color: inherit; }
.route:hover::after { transform: scaleX(1); }
.route__no { font-family: var(--serif); font-weight: 800; font-size: clamp(30px, 3.4vw, 46px); line-height: 1; color: var(--blue); }
.route__q { font-family: var(--serif); font-weight: 800; font-size: clamp(20px, 2.1vw, 27px); line-height: 1.5; letter-spacing: .02em; }
.route__q small { display: block; margin-bottom: 6px; font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: .18em; color: var(--ink-3); }
.route__a { font-size: 15px; line-height: 1.9; color: var(--ink-2); }
.route__a strong { display: block; margin-bottom: 4px; font-size: 16.5px; color: var(--ink); }
.route__meta { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-top: 12px; }
.tag { display: inline-block; padding: 2px 11px; border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px; line-height: 1.7; color: var(--ink-2); white-space: nowrap; }
.route__go { align-self: center; font-size: 22px; line-height: 1; color: var(--ink); }
.route:hover .route__go .arr { transform: translateX(6px); color: var(--blue); }
.aside-note { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; font-size: 14.5px; color: var(--ink-2); }

/* ---------- comparison table ---------- */
.cmp { font-size: 15px; line-height: 1.8; border-top: 2px solid var(--ink); }
.cmp caption { text-align: left; padding: 0 0 14px; font-size: 13px; color: var(--ink-3); caption-side: bottom; padding-top: 16px; }
.cmp th, .cmp td { padding: 20px 20px 20px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp thead th { padding-block: 14px; font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--ink-3); white-space: nowrap; }
.cmp tbody th { width: 17em; font-family: var(--serif); font-weight: 800; font-size: 19px; line-height: 1.5; }
.cmp tbody th small { display: block; font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: .16em; color: var(--blue); margin-bottom: 2px; }
.cmp td.num { white-space: nowrap; font-weight: 700; }
.cmp td.num small { display: block; font-weight: 400; font-size: 12.5px; color: var(--ink-3); }
.cmp td.go { white-space: nowrap; }
.cmp td.go a { display: block; color: var(--blue); font-weight: 700; font-size: 14px; text-decoration: none; }
.cmp td.go a:hover { text-decoration: underline; }
.fine { margin-top: 20px; font-size: 12.5px; line-height: 1.85; color: var(--ink-3); max-width: 62em; }

/* 比較表は画面幅ではなく、置かれた列の幅でカード表示に切り替える */
.cmp-wrap { container: cmp / inline-size; }
@container cmp (max-width: 820px) {
  .cmp thead { display: none; }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: auto; }
  .cmp tr { padding: 22px 0; border-bottom: 1px solid var(--line); }
  .cmp th, .cmp td { padding: 0; border: 0; }
  .cmp tbody th { width: auto; margin-bottom: 10px; }
  .cmp td { display: grid; grid-template-columns: 5em minmax(0, 1fr); gap: 0 14px; padding: 7px 0; font-size: 14.5px; }
  .cmp td::before { content: attr(data-label); font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--ink-3); padding-top: 2px; }
  .cmp td.num small { grid-column: 2; }
  .cmp td.go { display: flex; gap: 22px; padding-top: 12px; }
  .cmp td.go::before { display: none; }
  .cmp caption { display: block; }
}

/* ---------- process (dark, photo of four sheets) ---------- */
.process__photo { margin-bottom: clamp(28px, 4vw, 48px); }
.process__photo img { width: 100%; aspect-ratio: 1672 / 941; object-fit: cover; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); counter-reset: step; }
.steps li { counter-increment: step; padding-top: 20px; border-top: 1px solid var(--line); }
.steps li::before { content: "0" counter(step); display: block; font-family: var(--serif); font-weight: 800; font-size: 15px; letter-spacing: .1em; color: #8ea6ff; margin-bottom: 10px; }
.section:not(.dark) .steps li::before { color: var(--blue); }
.steps h3 { font-family: var(--serif); font-weight: 800; font-size: clamp(18px, 1.7vw, 22px); margin-bottom: 8px; }
.steps p { font-size: 14.5px; line-height: 1.9; color: var(--ink-2); }

/* ---------- split (image + text) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.split--top { align-items: start; }
.split__img img { width: 100%; object-fit: cover; }
.cap { margin-top: 10px; font-size: 12px; letter-spacing: .08em; color: var(--ink-3); }

/* ---------- media index ---------- */
.index { border-top: 2px solid var(--ink); counter-reset: idx; }
.index li { counter-increment: idx; border-bottom: 1px solid var(--line); }
.index a { display: grid; grid-template-columns: 2.6rem minmax(0, 12rem) minmax(0, 1fr) auto; gap: 4px 18px; align-items: baseline; padding: 15px 0; text-decoration: none; }
.index a::before { content: counter(idx, decimal-leading-zero); font-family: var(--serif); font-weight: 800; font-size: 13px; letter-spacing: .08em; color: var(--blue); }
.index strong { font-family: var(--serif); font-weight: 800; font-size: 18.5px; }
.index span { font-size: 14px; line-height: 1.7; color: var(--ink-2); }
.index a:hover span { color: var(--ink-2); }
.index .arr { color: var(--ink-3); }

/* ---------- products ---------- */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); }
.tile { display: flex; flex-direction: column; gap: 10px; padding: clamp(24px, 3vw, 40px); background: var(--card); border: 1px solid var(--line-soft); text-decoration: none; transition: border-color .25s var(--ease), transform .25s var(--ease); }
.tile:hover { border-color: var(--blue); transform: translateY(-3px); color: inherit; }
.tile__label { font-size: 11.5px; font-weight: 700; letter-spacing: .18em; color: var(--blue); }
.tile h3 { font-family: var(--serif); font-weight: 800; font-size: clamp(21px, 2.2vw, 28px); letter-spacing: .02em; }
.tile p { font-size: 14.5px; line-height: 1.9; color: var(--ink-2); }
.tile .more { margin-top: auto; align-self: flex-start; font-size: 14px; }

/* ---------- message ---------- */
.message { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.message__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.message__body { container-type: inline-size; }
.message__body blockquote { margin: 0; font-family: var(--serif); font-weight: 800; font-size: clamp(21px, 5.2cqi, 33px); line-height: 1.85; letter-spacing: .03em; }
.message__by { margin-top: 28px; display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-2); }
.message__by::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--shu); }
.message__by strong { font-family: var(--serif); font-size: 18px; letter-spacing: .1em; color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { border-top: 2px solid var(--ink); }
.faq > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 10px clamp(24px, 4vw, 64px); padding: clamp(22px, 2.8vw, 34px) 0; border-bottom: 1px solid var(--line); }
.faq dt { font-family: var(--serif); font-weight: 800; font-size: clamp(17.5px, 1.6vw, 21px); line-height: 1.65; }
.faq dt::before { content: "Q"; margin-right: .6em; color: var(--blue); font-size: .8em; letter-spacing: .1em; }
.faq dd { font-size: 15.5px; line-height: 1.95; color: var(--ink-2); }
.faq dd a { color: var(--blue); }

/* ---------- news ---------- */
.news { border-top: 2px solid var(--ink); }
.news li { border-bottom: 1px solid var(--line); }
.news a, .news .news__row { display: grid; grid-template-columns: 7.5em minmax(0, 1fr) auto; gap: 4px 24px; align-items: baseline; padding: 18px 0; text-decoration: none; }
.news time { font-size: 13px; letter-spacing: .1em; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.news .arr { color: var(--ink-3); }
.article { padding: clamp(28px, 4vw, 52px) 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 12px clamp(24px, 4vw, 64px); }
.article:first-of-type { border-top: 2px solid var(--ink); }
.article time { font-size: 13px; letter-spacing: .12em; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.article h2 { font-family: var(--serif); font-weight: 800; font-size: clamp(20px, 2.1vw, 26px); line-height: 1.6; margin-bottom: 14px; }
.article .prose { font-size: 15.5px; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.contact__img img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 60% 50%; }
.contact__points { margin-top: 26px; border-top: 1px solid var(--line); }
.contact__points li { display: grid; grid-template-columns: 7em minmax(0, 1fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.contact__points span { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; color: var(--ink-3); padding-top: 2px; }
.form { display: grid; gap: 22px; }
.field label { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; font-size: 14px; font-weight: 700; }
.field label small { font-size: 12px; font-weight: 400; color: var(--ink-3); }
.field .req { font-size: 11px; font-weight: 700; color: var(--shu); letter-spacing: .08em; }
.input, .textarea, .select {
  width: 100%; padding: 14px 16px; font-size: 16px; line-height: 1.6;
  background: var(--card); border: 1px solid var(--line); border-radius: 4px;
  transition: border-color .15s, box-shadow .15s; appearance: none; -webkit-appearance: none;
}
.select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.textarea { min-height: 150px; resize: vertical; }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(24, 72, 248, .18); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.form__note { font-size: 12.5px; color: var(--ink-3); line-height: 1.7; }
.form__note a { color: inherit; }
.form__msg { display: none; padding: 18px 20px; border-left: 3px solid var(--blue); background: var(--blue-tint); font-size: 15px; line-height: 1.8; }
.form__msg.is-on, .form__msg--err:target { display: block; }
.form__msg--err { border-left-color: var(--shu); background: #fbe9e4; }
.form.is-sent > :not(.form__msg) { display: none; }

/* ---------- page head (sub pages) ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; padding-top: 22px; font-size: 12.5px; color: var(--ink-3); }
.crumbs a { text-decoration: none; }
.crumbs li + li::before { content: "／"; margin-right: 10px; opacity: .6; }
.page-head { padding-block: clamp(36px, 5.5vw, 76px) clamp(40px, 6vw, 84px); }
.page-head__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.page-head__copy { container-type: inline-size; }
.page-head h1 { font-family: var(--serif); font-weight: 800; font-size: clamp(31px, 9cqi, 68px); line-height: 1.3; letter-spacing: .02em; margin-bottom: clamp(18px, 2.4vw, 30px); }
.page-head__lede { max-width: 38em; font-size: clamp(15.5px, 1.2vw, 17px); line-height: 2.05; color: var(--ink-2); }
.page-head__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.page-head--plain .page-head__grid { grid-template-columns: minmax(0, 1fr); }
.updated { margin-top: 18px; font-size: 12.5px; letter-spacing: .08em; color: var(--ink-3); }

/* ---------- anchors row ---------- */
.anchors { display: flex; flex-wrap: wrap; gap: 10px; }
.anchors a { padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; font-weight: 500; text-decoration: none; background: var(--card); }
.anchors a:hover { border-color: var(--blue); }

/* ---------- service blocks ---------- */
.svc { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 80px); padding-block: clamp(48px, 6.5vw, 92px); border-top: 1px solid var(--line); }
.svc:first-of-type { border-top: 2px solid var(--ink); }
.svc__side { container-type: inline-size; position: sticky; top: calc(var(--header-h) + 28px); align-self: start; }
.svc__no { font-family: var(--serif); font-weight: 800; font-size: clamp(44px, 5vw, 72px); line-height: 1; color: var(--blue); }
.svc__en { margin: 14px 0 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .2em; color: var(--ink-3); }
.svc__side h2 { font-family: var(--serif); font-weight: 800; font-size: clamp(23px, 8.4cqi, 33px); line-height: 1.5; letter-spacing: .02em; }
.svc__main > p { color: var(--ink-2); max-width: 44em; }
.svc__main > p + p { margin-top: 1.2em; }
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); margin-top: 30px; }
.cols h3 { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; color: var(--ink-3); padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.ticks li { position: relative; padding: 11px 0 11px 20px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.7; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 1.32em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.minifacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; border-block: 1px solid var(--line); }
.minifacts > div { padding: 16px 18px; border-left: 1px solid var(--line); }
.minifacts > div:first-child { border-left: 0; padding-left: 0; }
.minifacts dt { font-size: 12px; letter-spacing: .12em; color: var(--ink-3); }
.minifacts dd { font-weight: 700; font-size: 15.5px; line-height: 1.6; }
.reads { margin-top: 30px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.reads a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 18px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.reads strong { font-size: 15.5px; line-height: 1.6; }
.reads span { grid-column: 1; font-size: 13px; color: var(--ink-3); line-height: 1.6; }
.reads .arr { grid-row: 1 / span 2; grid-column: 2; align-self: center; color: var(--blue); }
.svc__wide { grid-column: 1 / -1; }
.svc__main--next { grid-column: 2; }
.svc__cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 16px 26px; align-items: center; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); margin-top: 30px; }

/* ---------- company ---------- */
.creed { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); margin-top: clamp(32px, 4vw, 56px); padding-top: clamp(28px, 3.4vw, 44px); border-top: 1px solid var(--line); }
.creed h3 { font-family: var(--serif); font-weight: 800; font-size: clamp(19px, 2vw, 24px); line-height: 1.6; margin: 8px 0 12px; }
.creed small { font-size: 11.5px; font-weight: 700; letter-spacing: .2em; color: #8ea6ff; }
.creed p { font-size: 15px; color: var(--ink-2); }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); border-left: 1px solid var(--line); counter-reset: v; }
.values li { counter-increment: v; padding: clamp(20px, 2.4vw, 30px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.values li::before { content: counter(v, decimal-leading-zero); font-family: var(--serif); font-weight: 800; font-size: 13px; letter-spacing: .1em; color: var(--blue); }
.values h3 { font-family: var(--serif); font-weight: 800; font-size: 18px; margin: 8px 0 6px; }
.values p { font-size: 13.5px; line-height: 1.85; color: var(--ink-2); }
.timeline { border-top: 2px solid var(--ink); }
.timeline li { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 4px 24px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.timeline time { font-family: var(--serif); font-weight: 800; font-size: 15.5px; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.timeline a { color: var(--blue); }

/* ---------- prose ---------- */
.prose { max-width: 46em; color: var(--ink-2); }
.prose p { margin-bottom: 1.2em; }
.prose p:last-child { margin-bottom: 0; }
.prose h2 { font-family: var(--serif); font-weight: 800; font-size: clamp(19px, 1.9vw, 23px); color: var(--ink); margin: 2.2em 0 .7em; padding-top: 1.1em; border-top: 1px solid var(--line); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 15.5px; color: var(--ink); margin: 1.5em 0 .4em; }
.prose ul { margin: 0 0 1.2em; }
.prose ul li { position: relative; padding-left: 1.2em; }
.prose ul li::before { content: ""; position: absolute; left: .2em; top: .85em; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }
.prose a { color: var(--blue); }

/* ---------- CTA band ---------- */
.band { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 72px); align-items: end; container-type: inline-size; }
.band h2 { font-family: var(--serif); font-weight: 800; font-size: clamp(26px, 4.6cqi, 50px); line-height: 1.45; letter-spacing: .03em; }
.band p { color: var(--ink-2); font-size: 15px; margin-bottom: 22px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); --line: rgba(244, 241, 234, .2); padding-block: clamp(56px, 7vw, 96px) 28px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #9db4ff; }
.footer__creed { container-type: inline-size; padding-bottom: clamp(36px, 5vw, 64px); margin-bottom: clamp(36px, 5vw, 60px); border-bottom: 1px solid var(--line); }
.footer__creed p { font-family: var(--serif); font-weight: 800; font-size: clamp(30px, 8.6cqi, 104px); line-height: 1.25; letter-spacing: .04em; }
.footer__creed small { display: block; margin-top: 14px; font-size: 12px; letter-spacing: .2em; color: rgba(244, 241, 234, .6); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: clamp(28px, 4vw, 56px); }
.footer__brand img { height: 32px; width: auto; filter: brightness(0) invert(1); }
.footer__brand address { margin-top: 20px; font-style: normal; font-size: 13.5px; line-height: 1.95; color: rgba(244, 241, 234, .78); }
.footer__nav h2 { font-size: 11.5px; font-weight: 700; letter-spacing: .2em; color: rgba(244, 241, 234, .55); margin-bottom: 14px; }
.footer__nav li { margin-bottom: 9px; font-size: 14px; line-height: 1.6; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: clamp(40px, 5vw, 64px); padding-top: 22px; border-top: 1px solid var(--line); font-size: 12px; letter-spacing: .06em; color: rgba(244, 241, 234, .6); }
.footer__base ul { display: flex; flex-wrap: wrap; gap: 6px 22px; }

/* ---------- mobile sticky CTA ---------- */
.dock { display: none; }

/* ---------- reveal (only when JS is on) ---------- */
.js .rv { opacity: 0; transform: translateY(8px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 1ms !important; animation-duration: 1ms !important; }
}

/* ==========================================================================
   narrow (< 768px)
   ========================================================================== */
@media (max-width: 767.98px) {
  :root { --header-h: 60px; }
  body { font-size: 16px; }
  .brand img { height: 27px; }
  .site-header__in { gap: 10px; }
  .site-header .btn--sm { margin-left: auto; min-height: 40px; padding: 0 16px; font-size: 13px; }
  .menu-btn {
    display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 40px; padding: 0 12px;
    background: none; border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; cursor: pointer;
  }
  .gnav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0; flex-direction: column; gap: 0;
    padding: 6px var(--gutter) 26px; background: var(--paper); border-bottom: 1px solid var(--line);
    font-size: 17px; box-shadow: 0 30px 60px -30px rgba(13, 13, 16, .35);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s;
  }
  .gnav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .gnav a { padding: 17px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-weight: 800; }
  .gnav a::after { display: none; }
  .no-js .menu-btn { display: none; }

  .hero__grid, .sheet, .split, .message, .contact, .page-head__grid, .svc, .band, .creed, .cols, .pair, .duo { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { margin-right: calc(var(--gutter) * -1); }
  .hero__visual img { aspect-ratio: 5 / 4; object-position: 50% 38%; }
  .hero__tate { display: none; }
  .hero .kicker b { display: none; }
  .kicker { gap: 4px 12px; flex-wrap: wrap; }
  .kicker::before { width: 36px; }
  .hero__cta .btn { width: 100%; }
  .facts__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts__item { padding: 20px 14px 20px 0; border-left: 0; }
  .facts__item:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
  .facts__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .deflist > div { grid-template-columns: minmax(0, 1fr); padding: 15px 0; }
  .route { grid-template-columns: 3rem minmax(0, 1fr) auto; }
  .route__q { grid-column: 2; }
  .route__a { grid-column: 2 / -1; }
  .route__go { grid-column: 3; grid-row: 1; align-self: start; padding-top: 8px; }

  .process__photo { margin-inline: calc(var(--gutter) * -1); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .steps li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); padding: 18px 0; }
  .steps li::before { grid-row: 1 / span 2; margin: 3px 0 0; }
  .steps h3, .steps p { grid-column: 2; }
  .index a { grid-template-columns: 2.4rem minmax(0, 1fr) auto; }
  .index span { grid-column: 2 / -1; grid-row: 2; }
  .index .arr { grid-column: 3; grid-row: 1; }
  .message__img { order: 2; }
  .faq > div { grid-template-columns: minmax(0, 1fr); }
  .news a, .news .news__row { grid-template-columns: minmax(0, 1fr) auto; }
  .news time { grid-column: 1 / -1; }
  .article { grid-template-columns: minmax(0, 1fr); }
  .contact__img { margin-inline: calc(var(--gutter) * -1); }
  .contact__img img { aspect-ratio: 16 / 9; }
  .form__foot .btn { width: 100%; }
  .svc__side { position: static; }
  .svc__main--next { grid-column: 1; }
  .minifacts { grid-template-columns: minmax(0, 1fr); }
  .minifacts > div { border-left: 0; padding: 12px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 7em minmax(0, 1fr); gap: 12px; }
  .minifacts > div:first-child { border-top: 0; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline li { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }

  .dock {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
    transform: translateY(140%); transition: transform .35s var(--ease);
  }
  .dock.is-on { transform: none; }
  .dock .btn { flex: 1; min-height: 54px; box-shadow: 0 14px 34px -12px rgba(13, 13, 16, .55); }
  .has-dock .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* mid: keep the hero readable between 768 and 1000 */
@media (min-width: 768px) and (max-width: 999.98px) {
  .gnav { gap: 16px; font-size: 13px; }
  .hero__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .cmp tbody th { width: 12em; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .route { grid-template-columns: 4rem minmax(0, 1fr) auto; }
  .route__a { grid-column: 2; }
  .route__go { grid-column: 3; grid-row: 1 / span 2; }
}

@media print {
  .site-header, .dock, .site-footer .footer__creed { display: none; }
  body { background: #fff; }
}
