@charset "UTF-8";
:root {
  /* ---- Core Palette : Clinical Blue ---- */
  --blue: #0B6FE8;
  --blue-bright: #3DA9FF;
  --blue-deep: #0B4FA8;
  --blue-ink: #062A63;
  --blue-pale: #E3F0FF;
  --blue-mist: #F1F7FF;
  --cyan: #00D4E6;
  --accent: #FF5E1F;
  --accent-pale: #FFEEE5;
  --bg: #FFFFFF;
  --bg-soft: #F5FAFF;
  --border: #D4E6FA;
  --border-strong: #B2D2F5;
  --text: #1F2E3D;
  --muted: #5C7186;
  --shadow-sm: 0 2px 10px rgba(11, 79, 168, 0.07);
  --shadow: 0 10px 30px rgba(11, 79, 168, 0.12);
  --shadow-lg: 0 20px 48px rgba(11, 79, 168, 0.18);
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-pill: 999px;
  --container: 1120px;
  --grad-main: linear-gradient(135deg, #0B4FA8 0%, #0B6FE8 52%, #00D4E6 100%);
  --grad-soft: linear-gradient(135deg, #F1F7FF 0%, #E3F0FF 100%);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", Meiryo, sans-serif;
  color: var(--text);
  background: var(--bg-soft);
  line-height: 1.85;
  font-feature-settings: "palt";
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ============ FONT AWESOME ============ */
/* 擬似要素でFAを使うための共通指定。
   アイコンはすべてFont Awesome 6 Free（Solid=900 / Regular=400）に統一。
   独自のSVGは描かない。 */
.fa-solid, .fa-regular, .fa-brands {
  line-height: inherit;
}

[class*=fa-icon-]::before,
.faq-q::before,
.faq-a::before,
.term-head::before,
.sidenav a::after,
.article ul > li::before,
.list-check li::after,
.conclusion ul li::before,
.toc ol ol li::before,
.breadcrumb .sep::before,
.card-link::after,
.ba-arrow::before,
.related-label::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--blue-ink);
  font-size: 15px;
  letter-spacing: 0.04em;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--grad-main);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.05em;
  box-shadow: 0 6px 16px rgba(11, 111, 232, 0.32);
}

.logo-sub {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.12em;
  margin-top: -2px;
}

.header-meta {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: right;
}

/* ============ HERO ============ */
.hero {
  background: var(--blue-ink);
  background-image: radial-gradient(900px 420px at 88% -8%, rgba(0, 212, 230, 0.34) 0%, transparent 62%), radial-gradient(700px 420px at 6% 108%, rgba(27, 127, 212, 0.42) 0%, transparent 60%), linear-gradient(140deg, #062A63 0%, #0B4FA8 58%, #0B6FE8 100%);
  color: #fff;
  padding: 76px 24px 84px;
  position: relative;
  overflow: hidden;
}

/* ベースライン：ヒーロー下端の水平線。
   ※ 旧v2.0では心電図をインラインSVGで描いていたが、アイコンをFont Awesomeに
      統一する方針に伴い自前描画を廃止。医療モチーフは .hero-pulse（fa-heart-pulse）で表現する */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.28) 22%, rgba(0, 212, 230, 0.55) 50%, rgba(255, 255, 255, 0.28) 78%, transparent 100%);
  pointer-events: none;
}

/* 医療モチーフ：Font Awesome の心電図アイコンを大きく薄く配置 */
.hero-pulse {
  position: absolute;
  right: 3%;
  bottom: 6%;
  font-size: 190px;
  color: rgba(255, 255, 255, 0.06);
  pointer-events: none;
  z-index: 0;
  line-height: 1;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 52px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #8FE3FF;
  border: 1px solid rgba(143, 227, 255, 0.4);
  border-radius: var(--r-pill);
  padding: 6px 16px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 20px;
  letter-spacing: 0.01em;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #5FEEFF 0%, #8FE3FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 17px;
  line-height: 2.05;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 40em;
}

.hero-panel {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.07) 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--shadow-lg);
}

.hero-panel-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #8FE3FF;
  margin: 0 0 16px;
}

.hero-panel-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-panel-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 14px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.09);
  border-left: 3px solid var(--cyan);
}

