:root {
  --navy: rgb(0, 33, 77);
  --navy-dark: rgb(6, 51, 96);
  --navy-2: rgb(8, 35, 74);
  --blue: rgb(41, 98, 177);
  --blue-2: rgb(28, 90, 173);
  --cyan: rgb(35, 169, 209);
  --teal: rgb(69, 163, 191);
  --teal-2: rgb(0, 148, 160);
  --orange: rgb(218, 57, 21);
  --orange-2: rgb(255, 128, 72);
  --orange-shadow: rgb(196, 39, 4);
  --ink: rgb(17, 17, 17);
  --muted: rgb(107, 107, 107);
  --line: rgb(209, 209, 209);
  --bg: rgb(255, 255, 255);
  --bg-mint: rgb(239, 243, 245);
  --bg-cream: rgb(250, 252, 250);
  --bg-pale: rgb(222, 239, 239);
  --pill: rgb(231, 236, 244);
  --bg-light-blue: rgb(211, 227, 237);
  --bg-chip-red: rgb(242, 223, 223);
  --sans: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --serif: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --en: "Josefin Sans", "Inter", sans-serif;
  --num: "Inter", "Montserrat", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

/* スムーズスクロールと位置調整 */
html {
  scroll-behavior: smooth;
}

section[id] {
  /* ヘッダーの高さ + 余白分（約100px）を確保 */
  scroll-margin-top: 100px;
}
body {
  font-family: var(--sans);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
  letter-spacing: 0.04em;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.wrap-sm { max-width: 1024px; margin: 0 auto; padding: 0 32px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.site-header .inner {
  max-width: 1720px; margin: 0 auto; padding: 20px 40px;
  display: flex; align-items: center; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 14px; }
.logo-mark {
  width: 40px; height: 40px; position: relative; flex: none;
}
.logo-mark svg { width: 100%; height: 100%; display: block; }
.logo-text { font-weight: 700; font-size: 22px; letter-spacing: 0.08em; color: #1a1311; }
.logo-text .sub { font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: 0.12em; display: block; }
.site-nav { margin-left: auto; display: flex; gap: 28px; align-items: center; font-size: 14px; font-weight: 500; }
.site-nav a:hover { color: var(--blue-2); }
.nav-cta {
  background: linear-gradient(180deg, var(--orange-2), var(--orange));
  color: #fff; padding: 12px 22px; border-radius: 999px; font-weight: 700;
  box-shadow: 0 3px 0 var(--orange-shadow);
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 100px;
}
.hero .hero-inner {
  max-width: 1720px; margin: 0 auto; padding: 0 40px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center;
}
.hero-tags { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.hero-tag {
  background: var(--pill); color: var(--navy); font-size: 13px; font-weight: 700;
  padding: 8px 18px; border-radius: 999px; letter-spacing: 0.08em;
}
.hero h1 {
  font-size: clamp(36px, 4.8vw, 72px); line-height: 1.1; margin: 0 0 28px;
  color: var(--navy); letter-spacing: 0.04em; font-weight: 900;
}
.hero h1 .accent { color: var(--orange); }
.hero h1 .mark {
  background: linear-gradient(transparent 62%, rgba(255, 214, 163, 0.9) 62%);
  padding: 0 .05em;
}
.hero-subcopy {
  margin: 0 0 16px;
  color: var(--ink); font-weight: 600;
  font-size: clamp(14px, 1.3vw, 18px);
  letter-spacing: 0.08em;
  font-family: var(--serif);
}
.hero-subcopy .q { color: var(--orange); font-weight: 700; }
.hero p.lead {
  font-size: 17px; line-height: 2; color: var(--ink); margin: 0 0 40px; font-weight: 500;
}
.hero-visual {
  position: relative;
  aspect-ratio: 900/620;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(41,98,177,0.06), rgba(69,163,191,0.1));
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-visual .en-overlay {
  position: absolute; right: -10px; top: 24px; font-family: var(--en); font-weight: 700;
  font-size: clamp(48px, 7vw, 118px); color: rgba(41,98,177,0.08); line-height: 1; letter-spacing: 0.05em;
  pointer-events: none;
}
.stat-badge {
  position: absolute; top: 28px; left: 28px;
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgb(110, 172, 200) 0%, rgb(75, 145, 185) 45%, rgb(50, 115, 160) 100%);
  color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 14px 40px rgba(41,98,177,0.35);
  font-weight: 700;
  text-align: center;
  padding: 0 14px;
}
.stat-badge .top {
  font-size: 20px; letter-spacing: 0.06em; font-weight: 700;
  line-height: 1;
}
.stat-badge .num-row {
  display: flex; align-items: baseline; justify-content: center;
  margin: 6px 0 2px;
  line-height: 1;
}
.stat-badge .num {
  font-family: var(--num); font-size: 54px; line-height: 0.95; letter-spacing: -0.02em;
  font-weight: 700;
}
.stat-badge .unit {
  font-size: 16px; font-weight: 700; margin-left: 2px;
  line-height: 1;
}
.stat-badge .bottom {
  font-size: 18px; font-weight: 700; letter-spacing: 0.05em;
  margin-top: 10px;
  line-height: 1;
}

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 22px 56px; font-weight: 700; font-size: 24px; color: #fff;
  background: linear-gradient(180deg, var(--orange-2), var(--orange));
  border-radius: 999px; border: 0; cursor: pointer;
  box-shadow: 0 5px 0 var(--orange-shadow);
  transition: transform .15s ease, box-shadow .15s ease;
  letter-spacing: -0.02em;
}
.btn-primary:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--orange-shadow); }
.btn-primary::after {
  content: ""; width: 0; height: 0;
  border-left: 10px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent;
}
.hero .btn-primary { padding: 24px 40px; font-size: 28px; }
.hero-note { font-size: 14px; color: var(--ink); margin-top: 16px; }

/* ---------- section heads ---------- */
.sec-head { text-align: center; position: relative; padding-top: 60px; }
.sec-head .en {
  font-family: var(--en); font-weight: 700; letter-spacing: 0.02em; line-height: 1;
  font-size: clamp(88px, 12vw, 173px); color: rgba(0, 0, 0, 0.05);
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  white-space: nowrap;
}
.sec-head .eyebrow {
  position: relative; color: var(--navy); font-size: 18px; font-weight: 700;
  letter-spacing: 0.1em; margin: 0; display: inline-flex; align-items: center; gap: 18px;
}
.sec-head .eyebrow::before, .sec-head .eyebrow::after {
  content: ""; width: 40px; height: 2px; background: var(--navy);
}
.sec-head h2 {
  position: relative; font-size: clamp(32px, 3.6vw, 48px); font-weight: 700;
  color: var(--navy); margin: 16px 0 0; letter-spacing: 0.05em;
}
.sec-head .desc {
  position: relative; color: var(--ink); font-weight: 500; font-size: 17px;
  margin: 28px auto 0; max-width: 860px; line-height: 2;
}

/* ---------- Section: 悩み ---------- */
.sec-worries { padding: 100px 0 90px; background: linear-gradient(180deg, var(--bg-mint) 0%, var(--bg-pale) 100%); }
.sec-worries .title-center { text-align: center; margin-bottom: 40px; }
.pill-large {
  display: inline-block; background: linear-gradient(90deg, var(--blue), var(--teal));
  color: #fff; padding: 10px 40px; border-radius: 999px; font-weight: 700; font-size: 20px;
  letter-spacing: 0.05em;
}
.sec-worries h2 {
  font-size: clamp(28px, 3.2vw, 46px); color: var(--navy); font-weight: 700; margin: 22px 0 0;
}
.sec-worries p.sub { color: var(--ink); margin-top: 24px; font-weight: 500; }
.worry-list {
  max-width: 980px; margin: 50px auto 0; display: grid; gap: 18px;
}
.worry-row {
  background: #fff; border-radius: 14px; padding: 22px 28px; font-size: 18px; font-weight: 500;
  display: flex; gap: 18px; align-items: center; box-shadow: 0 3px 20px rgba(8,35,74,0.06);
}
.worry-row .dot {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(41,98,177,0.1); color: var(--blue); font-family: var(--en); font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex: none; font-size: 15px;
}
.worry-row .worry-hl {
  color: var(--orange);
  font-weight: 700;
}

/* ---------- Section: 解決 (dark image band) ---------- */
.sec-solve {
  position: relative; padding: 100px 0; overflow: hidden; color: #fff;
  background-image: linear-gradient(rgba(8, 35, 74, 0.8), rgba(8, 35, 74, 0.88)), url(./assets/worry-bg.jpg);
  background-size: cover; background-position: center;
}
.sec-solve .inner { max-width: 1100px; margin: 0 auto; padding: 0 32px; text-align: center; }
.sec-solve h2 {
  font-size: clamp(34px, 4vw, 56px); font-weight: 700; color: #fff; letter-spacing: 0.04em;
  margin: 28px 0 0; line-height: 1.5;
}
.sec-solve .arrows { margin-top: 28px; display: flex; justify-content: center; gap: 2px; flex-direction: column; align-items: center; }
.sec-solve .arrows::before, .sec-solve .arrows::after {
  content: ""; width: 0; height: 0;
  border-left: 36px solid transparent; border-right: 36px solid transparent;
  border-top: 18px solid #fff; border-radius: 2px; margin: 2px 0;
}

/* ---------- Section: REASON ---------- */
.sec-reason { padding: 100px 0 120px; position: relative; overflow: hidden; }
.reason-list {
  max-width: 1100px; margin: 70px auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px;
}
.reason-card {
  background: #fff; border: 1px solid rgba(0,0,0,0.06); border-radius: 16px;
  padding: 0 0 36px; position: relative;
  box-shadow: 0 4px 24px rgba(8,35,74,0.05);
  text-align: center;
}
.reason-photo {
  width: 100%; aspect-ratio: 16/10; background: #eef2f6;
  position: relative;
}
.reason-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  border-top-left-radius: 16px; border-top-right-radius: 16px;
}
.reason-card .reason-body { padding: 48px 32px 0; }
.reason-num {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
  font-family: var(--en); font-weight: 700; font-size: 72px;
  background: linear-gradient(180deg, var(--blue), var(--teal));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: 0.02em;
  line-height: 1;
  z-index: 2;
  pointer-events: none;
}
.reason-card h3 {
  color: var(--navy); font-size: 20px; margin: 8px 0 20px; line-height: 1.5;
  letter-spacing: 0;
}
.reason-card p { font-size: 15px; color: var(--ink); font-weight: 500; line-height: 1.9; text-align: left; }
.reason-icon {
  width: 72px; height: 72px; margin: 0 auto 18px;
  background: linear-gradient(140deg, rgba(41,98,177,0.1), rgba(69,163,191,0.15));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--blue);
}
.reason-icon svg { width: 32px; height: 32px; }

