/* =========================================================
   経営編集 — Visual System v2
   実務寄り・骨太・新聞っぽい質感 / WORDSとは別系統
   ========================================================= */

:root {
  /* Colors */
  --bg: #ffffff;            /* モダンな純白背景 */
  --surface: #ffffff;
  --ink: #0d1117;           /* 主役の黒 */
  --ink-2: #1a2230;         /* 黒に近い濃いグレー */
  --ink-3: #2a3340;         /* 濃いグレー */
  --rule: #e5e5e5;          /* クールなグレー罫線 */
  --rule-strong: #0d1117;
  --navy: #14233f;          /* 信頼の濃紺アクセント（補助）*/
  --navy-soft: #e9ecf3;
  --vermilion: #ec6248;     /* コーラル（彩度ややおさえ）*/

  /* Type */
  --font-sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-serif: "Noto Serif JP", "Yu Mincho", "游明朝", serif;
  --font-mono: "JetBrains Mono", "SF Mono", "Menlo", monospace;
  --font-num: "Roboto Slab", "Georgia", serif;

  /* Sizes */
  --container-wide: 1240px;
  --container: 1080px;
  --container-narrow: 760px;
  --space-section: clamp(80px, 11vw, 140px);
  --space-block: clamp(40px, 6vw, 80px);
  --hairline: 1px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 17px;
  line-height: 2;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 900; line-height: 1.35; letter-spacing: 0.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { padding-left: 1.2em; }

/* Layout primitives */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--wide { max-width: var(--container-wide); }
.container--narrow { max-width: var(--container-narrow); }

.section { padding: var(--space-section) 0; position: relative; }
.section--bordered { border-top: var(--hairline) solid var(--rule); }
.section--dark {
  background: var(--ink);
  color: #e6e8ec;
}
.section--dark .muted { color: #9aa3ae; }
.section--dark .rule { background: #2b3340; }

.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 880px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Type helpers */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: currentColor;
}
.index-num {
  font-family: var(--font-num);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.serif { font-family: var(--font-serif); }
.muted { color: var(--ink-3); }
.divider {
  height: 1px;
  background: var(--rule);
  margin: 24px 0;
}
.divider-strong { background: var(--rule-strong); height: 2px; width: 40px; }

/* ==========================================================
   Header
========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  border-bottom: var(--hairline) solid var(--rule);
}
.site-header__inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 24px;
  height: 96px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
}
.logo::before,
.logo::after {
  content: "";
  display: block;
  width: 36px;
  height: 1px;
  background: var(--ink);
}
.logo__name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 0.18em;
  color: var(--ink);
  line-height: 1;
}
.nav {
  display: flex;
  gap: 28px;
  justify-content: center;
}
.nav a {
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--ink);
  transition: color .15s;
  font-weight: 600;
}
.nav a:hover { color: var(--ink); }
.header__cta {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (max-width: 880px) {
  .site-header__inner { grid-template-columns: 1fr auto; }
  .nav { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.12em;
  font-weight: 700;
  border: var(--hairline) solid var(--ink);
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--navy); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--primary {
  background: var(--vermilion);
  border-color: var(--vermilion);
  color: #fff;
}
.btn--primary:hover {
  background: #d4523a;
  border-color: #d4523a;
}
.btn--pill {
  border-radius: 99px;
  padding: 12px 24px;
  font-size: 13px;
}
.btn--sm { padding: 10px 18px; font-size: 12px; }
.btn--block { width: 100%; justify-content: center; }
.btn__arrow { display: inline-block; transition: transform .2s; }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ==========================================================
   Hero
========================================================== */
.hero {
  padding: clamp(64px, 12vw, 140px) 0 var(--space-section);
  position: relative;
  overflow: hidden;
}
.hero__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: center;
}
.hero__main {}
.hero__seal {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  margin-bottom: 28px;
  display: inline-block;
  border-left: 2px solid var(--vermilion);
  padding-left: 12px;
}
.hero__title {
  font-size: clamp(36px, 5.4vw, 78px);
  line-height: 1.2;
  letter-spacing: 0.01em;
  font-weight: 900;
}
.hero__title em {
  font-style: normal;
  color: var(--vermilion);
}
.hero__sub {
  margin-top: 36px;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.95;
  max-width: 30em;
  color: var(--ink-2);
}
.hero__sub strong { color: var(--ink); font-weight: 700; }
.hero__cta {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* CTA cards (right side of hero) */
.hero__ctas {
  display: grid;
  gap: 16px;
}
.hero-cta-card {
  display: grid;
  grid-template-columns: 88px 1fr 44px;
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 4px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: 0 2px 0 rgba(20, 35, 63, 0.04);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.hero-cta-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(20, 35, 63, 0.12);
  border-color: var(--ink);
}

/* 準備中（Coming Soon）状態 */
.hero-cta-card--coming {
  position: relative;
  cursor: not-allowed;
  opacity: 0.72;
  background: #fafafa;
}
.hero-cta-card--coming:hover {
  transform: none;
  box-shadow: 0 2px 0 rgba(20, 35, 63, 0.04);
  border-color: var(--rule);
}
.hero-cta-card__badge {
  position: absolute;
  top: 10px;
  right: 12px;
  background: var(--vermilion);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 3px 9px;
  border-radius: 2px;
  z-index: 1;
}
.hero-cta-card--coming .hero-cta-card__arrow { opacity: 0.4; }

/* ヘッダーボタン 準備中状態 */
.btn--disabled {
  cursor: not-allowed;
  opacity: 0.6;
  pointer-events: none;
  background: transparent;
  color: var(--ink-3);
  border-color: var(--rule);
}

/* mini document cover thumbnail */
.hero-cta-card__thumb {
  width: 88px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.doc-cover {
  width: 64px;
  height: 80px;
  background: var(--navy);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px 6px;
  box-shadow: 4px 4px 0 rgba(20, 35, 63, 0.25);
  border: 1px solid var(--navy);
  transform: rotate(-3deg);
}
.doc-cover--talk { background: var(--vermilion); border-color: var(--vermilion); box-shadow: 4px 4px 0 rgba(236, 98, 72, 0.25); transform: rotate(3deg); }
.doc-cover__brand {
  font-size: 8px;
  letter-spacing: 0.08em;
  opacity: 0.85;
  line-height: 1.2;
  margin-bottom: 6px;
}
.doc-cover__title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.3;
}
.doc-cover__icon {
  width: 36px;
  height: 30px;
  color: #fff;
}

/* ビデオ通話のミニウィンドウ（無料相談カード用） */
.call-mock {
  width: 80px;
  height: 60px;
  background: var(--vermilion);
  border: 1px solid var(--vermilion);
  box-shadow: 4px 4px 0 rgba(236, 98, 72, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  transform: rotate(3deg);
}
.call-mock__tile {
  width: 26px;
  height: 32px;
  background: #fff;
  border-radius: 1px;
  position: relative;
}
.call-mock__tile::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--vermilion);
  opacity: 0.7;
}
.call-mock__tile::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 6px;
  border-radius: 8px 8px 0 0;
  background: var(--vermilion);
  opacity: 0.7;
}

.hero-cta-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-cta-card__sub {
  font-size: 12px;
  color: var(--ink);
  letter-spacing: 0.04em;
  font-weight: 600;
  line-height: 1.4;
}
.hero-cta-card__title {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.4;
  color: var(--ink);
  white-space: nowrap;
}

.hero-cta-card__arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background .2s, color .2s, transform .2s;
}
.hero-cta-card__arrow svg { width: 18px; height: 18px; }
.hero-cta-card:hover .hero-cta-card__arrow {
  background: var(--ink);
  color: #fff;
  transform: translateX(2px);
}
.hero__meta {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 2px solid var(--ink);
}
.hero__meta-item {
  padding: 20px 0;
  border-bottom: var(--hairline) solid var(--rule);
  display: grid;
  grid-template-columns: 86px 1fr;
  align-items: baseline;
  column-gap: 20px;
  row-gap: 4px;
}
.hero__meta-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  text-transform: uppercase;
  grid-row: 1 / span 2;
  align-self: center;
}
.hero__meta-value {
  font-family: var(--font-sans);
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: 0.02em;
  font-weight: 900;
  color: var(--ink);
}
.hero__meta-value sub {
  display: block;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  margin-left: 0;
  margin-top: 6px;
  font-weight: 400;
  line-height: 1.5;
  vertical-align: baseline;
}

