/* engawa LP — editorial variant.
   Newspaper / business magazine aesthetic. White paper, black ink,
   single deep red accent. Mix of Noto Serif JP (display) and system
   sans (body). Sharp 90deg corners. Heavy use of horizontal rules. */

:root {
  --paper: #fbfaf7;
  --paper-2: #f3f0e8;
  --ink: #111111;
  --ink-2: #2c2c2c;
  --ink-mute: #555555;
  --ink-faint: #888888;
  --rule: #1a1a1a;
  --rule-faint: #d9d4c5;
  --accent: #b91c1c;          /* deep editorial red */
  --accent-soft: #fee2e2;
  --serif: 'Noto Serif JP', 'Hiragino Mincho ProN', '游明朝', YuMincho, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic UI', sans-serif;
  --r: 0px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'palt' 1;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}
.container-narrow { max-width: 720px; }

/* === Rules === */
hr.rule {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 36px 0;
}
hr.rule-thick {
  border-top: 3px double var(--rule);
  margin: 48px 0 36px;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
  border-radius: 0;
  letter-spacing: 0.01em;
}
.btn:hover { background: var(--ink); color: var(--paper); text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-link {
  border: 0;
  background: transparent;
  padding: 12px 0;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}
.btn-link:hover { background: transparent; color: var(--accent); }
.btn-lg { padding: 14px 32px; font-size: 15px; }

/* === Masthead === */
.masthead {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.masthead-row {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--rule-faint);
}
.brand-block {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  text-decoration: none;
  line-height: 1;
}
.brand-block:hover { text-decoration: none; }
.brand {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  display: block;
}
.brand:hover { color: var(--ink); text-decoration: none; }
.brand-sub {
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  margin-top: 2px;
  text-transform: none;
  display: block;
}
.masthead-meta {
  flex: 1;
  margin: 0;
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--sans);
}
.dot-sep { margin: 0 6px; color: var(--ink-faint); }
.lead-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.topnav {
  background: var(--paper);
  border-bottom: 2px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 50;
}
.topnav-row {
  display: flex;
  gap: 24px;
  padding: 12px 28px;
  font-size: 13px;
  flex-wrap: wrap;
}
.topnav a {
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.topnav a:hover { color: var(--accent); }
.topnav .topnav-cta {
  margin-left: auto;
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.topnav .topnav-cta:hover { color: var(--ink); }

/* Hamburger "more" button (mobile only) */
.topnav-more {
  display: none;
  background: transparent;
  border: none;
  width: 32px;
  height: 32px;
  padding: 0;
  cursor: pointer;
  position: relative;
  margin-left: 12px;
}
.topnav-more-icon,
.topnav-more-icon::before,
.topnav-more-icon::after {
  display: block;
  position: absolute;
  left: 6px;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.15s ease, opacity 0.15s ease, top 0.15s ease;
}
.topnav-more-icon { top: 15px; }
.topnav-more-icon::before { content: ""; top: -6px; }
.topnav-more-icon::after { content: ""; top: 6px; }
.topnav-more[aria-expanded="true"] .topnav-more-icon { background: transparent; }
.topnav-more[aria-expanded="true"] .topnav-more-icon::before { top: 0; transform: rotate(45deg); }
.topnav-more[aria-expanded="true"] .topnav-more-icon::after { top: 0; transform: rotate(-45deg); }

/* Overflow drawer */
.topnav-overflow {
  border-top: 1px solid var(--rule-faint);
  background: var(--paper);
  padding: 12px 0;
}
.topnav-overflow .container {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.topnav-overflow a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 6px 0;
}
.topnav-overflow a:hover { color: var(--accent); }

@media (max-width: 600px) {
  .topnav-more { display: inline-block; }
  .topnav-row { flex-wrap: nowrap; overflow-x: hidden; }
  .topnav-row a { font-size: 12px; }
  .topnav-overflow .container { flex-direction: column; gap: 0; }
  .topnav-overflow a { padding: 10px 0; border-bottom: 1px solid var(--rule-faint); }
  .topnav-overflow a:last-child { border-bottom: 0; }
}
@media (min-width: 601px) {
  /* Desktop: hide the overflow entirely (5 items are enough) */
  .topnav-more, .topnav-overflow { display: none !important; }
}

/* === Hero === */
.hero {
  padding: 80px 0 60px;
}
.kicker {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.hero-kicker {
  font-size: 14px;
  letter-spacing: 0.12em;
}
@media (max-width: 600px) {
  .hero-kicker { font-size: 17px; letter-spacing: 0.06em; line-height: 1.5; }
}
.hero-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 900;
  text-align: center;
  letter-spacing: -0.04em;
  line-height: 1;
}
.hero-num {
  font-size: clamp(80px, 18vw, 220px);
  display: inline-block;
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink) 60%, var(--accent) 60%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(18px, 2.4vw, 28px);
  color: var(--ink-2);
  margin: 8px 0 0;
  letter-spacing: 0.02em;
}
.hero-etymology {
  text-align: center;
  font-family: var(--serif);
  font-size: 14px;
  color: var(--ink-3);
  margin: 18px auto 0;
  max-width: 680px;
  line-height: 1.6;
  letter-spacing: 0.02em;
}
.hero-etymology em {
  font-style: italic;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.05em;
}
.hero-etymology-en {
  display: block;
  font-size: 12px;
  color: var(--ink-3);
  font-style: italic;
  letter-spacing: 0.04em;
  margin-top: 2px;
  opacity: 0.8;
}

.hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  margin-top: 48px;
}
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero-deck { }
.lead-text {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.85;
  color: var(--ink);
  margin: 0 0 20px;
}
.lead-text strong { color: var(--accent); font-weight: 700; }
.body-text {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-2);
  margin: 0 0 18px;
}
.body-text strong { color: var(--ink); font-weight: 700; }
.hero-cta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 24px; }