/* ============ LAYOUT ============ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px 24px;
}

.section {
  margin-bottom: 76px;
}

.section-num {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--blue);
  margin-bottom: 6px;
}

.section-title {
  font-size: clamp(24px, 2.8vw, 31px);
  font-weight: 800;
  color: var(--blue-ink);
  margin: 0 0 8px;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-title::before {
  content: "";
  width: 5px;
  height: 1.05em;
  border-radius: var(--r-pill);
  background: var(--grad-main);
  flex: 0 0 auto;
}

.section-caption {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 30px;
  padding-left: 19px;
}

.sub-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--blue-deep);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.sub-title::before {
  content: "";
  width: 18px;
  height: 3px;
  border-radius: var(--r-pill);
  background: var(--blue);
  flex: 0 0 auto;
}

.stack {
  margin-bottom: 40px;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

/* ============ 03 BUTTON ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: var(--r-pill);
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: 0.18s ease;
  font-family: inherit;
}

.btn-primary {
  background: var(--grad-main);
  color: #fff;
  box-shadow: 0 8px 20px rgba(11, 111, 232, 0.32);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(11, 111, 232, 0.4);
}

.btn-secondary {
  background: #fff;
  color: var(--blue-deep);
  border-color: var(--blue);
}

.btn-secondary:hover {
  background: var(--blue-pale);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 94, 31, 0.3);
}

.btn-accent:hover {
  background: #EF4A0C;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  color: var(--blue-deep);
  border-color: var(--blue);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 13px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ============ 04 CARD ============ */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px;
  transition: 0.2s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--grad-main);
  transform: scaleY(0);
  transform-origin: top;
  transition: 0.22s ease;
}

.card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.card:hover::before {
  transform: scaleY(1);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: var(--grad-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border: 1px solid var(--border);
}

.card-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--blue-ink);
  margin: 0 0 8px;
  line-height: 1.5;
}

.card-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.85;
  margin: 0 0 16px;
  flex: 1;
}

.card-link {
  font-size: 13px;
  font-weight: 800;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-link::after {
  content: "\f061"; /* fa-arrow-right */
  font-size: 11px;
  transition: transform 0.18s ease;
}

.card:hover .card-link::after {
  transform: translateX(3px);
}

/* 実績カード（画像あり） */
.work-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: 0.2s ease;
  display: flex;
  flex-direction: column;
}

.work-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.work-thumb {
  aspect-ratio: 16/10;
  background: var(--grad-soft);
  display: grid;
  place-items: center;
  color: var(--border-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--border);
  position: relative;
}

/* .work-rank — 順位バッジ。v2.0で使用中止（順位保証の廃止に伴う）。
   将来「AI引用実績」等の別ラベルで再利用する可能性があるため定義は残す */
.work-rank {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  letter-spacing: 0.04em;
}

.work-body {
  padding: 16px 18px 18px;
}

.work-cat {
  font-size: 11px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.08em;
  margin-bottom: 5px;
}

.work-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--blue-ink);
  line-height: 1.55;
  margin: 0 0 8px;
}

.work-kw {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}

/* コラムカード */
.col-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px 22px;
  transition: 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.col-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
}

.col-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.col-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--blue-ink);
  line-height: 1.6;
  margin: 0;
}

.col-excerpt {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}

/* ============ 05 LABEL ============ */
.label {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  border-radius: var(--r-sm);
  padding: 4px 11px;
  letter-spacing: 0.03em;
}

.label-blue {
  color: var(--blue-deep);
  background: var(--blue-pale);
}

.label-cyan {
  color: #0093A3;
  background: #DEF9FC;
}

.label-accent {
  color: #D6440A;
  background: var(--accent-pale);
}

.label-gray {
  color: var(--muted);
  background: #EAF0F7;
}

.label-solid {
  color: #fff;
  background: var(--blue);
}

.label-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

/* ============ 06 TABLE ============ */
.table-basic {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #fff;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.table-basic th {
  width: 28%;
  background: var(--blue-pale);
  color: var(--blue-ink);
  font-weight: 800;
  padding: 14px 18px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.table-basic td {
  padding: 14px 18px;
  border: 1px solid var(--border);
  color: var(--text);
  line-height: 1.8;
}

.table-compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  border-radius: var(--r-md);
  overflow: hidden;
}