@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; gap: 56px; }
}

/* ==========================================================
   Section header (every section uses this)
========================================================== */
.s-head {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 32px;
  margin-bottom: 56px;
  align-items: start;
}
.s-head__index {
  font-family: var(--font-num);
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  border-top: 2px solid var(--ink);
  padding-top: 8px;
}
.s-head__title {
  font-size: clamp(28px, 4.4vw, 48px);
  letter-spacing: 0.02em;
  line-height: 1.35;
  font-weight: 900;
}
.s-head__title small {
  display: block;
  font-size: clamp(12px, 1.3vw, 14px);
  font-family: var(--font-mono);
  letter-spacing: 0.2em;
  color: var(--ink-3);
  font-weight: 400;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.s-head__lead {
  margin-top: 20px;
  font-size: 17px;
  line-height: 2;
  color: var(--ink);
  max-width: 40em;
}
@media (max-width: 720px) {
  .s-head { grid-template-columns: 1fr; gap: 12px; }
  .s-head__index { display: inline-block; padding-right: 12px; }
}

/* ==========================================================
   WHY (新規 — Why we do this)
========================================================== */
.why {
  border-top: 2px solid var(--ink);
}
.why__item {
  padding: 56px 0;
  border-bottom: 1px solid var(--rule);
}
.why__num {
  font-family: var(--font-num);
  font-size: 56px;
  color: var(--vermilion);
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.why__title {
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.55;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  font-weight: 900;
}
.why__body {
  font-size: 15px;
  line-height: 2.1;
  color: var(--ink-2);
}
.why__body strong { color: var(--ink); font-weight: 700; }
@media (max-width: 720px) {
  .why__item { grid-template-columns: 1fr; gap: 14px; padding: 36px 0; }
  .why__num { font-size: 40px; }
}

/* ==========================================================
   Problem checklist
========================================================== */
.problem-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 2px solid var(--ink);
  border-left: var(--hairline) solid var(--rule);
}
.problem-list__item {
  padding: 28px;
  border-right: var(--hairline) solid var(--rule);
  border-bottom: var(--hairline) solid var(--rule);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.problem-list__no {
  font-family: var(--font-num);
  font-size: 24px;
  color: var(--vermilion);
  flex-shrink: 0;
}
.problem-list__text {
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.75;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  padding-left: 1.2em;
  text-indent: -1.2em;
}
.problem-list__text::before {
  content: "・";
  color: var(--vermilion);
  font-weight: 700;
}
@media (max-width: 720px) { .problem-list { grid-template-columns: 1fr; } }

.problem-summary {
  margin-top: 56px;
  padding: 36px 32px;
  background: var(--surface);
  border-left: 4px solid var(--vermilion);
  font-size: 18px;
  line-height: 2;
  color: var(--ink);
}

/* 課題セクション → After セクションへの接続線 */
.problem-transition {
  margin: 72px auto 0;
  padding: 36px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.55;
  color: var(--ink);
  text-align: center;
}
.problem-transition__arrow {
  display: block;
  margin-top: 22px;
  font-family: var(--font-num);
  font-size: 22px;
  color: var(--vermilion);
  font-weight: 400;
}

/* ==========================================================
   Hypothesis / Statement
========================================================== */
.statement {
  background: var(--bg);
  color: var(--ink);
  border-top: 1px solid var(--rule);
}
.statement__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.statement h2 {
  font-size: clamp(28px, 5vw, 56px);
  line-height: 1.55;
  letter-spacing: 0.04em;
  font-weight: 900;
}
.statement h2 em {
  font-style: normal;
  color: var(--vermilion);
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
}
.statement p { color: var(--ink); font-size: 17px; line-height: 2.1; margin-top: 32px; max-width: 38em; }

/* 経営の編集者がいると、こう変わる ─ transformation list */
.transform-list {
  list-style: none;
  padding: 0;
  margin: 56px 0 0;
  border-top: 2px solid var(--ink);
}
.transform-list li {
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}
.transform-list__no {
  font-family: var(--font-num);
  font-size: 18px;
  letter-spacing: 0.12em;
  color: var(--vermilion);
  font-weight: 700;
  position: relative;
}
.transform-list__no::after {
  content: "→";
  margin-left: 10px;
  color: var(--ink-3);
}
.transform-list p {
  margin: 0 !important;
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.85;
  color: var(--ink);
  font-weight: 500;
  max-width: none !important;
  padding-left: 1.2em;
  text-indent: -1.2em;
}
.transform-list p::before {
  content: "・";
  color: var(--vermilion);
  font-weight: 700;
}
.transform-list strong {
  color: var(--vermilion);
  font-weight: 700;
}
@media (max-width: 720px) {
  .transform-list li { grid-template-columns: 50px 1fr; gap: 16px; padding: 20px 0; }
  .transform-list__no { font-size: 15px; }
  .transform-list__no::after { margin-left: 6px; }
}

/* ==========================================================
   Service flow (4 steps)
========================================================== */
.flow {
  border-top: 2px solid var(--ink);
}
.flow__item {
  display: grid;
  grid-template-columns: 100px 1fr 1.2fr;
  gap: 40px;
  padding: 48px 0;
  border-bottom: var(--hairline) solid var(--rule);
  align-items: start;
}
.flow__num {
  font-family: var(--font-num);
  font-size: 18px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
}
.flow__num strong {
  display: block;
  font-size: 56px;
  color: var(--ink);
  letter-spacing: 0;
}
.flow__title {
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: 0.02em;
}
.flow__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--vermilion);
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.flow__body {
  font-size: 16px;
  line-height: 2;
  color: var(--ink);
}
.flow__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  background: var(--navy-soft);
  color: var(--navy);
}
@media (max-width: 820px) {
  .flow__item { grid-template-columns: 1fr; gap: 16px; padding: 36px 0; }
  .flow__num strong { font-size: 40px; }
}