.hero-side {
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  padding: 16px 0 20px;
}
.hero-side h3 {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 700;
}
.toc {
  list-style: none;
  padding: 0; margin: 0;
  counter-reset: toc;
}
.toc li {
  counter-increment: toc;
  padding: 8px 0;
  border-bottom: 1px dotted var(--rule-faint);
  font-size: 14px;
  color: var(--ink);
  display: flex; gap: 8px;
}
.toc li:last-child { border-bottom: 0; }
.toc li::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--serif);
  color: var(--accent);
  font-weight: 700;
}

/* === Sections === */
.section {
  padding: 80px 0;
}
.section-tinted { background: var(--paper-2); border-top: 1px solid var(--rule-faint); border-bottom: 1px solid var(--rule-faint); }
.section-feature {
  background: var(--ink);
  color: var(--paper);
}
.section-feature .h2 { color: #fff; }
.section-feature .kicker { color: #fbbf24; }
.section-feature .body-text { color: #d4d4d4; }
.section-feature .body-text strong { color: #fff; }
.section-feature .lead-text { color: #fff; }
.section-feature .lead-text strong { color: #fbbf24; }
.section-feature hr.rule { border-top-color: rgba(255,255,255,0.2); }

.section-head {
  margin-bottom: 8px;
}
.h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}

/* === Two-column body text === */
.cols-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 32px;
}
.cols-2-tight { gap: 56px; }
@media (max-width: 760px) {
  .cols-2 { grid-template-columns: 1fr; gap: 24px; }
}
.col { }

/* === Pull quote === */
.pullquote {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.5;
  font-style: italic;
  font-weight: 400;
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 20px;
  margin: 28px 0;
  color: var(--ink);
}
.pullquote cite {
  display: block;
  font-style: normal;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-mute);
  margin-top: 12px;
  letter-spacing: 0.01em;
}

.key-points {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  font-family: var(--serif);
  font-size: 18px;
  border-top: 2px solid var(--rule);
}
.key-points li {
  padding: 12px 0;
  border-bottom: 1px solid var(--rule-faint);
}
.key-points strong { color: var(--accent); font-weight: 700; }

/* === Solution row === */
.solution-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 32px;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.sol {
  padding: 28px 24px;
  border-right: 1px solid var(--rule-faint);
}
.sol:last-child { border-right: 0; }
@media (max-width: 760px) {
  .solution-row { grid-template-columns: 1fr; border-bottom: 0; }
  .sol { border-right: 0; border-bottom: 1px solid var(--rule-faint); }
  .sol:last-child { border-bottom: 2px solid var(--ink); }
}
.sol-num {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 900;
  color: var(--accent);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.sol h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
}
.sol p { margin: 0; color: var(--ink-mute); font-size: 14px; line-height: 1.7; }

/* === Features table === */
.feat-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  font-size: 15px;
}
.feat-table th {
  text-align: left;
  padding: 16px 20px 16px 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  border-bottom: 1px solid var(--rule-faint);
  vertical-align: top;
  white-space: nowrap;
  width: 32%;
}
.feat-table td {
  padding: 16px 0;
  border-bottom: 1px solid var(--rule-faint);
  color: var(--ink-2);
}
.feat-table tr:last-child th, .feat-table tr:last-child td { border-bottom: 0; }

/* === AI list === */
.ai-list-edit {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: ailist;
  border-top: 2px solid currentColor;
  border-bottom: 1px solid currentColor;
}
.ai-list-edit li {
  counter-increment: ailist;
  padding: 16px 0 16px 56px;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  font-size: 15px;
  line-height: 1.7;
}
.ai-list-edit li:last-child { border-bottom: 0; }
.ai-list-edit li::before {
  content: counter(ailist, decimal-leading-zero);
  position: absolute;
  left: 0; top: 16px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 900;
  color: #fbbf24;
  width: 40px;
}
.ai-list-edit li strong {
  display: block;
  font-family: var(--serif);
  font-size: 18px;
  margin-bottom: 4px;
  color: #fff;
}

.ai-tasks {
  margin-top: 56px;
  padding: 28px 32px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.03);
}
.ai-tasks-head {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: 16px;
  color: #fbbf24;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.ai-tasks ul {
  margin: 0;
  padding-left: 20px;
  columns: 2;
  column-gap: 32px;
  font-size: 14px;
  color: #d4d4d4;
}
.ai-tasks li { margin-bottom: 6px; break-inside: avoid; }
@media (max-width: 600px) { .ai-tasks ul { columns: 1; } }

/* === Pricing === */
.price-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 32px;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.price-table-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .price-table-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .price-table { grid-template-columns: 1fr; }
  .price-table-4 { grid-template-columns: 1fr; }
}