.table-compare thead th {
  background: var(--grad-main);
  color: #fff;
  font-weight: 800;
  padding: 14px 16px;
  text-align: left;
  font-size: 14px;
  border: none;
}

.table-compare tbody th {
  background: var(--bg-soft);
  color: var(--blue-ink);
  font-weight: 800;
  padding: 13px 16px;
  text-align: left;
  border: 1px solid var(--border);
}

.table-compare td {
  padding: 13px 16px;
  border: 1px solid var(--border);
  color: var(--text);
}

.table-compare .is-recommend {
  background: var(--blue-mist);
  position: relative;
}

/* ============ 07 POINT ============ */
.point-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 26px 22px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.point-num {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--grad-main);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px rgba(11, 111, 232, 0.34);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.point-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--blue-ink);
  margin: 14px 0 8px;
  line-height: 1.5;
}

.point-text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.85;
  margin: 0;
}

/* 数値実績 */
.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat-num {
  font-size: 40px;
  font-weight: 900;
  line-height: 1.1;
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: -0.02em;
}

.stat-num small {
  font-size: 17px;
  font-weight: 800;
}

.stat-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-top: 6px;
}

/* ============ 08 FAQ ============ */
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 10px;
}

.faq-q {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 17px 20px;
  font-size: 15px;
  font-weight: 800;
  color: var(--blue-ink);
  cursor: pointer;
  list-style: none;
  line-height: 1.6;
}

.faq-q::-webkit-details-marker {
  display: none;
}

.faq-q::before {
  content: "\f059"; /* fa-circle-question */
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: var(--r-sm);
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  display: grid;
  place-items: center;
  margin-top: 2px;
}

.faq-q::after {
  content: "";
  margin-left: auto;
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg);
  transition: 0.2s;
  margin-top: 6px;
}

details[open] .faq-q::after {
  transform: rotate(-135deg);
}

.faq-a {
  display: flex;
  gap: 12px;
  padding: 17px 20px;
  background: var(--blue-mist);
  border-top: 1px solid var(--border);
  font-size: 14px;
  line-height: 1.9;
  color: #3E5570;
}

.faq-a::before {
  content: "\f0eb"; /* fa-lightbulb */
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: var(--r-sm);
  background: #fff;
  border: 1px solid var(--blue);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  display: grid;
  place-items: center;
  margin-top: 2px;
}

/* ============ 09 CTA ============ */
.cta-box {
  background: var(--blue-ink);
  background-image: radial-gradient(700px 300px at 90% 0%, rgba(0, 212, 230, 0.3) 0%, transparent 60%), linear-gradient(135deg, #062A63 0%, #0B4FA8 60%, #0B6FE8 100%);
  border-radius: var(--r-lg);
  padding: 44px 40px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-title {
  font-size: 25px;
  font-weight: 800;
  margin: 0 0 10px;
  line-height: 1.5;
}

.cta-text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.9;
  margin: 0 0 24px;
}

.cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-box .btn-primary {
  background: #fff;
  color: var(--blue-deep);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

.cta-box .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.cta-box .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.cta-note {
  margin-top: 18px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}

/* ============ 10 NOTICE ============ */
.notice-box {
  background: #FFF6F0;
  border: 1px solid #FFCBB2;
  border-left: 4px solid var(--accent);
  border-radius: var(--r-sm);
  padding: 18px 20px;
  color: #8A431F;
  font-size: 14px;
  line-height: 1.85;
}

.notice-title {
  font-weight: 800;
  color: #D6440A;
  margin: 0 0 6px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.notice-title::before {
  content: "\f071"; /* fa-triangle-exclamation */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 13px;
  flex: 0 0 auto;
}

.info-box {
  background: var(--blue-mist);
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue);
  border-radius: var(--r-sm);
  padding: 18px 20px;
  color: #2F4E6E;
  font-size: 14px;
  line-height: 1.85;
}

.info-title {
  font-weight: 800;
  color: var(--blue-deep);
  margin: 0 0 6px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-title::before {
  content: "\f05a"; /* fa-circle-info */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 13px;
  flex: 0 0 auto;
}

/* ============ 11 NAV ============ */
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.breadcrumb .sep {
  color: var(--border-strong);
  font-size: 0;
}

.breadcrumb .sep::before {
  content: "\f054"; /* fa-chevron-right */
  font-size: 8px;
}

.breadcrumb .current {
  color: var(--blue-deep);
  font-weight: 700;
}

.gnav-demo {
  display: flex;
  gap: 4px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 6px;
  flex-wrap: wrap;
}

.gnav-demo a {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  padding: 8px 16px;
  border-radius: var(--r-pill);
  transition: 0.18s;
}

.gnav-demo a:hover {
  color: var(--blue-deep);
  background: var(--blue-pale);
}

.gnav-demo a.is-current {
  background: var(--grad-main);
  color: #fff;
}

.sidenav {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}

.sidenav-head {
  background: var(--grad-main);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  padding: 13px 18px;
}

.sidenav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: 0.16s;
}

.sidenav a:last-child {
  border-bottom: none;
}

.sidenav a:hover {
  background: var(--blue-mist);
  color: var(--blue-deep);
}

.sidenav a.is-current {
  background: var(--blue-pale);
  color: var(--blue-deep);
  font-weight: 800;
  border-left: 3px solid var(--blue);
}

.sidenav a::after {
  content: "\f054"; /* fa-chevron-right */
  color: var(--border-strong);
  font-size: 11px;
}

/* ============ 12 FORM ============ */
.field {
  margin-bottom: 18px;
}

.field-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--blue-ink);
  margin-bottom: 7px;
}