/* ==========================================================
   編集する場面 (採用 / 営業 / 社内 / ...)
========================================================== */
.fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 2px solid var(--ink);
  border-left: var(--hairline) solid var(--rule);
}
.field {
  padding: 32px 28px;
  border-right: var(--hairline) solid var(--rule);
  border-bottom: var(--hairline) solid var(--rule);
  background: var(--surface);
}
.field__no {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0.08em;
}
.field__title {
  margin-top: 6px;
  font-size: 22px;
  line-height: 1.45;
  letter-spacing: 0.02em;
  min-height: 64px;
}
.field__desc {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink);
}
.field__list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.field__list li {
  font-size: 14px;
  color: var(--ink);
  padding: 8px 0;
  border-bottom: var(--hairline) solid var(--rule);
}
.field__list li:last-child { border-bottom: none; }

/* 場面カード：編集するもの → どう変わるか */
.field__item { padding: 13px 0; }
.field__item-name {
  display: block;
  position: relative;
  padding-left: 13px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.field__item-name::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 3px;
  height: 0.9em;
  background: var(--vermilion);
}
.field__item-edit {
  display: block;
  margin-top: 5px;
  padding-left: 13px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink);
}
.field__item-edit em {
  font-style: normal;
  color: var(--ink-3);
}
@media (max-width: 880px) { .fields { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .fields { grid-template-columns: 1fr; } }

/* ==========================================================
   Comparison (他社との違い)
========================================================== */
.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  background: var(--surface);
  border: var(--hairline) solid var(--rule);
  color: var(--ink);
}
.compare th, .compare td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: var(--hairline) solid var(--rule);
  vertical-align: top;
}
.compare thead th {
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.16em;
  font-weight: 700;
  border-bottom: none;
}
.compare thead th.is-ours { background: var(--vermilion); }
.compare tbody th {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--ink);
  background: #f7f7f7;
  width: 160px;
  text-transform: uppercase;
  font-weight: 700;
}
.compare td.is-ours {
  font-weight: 700;
  background: #fff4f0;
}
.compare tr:last-child td, .compare tr:last-child th { border-bottom: none; }
.compare__note {
  margin-top: 28px;
  padding: 22px 26px;
  background: #fff4f0;
  border-left: 3px solid var(--vermilion);
  font-size: 15px;
  line-height: 2;
  color: var(--ink);
}
.compare__note strong { color: var(--ink); font-weight: 700; }