/* Tradeoff section */
.tradeoff-section { padding: 56px 0; }
.tradeoff-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.tradeoff-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule-faint);
  font-size: 15px;
  color: var(--ink-2);
}
.tradeoff-list li:last-child {
  border-bottom: 0;
  background: var(--paper-2);
  padding-left: 16px; padding-right: 16px;
}
.tradeoff-list .x, .tradeoff-list .ok {
  flex-shrink: 0;
  width: 22px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 18px;
}
.tradeoff-list .x { color: var(--ink-faint); }
.tradeoff-list .ok { color: var(--accent); }
.tradeoff-list em {
  font-style: italic;
  color: var(--ink-mute);
  font-size: 14px;
  margin-left: 6px;
  font-family: var(--serif);
}
.tradeoff-list strong { color: var(--accent); font-weight: 700; }

/* Compact compare section */
#compare.section { padding: 36px 0; }
#compare .section-head { margin-bottom: 0; }
#compare .h2 { font-size: clamp(22px, 3vw, 32px); }
#compare hr.rule { margin: 14px 0; }
#compare .compare-table { margin-top: 16px; }
#compare .compare-table th,
#compare .compare-table td { padding: 10px 14px; }
.big-stat { padding: 16px 0; margin-top: 16px; }
.big-stat-num { font-size: clamp(32px, 4vw, 52px); margin-bottom: 6px; }
.big-stat figcaption { font-size: 14px; }