.req {
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  background: var(--accent);
  border-radius: 3px;
  padding: 2px 6px;
  letter-spacing: 0.04em;
}

.input, .textarea, .select {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  padding: 11px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: 0.16s;
}

.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11, 111, 232, 0.15);
}

.textarea {
  min-height: 96px;
  resize: vertical;
}

/* Contact Form 7 が各コントロールを包む inline のラッパーを
   ブロック化し、内側の .input / .select / .textarea（width:100%）が
   フィールド幅いっぱいに広がるようにする。既存の入力欄スタイルは変えない。 */
.wpcf7-form-control-wrap {
  display: block;
}

/* ============ DIAGNOSIS ============ */
/* AI検索での見え方診断の選択肢カード。
   既存のデザイントークン（var(--*)）のみ使用。新しい色・数値は作らない。
   選択状態は JS が付与する .is-selected で表現する（:has() は使わない）。 */
.diag-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.diag-option {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 11px 15px;
  font-size: 14px;
  cursor: pointer;
  transition: 0.2s ease;
}

.diag-option:hover {
  border-color: var(--border-strong);
  background: var(--blue-mist);
}

.diag-option.is-selected {
  border-color: var(--blue);
  background: var(--blue-pale);
  color: var(--blue-deep);
  font-weight: 800;
}

.diag-option:focus-within {
  outline: 2px solid var(--blue-bright);
  outline-offset: 2px;
}

.diag-option input {
  flex: 0 0 auto;
  margin: 0;
}

@media (max-width: 560px) {
  .diag-options {
    flex-direction: column;
  }
}
/* ============ COLUMN / ARTICLE ============ */
/* 記事本文の親要素。この中の要素は自動でスタイルが当たる（Gutenberg想定） */
.article {
  font-size: 16px;
  line-height: 1.95;
  color: var(--text);
}

.article > * + * {
  margin-top: 1.4em;
}

/* --- 記事見出し --- */
/* H2：記事の大見出し。左の縦バー＋下線グラデ */
.article h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--blue-ink);
  line-height: 1.5;
  margin: 2.6em 0 1em;
  padding: 0 0 14px 18px;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.article h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1em;
  bottom: 20px;
  width: 5px;
  border-radius: var(--r-pill);
  background: var(--grad-main);
}

.article h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 130px;
  height: 3px;
  border-radius: var(--r-pill);
  background: var(--grad-main);
}

/* H3：中見出し。ドット＋青文字 */
.article h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--blue-deep);
  line-height: 1.6;
  margin: 2.2em 0 0.8em;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.article h3::before {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
  margin-top: 0.55em;
  box-shadow: 0 0 0 4px var(--blue-pale);
}