/* ==========================================================
   Compare cards (4枚並びの新比較レイアウト)
========================================================== */
.compare-cards {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}
.compare-card {
  position: relative;
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.compare-card--ours {
  background: var(--surface);
  color: var(--ink);
  border: 3px solid var(--vermilion);
  padding: 40px 32px;
  box-shadow: 0 8px 20px rgba(236, 98, 72, 0.10);
}
.compare-card__title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
  margin: 0;
}
.compare-card--ours .compare-card__title {
  font-size: 32px;
  color: var(--vermilion);
}
.compare-card__lead {
  font-size: 16px;
  line-height: 1.75;
  margin: 0;
  font-weight: 600;
}
.compare-card--ours .compare-card__lead {
  font-size: 19px;
  line-height: 1.8;
  font-weight: 700;
}
.compare-card__meta {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}
.compare-card__meta > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.compare-card__meta dt {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  font-weight: 600;
  margin: 0;
}
.compare-card--ours .compare-card__meta dt {
  font-size: 14px;
  color: var(--vermilion);
}
.compare-card__meta dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 500;
  color: var(--ink);
}
.compare-card--ours .compare-card__meta dd {
  font-size: 16px;
  line-height: 1.75;
  font-weight: 600;
}
@media (max-width: 880px) {
  .compare-cards { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .compare { font-size: 13px; }
  .compare th, .compare td { padding: 12px; }
  .compare tbody th { width: 100px; }
}

/* ==========================================================
   Roles Banner (経営側の肩書き)
========================================================== */
.roles-banner {
  margin-bottom: 56px;
  padding: 36px 32px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--rule);
}
.roles-banner__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--vermilion);
  text-transform: uppercase;
  display: block;
  margin-bottom: 18px;
}
.roles-banner__list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: baseline;
}
.roles-banner__list li {
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 900;
  letter-spacing: 0.04em;
  padding: 6px 18px;
  border-right: 1px solid var(--rule);
  color: var(--ink);
}
.roles-banner__list li:last-child { border-right: none; }
.roles-banner__list li:first-child { padding-left: 0; }
.roles-banner__list li small {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  font-weight: 400;
  margin-left: 6px;
}
.roles-banner__note {
  font-size: 16px;
  line-height: 2;
  color: var(--ink);
  margin: 0;
  font-weight: 500;
}
.roles-banner__note:first-of-type {
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}
.roles-banner__note + .roles-banner__note {
  margin-top: 14px;
}
.roles-banner__note strong { color: var(--vermilion); font-weight: 700; }