@media (max-width: 760px) {
  .compare-table th, .compare-table td { padding: 10px 6px; font-size: 12px; }
}
/* スマホでは LINE WORKS / Slack を隠して 2社対決 */
@media (max-width: 600px) {
  .compare-table th:nth-child(3),
  .compare-table th:nth-child(4),
  .compare-table td:nth-child(3),
  .compare-table td:nth-child(4) { display: none; }
  .big-stat-num { font-size: 48px; }
  .tradeoff-list li { font-size: 13px; padding: 12px 6px; flex-wrap: wrap; }
  .tradeoff-list em { display: block; margin-left: 30px; margin-top: 2px; }
}

/* Cost calculator — compact horizontal row, editorial restraint */
.calc {
  margin: 16px auto 24px;
  max-width: 720px;
  padding: 10px 18px;
  background: var(--paper);
  border-top: 2px solid currentColor;
  border-bottom: 1px solid currentColor;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.section-feature .calc {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.4);
}
.calc-label {
  margin: 0;
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  white-space: nowrap;
}
.calc-num {
  display: inline-block;
  min-width: 2.5ch;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 900;
  color: var(--accent);
  font-style: normal;
  letter-spacing: -0.02em;
  margin: 0 2px;
  vertical-align: middle;
}
.section-feature .calc-num { color: #fbbf24; }
.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  min-width: 180px;
  height: 4px;
  background: var(--rule-faint);
  border: 0;
  outline: none;
  cursor: pointer;
}
.section-feature .calc-slider { background: rgba(255,255,255,0.2); }
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px; height: 18px;
  border-radius: 0;
  background: var(--accent);
  border: 2px solid var(--paper);
  cursor: grab;
}
.section-feature .calc-slider::-webkit-slider-thumb {
  background: #fbbf24;
  border-color: var(--ink);
}
.calc-slider::-webkit-slider-thumb:active { cursor: grabbing; }
.calc-slider::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: 0;
  background: var(--accent);
  border: 2px solid var(--paper);
  cursor: grab;
}
.calc-slider-ticks { display: none; }
@media (max-width: 600px) {
  .calc { padding: 10px 14px; gap: 10px; }
  .calc-num { font-size: 22px; }
}
.price-col {
  padding: 28px 22px;
  border-right: 1px solid var(--rule-faint);
  display: flex;
  flex-direction: column;
  position: relative;
  background: var(--paper);
}
.price-table-4 .price-col { padding: 24px 18px; }
.price-table-4 .price-h3 { font-size: 20px; }
.price-table-4 .price-amount { font-size: 42px; }
.price-table-4 .price-amount span { font-size: 14px; }

.self-hosted-note {
  margin: 24px 0 0;
  padding: 16px 22px;
  background: var(--paper-2);
  border-left: 3px solid var(--ink);
  font-size: 14px;
  color: var(--ink-2);
}
.self-hosted-note strong { color: var(--ink); }
.self-hosted-note a { margin-left: 8px; }
.price-col:last-child { border-right: 0; }
.price-col-highlight {
  background: var(--paper-2);
  position: relative;
}
.price-flag {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 12px;
}
@media (max-width: 760px) {
  .price-table { grid-template-columns: 1fr; }
  .price-col { border-right: 0; border-bottom: 1px solid var(--rule-faint); }
}
.price-h3 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
}
.price-tagline {
  margin: 0 0 24px;
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.price-amount {
  margin: 0;
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1;
}
.price-amount span {
  font-size: 18px;
  color: var(--ink-mute);
  font-weight: 400;
  letter-spacing: 0;
  margin-left: 4px;
}
.price-meta {
  margin: 6px 0 24px;
  font-size: 13px;
  color: var(--ink-mute);
}
.price-col ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
  font-size: 14px;
  border-top: 1px solid var(--rule-faint);
}
.price-col ul li {
  padding: 10px 0 10px 22px;
  position: relative;
  border-bottom: 1px solid var(--rule-faint);
  color: var(--ink-2);
}
.price-col ul li:last-child { border-bottom: 0; }
.price-col ul li::before {
  content: '✓';
  position: absolute; left: 0; top: 10px;
  color: var(--accent);
  font-weight: 700;
}
.price-col ul li strong { color: var(--ink); }

/* === Compare === */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-top: 32px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}
.compare-table th, .compare-table td {
  padding: 14px 12px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: 0; }