/* H4：小見出し。下線のみの軽い区切り */
.article h4 {
  font-size: 17px;
  font-weight: 800;
  color: var(--blue-ink);
  line-height: 1.65;
  margin: 1.9em 0 0.6em;
  padding-bottom: 6px;
  border-bottom: 2px dotted var(--border-strong);
}

/* H5：最小見出し。強調テキストに近い扱い */
.article h5 {
  font-size: 15px;
  font-weight: 800;
  color: var(--blue-deep);
  margin: 1.6em 0 0.5em;
}

.article p {
  margin: 0;
}

/* 記事本文のリンク。
   ボタン（.btn）と関連記事（.related）には当てない（:notで除外）。
   理由：.article a （詳細度 0,1,1）が .btn （0,1,0）に勝つため、
   class="btn btn-accent" を正しく付けても青い下線が出てボタンにならない。
   ボタンは色のバリエーション（primary/accent/secondary/ghost）が複数あるため、
   個別に上書きするより「そもそも対象にしない」方が変更に強い。
   ※ 目次（.toc）は articleの内側にあるため :not() では除外できず（:notの引数は
   単一セレクタのみ）。目次側は固定2色のみなので !important で対処する（下方参照）。 */
.article a:not(.btn):not(.related) {
  color: var(--blue);
  font-weight: 700;
  border-bottom: 1px solid rgba(11, 111, 232, 0.3);
  transition: 0.16s;
}

.article a:not(.btn):not(.related):hover {
  border-bottom-color: var(--blue);
  background: var(--blue-mist);
}

.article strong {
  font-weight: 800;
  color: var(--blue-ink);
}

/* マーカー（黄色ではなく青系にして医療の清潔感を保つ） */
.article mark, .marker {
  background: linear-gradient(transparent 62%, rgba(0, 212, 230, 0.32) 62%);
  color: inherit;
  font-weight: 700;
  padding: 0 2px;
}

.marker-warn {
  background: linear-gradient(transparent 62%, rgba(255, 94, 31, 0.24) 62%);
  font-weight: 700;
  padding: 0 2px;
}

/* --- 記事内リスト --- */
.article ul, .article ol {
  padding-left: 0;
  margin: 1.4em 0;
}

.article ul {
  list-style: none;
}

.article ul > li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  line-height: 1.9;
}

.article ul > li::before {
  content: "\f105"; /* fa-angle-right */
  position: absolute;
  left: 4px;
  top: 0;
  color: var(--blue);
  font-size: 15px;
}

.article ol {
  counter-reset: ol;
  list-style: none;
}

.article ol > li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 12px;
  line-height: 1.9;
  counter-increment: ol;
}

.article ol > li::before {
  content: counter(ol);
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--grad-main);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  display: grid;
  place-items: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* チェックリスト */
.list-check {
  list-style: none;
  padding: 0;
  margin: 1.4em 0;
}

.list-check li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 11px;
  line-height: 1.9;
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: var(--blue-pale);
  border: 1px solid var(--blue);
}

.list-check li::after {
  content: "\f00c"; /* fa-check */
  position: absolute;
  left: 3px;
  top: 0.3em;
  font-size: 11px;
  color: var(--blue);
}

/* --- リード文（記事冒頭） --- */
.article-lead {
  font-size: 17px;
  line-height: 2.05;
  color: #3E5570;
  background: var(--blue-mist);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 20px 24px;
  margin: 0 0 2em;
}

/* --- 目次 --- */
.toc {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 22px 26px;
  margin: 2em 0;
}

.toc-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--blue-ink);
  letter-spacing: 0.08em;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-title::before {
  content: "\f03a"; /* fa-list */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 12px;
  color: var(--blue);
  letter-spacing: 0;
}

