/*
 * sasuraiai.com 共通スタイル。
 * 見た目の正本は design_handoff の確定版の見本（*.dc.html）。色などの名前は docs/design.md のまま。
 * ページ固有の見た目は各ページの <style> ではなくこのファイルに置き、値をページごとに書かない。
 */

:root {
  --c-bg: #000000;
  --c-bg-2: #0B0B0C;
  --c-surface: #161617;
  --c-surface-2: #1D1D1F;
  --c-line: #2C2C2E;
  --c-line-strong: #48484A;
  --c-text: #F5F5F7;
  --c-text-2: #A1A1A6;
  --c-text-3: #6E6E73;
  --c-accent: #FF4D1F;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'Yu Gothic UI', 'Meiryo', sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --gutter: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 56px;
  --gloss-bg: linear-gradient(180deg, #FFFFFF 0%, #EDEDF0 55%, #DCDCE0 100%);
  --gloss-shadow: inset 0 1px 0 #FFFFFF, inset 0 -2px 6px rgba(0, 0, 0, 0.12), 0 12px 40px -8px rgba(255, 255, 255, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.4);
  --gloss-shadow-hover: inset 0 1px 0 #FFFFFF, inset 0 -2px 6px rgba(0, 0, 0, 0.12), 0 18px 56px -8px rgba(255, 255, 255, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.6);
}
@media (max-width: 767px) {
  :root { --header-h: 52px; }
}

html { color-scheme: dark; background: #000; }
body {
  margin: 0;
  background: #000;
  color: var(--c-text);
  font-family: var(--font-sans);
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { color: var(--c-text); }
a:hover { color: #FFFFFF; }
*:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
img { max-width: 100%; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.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; }
.wrap { max-width: 1200px; margin: 0 auto; }
.pretty { text-wrap: pretty; }
body.is-locked { overflow: hidden; }
.page--flex { min-height: 100vh; display: flex; flex-direction: column; }
.page--flex > main { flex: 1; }

/* ---- ヘッダー ------------------------------------------------------------ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(0, 0, 0, 0);
  border-bottom: 1px solid rgba(0, 0, 0, 0);
  transition: background 200ms, border-color 200ms;
}
.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: var(--c-line);
}
.site-header__in {
  max-width: 1200px; height: 100%; margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.site-header__progress {
  position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
  background: var(--c-text); transform-origin: left center; transform: scaleX(0);
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 700; letter-spacing: 0.2em;
  color: var(--c-text); text-decoration: none;
}
.logo svg { display: block; flex: none; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav__link { font-size: 14px; color: var(--c-text); text-decoration: none; transition: color 200ms; }
.nav__link:hover { color: #FFFFFF; }
.nav__link[aria-current="page"] {
  font-weight: 600; text-decoration: underline; text-underline-offset: 8px;
  text-decoration-thickness: 1px; text-decoration-color: var(--c-text-2);
}
.header-mobile { display: none; align-items: center; gap: 4px; }
.menu-btn {
  width: 44px; height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; background: transparent; border: 0; cursor: pointer; padding: 0;
}
.menu-btn span { display: block; width: 20px; height: 1.5px; background: var(--c-text); }
@media (max-width: 767px) {
  .nav { display: none; }
  .header-mobile { display: flex; }
}

.menu {
  position: fixed; inset: 0; z-index: 60; background: #000;
  display: flex; flex-direction: column; padding: 0 20px;
}
.menu[hidden] { display: none; }
.menu__top { height: 52px; display: flex; align-items: center; justify-content: space-between; }
.menu__close { width: 44px; height: 44px; background: transparent; border: 0; color: var(--c-text); font-size: 24px; cursor: pointer; }
.menu__nav { display: flex; flex-direction: column; gap: 8px; padding-top: 48px; }
.menu__nav a {
  font-size: 28px; font-weight: 700; color: var(--c-text); text-decoration: none;
  padding: 12px 0; border-bottom: 1px solid var(--c-line);
}
.menu .btn-gloss { margin-top: 48px; display: flex; }

/* ---- ボタン（白い光沢） ---------------------------------------------------- */
.btn-gloss {
  position: relative; box-sizing: border-box;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 64px; padding: 0 40px; border: 0; border-radius: 999px;
  background: var(--gloss-bg); box-shadow: var(--gloss-shadow);
  color: #000; font: inherit; font-size: 17px; font-weight: 700; letter-spacing: 0.06em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 200ms, box-shadow 200ms;
}
.btn-gloss:hover { color: #000; transform: translateY(-2px); box-shadow: var(--gloss-shadow-hover); }
.btn-gloss__arrow {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: #000; color: #FFFFFF;
  display: inline-flex; align-items: center; justify-content: center; font-size: 15px;
}
.arr { display: inline-block; transition: transform 200ms; }
a:hover .arr, button:hover .arr { transform: translateX(4px); }
/* 右端に矢印の丸があるボタンは、右の余白を詰める */
.btn-gloss--tail { padding: 0 16px 0 40px; }
.btn-gloss--md { height: 56px; padding: 0 12px 0 32px; font-size: 16px; }
.btn-gloss--sm {
  height: 40px; padding: 0 6px 0 20px; gap: 10px; font-size: 14px;
  box-shadow: inset 0 1px 0 #FFFFFF, inset 0 -2px 6px rgba(0, 0, 0, 0.12), 0 8px 24px -8px rgba(255, 255, 255, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.4);
}
.btn-gloss--sm:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 #FFFFFF, inset 0 -2px 6px rgba(0, 0, 0, 0.12), 0 12px 32px -8px rgba(255, 255, 255, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.6);
}
.btn-gloss--sm .btn-gloss__arrow { width: 28px; height: 28px; font-size: 13px; }
.btn-gloss--xs {
  height: 36px; padding: 0 4px 0 14px; gap: 8px; font-size: 13px; letter-spacing: 0.04em;
  box-shadow: inset 0 1px 0 #FFFFFF, inset 0 -2px 6px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.4);
}
.btn-gloss--xs .btn-gloss__arrow { width: 28px; height: 28px; font-size: 12px; }
/* 本文中の大きなボタン。スマホは横幅いっぱい、PCは最大360px */
.btn-gloss--block { width: auto; }
@media (max-width: 767px) {
  .btn-gloss--block { width: 100%; }
}
.btn-row { display: flex; justify-content: center; }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 56px; padding: 0 28px; border-radius: 999px; border: 1px solid var(--c-line-strong);
  color: var(--c-text); font-size: 16px; font-weight: 600; text-decoration: none;
  transition: border-color 200ms;
}
.btn-ghost:hover { border-color: var(--c-text); color: var(--c-text); }

.text-link {
  display: inline-flex; align-items: center; gap: 14px; padding: 8px 0;
  border-bottom: 1px solid var(--c-line-strong); color: var(--c-text);
  font-size: 15px; font-weight: 500; letter-spacing: 0.06em; text-decoration: none;
  transition: border-color 300ms;
}
.text-link:hover { border-color: var(--c-text); color: var(--c-text); }

/* ---- 見出しまわり ---------------------------------------------------------- */
.label {
  display: flex; gap: 10px; margin-bottom: 24px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; color: var(--c-text-2);
}
.label__n { color: var(--c-accent); }
.eyebrow {
  display: flex; align-items: center; gap: 12px; margin-bottom: 32px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; color: var(--c-text-2);
}
.eyebrow::before { content: ""; display: block; width: 24px; height: 1px; background: var(--c-line-strong); }
.h2 { margin: 0; font-size: clamp(28px, 3.4vw, 44px); font-weight: 700; line-height: 1.35; letter-spacing: 0.01em; }
.note { margin: 12px 0 0; font-size: 13px; line-height: 1.7; color: var(--c-text-2); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; color: var(--c-text-2); }
.crumbs a { color: var(--c-text-2); text-decoration: none; }
.crumbs a:hover { color: var(--c-text); }
.crumbs__sep { font-family: var(--font-mono); color: var(--c-text-3); }
.crumbs [aria-current="page"] { color: var(--c-text); }

/* ---- セクション ------------------------------------------------------------ */
.sec { padding: clamp(96px, 12vw, 160px) var(--gutter); scroll-margin-top: 56px; }
.sec--alt { background: var(--c-bg-2); }
.sec--hero-sub {
  position: relative; min-height: 84svh; box-sizing: border-box;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 120px var(--gutter) clamp(64px, 8vw, 112px);
}
.sec--head { padding: clamp(128px, 14vw, 184px) var(--gutter) 0; }

/* 左に見出し（広い画面では追従）・右に中身の2段組み */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px clamp(48px, 6vw, 96px); }
.split__side { position: static; top: 120px; }
@media (min-width: 1024px) {
  .split { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .split__side { position: sticky; }
}

/* 項目名・内容の表（dl） */
.kv { margin: 0; border-top: 1px solid var(--c-line-strong); }
.kv__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 28px 0; border-bottom: 1px solid var(--c-line); }
.kv__row dt { font-size: 14px; line-height: 1.9; color: var(--c-text-2); }
.kv__row dd { margin: 0; font-size: clamp(16px, 1.4vw, 17px); line-height: 1.9; text-wrap: pretty; }
@media (min-width: 768px) {
  .kv__row { grid-template-columns: 30% minmax(0, 1fr); gap: 24px; }
}

/* ご依頼の流れ（6段） */
.steps { margin: 64px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px 24px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps li { position: relative; padding-top: 24px; border-top: 1px solid var(--c-line); }
.steps li:first-child::before { content: ""; position: absolute; top: -1px; left: 0; width: 32px; height: 1px; background: var(--c-text); }
.steps__n { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.12em; color: var(--c-text-2); font-variant-numeric: tabular-nums; }
.steps h3 { margin: 20px 0 0; font-size: clamp(20px, 1.9vw, 24px); font-weight: 600; line-height: 1.5; }
.steps p { margin: 12px 0 0; font-size: clamp(15px, 1.3vw, 16px); line-height: 1.9; color: var(--c-text-2); text-wrap: pretty; }

/* 番号付きの大きなカード（得られること・LPのやること） */
.cards3 { margin-top: 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.ncard {
  position: relative; overflow: hidden; box-sizing: border-box;
  background: linear-gradient(180deg, #161617 0%, #0E0E0F 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  border-radius: 20px; padding: clamp(28px, 3vw, 40px);
  display: flex; flex-direction: column; min-height: 320px;
}
.ncard__n { font-family: var(--font-mono); font-size: clamp(44px, 4.4vw, 64px); font-weight: 200; line-height: 1; letter-spacing: -0.04em; color: #3A3A3C; font-variant-numeric: tabular-nums; }
.ncard h3 { margin: auto 0 0; padding-top: 48px; font-size: clamp(20px, 1.9vw, 24px); font-weight: 700; line-height: 1.5; }
.ncard p { margin: 16px 0 0; font-size: clamp(15px, 1.3vw, 16px); line-height: 1.9; color: var(--c-text-2); text-wrap: pretty; }

/* よくある質問 */
.faq { border-top: 1px solid var(--c-line-strong); }
.faq details { border-bottom: 1px solid var(--c-line); }
.faq summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 32px;
  gap: 24px; align-items: center; padding: 28px 0; min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__q { display: flex; gap: 16px; font-size: 18px; font-weight: 600; line-height: 1.6; color: var(--c-text); transition: color 200ms; }
.faq details[open] .faq__q { color: #FFFFFF; }
.faq__mark { font-family: var(--font-mono); font-size: 14px; font-weight: 500; color: var(--c-text-3); line-height: 1.9; }
.faq__icon {
  width: 32px; height: 32px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--c-line-strong);
  display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 300; line-height: 1;
  transition: transform 300ms var(--ease);
}
.faq details[open] .faq__icon { transform: rotate(45deg); }
.faq__a { display: flex; gap: 16px; padding: 0 56px 32px 0; font-size: clamp(15px, 1.3vw, 16px); line-height: 1.9; color: var(--c-text-2); }
.faq__a .faq__mark { font-weight: 400; line-height: inherit; }
.faq__a p { margin: 0; text-wrap: pretty; }
@media (max-width: 767px) { .faq__a { padding-right: 0; } }

/* ---- 相談CTA帯 -------------------------------------------------------------- */
.cta-sec { padding: clamp(96px, 12vw, 160px) var(--gutter); }
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  max-width: 1200px; margin: 0 auto; border-radius: 28px;
  padding: clamp(72px, 10vw, 144px) clamp(24px, 5vw, 64px);
  text-align: center; display: flex; flex-direction: column; align-items: center;
  background: linear-gradient(180deg, #1A1A1C 0%, #0E0E0F 55%, #120A07 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 40px 120px -40px rgba(255, 77, 31, 0.35);
}
.cta__glow {
  position: absolute; left: 50%; bottom: -55%; width: 140%; aspect-ratio: 1; transform: translateX(-50%);
  border-radius: 50%; z-index: -1; pointer-events: none; will-change: opacity;
  background: radial-gradient(closest-side, rgba(255, 120, 60, 0.55), rgba(255, 77, 31, 0.22) 40%, rgba(255, 77, 31, 0.05) 65%, transparent 75%);
}
.cta__rim { position: absolute; left: 50%; bottom: 0; width: 70%; height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(255, 160, 110, 0.9), transparent); z-index: -1; }
.cta__spot { position: absolute; inset: 0; background: radial-gradient(420px circle at var(--cx, 50%) var(--cy, 30%), rgba(255, 255, 255, 0.09), transparent 60%); z-index: -1; pointer-events: none; }
.cta__sheen { position: absolute; inset: 0 0 auto 0; height: 50%; background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0) 100%); border-radius: 28px 28px 0 0; z-index: -1; pointer-events: none; }
.cta__pill {
  margin-bottom: 28px; display: inline-flex; align-items: center; gap: 10px; height: 30px; padding: 0 14px;
  border-radius: 999px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; color: #D6D6DA;
}
.cta__pill::before { content: ""; display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 10px var(--c-accent); }
.cta h2 {
  margin: 0; font-size: clamp(28px, 4vw, 52px); font-weight: 700; line-height: 1.35; letter-spacing: 0.01em;
  background: linear-gradient(180deg, #FFFFFF 30%, #C9C9CE 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cta__body { margin: 28px 0 0; max-width: 600px; font-size: clamp(16px, 1.4vw, 17px); line-height: 1.9; color: #B4B4B9; text-wrap: pretty; }
.cta__btnwrap { position: relative; margin-top: 48px; display: flex; justify-content: center; }
.cta__halo { position: absolute; inset: -14px; border-radius: 999px; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.28), rgba(255, 140, 90, 0.12) 60%, transparent); pointer-events: none; will-change: opacity; }
.cta__btnwrap .btn-gloss { width: 100%; max-width: 360px; overflow: hidden; }
.cta__foot { margin: 20px 0 0; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: #8E8E93; }
@media (max-width: 767px) {
  .cta__btnwrap { width: 100%; }
  .cta__btnwrap .btn-gloss { max-width: 100%; }
}
/* 記事ページの末尾に置く、少し小さい帯 */
.cta--compact { padding: clamp(64px, 8vw, 112px) clamp(24px, 5vw, 64px); }
.cta--compact h2 { font-size: clamp(26px, 3.6vw, 44px); line-height: 1.4; }
.cta--compact .cta__body { margin-top: 24px; font-size: clamp(15px, 1.3vw, 17px); }
.cta--compact .cta__btnwrap { margin-top: 40px; }

/* ---- フッター -------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--c-line); padding: 48px var(--gutter); }
.site-footer__in { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.site-footer__logo { font-size: 15px; font-weight: 700; letter-spacing: 0.2em; color: var(--c-text); text-decoration: none; }
.site-footer__links { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.site-footer__links a { font-size: 14px; color: var(--c-text-2); text-decoration: none; }
.site-footer__links a:hover { color: var(--c-text); }
.site-footer__copy { font-family: var(--font-mono); font-size: 12px; color: var(--c-text-2); }

/* ---- 動き ------------------------------------------------------------------ */
/* JSが動くときだけ隠す（html.js）。JSが無い環境・視差効果を減らす設定では最初から見せる */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ======================================================================
 * トップ
 * ====================================================================== */
.line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.line > span { display: block; }

.hero {
  position: relative; overflow: hidden; min-height: 100svh; box-sizing: border-box;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 96px var(--gutter) clamp(72px, 9vw, 128px);
}
.hero__bg { position: absolute; inset: -20% -4% -10%; will-change: transform; pointer-events: none; }
.hero__bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(640px circle at var(--gx, 70%) var(--gy, 35%), rgba(255, 77, 31, 0.26), rgba(255, 77, 31, 0.06) 40%, transparent 70%); }
.hero__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.5) 40%, rgba(0, 0, 0, 0.92) 78%, #000 100%); }
.hero__inner { position: relative; z-index: 2; max-width: 1320px; width: 100%; margin: 0 auto; will-change: transform, opacity; }
.hero__h1 { margin: 0; font-size: clamp(34px, 7.8vw, 118px); font-weight: 800; line-height: 1.14; letter-spacing: -0.02em; word-break: keep-all; }
.hero__rule { margin-top: clamp(24px, 3vw, 40px); height: 1px; background: var(--c-line-strong); transform-origin: left center; }
.hero__cols { padding-top: clamp(28px, 3vw, 40px); display: flex; flex-wrap: wrap; gap: 32px clamp(40px, 5vw, 80px); align-items: stretch; }
.hero__main { flex: 1 1 620px; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.hero__lead { margin: 0; font-size: clamp(19px, 1.9vw, 24px); line-height: 1.8; font-weight: 600; }
.hero__lead strong { font-weight: 800; font-size: 1.15em; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; padding-left: clamp(0px, 2vw, 32px); border-left: 1px solid var(--c-line); }
.hero__side p { margin: 0; font-size: clamp(15px, 1.25vw, 17px); line-height: 2; color: var(--c-text-2); text-wrap: pretty; }

.problem { position: relative; overflow: clip; background: var(--c-bg-2); padding: clamp(112px, 14vw, 200px) var(--gutter) clamp(120px, 16vw, 240px); }
.problem__canvas { position: absolute; inset: 0; pointer-events: none; }
.problem__canvas canvas { position: sticky; top: 0; width: 100%; height: 100vh; display: block; }
.problem__in { position: relative; }
.problem__h2 { margin: 0; font-size: clamp(32px, 4.6vw, 60px); font-weight: 700; line-height: 1.3; letter-spacing: 0.01em; }
.problem__sub { margin: 20px 0 0; font-size: clamp(16px, 1.4vw, 17px); line-height: 1.8; color: var(--c-text-2); }
.problem__list { position: relative; margin-top: clamp(72px, 10vw, 128px); padding-left: clamp(28px, 6vw, 96px); }
.problem__track { position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--c-line); overflow: hidden; }
.problem__bar { position: absolute; inset: 0; background: var(--c-text); transform-origin: top center; transform: scaleY(0); }
.problem__list ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.problem__list li { display: flex; gap: clamp(16px, 3vw, 40px); align-items: baseline; padding: clamp(32px, 6vh, 64px) 0; will-change: opacity, filter; }
.problem__n { flex: none; font-family: var(--font-mono); font-size: clamp(12px, 1vw, 14px); letter-spacing: 0.12em; color: var(--c-line-strong); font-variant-numeric: tabular-nums; transition: color 300ms; }
.problem__t { max-width: 920px; font-size: clamp(24px, 3.4vw, 46px); font-weight: 700; line-height: 1.5; letter-spacing: 0.01em; text-wrap: pretty; }

.phil { position: relative; overflow: hidden; padding: clamp(128px, 16vw, 220px) var(--gutter); }
.phil__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.phil__mark { position: absolute; width: clamp(120px, 16vw, 220px); height: auto; }
.phil__mark--tl { left: clamp(8px, 4vw, 64px); top: clamp(48px, 6vw, 96px); }
.phil__mark--br { right: clamp(8px, 4vw, 64px); bottom: clamp(48px, 6vw, 96px); }
.phil__in { position: relative; max-width: 880px; margin: 0 auto; padding: 0 clamp(28px, 7vw, 96px); }
.phil__label { margin-bottom: 40px; }
.phil__h2 { margin: 0; font-size: clamp(28px, 4.4vw, 56px); font-weight: 700; line-height: 1.4; letter-spacing: 0.01em; }
.phil__h2 span { display: block; }
.phil__body { margin-top: 72px; margin-left: auto; max-width: 600px; display: flex; flex-direction: column; gap: 28px; font-size: clamp(16px, 1.4vw, 17px); line-height: 1.9; }
.phil__body p { margin: 0; text-wrap: pretty; }
.phil__body strong { font-weight: 700; }
.phil__p1 { color: var(--c-text-2); }

/* ④ 既定(スマホ・タブレット・動きを減らす設定・JSなし)はカードを縦に並べる */
.ww { background: var(--c-bg-2); padding: clamp(96px, 12vw, 160px) var(--gutter); }
.ww__h2 { margin: 0; font-size: clamp(28px, 3.2vw, 40px); font-weight: 700; line-height: 1.35; letter-spacing: 0.01em; }
.ww__lead { margin: 20px 0 0; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.8; color: var(--c-text-2); }
.ww__steps { display: flex; flex-direction: column; gap: 16px; margin-top: 48px; }
.ww__step { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 20px; padding: 24px; }
.ww__num { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.12em; color: var(--c-text-2); font-variant-numeric: tabular-nums; }
.ww__step h3 { margin: 12px 0 0; font-size: 20px; font-weight: 600; line-height: 1.5; }
.ww__step p { margin: 12px 0 0; font-size: 16px; line-height: 1.9; color: var(--c-text-2); }
.ww__foot { margin-top: 40px; display: flex; align-items: center; gap: 32px; }
.ww__bars { display: none; gap: 8px; }
.ww__bars > span { position: relative; display: block; width: 40px; height: 2px; background: var(--c-line); overflow: hidden; }
.ww__bars > span > span { position: absolute; inset: 0; background: var(--c-text); transform-origin: left center; transform: scaleX(0); }
.ww__ring { display: none; justify-content: center; }
.ww__ring svg { max-width: 100%; height: auto; overflow: visible; }
.ww__svgnum { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; transition: fill 400ms; }
.ww__svglabel { font-size: 14px; font-weight: 500; letter-spacing: 0.08em; transition: fill 400ms; }
.ww [data-ring-r], .ww [data-ring-d] { transition: stroke 400ms, fill 400ms; }
/* ④ PC幅(1024px以上)は左に3項目、右に円環の図を固定し、スクロールで読み進める */
.ww.is-pinned { position: relative; height: 280vh; padding: 0; }
.ww.is-pinned .ww__pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; padding: 56px 48px 0; box-sizing: border-box; overflow: hidden; }
.ww.is-pinned .ww__grid { width: 100%; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 24px; align-items: center; }
.ww.is-pinned .ww__h2 { font-size: 40px; }
.ww.is-pinned .ww__lead { font-size: 19px; }
.ww.is-pinned .ww__steps { position: relative; height: 244px; margin-top: 48px; display: block; }
.ww.is-pinned .ww__step { position: absolute; inset: 0; background: none; border: 0; border-radius: 0; padding: 0; opacity: 0; pointer-events: none; }
.ww.is-pinned .ww__step:first-child { opacity: 1; }
.ww.is-pinned .ww__step h3 { margin-top: 16px; font-size: 36px; font-weight: 700; line-height: 1.4; }
.ww.is-pinned .ww__step p { margin-top: 20px; max-width: 460px; font-size: 17px; }
.ww.is-pinned .ww__foot { margin-top: 8px; }
.ww.is-pinned .ww__bars { display: flex; }
.ww.is-pinned .ww__ring { display: flex; }

/* ⑤ コンテンツ(公開記事が1本以上のときだけ出る) */
.contents { position: relative; overflow: hidden; padding: clamp(112px, 14vw, 200px) var(--gutter) clamp(64px, 8vw, 112px); }
.contents__h2 { margin: 0; font-size: clamp(36px, 5.2vw, 72px); font-weight: 700; line-height: 1.15; letter-spacing: 0; }
.contents__h2 .line { padding-bottom: 0.08em; }
.contents__cols { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(56px, 6vw, 96px); }
.contents__col { display: flex; flex-direction: column; }
.contents__head { display: flex; align-items: center; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--c-text); }
.contents__tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em; color: var(--c-accent); }
.contents__head h3 { margin: 0; font-size: clamp(20px, 2vw, 24px); font-weight: 600; letter-spacing: 0.08em; line-height: 1.4; }
.arow {
  display: grid; grid-template-columns: minmax(0, 1fr) 24px; gap: 24px; align-items: center;
  padding: 28px 0; border-bottom: 1px solid var(--c-surface-2); color: var(--c-text-2); text-decoration: none;
  transition: border-color 300ms, color 300ms, padding 400ms var(--ease);
}
.arow:hover { border-color: var(--c-line-strong); color: var(--c-text); padding-left: 10px; }
.arow--rank { grid-template-columns: clamp(56px, 6vw, 88px) minmax(0, 1fr) 24px; }
.arow__rank { font-family: var(--font-mono); font-size: clamp(36px, 3.6vw, 52px); font-weight: 200; line-height: 1; letter-spacing: -0.06em; color: #3A3A3C; font-variant-numeric: tabular-nums; }
.arow--rank:first-child .arow__rank, .arow__rank--first { color: var(--c-text); }
.arow__body { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.arow__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--c-text-3); font-variant-numeric: tabular-nums; }
.arow__meta i { display: block; width: 12px; height: 1px; background: var(--c-line-strong); }
.arow__cat { font-family: var(--font-sans); letter-spacing: 0.06em; }
.arow__title { font-size: clamp(16px, 1.4vw, 18px); font-weight: 500; line-height: 1.7; letter-spacing: 0.03em; color: var(--c-text); text-wrap: pretty; }
.arow__go { display: flex; align-items: center; justify-content: flex-end; overflow: hidden; font-size: 14px; }
.arow__go .arr { transition: transform 300ms var(--ease); }
.contents__more { margin-top: clamp(56px, 6vw, 80px); display: flex; justify-content: center; }
.contents__more .btn-gloss { width: 100%; max-width: 360px; }
@media (max-width: 767px) { .contents__more .btn-gloss { max-width: 100%; } }

.contents + .cta-sec { padding-top: 0; }

/* ======================================================================
 * サービス
 * ====================================================================== */
.svc-hero { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px clamp(48px, 6vw, 96px); align-items: end; }
.svc-hero__h1 { margin: 0; font-size: clamp(38px, 6.4vw, 88px); font-weight: 800; line-height: 1.18; letter-spacing: -0.01em; word-break: keep-all; }
.svc-hero__lead { margin: 40px 0 0; max-width: 600px; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.8; text-wrap: pretty; }
.svc-hero__note2 { margin-top: 4px; max-width: 600px; text-wrap: pretty; }
.svc-hero__btns { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }
.svc-toc { display: none; border-top: 1px solid var(--c-line); }
.svc-toc a {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) 16px; align-items: center; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--c-line); color: var(--c-text-2); text-decoration: none; font-size: 15px;
  transition: color 200ms, padding 300ms var(--ease);
}
.svc-toc a:hover { color: var(--c-text); padding-left: 8px; }
.svc-toc__n { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--c-text-3); font-variant-numeric: tabular-nums; }
.svc-toc__go { font-size: 13px; }
@media (min-width: 1024px) {
  .svc-hero { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
  .svc-toc { display: block; }
}

.issues { margin-top: 40px; }
.issues__head { display: none; }
.issues__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 32px 0; border-bottom: 1px solid var(--c-line); }
.issues__q { margin: 0; font-size: clamp(18px, 1.7vw, 21px); font-weight: 700; line-height: 1.6; }
.issues__arrow { display: none; font-size: 16px; color: var(--c-text-3); }
.issues__a { margin: 0; font-size: clamp(16px, 1.4vw, 17px); line-height: 1.9; color: var(--c-text-2); text-wrap: pretty; }
@media (min-width: 900px) {
  .issues { margin-top: 0; }
  .issues__head {
    margin-top: 64px; display: grid; grid-template-columns: minmax(0, 5fr) 56px minmax(0, 7fr);
    padding-bottom: 16px; border-bottom: 1px solid var(--c-line-strong);
    font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--c-text-3);
  }
  .issues__row { grid-template-columns: minmax(0, 5fr) 56px minmax(0, 7fr); gap: 0; }
  .issues__arrow { display: block; }
}