.compare-table thead th {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 15px;
  background: rgba(255,255,255,0.04);
  border-bottom-color: rgba(255,255,255,0.3);
}
.compare-table tbody th {
  text-align: left;
  font-weight: 500;
  font-size: 13px;
  color: #d4d4d4;
  white-space: nowrap;
  background: transparent;
}
.compare-table .th-engawa { background: var(--accent); color: #fff; }
.compare-table .th-sub { display: block; font-size: 11px; font-weight: 400; color: rgba(255,255,255,0.7); margin-top: 2px; }
.compare-table .td-engawa { background: rgba(185,28,28,0.15); color: #fff; font-weight: 500; }
.compare-table .td-engawa strong { color: #fbbf24; font-family: var(--serif); font-size: 17px; }

.big-stat {
  margin: 56px 0 0;
  text-align: center;
  padding: 48px 0;
  border-top: 4px double rgba(255,255,255,0.4);
  border-bottom: 4px double rgba(255,255,255,0.4);
}
.big-stat-num {
  font-family: var(--serif);
  font-size: clamp(64px, 12vw, 144px);
  font-weight: 900;
  color: #fbbf24;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 12px;
}
.big-stat figcaption {
  font-family: var(--serif);
  font-size: 17px;
  color: #fff;
  font-weight: 500;
}
.big-stat-cap {
  font-family: var(--sans);
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.footnote {
  margin-top: 24px;
  font-size: 12px;
  color: var(--ink-faint);
  line-height: 1.7;
  text-align: center;
}
.section-feature .footnote { color: rgba(255,255,255,0.5); }

/* === Steps === */
.steps-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  border-top: 2px solid var(--ink);
}
.steps-list li {
  padding: 28px 0;
  border-bottom: 1px solid var(--rule-faint);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
}
.steps-list li:last-child { border-bottom: 2px solid var(--ink); }
@media (max-width: 600px) {
  .steps-list li { grid-template-columns: 1fr; gap: 8px; }
}
.step-pill {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
  align-self: start;
  padding: 4px 0;
}
.steps-list h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--ink);
}
.steps-list p { margin: 0; color: var(--ink-2); font-size: 14px; }

/* === FAQ === */
.faq {
  border-bottom: 1px solid var(--rule-faint);
  padding: 18px 0;
}
.faq:first-of-type { border-top: 2px solid var(--ink); }
.faq:last-of-type { border-bottom: 2px solid var(--ink); }
.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  position: relative;
  padding-right: 32px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 0; top: -2px;
  font-family: var(--serif);
  font-size: 24px;
  color: var(--accent);
  font-weight: 400;
}
.faq[open] summary::after { content: '−'; }
.faq p {
  margin: 14px 0 0;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.85;
}

/* === CTA === */
.section-cta {
  padding: 80px 0;
  text-align: center;
  background: var(--paper);
}
.cta-h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 24px;
  color: var(--ink);
}
.cta-lead {
  font-size: 16px;
  color: var(--ink-2);
  margin: 0 0 36px;
  line-height: 1.85;
}
.cta-buttons {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 24px;
}
.cta-contact {
  margin: 0;
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}
.cta-contact strong {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink);
}

/* === Footer === */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 40px 0 32px;
  position: relative;
}
/* Shoji-grid (障子格子) accent above footer — subtle Japanese-architecture nod. */
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 14px;
  background-image:
    linear-gradient(90deg, var(--accent) 0 1px, transparent 1px),
    linear-gradient(0deg, var(--accent) 0 1px, transparent 1px);
  background-size: 28px 14px, 28px 14px;
  background-position: 0 0;
  opacity: 0.5;
  pointer-events: none;
}
.footer .brand { color: #fff; }
.footer-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  text-decoration: none;
}
.footer-nav a:hover { color: #fff; }
.footer-copy {
  margin: 0;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  letter-spacing: 0.05em;
}
.footer-tag {
  margin: 24px 0 0;
  font-family: var(--serif);
  color: rgba(255,255,255,0.6);
  font-style: italic;
  text-align: right;
  font-size: 14px;
}
@media (max-width: 600px) { .footer-tag { text-align: left; } }