.toc ol {
  counter-reset: toc;
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc > ol > li {
  counter-increment: toc;
  position: relative;
  padding-left: 28px;
  margin-bottom: 9px;
  font-size: 14px;
  line-height: 1.75;
}

.toc > ol > li::before {
  content: counter(toc) ".";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 800;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}

/* 目次内のリンク。
   .article a:not(.btn):not(.related) （詳細度 0,3,1）は、通常の子孫セレクタ（.article .toc a 系）
   では詳細度で確実に上回れない（実際に検証済み）。
   目次は色・下線の固定2プロパティだけで、ボタンのような色バリエーションを持たないため、
   !important で確実に上書きすることに副作用はない。 */
.toc a {
  color: var(--text) !important;
  font-weight: 600 !important;
  border-bottom: none !important;
}

.toc a:hover {
  color: var(--blue) !important;
  background: none !important;
  text-decoration: underline;
  border-bottom: none !important;
}

.toc ol ol {
  margin: 8px 0 0;
  padding-left: 0;
}

.toc ol ol li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--muted);
}

.toc ol ol li::before {
  content: "\f068"; /* fa-minus */
  position: absolute;
  left: 0;
  top: 0.42em;
  font-size: 8px;
  color: var(--border-strong);
}

/* --- 引用 --- */
.article blockquote {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-left: 4px solid var(--border-strong);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 20px 24px;
  margin: 1.8em 0;
  font-size: 15px;
  color: #3E5570;
  position: relative;
}

.article blockquote p {
  margin: 0;
}

.article blockquote cite {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  font-style: normal;
  color: var(--muted);
  font-weight: 700;
}

.article blockquote cite::before {
  content: "— ";
}

/* --- 医療系コラム特化パーツ --- */
/* ドクターの声・患者の声 */
.voice {
  display: flex;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px 22px;
  margin: 1.8em 0;
  align-items: flex-start;
}

.voice-avatar {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--grad-soft);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--blue);
  font-weight: 900;
  font-size: 15px;
}

.voice-body {
  flex: 1;
}

.voice-name {
  font-size: 12px;
  font-weight: 800;
  color: var(--blue-deep);
  margin-bottom: 5px;
}

.voice-text {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text);
  margin: 0;
}

.voice.is-reverse {
  flex-direction: row-reverse;
  text-align: right;
}

.voice.is-reverse .voice-avatar {
  background: var(--blue-pale);
}

/* 用語解説 */
.term-box {
  background: #fff;
  border: 1px solid var(--blue);
  border-radius: var(--r-md);
  padding: 0;
  margin: 1.8em 0;
  overflow: hidden;
}

.term-head {
  background: var(--blue-pale);
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 800;
  color: var(--blue-deep);
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}

.term-head::before {
  content: "\f02d"; /* fa-book */
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  display: grid;
  place-items: center;
}

.term-body {
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.85;
  color: #3E5570;
}

/* 結論ボックス（記事の要点を冒頭or末尾に） */
.conclusion {
  background: var(--blue-ink);
  background-image: radial-gradient(500px 240px at 92% 0%, rgba(0, 212, 230, 0.24) 0%, transparent 62%), linear-gradient(135deg, #062A63 0%, #0B4FA8 100%);
  border-radius: var(--r-lg);
  padding: 28px 30px;
  margin: 2.2em 0;
  color: #fff;
}

.conclusion-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #8FE3FF;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.conclusion-title::before {
  content: "\f0eb"; /* fa-lightbulb */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 13px;
  color: #00D4E6;
  letter-spacing: 0;
}

.conclusion ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.conclusion ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
}

.conclusion ul li:last-child {
  margin-bottom: 0;
}

.conclusion ul li::before {
  content: "\f058"; /* fa-circle-check */
  position: absolute;
  left: 0;
  top: 0.1em;
  color: #00D4E6;
  font-size: 13px;
}

/* Before / After 比較 */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: stretch;
  margin: 1.8em 0;
}

.ba-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px 20px;
}

.ba-card.is-before {
  background: var(--bg-soft);
}

.ba-card.is-after {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.ba-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  color: var(--muted);
}

.ba-card.is-after .ba-label {
  color: var(--blue);
}

.ba-text {
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}

.ba-arrow {
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 0;
}

.ba-arrow::before {
  content: "\f061"; /* fa-arrow-right */
  font-size: 20px;
}

/* 記事内CTA（コラム→問い合わせの導線） */
.article-cta {
  background: var(--grad-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px 26px;
  margin: 2.2em 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.article-cta-text {
  flex: 1;
  min-width: 240px;
}

.article-cta-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--blue-ink);
  margin: 0 0 5px;
  line-height: 1.6;
}