.outscope { margin-top: 56px; padding: 28px clamp(20px, 2.5vw, 32px); border: 1px solid var(--c-line); border-radius: 20px; }
.outscope h3 { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.5; color: var(--c-text-2); }
.outscope ul { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.8; color: var(--c-text-2); }
.outscope li { display: flex; gap: 12px; }

.research__lead { margin: 28px 0 0; max-width: 680px; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.9; text-wrap: pretty; }
.research__h3 { margin: 64px 0 0; font-size: 14px; font-weight: 500; letter-spacing: 0.08em; color: var(--c-text-2); }
.research { margin-top: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); border-top: 1px solid var(--c-line-strong); }
.research__item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 8px; padding: 32px clamp(0px, 2vw, 32px) 32px 0; border-bottom: 1px solid var(--c-line); }
.research__n { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.12em; color: var(--c-text-3); font-variant-numeric: tabular-nums; line-height: 1.9; }
.research__item h4 { margin: 0; font-size: clamp(18px, 1.6vw, 20px); font-weight: 600; line-height: 1.6; }
.research__item p { margin: 8px 0 0; font-size: clamp(15px, 1.3vw, 16px); line-height: 1.9; color: var(--c-text-2); text-wrap: pretty; }
.research__cta { margin-top: 72px; }
.research__cta .btn-gloss, .mid-cta .btn-gloss { max-width: 360px; }
@media (max-width: 767px) { .research__cta .btn-gloss, .mid-cta .btn-gloss { max-width: 100%; } }

.process__note { margin: 64px 0 0; max-width: 680px; padding-top: 24px; border-top: 1px solid var(--c-line); font-size: 15px; line-height: 1.9; color: var(--c-text-2); text-wrap: pretty; }

.lp-links { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--c-line); }
.lp-links h3 { margin: 0; font-size: 14px; font-weight: 500; letter-spacing: 0.08em; color: var(--c-text-2); }
.lp-links ul { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 12px 32px; }

/* ======================================================================
 * 事業概要
 * ====================================================================== */
.page-h1 { margin: 0; font-size: clamp(38px, 5vw, 64px); font-weight: 800; line-height: 1.2; letter-spacing: 0; }
.company-head { padding: clamp(136px, 15vw, 200px) var(--gutter) clamp(96px, 12vw, 160px); }
.company-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px clamp(48px, 6vw, 96px); align-items: start; }
@media (min-width: 1024px) {
  .company-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .company-grid > .split__side { position: sticky; }
}
.kv--lg .kv__row { align-items: baseline; gap: 4px; }
.kv--lg .kv__row dd { font-size: clamp(16px, 1.5vw, 18px); }
@media (min-width: 768px) { .kv--lg .kv__row { gap: 24px; } }
.kv__link {
  display: inline-flex; align-items: center; gap: 10px; color: var(--c-text);
  text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; text-decoration-color: var(--c-text-3); letter-spacing: 0.04em;
}
.kv__link:hover { text-decoration-color: var(--c-text); color: #FFFFFF; }
.about { position: relative; overflow: hidden; background: var(--c-bg-2); padding: clamp(120px, 14vw, 200px) var(--gutter); }
.about__mark { position: absolute; width: clamp(72px, 10vw, 140px); height: auto; }
.about__mark--tl { left: clamp(12px, 4vw, 64px); top: clamp(56px, 7vw, 112px); }
.about__mark--br { right: clamp(12px, 4vw, 64px); bottom: clamp(56px, 7vw, 112px); }
.about__in { position: relative; max-width: 880px; margin: 0 auto; padding: 0 clamp(28px, 7vw, 96px); }
.about__p { margin: 40px 0 0; max-width: 680px; font-size: clamp(17px, 1.6vw, 19px); line-height: 2; text-wrap: pretty; }

/* ======================================================================
 * 相談する
 * ====================================================================== */
.contact-sec { padding: clamp(128px, 14vw, 184px) var(--gutter) clamp(96px, 12vw, 160px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px clamp(48px, 7vw, 112px); align-items: start; }
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .contact-grid > .split__side { position: sticky; }
}
.contact__h1 { margin: 0; font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; line-height: 1.25; letter-spacing: 0; word-break: keep-all; }
.contact__lead { margin: 32px 0 0; max-width: 520px; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.9; text-wrap: pretty; }
.contact__flow { margin-top: 56px; }
.contact__flow h2 { margin: 0 0 4px; font-size: 14px; font-weight: 500; letter-spacing: 0.08em; color: var(--c-text-2); }
.contact__flow ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--c-line); }
.contact__flow li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 8px; padding: 20px 0; border-bottom: 1px solid var(--c-line); }
.contact__n { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--c-text-3); line-height: 1.9; font-variant-numeric: tabular-nums; }
.contact__ft { font-size: 16px; font-weight: 600; line-height: 1.7; }
.contact__fb { margin-top: 4px; font-size: 14px; line-height: 1.8; color: var(--c-text-2); }
.contact__main { min-width: 0; }

.form, .form-done {
  background: var(--c-surface); border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.form { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 28px; }
.form[hidden], .form-done[hidden] { display: none; }
.form__fail { border: 1px solid var(--c-accent); border-radius: 20px; padding: 20px 24px; font-size: 15px; line-height: 1.8; outline: none; }
.form__fail[hidden] { display: none; }
.field { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.field label { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--c-text-2); }
.req { font-size: 11px; padding: 2px 8px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--c-line-strong); color: #D6D6DA; }
.opt { font-size: 11px; color: var(--c-text-3); }
.field input, .field select, .field textarea {
  width: 100%; box-sizing: border-box; height: 52px; padding: 0 16px;
  background: var(--c-surface-2); border: 1px solid var(--c-line-strong); border-radius: 12px;
  color: var(--c-text); font: inherit; font-size: 16px; letter-spacing: 0.04em;
}
.field textarea { height: auto; min-height: 188px; padding: 14px 16px; line-height: 1.8; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--c-accent); box-shadow: 0 0 0 2px var(--c-accent); outline: none; }
.field .is-invalid { border-color: var(--c-accent); }
/* お問い合わせ種別(ラジオボタン)。入力欄と同じ地・枠・角丸の選択肢を並べ、選んだものを白い丸と明るい枠で示す */
.field--choice { margin: 0; padding: 0; border: 0; min-width: 0; }
.field--choice legend { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 10px; font-size: 14px; color: var(--c-text-2); }
.choices { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 768px) { .choices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.choice {
  position: relative; display: flex; align-items: center; gap: 12px; min-height: 52px; box-sizing: border-box;
  padding: 12px 16px; background: var(--c-surface-2); border: 1px solid var(--c-line-strong); border-radius: 12px;
  font-size: 16px; line-height: 1.5; color: var(--c-text-2); cursor: pointer; transition: border-color 200ms, color 200ms;
}
.choice:hover { border-color: var(--c-text-3); }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.choice__mark { flex: none; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--c-line-strong); transition: box-shadow 200ms; }
.choice:has(input:checked) { border-color: var(--c-text); color: var(--c-text); }
.choice input:checked + .choice__mark { box-shadow: inset 0 0 0 5px var(--c-text); }
.choice:has(input:focus-visible) { border-color: var(--c-accent); box-shadow: 0 0 0 2px var(--c-accent); }
.choice:has(input.is-invalid) { border-color: var(--c-accent); }
.field__err { margin: 0; font-size: 13px; color: var(--c-accent); }
.field__err[hidden] { display: none; }
.form__pair { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px 20px; }
@media (min-width: 768px) { .form__pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form__submit { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 8px; }
.form__submit .btn-gloss { min-width: 240px; }
.form__submit .btn-gloss.is-sending { cursor: wait; opacity: 0.7; transform: none; }
.form__submit p { margin: 0; font-size: 13px; line-height: 1.7; color: var(--c-text-2); }
.form__submit p a { color: var(--c-text); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--c-text-3); }
@media (max-width: 767px) {
  .form__submit { align-items: stretch; }
  .form__submit .btn-gloss { width: 100%; }
}
.spinner { display: block; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid #FFFFFF; border-right-color: transparent; animation: spin 800ms linear infinite; }
.spinner[hidden], .arr[hidden] { display: none; }
.form-done { padding: clamp(40px, 5vw, 64px) clamp(24px, 4vw, 56px); outline: none; }
.form-done__icon { width: 48px; height: 48px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--c-line-strong); display: flex; align-items: center; justify-content: center; }
.form-done__msg { margin: 32px 0 0; font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; line-height: 1.5; }
.form-done__links { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--c-line); display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: 15px; }
.form-done__links a { display: inline-flex; gap: 8px; color: var(--c-text); text-decoration: none; }
.contact__sub { margin-top: 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; background: var(--c-line); border-radius: 20px; overflow: hidden; }
@media (min-width: 768px) { .contact__sub { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.contact__sub a { display: flex; flex-direction: column; gap: 8px; padding: 24px 28px; background: var(--c-bg-2); color: var(--c-text); text-decoration: none; transition: background 200ms; }
.contact__sub a:hover { background: var(--c-surface); color: var(--c-text); }
.contact__subk { font-size: 13px; color: var(--c-text-2); }
.contact__tel { font-family: var(--font-mono); font-size: clamp(20px, 1.9vw, 24px); letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.contact__pp { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 16px; font-weight: 600; }
.contact__pp span { font-size: 14px; }

/* ======================================================================
 * 業種別LP
 * ====================================================================== */
.lp-cta-mobile { display: none; }
@media (max-width: 767px) {
  .lp-cta-desktop { display: none; }
  .lp-cta-mobile { display: inline-flex; }
}
.lp-hero { width: 100%; }
.lp-hero__crumbs { margin-bottom: 40px; }
.lp-hero__h1 { margin: 0; font-size: clamp(34px, 6vw, 84px); font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; word-break: keep-all; }
.lp-hero__foot { margin-top: clamp(32px, 4vw, 48px); padding-top: 32px; border-top: 1px solid var(--c-line); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 64px; }
.lp-hero__foot p { margin: 0; flex: 1 1 420px; max-width: 640px; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.8; text-wrap: pretty; }
.lp-problem { padding-top: clamp(112px, 14vw, 200px); padding-bottom: clamp(112px, 14vw, 200px); }
.lp-problem__h2 { margin: 0; font-size: clamp(32px, 4.6vw, 60px); font-weight: 700; line-height: 1.3; letter-spacing: 0.01em; }
.lp-problem__list { margin: clamp(56px, 7vw, 96px) 0 0; padding: 0 0 0 clamp(20px, 5vw, 80px); list-style: none; border-left: 1px solid var(--c-line); }
.lp-problem__list li { display: flex; gap: clamp(16px, 3vw, 40px); align-items: baseline; padding: clamp(24px, 4vh, 44px) 0; border-bottom: 1px solid var(--c-surface-2); }
.lp-problem__n { flex: none; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.12em; color: var(--c-text-3); font-variant-numeric: tabular-nums; }
.lp-problem__t { max-width: 920px; font-size: clamp(20px, 2.6vw, 34px); font-weight: 700; line-height: 1.55; letter-spacing: 0.01em; text-wrap: pretty; }
.lp-phil { padding: clamp(120px, 15vw, 220px) var(--gutter); }
.lp-phil__in { max-width: 880px; margin: 0 auto; }
.lp-phil__label { margin-bottom: 32px; }
.lp-phil__h2 { margin: 0; font-size: clamp(28px, 4vw, 52px); font-weight: 700; line-height: 1.4; letter-spacing: 0.01em; word-break: keep-all; }
.lp-phil__p { margin: 48px 0 0; max-width: 680px; font-size: clamp(16px, 1.5vw, 18px); line-height: 2; color: var(--c-text-2); text-wrap: pretty; }
.lp-phil__p strong { font-weight: 700; color: var(--c-text); }
.lp-ww__lead { margin: 24px 0 0; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.8; color: var(--c-text-2); }
.lp-ww__note { margin-top: 8px; }
.lp-ww__cards { margin-top: 56px; }
.ncard--tall { min-height: 340px; }
.mid-cta { margin-top: 72px; }
.lp-more { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--c-line); }

/* ======================================================================
 * 404
 * ====================================================================== */
.nf { display: flex; align-items: center; padding: clamp(128px, 14vw, 184px) var(--gutter) clamp(96px, 10vw, 140px); }
.nf__in { width: 100%; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; align-items: flex-start; }
.nf__code { position: relative; display: inline-flex; align-items: center; padding: clamp(20px, 3vw, 36px) clamp(28px, 4vw, 52px); }
.nf__tl { position: absolute; left: 0; top: 0; }
.nf__br { position: absolute; right: 0; bottom: 0; }
.nf__num { font-family: var(--font-mono); font-size: clamp(72px, 12vw, 160px); font-weight: 500; line-height: 1; letter-spacing: 0.04em; color: var(--c-text); font-variant-numeric: tabular-nums; }
.nf__zero { position: relative; display: inline-block; color: var(--c-line); }
.nf__dot { position: absolute; left: 50%; top: 50%; width: 0.12em; height: 0.12em; border-radius: 50%; background: var(--c-accent); transform: translate(-50%, -50%); }
.nf__h1 { margin: clamp(40px, 5vw, 56px) 0 0; font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; line-height: 1.45; letter-spacing: 0.01em; }
.nf__p { margin: 20px 0 0; max-width: 560px; font-size: clamp(16px, 1.4vw, 17px); line-height: 2; color: var(--c-text-2); text-wrap: pretty; }
.nf__links { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.nf__links a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; color: var(--c-text); text-decoration: none; }

/* ======================================================================
 * プライバシーポリシー
 * ====================================================================== */
.pp-eyebrow { margin-top: 40px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--c-text-2); }
.pp-h1 { margin: 16px 0 0; font-size: clamp(32px, 4.4vw, 56px); font-weight: 700; line-height: 1.35; letter-spacing: 0.01em; }
.pp-updated { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--c-line); font-family: var(--font-mono); font-size: 13px; color: var(--c-text-2); }
.pp-updated span { font-family: var(--font-sans); }
.pp-body { padding: clamp(56px, 7vw, 96px) var(--gutter) clamp(96px, 12vw, 160px); }
.pp-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px clamp(48px, 6vw, 96px); align-items: start; }
.pp-toc { background: var(--c-surface); border-radius: 20px; box-shadow: inset 0 0 0 1px var(--c-line); }
.pp-toc ol { list-style: none; margin: 0; padding: 0; }
.pp-toc li { border-top: 1px solid var(--c-line); }
.pp-toc a { display: grid; gap: 4px; color: var(--c-text); text-decoration: none; line-height: 1.6; }
.pp-toc__n { font-family: var(--font-mono); color: var(--c-text-3); line-height: 1.9; }
.pp-toc--wide { display: none; position: sticky; top: 88px; max-height: calc(100vh - 120px); overflow-y: auto; padding: 20px 20px 8px; }
.pp-toc__title { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--c-text-2); }
.pp-toc--wide ol { margin-top: 10px; }
.pp-toc--wide a { grid-template-columns: 28px minmax(0, 1fr); padding: 7px 0; font-size: 13px; color: var(--c-text-2); }
.pp-toc--wide a:hover, .pp-toc--wide a.is-active { color: #FFFFFF; }
.pp-toc--wide .pp-toc__n { font-size: 11px; }
.pp-toc--wide a.is-active .pp-toc__n { color: var(--c-accent); }
.pp-toc--narrow { padding: 0 24px; }
.pp-toc--narrow summary { list-style: none; cursor: pointer; min-height: 56px; display: flex; align-items: center; justify-content: space-between; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--c-text-2); }
.pp-toc--narrow summary::-webkit-details-marker { display: none; }
.pp-toc__plus { font-size: 16px; color: var(--c-text); }
.pp-toc--narrow ol { padding-bottom: 12px; }
.pp-toc--narrow a { grid-template-columns: 32px minmax(0, 1fr); padding: 12px 0; font-size: 15px; }
.pp-toc--narrow .pp-toc__n { font-size: 12px; }
@media (min-width: 1024px) {
  .pp-grid { grid-template-columns: 260px minmax(0, 1fr); }
  .pp-toc--wide { display: block; }
  .pp-toc--narrow { display: none; }
}
.pp-main { max-width: 720px; min-width: 0; }
.pp-intro, .pp-main p { font-size: clamp(16px, 1.4vw, 17px); line-height: 2.05; text-wrap: pretty; }
.pp-intro { margin: 0; }
.pp-sec { scroll-margin-top: 88px; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--c-line); }
.pp-sec h2 { margin: 0; font-size: clamp(20px, 2vw, 24px); font-weight: 700; line-height: 1.55; letter-spacing: 0.01em; }
.pp-sec__n { display: block; margin-bottom: 10px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; color: var(--c-text-3); }
.pp-sec h3 { margin: 36px 0 0; display: flex; align-items: baseline; gap: 12px; font-size: clamp(16px, 1.5vw, 18px); font-weight: 600; line-height: 1.6; }
.pp-num { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--c-text-3); }
.pp-sec p { margin: 16px 0 0; }
.pp-list { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.pp-list li { display: flex; gap: 14px; font-size: clamp(15px, 1.35vw, 16px); line-height: 1.9; }
.pp-li__dot { flex: none; width: 5px; height: 5px; margin-top: 0.85em; border-radius: 50%; background: var(--c-text-3); }
.pp-li__body { min-width: 0; display: flex; flex-wrap: wrap; column-gap: 12px; }
.pp-li__k { font-weight: 600; color: var(--c-text); }
.pp-li__v { color: #C7C7CC; }
.pp-list a, .pp-links a { color: var(--c-text); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--c-text-3); word-break: break-all; }
.pp-list a:hover, .pp-links a:hover { text-decoration-color: var(--c-accent); }
.pp-sec .pp-note { margin-top: 24px; padding: 18px 20px; border-radius: 14px; background: var(--c-surface); box-shadow: inset 0 0 0 1px var(--c-line); font-size: 15px; line-height: 1.95; }
.pp-note__k { font-weight: 700; margin-right: 10px; }
.pp-sec .pp-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 15px; line-height: 1.9; }
.pp-links__k { font-weight: 600; }

/* 幅360px未満の小さなスマホでは、ヘッダーのロゴを少し詰めてボタンと並ぶようにする */
@media (max-width: 359px) {
  .site-header .logo { gap: 6px; font-size: 15px; letter-spacing: 0.12em; }
  .site-header .logo svg { width: 22px; height: 22px; }
  .btn-gloss--xs { padding-left: 10px; font-size: 12px; }
  .site-header__in { gap: 8px; }
  .header-mobile { gap: 0; }
  .menu-btn { width: 40px; }
}

/* ======================================================================
 * 記事一覧
 * ====================================================================== */
.alist { padding: clamp(136px, 15vw, 200px) var(--gutter) clamp(96px, 12vw, 160px); }
.alist__eyebrow { margin: 40px 0 0; }
.alist__head { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.alist__count { font-family: var(--font-mono); font-size: 13px; color: var(--c-text-2); font-variant-numeric: tabular-nums; }
.alist__pills { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 32px; border-bottom: 1px solid var(--c-line); }
.pill {
  display: inline-flex; align-items: center; height: 40px; padding: 0 20px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--c-line-strong); background: transparent; color: var(--c-text);
  font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-decoration: none; transition: background 200ms, color 200ms;
}
.pill:hover { color: #FFFFFF; box-shadow: inset 0 0 0 1px var(--c-text); }
.pill.is-selected { background: var(--c-text); color: #000; box-shadow: inset 0 0 0 1px var(--c-text); }
.alist__tag { margin-top: 24px; display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--c-text-2); }
.alist__tag span { color: var(--c-text); }
.alist__tag a { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--c-line-strong); color: var(--c-text); font-size: 13px; text-decoration: none; }
.alist__grid { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.acard {
  display: flex; flex-direction: column; background: var(--c-surface); border-radius: 20px;
  box-shadow: inset 0 0 0 1px var(--c-line); overflow: hidden; color: var(--c-text); text-decoration: none; transition: box-shadow 200ms;
}
.acard:hover { box-shadow: inset 0 0 0 1px var(--c-text-3); color: var(--c-text); }
.acard__img { display: block; aspect-ratio: 16 / 9; background-size: cover; background-position: center; }
.acard__body { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 2.6vw, 32px); flex: 1; }
.acard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.06em; color: var(--c-text-2); font-variant-numeric: tabular-nums; }
.acard__meta i { display: block; width: 12px; height: 1px; background: var(--c-line-strong); }
.acard__title { font-size: 20px; font-weight: 600; line-height: 1.6; text-wrap: pretty; }
.acard__desc { font-size: 14px; line-height: 1.8; color: var(--c-text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.acard__tags { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: #8E8E93; }
.pager { margin-top: 64px; display: flex; justify-content: center; gap: 8px; }
.pager a, .pager span {
  width: 44px; height: 44px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--c-line-strong);
  display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 14px; color: var(--c-text); text-decoration: none;
}
.pager .pager__cur { background: var(--c-text); color: #000; }

/* ======================================================================
 * 記事ページ
 * ====================================================================== */
.art-wrap { max-width: 880px; margin: 0 auto; }
.art-head { padding: clamp(128px, 14vw, 184px) var(--gutter) 0; }
.crumbs__cur { max-width: 32em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.art-h1 { margin: 40px 0 0; font-size: clamp(30px, 4vw, 48px); font-weight: 700; line-height: 1.45; letter-spacing: 0.01em; text-wrap: pretty; }
.art-meta { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--c-line); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; font-family: var(--font-mono); font-size: 13px; color: var(--c-text-2); font-variant-numeric: tabular-nums; }
.art-cat { height: 28px; padding: 0 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--c-line-strong); display: inline-flex; align-items: center; color: var(--c-text); text-decoration: none; font-family: var(--font-sans); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; }
.art-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.art-tags a { white-space: nowrap; color: var(--c-text-2); text-decoration: none; font-family: var(--font-sans); font-size: 13px; }
.art-tags a:hover { color: var(--c-text); }
.art-eyecatch { margin-top: 48px; }
.art-eyecatch img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 20px; }
.art-bodywrap { padding: 64px var(--gutter) 0; }
.art-toc { background: var(--c-surface); border-radius: 20px; box-shadow: inset 0 0 0 1px var(--c-line); padding: clamp(24px, 3vw, 32px) clamp(24px, 3vw, 40px); }
.art-toc__title, .art-points__title, .art-sources__title { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--c-text-2); }
.art-toc ol { margin: 16px 0 0; padding: 0; list-style: none; }
.art-toc li { border-top: 1px solid var(--c-line); }
.art-toc a { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 8px; padding: 14px 0; color: var(--c-text); text-decoration: none; font-size: 16px; line-height: 1.7; }
.art-toc a:hover { color: #FFFFFF; }
.art-toc__n { font-family: var(--font-mono); font-size: 13px; color: var(--c-text-3); line-height: 1.9; }

/* 本文(Markdownから作ったHTML) */
.art-body { max-width: 680px; margin: 0 auto; }
.art-body > p, .art-body > .art-sources + p { margin: 28px 0 0; font-size: clamp(17px, 1.5vw, 18px); line-height: 2; text-wrap: pretty; }
.art-body > p.art-lead { margin-top: 64px; font-size: clamp(18px, 1.7vw, 20px); font-weight: 500; }
.art-body h2 { scroll-margin-top: 88px; margin: 96px 0 0; padding-top: 32px; border-top: 1px solid var(--c-line); font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; line-height: 1.5; letter-spacing: 0.01em; }
.art-h2n { display: block; margin-bottom: 12px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; color: var(--c-text-3); }
.art-body h3 { margin: 56px 0 0; font-size: clamp(19px, 1.8vw, 22px); font-weight: 600; line-height: 1.6; }
.art-body h4 { margin: 40px 0 0; font-size: 18px; font-weight: 600; line-height: 1.6; }
.art-body > ul, .art-body > ol { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.art-body > ul > li { position: relative; padding-left: 20px; font-size: clamp(17px, 1.5vw, 18px); line-height: 1.9; }
.art-body > ul > li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 6px; height: 6px; border-radius: 50%; background: var(--c-text-3); }
.art-body > ol { counter-reset: n; }
.art-body > ol > li { counter-increment: n; display: grid; grid-template-columns: 32px minmax(0, 1fr); font-size: clamp(17px, 1.5vw, 18px); line-height: 1.9; }
.art-body > ol > li::before { content: counter(n, decimal-leading-zero); font-family: var(--font-mono); font-size: 13px; color: var(--c-text-3); line-height: 2.4; }
.art-body a { color: var(--c-text); text-decoration: underline; text-decoration-color: var(--c-text-2); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.art-body a:hover { text-decoration-color: var(--c-accent); }
.art-body strong { font-weight: 700; }
.art-body blockquote { position: relative; margin: 48px 0 0; padding: 8px 0 8px 40px; }
.art-body blockquote::before { content: ""; position: absolute; left: 0; top: 0; width: 18px; height: 38px; border-left: 1.5px solid var(--c-text-2); border-top: 1.5px solid var(--c-text-2); }
.art-body blockquote p { margin: 0; font-size: 18px; line-height: 2; color: var(--c-text-2); text-wrap: pretty; }
.art-body blockquote p + p { margin-top: 12px; }
.art-body hr { margin: 64px 0 0; border: 0; border-top: 1px solid var(--c-line); }
.art-body img { display: block; width: 100%; height: auto; margin: 48px 0 0; border-radius: 16px; background: var(--c-surface); }
.art-body code { font-family: var(--font-mono); font-size: 0.9em; background: var(--c-surface); padding: 2px 6px; border-radius: 6px; }
.art-table { margin: 40px 0 0; overflow-x: auto; }
.art-table table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 15px; line-height: 1.8; }
.art-table th { text-align: left; font-weight: 600; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--c-line-strong); color: var(--c-text-2); font-size: 13px; }
.art-table td { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.art-table tbody th[scope="row"], .art-table tr th[scope="row"] { color: var(--c-text); font-size: 15px; font-weight: 500; border-bottom-color: var(--c-line); }
.art-sources { margin: 40px 0 0; padding-top: 16px; border-top: 1px dashed var(--c-line); }
.art-sources__title { font-size: 11px; color: var(--c-text-3); }
.art-sources ul { margin: 10px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.art-sources li { font-size: 13px; line-height: 1.8; }
.art-body .art-sources a { color: var(--c-text-2); text-decoration-color: var(--c-line-strong); word-break: break-all; }
.art-body .art-sources a:hover { color: var(--c-text); text-decoration-color: var(--c-accent); }
.art-sources a[target="_blank"]::after, .art-body > p a[target="_blank"]::after { content: " ↗"; }
.art-points { margin: 48px 0 0; background: var(--c-surface); border-radius: 20px; box-shadow: inset 0 0 0 1px var(--c-line); padding: clamp(24px, 3vw, 36px); }
.art-points__title { display: flex; align-items: center; gap: 10px; }
.art-points__title::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-accent); }
.art-points ol { margin: 16px 0 0; padding: 0; list-style: none; }
.art-points li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 8px; padding: 14px 0; border-top: 1px solid var(--c-line); font-size: clamp(16px, 1.4vw, 17px); line-height: 1.8; font-weight: 500; }
.art-points__n { font-family: var(--font-mono); font-size: 13px; font-weight: 400; color: var(--c-text-3); line-height: 2; }
.art-chart { margin: 48px 0 0; }
.art-chart__title { font-size: 14px; font-weight: 600; color: var(--c-text-2); }
.art-chart svg { display: block; width: 100%; height: auto; margin-top: 16px; }
.chart__tick { font-family: var(--font-mono); font-size: 12px; fill: var(--c-text-2); }
.chart__legend { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--c-text-2); }
.chart__legend i { display: inline-block; width: 10px; height: 10px; margin-right: 8px; }
.art-chart .art-table { margin-top: 20px; }
.art-chart figcaption { margin-top: 14px; font-size: 13px; color: var(--c-text-3); }

.cta-sec--compact { padding-bottom: 0; }
.art-related { padding: clamp(96px, 12vw, 160px) var(--gutter); }
.art-related__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--c-text); }
.art-related__head h2 { margin: 0; font-size: clamp(20px, 2vw, 24px); font-weight: 600; letter-spacing: 0.08em; }
.art-related__head a { font-size: 14px; color: var(--c-text); text-decoration: none; display: inline-flex; gap: 8px; }
.art-related__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 0 40px; }
.art-related__grid > a { display: flex; flex-direction: column; gap: 12px; padding: 28px 0; border-bottom: 1px solid var(--c-surface-2); color: var(--c-text); text-decoration: none; transition: border-color 300ms; }
.art-related__grid > a:hover { border-color: var(--c-line-strong); color: #FFFFFF; }
.art-related__grid .arow__meta { font-size: 12px; }
.art-related__title { font-size: 17px; font-weight: 500; line-height: 1.7; text-wrap: pretty; }
main > .cta-sec--compact:last-child { padding-bottom: clamp(96px, 12vw, 160px); }