@media (max-width: 820px) {
  .roles-banner__list { flex-direction: column; align-items: flex-start; }
  .roles-banner__list li {
    padding: 6px 0;
    border-right: none;
    border-bottom: 1px solid var(--rule);
    width: 100%;
  }
  .roles-banner__list li:last-child { border-bottom: none; }
}

/* ==========================================================
   Pull-quote (現場オペ設計)
========================================================== */
.pullquote {
  margin-top: 32px;
  padding: 24px 0 24px 24px;
  border-left: 3px solid var(--vermilion);
}
.pullquote__line {
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.8;
  margin: 0 0 6px;
  color: var(--ink);
  font-weight: 500;
}
.pullquote__line strong {
  font-family: var(--font-num);
  font-size: 22px;
  font-weight: 700;
  color: var(--vermilion);
  padding: 0 2px;
}
.pullquote__caption {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.8;
}

/* ==========================================================
   Results (実績、カテゴリ別)
========================================================== */
.results {
  border-top: 2px solid var(--ink);
}
.results__group {
  padding: 24px 0 4px;
  border-bottom: 1px solid var(--rule);
}
.results__cat {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--vermilion);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.results__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding-bottom: 24px;
}
.results__stat {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 10px 0;
  border-top: 1px dashed var(--rule);
}
.results__stat:first-child { border-top: none; padding-top: 0; }
.results__num {
  font-family: var(--font-num);
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--ink);
  font-weight: 700;
}
.results__num sub {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-left: 8px;
  font-weight: 600;
  vertical-align: baseline;
}
.results__label {
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink);
}
@media (max-width: 720px) {
  .results__stat { grid-template-columns: 1fr; gap: 4px; }
  .results__num { font-size: 24px; }
}