/* deco circles */
.deco-circle {
  position: absolute; border-radius: 50%; opacity: 0.5;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  filter: blur(40px); z-index: 0; pointer-events: none;
}

/* ---------- Section: 医療広告 (sec04) ---------- */
.sec-compliance {
  background: linear-gradient(180deg, #f2f5f8, #e8eef4);
  padding: 110px 0 120px; position: relative; overflow: hidden;
}
.compliance-title { text-align: center; max-width: 1000px; margin: 0 auto 60px; }
.compliance-title .eye { font-family: var(--serif); font-weight: 700; font-size: clamp(20px, 2vw, 30px); color: var(--ink); }
.compliance-title h2 {
  font-family: var(--serif); font-weight: 700; font-size: clamp(34px, 5vw, 58px); color: var(--ink);
  line-height: 1.4; margin: 16px 0 0; letter-spacing: 0.05em;
}
.compliance-title .divider { width: 72px; height: 2px; background: var(--navy); margin: 24px auto; }
.compliance-title .body { color: var(--ink); font-weight: 500; line-height: 2; }

.ng-section {
  max-width: 1024px; margin: 0 auto; background: #fff; border-radius: 16px;
  padding: 56px 72px; box-shadow: 0 6px 30px rgba(0,0,0,0.06);
}
.ng-section h3 {
  text-align: center; font-size: 26px; color: var(--navy); font-weight: 700;
  display: flex; align-items: center; gap: 24px; justify-content: center; margin: 0 0 20px;
}
.ng-section h3::before, .ng-section h3::after {
  content: ""; height: 1px; background: var(--navy); flex: 1; max-width: 120px;
}
.ng-list { border-top: 1px solid rgba(0,0,0,0.08); margin-top: 28px; }
.ng-row {
  display: grid; grid-template-columns: 44px 1fr auto; gap: 20px; align-items: center;
  padding: 22px 6px; border-bottom: 1px solid rgba(0,0,0,0.08);
}
.ng-mark {
  width: 40px; height: 40px; position: relative;
}
.ng-mark::before, .ng-mark::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 36px; height: 5px;
  background: #d3d8df; transform: translate(-50%, -50%) rotate(45deg);
}
.ng-mark::after { transform: translate(-50%, -50%) rotate(-45deg); }
.ng-row .phrase { font-weight: 700; font-size: 22px; color: var(--ink); }
.ng-row .tag {
  background: var(--bg-chip-red); color: var(--orange); font-weight: 700; font-size: 15px;
  padding: 10px 22px; border-radius: 6px; display: inline-flex; gap: 8px; align-items: center; white-space: nowrap;
}
.ng-row .tag::before {
  content: "!"; display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; background: var(--orange); color: #fff; border-radius: 50%;
  font-size: 14px; font-weight: 700;
}