.article-cta-sub {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.75;
}

/* 記事メタ情報（著者・日付） */
.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 1.6em 0 2em;
  flex-wrap: wrap;
}

.author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--grad-main);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 900;
}

.author-name {
  font-size: 13px;
  font-weight: 800;
  color: var(--blue-ink);
  line-height: 1.4;
}

.author-role {
  font-size: 11px;
  color: var(--muted);
}

.article-date {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

/* 記事内の図版キャプション */
.figure {
  margin: 1.8em 0;
}

.figure-img {
  aspect-ratio: 16/9;
  background: var(--grad-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  color: var(--border-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.figure-caption {
  font-size: 12px;
  color: var(--muted);
  margin: 10px 0 0;
  padding-left: 12px;
  border-left: 2px solid var(--border-strong);
  line-height: 1.7;
}

/* 関連記事 */
.related {
  display: flex;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 16px;
  margin: 1.4em 0;
  align-items: center;
  transition: 0.18s;
}

.related:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.related-label {
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  background: var(--blue);
  border-radius: 3px;
  padding: 3px 8px;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.related-label::before {
  content: "\f02e"; /* fa-bookmark */
  font-size: 9px;
}

.related-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-ink);
  line-height: 1.6;
  margin: 0;
}

/* 医療広告ガイドライン用の免責 */
.disclaimer {
  background: #FAFCFF;
  border: 1px dashed var(--border-strong);
  border-radius: var(--r-sm);
  padding: 14px 18px;
  margin: 2em 0 0;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}

.disclaimer-title {
  font-weight: 800;
  color: #5C7186;
  margin: 0 0 5px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.disclaimer-title::before {
  content: "\f05a"; /* fa-circle-info */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 11px;
  flex: 0 0 auto;
}

@media (max-width: 900px) {
  .article {
    font-size: 15px;
  }
  .article h2 {
    font-size: 22px;
  }
  .article h3 {
    font-size: 18px;
  }
  .article h4 {
    font-size: 16px;
  }
  .ba-grid {
    grid-template-columns: 1fr;
  }
  .ba-arrow {
    transform: rotate(90deg);
    padding: 4px 0;
  }
  .article-cta {
    flex-direction: column;
    align-items: stretch;
  }
}
/* ============ FOOTER ============ */
.site-footer {
  background: var(--blue-ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 24px;
  font-size: 13px;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-logo {
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.04em;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .type-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .header-meta {
    display: none;
  }
  .container {
    padding: 44px 20px;
  }
  .t-h1 {
    font-size: 29px;
  }
  .t-h2 {
    font-size: 24px;
  }
}
@media (max-width: 560px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }
}
/* ============================================================
   SITE ADDITIONS — ブランドシートに無い「実サイト用」パーツのみ追加
   （既存パーツの上書きはしない）
   ============================================================ */
/* ---- グローバルナビ（実サイト版） ---- */
.gnav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.gnav a {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  padding: 9px 13px;
  border-radius: var(--r-pill);
  transition: 0.18s;
  white-space: nowrap;
}

.gnav a:hover {
  color: var(--blue-deep);
  background: var(--blue-pale);
}

.gnav a.is-current {
  color: var(--blue-deep);
  background: var(--blue-pale);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--blue-deep);
  font-size: 17px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ---- 下層ページのヒーロー（トップより控えめ） ---- */
.hero-page {
  padding: 46px 24px 50px;
}

.hero-page .hero-inner {
  grid-template-columns: 1fr;
  gap: 0;
}

.hero-page h1 {
  font-size: clamp(27px, 3.4vw, 40px);
  margin-bottom: 14px;
}

.hero-page .hero-lead {
  margin-bottom: 0;
  font-size: 16px;
}

.hero-page .breadcrumb {
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 18px;
}

.hero-page .breadcrumb a {
  color: rgba(255, 255, 255, 0.82);
}

.hero-page .breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}

.hero-page .breadcrumb .current {
  color: #8FE3FF;
}

.hero-page .breadcrumb .sep {
  color: rgba(255, 255, 255, 0.35);
}

/* ---- セクション背景の切り替え ---- */
.band {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.band-soft {
  background: var(--bg-soft);
}

.section:last-child {
  margin-bottom: 0;
}

/* ---- フッター（実サイト版・多段） ---- */
.footer-cols {
  max-width: var(--container);
  margin: 0 auto 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-col-title {
  font-size: 12px;
  font-weight: 800;
  color: #8FE3FF;
  letter-spacing: 0.1em;
  margin: 0 0 12px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-addr {
  font-size: 12.5px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.62);
  margin: 12px 0 0;
}

.footer-note {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.5);
}

/* ---- 一覧グリッド ---- */
.col-list {
  display: grid;
  gap: 14px;
}

/* ---- 料金表の注記 ---- */
.fee-note {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.9;
  margin: 14px 0 0;
  padding-left: 1em;
  text-indent: -1em;
}

/* ---- 用語のインライン注記 ---- */
.term-inline {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  border-bottom: 1px dotted var(--border-strong);
}

/* ---- プロセス（縦フロー） ---- */
.flow {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: flow;
}

.flow > li {
  counter-increment: flow;
  position: relative;
  padding: 0 0 26px 58px;
  border-left: 2px solid var(--border);
  margin-left: 17px;
}

.flow > li:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.flow > li::before {
  content: counter(flow);
  position: absolute;
  left: -18px;
  top: -2px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--grad-main);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  display: grid;
  place-items: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  box-shadow: 0 6px 14px rgba(11, 111, 232, 0.3);
}

.flow-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--blue-ink);
  margin: 4px 0 6px;
}

.flow-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.85;
  margin: 0;
}

/* ---- 2カラム（本文＋サイド） ---- */
.with-side {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
}

.side-sticky {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 16px;
}

/* ---- 転換ストーリー（Before/After の大型版） ---- */
.turn {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: stretch;
}

.turn-card {
  border-radius: var(--r-lg);
  padding: 26px 28px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
}

.turn-card.is-now {
  border-color: var(--blue);
  background: #fff;
  box-shadow: var(--shadow);
}

.turn-era {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.turn-card.is-now .turn-era {
  color: var(--blue);
}

.turn-head {
  font-size: 18px;
  font-weight: 800;
  color: var(--blue-ink);
  line-height: 1.55;
  margin: 0 0 10px;
}

.turn-body {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text);
  margin: 0;
}

.turn-mid {
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 22px;
}

/* ---- 転換の結論（順位保証廃止セクションの直下・最大級の見出し） ---- */
.turn-answer {
  margin-top: 28px;
  padding: 40px 36px;
  border-radius: var(--r-lg);
  background: var(--grad-main);
  color: #fff;
  text-align: center;
  box-shadow: 0 18px 40px rgba(11, 111, 232, 0.28);
}

.turn-answer-lead {
  font-size: 16px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.86);
  margin: 0 0 14px;
  line-height: 1.8;
}

.turn-answer-head {
  font-size: clamp(30px, 5vw, 54px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.01em;
  margin: 0;
}

.turn-answer-head em {
  font-style: normal;
  color: #8FE3FF;
}

.turn-answer-text {
  font-size: 15px;
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.9);
  margin: 18px auto 0;
  max-width: 700px;
  text-align: left;
}

@media (max-width: 900px) {
  .turn-answer {
    padding: 30px 22px;
  }
  .turn-answer-lead {
    font-size: 14px;
  }
  .gnav {
    display: none;
  }
  .gnav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 10px 16px 16px;
    gap: 2px;
    box-shadow: var(--shadow);
  }
  .gnav.is-open a {
    border-radius: var(--r-sm);
    padding: 13px 12px;
  }
  .nav-toggle {
    display: flex;
  }
  .site-header {
    position: relative;
  }
  .header-inner {
    padding: 12px 20px;
    gap: 12px;
  }
  .header-cta .btn {
    display: none;
  }
  .footer-cols {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .with-side {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .side-sticky {
    position: static;
  }
  .turn {
    grid-template-columns: 1fr;
  }
  .turn-mid {
    transform: rotate(90deg);
    padding: 2px 0;
  }
  .hero-page {
    padding: 34px 20px 38px;
  }
}