/* ==========================================================
   Editor profile (実績ベース)
========================================================== */
.profile__intro {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 64px;
}
.profile__photo {
  margin: 0;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--rule);
  background: #f0f0f0;
}
.profile__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.profile__name {
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: 0.04em;
}
.profile__name small {
  display: block;
  font-family: var(--font-num);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  margin-top: 6px;
  font-weight: 400;
}
.profile__role {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 14px;
  display: block;
}
.profile__quote {
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.9;
  margin-top: 24px;
  font-weight: 500;
  max-width: 34em;
}
.profile__quote p { margin: 0; }
.profile__quote p + p { margin-top: 1.1em; }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 2px solid var(--ink);
}
.stat {
  padding: 28px 0;
  border-bottom: var(--hairline) solid var(--rule);
}
.stat:nth-child(odd) { padding-right: 24px; border-right: var(--hairline) solid var(--rule); }
.stat:nth-child(even) { padding-left: 24px; }
.stat__num {
  font-family: var(--font-num);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1;
  letter-spacing: 0.02em;
}
.stat__num sub {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink-3);
  margin-left: 8px;
  font-weight: 400;
}
.stat__label {
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 10px;
  line-height: 1.6;
}
.career-list {
  margin-top: 0;
  list-style: none;
  padding: 0;
  border-top: var(--hairline) solid var(--rule);
}
.career-list li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: var(--hairline) solid var(--rule);
  font-size: 16px;
  color: var(--ink);
}
.career-list time {
  font-family: var(--font-num);
  font-size: 15px;
  color: var(--ink);
  letter-spacing: 0.06em;
  font-weight: 600;
}
@media (max-width: 820px) {
  .profile__intro { grid-template-columns: 1fr; gap: 32px; }
  .stat-grid { grid-template-columns: 1fr; }
  .stat:nth-child(odd) { border-right: none; padding-right: 0; }
  .stat:nth-child(even) { padding-left: 0; }
}

/* ==========================================================
   Target / Pricing notes
========================================================== */
.target {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 2px solid var(--ink);
}
.target__col {
  padding: 36px;
  border-bottom: var(--hairline) solid var(--rule);
}
.target__col:first-child {
  border-right: var(--hairline) solid var(--rule);
  background: var(--surface);
}
.target__col h3 {
  font-size: 20px;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}
.target__col h3 span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--vermilion);
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.target__col:last-child h3 span { color: var(--ink-3); }
.target__col ul { margin: 0; padding-left: 1.4em; font-size: 16px; line-height: 2; color: var(--ink); }

