/* ============================================================
   IT.Skill 営業サイト — v5.0 "Editorial Minimal"
   Reference: proximo.co.jp
   言語: 純白 × 黒 / 巨大エッジブリード英字見出し / 余白と細線のみ
   オレンジはロゴドットと微細なアクセントに限定。
   角丸・影・グラデーションは原則使わない。
   ============================================================ */

:root {
  /* 基調 */
  --bg: #ffffff;
  --bg-soft: #f7f7f4;
  --bg-tint: #f0f0ec;
  --panel: #ffffff;
  --panel-2: #fafaf8;
  --line: #e6e6e2;
  --line-strong: #cfcfc9;
  /* インク */
  --ink: #111111;
  --text: #262623;
  --muted: #52524d;   /* 1段濃く（可読性優先） */
  --faint: #98988f;
  /* アクセント（ロゴのオレンジ・微使用） */
  --accent: #e8590c;
  --accent-soft: #f0630f;
  --accent-deep: #c74a08;
  --accent-ink: #7c2d12;
  --accent-wash: #faf3ee;
  --green: #16a34a;
  --green-soft: #15803d;
  --amber: #b45309;
  /* 形状（ミニマル：ほぼ直角・影なし） */
  --radius: 2px;
  --radius-sm: 2px;
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
  --maxw: 1200px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  /* 書体 */
  --ff-sans: "Inter", "Noto Sans JP", system-ui, sans-serif;
  --ff-serif: "Instrument Serif", "Noto Serif JP", serif;
  --ff-mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.85;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  font-feature-settings: "palt";
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
em { font-style: normal; color: var(--ink); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; position: relative; }

/* ============================================================
   左端 SCROLL インジケータ（Proximo風）
   ============================================================ */
.scroll-rail {
  position: fixed;
  left: 26px; top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  pointer-events: none;
}
.scroll-rail span {
  font-family: var(--ff-mono);
  font-size: .6rem;
  letter-spacing: .3em;
  color: var(--faint);
  writing-mode: vertical-rl;
  text-transform: uppercase;
}
.scroll-rail i {
  display: block;
  width: 1px; height: 120px;
  background: var(--line-strong);
}

/* ============================================================
   セクション共通 — 巨大英字 + 小さなラベル
   ============================================================ */
.section { padding: clamp(90px, 11vw, 150px) 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); position: relative; }

.section-label {
  display: block;
  font-family: var(--ff-mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .32em;
  color: var(--faint);
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* 巨大エッジブリード英字（テンプレの .section-display） */
.section-display {
  font-family: var(--ff-sans);
  font-size: clamp(3.6rem, 11vw, 8.5rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: .95;
  color: var(--ink);
  margin: 0 0 20px -4px;
  user-select: none;
  white-space: nowrap;
}

.section-title {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: .01em;
  color: var(--ink);
  margin: 0 0 12px;
}
.section-title em { color: var(--accent); }
.section-lead { color: var(--muted); font-size: .98rem; max-width: 620px; margin: 0; }

/* ============================================================
   ボタン — 直角・塗り or 細線のみ
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: .88rem; letter-spacing: .06em;
  padding: 16px 34px; border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: background .2s var(--ease), color .2s, border-color .2s, opacity .2s;
  font-family: var(--ff-sans);
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; opacity: .82; }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-line { background: #06c755; color: #fff; }
.btn-line:hover { opacity: .85; }
.btn-line svg { fill: #fff; }

/* ============================================================
   タグ・ステータス — 枠なしのモノスペース表記
   ============================================================ */
.tag-row { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.tag {
  font-family: var(--ff-mono); font-size: .7rem; color: var(--faint);
  background: none; border: none; padding: 0; letter-spacing: .03em;
}
.tag::before { content: "#"; opacity: .6; margin-right: 1px; }

.status {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--ff-mono); font-size: .68rem; font-weight: 500; letter-spacing: .08em;
  padding: 4px 10px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  color: var(--muted); background: transparent; text-transform: uppercase;
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--faint); }
.status.is-live { color: var(--green-soft); border-color: var(--green-soft); }
.status.is-live::before { background: var(--green); animation: pulse 2s infinite; }
.status.is-prep { color: var(--amber); border-color: var(--amber); }
.status.is-prep::before { background: var(--amber); }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ============================================================
   Reveal（控えめに）
   ============================================================ */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-d="1"] { transition-delay: .06s; }
.js .reveal[data-d="2"] { transition-delay: .12s; }
.js .reveal[data-d="3"] { transition-delay: .18s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ============================================================
   NAV — 細字・レタースペース・白
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 22px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.logo { display: flex; align-items: baseline; gap: 10px; }
.logo-mark { display: none; }               /* アイコンは使わない（ワードマーク主義） */
.logo-text { line-height: 1.2; }
.logo-name {
  font-weight: 800; font-size: 1.16rem; letter-spacing: -.02em; color: var(--ink);
  position: relative;
}
.logo-name::after { content: "."; color: var(--accent); }   /* オレンジドット */
.logo-sub {
  display: none;
}
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--ink); font-size: .8rem; font-weight: 500; letter-spacing: .14em;
  transition: opacity .15s;
}
.nav-links a:hover { opacity: .5; }
.nav-cta {
  border: 1px solid var(--ink) !important;
  padding: 9px 22px;
  letter-spacing: .14em;
}
.nav-cta:hover { background: var(--ink); color: #fff !important; opacity: 1 !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--ink); }
.nav-toggle svg { width: 22px; height: 22px; }

/* ============================================================
   HERO — 巨大ワードマーク
   ============================================================ */
.hero { padding: clamp(60px, 9vw, 130px) 0 clamp(70px, 9vw, 120px); position: relative; }
.hero-wordmark {
  font-family: var(--ff-sans);
  font-weight: 800;
  font-size: clamp(4.4rem, 17vw, 15rem);
  letter-spacing: -.05em;
  line-height: .9;
  color: var(--ink);
  margin: 0 0 clamp(36px, 5vw, 64px) -6px;
  user-select: none;
  white-space: nowrap;
}
.hero-wordmark i { font-style: normal; color: var(--accent); }  /* ドット */

.hero-grid { display: block; }
.hero-copy { max-width: 720px; }
.hero-stack { display: none; }        /* ブラウザモックは廃止（タイポ主義） */
.hero-float-badge { display: none; }

.hero h1 {
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
  font-weight: 800;
  line-height: 1.7;
  letter-spacing: .005em;
  color: var(--ink);
  margin: 0 0 20px;
  white-space: pre-line;   /* DBの改行位置をそのまま反映 */
}
.hero h1 em, .hero h1 .accent-word {
  font-family: var(--ff-serif); font-style: italic; font-weight: 400;
  color: var(--accent); letter-spacing: 0;
  white-space: nowrap;     /* 強調句の途中で改行させない */
}
.hero-sub { font-size: 1.02rem; color: var(--muted); max-width: 580px; margin: 0 0 34px; }

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

/* メタ情報（受付中・拠点・バッジ）を1行のモノスペース表記に */
.availability, .location-badge, .hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-mono); font-size: .68rem; font-weight: 500;
  letter-spacing: .12em; color: var(--muted);
  background: none; border: none; padding: 0; margin: 0 26px 14px 0;
  text-transform: uppercase;
}
.availability::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
.location-badge svg { width: 12px; height: 12px; color: var(--accent); }

.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 34px; border-top: 1px solid var(--line); padding-top: 26px; }
.hero-trust-item { display: flex; align-items: center; gap: 9px; }
.hero-trust-ic { width: 13px; height: 13px; color: var(--accent); flex-shrink: 0; margin: 0; }
.hero-trust-label { font-size: .8rem; color: var(--muted); font-weight: 500; line-height: 1.5; }

/* ============================================================
   SERVICES — ミニマルな行リスト
   ============================================================ */
.services-grid { display: block; border-top: 1px solid var(--ink); }
.service-card {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 10px 34px;
  align-items: baseline;
  padding: 34px 0 30px;
  border-bottom: 1px solid var(--line);
  background: none; border-radius: 0;
  transition: background .2s;
}
.service-card:hover { background: var(--bg-soft); }
.service-top { display: contents; }
.service-icon { display: none; }
.service-idx {
  grid-column: 1; grid-row: 1 / span 3;
  font-family: var(--ff-serif); font-style: italic;
  font-size: 1.7rem; color: var(--faint); line-height: 1;
}
.service-en {
  grid-column: 2;
  font-family: var(--ff-mono); font-size: .64rem; letter-spacing: .26em;
  color: var(--faint); text-transform: uppercase; margin-bottom: 2px;
}
.service-name {
  grid-column: 2;
  font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 800; color: var(--ink);
  margin: 0; letter-spacing: -.01em; line-height: 1.5;
}
.service-desc {
  grid-column: 2;
  color: var(--muted); font-size: .94rem; margin: 6px 0 10px; max-width: 640px;
}
.service-card .tag-row { grid-column: 2; }
.service-price {
  grid-column: 3; grid-row: 1 / span 4;
  text-align: right; align-self: start;
  display: flex; flex-direction: column; gap: 3px;
  border: none; padding: 0; margin: 0;
}
.service-price-num {
  font-family: var(--ff-mono); font-weight: 700; font-size: 1.15rem;
  color: var(--ink); letter-spacing: -.01em;
}
.service-price-note { font-size: .68rem; color: var(--faint); max-width: 220px; line-height: 1.6; }

/* ============================================================
   WORKS — ケース（スクショあり）と行リスト（その他）
   ============================================================ */
.cases { display: flex; flex-direction: column; gap: clamp(64px, 8vw, 110px); }
.case { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.case:nth-child(even) { direction: rtl; }
.case:nth-child(even) > * { direction: ltr; }
.case-media { position: relative; }
.case-glow { display: none; }
.browser { border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; background: #fff; }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 9px 13px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.browser-url {
  margin-left: 9px; flex: 1; display: flex; align-items: center; gap: 7px;
  font-family: var(--ff-mono); font-size: .68rem; color: var(--muted);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 10px;
}
.browser-url svg { width: 11px; height: 11px; color: var(--green); flex-shrink: 0; }
.browser-shot { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; background: var(--bg-soft); }

.case-eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.case-tag { font-family: var(--ff-mono); font-size: .66rem; letter-spacing: .22em; color: var(--faint); text-transform: uppercase; }
.case-title { font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin: 0 0 4px; line-height: 1.4; }
.case-sub { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }
.case-highlight {
  display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 600;
  color: var(--ink); border-bottom: 2px solid var(--accent); padding-bottom: 3px; margin-bottom: 16px;
}
.case-highlight svg { width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; }
.case-desc { color: var(--muted); font-size: .94rem; margin: 0 0 18px; }
.case-tags { margin-bottom: 20px; }
.case-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .88rem;
  color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 3px;
  transition: gap .2s, opacity .2s;
}
.case-link:hover { gap: 13px; opacity: .6; }
.case-link svg { width: 14px; height: 14px; }

/* その他の実績 — 行リスト */
.works-more { margin-top: clamp(48px, 6vw, 80px); }
.works-more-h {
  font-family: var(--ff-mono); font-size: .68rem; letter-spacing: .3em;
  color: var(--faint); text-transform: uppercase; margin-bottom: 4px;
}
.mini-grid { display: block; border-top: 1px solid var(--ink); }
.work-mini {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 30px;
  padding: 26px 0 22px; border-bottom: 1px solid var(--line);
  transition: background .2s;
}
.work-mini:hover { background: var(--bg-soft); }
.work-mini-art { display: none; }
.work-mini-body { display: contents; }
.work-mini-tag {
  grid-column: 1;
  font-family: var(--ff-mono); font-size: .62rem; letter-spacing: .24em;
  color: var(--faint); text-transform: uppercase;
}
.work-mini-title { grid-column: 1; font-size: 1.08rem; font-weight: 700; color: var(--ink); margin: 0; line-height: 1.5; }
.work-mini-sub { grid-column: 1; font-size: .8rem; color: var(--muted); }
.work-mini-desc { grid-column: 1; font-size: .88rem; color: var(--muted); margin: 4px 0 8px; max-width: 720px; }
.work-mini-tags { grid-column: 1; }
.work-mini-status { grid-column: 2; grid-row: 1 / span 3; align-self: start; }

/* ============================================================
   WHY — 番号付き行
   ============================================================ */
.reasons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 60px; border-top: 1px solid var(--ink); }
.reason-card { padding: 36px 0 30px; border-bottom: 1px solid var(--line); background: none; }
.reason-top { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.reason-num {
  font-family: var(--ff-serif); font-style: italic; font-weight: 400;
  font-size: 2.4rem; color: var(--accent); line-height: 1;
}
.reason-rule { flex: 1; height: 1px; background: var(--line); }
.reason-title { font-size: 1.05rem; font-weight: 800; color: var(--ink); margin: 0 0 10px; line-height: 1.6; letter-spacing: -.005em; }
.reason-desc { color: var(--muted); font-size: .92rem; margin: 0; }

/* ============================================================
   PROCESS — 水平ステップ
   ============================================================ */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 40px; border-top: 1px solid var(--ink); }
.process-step { padding: 30px 0 0; position: relative; }
.process-dot {
  position: absolute; top: -4px; left: 0;
  width: 7px; height: 7px; border-radius: 50%; background: var(--ink);
}
.process-num {
  font-family: var(--ff-mono); font-size: .64rem; letter-spacing: .26em;
  color: var(--faint); text-transform: uppercase; margin-bottom: 10px;
}
.process-title { font-size: 1rem; font-weight: 800; color: var(--ink); margin: 0 0 8px; }
.process-desc { font-size: .84rem; color: var(--muted); margin: 0; }

/* ============================================================
   VOICE — セリフイタリックの引用
   ============================================================ */
.voices-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 60px; border-top: 1px solid var(--ink); }
.voice-card { padding: 40px 0 34px; border-bottom: 1px solid var(--line); background: none; position: relative; }
.voice-quote-mark { display: none; }
.voice-quote {
  font-family: var(--ff-serif); font-style: italic;
  font-size: 1.18rem; line-height: 1.8; color: var(--ink);
  margin: 0 0 16px;
}
.voice-result {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-mono); font-size: .72rem; font-weight: 600; letter-spacing: .06em;
  color: var(--green-soft); margin-bottom: 20px;
  background: none; border: none; padding: 0;
}
.voice-result svg { color: var(--green); }
.voice-client { display: flex; align-items: center; gap: 13px; }
.voice-avatar {
  width: 38px; height: 38px; border-radius: 50%; object-fit: cover;
  background: var(--bg-tint); border: 1px solid var(--line);
  flex-shrink: 0;
}
.voice-avatar-init {
  display: grid; place-items: center;
  font-family: var(--ff-mono); font-weight: 600; font-size: .9rem;
  color: var(--accent);
}
.voice-client-name { font-weight: 700; color: var(--ink); font-size: .88rem; }
.voice-client-role { font-size: .74rem; color: var(--muted); margin-top: 1px; }
.voice-project { margin-top: 12px; font-family: var(--ff-mono); font-size: .66rem; color: var(--faint); letter-spacing: .04em; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { padding: clamp(90px, 11vw, 150px) 0; background: var(--bg-soft); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; line-height: 1.65; color: var(--ink); margin: 0 0 16px; letter-spacing: -.01em; }
.contact h2 em { color: var(--accent); font-style: normal; }
.contact-sub { color: var(--muted); font-size: .94rem; margin: 0 0 22px; }
.contact-note {
  display: flex; align-items: flex-start; gap: 10px; font-size: .86rem; color: var(--ink);
  border-left: 2px solid var(--accent); padding: 4px 0 4px 16px; margin-bottom: 26px;
  background: none; border-radius: 0;
}
.contact-note svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 4px; color: var(--accent); }
.contact-direct { margin-bottom: 22px; }
.contact-or { font-family: var(--ff-mono); font-size: .68rem; letter-spacing: .2em; color: var(--faint); text-transform: uppercase; margin-bottom: 8px; }
.contact-mail { font-size: .88rem; color: var(--muted); }
.contact-mail a { color: var(--ink); border-bottom: 1px solid var(--ink); }

/* フォーム — 下線のみの editorial 入力欄 */
.form-card { background: transparent; border: none; padding: 0; }
.inquiry-form .field { margin-bottom: 26px; }
.inquiry-form label {
  display: block; font-family: var(--ff-mono); font-size: .66rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px;
}
.inquiry-form input[type=text],
.inquiry-form input[type=email],
.inquiry-form select,
.inquiry-form textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--ink);
  padding: 10px 2px; background: transparent;
  border: none; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  transition: border-color .2s;
}
.inquiry-form input:focus, .inquiry-form select:focus, .inquiry-form textarea:focus {
  outline: none; border-bottom-color: var(--ink);
}
.inquiry-form textarea { min-height: 120px; resize: vertical; }
.inquiry-form .errors, .errorlist { color: #c0392b; font-size: .8rem; margin-top: 5px; list-style: none; padding: 0; }
.inquiry-form .actions { display: flex; align-items: center; gap: 16px; margin-top: 10px; }
.submit-btn {
  background: var(--ink); color: #fff; font-weight: 600; font-size: .88rem; letter-spacing: .08em;
  border: none; cursor: pointer; padding: 16px 44px; border-radius: var(--radius);
  transition: opacity .2s;
  font-family: var(--ff-sans);
}
.submit-btn:hover { opacity: .82; }
.submit-btn:disabled { opacity: .45; cursor: wait; }
.htmx-indicator { opacity: 0; transition: opacity .2s; font-size: .8rem; color: var(--muted); }
.htmx-request .htmx-indicator { opacity: 1; }
.inquiry-success { border: 1px solid var(--ink); padding: 40px 32px; text-align: center; }
.inquiry-success h3 { font-size: 1.2rem; font-weight: 800; color: var(--ink); margin: 0 0 10px; }
.inquiry-success p { color: var(--muted); margin: 0; font-size: .92rem; }

/* ============================================================
   FOOTER — ダークチャコール・中央揃え
   ============================================================ */
.footer { background: #161616; color: rgba(255, 255, 255, .82); padding: clamp(70px, 9vw, 110px) 0 44px; text-align: center; }
.footer .container { max-width: var(--maxw); }
.footer-wordmark {
  font-family: var(--ff-sans); font-weight: 800;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem); letter-spacing: -.04em; line-height: 1;
  color: #fff; margin: 0 0 36px;
}
.footer-wordmark i { font-style: normal; color: var(--accent); }
.footer-nav {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 34px;
  list-style: none; margin: 0 0 40px; padding: 0;
}
.footer-nav a {
  font-size: .78rem; font-weight: 500; letter-spacing: .14em;
  color: rgba(255, 255, 255, .72); transition: color .15s;
}
.footer-nav a:hover { color: #fff; }
.footer-socials { display: flex; justify-content: center; gap: 26px; margin-bottom: 44px; }
.footer-socials a { color: rgba(255, 255, 255, .6); transition: color .15s; }
.footer-socials a:hover { color: #fff; }
.footer-socials svg { width: 19px; height: 19px; }
.footer-meta {
  font-family: var(--ff-mono); font-size: .64rem; letter-spacing: .14em;
  color: rgba(255, 255, 255, .38); line-height: 2.2;
}
.footer-meta a { color: rgba(255, 255, 255, .55); }
.footer-meta a:hover { color: #fff; }

/* ============================================================
   サブページ（about / tokushoho / contact / 汎用）
   ============================================================ */
.subpage { padding: clamp(70px, 9vw, 110px) 0 clamp(90px, 11vw, 140px); }
.subpage-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .14em;
  color: var(--muted); margin-bottom: 44px; text-transform: uppercase;
  transition: color .15s;
}
.subpage-back:hover { color: var(--ink); }
.subpage-back svg { width: 14px; height: 14px; }
.subpage-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 54px; }

.info-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); }
.info-table th, .info-table td { padding: 18px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: .92rem; }
.info-table th { width: 200px; color: var(--muted); font-weight: 500; font-family: var(--ff-mono); font-size: .74rem; letter-spacing: .1em; }
.info-table a { color: var(--ink); border-bottom: 1px solid var(--ink); }

/* About */
.about-profile {
  display: grid; grid-template-columns: 180px 1fr; gap: 40px; align-items: start;
  margin: 20px 0 60px; padding: 0; background: none; border: none;
  border-top: 1px solid var(--ink); padding-top: 44px;
}
.about-photo { width: 180px; height: 180px; overflow: hidden; background: var(--bg-tint); border: none; border-radius: var(--radius); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo-placeholder {
  width: 100%; height: 100%; display: grid; place-items: center;
  font-family: var(--ff-serif); font-style: italic; font-size: 4rem; color: var(--faint);
}
.about-role { font-family: var(--ff-mono); font-size: .66rem; letter-spacing: .26em; color: var(--faint); text-transform: uppercase; margin-bottom: 10px; }
.about-name { font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin: 0 0 14px; line-height: 1.3; }
.about-name small { font-size: .78rem; font-weight: 500; color: var(--muted); margin-left: 10px; }
.about-bio { font-size: .95rem; line-height: 2; color: var(--text); margin: 0 0 18px; }
.about-community { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.about-community li { font-family: var(--ff-mono); font-size: .7rem; color: var(--muted); background: none; border: none; padding: 0; }
.about-community li::before { content: "— "; color: var(--faint); }

.about-block { margin: 54px 0; }
.about-block-h {
  font-size: 1.1rem; font-weight: 800; color: var(--ink);
  margin: 0 0 22px; padding: 0 0 12px; border-left: none; border-bottom: 1px solid var(--ink);
  letter-spacing: -.005em;
}
.about-timeline { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line-strong); padding-left: 26px; }
.about-timeline li { position: relative; padding: 8px 0; font-size: .92rem; color: var(--text); }
.about-timeline li::before {
  content: ""; position: absolute; left: -30px; top: 17px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--ink); border: none;
}
.about-skills, .about-credentials {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 0; grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}
.about-skills li, .about-credentials li {
  padding: 13px 4px; border: none; border-bottom: 1px solid var(--line); border-radius: 0;
  font-size: .9rem; color: var(--text); display: flex; align-items: baseline; gap: 12px; background: none;
}
.about-skills li::before, .about-credentials li::before {
  content: "—"; color: var(--accent); flex-shrink: 0;
  width: auto; height: auto; border-radius: 0; background: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1020px) {
  .scroll-rail { display: none; }
  .case { grid-template-columns: 1fr; }
  .case:nth-child(even) { direction: ltr; }
  .reasons-grid, .voices-grid { grid-template-columns: 1fr; gap: 0; }
  .process { grid-template-columns: 1fr 1fr; gap: 34px 40px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links {
    position: fixed; inset: 0; top: 66px;
    background: #fff; flex-direction: column; justify-content: flex-start;
    padding: 44px 28px; gap: 30px; display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { font-size: 1rem; letter-spacing: .2em; }
  .nav-toggle { display: block; }

  .hero-wordmark { font-size: clamp(3.2rem, 19vw, 5rem); white-space: normal; }
  .section-display { font-size: clamp(2.6rem, 15vw, 4.4rem); white-space: normal; }

  .service-card { grid-template-columns: 1fr; gap: 4px; }
  .service-idx { grid-row: auto; font-size: 1.2rem; }
  .service-en, .service-name, .service-desc, .service-card .tag-row { grid-column: 1; }
  .service-price { grid-column: 1; grid-row: auto; text-align: left; margin-top: 10px; }

  .work-mini { grid-template-columns: 1fr; }
  .work-mini-status { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 8px; }

  .process { grid-template-columns: 1fr; gap: 30px; }
  .about-profile { grid-template-columns: 1fr; }
  .about-photo { margin: 0 auto; }
  .info-table th { width: 110px; }
  .btn { width: 100%; }
  .hero-ctas .btn { width: auto; flex: 1; }
}

/* Contact 内の section-display はカラム幅に合わせて縮小 */
.contact .section-display { font-size: clamp(2.4rem, 6vw, 4.2rem); margin-bottom: 14px; }

/* ============================================================
   中間CTA — Works 直後の細いバンド
   ============================================================ */
.mid-cta { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--bg); }
.mid-cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  padding: clamp(34px, 5vw, 56px) 0;
}
.mid-cta-copy {
  font-size: clamp(1.25rem, 2.6vw, 1.8rem); font-weight: 800;
  letter-spacing: -.01em; color: var(--ink); margin: 0; line-height: 1.6;
}
.mid-cta-copy em {
  font-family: var(--ff-serif); font-style: italic; font-weight: 400; color: var(--accent);
}
@media (max-width: 720px) {
  .mid-cta-inner { justify-content: center; text-align: center; }
}

/* ============================================================
   v5.1 追加 — SLA / Stats / Pricing / FAQ
   ============================================================ */

/* ── ヒーロー メタ行 ── */
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-bottom: 20px; }
.hero-meta .availability, .hero-meta .location-badge, .capacity-badge {
  margin: 0;
}
.capacity-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--ff-mono); font-size: .66rem; font-weight: 600;
  letter-spacing: .1em; color: #fff; background: var(--accent);
  padding: 3px 10px; border-radius: var(--radius); text-transform: uppercase;
}
.hero-sla {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .82rem; color: var(--muted); margin: 0 0 40px;
}
.hero-sla svg { width: 15px; height: 15px; color: var(--green); flex-shrink: 0; }

/* ── STATS 帯 ── */
.stats-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item {
  padding: clamp(28px, 4vw, 44px) 0; text-align: center;
  border-left: 1px solid var(--line);
}
.stat-item:first-child { border-left: none; }
.stat-num {
  display: block; font-family: var(--ff-serif); font-style: italic; font-weight: 400;
  font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 1; color: var(--ink); letter-spacing: -.02em;
}
.stat-num span { font-family: var(--ff-sans); font-style: normal; font-size: .3em; font-weight: 600; color: var(--muted); margin-left: 4px; }
.stat-label { display: block; margin-top: 10px; font-size: .76rem; color: var(--muted); letter-spacing: .02em; }

/* ── PRICING ── */
.pricing-table { border-top: 1px solid var(--ink); margin-bottom: clamp(40px, 5vw, 64px); }
.pricing-row {
  display: grid; grid-template-columns: 1.4fr 1fr 1.6fr auto; gap: 16px 24px;
  align-items: baseline; padding: 24px 0 20px; border-bottom: 1px solid var(--line);
}
.pricing-cat { font-size: 1.05rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.pricing-dur { font-family: var(--ff-mono); font-size: .78rem; color: var(--muted); }
.pricing-note { font-size: .82rem; color: var(--faint); }
.pricing-price { font-family: var(--ff-mono); font-weight: 700; font-size: 1.15rem; color: var(--accent); text-align: right; white-space: nowrap; }

.pricing-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.pricing-example, .pricing-terms { border: 1px solid var(--line); padding: 28px 26px; }
.pricing-example-h { font-family: var(--ff-mono); font-size: .68rem; letter-spacing: .18em; color: var(--faint); text-transform: uppercase; margin-bottom: 20px; }
.pricing-breakdown { list-style: none; padding: 0; margin: 0 0 16px; }
.pricing-breakdown li {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: baseline;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.pricing-breakdown li span { font-size: .84rem; color: var(--muted); }
.pricing-breakdown li b { font-family: var(--ff-mono); font-size: 1.05rem; color: var(--ink); text-align: right; }
.pricing-breakdown li em { font-style: normal; font-size: .72rem; color: var(--faint); }
.pricing-caption { font-size: .82rem; color: var(--muted); margin: 0; }
.pricing-terms-list { list-style: none; padding: 0; margin: 0; }
.pricing-terms-list li { position: relative; padding: 9px 0 9px 22px; font-size: .88rem; color: var(--text); border-bottom: 1px solid var(--line); }
.pricing-terms-list li:last-child { border-bottom: none; }
.pricing-terms-list li::before { content: ""; position: absolute; left: 0; top: 17px; width: 8px; height: 8px; border: 1.5px solid var(--accent); border-radius: 50%; }

/* ── FAQ アコーディオン ── */
.faq-list { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font-size: 1.02rem; font-weight: 700; color: var(--ink); letter-spacing: -.005em;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-icon { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; transition: transform .25s var(--ease); }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-a {
  padding: 0 0 26px; font-size: .92rem; line-height: 1.95; color: var(--muted); max-width: 820px;
}
.faq-item[open] .faq-q { color: var(--accent); }

@media (max-width: 1020px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(3) { border-left: none; }
  .stat-item:nth-child(odd) { border-left: none; }
  .stat-item { border-top: 1px solid var(--line); }
  .stat-item:nth-child(-n+2) { border-top: none; }
  .pricing-detail { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .pricing-row { grid-template-columns: 1fr auto; gap: 4px 16px; }
  .pricing-dur, .pricing-note { grid-column: 1; }
  .pricing-price { grid-row: 1 / span 3; align-self: center; }
}

/* ============================================================
   v5.2 UX磨き — focus / skip-link / CLS
   ============================================================ */

/* キーボードフォーカスを明示（マウスクリックでは出さない） */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
.btn:focus-visible, .nav-cta:focus-visible { outline-offset: 4px; }

/* スキップリンク（キーボード / スクリーンリーダー） */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: var(--radius);
  font-size: .85rem; font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* CLS対策：スクショ枠は比率を先に確保（画像ロード前でも高さが決まる） */
.browser-shot { aspect-ratio: 16 / 10; }
.about-photo, .voice-avatar { aspect-ratio: 1 / 1; }

/* ============================================================
   v5.3 — SPEED 帯（3日プロトタイプ / FDE のスピード訴求）
   ============================================================ */
.speed { background: var(--ink); color: #fff; padding: clamp(56px, 8vw, 96px) 0; }
.speed-inner {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.speed-kicker {
  font-family: var(--ff-mono); font-size: .68rem; font-weight: 600;
  letter-spacing: .32em; color: var(--accent); text-transform: uppercase; margin-bottom: 18px;
}
.speed-title {
  font-size: clamp(1.9rem, 4.4vw, 3.2rem); font-weight: 800; line-height: 1.35;
  letter-spacing: -.02em; color: #fff; margin: 0 0 20px;
}
.speed-title em {
  font-family: var(--ff-serif); font-style: italic; font-weight: 400;
  color: var(--accent); font-size: 1.15em;
}
.speed-sub { font-size: .96rem; line-height: 1.9; color: rgba(255,255,255,.68); margin: 0 0 30px; max-width: 560px; }
.speed-cta { }

.speed-flow {
  border-left: 1px solid rgba(255,255,255,.16); padding-left: clamp(28px, 4vw, 56px);
}
.speed-num {
  font-family: var(--ff-serif); font-weight: 400;
  font-size: clamp(4.2rem, 9.5vw, 7.6rem); line-height: .9; color: #fff; letter-spacing: -.01em;
  margin-bottom: 24px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.speed-num span {
  font-family: var(--ff-mono); font-style: normal; font-size: .16em; font-weight: 600;
  letter-spacing: .28em; color: var(--accent); text-transform: uppercase;
}
.speed-steps { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.speed-steps li {
  font-family: var(--ff-mono); font-size: .82rem; letter-spacing: .04em;
  color: rgba(255,255,255,.82); padding: 11px 0; border-top: 1px solid rgba(255,255,255,.12);
}
.speed-steps li:first-child { border-top: none; }

@media (max-width: 820px) {
  .speed-inner { grid-template-columns: 1fr; gap: 36px; }
  .speed-flow { border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,.16); padding-top: 28px; }
  .speed-cta { width: 100%; }
}

/* 料金セクションのリード内アクセント */
.lead-accent { color: var(--ink); font-weight: 700; border-bottom: 2px solid var(--accent); padding-bottom: 1px; }

/* ============================================================
   なぜこの価格か — 体制コストの構造比較
   ============================================================ */
.why-price { margin: clamp(48px, 6vw, 80px) 0 clamp(40px, 5vw, 64px); }
.why-price-head { max-width: 680px; margin-bottom: 32px; }
.why-price-title {
  font-size: clamp(1.3rem, 2.6vw, 1.8rem); font-weight: 800; letter-spacing: -.01em;
  color: var(--ink); margin: 0 0 12px;
}
.why-price-lead { font-size: .94rem; color: var(--muted); margin: 0; }

.why-price-compare {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--line-strong);
}
.why-price-col { padding: clamp(24px, 3.4vw, 40px); }
.why-price-col + .why-price-col { border-left: 1px solid var(--line-strong); }
.why-price-col--solo { background: var(--ink); color: #fff; }

.why-price-col-h {
  font-family: var(--ff-mono); font-size: .68rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--faint); margin-bottom: 20px;
}
.why-price-col--solo .why-price-col-h { color: var(--accent); }

.why-price-rows { list-style: none; margin: 0 0 18px; padding: 0; }
.why-price-rows li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 10px 0; border-bottom: 1px solid var(--line);
  font-size: .9rem; color: var(--text);
}
.why-price-rows li b { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }

.why-price-total {
  font-size: clamp(1.4rem, 2.8vw, 2rem); font-weight: 800; letter-spacing: -.02em;
  color: var(--ink); padding-top: 6px;
}
.why-price-solo-text { font-size: .92rem; line-height: 1.95; color: rgba(255,255,255,.75); margin: 0 0 22px; }
.why-price-total--solo {
  color: #fff;
  font-family: var(--ff-serif); font-weight: 400; letter-spacing: 0;
}
.why-price-total--solo::after { content: ""; display: block; width: 44px; height: 3px; background: var(--accent); margin-top: 12px; }

.why-price-note {
  font-size: .84rem; line-height: 2; color: var(--muted);
  max-width: 780px; margin: 22px 0 0; padding-left: 16px; border-left: 2px solid var(--line-strong);
}

@media (max-width: 760px) {
  .why-price-compare { grid-template-columns: 1fr; }
  .why-price-col + .why-price-col { border-left: none; border-top: 1px solid var(--line-strong); }
}

/* ============================================================
   STANCE — なぜオーダーメイドか（ポジショニング宣言）
   ============================================================ */
.stance { padding: clamp(80px, 10vw, 130px) 0; background: var(--bg-soft); }
.stance-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.stance-kicker {
  font-family: var(--ff-mono); font-size: .68rem; font-weight: 600;
  letter-spacing: .3em; color: var(--accent); text-transform: uppercase; margin-bottom: 16px;
}
.stance-title {
  font-size: clamp(1.5rem, 3.4vw, 2.4rem); font-weight: 800; line-height: 1.5;
  letter-spacing: -.015em; color: var(--ink); margin: 0 0 18px;
}
.stance-title em {
  font-family: var(--ff-serif); font-style: italic; font-weight: 400;
  color: var(--accent); font-size: 1.1em;
}
.stance-lead { font-size: .96rem; line-height: 2; color: var(--muted); margin: 0; }

.stance-points {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--line-strong);
}
.stance-point { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line-strong); }
.stance-point + .stance-point { padding-left: 28px; border-left: 1px solid var(--line); }
.stance-point-num {
  font-family: var(--ff-mono); font-size: .7rem; font-weight: 600;
  color: var(--accent); letter-spacing: .2em; margin-bottom: 12px;
}
.stance-point-title { font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.stance-point-text { font-size: .88rem; line-height: 1.95; color: var(--muted); margin: 0; }

.stance-note {
  font-size: .84rem; line-height: 2; color: var(--muted);
  max-width: 780px; margin: 26px 0 0; padding-left: 16px; border-left: 2px solid var(--line-strong);
}

@media (max-width: 820px) {
  .stance-points { grid-template-columns: 1fr; }
  .stance-point { padding: 22px 0; }
  .stance-point + .stance-point { padding-left: 0; border-left: none; }
}

/* ============================================================
   ケーススタディ（課題 → 対応 → 結果）
   ============================================================ */
.case-study {
  margin: 20px 0 18px; padding: 20px 22px;
  background: var(--bg-soft); border-left: 2px solid var(--line-strong);
}
.case-study dt {
  font-family: var(--ff-mono); font-size: .66rem; font-weight: 600;
  letter-spacing: .2em; color: var(--faint); text-transform: uppercase;
  margin-bottom: 6px;
}
.case-study dt.is-result { color: var(--accent); }
.case-study dd {
  margin: 0 0 16px; font-size: .88rem; line-height: 1.95; color: var(--text);
}
.case-study dd:last-child { margin-bottom: 0; }
.case-study dd.is-result { color: var(--ink); font-weight: 600; }

/* スクリーンショットを持たないケーススタディは1カラムで見せる。
   .case:nth-child(even) の rtl 反転は効かせず、常に左揃えにする。 */
.case.case--nomedia,
.case.case--nomedia > * { grid-template-columns: 1fr; direction: ltr; }
.case.case--nomedia .case-body { max-width: 860px; }

/* 価格の根拠を数字で示す実例ブロック */
.why-price-proof {
  margin-top: 22px; padding: 22px 24px;
  border: 1px solid var(--accent); background: var(--accent-wash);
}
.why-price-proof-label {
  font-family: var(--ff-mono); font-size: .66rem; font-weight: 700;
  letter-spacing: .24em; color: var(--accent); text-transform: uppercase; margin-bottom: 8px;
}
.why-price-proof p {
  margin: 0; font-size: .92rem; line-height: 1.95; color: var(--ink); font-weight: 500;
}