.flow-wrap { max-width: 1100px; margin: 80px auto 0; }
.flow-wrap > h3 {
  text-align: center; font-size: 30px; color: var(--ink); font-weight: 700; margin: 0 0 14px;
}
.flow-wrap > p.lead {
  text-align: center; color: var(--ink); font-weight: 500; line-height: 2; margin: 0 auto 40px; max-width: 860px;
}
.flow-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch;
  position: relative;
}
.flow-step {
  background: var(--bg-light-blue); border-radius: 12px; padding: 28px 18px; text-align: center;
  position: relative;
}
.flow-step .icon-circle {
  width: 60px; height: 60px; border-radius: 50%; background: #fff;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 14px;
  color: var(--blue);
}
.flow-step .step-en {
  font-family: var(--en); font-weight: 700; color: rgba(28,90,173,0.6); letter-spacing: 0.1em; font-size: 14px;
}
.flow-step .step-label {
  font-weight: 700; color: var(--navy); font-size: 18px; margin-top: 6px;
}
.flow-step + .flow-step::before {
  content: "›"; position: absolute; top: 50%; left: -14px; transform: translateY(-50%);
  font-size: 28px; color: var(--blue); line-height: 1;
}
.compliance-note {
  text-align: center; max-width: 900px; margin: 30px auto 0;
  font-size: 13px; color: var(--muted); line-height: 1.9;
}