.pricing {
  background: var(--surface);
  padding: 40px;
  border: var(--hairline) solid var(--rule);
  margin-top: 56px;
}
.pricing dl { display: grid; grid-template-columns: 220px 1fr; gap: 22px 32px; margin: 0; font-size: 16px; line-height: 1.95; }
.pricing dt { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.16em; color: var(--ink); text-transform: uppercase; padding-top: 4px; font-weight: 600; }
.pricing dd { margin: 0; color: var(--ink); }
@media (max-width: 720px) {
  .target { grid-template-columns: 1fr; }
  .target__col:first-child { border-right: none; }
  .pricing dl { grid-template-columns: 1fr; gap: 8px 0; }
}

/* ==========================================================
   FAQ
========================================================== */
.faq-list { border-top: 2px solid var(--ink); }
.faq-item {
  border-bottom: var(--hairline) solid var(--rule);
  padding: 24px 0;
}
.faq-item summary {
  display: grid;
  grid-template-columns: 28px 1fr 24px;
  gap: 20px;
  align-items: center;
  cursor: pointer;
  list-style: none;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "Q";
  font-family: var(--font-num);
  font-size: 18px;
  color: var(--vermilion);
}
.faq-item summary::after {
  content: "+";
  font-family: var(--font-num);
  font-size: 22px;
  color: var(--ink-3);
  text-align: right;
  transition: transform .2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item__a {
  margin: 16px 0 0 48px;
  font-size: 16px;
  line-height: 2;
  color: var(--ink);
  font-weight: 400;
}

/* ==========================================================
   Contact block
========================================================== */
.contact {
  background: var(--ink);
  color: #fff;
  padding: var(--space-section) 0;
  text-align: left;
}
.contact__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 64px;
  align-items: center;
}
.contact h2 {
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: 0.03em;
  line-height: 1.4;
}
.contact h2 em {
  font-style: normal;
  border-bottom: 3px solid var(--vermilion);
  padding-bottom: 4px;
}
.contact p { color: #e8e8e8; margin-top: 24px; font-size: 17px; line-height: 2; }
.contact .btn {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
  margin-top: 32px;
}
.contact .btn:hover { background: var(--vermilion); color: #fff; border-color: var(--vermilion); }

/* 事務所情報（Contact左下） */
.contact-meta {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid #2b3340;
}
.contact-meta__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--vermilion);
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}
.contact-meta p {
  color: #c7ccd4;
  font-size: 13px;
  line-height: 1.9;
  margin: 0;
}

/* 問い合わせフォーム */
.contact-form {
  display: grid;
  gap: 18px;
}
.contact-form__row {
  display: grid;
  gap: 7px;
}
.contact-form__row label {
  color: #c7ccd4;
  font-size: 12px;
  letter-spacing: 0.06em;
  font-weight: 500;
}
.contact-form__row label .req {
  color: var(--vermilion);
  margin-left: 4px;
  font-size: 13px;
}
.contact-form__row input,
.contact-form__row textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #2b3340;
  color: #fff;
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  border-radius: 2px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.15s, background 0.15s;
}
.contact-form__row input:focus,
.contact-form__row textarea:focus {
  outline: none;
  border-color: var(--vermilion);
  background: rgba(255, 255, 255, 0.08);
}
.contact-form__row textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.7;
}
.btn-submit {
  margin-top: 10px;
  background: var(--vermilion);
  color: #fff;
  border: none;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  font-family: inherit;
  border-radius: 2px;
  transition: background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  justify-self: start;
}
.btn-submit:hover { background: #d9543c; }
.btn-submit__arrow { font-weight: 400; }

@media (max-width: 820px) {
  .contact__inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ==========================================================
   Footer
========================================================== */
.site-footer {
  border-top: var(--hairline) solid var(--rule);
  padding: 36px 0;
}
.site-footer__inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: var(--ink);
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* ==========================================================
   Reveal animation (fail-safe: content always visible)
   - 初期状態は表示状態にする。JSのIntersectionObserverが
     何らかの理由で発火しなくても見えるようにするため。
   - 演出だけ薄くフェード(0.4 → 1)で残す。
========================================================== */
.reveal {
  opacity: 1;
  transform: none;
  animation: revealIn .9s ease both;
}
@keyframes revealIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; }
}

/* ==========================================================
   Utilities
========================================================== */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }
