:root {
  --blue: #2B7FCC;
  --blue-dark: #1F5C99;
  --blue-soft: #E8F2FB;
  --green: #7AC76A;
  --green-soft: #EFF8EC;
  --yellow: #F5A623;
  --orange: #F5A623;
  --coral: #E85D5D;
  --ink: #1A1A1A;
  --ink2: #4A4A4A;
  --muted: #5f6f80;
  --line: #d9e8f4;
  --card: #ffffff;
  --bg: #FFFFFF;
  --cream: #FFFBF0;
  --shadow: 0 16px 42px rgba(31, 92, 153, .11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  line-height: 1.7;
  /* === Japanese typography optimization === */
  word-break: keep-all;
  line-break: strict;
  overflow-wrap: break-word;
  background:
    radial-gradient(circle at 8% 20%, rgba(245, 166, 35, .1), transparent 10rem),
    radial-gradient(circle at 96% 10%, rgba(43, 127, 204, .12), transparent 14rem),
    linear-gradient(180deg, var(--bg) 0%, var(--cream) 48%, var(--blue-soft) 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  position: fixed;
  z-index: -2;
  content: "";
  pointer-events: none;
}

body::before {
  inset: 0;
  background: url("assets/botanical-bg.png") center top / cover no-repeat;
  opacity: .14;
  filter: hue-rotate(334deg) saturate(.82) brightness(1.04);
}

body::after {
  display: none;
}

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

/* === Japanese line-break / wrap rules === */
h1, h2, h3 {
  text-wrap: balance;
}

p, .lead, .section-lead, blockquote, li {
  text-wrap: pretty;
}

.pillar p,
.voice-card p,
.pain-card p,
.process-step p,
.story-card p,
.deliverable-card p,
.flow-card p,
.blog-card h3,
.pillar-note,
.voice-disclaimer,
.results-disclaimer,
.deliverable-note,
.extras-note,
.blog-note,
.pain-bridge p {
  word-break: keep-all;
  line-break: strict;
  overflow-wrap: break-word;
}

/* voice-card のフォントを少し下げて行ごとの文字数を増やす */
.voice-card p {
  font-size: 14px;
  line-height: 1.85;
}

/* voice grid を 3列 → 2列にしてカードを広げる（PC幅のみ） */
@media (min-width: 981px) {
  .voice-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ぶら下げ句読点：行末の「。」「、」を行外にずらして改行位置を整える */
p, li, .lead, .section-lead {
  hanging-punctuation: allow-end;
}

/* pillar p の本文を少し小さくして1行あたり文字数を稼ぎ、カタカナ語の途中改行を回避 */
.pillar p {
  font-size: 12.5px !important;
  line-height: 1.85 !important;
  padding-right: 2px;
}

/* process-step も狭すぎるので本文をやや小さく */
.process-step p {
  font-size: 12px !important;
  line-height: 1.75 !important;
}

/* H1 末尾「。」のぶら下がり防止：設計図。を一体化 */
.hero h1 span {
  display: inline-block;
  white-space: nowrap;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 68px);
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid rgba(219, 232, 245, .8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--blue-dark);
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-logo {
  display: block;
  width: auto;
  height: 42px;
  max-width: min(315px, 52vw);
  flex: 0 1 auto;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: clamp(14px, 2.4vw, 34px);
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  color: #244066;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  white-space: nowrap;
}

.header-cta,
.button.primary {
  background: linear-gradient(180deg, #ffd83d, var(--yellow));
  color: #142847;
  box-shadow: 0 10px 22px rgba(255, 196, 0, .28);
}

.button.secondary {
  color: var(--blue);
  background: #fff;
  border-color: #9bc7ff;
}

.section,
.section-band {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 50px 0;
}

.section-band {
  position: relative;
  border-radius: 0;
}

.section::before,
.contact-area::before {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero {
  display: block;
  width: 100%;
  min-height: 590px;
  padding: 64px max(20px, calc((100vw - 1120px) / 2)) 36px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  height: auto;
  content: "";
  background: linear-gradient(90deg, rgba(255,255,255,.82) 0%, rgba(255,255,255,.58) 34%, rgba(255,255,255,0) 56%);
  border-radius: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-visual img,
.support-art,
.step-visual {
  filter: hue-rotate(334deg) saturate(.9) brightness(1.03);
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(540px, 50vw);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-dark);
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.22;
  letter-spacing: 0;
}

.hero h1 span {
  color: var(--blue);
  font-size: 1.18em;
  letter-spacing: .08em;
}

.lead {
  max-width: 520px;
  margin: 18px 0 0;
  color: #384d69;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  filter: none;
}

.floating-card {
  position: absolute;
  display: grid;
  gap: 3px;
  min-width: 136px;
  padding: 13px 15px;
  color: var(--ink);
  background: rgba(255, 255, 255, .93);
  border: 1px solid rgba(219, 232, 245, .9);
  border-radius: 12px;
  box-shadow: 0 14px 28px rgba(31, 76, 122, .13);
  z-index: 2;
}

.floating-card small {
  color: #38506e;
  font-size: 12px;
  font-weight: 900;
}

.floating-card strong {
  color: var(--blue-dark);
  font-size: 24px;
  line-height: 1.1;
}

.floating-card strong span {
  font-size: 13px;
}

.rank-card {
  left: calc(50% + 20px);
  bottom: 118px;
}

.rank-card strong {
  color: var(--green);
}

.access-card {
  left: calc(50% + 180px);
  bottom: 86px;
}

.route-card {
  right: max(28px, calc((100vw - 1120px) / 2 + 8px));
  top: 185px;
}

.route-card span {
  position: relative;
  padding-left: 14px;
  color: #48607d;
  font-size: 12px;
  font-weight: 800;
}

.route-card span::before {
  position: absolute;
  left: 0;
  top: .65em;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--blue);
  border-radius: 50%;
}

.mini-bars {
  display: block;
  width: 70px;
  height: 28px;
  margin-top: 2px;
  background: linear-gradient(90deg, transparent 0 8%, #d9e9fb 9% 20%, transparent 21% 31%, #9ad084 32% 44%, transparent 45% 55%, #54b45b 56% 70%, transparent 71% 80%, var(--green) 81% 94%, transparent 95%);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  width: min(1120px, calc(100% - 40px));
  margin: -4px auto 18px;
}

.metrics article,
.flow-card,
.reason,
.support-grid article,
.result-grid article,
.plan,
.contact-form,
.faq,
.profile {
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(219, 232, 245, .9);
  box-shadow: var(--shadow);
}

.metrics article {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  min-height: 82px;
  padding: 14px 16px;
  border-radius: 12px;
}

.metrics p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.metrics strong {
  grid-column: 2;
  color: var(--blue);
  font-size: 29px;
  line-height: 1;
  white-space: nowrap;
}

.metrics strong span {
  margin-left: 3px;
  font-size: 18px;
}

.metric-icon,
.circle-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--blue-soft);
  object-fit: cover;
}

.metrics .metric-icon {
  grid-row: 1 / 3;
}

.metric-icon.people {
  background: radial-gradient(circle at 32% 34%, #73a9ff 0 18%, transparent 19%), radial-gradient(circle at 62% 34%, #2d82f2 0 18%, transparent 19%), linear-gradient(#d8ebff 0 0);
}

.metric-icon.bars,
.circle-icon.chart {
  background: linear-gradient(90deg, transparent 16%, #6fc36e 17% 28%, transparent 29% 40%, #29a846 41% 54%, transparent 55% 66%, #1269dc 67% 82%, transparent 83%), var(--blue-soft);
}

.metric-icon.heart {
  background: radial-gradient(circle at 34% 38%, #ff6b5c 0 20%, transparent 21%), radial-gradient(circle at 64% 38%, #ff6b5c 0 20%, transparent 21%), linear-gradient(45deg, transparent 38%, #ff6b5c 39% 63%, transparent 64%), #fff1ef;
}

.metric-icon.medal {
  background: radial-gradient(circle, #ffbd2e 0 34%, transparent 35%), linear-gradient(135deg, transparent 45%, #ff7b22 46% 58%, transparent 59%), #fff4dc;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 24px;
  text-align: center;
}

.section-heading h2,
.profile h2,
.faq h2,
.contact-form h2 {
  margin: 0;
  color: var(--blue-dark);
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.35;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

#flow,
#features,
.results,
.plans {
  position: relative;
}

#flow::before,
.results::before,
.plans::before {
  inset: 0 calc(50% - 50vw) auto;
  height: 150px;
  background: linear-gradient(110deg, rgba(255, 246, 232, .8), rgba(234, 245, 255, .72));
  border-radius: 0 0 50% 50% / 0 0 34% 34%;
  z-index: -1;
}

.flow-card {
  position: relative;
  min-height: 250px;
  padding: 18px;
  border-radius: 14px;
}

.flow-card > span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  font-weight: 900;
  background: var(--blue);
  border-radius: 50%;
}

.flow-card:nth-child(2) > span,
.flow-card:nth-child(4) > span {
  background: var(--green);
}

.flow-card:nth-child(3) > span {
  background: var(--orange);
}

.flow-card h3 {
  margin: 12px 0 10px;
  font-size: 16px;
}

.flow-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.step-visual {
  width: 100%;
  height: 88px;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(219, 232, 245, .72);
  border-radius: 10px;
}

.mini-browser,
.screen-chart,
.growth-line {
  height: 72px;
  border: 1px solid #d4e4f4;
  border-radius: 10px;
  background:
    linear-gradient(#ebf4ff 0 14px, transparent 15px),
    repeating-linear-gradient(0deg, transparent 0 15px, #2d82f2 16px 20px, transparent 21px 25px),
    #fff;
}

.sprout {
  position: relative;
  height: 72px;
}

.sprout::before {
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 8px;
  height: 42px;
  content: "";
  background: #7abf4b;
  border-radius: 999px;
}

.sprout::after {
  position: absolute;
  left: 38%;
  top: 16px;
  width: 54px;
  height: 44px;
  content: "";
  background: radial-gradient(ellipse at 28% 60%, #73c85d 0 32%, transparent 33%), radial-gradient(ellipse at 72% 32%, #40a845 0 30%, transparent 31%);
}

.screen-chart {
  background:
    linear-gradient(135deg, transparent 42%, rgba(18, 105, 220, .85) 43% 47%, transparent 48%),
    linear-gradient(90deg, rgba(255, 196, 0, .55) 0 26%, transparent 27%),
    #f7fbff;
}

.growth-line {
  background:
    linear-gradient(145deg, transparent 43%, var(--green) 44% 48%, transparent 49%),
    radial-gradient(circle at 72% 22%, var(--green) 0 5%, transparent 6%),
    #f7fbff;
}

.profile {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 34px;
  width: min(1120px, calc(100% - 40px));
  margin: 26px auto 34px;
  padding: 30px;
  border-radius: 18px;
}

.profile-photo {
  align-self: center;
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center 28%;
  border-radius: 14px;
}

.profile-copy .roman {
  margin: 4px 0 18px;
  color: var(--blue);
  font-weight: 900;
  letter-spacing: .12em;
}

.profile-copy p:last-child {
  margin-bottom: 0;
  color: #30445f;
  font-weight: 700;
}

.profile-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.profile-stats div {
  padding: 18px 16px 0;
  text-align: center;
}

.profile-stats strong {
  color: var(--blue);
  font-size: 34px;
}

.profile-stats span {
  color: var(--blue);
  font-weight: 900;
}

.profile-stats p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.reason-grid,
.result-grid,
.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.reason,
.result-grid article,
.plan {
  border-radius: 16px;
  padding: 26px;
}

.reason {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  min-height: 230px;
}

.reason::after {
  display: none;
}

.reason ul,
.reason h3,
.reason .reason-lead,
.reason .reason-tag {
  position: relative;
  z-index: 1;
  max-width: none;
}

.reason-tag {
  align-self: flex-start;
  padding: 5px 12px;
  background: rgba(43, 127, 204, .12);
  color: var(--blue-dark, #1d5a99);
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: .12em;
  border-radius: 999px;
}

.reason.green .reason-tag {
  background: rgba(122, 199, 106, .18);
  color: #2f7d33;
}

.reason.orange .reason-tag {
  background: rgba(245, 166, 35, .18);
  color: #b04e0a;
}

.reason-lead {
  margin: 0;
  color: var(--ink, #1f2530);
  font-size: 14.5px;
  line-height: 1.85;
  font-weight: 500;
}

.reason-figure {
  margin: 8px 0 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(31, 92, 153, .12);
  background: #f6faff;
}

.reason-figure img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

@media (max-width: 980px) {
  .reason-figure img {
    height: 180px;
  }
}

@media (max-width: 640px) {
  .reason-figure img {
    height: 160px;
  }
}

.reason.green {
  background: linear-gradient(135deg, #fff, var(--green-soft));
}

.reason.orange {
  background: linear-gradient(135deg, #fff, #fff1e7);
}

.reason h3,
.support-grid h3,
.result-grid h3 {
  margin: 0 0 16px;
}

ul {
  padding-left: 0;
  list-style: none;
}

li {
  position: relative;
  padding-left: 24px;
  margin: 8px 0;
  color: #38506e;
  font-weight: 700;
}

li::before {
  position: absolute;
  left: 0;
  top: .45em;
  width: 10px;
  height: 10px;
  content: "";
  background: var(--green);
  border-radius: 50%;
}

.support-section {
  position: relative;
  overflow: hidden;
  padding-bottom: 84px;
}

.support-section::after {
  position: absolute;
  right: calc(50% - 56vw);
  top: 10px;
  width: 260px;
  height: 260px;
  content: "";
  background: rgba(232, 247, 255, .85);
  border-radius: 44% 56% 48% 52%;
  z-index: -1;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.support-grid article {
  min-height: 166px;
  padding: 20px;
  border-radius: 16px;
}

.support-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.circle-icon {
  display: block;
  margin-bottom: 16px;
  border-radius: 50%;
  background-color: var(--blue);
  box-shadow: 0 8px 18px rgba(18, 105, 220, .12);
}

.circle-icon.search {
  background: radial-gradient(circle at 44% 42%, transparent 0 24%, #fff 25% 32%, transparent 33%), linear-gradient(45deg, transparent 58%, #fff 59% 66%, transparent 67%), var(--blue);
}

.circle-icon.doc {
  background: linear-gradient(#fff 24%, transparent 25% 34%, #fff 35% 42%, transparent 43% 52%, #fff 53% 60%, transparent 61%), var(--blue);
}

.circle-icon.link {
  background: radial-gradient(circle at 36% 46%, transparent 0 19%, #fff 20% 28%, transparent 29%), radial-gradient(circle at 64% 46%, transparent 0 19%, #fff 20% 28%, transparent 29%), var(--blue);
}

.circle-icon.shield {
  background: linear-gradient(135deg, transparent 32%, #fff 33% 45%, transparent 46%), var(--blue);
}

.support-art {
  position: absolute;
  right: 8px;
  bottom: -12px;
  width: 162px;
  opacity: .94;
  pointer-events: none;
  z-index: 0;
  filter: drop-shadow(0 10px 18px rgba(24, 70, 120, .08));
}

.support-grid,
.support-section .section-heading {
  position: relative;
  z-index: 1;
}

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

.result-grid article {
  min-height: 260px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .82)),
    url("assets/case-clinic-family.png") center bottom / 112% auto no-repeat;
}

.result-grid p {
  margin: 0 0 8px;
  color: #314867;
  font-weight: 800;
}

.result-grid strong {
  display: block;
  color: var(--green);
  font-size: 34px;
  line-height: 1.2;
}

.result-grid span {
  display: block;
  margin: 8px 0 14px;
  color: #59708e;
  font-weight: 800;
}

.plans {
  padding-top: 28px;
}

.plan-grid {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 410px;
  padding-top: 34px;
}

.plan.featured {
  border: 2px solid var(--blue);
  transform: translateY(-10px);
}

.badge {
  position: absolute;
  top: -16px;
  right: 18px;
  margin: 0;
  padding: 6px 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  background: var(--blue);
  border-radius: 999px;
}

.crown {
  position: absolute;
  left: 24px;
  top: 20px;
  width: 28px;
  height: 22px;
  background:
    radial-gradient(circle at 15% 22%, #ffd43d 0 12%, transparent 13%),
    radial-gradient(circle at 50% 7%, #ffd43d 0 13%, transparent 14%),
    radial-gradient(circle at 85% 22%, #ffd43d 0 12%, transparent 13%),
    linear-gradient(135deg, transparent 0 15%, #ffc400 16% 72%, transparent 73%),
    linear-gradient(45deg, transparent 0 15%, #ffc400 16% 72%, transparent 73%);
}

.crown::after {
  position: absolute;
  left: 3px;
  right: 3px;
  bottom: 0;
  height: 6px;
  content: "";
  background: #ffb300;
  border-radius: 3px;
}

.plan-name {
  margin: 0 0 8px;
  color: var(--blue-dark);
  font-weight: 900;
  text-align: center;
}

.plan h3 {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 34px;
  text-align: center;
}

.plan h3 span {
  font-size: 15px;
}

.plan .button {
  margin-top: auto;
}

.note {
  margin: 18px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.contact-area {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 28px;
  align-items: start;
  width: 100%;
  padding: 70px max(20px, calc((100vw - 1120px) / 2)) 275px;
  overflow: hidden;
}

.contact-area::before {
  inset: 30px calc(50% - 50vw) 0;
  background:
    radial-gradient(circle at 8% 72%, rgba(255, 196, 0, .12), transparent 8rem),
    radial-gradient(circle at 94% 24%, rgba(18, 105, 220, .12), transparent 11rem),
    linear-gradient(180deg, rgba(255,255,255,0), rgba(232,247,255,.9));
  border-radius: 46% 54% 0 0 / 10% 10% 0 0;
  z-index: -2;
}

.footer-landscape {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 260px;
  pointer-events: none;
  background: url("assets/footer-landscape.png") center bottom / cover no-repeat;
  opacity: 1;
}

.faq,
.contact-form {
  border-radius: 18px;
  padding: 28px;
}

.faq h2,
.contact-form h2 {
  font-size: 24px;
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  cursor: pointer;
  color: #244066;
  font-weight: 800;
}

summary::after {
  content: "+";
  color: var(--blue);
  font-size: 22px;
  line-height: 1;
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: -4px 0 18px;
  color: var(--muted);
  font-weight: 700;
}

.consultant-card {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding: 16px;
  border-radius: 14px;
  background: #f7fbff;
}

.consultant-card img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  object-position: center 32%;
  border-radius: 18px;
}

.consultant-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.consultant-card strong {
  color: var(--blue-dark);
  font-size: 22px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  border: 2px solid #9bc7ff;
}

.form-head,
.wide {
  grid-column: 1 / -1;
}

.form-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.form-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.75;
}

label {
  color: #244066;
  font-size: 14px;
  font-weight: 900;
}

label span,
.form-head span {
  color: #ef3f35;
}

input,
select {
  width: 100%;
  height: 50px;
  margin-top: 8px;
  padding: 0 16px;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

/* ===== Brand stack (header) ===== */
.brand-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 16px;
}

.brand-by {
  font-size: 11px;
  font-weight: 700;
  color: #5d7088;
  letter-spacing: .04em;
}

/* ===== Hero additions ===== */
.micro {
  margin: 8px 0 0;
  color: #5d7088;
  font-size: 12px;
  font-weight: 700;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.hero-tags li {
  padding: 6px 12px;
  margin: 0;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(18, 105, 220, .25);
  border-radius: 999px;
}

.hero-tags li::before {
  display: none;
}

/* ===== Section lead ===== */
.section-lead {
  margin: 12px auto 0;
  color: #38506e;
  font-size: 14px;
  font-weight: 700;
}

/* ===== Story (SVストーリー) ===== */
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 8px;
}

.story-card {
  position: relative;
  padding: 26px 22px 22px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(219, 232, 245, .9);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.story-num {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
  color: #fff;
  font-weight: 900;
  background: var(--blue);
  border-radius: 50%;
}

.story-card:nth-child(2) .story-num {
  background: var(--green);
}

.story-card:nth-child(3) .story-num {
  background: var(--orange);
}

.story-card h3 {
  margin: 6px 0 10px;
  font-size: 18px;
  color: var(--blue-dark);
}

.story-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.story-result {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
  padding: 22px 26px;
  background: linear-gradient(120deg, var(--blue-soft), var(--green-soft));
  border-radius: 18px;
}

.story-result-headline {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  color: var(--blue-dark);
}

.story-result-metrics {
  display: flex;
  gap: 18px;
}

.story-result-metrics div {
  flex: 1;
  padding: 14px 12px;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(18, 105, 220, .08);
}

.story-result-metrics strong {
  display: block;
  color: var(--blue-dark);
  font-size: 15px;
}

.story-result-metrics span {
  display: inline-block;
  margin-top: 4px;
  color: var(--green);
  font-size: 22px;
  font-weight: 900;
}

.story-balloon {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 18px;
  text-align: center;
  color: var(--blue-dark);
  font-weight: 900;
  background: #fff;
  border-radius: 999px;
  border: 2px dashed rgba(18, 105, 220, .35);
}

/* ===== Profile additions (PV削除版・bullets/quote) ===== */
.profile-name {
  margin: 6px 0 0;
  font-size: 32px;
  font-weight: 900;
  color: var(--blue-dark);
  letter-spacing: .04em;
}

.profile-title {
  margin: 6px 0 14px;
  color: var(--blue);
  font-weight: 900;
  font-size: 14px;
}

.profile-bullets {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.profile-bullets li {
  padding-left: 22px;
  margin: 4px 0;
  color: #38506e;
  font-size: 13px;
  font-weight: 700;
}

.profile-bullets li::before {
  width: 8px;
  height: 8px;
  background: var(--blue);
  top: .55em;
}

.profile-quote {
  margin: 16px 0;
  padding: 14px 18px;
  color: var(--blue-dark);
  font-size: 15px;
  font-weight: 900;
  background: var(--blue-soft);
  border-left: 4px solid var(--blue);
  border-radius: 8px;
}

/* ===== Filter (波長フィルタ) ===== */
.filter-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
}

.filter-card {
  padding: 26px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(219, 232, 245, .9);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.filter-card h3 {
  margin: 0 0 14px;
  padding-bottom: 10px;
  font-size: 18px;
  border-bottom: 2px solid var(--line);
}

.filter-fit h3 {
  color: var(--green);
  border-color: rgba(33, 169, 72, .3);
}

.filter-nofit h3 {
  color: var(--orange);
  border-color: rgba(255, 123, 34, .3);
}

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

.filter-list li {
  padding-left: 28px;
  margin: 8px 0;
  color: #38506e;
  font-weight: 700;
}

.filter-list-fit li::before {
  content: "✓";
  position: absolute;
  left: 4px;
  top: 0;
  width: auto;
  height: auto;
  color: var(--green);
  font-size: 16px;
  font-weight: 900;
  background: transparent;
  border-radius: 0;
}

.filter-list-nofit li::before {
  content: "✕";
  position: absolute;
  left: 4px;
  top: 0;
  width: auto;
  height: auto;
  color: var(--orange);
  font-size: 16px;
  font-weight: 900;
  background: transparent;
  border-radius: 0;
}

.filter-memo {
  margin: 18px 0 0;
  padding: 14px 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  background: var(--cream);
  border-radius: 12px;
}

/* ===== Pillars (5商品) ===== */
.pillars-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px;
}

.pillars-grid .pillar {
  grid-column: span 2;
}

.pillars-grid .pillar:nth-child(4) {
  grid-column: 2 / span 2;
}

.pillars-grid .pillar:nth-child(5) {
  grid-column: 4 / span 2;
}

.pillar {
  position: relative;
  padding: 28px 24px 24px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(219, 232, 245, .9);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.pillar-no {
  position: absolute;
  top: 14px;
  right: 16px;
  color: rgba(43, 127, 204, .22);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .04em;
}

.pillar h3 {
  margin: 14px 0 10px;
  color: var(--blue-dark);
  font-size: 17px;
  line-height: 1.45;
}

.pillar h3 small {
  display: inline-block;
  margin-left: 4px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
}

.pillar p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.9;
}

.pillar-core {
  border: 2px solid var(--blue);
  background: linear-gradient(180deg, #fff, var(--blue-soft));
}

.pillar-main {
  border-top: 4px solid var(--green);
}

.pillar-note {
  margin: 22px auto 0;
  max-width: 760px;
  padding: 14px 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  background: var(--cream);
  border-radius: 8px;
}

/* ===== Results extras ===== */
.result-unit {
  font-size: 18px;
  font-weight: 800;
}

.results-disclaimer {
  margin: 22px auto 0;
  max-width: 760px;
  padding: 12px 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  background: rgba(255, 255, 255, .8);
  border: 1px dashed var(--line);
  border-radius: 10px;
}

/* ===== Plans 4-column ===== */
.plan-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.plan-spot {
  border: 2px solid var(--orange);
  background: linear-gradient(180deg, #fff, var(--cream));
}

.plan-spot h3,
.plan-spot .plan-name {
  color: #b04e0a;
}

.plan h3 small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.plan-name small {
  font-size: 12px;
  font-weight: 800;
}

.plan-desc {
  margin: 14px 0 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  line-height: 1.75;
}

/* ===== Form additions (textarea / consent) ===== */
textarea {
  width: 100%;
  margin-top: 8px;
  padding: 12px 16px;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  resize: vertical;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}

.consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
}

.consent-text a {
  color: var(--blue);
  text-decoration: underline;
}

.form-foot {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

/* ===== Footer ===== */
.site-footer {
  position: relative;
  margin-top: 0;
  padding: 0;
  color: #5d7088;
  background: #fff;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 40px 0 24px;
}

.footer-brand-name {
  margin: 0;
  color: var(--blue-dark);
  font-size: 18px;
  font-weight: 900;
}

.footer-brand-by {
  margin: 4px 0 12px;
  color: #5d7088;
  font-size: 12px;
  font-weight: 700;
}

.footer-tagline {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.footer-heading {
  margin: 0 0 10px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
}

.footer-company-list,
.footer-link-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-company-list li,
.footer-link-list li {
  padding: 0;
  margin: 4px 0;
  font-size: 13px;
  font-weight: 700;
  color: #5d7088;
}

.footer-company-list li::before,
.footer-link-list li::before {
  display: none;
}

.footer-link-list a {
  color: var(--blue);
  text-decoration: underline;
}

.footer-copy {
  display: block;
  padding: 16px 20px 24px;
  color: #5d7088;
  font-weight: 800;
  text-align: center;
  border-top: 1px solid var(--line);
}

footer {
  padding: 28px 20px;
  color: #5d7088;
  font-weight: 800;
  text-align: center;
  background: #fff;
}

/* ===== Pain points (お悩み喚起) ===== */
.pain-section {
  position: relative;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 8px;
}

.pain-card {
  position: relative;
  padding: 22px 22px 18px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(219, 232, 245, .9);
  border-left: 4px solid var(--orange);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(31, 76, 122, .08);
}

.pain-num {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
}

.pain-card h3 {
  margin: 0 0 8px;
  color: var(--blue-dark);
  font-size: 15px;
  line-height: 1.5;
}

.pain-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
}

.pain-bridge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 28px 0 0;
  padding: 22px 28px;
  background: linear-gradient(120deg, var(--blue-soft), #fff);
  border: 1px solid rgba(18, 105, 220, .25);
  border-radius: 14px;
}

.pain-bridge p {
  margin: 0;
  color: var(--blue-dark);
  font-weight: 800;
}

.pain-bridge strong {
  color: var(--blue);
}

/* ===== Compare table (vs他社) ===== */
.compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  font-size: 13px;
}

.compare-table thead th {
  padding: 14px 12px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-weight: 900;
  font-size: 13px;
  vertical-align: middle;
  border-bottom: 1px solid var(--line);
}

.compare-table thead .compare-us {
  background: linear-gradient(180deg, var(--blue), var(--blue-dark));
  color: #fff;
}

.compare-table tbody th {
  padding: 14px 12px;
  background: #f7fbff;
  color: var(--blue-dark);
  font-weight: 800;
  text-align: left;
  font-size: 13px;
  white-space: nowrap;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.compare-table tbody td {
  padding: 14px 12px;
  color: #38506e;
  font-weight: 700;
  text-align: center;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  vertical-align: middle;
}

.compare-table tbody td:last-child,
.compare-table tbody th:last-child {
  border-right: 0;
}

.compare-table tbody tr:last-child td,
.compare-table tbody tr:last-child th {
  border-bottom: 0;
}

.compare-table tbody .compare-us {
  background: rgba(18, 105, 220, .06);
  color: var(--blue-dark);
  font-weight: 800;
}

.compare-mark {
  display: inline-block;
  margin-right: 4px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.compare-mark.good { color: var(--green); }
.compare-mark.ok   { color: var(--blue); }
.compare-mark.mid  { color: var(--orange); }
.compare-mark.dash { color: var(--muted); }

.compare-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

/* ===== Compare section illustration refresh ===== */
.compare-section {
  position: relative;
  overflow: hidden;
}

.compare-section::before {
  position: absolute;
  left: max(14px, calc((100vw - 1120px) / 2));
  top: 94px;
  width: 150px;
  height: 150px;
  content: "";
  background:
    radial-gradient(ellipse at 30% 30%, rgba(139, 194, 122, .14) 0 18%, transparent 19%),
    radial-gradient(ellipse at 65% 50%, rgba(43, 127, 204, .10) 0 16%, transparent 17%),
    radial-gradient(ellipse at 46% 74%, rgba(255, 194, 82, .12) 0 15%, transparent 16%);
  pointer-events: none;
}

.compare-visual {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 0 auto 24px;
}

.compare-visual img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(43, 127, 204, .16);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(31, 92, 153, .1);
}

.compare-table-wrap {
  position: relative;
  z-index: 1;
  padding: 14px;
  background:
    linear-gradient(rgba(43,127,204,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,127,204,.045) 1px, transparent 1px),
    rgba(255, 255, 255, .72);
  background-size: 24px 24px, 24px 24px, auto;
  border: 1px solid rgba(43, 127, 204, .14);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(31, 92, 153, .08);
}

.compare-table {
  border-color: rgba(43, 127, 204, .14);
  border-radius: 8px;
  box-shadow: none;
}

.compare-table thead th {
  background: #f4f9fd;
  border-color: rgba(43, 127, 204, .14);
}

.compare-table thead .compare-us {
  color: var(--blue-dark);
  background: linear-gradient(180deg, #eff8ec, #dff2d8);
  border-top: 4px solid var(--green);
}

.compare-table tbody th {
  background: #f8fbfe;
  border-color: rgba(43, 127, 204, .12);
}

.compare-table tbody td {
  border-color: rgba(43, 127, 204, .12);
}

.compare-table tbody .compare-us {
  background: rgba(239, 248, 236, .68);
}

.compare-mark {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-right: 7px;
  font-size: 14px;
  background: rgba(255, 255, 255, .88);
  border: 1px solid currentColor;
  border-radius: 50%;
}

.compare-note {
  width: fit-content;
  max-width: min(100%, 720px);
  margin: 16px auto 0;
  padding: 10px 16px;
  background: rgba(255, 251, 240, .86);
  border: 1px solid rgba(255, 194, 82, .18);
  border-radius: 8px;
}

/* ===== Deliverables ===== */
.deliverable-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.deliverable-card {
  padding: 22px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(219, 232, 245, .9);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.deliverable-thumb {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  height: 130px;
  margin-bottom: 16px;
  padding: 14px;
  background: linear-gradient(135deg, var(--blue-soft), #fff);
  border: 1px solid rgba(18, 105, 220, .15);
  border-radius: 10px;
  overflow: hidden;
}

.deliverable-thumb-label {
  position: absolute;
  top: 10px;
  left: 12px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.deliverable-thumb-line {
  height: 6px;
  background: linear-gradient(90deg, var(--blue) 0%, transparent 80%);
  border-radius: 3px;
  opacity: .7;
}

.deliverable-thumb-line.wide { background: linear-gradient(90deg, var(--blue) 0%, transparent 95%); }

.deliverable-thumb-bar {
  height: 18px;
  background: var(--blue);
  border-radius: 4px;
  opacity: .85;
}

.deliverable-thumb-bar.bar1 { width: 40%; background: var(--green); }
.deliverable-thumb-bar.bar2 { width: 60%; }
.deliverable-thumb-bar.bar3 { width: 80%; background: var(--orange); }

.deliverable-thumb-blueprint { background: linear-gradient(135deg, var(--blue-soft), #fff); }
.deliverable-thumb-report    { background: linear-gradient(135deg, var(--green-soft), #fff); }
.deliverable-thumb-article   { background: linear-gradient(135deg, #fff6e8, #fff); }

.deliverable-card h3 {
  margin: 0 0 8px;
  color: var(--blue-dark);
  font-size: 16px;
}

.deliverable-card p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
}

.deliverable-freq {
  display: inline-block;
  padding: 4px 10px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  background: var(--blue-soft);
  border-radius: 999px;
}

.deliverable-note {
  margin: 18px auto 0;
  max-width: 640px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

/* ===== Voices (院長の声) ===== */
.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.voice-card {
  position: relative;
  margin: 0;
  padding: 26px 22px 20px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(219, 232, 245, .9);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.voice-card::before {
  position: absolute;
  top: 8px;
  left: 16px;
  content: "“";
  color: var(--blue);
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  opacity: .25;
}

.voice-card p {
  margin: 0 0 14px;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.85;
}

.voice-card footer {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.voice-disclaimer {
  margin: 18px auto 0;
  max-width: 640px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

/* ===== Extras (プラン外費用) ===== */
.extras-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.extras-card {
  padding: 24px 26px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(219, 232, 245, .9);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.extras-not-included {
  border-top: 4px solid var(--orange);
}

.extras-options {
  border-top: 4px solid var(--blue);
}

.extras-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--blue-dark);
  font-size: 17px;
}

.extras-tag {
  display: inline-block;
  padding: 3px 10px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  background: var(--orange);
  border-radius: 999px;
}

.extras-tag.option {
  background: var(--blue);
}

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

.extras-card li {
  padding: 10px 0 10px 24px;
  margin: 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13px;
  font-weight: 700;
  color: #38506e;
}

.extras-card li:last-child {
  border-bottom: 0;
}

.extras-card li::before {
  width: 8px;
  height: 8px;
  background: var(--blue);
  top: 1.1em;
  left: 6px;
}

.extras-not-included li::before { background: var(--orange); }

.extras-card strong {
  color: var(--blue-dark);
}

.extras-note {
  margin: 18px auto 0;
  max-width: 720px;
  padding: 12px 18px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  background: var(--cream);
  border-radius: 10px;
}

/* ===== Process (契約までの流れ) ===== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-step {
  position: relative;
  padding: 24px 18px 20px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(219, 232, 245, .9);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin: 0;
}

.process-step::before {
  display: block;
  position: absolute;
  top: 18px;
  right: 18px;
  width: 30px;
  height: 30px;
  content: "";
  background:
    linear-gradient(var(--blue-dark), var(--blue-dark)) center / 14px 3px no-repeat,
    linear-gradient(var(--blue-dark), var(--blue-dark)) center / 3px 14px no-repeat,
    var(--blue-soft);
  border: 1px solid rgba(43, 127, 204, .22);
  border-radius: 8px;
}

.process-step:not(:last-child)::after {
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  content: "→";
  color: var(--blue);
  font-size: 22px;
  font-weight: 900;
  z-index: 1;
}

.process-num {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
  color: #fff;
  font-weight: 900;
  background: var(--blue);
  border-radius: 50%;
}

.process-step:nth-child(2) .process-num { background: #2d82f2; }
.process-step:nth-child(3) .process-num { background: var(--green); }
.process-step:nth-child(4) .process-num { background: var(--orange); }
.process-step:nth-child(5) .process-num { background: var(--blue-dark); }

.process-step h3 {
  margin: 4px 0 8px;
  color: var(--blue-dark);
  font-size: 15px;
}

.process-step p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.8;
}

.process-time {
  display: inline-block;
  padding: 3px 10px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  background: var(--blue-soft);
  border-radius: 999px;
}

/* ===== Quota banner (残り枠) ===== */
.quota-section {
  width: min(1120px, calc(100% - 40px));
  margin: 50px auto;
}

.quota-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 28px 36px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  border-radius: 16px;
  box-shadow: 0 18px 38px rgba(18, 60, 124, .25);
}

.quota-text {
  flex: 1 1 480px;
}

.quota-text .eyebrow {
  margin: 0 0 6px;
  color: var(--yellow);
  font-size: 12px;
  letter-spacing: .12em;
}

.quota-text h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.3;
}

.quota-text p {
  margin: 0;
  color: rgba(255, 255, 255, .9);
  font-size: 13px;
  font-weight: 700;
}

/* ===== Blog (記事サンプル導線) ===== */
.blog-section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 60px;
}

.blog-guides-banner {
  margin: 0 0 24px;
  padding: 16px 24px;
  background: linear-gradient(135deg, #eaf2fc 0%, #f5faff 100%);
  border: 1px solid #d4e4f5;
  border-radius: 12px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
}
.blog-guides-banner a {
  color: #2a6fbd;
  text-decoration: none;
}
.blog-guides-banner a:hover {
  color: #1a4f8e;
  text-decoration: underline;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.blog-card {
  padding: 0 0 16px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(219, 232, 245, .9);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.blog-thumb {
  display: flex;
  align-items: flex-end;
  height: 130px;
  padding: 14px;
  background: linear-gradient(135deg, var(--blue-soft), #fff);
}

.blog-thumb-1 { background: linear-gradient(135deg, #b5d6ff, var(--blue-soft)); }
.blog-thumb-2 { background: linear-gradient(135deg, #c1ecbb, var(--green-soft)); }
.blog-thumb-3 { background: linear-gradient(135deg, #ffd8b5, #fff6e8); }
.blog-thumb-4 { background: linear-gradient(135deg, #f5c4d6, #fde6f1); }
.blog-thumb-5 { background: linear-gradient(135deg, #f5e0a8, #fff4d4); }
.blog-thumb-6 { background: linear-gradient(135deg, #a8d8d8, #e6f4f4); }
.blog-thumb-7 { background: linear-gradient(135deg, #d8c4f0, #efe7fb); }
.blog-thumb-8 { background: linear-gradient(135deg, #c4dff0, #e7f1fb); }
.blog-thumb-9 { background: linear-gradient(135deg, #c4ecd5, #e7f5ed); }
.blog-thumb-10 { background: linear-gradient(135deg, #b8c5e0, #e2e7f2); }

.blog-thumb-tag {
  padding: 4px 10px;
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 900;
  background: rgba(255, 255, 255, .9);
  border-radius: 999px;
}

.blog-card .blog-tag {
  margin: 14px 18px 6px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.blog-card h3 {
  margin: 0 18px 10px;
  color: var(--blue-dark);
  font-size: 15px;
  line-height: 1.55;
}

.blog-status {
  display: inline-block;
  margin: 0 18px;
  padding: 3px 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  background: #f1f5fa;
  border-radius: 999px;
}

.blog-note {
  margin: 18px auto 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

/* ===== Footer extensions ===== */
.footer-inner {
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.footer-badges li {
  padding: 4px 10px;
  margin: 0;
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 800;
  background: var(--blue-soft);
  border: 1px solid rgba(18, 105, 220, .2);
  border-radius: 999px;
}

.footer-badges li::before {
  display: none;
}

.footer-service-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-service-list li {
  padding: 0;
  margin: 6px 0;
  font-size: 13px;
  font-weight: 700;
  color: #5d7088;
}

.footer-service-list li::before {
  display: none;
}

.footer-service-list strong {
  color: var(--blue-dark);
  font-weight: 900;
  margin-right: 4px;
}

.footer-service-list a {
  color: var(--blue);
  text-decoration: underline;
}

/* ===== Mobile / tablet adjustments for new sections ===== */
@media (max-width: 980px) {
  .story-grid,
  .filter-grid,
  .extras-grid {
    grid-template-columns: 1fr;
  }

  .pain-grid,
  .deliverable-grid,
  .voice-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .pillars-grid .pillar,
  .pillars-grid .pillar:nth-child(4),
  .pillars-grid .pillar:nth-child(5) {
    grid-column: auto;
  }

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

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .process-step:not(:last-child)::after {
    display: none;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .story-result {
    grid-template-columns: 1fr;
  }

  .compare-table {
    min-width: 720px;
  }

  .quota-banner {
    flex-direction: column;
    text-align: center;
    padding: 24px 22px;
  }
}

@media (max-width: 640px) {
  .pillars-grid,
  .plan-grid-4,
  .footer-inner,
  .pain-grid,
  .deliverable-grid,
  .voice-grid,
  .blog-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .hero-tags li {
    font-size: 11px;
    padding: 5px 10px;
  }

  .pain-bridge {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .hero {
    min-height: 560px;
    padding-top: 44px;
    padding-bottom: 28px;
  }

  .hero-copy {
    width: min(390px, 48vw);
  }

  .hero h1 {
    font-size: clamp(38px, 5.4vw, 52px);
  }

  .lead {
    max-width: 390px;
    font-size: 15px;
  }

  .hero-actions {
    gap: 12px;
    margin-top: 22px;
  }

  .floating-card {
    transform: scale(.74);
    transform-origin: center;
  }

  .rank-card {
    left: 50%;
    bottom: 114px;
  }

  .access-card {
    left: 64%;
    bottom: 82px;
  }

  .route-card {
    right: 18px;
    top: 168px;
  }

  .metrics,
  .flow-grid,
  .support-grid,
  .result-grid,
  .plan-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .metrics,
  .flow-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }

  .metrics article {
    grid-template-columns: 34px 1fr;
    padding: 12px;
  }

  .metric-icon {
    width: 32px;
    height: 32px;
  }

  .metrics p {
    font-size: 10px;
  }

  .metrics strong {
    font-size: 25px;
  }

  .flow-card {
    min-height: 224px;
    padding: 12px;
  }

  .flow-card h3 {
    font-size: 13px;
    margin: 10px 0 8px;
  }

  .flow-card p {
    font-size: 11px;
  }

  .step-visual {
    height: 76px;
  }

  .profile,
  .contact-area {
    grid-template-columns: 1fr;
  }

  .support-art {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 18px;
  }

  .brand {
    font-size: 14px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 15px;
    font-size: 13px;
  }

  .nav {
    justify-content: flex-start;
    font-size: 13px;
  }

  .section,
  .section-band,
  .metrics,
  .profile {
    width: min(100% - 28px, 1120px);
  }

  .hero.section-band {
    width: 100%;
  }

  .hero {
    min-height: 680px;
    padding: 34px 20px 260px;
    background: #fff;
  }

  .hero-copy {
    width: min(100%, 430px);
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.9) 46%, rgba(255,255,255,0) 72%);
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-visual {
    inset: auto 0 0;
    height: 360px;
  }

  .hero-visual img {
    height: 100%;
    object-position: 68% center;
  }

  .floating-card {
    display: none;
  }

  .metrics,
  .flow-grid,
  .reason-grid,
  .support-grid,
  .result-grid,
  .plan-grid,
  .contact-form,
  .profile-stats {
    grid-template-columns: 1fr;
  }

  .profile {
    padding: 20px;
  }

  .profile-photo {
    height: 260px;
  }

  .plan.featured {
    transform: none;
  }

  .form-head {
    display: block;
  }
}

/* ===== Design direction pass: blueprint, roadmap, document previews ===== */
:root {
  --blueprint-grid: rgba(43, 127, 204, .12);
  --surface: rgba(255, 255, 255, .96);
  --surface-blue: rgba(232, 242, 251, .72);
}

.section {
  padding-block: 72px;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading h2 {
  letter-spacing: 0;
}

#flow,
#features,
.support-section,
.deliverables-section,
.plans,
.process-section {
  width: 100%;
  padding-inline: max(20px, calc((100vw - 1120px) / 2));
}

#flow,
.support-section,
.plans {
  background:
    linear-gradient(var(--blueprint-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--blueprint-grid) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, .86), rgba(232, 242, 251, .36));
  background-size: 28px 28px, 28px 28px, auto;
}

#flow .section-heading,
.support-section .section-heading,
.deliverables-section .section-heading,
.process-section .section-heading {
  max-width: 920px;
  margin-inline: 0 auto;
  text-align: left;
}

#flow .section-heading h2,
.support-section .section-heading h2,
.deliverables-section .section-heading h2,
.process-section .section-heading h2 {
  max-width: 760px;
}

#flow .section-heading::after,
.support-section .section-heading::after,
.deliverables-section .section-heading::after,
.process-section .section-heading::after {
  display: block;
  width: 72px;
  height: 4px;
  margin-top: 18px;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--green));
  border-radius: 999px;
}

.flow-grid {
  position: relative;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  max-width: 1120px;
  margin-inline: auto;
}

.flow-grid::before {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 33px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--green), var(--yellow), var(--blue-dark));
  opacity: .7;
}

.flow-card {
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.flow-card > span {
  position: relative;
  z-index: 1;
  width: 66px;
  height: 66px;
  margin-bottom: 20px;
  color: var(--blue-dark);
  font-family: "Inter", sans-serif;
  font-size: 22px;
  background: #fff;
  border: 2px solid var(--blue);
  box-shadow: 0 12px 26px rgba(31, 92, 153, .14);
}

.flow-card:nth-child(2) > span,
.flow-card:nth-child(4) > span,
.flow-card:nth-child(3) > span {
  background: #fff;
}

.flow-card:nth-child(2) > span { border-color: var(--green); }
.flow-card:nth-child(3) > span { border-color: var(--yellow); }
.flow-card:nth-child(4) > span { border-color: var(--blue-dark); }

.flow-card h3,
.flow-card p {
  max-width: 230px;
}

.flow-card h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.45;
}

.flow-card p {
  color: var(--ink2);
  font-size: 13.5px;
  line-height: 1.85;
}

.flow-card .step-visual {
  height: 126px;
  margin: 0 0 16px;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(31, 92, 153, .12);
}

.profile {
  border-radius: 8px;
  box-shadow: 0 22px 56px rgba(31, 92, 153, .12);
}

.reason-grid {
  grid-template-columns: 1.06fr .94fr;
}

.reason {
  border-radius: 8px;
}

.support-section {
  position: relative;
}

.pillars-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  max-width: 1120px;
  margin-inline: auto;
}

.pillars-grid::before {
  position: absolute;
  inset: 44px 17% 44px 17%;
  content: "";
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(43, 127, 204, .28) 0 calc(50% + 1px), transparent 0),
    linear-gradient(transparent calc(50% - 1px), rgba(43, 127, 204, .28) 0 calc(50% + 1px), transparent 0);
  pointer-events: none;
}

.pillars-grid .pillar {
  grid-column: span 4;
  min-height: 260px;
  background: var(--surface);
}

.pillars-grid .pillar:nth-child(1) {
  grid-column: 1 / span 5;
  grid-row: 1 / span 2;
}

.pillars-grid .pillar:nth-child(2) {
  grid-column: 6 / span 3;
}

.pillars-grid .pillar:nth-child(3) {
  grid-column: 9 / span 4;
}

.pillars-grid .pillar:nth-child(4) {
  grid-column: 6 / span 3;
}

.pillars-grid .pillar:nth-child(5) {
  grid-column: 9 / span 4;
}

.pillar {
  overflow: hidden;
  border-radius: 8px;
}

.pillar::after {
  position: absolute;
  right: -42px;
  bottom: -42px;
  width: 118px;
  height: 118px;
  content: "";
  background: radial-gradient(circle, rgba(122, 199, 106, .2), transparent 66%);
}

.pillar-core {
  padding: 34px 30px;
  background:
    linear-gradient(var(--blueprint-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--blueprint-grid) 1px, transparent 1px),
    linear-gradient(180deg, #fff, var(--blue-soft));
  background-size: 22px 22px, 22px 22px, auto;
}

.pillar-core h3 {
  font-size: 23px;
}

.pillar-core p {
  font-size: 14.5px;
}

.pillar-note {
  max-width: 920px;
  margin-top: 28px;
  border: 1px solid rgba(245, 166, 35, .28);
}

.support-art {
  max-width: 260px;
  margin: 34px 0 0 auto;
  opacity: .86;
}

.deliverables-section {
  background: linear-gradient(180deg, #fff, rgba(255, 251, 240, .72));
}

.deliverable-grid {
  align-items: stretch;
}

.deliverable-card {
  position: relative;
  padding: 24px;
  border-radius: 8px;
}

.deliverable-card::before {
  position: absolute;
  top: 18px;
  right: 18px;
  color: rgba(31, 92, 153, .14);
  content: "PDF";
  font-family: "Inter", sans-serif;
  font-size: 34px;
  font-weight: 900;
}

.deliverable-thumb {
  height: 138px;
  margin-bottom: 20px;
  border-radius: 8px;
}

.results .section-heading,
.voices-section .section-heading,
.plans .section-heading {
  max-width: 880px;
}

.result-grid article {
  border-radius: 8px;
  box-shadow: 0 22px 54px rgba(31, 92, 153, .12);
}

.plans {
  padding-top: 80px;
  padding-bottom: 84px;
}

.plan-grid-4 {
  max-width: 1120px;
  margin-inline: auto;
  gap: 24px;
}

.plan {
  min-height: 0;
  padding: 36px 26px 28px;
  border-radius: 8px;
}

.plan::before {
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  content: "";
  background: var(--blue-soft);
  border-radius: 8px 8px 0 0;
}

.plan-spot::before {
  background: var(--yellow);
}

.plan.featured::before {
  background: var(--blue);
}

.plan-name {
  min-height: 30px;
  color: var(--ink);
  text-align: left;
}

.plan h3 {
  min-height: 96px;
  text-align: left;
}

.plan ul {
  margin-top: 0;
}

.plan-desc {
  margin-top: 18px;
  text-align: left;
}

.process-section {
  background: linear-gradient(180deg, #fff, var(--blue-soft));
}

.process-steps {
  position: relative;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  max-width: 1120px;
  margin-inline: auto;
  padding-top: 34px;
}

.process-steps::before {
  position: absolute;
  left: 7%;
  right: 7%;
  top: 54px;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--green));
}

.process-step {
  padding: 0 14px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.process-step::before,
.process-step:not(:last-child)::after {
  display: none;
}

.process-num {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border: 4px solid #fff;
  box-shadow: 0 12px 24px rgba(31, 92, 153, .18);
}

.process-step h3 {
  font-size: 16px;
}

.process-time {
  border: 1px solid rgba(43, 127, 204, .22);
}

@media (max-width: 980px) {
  #flow,
  #features,
  .support-section,
  .deliverables-section,
  .plans,
  .process-section {
    width: 100%;
    padding-inline: max(20px, calc((100vw - 720px) / 2));
  }

  .flow-grid,
  .pillars-grid,
  .process-steps {
    grid-template-columns: 1fr 1fr;
  }

  .flow-grid::before,
  .pillars-grid::before,
  .process-steps::before {
    display: none;
  }

  .pillars-grid .pillar,
  .pillars-grid .pillar:nth-child(1),
  .pillars-grid .pillar:nth-child(2),
  .pillars-grid .pillar:nth-child(3),
  .pillars-grid .pillar:nth-child(4),
  .pillars-grid .pillar:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
  }

  .flow-card,
  .process-step {
    padding: 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }
}

@media (max-width: 640px) {
  .section {
    padding-block: 52px;
  }

  #flow .section-heading,
  .support-section .section-heading,
  .deliverables-section .section-heading,
  .process-section .section-heading {
    text-align: center;
  }

  #flow .section-heading::after,
  .support-section .section-heading::after,
  .deliverables-section .section-heading::after,
  .process-section .section-heading::after {
    margin-inline: auto;
  }

  .flow-grid,
  .pillars-grid,
  .process-steps {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .flow-card h3,
  .flow-card p {
    max-width: none;
  }

  .plan h3 {
    min-height: 0;
  }
}

/* ===== Claude additions polish: stricter color roles and visual anchors ===== */
.section-figure {
  width: min(1120px, 100%);
  margin: 0 auto 34px;
}

.section-figure img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 24px 58px rgba(31, 92, 153, .12);
}

.pain-section {
  width: 100%;
  padding-inline: max(20px, calc((100vw - 1120px) / 2));
  background: linear-gradient(180deg, #fff, rgba(255, 251, 240, .65));
}

.pain-section .section-heading {
  max-width: 860px;
}

.pain-blueprint {
  margin-bottom: 30px;
}

.pain-flow-figure {
  overflow-x: auto;
  padding-bottom: 8px;
}

.pain-flow-canvas {
  position: relative;
  min-width: 920px;
}

.pain-flow-canvas img {
  display: block;
  width: 100%;
}

.pain-flow-label {
  position: absolute;
  z-index: 1;
  color: var(--blue-dark);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0;
  text-align: center;
  text-wrap: balance;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.pain-flow-title {
  width: 24%;
  font-size: clamp(17px, 1.95vw, 26px);
  white-space: nowrap;
}

.pain-flow-caption {
  width: 24%;
  font-size: clamp(15px, 1.45vw, 21px);
}

.pain-flow-chip {
  display: inline-grid;
  place-items: center;
  min-width: 7.5%;
  min-height: 5.8%;
  padding: .28em .65em;
  color: var(--blue-dark);
  font-size: clamp(11px, 1.05vw, 15px);
  background: rgba(255, 255, 255, .68);
  border: 0;
  border-radius: 999px;
  box-shadow: none;
}

.pain-flow-title-1 { left: 17.2%; top: 16.2%; }
.pain-flow-caption-1 { left: 17.2%; top: 86.2%; color: var(--coral); }
.pain-flow-title-2 { left: 50%; top: 16.2%; width: 30%; }
.pain-flow-title-3 { left: 82.5%; top: 16.2%; }
.pain-flow-caption-2 { left: 50%; top: 86.2%; }
.pain-flow-caption-3 { left: 82.5%; top: 86.2%; }
.pain-flow-chip-update { left: 40.7%; top: 42.02%; color: #447565; } /* 上 -5px */
.pain-flow-chip-ad { left: 60.65%; top: 62%; color: #4d70ad; } /* 右 +5px */
.pain-flow-chip-rank { left: 58.5%; top: 43.8%; color: #b95f67; }
.pain-flow-chip-vendor { left: 39.85%; top: 59.18%; color: #b78724; } /* 左 -5px, 下 +5px */
.pain-flow-chip-fix { left: 50%; top: 32.5%; color: #4d70ad; }
.pain-flow-chip-update,
.pain-flow-chip-ad,
.pain-flow-chip-rank,
.pain-flow-chip-vendor,
.pain-flow-chip-fix {
  min-width: auto;
  min-height: auto;
  padding: 0;
  background: transparent;
  font-size: clamp(13px, 1.25vw, 18px);
  line-height: 1;
}
.pain-flow-chip-search { left: 78.6%; top: 42.6%; min-width: 7%; }
.pain-flow-chip-hp { left: 76.3%; top: 63.8%; min-width: 6.6%; }
.pain-flow-chip-booking { left: 86.2%; top: 63.8%; min-width: 6.6%; }

.pain-grid {
  max-width: 1120px;
  margin-inline: auto;
}

.pain-card {
  position: relative;
  border-radius: 8px;
  border-left: 0;
  border-color: rgba(43, 127, 204, .16);
  box-shadow: 0 12px 30px rgba(31, 92, 153, .08);
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.94)),
    linear-gradient(90deg, rgba(232, 93, 93, .16), transparent 42%);
}

.pain-num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  letter-spacing: 0;
  background: var(--coral);
  border-radius: 50%;
}

.pain-card h3 {
  margin-top: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.55;
}

.pain-card p {
  color: var(--ink2);
  font-size: 14px;
  line-height: 1.85;
}

.pain-card::after {
  position: absolute;
  top: 22px;
  right: 22px;
  color: rgba(232, 93, 93, .16);
  content: "CHECK";
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 900;
}

.pain-bridge {
  max-width: 1120px;
  margin-inline: auto;
  border-radius: 8px;
}

.metrics article,
.flow-card,
.reason,
.support-grid article,
.result-grid article,
.plan,
.contact-form,
.faq,
.profile,
.deliverable-card,
.voice-card,
.blog-card,
.extras-card {
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(31, 92, 153, .09);
}

.metrics article {
  background: #fff;
}

.metric-icon,
.circle-icon {
  background-color: var(--blue-soft);
}

.section-heading .eyebrow,
.eyebrow {
  color: var(--blue-dark);
}

.header-cta,
.button.primary {
  background: var(--yellow);
  box-shadow: 0 12px 22px rgba(245, 166, 35, .24);
}

.crown {
  display: none;
}

.plan::before,
.plan-spot::before,
.plan.featured::before {
  background: var(--blue);
}

.plan-spot {
  border-color: rgba(43, 127, 204, .28);
  background: #fff;
}

.plan-spot h3,
.plan-spot .plan-name {
  color: var(--blue-dark);
}

.badge {
  background: var(--blue-dark);
}

.plan.featured {
  border-color: var(--blue);
}

.plan ul li::before,
.result-grid li::before,
.profile-bullets li::before {
  background: var(--green);
}

/* ===== Profile section softer visual refresh ===== */
.profile {
  position: relative;
  overflow: hidden;
  align-items: center;
  background:
    radial-gradient(circle at 8% 16%, rgba(139, 194, 122, .14), transparent 12rem),
    radial-gradient(circle at 96% 8%, rgba(255, 229, 169, .26), transparent 10rem),
    linear-gradient(rgba(43,127,204,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,127,204,.045) 1px, transparent 1px),
    rgba(255, 255, 255, .96);
  background-size: auto, auto, 26px 26px, 26px 26px, auto;
  border-color: rgba(43, 127, 204, .16);
}

.profile::before,
.profile::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.profile::before {
  right: -34px;
  top: -28px;
  width: 180px;
  height: 180px;
  background:
    radial-gradient(ellipse at 35% 28%, rgba(139, 194, 122, .24) 0 18%, transparent 19%),
    radial-gradient(ellipse at 62% 45%, rgba(139, 194, 122, .18) 0 16%, transparent 17%),
    radial-gradient(ellipse at 44% 70%, rgba(43, 127, 204, .10) 0 15%, transparent 16%);
  opacity: .85;
}

.profile::after {
  left: 28px;
  bottom: 26px;
  width: 120px;
  height: 90px;
  background:
    radial-gradient(circle at 18% 28%, rgba(43, 127, 204, .14) 0 5px, transparent 6px),
    radial-gradient(circle at 44% 48%, rgba(139, 194, 122, .18) 0 5px, transparent 6px),
    radial-gradient(circle at 72% 30%, rgba(255, 194, 82, .20) 0 5px, transparent 6px);
}

.profile-portrait {
  position: relative;
  z-index: 1;
  align-self: stretch;
  min-height: 420px;
  margin: 0;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.88), rgba(248,252,255,.92)),
    linear-gradient(rgba(43,127,204,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,127,204,.06) 1px, transparent 1px);
  background-size: auto, 24px 24px, 24px 24px;
  border: 1px solid rgba(43, 127, 204, .16);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(31, 92, 153, .1);
}

.profile-photo {
  height: 100%;
  min-height: 360px;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(31, 92, 153, .12);
}

.profile-photo-caption {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-photo-caption span {
  padding: 7px 12px;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(43, 127, 204, .2);
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(31, 92, 153, .08);
}

.profile-copy {
  position: relative;
  z-index: 1;
}

.profile-copy .eyebrow {
  margin-bottom: 12px;
}

.profile h2 {
  max-width: 760px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.3;
}

.profile-name {
  margin-top: 18px;
}

.profile-title {
  display: inline-flex;
  width: fit-content;
  padding: 8px 13px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  border: 1px solid rgba(43, 127, 204, .18);
  border-radius: 999px;
}

.profile-bullets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.profile-bullets li {
  min-height: 94px;
  margin: 0;
  padding: 16px 14px;
  color: var(--ink2);
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(43, 127, 204, .14);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(31, 92, 153, .08);
}

.profile-bullets li::before {
  display: none;
}

.profile-bullets strong {
  display: block;
  margin-bottom: 6px;
  color: var(--blue-dark);
  font-size: 16px;
  line-height: 1.2;
}

.profile-bullets span {
  display: block;
  font-size: 12px;
  line-height: 1.65;
}

.profile-quote {
  position: relative;
  margin: 18px 0;
  padding: 18px 22px 18px 54px;
  background: rgba(239, 248, 236, .88);
  border: 1px solid rgba(139, 194, 122, .34);
  border-left: 0;
  border-radius: 8px;
}

.profile-quote::before {
  position: absolute;
  left: 20px;
  top: 50%;
  width: 20px;
  height: 20px;
  content: "";
  background:
    radial-gradient(ellipse at 35% 45%, var(--green) 0 42%, transparent 43%),
    radial-gradient(ellipse at 68% 58%, rgba(139, 194, 122, .62) 0 36%, transparent 37%);
  transform: translateY(-50%) rotate(-18deg);
}

@media (max-width: 980px) {
  .profile-portrait {
    min-height: 0;
  }

  .profile-photo {
    min-height: 320px;
  }

  .profile-bullets {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .profile-photo-caption {
    left: 28px;
    right: 28px;
    bottom: 28px;
  }

  .profile h2 {
    font-size: 30px;
  }
}

.filter-nofit h3,
.extras-not-included .extras-tag,
.extras-not-included li::before {
  color: var(--coral);
}

/* ===== Filter section illustration refresh ===== */
.filter-section {
  position: relative;
  overflow: hidden;
}

.filter-section::before {
  position: absolute;
  right: max(18px, calc((100vw - 1120px) / 2));
  top: 88px;
  width: 170px;
  height: 170px;
  content: "";
  background:
    radial-gradient(ellipse at 34% 25%, rgba(139, 194, 122, .16) 0 18%, transparent 19%),
    radial-gradient(ellipse at 70% 45%, rgba(43, 127, 204, .10) 0 16%, transparent 17%),
    radial-gradient(ellipse at 48% 74%, rgba(255, 194, 82, .14) 0 15%, transparent 16%);
  pointer-events: none;
}

.filter-grid {
  position: relative;
  z-index: 1;
  gap: 24px;
}

.filter-card {
  overflow: hidden;
  padding: 18px 18px 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.97), rgba(255,255,255,.93)),
    linear-gradient(rgba(43,127,204,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,127,204,.045) 1px, transparent 1px);
  background-size: auto, 24px 24px, 24px 24px;
  border-color: rgba(43, 127, 204, .16);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(31, 92, 153, .1);
}

.filter-visual {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8.5;
  margin-bottom: 18px;
  object-fit: cover;
  border: 1px solid rgba(43, 127, 204, .14);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(31, 92, 153, .08);
}

.filter-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  font-size: 20px;
}

.filter-card h3::before {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #fff;
  font-size: 15px;
  border-radius: 50%;
}

.filter-fit h3::before {
  content: "✓";
  background: var(--green);
}

.filter-nofit h3::before {
  content: "×";
  background: var(--coral);
}

.filter-list {
  display: grid;
  gap: 10px;
}

.filter-list li {
  position: relative;
  margin: 0;
  padding: 12px 14px 12px 42px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(43, 127, 204, .10);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(31, 92, 153, .05);
}

.filter-list-fit li::before,
.filter-list-nofit li::before {
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.filter-memo {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 194, 82, .2);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(31, 92, 153, .06);
}

.extras-not-included li::before {
  background: var(--coral);
}

.deliverables-section {
  position: relative;
}

.deliverables-section::before {
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 86% 12%, rgba(43, 127, 204, .08), transparent 16rem),
    linear-gradient(180deg, #fff, rgba(255, 251, 240, .7));
}

.deliverable-grid {
  max-width: 1120px;
  margin-inline: auto;
  gap: 28px;
}

.deliverable-card {
  background: #fff;
  border-color: rgba(43, 127, 204, .18);
}

.deliverable-thumb {
  background-color: #f8fbfe;
  border-color: #cfe3f4;
}

.deliverable-thumb-label,
.deliverable-freq {
  color: var(--blue-dark);
  background: var(--blue-soft);
}

.pillars-map {
  margin-bottom: 28px;
}

.pillars-map img {
  box-shadow: 0 22px 54px rgba(31, 92, 153, .1);
}

.pillars-map-figure {
  position: relative;
}

.pillars-map-figure img {
  display: block;
}

.pillars-map-label,
.pillars-map-sub {
  position: absolute;
  z-index: 1;
  color: var(--blue-dark);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.15;
  text-align: center;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.pillars-map-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35em;
  min-width: 8.2em;
  padding: .32em .72em;
  font-size: clamp(12px, 1.35vw, 18px);
  background: rgba(255, 255, 255, .84);
  border: 1px solid rgba(43, 127, 204, .14);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(31, 92, 153, .08);
  white-space: nowrap;
}

.pillars-map-label small {
  display: inline-grid;
  place-items: center;
  width: 1.7em;
  height: 1.7em;
  margin-right: .18em;
  color: #fff;
  font-size: .62em;
  line-height: 1;
  background: var(--blue);
  border-radius: 50%;
}

.pillars-map-sub {
  color: var(--blue-dark);
  width: max-content;
  max-width: 18em;
  padding: .48em .9em;
  font-size: clamp(10px, .9vw, 13px);
  font-weight: 900;
  line-height: 1.25;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(43, 127, 204, .12);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(31, 92, 153, .08);
}

/*
  SVG viewBox 1120x500、natural画像 1672x941 にストレッチ済み（letterbox無し）。
  pct_x = svg_x / 1120, pct_y = svg_y / 500。
  ボックス座標 (svg)：
    MEO         x=445-675 (中心x=560), y=56-164  (中心y=110, h=108)
    HP改善       x=86-316  (中心x=201), y=196-304 (中心y=250, h=108)
    SEO戦略     x=394-726 (中心x=560), y=162-338 (中心y=250, h=176)
    SEO記事制作  x=804-1034(中心x=919), y=196-304 (中心y=250, h=108)
    メディア     x=445-675 (中心x=560), y=336-444 (中心y=390, h=108)
  方針：横=ボックス中心x、縦=タイトルは中心の上1/4、サブは下1/4。
*/
.pillars-map-core        { left: 50%;    top: 43%;    font-size: clamp(14px, 1.5vw, 20px); }
.pillars-map-core-sub    { left: 50%;    top: 57%; }
/* 02 HP改善：合計40px 左に移動（横 -3.62%） */
.pillars-map-hp          { left: 14.33%; top: 45.7%; }
.pillars-map-hp-sub      { left: 14.33%; top: 54.3%; }
/* 04 MEO運用：合計40px 上に移動（縦 -6.44%） */
.pillars-map-meo         { left: 50%;    top: 11.26%; }
.pillars-map-meo-sub     { left: 50%;    top: 19.86%; }
/* 03 SEO記事制作：合計40px 右に移動（横 +3.62%） */
.pillars-map-article     { left: 85.67%; top: 45.7%; }
.pillars-map-article-sub { left: 85.67%; top: 54.3%; }
/* 05 メディア構築：合計40px 下に移動（縦 +6.44%） */
.pillars-map-media       { left: 50%;    top: 80.14%; }
.pillars-map-media-sub   { left: 50%;    top: 88.74%; }

.pillars-map-meo small,
.pillars-map-article small,
.pillars-map-media small {
  background: var(--green);
}

.support-section .support-art {
  display: none;
}

.pillars-grid {
  margin-top: 0;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px;
}

.pillars-grid::before {
  display: none;
}

.pillars-grid .pillar,
.pillars-grid .pillar:nth-child(1),
.pillars-grid .pillar:nth-child(2),
.pillars-grid .pillar:nth-child(3),
.pillars-grid .pillar:nth-child(4),
.pillars-grid .pillar:nth-child(5) {
  grid-column: span 2;
  grid-row: auto;
  min-height: 0;
}

.pillars-grid .pillar:nth-child(4) {
  grid-column: 2 / span 2;
}

.pillars-grid .pillar:nth-child(5) {
  grid-column: 4 / span 2;
}

.pillar {
  border-color: rgba(43, 127, 204, .16);
  padding: 24px 22px;
}

.pillar-main {
  border-top-color: var(--blue);
}

.pillar-core {
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(232,242,251,.75));
}

.pillar-core h3 {
  font-size: 19px;
}

.pillar-core p,
.pillar p {
  font-size: 13px;
  line-height: 1.82;
}

.pillar-note {
  background: #fff;
  border-color: rgba(43, 127, 204, .2);
}

/* ===== Pillar cards illustration-style refresh ===== */
.pillars-grid {
  align-items: stretch;
}

.pillar {
  display: flex;
  flex-direction: column;
  padding: 18px 20px 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.92)),
    linear-gradient(rgba(43,127,204,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,127,204,.045) 1px, transparent 1px);
  background-size: auto, 24px 24px, 24px 24px;
  border-color: rgba(43, 127, 204, .16);
  box-shadow: 0 18px 42px rgba(31, 92, 153, .09);
}

.pillar::before {
  position: absolute;
  inset: 18px 20px auto;
  height: 118px;
  content: "";
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 194, 82, .18), transparent 24%),
    radial-gradient(circle at 18% 86%, rgba(139, 194, 122, .18), transparent 28%),
    linear-gradient(135deg, rgba(232, 242, 251, .84), rgba(246, 253, 243, .68));
  border: 1px solid rgba(43, 127, 204, .12);
  border-radius: 8px;
}

.pillar > * {
  position: relative;
  z-index: 1;
}

.pillar .circle-icon {
  width: 92px;
  height: 92px;
  margin: 31px auto 36px;
  padding: 0;
  object-fit: cover;
  background: #fff;
  border: 8px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  box-shadow: 0 14px 30px rgba(31, 92, 153, .12);
}

.pillar-no {
  top: 28px;
  right: 34px;
  z-index: 2;
  color: rgba(43, 127, 204, .16);
  font-size: 28px;
}

.pillar h3 {
  margin-top: 0;
  color: var(--blue-dark);
}

.pillar h3 small {
  color: var(--blue);
}

.pillar-core,
.pillar-main {
  border-top: 0;
}

.pillar-core::before {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 194, 82, .18), transparent 24%),
    radial-gradient(circle at 18% 86%, rgba(139, 194, 122, .22), transparent 28%),
    linear-gradient(135deg, rgba(232, 242, 251, .94), rgba(239, 248, 236, .82));
}

.pillar-main::before {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 194, 82, .18), transparent 24%),
    radial-gradient(circle at 18% 86%, rgba(139, 194, 122, .22), transparent 28%),
    linear-gradient(135deg, rgba(239, 248, 236, .92), rgba(255, 251, 240, .62));
}

.pillar::before {
  display: none;
}

.pillar {
  gap: 0;
  padding: 18px 20px 24px;
}

.pillar-visual {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 0 18px;
  object-fit: cover;
  object-position: center;
  background: #fff;
  border: 1px solid rgba(43, 127, 204, .14);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(31, 92, 153, .12);
}

.pillar-core .pillar-visual {
  aspect-ratio: 16 / 8.6;
}

.pillar-no {
  top: 30px;
  right: auto;
  left: 32px;
  width: 34px;
  height: 34px;
  min-width: 0;
  padding: 0;
  color: var(--blue);
  font-size: 15px;
  line-height: 1;
  display: grid;
  place-items: center;
  text-align: center;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(43, 127, 204, .18);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(31, 92, 153, .1);
}

.pillar h3 {
  margin-top: 2px;
}

.pillar-note {
  background: rgba(255, 251, 240, .86);
  border-color: rgba(255, 194, 82, .2);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(31, 92, 153, .06);
}

.result-grid article {
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.9)),
    url("assets/case-clinic-family.png") center bottom / 100% auto no-repeat;
}

.result-grid strong {
  color: var(--blue);
}

/* ===== Results section blueprint refresh ===== */
.results {
  overflow: hidden;
  background:
    linear-gradient(rgba(43,127,204,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,127,204,.055) 1px, transparent 1px),
    linear-gradient(180deg, #fff 0%, rgba(238, 247, 253, .72) 100%);
  background-size: 26px 26px, 26px 26px, auto;
}

.results::before {
  height: 168px;
  background: linear-gradient(110deg, rgba(255, 248, 235, .72), rgba(232, 242, 251, .82));
}

.results::after {
  position: absolute;
  right: max(-44px, calc((100vw - 1120px) / 2 - 110px));
  top: 86px;
  width: 260px;
  height: 260px;
  content: "";
  background:
    radial-gradient(ellipse at 42% 24%, rgba(139, 194, 122, .18) 0 17%, transparent 18%),
    radial-gradient(ellipse at 70% 48%, rgba(43, 127, 204, .08) 0 16%, transparent 17%),
    radial-gradient(ellipse at 38% 76%, rgba(255, 194, 82, .13) 0 15%, transparent 16%);
  opacity: .7;
  pointer-events: none;
}

.result-grid {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin-inline: auto;
  gap: 24px;
}

.result-grid .result-card {
  position: relative;
  overflow: hidden;
  min-height: 0;
  padding: 18px 20px 24px;
  background:
    radial-gradient(circle at 92% 92%, rgba(139, 194, 122, .14), transparent 9rem),
    rgba(255, 255, 255, .96);
  border: 1px solid rgba(43, 127, 204, .16);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(31, 92, 153, .11);
}

.result-visual {
  position: relative;
  margin: 0 0 18px;
}

.result-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  background: #fff;
  border: 1px solid rgba(43, 127, 204, .14);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(31, 92, 153, .11);
}

.result-visual span {
  position: absolute;
  left: 12px;
  top: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--blue);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(43, 127, 204, .2);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(31, 92, 153, .1);
}

.result-grid .result-card p {
  color: var(--blue-dark);
  font-size: 15px;
  line-height: 1.5;
}

.result-grid .result-card strong {
  color: var(--blue);
  font-family: "Inter", sans-serif;
  font-size: clamp(34px, 3.2vw, 48px);
  letter-spacing: 0;
}

.result-grid .result-card > span {
  min-height: 2.9em;
  margin: 8px 0 16px;
  color: #4f6582;
  font-size: 15px;
  line-height: 1.45;
}

.result-grid .result-card ul {
  margin: 0;
}

.result-grid .result-card li {
  margin: 10px 0;
  color: #38506e;
  font-size: 13.5px;
  line-height: 1.65;
}

.results-disclaimer {
  position: relative;
  z-index: 1;
  max-width: 860px;
  background: rgba(255, 251, 241, .92);
  border: 1px dashed rgba(245, 166, 35, .34);
  border-radius: 8px;
}

@media (max-width: 640px) {
  .results .section-heading h2 {
    max-width: 12em;
    margin-inline: auto;
    font-size: 25px;
    line-height: 1.45;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .results .section-lead {
    max-width: 28em;
    font-size: 13px;
    line-height: 1.8;
  }
}

.voices-section {
  background: linear-gradient(180deg, #fff, rgba(232, 242, 251, .45));
}

.voice-card {
  background: #fff;
  border: 1px solid rgba(43, 127, 204, .16);
}

.extras-card {
  background: #fff;
}

.blog-section {
  background: #fff;
}

.blog-card {
  border-color: rgba(43, 127, 204, .16);
}

@media (max-width: 980px) {
  .pain-section {
    padding-inline: max(20px, calc((100vw - 720px) / 2));
  }

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

  .pillars-grid .pillar,
  .pillars-grid .pillar:nth-child(1),
  .pillars-grid .pillar:nth-child(2),
  .pillars-grid .pillar:nth-child(3),
  .pillars-grid .pillar:nth-child(4),
  .pillars-grid .pillar:nth-child(5) {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .section-figure {
    margin-bottom: 22px;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .section-figure img {
    min-width: 640px;
    border-radius: 8px;
  }

  .pain-blueprint img {
    min-width: 760px;
  }

  .pain-section {
    padding-inline: 14px;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Story outcome panel polish ===== */
.story-result {
  position: relative;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  gap: 28px;
  overflow: hidden;
  margin-top: 38px;
  padding: 34px 38px 30px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 16%, rgba(122, 199, 106, .24), transparent 13rem),
    linear-gradient(135deg, #1F5C99 0%, #2B7FCC 58%, #256FAF 100%);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(31, 92, 153, .24);
}

.story-result::before {
  position: absolute;
  inset: 18px;
  content: "";
  background:
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 26px 26px;
  border-radius: 8px;
  pointer-events: none;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.75), transparent 78%);
}

.story-result::after {
  position: absolute;
  right: 48px;
  bottom: 80px;
  width: 330px;
  height: 118px;
  content: "";
  background:
    radial-gradient(circle at 10% 72%, #fff 0 6px, transparent 7px),
    radial-gradient(circle at 48% 40%, #fff 0 6px, transparent 7px),
    radial-gradient(circle at 88% 18%, #fff 0 6px, transparent 7px);
  border-bottom: 5px solid rgba(255, 255, 255, .22);
  pointer-events: none;
}

.story-result-headline {
  position: relative;
  z-index: 1;
  max-width: 560px;
  color: #fff;
  font-size: clamp(24px, 2.7vw, 34px);
  line-height: 1.45;
}

.story-result-headline::before {
  display: block;
  width: fit-content;
  margin-bottom: 14px;
  padding: 5px 12px;
  content: "OUTCOME";
  color: #1F5C99;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  background: #fff;
  border-radius: 999px;
}

.story-result-metrics {
  position: relative;
  z-index: 1;
  align-self: stretch;
  gap: 14px;
}

.story-result-metrics div {
  display: grid;
  align-content: center;
  min-height: 142px;
  padding: 22px 18px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(10, 44, 86, .2);
}

.story-result-metrics strong {
  color: var(--blue-dark);
  font-size: 16px;
}

.story-result-metrics span {
  color: var(--green);
  font-family: "Inter", sans-serif;
  font-size: 34px;
  line-height: 1.1;
}

.story-balloon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 22px;
  color: #fff;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.story-balloon::before,
.story-balloon::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.72), transparent);
}

@media (max-width: 980px) {
  .story-result {
    grid-template-columns: 1fr;
  }

  .story-result::after {
    opacity: .3;
  }
}

@media (max-width: 640px) {
  .story-result {
    padding: 26px 20px 22px;
  }

  .story-result-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .story-result-metrics div {
    min-height: 110px;
  }

  .story-balloon {
    justify-content: center;
    text-align: center;
  }

  .story-balloon::before,
  .story-balloon::after {
    display: none;
  }
}

/* ===== Story section cohesion ===== */
.story .section-heading {
  margin-bottom: 30px;
}

.story-grid {
  position: relative;
  gap: 0;
  overflow: hidden;
  margin-top: 0;
  padding: 28px;
  background:
    linear-gradient(rgba(43,127,204,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,127,204,.08) 1px, transparent 1px),
    linear-gradient(135deg, rgba(232,242,251,.82), rgba(239,248,236,.48));
  background-size: 26px 26px, 26px 26px, auto;
  border: 1px solid rgba(43, 127, 204, .18);
  border-radius: 8px 8px 0 0;
  box-shadow: 0 24px 58px rgba(31, 92, 153, .1);
}

.story-grid::before {
  position: absolute;
  left: 9%;
  right: 9%;
  top: 63px;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--blue), var(--green));
  opacity: .75;
}

.story-card {
  position: relative;
  z-index: 1;
  min-height: 245px;
  margin: 0 14px;
  padding: 30px 28px 26px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(43, 127, 204, .18);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(31, 92, 153, .1);
}

.story-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  content: "";
  background: var(--blue);
  border-radius: 8px 8px 0 0;
}

.story-num,
.story-card:nth-child(2) .story-num,
.story-card:nth-child(3) .story-num {
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  color: var(--blue-dark);
  font-family: "Inter", sans-serif;
  font-size: 15px;
  background: #fff;
  border: 2px solid var(--blue);
  box-shadow: 0 10px 24px rgba(31, 92, 153, .14);
}

.story-card:nth-child(2)::before,
.story-card:nth-child(3)::before {
  background: var(--blue);
}

.story-card h3 {
  color: var(--ink);
  font-size: 21px;
  line-height: 1.45;
}

.story-card p {
  color: var(--ink2);
  font-size: 14px;
  line-height: 1.85;
}

.story-result {
  margin-top: 0;
  border-radius: 0 0 8px 8px;
}

/* ===== Story section softer illustration refresh ===== */
.story-grid {
  gap: 22px;
  overflow: visible;
  padding: 28px;
  background:
    linear-gradient(rgba(43,127,204,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,127,204,.06) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(241,248,255,.72) 56%, rgba(246,253,243,.68));
  background-size: 26px 26px, 26px 26px, auto;
}

.story-grid::before {
  top: 50%;
  left: 12%;
  right: 12%;
  height: 8px;
  background: linear-gradient(90deg, rgba(72, 126, 205, .22), rgba(139, 194, 122, .36));
  border-radius: 999px;
  opacity: 1;
}

.story-card {
  min-height: 0;
  margin: 0;
  padding: 18px 18px 22px;
  background: rgba(255, 255, 255, .94);
  border-color: rgba(132, 184, 230, .34);
  box-shadow: 0 18px 46px rgba(31, 92, 153, .1);
}

.story-card::before {
  display: none;
}

.story-num,
.story-card:nth-child(2) .story-num,
.story-card:nth-child(3) .story-num {
  position: absolute;
  left: 28px;
  top: 28px;
  z-index: 2;
  width: 38px;
  height: 38px;
  margin: 0;
  background: rgba(255,255,255,.9);
  border-width: 2px;
}

.story-card-visual {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 18px;
  object-fit: cover;
  border: 1px solid rgba(43, 127, 204, .14);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(31, 92, 153, .08);
}

.story-card h3 {
  margin-bottom: 10px;
}

.story-card p {
  margin-bottom: 0;
}

.story-result {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  margin-top: 18px;
  padding: 24px 28px;
  color: var(--blue-dark);
  background:
    radial-gradient(circle at 8% 12%, rgba(139, 194, 122, .18), transparent 14rem),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(232,242,251,.82));
  border: 1px solid rgba(43, 127, 204, .18);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(31, 92, 153, .1);
}

.story-result::before,
.story-result::after {
  display: none;
}

.story-result-headline {
  max-width: 640px;
  color: var(--blue-dark);
  font-size: clamp(22px, 2.4vw, 30px);
}

.story-result-headline::before {
  color: var(--blue-dark);
  background: var(--green-soft);
  border: 1px solid rgba(139, 194, 122, .42);
}

.story-result-metrics div {
  min-width: 170px;
  min-height: 116px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(43, 127, 204, .16);
  box-shadow: 0 14px 30px rgba(31, 92, 153, .1);
}

.story-balloon {
  grid-column: 1 / -1;
  justify-content: center;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, .72);
  border-color: rgba(43, 127, 204, .22);
  backdrop-filter: none;
}

.story-balloon::before,
.story-balloon::after {
  background: linear-gradient(90deg, transparent, rgba(43, 127, 204, .2), transparent);
}

@media (max-width: 980px) {
  .story-grid {
    gap: 18px;
    padding: 22px;
  }

  .story-grid::before {
    display: none;
  }

  .story-card {
    margin: 0;
  }
}

@media (max-width: 640px) {
  .story-grid {
    grid-template-columns: 1fr;
    border-radius: 8px 8px 0 0;
  }

  .story-card {
    min-height: 0;
  }
}

/* ===== Deliverables document deck polish ===== */
.deliverables-section {
  background:
    linear-gradient(rgba(43,127,204,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,127,204,.06) 1px, transparent 1px),
    linear-gradient(180deg, #fff, rgba(255, 251, 240, .76));
  background-size: 30px 30px, 30px 30px, auto;
}

.deliverable-grid {
  gap: 30px;
}

.deliverable-card {
  position: relative;
  overflow: visible;
  padding: 28px 28px 26px;
  background: #fff;
  border: 1px solid rgba(43, 127, 204, .16);
  border-radius: 8px;
  box-shadow: 0 22px 58px rgba(31, 92, 153, .12);
}

.deliverable-card::before {
  top: auto;
  right: 24px;
  bottom: 20px;
  color: rgba(31, 92, 153, .08);
  font-size: 42px;
}

.deliverable-card::after {
  position: absolute;
  left: 34px;
  right: 22px;
  top: 40px;
  height: 174px;
  content: "";
  background: #EEF5FB;
  border: 1px solid rgba(43, 127, 204, .12);
  border-radius: 8px;
  transform: rotate(2deg);
  z-index: 0;
}

.deliverable-thumb {
  z-index: 1;
  height: 186px;
  margin-bottom: 24px;
  padding: 22px;
  background:
    linear-gradient(rgba(43,127,204,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,127,204,.08) 1px, transparent 1px),
    #fff;
  background-size: 22px 22px;
  border: 1px solid rgba(43, 127, 204, .2);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(31, 92, 153, .1);
}

.deliverable-thumb::before {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  content: "";
  background:
    linear-gradient(135deg, transparent 0 48%, rgba(43,127,204,.18) 49% 100%),
    #F8FBFE;
  border-left: 1px solid rgba(43, 127, 204, .18);
  border-bottom: 1px solid rgba(43, 127, 204, .18);
  border-radius: 0 0 0 8px;
}

.deliverable-thumb-label {
  top: 20px;
  left: 22px;
  color: var(--blue-dark);
  font-family: "Inter", sans-serif;
  font-size: 13px;
  letter-spacing: .14em;
}

.deliverable-thumb-line {
  height: 8px;
  background: linear-gradient(90deg, var(--blue) 0%, rgba(43,127,204,.24) 62%, transparent 100%);
}

.deliverable-thumb-bar {
  height: 20px;
  background: var(--blue);
}

.deliverable-thumb-bar.bar1 {
  background: var(--green);
}

.deliverable-thumb-bar.bar3 {
  background: var(--blue-dark);
}

.deliverable-card h3 {
  color: var(--ink);
  font-size: 21px;
  line-height: 1.45;
}

.deliverable-card p {
  color: var(--ink2);
  font-size: 14px;
  line-height: 1.85;
}

.deliverable-freq {
  margin-top: 4px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  border: 1px solid rgba(43, 127, 204, .14);
}

.deliverable-note {
  max-width: 760px;
  padding: 12px 18px;
  color: var(--blue-dark);
  background: rgba(255,255,255,.78);
  border: 1px dashed rgba(43,127,204,.24);
  border-radius: 8px;
}

@media (max-width: 980px) {
  .deliverable-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
  }
}

@media (max-width: 640px) {
  .deliverable-card {
    padding: 22px;
  }

  .deliverable-card::after {
    left: 28px;
    top: 34px;
    height: 150px;
  }

  .deliverable-thumb {
    height: 160px;
  }
}

/* ===== Voices case-study polish ===== */
.voices-section {
  position: relative;
  width: 100%;
  padding-inline: max(20px, calc((100vw - 1120px) / 2));
  background:
    radial-gradient(circle at 6% 16%, rgba(43, 127, 204, .08), transparent 14rem),
    linear-gradient(180deg, #fff, rgba(232, 242, 251, .62));
}

.voices-section .section-heading {
  text-align: left;
  max-width: 760px;
  margin-inline: 0 auto;
}

.voices-section .section-heading::after {
  display: block;
  width: 72px;
  height: 4px;
  margin-top: 18px;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--green));
  border-radius: 999px;
}

.voice-grid {
  max-width: 1120px;
  margin-inline: auto;
  gap: 26px;
}

.voice-card {
  overflow: hidden;
  min-height: 300px;
  padding: 18px 20px 24px;
  background:
    radial-gradient(circle at 92% 92%, rgba(139, 194, 122, .12), transparent 9rem),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.92)),
    linear-gradient(rgba(43,127,204,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,127,204,.06) 1px, transparent 1px);
  background-size: auto, 24px 24px, 24px 24px;
  border: 1px solid rgba(43, 127, 204, .16);
  border-radius: 8px;
  box-shadow: 0 22px 56px rgba(31, 92, 153, .11);
}

.voice-card::before {
  display: none;
  top: 18px;
  left: 26px;
  width: 42px;
  height: 42px;
  place-items: center;
  content: "”";
  color: #fff;
  font-family: Georgia, serif;
  font-size: 34px;
  background: var(--blue);
  border-radius: 50%;
  opacity: 1;
}

.voice-card::after {
  display: none;
  position: absolute;
  top: 26px;
  right: 24px;
  padding: 5px 10px;
  color: var(--blue-dark);
  content: "CASE VOICE";
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  background: var(--blue-soft);
  border: 1px solid rgba(43,127,204,.18);
  border-radius: 999px;
}

.voice-visual {
  position: relative;
  margin: 0 0 18px;
}

.voice-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  background: #fff;
  border: 1px solid rgba(43, 127, 204, .14);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(31, 92, 153, .11);
}

.voice-visual span {
  position: absolute;
  left: 12px;
  top: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--blue);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(43, 127, 204, .2);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(31, 92, 153, .1);
}

.voice-visual::after {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 5px 10px;
  color: var(--blue-dark);
  content: "CASE VOICE";
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  background: rgba(232, 242, 251, .94);
  border: 1px solid rgba(43,127,204,.18);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(31,92,153,.08);
}

.voice-card p {
  position: relative;
  margin-bottom: 26px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.9;
}

.voice-card p::before {
  display: none;
}

.voice-card footer {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink2);
  font-size: 13px;
}

.voice-card footer::before {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  content: "";
  background:
    linear-gradient(var(--blue), var(--blue)) center 11px / 16px 3px no-repeat,
    linear-gradient(var(--blue), var(--blue)) center 19px / 22px 3px no-repeat,
    linear-gradient(var(--blue), var(--blue)) center 27px / 14px 3px no-repeat,
    #fff;
  border: 1px solid rgba(43,127,204,.2);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(31,92,153,.1);
}

.voice-disclaimer {
  max-width: 760px;
  padding: 12px 18px;
  color: var(--blue-dark);
  background: rgba(255,255,255,.82);
  border: 1px dashed rgba(43,127,204,.24);
  border-radius: 8px;
}

@media (max-width: 980px) {
  .voices-section {
    padding-inline: max(20px, calc((100vw - 720px) / 2));
  }

  .voice-grid {
    grid-template-columns: 1fr;
    max-width: 640px;
  }

  .voice-card {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .voices-section {
    padding-inline: 14px;
  }

  .voices-section .section-heading {
    text-align: center;
  }

  .voices-section .section-heading::after {
    margin-inline: auto;
  }

  .voice-card {
    padding: 18px 18px 24px;
  }

  .voice-visual::after {
    right: 10px;
    top: 10px;
    font-size: 10px;
  }
}

/* ===== Lower page structure: resources before footer ===== */
.contact-area {
  padding-bottom: 70px;
}

.footer-landscape {
  display: none;
}

.blog-section {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 78px max(20px, calc((100vw - 1120px) / 2)) 76px;
  background:
    linear-gradient(rgba(43,127,204,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,127,204,.055) 1px, transparent 1px),
    linear-gradient(180deg, #fff, rgba(232, 242, 251, .72));
  background-size: 30px 30px, 30px 30px, auto;
}

.blog-section::before {
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(43,127,204,.24), transparent);
}

.blog-section .section-heading {
  max-width: 760px;
  margin-inline: 0 auto;
  text-align: left;
}

.blog-section .section-heading::after {
  display: block;
  width: 72px;
  height: 4px;
  margin-top: 18px;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--green));
  border-radius: 999px;
}

.blog-grid {
  max-width: 1120px;
  margin-inline: auto;
  gap: 26px;
}

.blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 340px;
  overflow: hidden;
  padding: 18px 20px 24px;
  background:
    radial-gradient(circle at 92% 92%, rgba(139, 194, 122, .12), transparent 9rem),
    rgba(255,255,255,.96);
  border: 1px solid rgba(43,127,204,.16);
  border-radius: 8px;
  box-shadow: 0 22px 56px rgba(31,92,153,.1);
}

.blog-thumb {
  position: relative;
  display: block;
  flex: 0 0 auto;
  height: auto;
  margin: 0 0 18px;
  padding: 0;
  background: #fff;
}

.blog-thumb::after {
  position: absolute;
  right: 18px;
  bottom: 18px;
  color: rgba(43,127,204,.16);
  content: "ARTICLE";
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: .08em;
}

.blog-thumb-1,
.blog-thumb-2,
.blog-thumb-3 {
  background:
    linear-gradient(rgba(255,255,255,.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.22) 1px, transparent 1px),
    linear-gradient(135deg, var(--blue), var(--blue-dark));
  background-size: 22px 22px, 22px 22px, auto;
}

.blog-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  background: #fff;
  border: 1px solid rgba(43,127,204,.14);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(31,92,153,.11);
}

.blog-thumb-no {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--blue);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(43,127,204,.2);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(31,92,153,.1);
}

.blog-thumb-tag {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  padding: 5px 10px;
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 900;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(43,127,204,.18);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(31,92,153,.08);
}

.blog-card .blog-tag {
  margin: 0 0 8px;
  color: var(--blue);
}

.blog-card h3 {
  margin: 0 0 20px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.6;
}

.blog-status {
  width: fit-content;
  margin: auto 0 0;
  color: var(--blue-dark);
  background: var(--blue-soft);
  border: 1px solid rgba(43,127,204,.14);
}

.blog-note {
  max-width: 760px;
  margin-top: 24px;
  padding: 12px 18px;
  color: var(--blue-dark);
  background: rgba(255,255,255,.82);
  border: 1px dashed rgba(43,127,204,.24);
  border-radius: 8px;
}

.site-footer {
  overflow: hidden;
  isolation: isolate;
  min-height: 320px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,.12) 34%, rgba(232,242,251,.30) 76%, rgba(232,242,251,.35) 100%),
    url("assets/footer-landscape.png") center bottom / 100% auto no-repeat;
  border-top: 1px solid rgba(43,127,204,.16);
}

.site-footer::before {
  position: absolute;
  left: 0;
  right: 0;
  top: 82px;
  height: 168px;
  z-index: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 5%, rgba(43,127,204,.18) 5.2% 6%, transparent 6.2% 100%),
    linear-gradient(90deg, transparent 0 9%, rgba(43,127,204,.12) 9.2% 11%, transparent 11.2% 100%),
    linear-gradient(90deg, transparent 0 14%, rgba(43,127,204,.16) 14.2% 22%, transparent 22.2% 100%),
    linear-gradient(90deg, transparent 0 24%, rgba(122,199,106,.26) 24.2% 32%, transparent 32.2% 100%),
    linear-gradient(90deg, transparent 0 66%, rgba(43,127,204,.10) 66.2% 76%, transparent 76.2% 100%),
    linear-gradient(90deg, transparent 0 80%, rgba(122,199,106,.24) 80.2% 93%, transparent 93.2% 100%);
  clip-path: polygon(0 72%, 8% 48%, 18% 60%, 30% 42%, 43% 66%, 57% 50%, 70% 62%, 83% 44%, 100% 64%, 100% 100%, 0 100%);
  opacity: .18;
}

.site-footer::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(ellipse at 10% 66%, rgba(122,199,106,.14) 0 8%, transparent 8.5%),
    radial-gradient(ellipse at 88% 62%, rgba(122,199,106,.12) 0 9%, transparent 9.5%),
    linear-gradient(180deg, transparent 0 52%, rgba(255,255,255,.32) 70%, transparent 86%);
}

.footer-inner {
  position: relative;
  z-index: 1;
  padding-top: 110px;
  padding-bottom: 28px;
}

.footer-inner::before {
  position: absolute;
  inset: 60px calc(50% - 50vw) auto;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(43,127,204,.22), transparent);
}

.footer-brand,
.footer-company,
.footer-service,
.footer-links {
  padding: 18px 16px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(43,127,204,.12);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(31,92,153,.08);
  backdrop-filter: blur(6px);
}

.footer-copy {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,.5);
}

@media (max-width: 980px) {
  .blog-grid {
    grid-template-columns: 1fr;
    max-width: 640px;
  }
}

@media (max-width: 640px) {
  .contact-area {
    padding-bottom: 56px;
  }

  .footer-landscape {
    display: none;
  }

  .blog-section {
    padding: 56px 14px 58px;
  }

  .blog-section .section-heading {
    text-align: center;
  }

  .blog-section .section-heading::after {
    margin-inline: auto;
  }

  .blog-card {
    min-height: 0;
  }

  .footer-inner {
    padding-top: 166px;
  }

  .footer-brand,
  .footer-company,
  .footer-service,
  .footer-links {
    padding: 16px;
  }
}

/* ===== Footer refined brand close ===== */
.site-footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 0;
  padding: 72px max(20px, calc((100vw - 1120px) / 2)) 0;
  color: #38506e;
  background:
    linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(238,247,253,.62) 48%, rgba(255,255,255,.72) 100%),
    url("assets/footer-landscape.png") center bottom / 100% auto no-repeat;
  border-top: 1px solid rgba(43,127,204,.16);
}

.site-footer::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(rgba(43,127,204,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,127,204,.045) 1px, transparent 1px),
    radial-gradient(circle at 8% 22%, rgba(43,127,204,.12), transparent 8rem),
    radial-gradient(circle at 92% 18%, rgba(139,194,122,.12), transparent 10rem);
  background-size: 30px 30px, 30px 30px, auto, auto;
}

.site-footer::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 0;
  height: 190px;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.7));
}

.footer-cta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto 28px;
  padding: 26px 32px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 8px;
  box-shadow: 0 24px 58px rgba(31,92,153,.2);
}

.footer-cta span {
  display: block;
  margin-bottom: 6px;
  color: var(--yellow);
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
}

.footer-cta strong {
  display: block;
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.45;
}

.footer-cta .button {
  flex: 0 0 auto;
  margin: 0;
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 1.25fr) repeat(3, minmax(0, .75fr));
  gap: 18px;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 0 34px;
}

.footer-inner::before {
  display: none;
}

.footer-brand,
.footer-company,
.footer-service,
.footer-links {
  padding: 22px;
  text-align: left;
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(43,127,204,.14);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(31,92,153,.08);
  backdrop-filter: blur(10px);
}

.footer-brand {
  background:
    radial-gradient(circle at 92% 88%, rgba(139,194,122,.14), transparent 8rem),
    rgba(255,255,255,.82);
}

.footer-brand-name {
  position: relative;
  margin: 0 0 10px;
  padding-left: 48px;
  color: var(--blue-dark);
  font-size: 20px;
  line-height: 1.45;
}

.footer-brand-name::before {
  position: absolute;
  left: 0;
  top: 1px;
  width: 36px;
  height: 36px;
  content: "";
  background: url("assets/logo/logo-mark.svg") center / contain no-repeat;
}

.footer-tagline {
  max-width: 34em;
  color: #38506e;
  font-size: 13px;
  line-height: 1.8;
}

.footer-badges {
  gap: 8px;
  margin-top: 18px;
}

.footer-badges li {
  padding: 6px 10px;
  color: var(--blue-dark);
  background: rgba(232,242,251,.86);
  border-color: rgba(43,127,204,.18);
}

.footer-heading {
  margin-bottom: 14px;
  color: var(--blue-dark);
  font-family: "Inter", sans-serif;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-company-list li,
.footer-service-list li,
.footer-link-list li {
  margin: 8px 0;
  color: #4f6582;
  font-size: 13px;
  line-height: 1.65;
}

.footer-link-list a,
.footer-service-list a,
.footer-bottom-links a {
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
  border-bottom: 1px solid rgba(43,127,204,.28);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(43,127,204,.16);
}

.footer-copy {
  display: block;
  padding: 0;
  color: #5d7088;
  text-align: left;
  background: transparent;
  border-top: 0;
}

.footer-copy-main,
.footer-copy-rights {
  display: inline;
}

.footer-copy-rights {
  margin-left: .35em;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
}

@media (max-width: 980px) {
  .site-footer {
    padding-top: 54px;
  }

  .footer-cta,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding-inline: 14px;
  }

  .footer-cta {
    align-items: center !important;
    padding: 22px;
    text-align: center !important;
  }

  .footer-cta .button {
    align-self: center !important;
    margin-inline: auto !important;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-company,
  .footer-service,
  .footer-links {
    padding: 18px;
  }
}

/* ===== Soft illustration additions (final override) ===== */
.deliverables-visual {
  margin-bottom: 30px;
}

.deliverables-visual img,
.contact-visual img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 22px 54px rgba(31, 92, 153, .1);
}

.deliverable-thumb-image {
  padding: 0;
  overflow: hidden;
  background: #f8fbfe;
}

.deliverable-thumb-image::before,
.deliverable-thumb-image .deliverable-thumb-label,
.deliverable-thumb-image .deliverable-thumb-line,
.deliverable-thumb-image .deliverable-thumb-bar {
  display: none;
}

.deliverable-thumb-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.contact-visual {
  position: relative;
  grid-column: 1 / -1;
  margin: 0 0 8px;
}

.contact-visual img {
  display: block;
  background: #fff;
}

.contact-visual-label {
  position: absolute;
  z-index: 1;
  color: var(--blue-dark);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.contact-visual-label-share {
  left: 44%;
  top: 90.77%; /* +3.27% (15px下) */
  width: 24%;
  font-size: clamp(15px, 1.7vw, 24px);
}

.contact-visual-label-search,
.contact-visual-label-map,
.contact-visual-label-booking {
  font-size: clamp(13px, 1.35vw, 18px);
}

/* search/map/booking：15px 左 (-1.36%) */
.contact-visual-label-search { left: 64.44%; top: 57.7%; }
.contact-visual-label-map { left: 73.84%; top: 57.7%; }
.contact-visual-label-booking { left: 84.44%; top: 57.7%; }

.contact-visual-label-plan {
  left: 74.6%;
  top: 88.67%; /* +3.27% (15px下) */
  width: 24%;
  font-size: clamp(13px, 1.3vw, 18px);
  color: #4f75ad;
}

.plan {
  padding-top: 78px;
}

/* 旧4プラン用 nth-child(1〜4)::after の装飾（CSS グラデーションで描いていた4種のティアアイコン）は
   v3 で 1プラン制に統合された 2026-05-16 に削除済み。.crown::after の王冠装飾を featured marker として残置。 */

.process-step {
  padding-top: 60px;
}

.process-step::before {
  display: block !important;
  top: 0;
  right: auto;
  left: 14px;
  width: 56px;
  height: 56px;
  background: transparent;
  border: none;
  box-shadow: none;
}

.process-step:nth-child(1)::before {
  background: url("assets/icons/process-01-form.png") center center / contain no-repeat;
}

.process-step:nth-child(2)::before {
  background: url("assets/icons/process-02-consult.png") center center / contain no-repeat;
}

.process-step:nth-child(3)::before {
  background: url("assets/icons/process-03-proposal.png") center center / contain no-repeat;
}

.process-step:nth-child(4)::before {
  background: url("assets/icons/process-04-contract.png") center center / contain no-repeat;
}

.process-step:nth-child(5)::before {
  background: url("assets/icons/process-05-kickoff.png") center center / contain no-repeat;
}

/* ===== Flow cards: restore white panels ===== */
#flow .flow-card {
  padding: 18px;
  background:
    radial-gradient(circle at 92% 92%, rgba(139,194,122,.1), transparent 8rem),
    rgba(255,255,255,.96);
  border: 1px solid rgba(43,127,204,.14);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(31,92,153,.1);
}

#flow .flow-card h3,
#flow .flow-card p {
  max-width: none;
}

#flow .flow-card .step-visual {
  background: #fff;
  border-color: rgba(43,127,204,.14);
}

/* ===== Hero title and stat cards balance ===== */
.hero h1.hero-title {
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.08;
}

.hero h1 .hero-title-main,
.hero h1 .hero-title-particle,
.hero h1 .hero-title-blue {
  display: inline-block;
  white-space: nowrap;
}

.hero h1 .hero-title-main {
  color: var(--ink);
  font-size: 1.1em;
  letter-spacing: 0;
}

.hero h1 .hero-title-particle {
  color: var(--ink);
  font-size: 1em;
  letter-spacing: 0;
}

.hero h1 .hero-title-blue {
  color: var(--blue);
  font-size: 1.16em;
  letter-spacing: .04em;
}

.hero .floating-card {
  box-sizing: border-box;
  width: 230px;
  height: 148px;
  align-content: center;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 12px;
}

.hero .floating-card small {
  font-size: 14px;
  line-height: 1.35;
}

.hero .floating-card strong {
  font-size: 30px;
}

.hero .floating-card strong span {
  font-size: 15px;
}

.hero .rank-card {
  left: calc(50% - 26px);
  bottom: 126px;
}

.hero .access-card {
  left: calc(50% + 236px);
  bottom: 96px;
}

.hero .route-card {
  right: max(46px, calc((100vw - 1120px) / 2 + 34px));
  top: 168px;
}

.hero .route-card span {
  font-size: 13px;
  line-height: 1.45;
}

.hero .mini-bars {
  width: 112px;
  height: 34px;
}

@media (max-width: 980px) {
  .hero h1.hero-title {
    font-size: clamp(38px, 5.8vw, 56px);
  }
}

@media (max-width: 640px) {
  .hero h1.hero-title {
    font-size: 42px;
  }
}

/* ===== Contact visual label alignment ===== */
.contact-visual-label-share {
  left: 45.8%;
  top: 89.97%; /* +3.27% (15px下) */
}

.contact-visual-label-search {
  left: 64.04%; /* -1.36% (15px左) */
  top: 58.6%;
}

.contact-visual-label-map {
  left: 73.74%; /* -1.36% (15px左) */
  top: 58.6%;
}

.contact-visual-label-booking {
  left: 84.14%; /* -1.36% (15px左) */
  top: 58.6%;
}

.contact-visual-label-plan {
  left: 76.2%;
  top: 87.97%; /* +3.27% (15px下) */
}

@media (max-width: 640px) {
  .deliverables-visual,
  .contact-visual {
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .deliverables-visual img,
  .contact-visual img {
    min-width: 680px;
  }

  /* スマホ版 contact-visual：画像に文字が焼き込み済みなので overlay label を非表示にし、画像幅を画面に合わせる */
  .contact-visual {
    overflow-x: visible;
  }
  .contact-visual img {
    min-width: 0;
    width: 100%;
  }
  .contact-visual-label {
    display: none;
  }

  .plan {
    padding-top: 72px;
  }
}

/* ================================================================ */
/* === Responsive Phase 4: モバイル監査で発見した追加修正 ============== */
/* ================================================================ */

@media (max-width: 640px) {
  /* (1) グリッドの 1fr → minmax(0, 1fr) でcontent min-contentによるはみ出し解消 */
  .pain-grid,
  .pillars-grid,
  .plan-grid-4,
  .deliverable-grid,
  .voice-grid,
  .blog-grid,
  .extras-grid,
  .filter-grid,
  .story-grid,
  .reason-grid,
  .compare-options-list,
  .footer-inner,
  .profile {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  /* story-result-metrics 2列 → 1列 */
  .story-result-metrics {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  /* card itemに min-width: 0 を強制してtrackからはみ出さないように */
  .pain-card,
  .pillar,
  .voice-card,
  .deliverable-card,
  .blog-card,
  .extras-card,
  .filter-card,
  .story-card,
  .reason,
  .plan,
  .process-step,
  .flow-card,
  .profile-portrait,
  .profile-copy,
  .profile-photo-caption,
  .story-balloon,
  .pain-bridge,
  .quota-banner,
  .faq,
  .contact-form,
  .contact-visual,
  .deliverables-visual {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  /* story-balloon幅を viewport 内に */
  .story-balloon {
    width: auto !important;
  }

  /* filter-list の各 li がコンテンツ min-content で広がるのを抑制 */
  .filter-list li,
  .filter-list-fit li,
  .filter-list-nofit li {
    min-width: 0 !important;
    max-width: 100% !important;
    word-break: break-word;
  }

  /* contact-area の左右パディングを抑制してinner要素を収める */
  .contact-area {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  /* (2) pain-blueprint img の min-width 解除 */
  .pain-blueprint img,
  .pain-flow-canvas img,
  .section-figure img {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* (3) deliverables / consultation img もモバイルでは100%幅に */
  .deliverables-visual img,
  .contact-visual img {
    min-width: 0 !important;
    width: 100% !important;
  }

  .deliverables-visual,
  .contact-visual {
    overflow-x: visible !important;
  }

  /* (4) ヘッダーnavリンクのタッチターゲット 44px 確保 */
  .nav {
    padding: 4px 0 !important;
  }

  .nav a {
    display: inline-flex !important;
    align-items: center;
    min-height: 44px !important;
    padding: 0 10px !important;
  }

  /* (5) フッターリンクのタッチターゲット 44px 確保 */
  .footer-link-list a,
  .footer-service-list a,
  .footer-bottom-links a,
  .site-footer a {
    display: inline-block !important;
    min-height: 44px !important;
    padding: 12px 4px !important;
    line-height: 20px;
  }

  /* (6) 同意チェックボックス内のプライバシーポリシーリンク */
  .consent-text a {
    display: inline-block;
    min-height: 44px;
    padding: 12px 4px;
  }

  /* (7) section の左右パディング（コンテンツが端に張り付くのを防ぐ） */
  .section {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  /* (8) 全体的なword-breakの最終保証 */
  body {
    overflow-x: hidden;
  }
}

/* ================================================================ */
/* === Responsive Phase 3: 細部調整（process/profile/typography） ===== */
/* ================================================================ */

@media (max-width: 640px) {
  /* process-steps：縦1列にスタック、矢印を↓に */
  .process-steps {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .process-step {
    padding: 18px 16px 16px !important;
  }

  /* 矢印を右向き(→)から下向き(↓)に変更 */
  .process-step:not(:last-child)::after {
    content: "↓" !important;
    right: auto !important;
    left: 50% !important;
    top: auto !important;
    bottom: -16px !important;
    transform: translateX(-50%) !important;
    display: block !important;
  }

  /* profile：写真高さ縮小、グリッド1列 */
  .profile {
    grid-template-columns: 1fr !important;
    padding: 22px !important;
    gap: 22px !important;
  }

  .profile-photo {
    width: 200px !important;
    height: 200px !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    border-radius: 50% !important;
  }

  .profile h2 {
    font-size: 22px !important;
  }

  .profile-name {
    font-size: 26px !important;
  }

  /* セクションheading のフォントとマージン縮小 */
  .section-heading {
    margin-bottom: 18px !important;
  }

  .section-heading h2,
  .profile h2,
  .faq h2,
  .contact-form h2 {
    font-size: clamp(20px, 5.5vw, 26px) !important;
    line-height: 1.4 !important;
  }

  .section-lead {
    font-size: 13px !important;
  }

  /* sectionの縦余白縮小 */
  .section {
    padding: 32px 0 !important;
  }

  /* hero h1 をモバイルでさらに縮小（既に @media 640 で 42px だが、もう少し下げる） */
  .hero h1.hero-title {
    font-size: clamp(28px, 8.5vw, 38px) !important;
  }

  .hero-copy {
    width: 100% !important;
  }

  .lead {
    font-size: 14px !important;
    max-width: none !important;
  }

  /* フッター：ロゴ・ブランド名を中央寄せ */
  .footer-inner {
    text-align: center;
  }

  .footer-badges {
    justify-content: center !important;
  }

  /* タッチターゲット担保（CTAボタン高さ44px以上） */
  .button,
  .header-cta {
    min-height: 48px !important;
    padding: 0 22px !important;
  }

  /* form input/select もタッチしやすく */
  input,
  select,
  textarea {
    min-height: 48px !important;
    font-size: 16px !important; /* iOS Safari のズーム防止 */
  }

  /* 5タグ折り返し */
  .hero-tags {
    flex-wrap: wrap !important;
  }

  /* nav はスクロール可 */
  .nav {
    overflow-x: auto !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch;
  }

  /* result-grid 各カードの背景画像サイズ調整 */
  .result-grid article {
    min-height: 220px !important;
  }

  /* metrics 4バッジ：モバイルで2x2 */
  .metrics {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ================================================================ */
/* === Responsive Phase 2: 比較表をモバイルで縦カード化 ================ */
/* ================================================================ */

@media (max-width: 640px) {
  .compare-table-wrap {
    overflow-x: visible !important;
  }

  .compare-table {
    width: 100% !important;
    min-width: 0 !important;
    background: transparent !important;
    border: none !important;
    border-collapse: collapse;
  }

  .compare-table thead {
    display: none;
  }

  .compare-table tbody,
  .compare-table tr {
    display: block;
    width: 100%;
  }

  .compare-table tbody tr {
    margin-bottom: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(31, 92, 153, .08);
  }

  .compare-table tbody th {
    display: block !important;
    padding: 12px 14px !important;
    background: linear-gradient(120deg, var(--blue), var(--blue-dark)) !important;
    color: #fff !important;
    font-weight: 900;
    font-size: 14px !important;
    text-align: center !important;
    border: none !important;
    white-space: normal !important;
  }

  .compare-table tbody td {
    display: block !important;
    padding: 10px 14px !important;
    text-align: left !important;
    border: none !important;
    border-bottom: 1px solid var(--line) !important;
    background: transparent !important;
    color: #38506e;
    font-weight: 700;
    font-size: 13px;
  }

  .compare-table tbody tr td:last-child {
    border-bottom: none !important;
  }

  /* 各セルに会社名を擬似要素で挿入 */
  .compare-table tbody tr td::before {
    display: block;
    margin-bottom: 4px;
    color: var(--blue-dark);
    font-weight: 900;
    font-size: 11px;
    letter-spacing: .04em;
  }

  .compare-table tbody tr td:nth-child(2)::before {
    content: "▶ クリニック集客の設計図";
    color: var(--blue);
  }

  .compare-table tbody tr td:nth-child(3)::before {
    content: "大手SEO業者";
    color: #8090a8;
  }

  .compare-table tbody tr td:nth-child(4)::before {
    content: "制作会社のSEOオプション";
    color: #8090a8;
  }

  .compare-table tbody tr td:nth-child(5)::before {
    content: "内製";
    color: #8090a8;
  }

  /* 当社のセルを強調 */
  .compare-table tbody tr td.compare-us {
    background: linear-gradient(90deg, rgba(43, 127, 204, .08), rgba(43, 127, 204, .04)) !important;
    color: var(--blue-dark);
    font-weight: 800;
    border-left: 3px solid var(--blue) !important;
  }

  .compare-table .compare-mark {
    font-size: 18px;
    margin-right: 6px;
  }
}

/* ================================================================ */
/* === Responsive Phase 1: 複雑オーバーレイ図のモバイル対応 ============ */
/* ================================================================ */

@media (max-width: 640px) {
  /* 1. 5柱マップ図はモバイルで完全非表示（5カードで補足するため） */
  .pillars-map-figure {
    display: none !important;
  }

  /* 2. pain-flow図はモバイルでも表示。min-widthを解除し全体をビューポート幅に縮小 */
  .pain-flow-figure {
    overflow: visible !important;
  }

  .pain-flow-canvas {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .pain-flow-canvas img {
    width: 100% !important;
    height: auto !important;
  }

  /* pain-flowラベルをモバイル用に縮小（絶対配置%は維持） */
  .pain-flow-title {
    font-size: clamp(11px, 3vw, 14px) !important;
    padding: 4px 8px !important;
  }

  .pain-flow-caption {
    font-size: clamp(9px, 2.4vw, 11px) !important;
    padding: 3px 6px !important;
  }

  .pain-flow-chip {
    font-size: clamp(8px, 2.2vw, 10px) !important;
    padding: 3px 6px !important;
    min-width: auto !important;
  }

  /* 3. contact-visualの絶対配置ラベルをモバイルで非表示（スクロール画像のみ表示） */
  .contact-visual-label,
  .contact-visual-label-share,
  .contact-visual-label-search,
  .contact-visual-label-map,
  .contact-visual-label-booking,
  .contact-visual-label-plan {
    display: none !important;
  }

  /* deliverables-visualも同様にラベルがあれば非表示 */
  .deliverables-visual-label {
    display: none !important;
  }
}

/* ================================================================ */
/* === Responsive cleanup: stable pain, hero, and voices layouts === */
/* ================================================================ */

.pain-mobile-journey {
  display: none;
}

@media (min-width: 981px) {
  .voice-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    max-width: 1120px !important;
    gap: 26px !important;
  }

  .voice-card {
    width: auto !important;
    min-height: 0 !important;
    transform: none !important;
  }
}

@media (max-width: 980px) {
  .site-header,
  .hero,
  .hero-copy,
  .hero-actions,
  .hero-tags,
  .pain-section,
  .pain-grid,
  .pain-card,
  .voices-section,
  .voice-grid,
  .voice-card {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .site-header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px 16px;
    overflow: hidden;
  }

  .brand {
    min-width: 0;
  }

  .brand-name {
    overflow-wrap: anywhere;
  }

  .header-cta {
    max-width: 42vw;
    white-space: nowrap;
  }

  .nav {
    grid-column: 1 / -1;
    order: initial !important;
    width: 100% !important;
    max-width: 100% !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    white-space: nowrap;
    scrollbar-width: thin;
  }

  .nav a {
    flex: 0 0 auto;
  }

  .hero.section-band {
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
  }

  .hero-tags {
    display: flex;
    flex-wrap: wrap;
  }

  .hero-tags li {
    flex: 0 1 auto;
    max-width: 100%;
  }

  .pain-section {
    overflow: hidden;
    padding-inline: max(16px, calc((100vw - 720px) / 2)) !important;
  }

  .pain-flow-figure {
    display: none !important;
  }

  .pain-mobile-journey {
    position: relative;
    display: grid;
    gap: 18px;
    max-width: 720px;
    margin: 0 auto 26px;
  }

  .pain-mobile-journey::before {
    position: absolute;
    top: 168px;
    bottom: 168px;
    left: 50%;
    width: 3px;
    content: "";
    background: linear-gradient(180deg, var(--coral), var(--blue), var(--green));
    border-radius: 999px;
    opacity: .38;
    transform: translateX(-50%);
  }

  .pain-journey-card {
    position: relative;
    display: grid;
    gap: 12px;
    min-width: 0;
    padding: 14px 14px 16px;
    overflow: hidden;
    background:
      linear-gradient(135deg, rgba(255,255,255,.98), rgba(248,252,255,.94)),
      linear-gradient(rgba(43,127,204,.045) 1px, transparent 1px),
      linear-gradient(90deg, rgba(43,127,204,.045) 1px, transparent 1px);
    background-size: auto, 22px 22px, 22px 22px;
    border: 1px solid rgba(43, 127, 204, .18);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(31, 92, 153, .08);
  }

  .pain-journey-card::after {
    position: absolute;
    left: 50%;
    bottom: -17px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: var(--blue);
    font-size: 18px;
    font-weight: 900;
    background: #fff;
    border: 1px solid rgba(43, 127, 204, .2);
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(31, 92, 153, .12);
    transform: translateX(-50%);
  }

  .pain-journey-card-1::after,
  .pain-journey-card-2::after { content: "↓"; }
  .pain-journey-card-3::after { display: none; }

  .pain-journey-step {
    position: absolute;
    left: 24px;
    top: 24px;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: #fff;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 900;
    background: var(--blue);
    border: 5px solid #fff;
    border-radius: 50%;
    box-shadow: 0 8px 18px rgba(31, 92, 153, .16);
  }

  .pain-journey-card-1 .pain-journey-step { background: var(--coral); }
  .pain-journey-card-3 .pain-journey-step { background: var(--green); }

  .pain-journey-visual {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(43, 127, 204, .14);
    border-radius: 8px;
    box-shadow: 0 12px 26px rgba(31, 92, 153, .08);
  }

  .pain-journey-card-1 .pain-journey-visual {
    border-color: rgba(232, 93, 93, .22);
  }

  .pain-journey-card-3 .pain-journey-visual {
    border-color: rgba(122, 199, 106, .24);
  }

  .pain-journey-card h3 {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--ink);
    font-size: clamp(18px, 4.8vw, 22px);
    line-height: 1.45;
    text-align: center;
  }

  .pain-journey-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--ink2);
    font-size: 14px;
    line-height: 1.8;
  }

  .pain-journey-card strong {
    position: relative;
    z-index: 1;
    width: fit-content;
    margin: -2px auto 0;
    padding: 6px 12px;
    color: var(--blue-dark);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.45;
    background: var(--blue-soft);
    border: 1px solid rgba(43, 127, 204, .16);
    border-radius: 999px;
  }

  .pain-journey-card-1 strong {
    color: var(--coral);
    background: rgba(232, 93, 93, .08);
    border-color: rgba(232, 93, 93, .18);
  }

  .pain-journey-card-3 strong {
    color: #447565;
    background: rgba(122, 199, 106, .12);
    border-color: rgba(122, 199, 106, .24);
  }

  .pain-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    max-width: 720px !important;
    gap: 14px !important;
  }

  .pain-card {
    overflow: hidden;
  }

  .pain-card h3 {
    overflow-wrap: anywhere;
  }

  .voice-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    max-width: 640px !important;
    gap: 18px !important;
  }

  .voice-card {
    width: 100% !important;
    min-height: 0 !important;
    transform: none !important;
  }

  .quota-banner {
    justify-content: center !important;
  }

  .quota-text {
    flex: 0 1 auto !important;
  }
}

/* Mobile hamburger header final override */
@media (max-width: 640px) {
  .site-header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 16px !important;
    overflow: visible !important;
  }

  .menu-toggle {
    position: fixed;
    top: 14px;
    right: 16px;
    z-index: 32;
    display: inline-grid !important;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    background: #fff;
    border: 1px solid rgba(43, 127, 204, .24);
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(31, 92, 153, .08);
  }

  .mobile-menu {
    display: grid !important;
  }

  .mobile-menu-backdrop {
    display: block !important;
  }
}

/* Final mobile menu polish: no closed-drawer shadow, centered button */
@media (max-width: 980px) {
  .menu-toggle {
    position: fixed !important;
    top: 4px !important;
    right: 16px !important;
    z-index: 42 !important;
    box-shadow: none !important;
  }

  .mobile-menu {
    visibility: hidden !important;
    opacity: 0 !important;
    box-shadow: none !important;
    transform: translateX(110%) !important;
  }

  .site-header.is-menu-open .mobile-menu {
    visibility: visible !important;
    opacity: 1 !important;
    box-shadow: -14px 0 30px rgba(31, 92, 153, .12) !important;
    transform: translateX(0) !important;
  }

  .hero.section-band {
    box-shadow: none !important;
  }
}

/* Hamburger header for narrow/tablet layouts */
@media (max-width: 980px) {
  body.is-menu-open {
    overflow: hidden;
  }

  .site-header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 16px !important;
    overflow: visible !important;
  }

  .brand {
    min-width: 0;
    padding-right: 62px;
  }

  .brand-logo {
    height: 36px;
    max-width: min(250px, calc(100vw - 126px));
  }

  .brand-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .menu-toggle {
    position: fixed;
    top: 14px;
    right: 16px;
    z-index: 42;
    display: inline-grid !important;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    background: #fff;
    border: 1px solid rgba(43, 127, 204, .24);
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(31, 92, 153, .08);
  }

  .mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 38;
    display: block !important;
    pointer-events: none;
    background: rgba(20, 40, 71, .24);
    opacity: 0;
    transition: opacity .2s ease;
  }

  .site-header.is-menu-open .mobile-menu-backdrop {
    pointer-events: auto;
    opacity: 1;
  }

  .mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 40;
    display: grid !important;
    grid-template-rows: 1fr auto;
    gap: 20px;
    width: min(82vw, 320px);
    height: 100dvh;
    padding: 78px 18px 22px;
    background: rgba(255,255,255,.98);
    border-left: 1px solid rgba(43, 127, 204, .16);
    box-shadow: -18px 0 42px rgba(31, 92, 153, .16);
    transform: translateX(104%);
    transition: transform .24s ease;
  }

  .site-header.is-menu-open .mobile-menu {
    transform: translateX(0);
  }

  .mobile-menu .nav {
    display: grid !important;
    grid-column: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    white-space: normal !important;
  }

  .mobile-menu .nav a {
    display: flex !important;
    align-items: center;
    min-height: 52px !important;
    padding: 0 4px !important;
    color: var(--blue-dark);
    font-size: 15px;
    font-weight: 900;
    border-bottom: 1px solid rgba(43, 127, 204, .12);
  }

  .mobile-menu .header-cta {
    justify-self: stretch !important;
    width: 100%;
    max-width: 100% !important;
    min-height: 54px !important;
    margin-top: auto;
    padding: 0 18px !important;
    font-size: 15px;
  }
}

@media (max-width: 640px) {
  .site-header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    overflow: visible !important;
  }

  .menu-toggle {
    display: inline-grid !important;
    grid-column: 2;
    grid-row: 1;
  }

  .mobile-menu {
    display: grid !important;
  }

  .mobile-menu-backdrop {
    display: block !important;
  }

  .mobile-menu .header-cta {
    justify-self: stretch !important;
  }
}

.menu-toggle,
.mobile-menu-backdrop {
  display: none;
}

.mobile-menu {
  display: contents;
}

@media (max-width: 640px) {
  body.is-menu-open {
    overflow: hidden;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 16px !important;
    overflow: visible !important;
  }

  .brand {
    max-width: 100%;
  }

  .brand-name {
    font-size: 15px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .menu-toggle {
    position: relative;
    z-index: 32;
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    background: #fff;
    border: 1px solid rgba(43, 127, 204, .24);
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(31, 92, 153, .08);
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 3px 0;
    background: var(--blue-dark);
    border-radius: 999px;
    transition: transform .2s ease, opacity .2s ease;
  }

  .site-header.is-menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .site-header.is-menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 28;
    display: block;
    pointer-events: none;
    background: rgba(20, 40, 71, .24);
    opacity: 0;
    transition: opacity .2s ease;
  }

  .site-header.is-menu-open .mobile-menu-backdrop {
    pointer-events: auto;
    opacity: 1;
  }

  .mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 30;
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 20px;
    width: min(82vw, 320px);
    height: 100dvh;
    padding: 78px 18px 22px;
    background: rgba(255,255,255,.98);
    border-left: 1px solid rgba(43, 127, 204, .16);
    box-shadow: -18px 0 42px rgba(31, 92, 153, .16);
    transform: translateX(104%);
    transition: transform .24s ease;
  }

  .site-header.is-menu-open .mobile-menu {
    transform: translateX(0);
  }

  .mobile-menu .nav {
    display: grid !important;
    grid-column: auto !important;
    order: initial !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    white-space: normal !important;
    scrollbar-width: auto;
  }

  .mobile-menu .nav a {
    display: flex !important;
    align-items: center;
    min-height: 52px !important;
    padding: 0 4px !important;
    color: var(--blue-dark);
    font-size: 15px;
    font-weight: 900;
    border-bottom: 1px solid rgba(43, 127, 204, .12);
  }

  .mobile-menu .header-cta {
    justify-self: stretch !important;
    width: 100%;
    max-width: 100% !important;
    min-height: 54px !important;
    margin-top: auto;
    padding: 0 18px !important;
    font-size: 15px;
  }
}

@media (max-width: 640px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr);
    padding-inline: 16px !important;
  }

  .header-cta {
    justify-self: start;
    max-width: 100%;
  }

  .hero {
    min-height: 620px !important;
    padding: 34px 20px 36px !important;
    background: #fff !important;
    overflow: hidden !important;
    isolation: isolate;
  }

  .hero::before {
    z-index: 1;
    background:
      linear-gradient(180deg, rgba(255,255,255,.58) 0%, rgba(255,255,255,.26) 44%, rgba(255,255,255,0) 100%),
      linear-gradient(90deg, rgba(255,255,255,.72) 0%, rgba(255,255,255,.26) 52%, rgba(255,255,255,0) 100%) !important;
  }

  .hero-copy {
    width: 100% !important;
    max-width: 100% !important;
    padding: 20px 20px 18px;
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(255, 255, 255, .56);
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(31, 92, 153, .10);
    backdrop-filter: blur(5px);
  }

  .hero-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
  }

  .hero-actions .button {
    width: 100%;
    justify-content: center;
  }

  .hero h1.hero-title {
    overflow-wrap: normal;
  }

  .hero .lead {
    max-width: 335px !important;
    font-size: 15px !important;
    line-height: 1.75 !important;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .hero-visual {
    inset: 2px auto auto -120px !important;
    width: 690px !important;
    height: auto !important;
    z-index: 0;
  }

  .hero-visual img {
    width: 690px !important;
    max-width: none !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center top !important;
    opacity: 1;
  }

  .hero-tags {
    position: relative;
    z-index: 3;
    max-width: 100%;
  }

  .pain-section {
    padding-inline: 14px !important;
  }

  .pain-section .section-heading h2 {
    max-width: 12em;
    margin-inline: auto;
    font-size: clamp(24px, 6.2vw, 30px) !important;
    line-height: 1.45 !important;
  }

  .pain-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    max-width: 100% !important;
  }

  .pain-card {
    padding-inline: 20px !important;
  }

  .pain-card::after {
    right: 14px;
    max-width: 40%;
    overflow: hidden;
    font-size: 16px !important;
  }

  .pain-bridge {
    padding: 22px 18px !important;
  }

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

  .voices-section {
    padding-inline: 14px !important;
  }

  .voice-card p {
    font-size: 15px !important;
    line-height: 1.8 !important;
  }
}

@media (max-width: 640px) {
  .hero::before {
    background:
      linear-gradient(180deg, rgba(255,255,255,.26) 0%, rgba(255,255,255,.1) 42%, rgba(255,255,255,0) 100%),
      linear-gradient(90deg, rgba(255,255,255,.34) 0%, rgba(255,255,255,.12) 52%, rgba(255,255,255,0) 100%) !important;
  }

  .hero-copy {
    padding: 10px 4px 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
  }

  .hero .eyebrow,
  .hero h1.hero-title,
  .hero .lead,
  .hero .micro {
    text-shadow: none !important;
    filter:
      drop-shadow(1px 0 0 rgba(255,255,255,.96))
      drop-shadow(-1px 0 0 rgba(255,255,255,.96))
      drop-shadow(0 1px 0 rgba(255,255,255,.96))
      drop-shadow(0 -1px 0 rgba(255,255,255,.96))
      drop-shadow(0 4px 12px rgba(255,255,255,.72));
  }

  .hero h1.hero-title {
    -webkit-text-stroke: 0 transparent;
  }

  .hero .lead {
    max-width: 350px !important;
    font-weight: 900;
  }

  .hero {
    min-height: auto !important;
    padding-bottom: 24px !important;
  }

  .hero.section-band {
    margin-bottom: 0 !important;
  }

  .pain-section {
    padding-top: 30px !important;
  }

  .quota-banner {
    justify-content: center !important;
    gap: 18px !important;
    padding: 28px 20px 30px !important;
  }

  .quota-text {
    flex: 0 1 auto !important;
  }
}

/* Mobile hamburger header final override */
@media (max-width: 640px) {
  .site-header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 16px !important;
    overflow: visible !important;
  }

  .menu-toggle {
    position: fixed;
    top: 14px;
    right: 16px;
    z-index: 32;
    display: inline-grid !important;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    background: #fff;
    border: 1px solid rgba(43, 127, 204, .24);
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(31, 92, 153, .08);
  }

  .mobile-menu {
    display: grid !important;
  }

  .mobile-menu-backdrop {
    display: block !important;
  }
}

/* ============ COMPANY section（フッター直前・全幅） ============ */
.company-section {
  margin-top: 80px;
  padding: 72px 5vw 88px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--blue-soft) 100%);
  border-top: 1px solid var(--line);
}
.company-section-inner {
  max-width: 1480px;
  margin: 0 auto;
}
.company-section .section-heading {
  text-align: center;
  margin-bottom: 40px;
}
.company-grid {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(0, 1.5fr);
  gap: 48px;
  align-items: stretch;
}
.company-table {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 12px 20px;
  margin: 0;
  padding: 28px 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.company-table dt {
  font-weight: 700;
  color: var(--blue-dark);
  font-size: 14px;
  align-self: start;
  padding-top: 2px;
  white-space: nowrap;
}
.company-table dd {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
}
.company-table dd a {
  color: var(--blue);
  text-decoration: underline;
}
.company-table dd a:hover {
  color: var(--blue-dark);
}
.company-map-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}
.company-office {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--blue-soft);
  aspect-ratio: 4 / 3;
}
.company-office img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.company-office-caption {
  margin: 0;
  font-size: 13px;
  color: var(--ink2);
  text-align: center;
}
.company-map {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--blue-soft);
  aspect-ratio: 4 / 3;
  min-width: 0;
}
.company-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 980px) {
  .company-section {
    margin-top: 48px;
    padding: 48px 18px 56px;
  }
  .company-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .company-table {
    padding: 22px 18px;
    grid-template-columns: 1fr;
    gap: 4px 0;
  }
  .company-table dt {
    font-size: 13px;
    padding-top: 14px;
    white-space: normal;
  }
  .company-table dt:first-child {
    padding-top: 0;
  }
  .company-table dd {
    font-size: 14.5px;
    margin-bottom: 4px;
  }
  .company-map-stack {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .company-office {
    aspect-ratio: 16 / 11;
  }
  .company-map {
    aspect-ratio: 16 / 11;
  }
  .company-map iframe {
    height: 100%;
  }
}

/* ============ COMPANY section visual refresh ============ */
.company-section {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  padding: 82px max(24px, calc((100vw - 1180px) / 2)) 92px;
  background:
    linear-gradient(rgba(43,127,204,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,127,204,.055) 1px, transparent 1px),
    radial-gradient(circle at 12% 22%, rgba(255,196,65,.16), transparent 13rem),
    radial-gradient(circle at 88% 12%, rgba(139,194,122,.15), transparent 15rem),
    linear-gradient(180deg, #fff 0%, #f2f8ff 100%);
  background-size: 26px 26px, 26px 26px, auto, auto, auto;
  border-top: 1px solid rgba(43,127,204,.14);
  isolation: isolate;
}

.company-section::before {
  position: absolute;
  inset: 0 0 auto;
  height: 220px;
  content: "";
  background: linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,0));
  pointer-events: none;
  z-index: -1;
}

.company-section-inner {
  max-width: 1180px;
}

.company-section .section-heading {
  max-width: 780px;
  margin: 0 auto 34px;
}

.company-section .section-heading h2 {
  color: var(--blue-dark);
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.25;
}

.company-grid {
  grid-template-columns: minmax(380px, .86fr) minmax(0, 1.14fr);
  gap: 28px;
  align-items: stretch;
}

.company-info {
  position: relative;
  overflow: hidden;
  padding: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(43,127,204,.12), transparent 11rem),
    rgba(255,255,255,.92);
  border: 1px solid rgba(43,127,204,.16);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(31,92,153,.09);
}

.company-info::before {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 16px;
  padding: 0 12px;
  content: "SUTEKi / Clinic SEO Partner";
  color: var(--blue-dark);
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  background: var(--blue-soft);
  border: 1px solid rgba(43,127,204,.16);
  border-radius: 999px;
}

.company-table {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  grid-template-columns: 7.5em minmax(0, 1fr);
  gap: 0 18px;
}

.company-table dt,
.company-table dd {
  padding: 12px 0;
  border-bottom: 1px solid rgba(43,127,204,.1);
}

.company-table dt {
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 900;
}

.company-table dd {
  color: #263d5f;
  font-size: 14px;
  font-weight: 700;
}

.company-table dt:last-of-type,
.company-table dd:last-of-type {
  border-bottom: 0;
}

.company-map-stack {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: 18px;
  align-items: stretch;
}

.company-office,
.company-map {
  position: relative;
  min-height: 0;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(43,127,204,.16);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(31,92,153,.1);
}

.company-office::before,
.company-map::before {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  padding: 7px 10px;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  background: rgba(21,76,143,.86);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(31,92,153,.14);
}

.company-office::before {
  content: "OFFICE";
}

.company-map::before {
  content: "ACCESS MAP";
}

.company-office img {
  transform: scale(1.02);
}

.company-map iframe {
  filter: saturate(.96) contrast(.98);
}

@media (max-width: 980px) {
  .company-section {
    padding: 54px 14px 64px;
  }

  .company-grid,
  .company-map-stack {
    grid-template-columns: minmax(0, 1fr);
  }

  .company-info {
    padding: 18px;
  }

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

  .company-table dt {
    padding: 12px 0 2px;
    border-bottom: 0;
  }

  .company-table dd {
    padding: 0 0 12px;
  }

  .company-office,
  .company-map {
    aspect-ratio: 16 / 10;
  }
}

/* Company section: map-led layout with compact office photo */
.company-map-stack {
  position: relative;
  display: block;
  min-height: 420px;
}

.company-map {
  width: 100%;
  height: 100%;
  min-height: 420px;
  aspect-ratio: auto;
}

.company-office {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 3;
  width: min(240px, 34%);
  min-height: 0;
  aspect-ratio: 4 / 3;
  border: 3px solid rgba(255,255,255,.92);
  box-shadow: 0 16px 32px rgba(31,92,153,.18);
}

.company-office::before {
  left: 10px;
  top: 10px;
  padding: 5px 8px;
  font-size: 10px;
}

.company-map::before {
  left: 18px;
  top: 18px;
}

@media (max-width: 980px) {
  .company-map-stack {
    min-height: 380px;
  }

  .company-map {
    min-height: 380px;
  }

  .company-office {
    left: 14px;
    bottom: 14px;
    width: min(180px, 48%);
  }
}

/* Company table alignment fix */
.company-table {
  grid-template-columns: 8.5em minmax(0, 1fr);
  gap: 0;
}

.company-table dt,
.company-table dd {
  display: flex;
  align-items: flex-start;
  min-height: 52px;
  box-sizing: border-box;
}

.company-table dt {
  padding: 14px 18px 14px 0;
}

.company-table dd {
  padding: 14px 0 14px 18px;
}

@media (max-width: 980px) {
  .company-table {
    grid-template-columns: minmax(0, 1fr);
  }

  .company-table dt,
  .company-table dd {
    min-height: 0;
  }

  .company-table dt {
    padding: 14px 0 4px;
  }

  .company-table dd {
    padding: 0 0 14px;
  }
}

/* Company table row structure: align borders by row */
.company-table {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.company-table-row {
  display: grid;
  grid-template-columns: 8.5em minmax(0, 1fr);
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(43,127,204,.1);
}

.company-table-row:last-child {
  border-bottom: 0;
}

.company-table-row dt,
.company-table-row dd {
  display: block;
  min-height: 0;
  padding: 0;
  border-bottom: 0;
}

.company-table-row dt {
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 900;
}

.company-table-row dd {
  color: #263d5f;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .company-table-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 14px 0;
  }
}

/* Keep generated images crisp without changing the assets */
.story-card-visual,
.step-visual,
.filter-visual,
.pillar-visual,
.voice-visual img,
.blog-thumb img,
.deliverable-thumb img,
.pain-journey-visual,
.company-office img {
  image-rendering: auto;
  filter: none !important;
}

.company-office img {
  transform: none !important;
}

.profile-photo {
  object-position: center 22% !important;
  transform: scale(1.20);
  transform-origin: center 22%;
}

.consultant-card img {
  object-position: center 26% !important;
  transform: scale(1.20);
  transform-origin: center 18%;
}

/* Mobile profile photo layout fix */
@media (max-width: 640px) {
  .profile-portrait {
    display: block !important;
    min-height: 0 !important;
    padding: 14px !important;
  }

  .profile-photo {
    display: block !important;
    width: 100% !important;
    height: 360px !important;
    min-height: 360px !important;
    margin: 0 !important;
    object-fit: cover !important;
    object-position: center 18% !important;
    border-radius: 8px !important;
    transform: none !important;
  }

  .profile-photo-caption {
    position: static !important;
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-top: 12px !important;
    transform: none !important;
  }
}

/* Representative portrait: soft circular crop on PC and mobile */
.profile-portrait {
  display: grid;
  justify-items: center;
  align-content: center;
}

.profile-photo-frame {
  display: block;
  width: min(360px, 100%) !important;
  height: min(360px, 100%) !important;
  aspect-ratio: 1 / 1;
  margin: 0 auto !important;
  border: 8px solid rgba(255, 255, 255, .92);
  border-radius: 50% !important;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(31, 92, 153, .14);
}

.profile-photo {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  object-fit: cover !important;
  object-position: center 12% !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: translate(-14px, 18px) scale(1.50) !important;
  transform-origin: center 12%;
}

.profile-photo-caption {
  position: static !important;
  justify-content: center;
  margin-top: 14px;
  transform: none !important;
}

.consultant-card img {
  object-position: center 18% !important;
  border-radius: 50% !important;
  transform: scale(1.18) !important;
  transform-origin: center 18%;
}

.consultant-avatar-frame {
  flex: 0 0 72px;
  display: block;
  width: 72px;
  height: 72px;
  overflow: hidden;
  background: transparent;
  border-radius: 50%;
}

.consultant-avatar-frame img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 0 !important;
  transform: none !important;
  transform-origin: center center;
}

@media (max-width: 640px) {
  .profile-portrait {
    padding: 18px 14px 16px !important;
  }

  .profile-photo-frame {
    width: min(300px, 82vw) !important;
    height: min(300px, 82vw) !important;
  }

  .profile-photo {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    object-position: center 12% !important;
    transform: translate(-12px, 16px) scale(1.50) !important;
  }
}

/* Mobile footer bottom alignment */
@media (max-width: 640px) {
  .footer-bottom {
    align-items: center !important;
    gap: 14px !important;
    padding: 18px 0 12px !important;
    text-align: center !important;
  }

  .footer-copy {
    width: min(100%, 32em) !important;
    margin-inline: auto !important;
    font-size: 11px !important;
    line-height: 1.8 !important;
    text-align: center !important;
  }

  .footer-copy-main,
  .footer-copy-rights {
    display: block !important;
  }

  .footer-copy-rights {
    margin-left: 0 !important;
  }

  .footer-bottom-links {
    justify-content: center !important;
    width: 100% !important;
    gap: 10px 18px !important;
  }

  .footer-bottom-links a {
    min-height: 40px !important;
    padding: 10px 6px !important;
    line-height: 20px !important;
  }
}

/* ================================================================ */
/* === Mobile bug fixes (2026-05-12) ============================== */
/* ================================================================ */

/* (1) フォーム同意文が赤くなる問題：
       label span { color: #ef3f35 } が * 印用に書かれているが、
       .consent-text の span も巻き込んで赤くなっていたので明示的に戻す。 */
.consent-text,
.consent-text * {
  color: var(--ink);
}
.consent-text a {
  color: var(--blue);
}

/* (2) モバイルでプライバシーポリシーリンクの inline-block 化が
       1行で収まらず改行していたので inline に戻す（タップ領域は
       行高で確保） */
@media (max-width: 720px) {
  .consent-text a {
    display: inline !important;
    min-height: 0 !important;
    padding: 0 !important;
  }
  .consent {
    line-height: 1.9 !important;
  }
}

/* (3) コンタクト直上の contact-visual：モバイル用に文字焼き込み済み画像（consultation-illustration-mobile.png）が
       picture/source で切り替わるため、display:none は解除（旧ルールは互換のため残置）。 */
@media (max-width: 720px) {
  .contact-visual {
    display: block;
  }
}

/* (4) consultant-card：アバター 72px が大きすぎて「代表取締役」が
       改行されていたので、モバイルではアバターを 56px に縮小。 */
@media (max-width: 720px) {
  .consultant-avatar-frame {
    flex: 0 0 56px !important;
    width: 56px !important;
    height: 56px !important;
  }
  .consultant-avatar-frame img {
    width: 56px !important;
    height: 56px !important;
  }
  .consultant-card {
    gap: 12px !important;
    padding: 12px 14px !important;
  }
  .consultant-card strong {
    font-size: 14px !important;
    line-height: 1.4 !important;
  }
  .consultant-card p {
    font-size: 12px !important;
  }
}

/* (5) フッター下の家イラスト（背景画像）と Privacy/Legal/Contact が
       重なって見にくいので、モバイルだけ padding-bottom を確保。 */
@media (max-width: 640px) {
  .site-footer {
    padding-bottom: 80px !important;
  }
}

/* Final mobile footer CTA centering */
@media (max-width: 640px) {
  .site-footer .footer-cta {
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .site-footer .footer-cta .button {
    align-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* Final mobile contact form containment */
@media (max-width: 640px) {
  .contact-form {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 22px 16px !important;
    overflow: hidden !important;
  }

  .contact-form .form-head,
  .contact-form label,
  .contact-form .wide {
    display: block !important;
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
}

/* Final mobile containment for profile portrait and FAQ rows */
@media (max-width: 980px) {
  .profile {
    overflow: hidden !important;
  }

  .profile-portrait {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .profile-photo-frame {
    width: min(320px, 70vw) !important;
    height: auto !important;
    max-width: calc(100% - 8px) !important;
    aspect-ratio: 1 / 1 !important;
  }

  .profile-photo {
    object-fit: cover !important;
    object-position: center top !important;
    transform: scale(1.22) !important;
    transform-origin: center top !important;
  }

  .profile-photo-caption {
    width: 100% !important;
    max-width: 100% !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
  }

  .profile-photo-caption span {
    max-width: 100% !important;
    white-space: normal !important;
    text-align: center !important;
  }

  .faq {
    overflow: hidden !important;
  }

  .faq details {
    min-width: 0 !important;
  }

  .faq summary {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 14px !important;
    min-width: 0 !important;
    line-height: 1.55 !important;
    overflow-wrap: anywhere !important;
  }

  .faq summary::after {
    flex: none !important;
    align-self: center !important;
    justify-self: end !important;
  }
}

@media (max-width: 640px) {
  .profile-photo-frame {
    width: min(320px, 82vw) !important;
  }

  .profile-photo {
    object-fit: cover !important;
    object-position: center top !important;
    transform: scale(1.32) !important;
    transform-origin: center top !important;
  }

  .profile-photo-caption span {
    padding: 8px 12px !important;
    font-size: clamp(13px, 3.6vw, 15px) !important;
    line-height: 1.35 !important;
  }

  .faq summary {
    padding: 16px 0 !important;
    font-size: clamp(18px, 5.1vw, 22px) !important;
  }
}

/* Mobile reason cards: keep headings readable */
@media (max-width: 640px) {
  .reason {
    padding: 24px 20px !important;
  }

  .reason h3,
  .reason ul {
    max-width: 100% !important;
  }

  .reason h3 {
    font-size: clamp(22px, 6.1vw, 28px) !important;
    line-height: 1.55 !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
  }

  .reason::after {
    width: 96px !important;
    height: 106px !important;
    opacity: .24 !important;
  }
}

/* Final logo and blog navigation refresh */
.brand-logo {
  height: 64px;
  max-width: min(480px, 62vw);
}

.blog-header {
  position: sticky;
  top: 0;
  z-index: 20;
}

.blog-header .brand {
  min-width: 0;
}

.blog-header .brand-logo {
  height: 64px;
  max-width: min(480px, 64vw);
}

.blog-menu {
  position: absolute !important;
  top: 25px;
  right: 32px;
  z-index: 30;
  display: block !important;
  flex: 0 0 auto;
}

/* PC（720px以上）ではハンバーガーメニュー非表示。記事一覧はパンくず／ヘッダーの「← 記事一覧に戻る」リンクでナビゲーション。 */
@media (min-width: 720px) {
  .blog-menu {
    display: none !important;
  }
}

.blog-menu-check {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.blog-menu-toggle {
  display: inline-grid !important;
  place-items: center;
  position: relative;
  width: 52px;
  height: 52px;
  padding: 0;
  cursor: pointer;
  background: var(--blue-dark);
  border: 1px solid rgba(31, 92, 153, .28);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(31, 92, 153, .18);
  color: #fff;
  font-size: 0;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.blog-menu-toggle::before {
  width: 24px;
  height: 3px;
  content: "";
  background: currentColor;
  border-radius: 999px;
  box-shadow: 0 -8px 0 currentColor, 0 8px 0 currentColor;
}

.blog-menu-check:checked + .blog-menu-toggle {
  color: var(--blue-dark);
  background: #fff;
}

.blog-menu-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 25;
  display: none;
  width: min(340px, calc(100vw - 32px));
  padding: 10px;
  background: rgba(255, 255, 255, .98);
  border: 1px solid rgba(219, 232, 245, .95);
  border-radius: 8px;
  box-shadow: 0 20px 44px rgba(31, 92, 153, .16);
}

.blog-menu-check:checked ~ .blog-menu-panel {
  display: grid;
}

.blog-menu-panel a {
  padding: 13px 14px;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
  text-decoration: none;
  border-radius: 8px;
}

.blog-menu-panel a:hover,
.blog-menu-panel a:focus-visible {
  background: var(--blue-soft);
}

@media (max-width: 980px) {
  .brand-logo {
    height: 46px;
    max-width: min(330px, calc(100vw - 78px));
  }

  .blog-header {
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    padding: 10px 66px 10px 6px !important;
  }

  .blog-header .brand {
    padding-right: 0 !important;
  }

  .blog-header .brand-logo {
    height: 46px;
    max-width: min(330px, calc(100vw - 78px));
  }

  .blog-menu {
    position: fixed !important;
    top: 9px !important;
    right: 10px !important;
    z-index: 9999 !important;
  }

  .blog-menu-toggle {
    width: 48px;
    height: 48px;
  }

  .blog-menu-panel {
    position: fixed;
    top: 66px;
    right: 10px;
    z-index: 9998;
  }
}

/* Final blog footer and related-link mobile polish */
.blog-page .blog-related {
  overflow: hidden !important;
}

.blog-page .blog-related-list {
  width: 100% !important;
  min-width: 0 !important;
}

.blog-page .blog-related-list li {
  margin: 0 !important;
  padding-left: 0 !important;
  min-width: 0 !important;
}

.blog-page .blog-related-list li::before {
  display: none !important;
}

.blog-page .blog-related-list a {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  line-height: 1.65 !important;
}

.footer-logo-link,
.footer-bottom-logo-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  text-decoration: none;
  border-bottom: 0 !important;
}

.footer-logo,
.footer-bottom-logo {
  display: block;
  width: auto;
  object-fit: contain;
}

.footer-logo {
  height: 58px;
  max-width: min(420px, 100%);
  margin-bottom: 16px;
}

.footer-bottom-logo {
  height: 42px;
  max-width: min(315px, 42vw);
}

.footer-bottom-logo-link {
  flex: 0 1 auto;
}

@media (max-width: 980px) {
  .footer-brand {
    text-align: center;
  }

  .footer-logo-link,
  .footer-bottom-logo-link {
    justify-content: center;
    width: 100%;
    margin-inline: auto;
    min-height: 0 !important;
    padding: 0 !important;
  }

  .footer-logo,
  .footer-bottom-logo {
    margin-inline: auto;
  }

  .footer-bottom {
    align-items: center !important;
    text-align: center !important;
  }
}

@media (max-width: 640px) {
  .blog-page .blog-related {
    padding: 20px 16px !important;
  }

  .blog-page .blog-related-list {
    gap: 12px !important;
  }

  .blog-page .blog-related-list a {
    padding: 14px 16px !important;
    font-size: clamp(17px, 4.8vw, 22px) !important;
  }

  .footer-logo-link,
  .footer-bottom-logo-link {
    justify-content: center;
    width: 100%;
    min-height: 0 !important;
    padding: 0 !important;
  }

  .footer-logo {
    height: 54px;
    max-width: min(330px, 100%);
    margin-inline: auto;
  }

  .footer-bottom-logo {
    height: 46px;
    max-width: min(330px, 92vw);
  }
}

/* Final header hamburger alignment */
@media (max-width: 980px) {
  body:not(.blog-page) .site-header {
    padding: 10px 78px 10px 12px !important;
    overflow: visible !important;
  }

  body:not(.blog-page) .site-header .brand {
    min-width: 0 !important;
    max-width: calc(100vw - 118px) !important;
    overflow: hidden !important;
  }

  body:not(.blog-page) .site-header .brand-logo {
    width: min(300px, calc(100vw - 118px)) !important;
    height: auto !important;
    max-height: 52px !important;
    max-width: calc(100vw - 118px) !important;
  }

  body:not(.blog-page) .menu-toggle {
    position: fixed !important;
    top: 9px !important;
    right: 12px !important;
    z-index: 42 !important;
    display: inline-grid !important;
    place-items: center !important;
    width: 56px !important;
    height: 56px !important;
    padding: 0 !important;
    background: #fff !important;
    border: 1px solid rgba(43, 127, 204, .24) !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 18px rgba(31, 92, 153, .08) !important;
    color: var(--blue-dark) !important;
  }

  body:not(.blog-page) .menu-toggle span {
    width: 30px !important;
    height: 4px !important;
    margin: 3px 0 !important;
    background: var(--blue-dark) !important;
    border-radius: 999px !important;
  }

  .blog-menu-toggle {
    width: 56px !important;
    height: 56px !important;
    background: #fff !important;
    border: 1px solid rgba(43, 127, 204, .24) !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 18px rgba(31, 92, 153, .08) !important;
    color: var(--blue-dark) !important;
  }

  .blog-menu-toggle::before {
    width: 30px !important;
    height: 4px !important;
    box-shadow: 0 -10px 0 currentColor, 0 10px 0 currentColor !important;
  }

  .blog-menu-check:checked + .blog-menu-toggle {
    color: var(--blue-dark) !important;
    background: #fff !important;
  }
}

@media (max-width: 640px) {
  body:not(.blog-page) .site-header .brand-logo {
    width: min(300px, calc(100vw - 118px)) !important;
  }
}

/* Blog hamburger: match TOP button and raise position */
@media (max-width: 980px) {
  .blog-header {
    padding: 10px 78px 10px 12px !important;
    min-height: 76px !important;
    align-items: center !important;
    box-sizing: border-box !important;
  }

  .blog-header .brand {
    min-width: 0 !important;
    max-width: calc(100vw - 118px) !important;
    overflow: hidden !important;
  }

  .blog-header .brand-logo {
    width: min(300px, calc(100vw - 118px)) !important;
    height: auto !important;
    max-height: 52px !important;
    max-width: calc(100vw - 118px) !important;
  }

  .blog-menu {
    top: 9px !important;
    right: 12px !important;
    display: grid !important;
    place-items: center !important;
    line-height: 0 !important;
  }

  .blog-menu-toggle {
    width: 56px !important;
    height: 56px !important;
    background: #fff !important;
    border: 1px solid rgba(43, 127, 204, .24) !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 18px rgba(31, 92, 153, .08) !important;
    color: var(--blue-dark) !important;
    position: relative !important;
    line-height: 0 !important;
    font-size: 0 !important;
  }

  .blog-menu-toggle::before {
    display: block !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    width: 30px !important;
    height: 4px !important;
    margin: 0 !important;
    background: currentColor !important;
    border-radius: 999px !important;
    box-shadow: 0 -10px 0 currentColor, 0 10px 0 currentColor !important;
    transform: translate(-50%, -50%) !important;
  }

  .blog-menu-panel {
    top: 72px !important;
    right: 12px !important;
  }
}

/* Raise all mobile hamburger buttons by 5px */
@media (max-width: 980px) {
  body:not(.blog-page) .menu-toggle {
    top: 4px !important;
  }

  .blog-menu {
    top: 4px !important;
  }

  .blog-menu-panel {
    top: 67px !important;
  }
}

/* TOP hamburger fine tune */
@media (max-width: 980px) {
  body:not(.blog-page) .menu-toggle {
    top: 1px !important;
  }
}

/* ============================================================
 * v3 新規セクション向け 最低限のデフォルトスタイル（2026-05-15）
 * デザイン仕上げは Codex 側で行う前提のベース。
 * ・plan-grid-1（集客顧問1プラン）
 * ・plan-solo / plan-extras-note
 * ・expectations（期待値マネジメント）
 * ・recommend（ドメイン状態別おすすめ構成）
 * ・face-to-face（対面・訪問の押し）
 * ・referrals（他社紹介）
 * ============================================================ */

/* ---- 1プラン制グリッド ---- */
.plan-grid-1 {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin-inline: auto;
}
.plan-solo {
  text-align: left;
}
.plan-extras-note {
  margin: 24px auto 0;
  max-width: 720px;
  padding: 18px 22px;
  background: var(--cream, #fff8ec);
  border-left: 4px solid var(--blue, #2b7fcc);
  border-radius: 8px;
}
.plan-extras-note p {
  margin: 4px 0;
  font-size: 14px;
  line-height: 1.7;
}

/* ---- 期待値マネジメント ---- */
.expectations-section {
  background: #f7f9fc;
}
.expectations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1120px;
  margin-inline: auto;
}
.expectations-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  border: 1px solid #e3e8ef;
}
.expectations-card.expectations-warning {
  border-color: #f1c98a;
  background: #fffbf3;
}
.expectations-card h3 {
  margin: 0 0 12px;
  color: var(--blue-dark, #1d5a99);
  font-size: 20px;
}
.expectations-sub {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--muted, #66707d);
}
.expectations-list {
  margin: 0;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.8;
}
.expectations-list li {
  margin-bottom: 10px;
}
.expectations-time {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 10px;
  background: var(--blue, #2b7fcc);
  color: #fff;
  border-radius: 99px;
  font-weight: 700;
  font-size: 13px;
}
.expectations-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted, #66707d);
}
@media (max-width: 720px) {
  .expectations-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- ドメイン状態別おすすめ構成 ---- */
.recommend-section {
  background: #fff;
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1200px;
  margin-inline: auto;
}
.recommend-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  border: 1px solid #e3e8ef;
  display: flex;
  flex-direction: column;
}
.recommend-card.recommend-standard {
  border-color: var(--blue, #2b7fcc);
  border-width: 2px;
  background: linear-gradient(180deg, #fff, #f4f9fe);
}
.recommend-tier {
  display: inline-block;
  margin: 0 0 8px;
  padding: 3px 12px;
  background: var(--blue-dark, #1d5a99);
  color: #fff;
  border-radius: 99px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  align-self: flex-start;
}
.recommend-card.recommend-strong .recommend-tier {
  background: #4caf50;
}
.recommend-card.recommend-weak .recommend-tier {
  background: #b8772a;
}
.recommend-condition {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--muted, #66707d);
  line-height: 1.6;
}
.recommend-card h3 {
  margin: 0 0 14px;
  color: var(--ink, #1f2937);
  font-size: 18px;
}
.recommend-card ul {
  margin: 0 0 14px;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.8;
}
.recommend-total {
  margin: auto 0 8px;
  padding-top: 14px;
  border-top: 1px solid #e3e8ef;
  font-size: 15px;
}
.recommend-desc {
  margin: 0;
  font-size: 13px;
  color: var(--muted, #66707d);
  line-height: 1.7;
}
.recommend-note {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
  color: var(--muted, #66707d);
}
@media (max-width: 980px) {
  .recommend-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* ---- 対面・訪問の押し ---- */
.face-to-face-section {
  background: linear-gradient(180deg, #f4f9fe, #fff);
}
.face-to-face-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin-inline: auto;
}
.f2f-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  border: 1px solid #e3e8ef;
}
.f2f-card h3 {
  margin: 0 0 14px;
  color: var(--blue-dark, #1d5a99);
  font-size: 18px;
  line-height: 1.5;
}
.f2f-card p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.8;
}
.f2f-list {
  margin: 12px 0 0;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted, #66707d);
}
.f2f-list li {
  margin-bottom: 6px;
}
.f2f-note {
  margin-top: 22px;
  text-align: center;
  font-size: 13px;
  color: var(--muted, #66707d);
}
@media (max-width: 980px) {
  .face-to-face-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ---- 他社紹介 ---- */
.referrals-section {
  background: #f9f9f9;
}
.referrals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1120px;
  margin-inline: auto;
}
.referrals-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px 22px;
  border: 1px solid #e3e8ef;
}
.referrals-card h3 {
  margin: 0 0 12px;
  font-size: 16px;
  color: var(--ink, #1f2937);
}
.referrals-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted, #66707d);
}
@media (max-width: 980px) {
  .referrals-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* ============================================================
 * v3 final polish: expectations / recommend / face-to-face
 * ============================================================ */
.expectations-section,
.recommend-section,
.face-to-face-section {
  position: relative;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: 86px max(20px, calc((100vw - 1120px) / 2));
  overflow: hidden;
}

.expectations-section .section-heading,
.recommend-section .section-heading,
.face-to-face-section .section-heading {
  max-width: 850px;
  margin: 0 auto 34px;
}

.expectations-section .section-heading h2,
.recommend-section .section-heading h2,
.face-to-face-section .section-heading h2,
.expectations-section .section-lead,
.recommend-section .section-lead,
.face-to-face-section .section-lead {
  word-break: break-all;
  overflow-wrap: anywhere;
}

.expectations-section .section-heading::after,
.recommend-section .section-heading::after,
.face-to-face-section .section-heading::after {
  display: block;
  width: 76px;
  height: 4px;
  margin: 18px auto 0;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--green));
  border-radius: 999px;
}

.expectations-section {
  background:
    linear-gradient(rgba(43,127,204,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,127,204,.045) 1px, transparent 1px),
    linear-gradient(180deg, #f7f9fc 0%, #fff 100%);
  background-size: 30px 30px, 30px 30px, auto;
}

.expectations-visual-placeholder {
  position: relative;
  display: block;
  width: min(760px, 100%);
  height: 96px;
  margin: -4px auto 30px;
  object-fit: cover;
  object-position: center;
  background: #f7f9fc;
  border: 1px solid rgba(43,127,204,.14);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(31, 92, 153, .08);
}

.expectations-grid {
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: 26px;
}

.expectations-card {
  position: relative;
  min-width: 0;
  padding: 30px 30px 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.93)),
    linear-gradient(120deg, rgba(232,242,251,.62), transparent);
  border: 1px solid rgba(43, 127, 204, .14);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(31, 92, 153, .09);
}

.expectations-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--green));
  border-radius: 8px 8px 0 0;
}

.expectations-card.expectations-warning {
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,251,243,.95)),
    #fffbf3;
  border-color: rgba(245, 166, 35, .34);
}

.expectations-card.expectations-warning::before {
  background: linear-gradient(90deg, #b04e0a, var(--orange));
}

.expectations-card h3,
.recommend-card h3,
.f2f-card h3 {
  letter-spacing: 0;
}

.expectations-card h3 {
  margin-bottom: 10px;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.45;
}

.expectations-sub,
.expectations-note {
  color: #4b5f77;
  font-weight: 700;
}

.expectations-list,
.recommend-card ul,
.f2f-list {
  padding-left: 0;
}

.expectations-list li,
.recommend-card li,
.f2f-list li {
  position: relative;
  min-width: 0;
  padding-left: 28px;
  color: #314867;
  font-weight: 700;
}

.expectations-list li::before,
.recommend-card li::before,
.f2f-list li::before {
  left: 0;
  top: .62em;
  width: 11px;
  height: 11px;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(122, 199, 106, .14);
}

.expectations-warning .expectations-list li::before {
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(245, 166, 35, .14);
}

.expectations-time {
  margin: 8px 6px 0 0;
  padding: 5px 13px;
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-weight: 900;
  background: var(--blue-dark);
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(31, 92, 153, .14);
}

.expectations-note {
  padding-top: 14px;
  border-top: 1px solid rgba(245, 166, 35, .22);
}

.expectations-note a {
  color: var(--blue-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.recommend-section {
  background:
    radial-gradient(circle at 9% 10%, rgba(122,199,106,.12), transparent 14rem),
    linear-gradient(180deg, #fff, rgba(232,242,251,.68));
}

.recommend-grid {
  align-items: stretch;
  gap: 26px;
}

.recommend-card {
  position: relative;
  min-width: 0;
  padding: 28px 24px 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 10%, rgba(43,127,204,.08), transparent 7rem),
    rgba(255,255,255,.96);
  border: 1px solid rgba(43, 127, 204, .15);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(31, 92, 153, .09);
}

.recommend-card::before {
  display: block;
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  content: "";
  background: url("assets/icons/tier-strong.png") center center / contain no-repeat;
}

.recommend-card.recommend-standard {
  background:
    radial-gradient(circle at 92% 10%, rgba(43,127,204,.12), transparent 7rem),
    linear-gradient(180deg, #fff, #f4f9fe);
  border: 2px solid var(--blue);
  box-shadow: 0 26px 62px rgba(31, 92, 153, .16);
  transform: translateY(-10px);
}

.recommend-card.recommend-standard::before {
  background: url("assets/icons/tier-standard.png") center center / contain no-repeat;
}

.recommend-card.recommend-weak::before {
  background: url("assets/icons/tier-weak.png") center center / contain no-repeat;
}

.recommend-tier {
  padding: 6px 13px;
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  border-radius: 8px;
}

.recommend-condition {
  min-height: 62px;
  color: #4b5f77;
  font-weight: 800;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.recommend-card h3 {
  color: var(--blue-dark);
  font-size: clamp(19px, 1.8vw, 22px);
  line-height: 1.45;
}

.recommend-card li {
  margin: 10px 0;
  font-size: 14px;
  line-height: 1.72;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.recommend-card li small {
  color: #5f6f80;
  font-weight: 800;
}

.recommend-total {
  margin-top: auto;
  padding: 16px 0 0;
  color: #203954;
  font-weight: 900;
  line-height: 1.65;
  border-top: 1px solid rgba(43, 127, 204, .14);
  word-break: break-all;
  overflow-wrap: anywhere;
}

.recommend-total strong {
  color: var(--blue-dark);
  white-space: nowrap;
}

.recommend-desc {
  color: #4b5f77;
  font-weight: 700;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.recommend-note,
.f2f-note {
  width: min(760px, 100%);
  margin: 24px auto 0;
  padding: 12px 18px;
  color: var(--blue-dark);
  font-weight: 800;
  background: rgba(255,255,255,.78);
  border: 1px dashed rgba(43,127,204,.24);
  border-radius: 8px;
}

.face-to-face-section {
  background:
    linear-gradient(rgba(43,127,204,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,127,204,.04) 1px, transparent 1px),
    linear-gradient(180deg, #f4f9fe, #fff 55%, #fffbf3);
  background-size: 32px 32px, 32px 32px, auto;
}

.f2f-visual-picture {
  display: block;
  width: min(1200px, 100%);
  margin: -2px auto 32px;
}

.f2f-visual-placeholder {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 520;
  margin: 0;
  overflow: hidden;
  object-fit: cover;
  object-position: center;
  background: #f7f9fc;
  border: 1px solid rgba(43,127,204,.16);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(31, 92, 153, .12);
}

.face-to-face-grid {
  gap: 24px;
}

.f2f-card {
  position: relative;
  min-width: 0;
  padding: 28px 24px 26px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(43, 127, 204, .15);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(31, 92, 153, .09);
}

.f2f-card::before {
  display: block;
  width: 64px;
  height: 64px;
  margin-bottom: 14px;
  content: "";
  background: url("assets/icons/f2f-trust.png") center center / contain no-repeat;
}

.f2f-card:nth-child(2)::before {
  background: url("assets/icons/f2f-kanto.png") center center / contain no-repeat;
}

.f2f-card:nth-child(3)::before {
  background: url("assets/icons/f2f-outside.png") center center / contain no-repeat;
}

.f2f-card h3 {
  color: var(--blue-dark);
  font-size: clamp(19px, 1.75vw, 22px);
}

.f2f-card p {
  color: #314867;
  font-weight: 700;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.f2f-list {
  padding-top: 12px;
  border-top: 1px solid rgba(43, 127, 204, .12);
}

@media (max-width: 980px) {
  .expectations-section,
  .recommend-section,
  .face-to-face-section {
    padding: 70px max(20px, calc((100vw - 720px) / 2));
  }

  .expectations-grid,
  .recommend-grid,
  .face-to-face-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 640px;
    margin-inline: auto;
  }

  .recommend-card.recommend-standard {
    transform: none;
  }

  .recommend-condition {
    min-height: 0;
  }

  .f2f-visual-placeholder {
    aspect-ratio: 16 / 9;
  }

  .expectations-section h2,
  .expectations-section p,
  .expectations-section li,
  .expectations-section strong,
  .expectations-section small,
  .expectations-section span,
  .recommend-section h2,
  .recommend-section p,
  .recommend-section li,
  .recommend-section strong,
  .recommend-section small,
  .recommend-section span,
  .face-to-face-section h2,
  .face-to-face-section p,
  .face-to-face-section li,
  .face-to-face-section strong,
  .face-to-face-section small,
  .face-to-face-section span {
    max-width: 100% !important;
    white-space: normal !important;
    word-break: break-all !important;
    overflow-wrap: anywhere !important;
  }

  .recommend-total strong {
    white-space: normal !important;
  }
}

@media (max-width: 640px) {
  .expectations-section,
  .recommend-section,
  .face-to-face-section {
    padding: 56px 14px;
  }

  .expectations-section .section-heading,
  .recommend-section .section-heading,
  .face-to-face-section .section-heading {
    margin-bottom: 24px;
  }

  .expectations-section .section-heading h2,
  .recommend-section .section-heading h2,
  .face-to-face-section .section-heading h2 {
    max-width: 100%;
    font-size: clamp(25px, 7vw, 30px);
    white-space: normal !important;
    text-wrap: wrap;
    line-break: anywhere !important;
    word-break: break-all !important;
    overflow-wrap: anywhere !important;
  }

  .expectations-section .section-lead,
  .recommend-section .section-lead,
  .face-to-face-section .section-lead,
  .recommend-condition,
  .recommend-total,
  .recommend-desc,
  .recommend-card li,
  .f2f-card p,
  .f2f-list li {
    max-width: 100%;
    white-space: normal !important;
    text-wrap: wrap;
    line-break: anywhere !important;
    word-break: break-all !important;
    overflow-wrap: anywhere !important;
  }

  .recommend-total strong {
    white-space: normal !important;
  }

  .expectations-section h2,
  .expectations-section p,
  .expectations-section li,
  .expectations-section strong,
  .expectations-section small,
  .expectations-section span,
  .recommend-section h2,
  .recommend-section p,
  .recommend-section li,
  .recommend-section strong,
  .recommend-section small,
  .recommend-section span,
  .face-to-face-section h2,
  .face-to-face-section p,
  .face-to-face-section li,
  .face-to-face-section strong,
  .face-to-face-section small,
  .face-to-face-section span {
    max-width: 100% !important;
    white-space: normal !important;
    word-break: break-all !important;
    overflow-wrap: anywhere !important;
  }

  .expectations-grid,
  .recommend-grid,
  .face-to-face-grid,
  .expectations-card,
  .recommend-card,
  .f2f-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .expectations-card,
  .recommend-card,
  .f2f-card {
    padding: 24px 18px 22px;
  }

  .expectations-visual-placeholder {
    height: auto;
    margin-bottom: 22px;
    object-fit: contain;
    background: rgba(255, 255, 255, .34);
  }

  .f2f-visual-picture {
    width: 100%;
    margin-bottom: 24px;
  }

  .f2f-visual-placeholder {
    aspect-ratio: 4 / 5;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
  }

  .f2f-visual-placeholder::before {
    left: 8%;
    top: 9%;
    width: 44%;
    height: 46%;
  }

  .f2f-visual-placeholder::after {
    left: 12%;
    right: auto;
    top: 56%;
    width: 76%;
    height: 34%;
  }

  .recommend-note,
  .f2f-note {
    padding: 12px 14px;
    font-size: 12px;
    line-height: 1.75;
  }
}

/* ============================================================
 * 料金プラン・料金の透明化 デザイン刷新 v2（2026-05-16）
 * Phase 1E
 * ・plan-card-v2（メインプランカード）
 * ・plan-price-block（価格2カラム）
 * ・plan-burden-badge（院長負担バッジ）
 * ・plan-features-grid（初期/月額の2カラム機能リスト）
 * ・plan-feature-item（個別機能アイテム、アイコン+本文）
 * ・plan-consult-grid / plan-consult-card（応相談2カード）
 * ・extras-options-grid / option-card（オプション 3×2 グリッド）
 * ・extras-not-included-note（控えめ注記）
 * ============================================================ */

/* ============ メインプランカード（plan-card-v2） ============ */
.plan-card-v2 {
  position: relative;
  max-width: 1080px;
  margin: 0 auto 36px;
  padding: 36px 36px 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
  border: 1px solid rgba(43, 127, 204, .18);
  border-radius: 22px;
  box-shadow: 0 28px 70px rgba(31, 92, 153, .12);
}

.plan-card-v2-head {
  text-align: center;
  padding-bottom: 24px;
  margin-bottom: 26px;
  border-bottom: 1px dashed rgba(43, 127, 204, .22);
}

.plan-badge-featured {
  display: inline-block;
  margin: -52px auto 14px;
  padding: 8px 24px;
  background: linear-gradient(135deg, var(--blue, #2b7fcc), var(--blue-dark, #1d5a99));
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: .06em;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(31, 92, 153, .3);
}

.plan-card-v2-name {
  margin: 0 0 8px;
  color: var(--blue-dark, #1d5a99);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 900;
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
}

.plan-card-v2-tagline {
  margin: 0 0 24px;
  color: #4f6584;
  font-size: 15px;
}

/* 価格ブロック */
.plan-price-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin: 0 0 18px;
  flex-wrap: wrap;
}

.plan-price-initial,
.plan-price-monthly {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.plan-price-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted, #66707d);
  letter-spacing: .04em;
}

.plan-price-initial strong {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 900;
  color: var(--blue-dark, #1d5a99);
  font-family: "Inter", "Noto Sans JP", sans-serif;
  letter-spacing: -.01em;
}

.plan-price-monthly strong {
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 900;
  color: var(--blue, #2b7fcc);
  font-family: "Inter", "Noto Sans JP", sans-serif;
  letter-spacing: -.02em;
  line-height: 1;
}

.plan-price-monthly .yen {
  font-size: .6em;
  margin-right: 2px;
}

.plan-price-unit {
  font-size: 12px;
  color: var(--muted, #66707d);
  font-weight: 700;
}

.plan-price-plus {
  font-size: 32px;
  font-weight: 900;
  color: rgba(43, 127, 204, .35);
  align-self: center;
}

/* 院長負担バッジ */
.plan-burden-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 8px auto 0;
  padding: 10px 18px;
  background: linear-gradient(135deg, #fff7e6, #fffaf0);
  border: 1px solid rgba(245, 166, 35, .35);
  border-radius: 999px;
  font-size: 14px;
  color: #6a4818;
}

.plan-burden-icon {
  font-size: 18px;
}

.plan-burden-badge strong {
  color: #b04e0a;
}

/* 機能グリッド（初期/月額の2カラム） */
.plan-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 24px;
}

.plan-features-column {
  padding: 24px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(43, 127, 204, .14);
  border-radius: 16px;
}

.plan-features-initial {
  background: linear-gradient(180deg, #f6faff, #ffffff);
}

.plan-features-monthly {
  background: linear-gradient(180deg, #fffaf0, #ffffff);
  border-color: rgba(245, 166, 35, .2);
}

.plan-features-heading {
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid rgba(43, 127, 204, .14);
  color: var(--blue-dark, #1d5a99);
  font-size: 16px;
  font-weight: 800;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.plan-features-monthly .plan-features-heading {
  border-bottom-color: rgba(245, 166, 35, .25);
}

.plan-features-heading strong {
  color: var(--blue, #2b7fcc);
  font-size: 20px;
  font-weight: 900;
}

.plan-features-monthly .plan-features-heading strong {
  color: #b04e0a;
}

.plan-features-step {
  display: inline-block;
  padding: 3px 10px;
  background: var(--blue, #2b7fcc);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  border-radius: 999px;
}

.plan-features-monthly .plan-features-step {
  background: #b04e0a;
}

.plan-features-heading small {
  display: block;
  width: 100%;
  margin-top: 4px;
  color: var(--muted, #66707d);
  font-size: 12px;
  font-weight: 600;
}

.plan-features-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan-feature-item {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(43, 127, 204, .14);
}

.plan-feature-item:last-child {
  border-bottom: 0;
}

.plan-feature-item::before {
  display: none;
}

.plan-feature-icon {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.plan-feature-body {
  flex: 1;
  min-width: 0;
}

.plan-feature-body strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink, #1f2937);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.plan-feature-body p {
  margin: 0;
  color: #4f6584;
  font-size: 13px;
  line-height: 1.65;
}

.plan-card-v2-flex-note {
  margin: 16px 0 24px;
  padding: 14px 18px;
  background: rgba(43, 127, 204, .06);
  border-left: 4px solid var(--blue, #2b7fcc);
  border-radius: 8px;
  font-size: 13px;
  color: #4f6584;
}

.plan-card-v2-flex-note a {
  color: var(--blue, #2b7fcc);
  font-weight: 700;
}

.plan-card-v2-cta {
  text-align: center;
}

.plan-card-v2-cta .button.primary {
  display: inline-block;
  padding: 16px 36px;
  font-size: 16px;
}

/* ============ 応相談2カード（plan-consult-grid） ============ */
.plan-consult-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto 28px;
}

.plan-consult-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid rgba(43, 127, 204, .16);
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(31, 92, 153, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.plan-consult-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(31, 92, 153, .14);
}

.plan-consult-icon {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.plan-consult-body {
  flex: 1;
}

.plan-consult-tag {
  display: inline-block;
  margin: 0 0 6px;
  padding: 3px 10px;
  background: rgba(43, 127, 204, .12);
  color: var(--blue-dark, #1d5a99);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  border-radius: 999px;
}

.plan-consult-body h4 {
  margin: 0 0 8px;
  color: var(--blue-dark, #1d5a99);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
}

.plan-consult-price {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  background: linear-gradient(135deg, #fff7e6, #ffeacc);
  color: #b04e0a;
  font-size: 13px;
  font-weight: 900;
  border-radius: 6px;
}

.plan-consult-body p {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.7;
  color: #4f6584;
}

.plan-consult-link {
  display: inline-block;
  color: var(--blue, #2b7fcc);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.plan-consult-link:hover {
  text-decoration: underline;
}

/* ============ オプション 3×2 グリッド（extras-options-grid） ============ */
.extras-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1120px;
  margin: 0 auto 32px;
}

.option-card {
  display: flex;
  flex-direction: column;
  padding: 22px 22px 20px;
  background: #fff;
  border: 1px solid rgba(43, 127, 204, .16);
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(31, 92, 153, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.option-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(31, 92, 153, .14);
}

.option-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.option-icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.option-price-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 14px;
  background: linear-gradient(135deg, var(--blue, #2b7fcc), var(--blue-dark, #1d5a99));
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  font-family: "Inter", "Noto Sans JP", sans-serif;
  letter-spacing: -.01em;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(31, 92, 153, .25);
  line-height: 1.1;
  white-space: nowrap;
}

.option-price-badge small {
  font-size: 11px;
  font-weight: 700;
  opacity: .88;
  margin-top: 2px;
  letter-spacing: 0;
}

.option-name {
  margin: 0 0 10px;
  color: var(--blue-dark, #1d5a99);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.5;
}

.option-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #4f6584;
}

.option-desc small {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: var(--muted, #66707d);
}

/* ============ プランに含まれないもの（控えめ注記） ============ */
.extras-not-included-note {
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 26px;
  background: linear-gradient(180deg, #f8f6f2, #fdfbf7);
  border: 1px solid rgba(180, 130, 80, .15);
  border-radius: 12px;
}

.extras-not-included-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(180, 130, 80, .25);
  font-size: 14px;
  font-weight: 800;
  color: #6a4818;
}

.extras-not-included-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 24px;
}

.extras-not-included-list li {
  font-size: 12px;
  line-height: 1.65;
  color: #6a4818;
  padding-left: 16px;
  position: relative;
}

.extras-not-included-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .82em;
  width: 8px;
  height: 8px;
  background: #79c96d;
  border-radius: 50%;
  transform: translateY(-50%);
}

.extras-not-included-list li strong {
  color: #4a2f0e;
}

/* ============ レスポンシブ ============ */
@media (max-width: 980px) {
  .plan-card-v2 {
    padding: 30px 22px 22px;
  }
  .plan-features-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .plan-consult-grid {
    grid-template-columns: 1fr;
  }
  .extras-options-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .plan-price-block {
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .plan-card-v2 {
    padding: 28px 18px 20px;
    border-radius: 16px;
  }
  .plan-badge-featured {
    margin-top: -46px;
    font-size: 12px;
    padding: 7px 18px;
  }
  .plan-card-v2-name {
    font-size: 26px;
  }
  .plan-price-block {
    flex-direction: column;
    gap: 16px;
  }
  .plan-price-plus {
    transform: rotate(90deg);
  }
  .plan-features-column {
    padding: 18px;
  }
  .plan-feature-icon {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
  }
  .plan-burden-badge {
    font-size: 13px;
    padding: 9px 14px;
  }
  .extras-options-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .option-card {
    padding: 18px;
  }
  .option-icon {
    width: 60px;
    height: 60px;
  }
  .option-price-badge {
    font-size: 15px;
    padding: 6px 12px;
  }
  .plan-consult-card {
    padding: 18px 18px 20px;
  }
  .plan-consult-icon {
    flex-basis: 64px;
    width: 64px;
    height: 64px;
  }
  .extras-not-included-list {
    grid-template-columns: 1fr;
  }
  .plan-card-v2-cta .button.primary {
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
  }
}

/* ============================================================
 * Phase 2B：動線改善（2026-05-16）
 * - .summary-banner（FV 直下のサマリー）
 * - .header-phone（header sticky の電話バー）
 * - .midpage-quickfacts（#compare 直下の料金＋エリア早見）
 * ============================================================ */

/* ---- FV 直下サマリーバナー ---- */
.summary-banner {
  width: 100%;
  background: linear-gradient(135deg, #1d5a99 0%, #2b7fcc 100%);
  color: #fff;
  padding: 20px 24px;
}
.summary-banner-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}
.summary-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  padding-left: 14px;
}
.summary-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background: rgba(255, 255, 255, .42);
  border-radius: 2px;
}
.summary-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .82);
  text-transform: uppercase;
}
.summary-item strong {
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  line-height: 1.4;
}
.summary-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, .78);
  line-height: 1.5;
}

@media (max-width: 980px) {
  .summary-banner-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}
@media (max-width: 640px) {
  .summary-banner {
    padding: 18px 16px;
  }
  .summary-banner-inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .summary-item strong {
    font-size: 15px;
  }
}

/* ---- header sticky 電話バー ---- */
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  padding: 6px 14px;
  background: linear-gradient(135deg, #ffffff, #f4f9fe);
  color: var(--blue-dark, #1d5a99);
  border: 1px solid rgba(43, 127, 204, .3);
  border-radius: 10px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.header-phone:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(31, 92, 153, .14);
}
.header-phone-icon {
  font-size: 18px;
}
.header-phone-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.header-phone-text small {
  font-size: 9px;
  font-weight: 700;
  color: var(--muted, #66707d);
  letter-spacing: .04em;
}
.header-phone-text strong {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .02em;
  font-family: "Inter", "Noto Sans JP", sans-serif;
}

@media (max-width: 980px) {
  .header-phone {
    padding: 5px 10px;
  }
  .header-phone-text small {
    display: none;
  }
  .header-phone-text strong {
    font-size: 14px;
  }
}

/* ---- #compare 直下の midpage-quickfacts ---- */
.midpage-quickfacts {
  width: 100%;
  padding: 28px 22px;
  background: linear-gradient(180deg, #f6faff 0%, #ffffff 100%);
  border-top: 1px solid rgba(43, 127, 204, .12);
  border-bottom: 1px solid rgba(43, 127, 204, .12);
}
.midpage-quickfacts-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
}
.midpage-card {
  padding: 24px 26px;
  background: #fff;
  border: 1px solid rgba(43, 127, 204, .16);
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(31, 92, 153, .08);
}
.midpage-card-price {
  border-top: 4px solid var(--blue, #2b7fcc);
}
.midpage-card-area {
  border-top: 4px solid #4caf50;
}
.midpage-tag {
  display: inline-block;
  margin: 0 0 8px;
  padding: 3px 10px;
  background: rgba(43, 127, 204, .12);
  color: var(--blue-dark, #1d5a99);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  border-radius: 999px;
}
.midpage-card-area .midpage-tag {
  background: rgba(76, 175, 80, .12);
  color: #2f7d33;
}
.midpage-card h3 {
  margin: 0 0 10px;
  color: var(--blue-dark, #1d5a99);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
}
.midpage-price-line {
  margin: 0 0 12px;
  padding: 10px 14px;
  background: linear-gradient(135deg, #fff7e6, #fffaf0);
  border: 1px solid rgba(245, 166, 35, .25);
  border-radius: 8px;
  font-size: 15px;
}
.midpage-price-line strong {
  color: #b04e0a;
  font-size: 17px;
  font-weight: 900;
}
.midpage-price-line small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted, #66707d);
}
.midpage-card-desc {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.75;
  color: #4f6584;
}
.midpage-link {
  display: inline-block;
  color: var(--blue, #2b7fcc);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
.midpage-card-area .midpage-link {
  color: #2f7d33;
}
.midpage-link:hover {
  text-decoration: underline;
}

@media (max-width: 980px) {
  .midpage-quickfacts-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
@media (max-width: 640px) {
  .midpage-quickfacts {
    padding: 22px 14px;
  }
  .midpage-card {
    padding: 20px 18px;
  }
}

/* ============================================================
 * Phase 2C：構造の見える化（2026-05-16）
 * - .pillar-coverage（5つの柱：プラン別含有マトリクス）
 * - .f2f-card 地域別の色分け
 * - .result-metric-label / .result-metric-desc
 * - .voice-card footer フォント強化
 * - .text-blue-strong / .text-amber-strong（強調用ヘルパー）
 * ============================================================ */

.text-blue-strong {
  color: var(--blue, #2b7fcc);
  font-weight: 900;
}
.text-amber-strong {
  color: #b04e0a;
  font-weight: 900;
}

/* ---- pillar-coverage マトリクス ---- */
.pillar-coverage {
  max-width: 1120px;
  margin: 24px auto 0;
  padding: 24px 26px 28px;
  background: linear-gradient(180deg, #ffffff, #f4f9fe);
  border: 1px solid rgba(43, 127, 204, .16);
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(31, 92, 153, .08);
}
.pillar-coverage-title {
  margin: 0 0 18px;
  color: var(--blue-dark, #1d5a99);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.6;
}
.pillar-coverage-table {
  width: 100%;
  border-collapse: collapse;
}
.pillar-coverage-table thead th {
  padding: 10px 12px;
  background: rgba(43, 127, 204, .08);
  color: var(--blue-dark, #1d5a99);
  font-size: 12px;
  font-weight: 900;
  text-align: left;
  letter-spacing: .03em;
  border-bottom: 2px solid rgba(43, 127, 204, .18);
}
.pillar-coverage-table thead th.coverage-included {
  background: rgba(76, 175, 80, .1);
  color: #2f7d33;
}
.pillar-coverage-table thead th.coverage-optional {
  background: rgba(245, 166, 35, .1);
  color: #8a5318;
}
.pillar-coverage-table tbody th {
  padding: 12px;
  text-align: left;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink, #1f2937);
  border-bottom: 1px dashed rgba(43, 127, 204, .14);
  vertical-align: top;
  background: #ffffff;
  width: 22%;
}
.pillar-coverage-table tbody td {
  padding: 12px;
  font-size: 12.5px;
  color: #4f6584;
  line-height: 1.7;
  border-bottom: 1px dashed rgba(43, 127, 204, .14);
  vertical-align: top;
}
.pillar-coverage-table tbody td.coverage-included {
  background: rgba(76, 175, 80, .04);
}
.pillar-coverage-table tbody td.coverage-optional {
  background: rgba(245, 166, 35, .04);
}
.pillar-coverage-note {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--muted, #66707d);
}
.pillar-coverage-note a {
  color: var(--blue, #2b7fcc);
  font-weight: 700;
}
@media (max-width: 720px) {
  .pillar-coverage {
    padding: 20px 14px;
  }
  .pillar-coverage-title {
    font-size: 15px;
  }
  .pillar-coverage-table thead {
    display: none;
  }
  .pillar-coverage-table tbody tr {
    display: block;
    margin-bottom: 14px;
    padding: 12px;
    background: #ffffff;
    border: 1px solid rgba(43, 127, 204, .14);
    border-radius: 10px;
  }
  .pillar-coverage-table tbody th,
  .pillar-coverage-table tbody td {
    display: block;
    width: auto;
    padding: 4px 0;
    border: 0;
    background: transparent !important;
  }
  .pillar-coverage-table tbody th {
    font-size: 14px;
    margin-bottom: 4px;
  }
  .pillar-coverage-table tbody td::before {
    display: block;
    margin-top: 6px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .pillar-coverage-table tbody td.coverage-included::before {
    content: "✓ プランに含む";
    color: #2f7d33;
  }
  .pillar-coverage-table tbody td.coverage-optional::before {
    content: "＋ オプション";
    color: #8a5318;
  }
}

/* ---- f2f-card 地域別の色分け ---- */
.f2f-card:nth-child(1) {
  background: linear-gradient(180deg, #ffffff, #f4f9fe);
  border-color: rgba(43, 127, 204, .25);
}
.f2f-card:nth-child(2) {
  background: linear-gradient(180deg, #ffffff, #f4faf2);
  border-color: rgba(76, 175, 80, .3);
  border-top: 4px solid #4caf50;
}
.f2f-card:nth-child(3) {
  background: linear-gradient(180deg, #ffffff, #fff7ed);
  border-color: rgba(245, 166, 35, .3);
  border-top: 4px solid #f5a623;
}

/* ---- result-card metric label / desc ---- */
.result-clinic {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 800;
  color: var(--blue-dark, #1d5a99);
}
.result-metric-label {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 900;
  color: var(--muted, #66707d);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.result-metric-desc {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted, #66707d);
  line-height: 1.5;
}

/* ---- voice-card footer フォント強化 ---- */
.voice-card footer {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--blue-dark, #1d5a99) !important;
}

/* ============================================================
 * Phase 2D：モバイル対応の穴を埋める（2026-05-16）
 * ============================================================ */

/* ---- FV floating-card のモバイル対応 ---- */
@media (max-width: 720px) {
  .hero-visual .floating-card {
    display: none !important;
  }
}
/* 中間幅では絶対配置を解除して縦に並べる */
@media (max-width: 980px) and (min-width: 721px) {
  .hero-visual .floating-card {
    position: static;
    margin: 8px;
    transform: none;
  }
}

/* ---- pain-flow-figure モバイル非表示（pain-mobile-journey で代替済み） ---- */
@media (max-width: 720px) {
  .pain-flow-figure {
    display: none !important;
  }
  .pain-mobile-journey {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* ---- #compare 比較表のモバイル：縦カード化 ---- */
@media (max-width: 720px) {
  .compare-table-wrap {
    overflow: visible;
  }
  .compare-table {
    display: block;
  }
  .compare-table thead {
    display: none;
  }
  .compare-table tbody,
  .compare-table tbody tr {
    display: block;
  }
  .compare-table tbody tr {
    margin-bottom: 14px;
    padding: 12px 14px;
    background: #ffffff;
    border: 1px solid rgba(43, 127, 204, .14);
    border-radius: 10px;
  }
  .compare-table tbody th {
    display: block;
    margin: 0 0 8px;
    padding: 0 0 6px;
    border-bottom: 2px solid var(--blue, #2b7fcc);
    font-size: 14px;
    color: var(--blue-dark, #1d5a99);
    text-align: left;
  }
  .compare-table tbody td {
    display: block;
    padding: 8px 0 8px 12px;
    border: 0;
    border-left: 3px solid rgba(43, 127, 204, .18);
    font-size: 12.5px;
    line-height: 1.6;
    color: #4f6584;
    margin-bottom: 6px;
  }
  .compare-table tbody td.compare-us {
    border-left-color: var(--blue, #2b7fcc);
    background: rgba(43, 127, 204, .06);
    border-radius: 6px;
    padding: 10px 12px;
    font-weight: 700;
    color: var(--blue-dark, #1d5a99);
  }
  .compare-table tbody td::before {
    display: block;
    margin-bottom: 2px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    color: var(--muted, #66707d);
    text-transform: uppercase;
  }
  .compare-table tbody td.compare-us::before {
    content: "クリニック集客の設計図";
    color: var(--blue, #2b7fcc);
  }
  .compare-table tbody td:nth-child(3)::before {
    content: "大手SEO業者";
  }
  .compare-table tbody td:nth-child(4)::before {
    content: "制作会社のSEOオプション";
  }
  .compare-table tbody td:nth-child(5)::before {
    content: "内製";
  }
}

/* ---- pillars-map モバイル非表示（pillar-coverage 表で代替） ---- */
@media (max-width: 720px) {
  .pillars-map,
  .pillars-blueprint-figure {
    display: none !important;
  }
}

/* ---- expectations-visual-placeholder モバイル拡大表示 ---- */
@media (max-width: 640px) {
  .expectations-visual-placeholder {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 760 / 96;
    margin: 0 auto 20px;
  }
}

/* ============================================================
 * Phase 2E：ビジュアル洗練（2026-05-16）
 * - Hero visual のフィルタ削除（医療系の青基調維持）
 * - eyebrow の太字化＋色強化
 * - profile-photo フレーム強化
 * - filter カードの差別化（fit→green / nofit→coral）
 * - expectations 警告カードを coral 系に統一
 * - process ステップ番号バッジに緑系アクセント
 * ============================================================ */

/* ---- Hero visual のフィルタを削除（医療系青トーン維持） ---- */
.hero-visual img,
.support-art,
.step-visual {
  filter: none !important;
}
body::before {
  filter: none !important;
}

/* ---- eyebrow の視認性強化 ---- */
.eyebrow {
  font-weight: 900;
  letter-spacing: .12em;
}
.section-heading .eyebrow {
  color: var(--blue, #2b7fcc) !important;
  opacity: 1;
}

/* ---- profile-photo フレーム強化 ---- */
.profile-photo-frame {
  border: 3px solid var(--blue, #2b7fcc) !important;
  box-shadow: 0 18px 42px rgba(31, 92, 153, .14) !important;
}

/* ---- filter「合います／合わないかも」差別化 ---- */
.filter-fit {
  background: linear-gradient(180deg, #ffffff, #f4faf2) !important;
  border-left: 4px solid #4caf50 !important;
}
.filter-nofit {
  background: linear-gradient(180deg, #ffffff, #fff5f2) !important;
  border-left: 4px solid #f5a55c !important;
}

/* ---- expectations 警告カードを coral 系に変更 ---- */
.expectations-card.expectations-warning {
  background: linear-gradient(180deg, #fff7f3, #fffaf5) !important;
  border-color: rgba(245, 100, 73, .26) !important;
  border-left: 4px solid #f56449 !important;
}

/* ---- process-num に緑系グラデーション（後半） ---- */
.process-step:nth-child(4) .process-num,
.process-step:nth-child(5) .process-num {
  background: linear-gradient(135deg, #4caf50, #2f7d33);
}

/* ============================================================
 * Phase 2F：補完と透明性（2026-05-16）
 * - 比較表 .compare-us の自社セルハイライト強化
 * - 既存初期負担時間追記＋オプション同時併用ルール明記（HTML側で対応済み）
 * ============================================================ */

.compare-table td.compare-us {
  background: linear-gradient(135deg, rgba(43, 127, 204, .14), rgba(43, 127, 204, .08)) !important;
  border-left: 3px solid var(--blue, #2b7fcc) !important;
  color: var(--blue-dark, #1d5a99) !important;
  font-weight: 700;
}
.compare-table th.compare-us {
  background: linear-gradient(135deg, var(--blue, #2b7fcc), var(--blue-dark, #1d5a99)) !important;
  color: #fff !important;
}

/* Mobile overflow guard: keep late-added panels inside the viewport. */
@media (max-width: 640px) {
  html,
  body {
    max-width: 100%;
    overflow-x: clip !important;
  }

  body:not(.is-menu-open) .mobile-menu {
    display: none !important;
  }

  body.is-menu-open .mobile-menu {
    display: grid !important;
    right: 0 !important;
    width: min(82vw, 320px) !important;
    max-width: calc(100vw - 28px) !important;
    transform: none !important;
  }

  .section-heading,
  .section-lead,
  .pain-bridge,
  .story-result,
  .quota-banner,
  .plan-card-v2,
  .plan-consult-grid,
  .extras-options-grid,
  .extras-not-included-note,
  .extras-note,
  .recommend-note,
  .f2f-note,
  .footer-cta {
    width: calc(100% - 28px) !important;
    max-width: calc(100% - 28px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  .section-heading {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .section-heading h2,
  .section-lead,
  .pain-bridge p,
  .quota-text h2,
  .quota-text p,
  .footer-cta strong,
  .plan-card-v2-name,
  .plan-card-v2-tagline,
  .plan-burden-badge,
  .plan-burden-badge strong,
  .plan-burden-badge small,
  .plan-features-heading,
  .plan-feature-body strong,
  .plan-feature-body p,
  .plan-consult-body h4,
  .plan-consult-body p,
  .plans .note,
  .option-name,
  .option-desc,
  .extras-not-included-title,
  .extras-not-included-list li,
  .extras-not-included-list li strong,
  .expectations-card h3,
  .expectations-list li,
  .recommend-card h3,
  .recommend-card li,
  .f2f-card h3,
  .f2f-card p,
  .f2f-list li {
    max-width: 100% !important;
    white-space: normal !important;
    word-break: normal !important;
    line-break: loose !important;
    overflow-wrap: anywhere !important;
  }

  .pain-bridge,
  .quota-banner,
  .footer-cta {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .quota-banner {
    display: block !important;
    border-radius: 14px !important;
    overflow: hidden !important;
  }

  .quota-text {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex: none !important;
  }

  .quota-text h2 {
    font-size: clamp(18px, 5vw, 22px) !important;
    line-height: 1.55 !important;
  }

  .quota-text p {
    font-size: 13px !important;
    line-height: 1.8 !important;
  }

  .pain-bridge .button,
  .footer-cta .button,
  .plan-card-v2-cta .button.primary {
    width: 100% !important;
    max-width: 320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  .plan-card-v2 {
    padding-left: 16px !important;
    padding-right: 16px !important;
    overflow: hidden !important;
  }

  .plan-burden-badge {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    padding: 14px 16px !important;
    border-radius: 18px !important;
    text-align: left !important;
  }

  .plan-burden-icon {
    flex: 0 0 auto !important;
    margin-top: 2px !important;
  }

  .plan-burden-badge > span:last-child {
    display: block !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .plan-burden-badge small {
    display: block !important;
    margin-top: 6px !important;
    line-height: 1.75 !important;
  }

  .plan-features-column,
  .plan-feature-item,
  .plan-feature-body,
  .plan-consult-card,
  .plan-consult-body,
  .option-card,
  .option-card-head {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .plan-feature-item {
    gap: 12px !important;
  }

  .plan-feature-icon {
    flex: 0 0 44px !important;
    width: 44px !important;
    height: 44px !important;
  }

  .plan-consult-card {
    width: 100% !important;
    padding: 18px 16px !important;
    overflow: hidden !important;
  }

  .plan-consult-icon {
    flex: 0 0 56px !important;
    width: 56px !important;
    height: 56px !important;
  }

  .plan-consult-price {
    display: inline-flex !important;
    margin: 6px 0 0 !important;
    white-space: nowrap !important;
  }

  .option-card-head {
    align-items: flex-start !important;
  }

  .option-price-badge {
    flex: 0 1 auto !important;
    max-width: calc(100% - 72px) !important;
    white-space: normal !important;
  }

  .extras-not-included-note {
    padding: 20px 18px !important;
    overflow: hidden !important;
  }

  .extras-not-included-title {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px 10px !important;
    align-items: center !important;
  }

  .extras-not-included-list {
    gap: 12px !important;
  }

  .extras-not-included-list li {
    min-width: 0 !important;
    padding-left: 18px !important;
    line-height: 1.75 !important;
  }

  .extras-not-included-list li strong {
    display: inline !important;
  }

  .plans .note {
    width: calc(100% - 28px) !important;
    max-width: calc(100% - 28px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    line-height: 1.85 !important;
    box-sizing: border-box !important;
  }

  .expectations-visual-placeholder,
  .f2f-visual-picture {
    display: none !important;
  }

  .hero-visual {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .hero-visual img {
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    object-fit: cover !important;
  }

  .contact-form > div[aria-hidden="true"][style] {
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    clip-path: inset(50%) !important;
  }
}

/* Mobile fixed header/menu: keep the header visible while opening the drawer mid-scroll. */
@media (max-width: 980px) {
  body {
    padding-top: 76px !important;
  }

  body.blog-page {
    padding-top: 76px !important;
  }

  body:not(.blog-page) .site-header,
  .site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1200 !important;
    width: 100% !important;
    min-height: 76px !important;
    padding: 10px 78px 10px 12px !important;
    background: rgba(255, 255, 255, .96) !important;
    box-shadow: 0 10px 28px rgba(31, 92, 153, .08) !important;
  }

  body:not(.blog-page) .menu-toggle,
  .menu-toggle {
    position: absolute !important;
    top: 0 !important;
    right: 12px !important;
    z-index: 1202 !important;
    width: 56px !important;
    height: 56px !important;
  }

  .mobile-menu-backdrop {
    position: fixed !important;
    inset: 76px 0 0 !important;
    z-index: 1198 !important;
  }

  .mobile-menu {
    position: fixed !important;
    top: 76px !important;
    right: 0 !important;
    z-index: 1199 !important;
    width: min(82vw, 320px) !important;
    max-width: calc(100vw - 28px) !important;
    height: calc(100dvh - 76px) !important;
    padding: 22px 18px !important;
    transform: translateX(110%) !important;
  }

  body.is-menu-open .mobile-menu,
  .site-header.is-menu-open .mobile-menu {
    visibility: visible !important;
    opacity: 1 !important;
    display: grid !important;
    transform: translateX(0) !important;
  }

  body:not(.is-menu-open) .mobile-menu {
    visibility: hidden !important;
    opacity: 0 !important;
    display: grid !important;
    pointer-events: none !important;
  }

  body.is-menu-open .mobile-menu {
    pointer-events: auto !important;
  }
}