/* ---------- Section: WORKS / Sec05 ---------- */
.sec-works {
  background: linear-gradient(180deg, rgb(20, 71, 139) 0%, rgb(70, 116, 177) 100%);
  color: #fff; padding: 100px 0 0; position: relative; overflow: hidden;
}
.sec-works .inner-top { text-align: center; }
.sec-works .en {
  font-family: var(--en); font-weight: 700; color: rgba(255,255,255,0.14);
  font-size: clamp(90px, 13vw, 173px); line-height: 1; letter-spacing: 0.02em;
}
.sec-works .eyebrow { color: #fff; font-size: 20px; font-weight: 700; letter-spacing: 0.05em; margin-top: -0.6em; }
.sec-works h2 {
  font-size: clamp(34px, 4vw, 54px); color: #fff; font-weight: 700; margin: 16px 0 0; line-height: 1.4;
  letter-spacing: 0.05em;
}
.sec-works .desc { color: #fff; font-weight: 500; margin: 24px auto; max-width: 900px; }

.works-grid {
  max-width: 1300px; margin: 60px auto 0; padding: 0 32px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px;
}
.work-card {
  background: #fff; color: var(--ink); border-radius: 4px; padding: 14px; text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  display: flex; flex-direction: column;
}
.work-thumb {
  aspect-ratio: 4/5; background: repeating-linear-gradient(45deg, #eef2f6 0, #eef2f6 12px, #f6f9fc 12px, #f6f9fc 24px);
  border-radius: 2px; display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-family: ui-monospace, monospace; font-size: 12px;
  overflow: hidden;
}
.work-thumb:has(img) { background: #ddd; }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.work-card .name { font-weight: 500; font-size: 13px; color: var(--ink); margin-top: 14px; letter-spacing: 0.02em; white-space: nowrap; }
.work-card .hr { height: 1px; background: #e4e4e4; margin: 14px 0; }
.work-card .chip {
  background: var(--pill); color: var(--navy-dark); padding: 4px 14px; border-radius: 14px;
  font-size: 13px; font-weight: 500; display: inline-block;
  margin-top: auto; align-self: center;
}

/* dashboard */
/* ------- Dashboard (sec05 後半) ------- */
.dashboard-band {
  background: linear-gradient(180deg, rgb(239,245,248) 0%, rgb(220,235,237) 100%);
  padding: 90px 0 120px; margin-top: 0; position: relative;
}
.dashboard-band h3 {
  text-align: center; font-size: clamp(24px, 2.8vw, 38px); color: var(--teal-2);
  font-weight: 700; margin: 0; letter-spacing: 0.05em;
}
.dashboard-band .sub {
  text-align: center; color: var(--ink); font-weight: 500;
  margin: 16px auto 60px; max-width: 900px;
}
/* 3枚カード: 中央揃え (center card on viewport midline) */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 380px);
  gap: 24px;
  justify-content: center;
  max-width: 1240px; margin: 0 auto; padding: 0 16px;
}
.dash-card {
  background: #fff; border-radius: 2px;
  width: 380px; height: 307px;
  padding: 20px 24px 18px;
  position: relative; box-shadow: 0 6px 20px rgba(0, 30, 80, 0.08);
}
/* 3枚横並びの最小: 380×3 + 24×2 + 16×2 = 1188px. 1188px未満で2列 */
@media (max-width: 1187px) {
  .dashboard-grid { grid-template-columns: repeat(2, 380px); }
}
@media (max-width: 800px) {
  .dashboard-grid { grid-template-columns: 380px; }
}
@media (max-width: 420px) {
  .dashboard-grid { grid-template-columns: 1fr; }
  .dash-card { width: 100%; max-width: 380px; margin: 0 auto; }
}
/* ヘッダ: 左に teal の縦バー + 医院名/指標 */
.dash-card .head {
  display: grid; grid-template-columns: 2px 1fr; gap: 10px;
  align-items: start;
}
.dash-card .head .bar {
  background: var(--teal-2); width: 2px; height: 44px; margin-top: 4px;
}
.dash-card .head .name {
  font-size: 13px; color: var(--ink); font-weight: 500;
  letter-spacing: 0.05em; line-height: 1.4;
}
.dash-card .head .metric {
  font-size: 18px; color: var(--teal-2); font-weight: 700;
  letter-spacing: 0.05em; margin-top: 2px; line-height: 1.2;
}

/* ボディ: Before(小) / 矢印 / After(大) の3列グリッド */
.dash-card .body {
  display: grid; grid-template-columns: auto auto 1fr;
  align-items: center; gap: 12px;
  padding-left: 70px;       /* ドクターイラスト分をよける */
  margin-top: 24px;
}
.dash-card .bb {
  display: flex; flex-direction: column; align-items: flex-start;
}
.dash-card .bb .lbl {
  font-family: var(--en); font-weight: 700; letter-spacing: 0.08em;
  color: rgba(0,0,0,0.4); font-size: 13px;
}
.dash-card .bb.big .lbl { color: rgba(0,0,0,0.5); font-size: 14px; }

.dash-card .bb .row { display: flex; align-items: baseline; margin-top: 4px; }
.dash-card .bb.small .v {
  font-family: var(--num); font-weight: 400; color: var(--ink);
  font-size: 26px; line-height: 1;
}
.dash-card .bb.small .u {
  font-family: var(--num); font-weight: 500; font-size: 12px;
  color: var(--navy); margin-left: 2px;
}
.dash-card .bb.big .v {
  font-family: var(--num); font-weight: 400; color: var(--teal-2);
  font-size: 58px; line-height: 1;
}
.dash-card .bb.big .u {
  font-family: var(--num); font-weight: 700; font-size: 16px;
  color: var(--navy); margin-left: 4px;
}
.dash-card .bb.small.text .v { font-size: 22px; color: var(--ink); }

/* Before→After 下向き矢印 (small inline) */
.dash-card .arrow-down {
  width: 22px; height: auto; align-self: center;
  margin-top: 18px;
}
.dash-card .arrow-down img { width: 100%; height: auto; display: block; }

/* ドクターイラスト (左下) */
.dash-card .doctor {
  position: absolute; left: 8px; bottom: 10px;
  width: 78px; height: auto;
  pointer-events: none; user-select: none;
}
.dash-card .doctor img { width: 100%; height: auto; display: block; }

/* After → Balloon カーブ矢印 (右上に向かう) */
.dash-card .arrow-curve {
  position: absolute;
  width: 46px; height: auto;
  right: 100px; top: 118px;
  pointer-events: none;
}
.dash-card .arrow-curve img { width: 100%; height: auto; display: block; }

/* フキダシ (青グラデ・円形) */
.dash-card .balloon {
  position: absolute; top: 80px; right: 10px;
  width: 106px; height: 106px;
  background: url('./assets/dash-balloon.png') center/contain no-repeat;
  color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; line-height: 1;
  padding-bottom: 8px;
}
.dash-card .balloon .big {
  font-family: var(--num); font-weight: 700; font-size: 26px;
  letter-spacing: 0.02em;
}
.dash-card .balloon .small {
  font-size: 15px; margin-top: 4px; letter-spacing: 0.04em; font-weight: 700;
}
.dash-card .balloon.jp .big { font-family: var(--sans); font-size: 22px; }

@media (max-width: 1240px) {
  .dashboard-grid { max-width: 820px; }
}
@media (max-width: 820px) {
  .dashboard-grid { max-width: 400px; }
}

/* ===== Card 1 (東デンタル) 新レイアウト ===== */
.dash-card.v2 .body {
  display: block;
  padding-left: 56px;
  padding-right: 24px;
  padding-top: 0;
  margin-top: 20px;
  position: relative;
}
.dash-card.v2 .bb-before {
  display: flex; align-items: baseline; gap: 14px;
}
.dash-card.v2 .bb-before .lbl {
  font-family: var(--en); font-weight: 700; letter-spacing: 0.08em;
  color: rgba(0,0,0,0.38); font-size: 14px;
}
.dash-card.v2 .bb-before .v {
  font-family: var(--num); font-weight: 400; color: var(--ink);
  font-size: 30px; line-height: 1;
}
.dash-card.v2 .bb-before .u {
  font-family: var(--num); font-weight: 700; font-size: 13px;
  color: var(--navy); margin-left: 2px;
}
.dash-card.v2 .mid-arrow {
  width: 24px; margin: 8px 0 0 76px;
}
.dash-card.v2 .mid-arrow img { width: 100%; height: auto; display: block; }
.dash-card.v2 .bb-after {
  margin-top: 6px;
}
.dash-card.v2 .bb-after .lbl {
  font-family: var(--en); font-weight: 700; letter-spacing: 0.08em;
  color: rgba(0,0,0,0.42); font-size: 16px;
  display: block;
}
.dash-card.v2 .bb-after .row {
  display: flex; align-items: baseline; margin-top: 2px;
}
.dash-card.v2 .bb-after .v {
  font-family: var(--num); font-weight: 400; color: var(--teal-2);
  font-size: 78px; line-height: 1; letter-spacing: -0.02em;
}
.dash-card.v2 .bb-after .u {
  font-family: var(--num); font-weight: 700; font-size: 22px;
  color: var(--navy); margin-left: 4px;
}
.dash-card.v2 .balloon {
  top: 80px; right: 10px;
}

/* After を横並びに (西川歯科医院様カード) */
.dash-card.v2.inline-after .bb-after {
  display: flex; align-items: baseline; gap: 14px;
  margin-top: 4px;
}
.dash-card.v2.inline-after .bb-after .lbl {
  display: inline; margin: 0;
}
.dash-card.v2.inline-after .bb-after .v { font-size: 96px; line-height: 1; }

/* ---------- Section: 事例 CASE ---------- */
.sec-case {
  padding: 110px 0; position: relative; overflow: hidden;
  background: #fff;
}
.case-head {
  text-align: center; max-width: 820px; margin: 0 auto;
}
.case-head .en { font-family: var(--en); font-size: clamp(100px, 13vw, 173px); color: rgba(0,0,0,0.05); font-weight: 700; line-height: 1; }
.case-head .eyebrow { color: var(--navy-dark); font-weight: 700; font-size: 20px; margin-top: -0.5em; letter-spacing: 0.05em; }
.case-head h2 { color: var(--navy); font-weight: 700; font-size: clamp(32px, 3.6vw, 50px); margin: 18px 0 0; letter-spacing: 0.05em; }

.case-scroller {
  max-width: 1100px; margin: 60px auto 40px; padding: 0 32px;
  position: relative;
}
.case-track-viewport {
  width: 940px; max-width: 100%;
  overflow: hidden;
  margin: 0 auto;
}
.case-track {
  display: flex;
  will-change: transform;
}
.case-track.animating { transition: transform .5s cubic-bezier(.4, .0, .2, 1); }
.case-card {
  flex: 0 0 100%;
  width: 940px; max-width: 100%; height: 366px;
  background: transparent; padding: 0;
  display: grid; grid-template-columns: 460px 1fr; gap: 40px;
  box-shadow: none; align-items: center;
}
.case-thumb {
  width: 460px; height: 366px;
  aspect-ratio: auto; border-radius: 0; overflow: visible; background: transparent;
  display: flex; align-items: center; justify-content: center;
}
.case-thumb img {
  width: 100%; height: 100%; object-fit: contain; object-position: center;
}
.case-card .case-body { display: flex; flex-direction: column; justify-content: center; height: 100%; }
.case-card .chip {
  display: inline-block;
  background: rgb(226, 238, 234);
  color: rgb(41, 106, 89);
  padding: 6px 22px; border-radius: 4px;
  font-size: 14px; font-weight: 500;
  align-self: flex-start;
  margin-bottom: 24px;
  letter-spacing: 0.08em;
}
.case-card h3 {
  font-weight: 700; font-size: 26px; color: var(--ink);
  margin: 0 0 20px; letter-spacing: 0.05em;
}
.case-card p {
  font-size: 15px; line-height: 2; color: var(--ink);
  font-weight: 500; margin: 0;
}

/* Slider arrows */
.case-arrow {
  position: absolute;
  top: calc(60px + 183px); /* margin-top + half of 366 */
  width: 52px; height: 52px; border-radius: 50%;
  background: rgb(12, 42, 82);
  border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 4px 14px rgba(12, 42, 82, 0.25);
  transition: background .2s ease, transform .15s ease;
  z-index: 3;
  transform: translateY(-50%);
}
.case-arrow:hover { background: rgb(20, 58, 108); }
.case-arrow:active { transform: translateY(-50%) scale(0.96); }
.case-arrow.prev { left: 0; }
.case-arrow.next { right: 0; }
.case-arrow svg { width: 14px; height: 14px; display: block; }

.case-dots {
  display: flex; gap: 10px; justify-content: center; margin-top: 28px;
}
.case-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(12, 42, 82, 0.2); border: 0; padding: 0; cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.case-dot.active { background: rgb(12, 42, 82); transform: scale(1.15); }

@media (max-width: 980px) {
  .case-card { width: 100%; height: auto; grid-template-columns: 1fr; gap: 24px; padding: 0 8px; }
  .case-thumb { width: 100%; height: auto; aspect-ratio: 460/366; }
  .case-arrow { top: 200px; width: 44px; height: 44px; }
  .case-arrow.prev { left: 4px; }
  .case-arrow.next { right: 4px; }
}
.case-cta { text-align: center; margin-top: 30px; }

/* ---------- Section: PLAN ---------- */
.sec-plan {
  background: linear-gradient(180deg, #e9edf1, #dde3eb); padding: 110px 0 120px;
  position: relative; overflow: hidden;
}
.sec-plan .en-bg {
  font-family: var(--en); font-weight: 700; font-size: clamp(120px, 16vw, 195px);
  color: rgba(255,255,255,0.5); mix-blend-mode: overlay; position: absolute; top: 70px; left: 50%;
  transform: translateX(-50%); line-height: 1; letter-spacing: 0.02em; pointer-events: none;
}
.plans { max-width: 1050px; margin: 60px auto 0; padding: 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.plan-card {
  background: #fff; border-radius: 10px; padding: 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08); position: relative;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.plan-card .head {
  padding: 26px 28px 30px; text-align: center; color: #fff;
}
.plan-card.semi .head {
  background: linear-gradient(180deg, #7ec9d1, #0094A0);
}
.plan-card.full .head {
  background: linear-gradient(180deg, #1e3a7a, #0b1a45);
}
.plan-card .kicker { font-family: var(--en); font-weight: 700; color: rgba(255,255,255,0.9); font-size: 14px; letter-spacing: 0.14em; display: block; }
.plan-card .name { font-size: 28px; color: #fff; font-weight: 700; margin: 6px 0 0; letter-spacing: 0.08em; }
.plan-card .body { padding: 44px 36px 36px; }
.plan-card .price {
  display: flex; align-items: baseline; gap: 4px; margin-bottom: 36px;
  justify-content: center;
}
.plan-card .price .n { font-family: "Inter", sans-serif; font-size: 64px; font-weight: 700; color: var(--ink); line-height: 1; letter-spacing: -0.02em; }
.plan-card .price .u { font-family: "Inter", "Zen Kaku Gothic New", sans-serif; font-weight: 700; font-size: 18px; color: var(--ink); }
.plan-card .price .u .slash { font-size: 14px; font-weight: 500; }
.plan-card.semi .price .n { color: #0094A0; }
.plan-card.semi .price .u { color: #0094A0; }
.plan-card.full .price .n { color: #063360; }
.plan-card.full .price .u { color: #063360; }
.plan-card .feat {
  border-top: 1px solid rgba(0,0,0,0.1); padding: 20px 4px;
  display: grid; grid-template-columns: 180px 1fr; gap: 16px; align-items: baseline;
  font-size: 15px;
}
.plan-card .feat .k { color: var(--muted); font-weight: 500; }
.plan-card .feat .v { color: var(--ink); font-weight: 700; }
.plan-card .feat .v .sub { display: block; font-size: 12px; font-weight: 500; color: var(--muted); margin-top: 4px; }
.plan-card .feat:last-of-type { border-bottom: 1px solid rgba(0,0,0,0.1); }
.plan-note {
  max-width: 1050px; margin: 20px auto 0; padding: 0 32px;
  text-align: right; font-size: 12px; color: var(--muted); line-height: 2;
}

.plan-common {
  max-width: 1100px; margin: 40px auto 0; padding: 0 32px;
}
.plan-common .box {
  background: #E8F4EC;
  border-radius: 14px;
  padding: 52px 56px;
}
.plan-common h3 {
  text-align: center; font-size: 24px; color: var(--navy); font-weight: 700;
  margin: 0 0 36px; letter-spacing: 0.05em;
}
.plan-common ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 24px;
}
.plan-common li {
  background: #fff;
  border-radius: 10px;
  padding: 18px 20px;
  min-height: 76px;
  font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.6;
  display: flex; gap: 12px; align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  font-family: var(--sans);
}
.plan-common li::before {
  content: ""; width: 14px; height: 8px;
  border-left: 2.5px solid var(--blue-2); border-bottom: 2.5px solid var(--blue-2);
  transform: rotate(-45deg) translateY(-2px);
  flex: none;
}
.plan-cta { text-align: center; margin-top: 40px; }

/* ---------- CTA micro-copy (shared) ---------- */
.cta-micro-copy {
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; color: var(--ink);
  margin: 0 0 16px;
  letter-spacing: 0.05em;
}
.cta-micro-copy::before,
.cta-micro-copy::after {
  content: "";
  width: 30px; height: 2px;
  background: var(--ink);
}
.cta-micro-copy::before { transform: rotate(45deg); margin-right: 15px; }
.cta-micro-copy::after { transform: rotate(-45deg); margin-left: 15px; }

/* ---------- Section: FLOW / プロセス ---------- */
.sec-flow { padding: 120px 0; position: relative; overflow: hidden; }
.flow-timeline {
  max-width: 1024px; margin: 60px auto 0; padding: 0 32px;
  display: flex; flex-direction: column; gap: 22px;
}
.ftl-row {
  display: grid; grid-template-columns: 130px 220px 1fr; gap: 24px; align-items: center;
  position: relative;
}
.ftl-row .num-wrap { text-align: right; }
.ftl-row .num-wrap .en { font-family: var(--en); font-weight: 700; color: var(--teal-2); font-size: 14px; letter-spacing: 0.1em; }
.ftl-row .num-wrap .dot {
  width: 88px; height: 88px; border-radius: 50%;
  background: linear-gradient(145deg, var(--blue), var(--teal));
  color: #fff; font-family: var(--en); font-weight: 700; font-size: 32px;
  display: flex; align-items: center; justify-content: center; margin-left: auto;
  margin-top: 4px;
}
.ftl-row .label { font-weight: 700; font-size: 24px; color: var(--navy); }
.ftl-row .value { background: var(--bg-mint); padding: 18px 24px; border-radius: 4px; color: var(--ink); font-size: 15px; font-weight: 500; line-height: 1.9; min-height: 60px; display: flex; align-items: center; }
.ftl-row + .ftl-row::before {
  content: ""; position: absolute; top: -18px; left: 87px; width: 2px; height: 18px; background: var(--line);
}

/* ---------- Section: SUPPORT ---------- */
.sec-trust {
  padding: 100px 0; text-align: center; color: #fff;
  background-image: linear-gradient(rgba(1, 21, 47, 0.74), rgba(1, 21, 47, 0.78)), url(./assets/support-bg.jpg);
  background-size: cover; background-position: center;
}
.sec-trust h2 {
  font-size: clamp(28px, 3.8vw, 48px); font-weight: 700; line-height: 1.5; color: #fff;
  margin: 0 0 24px; letter-spacing: 0.05em;
}
.sec-trust p { font-size: 17px; line-height: 2; font-weight: 500; max-width: 1000px; margin: 0 auto 40px; }
.chip-grid {
  max-width: 1020px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 18px 22px; justify-content: center;
}
.chip-grid .chip-lg {
  background: #fff; color: var(--navy); padding: 12px 28px; border-radius: 999px;
  font-weight: 700; font-size: 17px; letter-spacing: 0.05em;
}

/* ---------- Section: SUPPORT services ---------- */
.sec-support {
  padding: 110px 0; position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--bg-mint), var(--bg-pale));
}
.support-card-wrap { max-width: 1240px; margin: 60px auto 0; padding: 0 32px; display: flex; flex-direction: column; gap: 34px; }
.support-card {
  background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  display: grid; grid-template-columns: 360px 1fr;
}
.support-card .left {
  color: #fff; padding: 60px 50px; display: flex; flex-direction: column; gap: 24px;
}
.support-card.seo .left { background: linear-gradient(180deg, rgb(118,165,190), rgb(76,160,168)); }
.support-card.ad .left { background: linear-gradient(180deg, rgb(127,151,198), rgb(67,132,172)); }
.support-card .left .t { font-size: 36px; font-weight: 900; letter-spacing: 0.05em; }
.support-card .left .desc { font-size: 18px; font-weight: 500; line-height: 1.9; letter-spacing: 0.05em; }
.support-card .right {
  padding: 46px 50px; display: flex; flex-direction: column; gap: 26px;
}
.support-card .group-label {
  font-weight: 700; font-size: 17px; color: var(--navy); border-left: 4px solid rgba(41,98,177,0.25); padding-left: 14px;
}
.support-card .right p { margin: 0; font-size: 15px; line-height: 2; color: var(--ink); font-weight: 500; }

/* ---------- Section: QA ---------- */
.sec-qa { padding: 120px 0; position: relative; overflow: hidden; background: #fff; }
.qa-list { max-width: 1024px; margin: 60px auto 0; padding: 0 32px; display: flex; flex-direction: column; gap: 16px; }
.qa-item { border-radius: 6px; background: rgb(242,245,248); overflow: hidden; }
.qa-q {
  display: grid; grid-template-columns: 60px 1fr 40px; align-items: center; padding: 22px 28px;
  gap: 14px; cursor: pointer; user-select: none;
}
.qa-q .mark { font-family: var(--en); font-weight: 700; color: var(--blue-2); font-size: 32px; }
.qa-q .q { font-weight: 700; font-size: 20px; color: var(--navy); line-height: 1.5; }
.qa-q .toggle {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(0,0,0,0.12);
  position: relative; flex: none;
}
.qa-q .toggle::before, .qa-q .toggle::after {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: #fff; transition: transform .25s ease;
}
.qa-q .toggle::before { width: 14px; height: 2px; }
.qa-q .toggle::after { width: 2px; height: 14px; }
.qa-item.open .qa-q .toggle { background: var(--blue); }
.qa-item.open .qa-q .toggle::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.qa-a {
  max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease;
  padding: 0 28px 0 86px;
}
.qa-item.open .qa-a { max-height: 600px; padding: 0 28px 26px 86px; }
.qa-a p { margin: 0; font-size: 15px; line-height: 2; color: var(--ink); font-weight: 500; }
.qa-note { text-align: center; color: var(--ink); font-weight: 500; margin-top: 40px; }

/* ---------- CTA ---------- */
.sec-cta {
  background: linear-gradient(180deg, rgb(213,224,237), rgb(198,225,227));
  padding: 100px 0; position: relative; overflow: hidden;
}
.cta-bg-text {
  position: absolute; top: 40px; left: 50%; transform: translateX(-50%);
  font-family: var(--en); font-weight: 700;
  font-size: clamp(80px, 10vw, 140px);
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.08em; line-height: 1;
  white-space: nowrap; pointer-events: none;
  z-index: 0;
}
.cta-inner {
  max-width: 900px; margin: 0 auto; padding: 0 32px;
  position: relative; z-index: 1;
}
.cta-inner h2 {
  position: relative; z-index: 1; text-align: center;
  font-size: clamp(24px, 2.4vw, 34px); color: var(--navy); font-weight: 700;
  margin: 0 0 40px;
}
.cta-contact-row {
  display: flex; justify-content: center; align-items: center; gap: 40px; flex-wrap: wrap;
}
.cta-phone { background: transparent; }
.cta-phone .lbl { font-weight: 700; color: var(--ink); font-size: 15px; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.cta-phone .lbl::before {
  content: "📞"; filter: grayscale(1);
}
.cta-phone .number { font-family: var(--num); font-size: clamp(36px, 4.2vw, 56px); font-weight: 700; color: var(--navy); letter-spacing: 0.02em; line-height: 1.2; white-space: nowrap; }
.cta-phone .hours { font-size: 13px; color: var(--muted); }
.cta-contact-row .btn-primary { padding: 22px 40px; font-size: 22px; justify-content: center; }

/* ---------- Footer ---------- */
footer { background: rgb(37, 53, 75); color: #fff; padding: 48px 32px; text-align: center; font-size: 13px; letter-spacing: 0.05em; }
footer .fnav { margin-bottom: 20px; font-size: 13px; }
footer .fnav a { margin: 0 12px; opacity: .8; }
footer .copy { opacity: 0.6; font-family: var(--num); font-weight: 500; }

/* responsive */
@media (max-width: 960px) {
  .hero .hero-inner { grid-template-columns: 1fr; }
  .reason-list { grid-template-columns: 1fr; gap: 52px; }
  .works-grid, .dashboard-grid, .plans { grid-template-columns: 1fr; }
  .case-card { grid-template-columns: 1fr; }
  .flow-steps { grid-template-columns: repeat(2, 1fr); }
  .plan-common ul { grid-template-columns: repeat(2, 1fr); }
  .support-card { grid-template-columns: 1fr; }
  .ftl-row { grid-template-columns: 88px 1fr; }
  .ftl-row .value { grid-column: 1 / -1; }
  .site-nav { display: none; }
  .ng-section { padding: 36px 22px; }
  .ng-row { grid-template-columns: 36px 1fr; }
  .ng-row .tag { grid-column: 2; }
}
