:root {
  /* Typography */
  --font-sans: "Noto Sans JP", sans-serif;
  --font-latin: "Cormorant Garamond", serif;

  /* Brand colors: edit these values to retheme the page */
  --blue: #0d4aa5;
  --blue-deep: #0a3783;
  --blue-bright: #0756c9;
  --blue-mid: #2562c0;
  --blue-light: #eaf2ff;
  --blue-surface: #f7fbff;
  --blue-surface-strong: #edf4ff;
  --pink: #FD3F96;
  --pink-soft: #ffe3f0;

  /* Neutral and functional colors */
  --border: #cfdcf2;
  --border-light: #d7e4f8;
  --border-strong: #8ab9f3;
  --text: #22314d;
  --text-strong: #102858;
  --text-body: #364967;
  --text-subtle: #687a97;
  --muted: #5b6b87;
  --white: #ffffff;
  --bg: #ffffff;
  --soft: #f6f8fc;
  --soft-2: #eff3f9;
  --success: #12b74f;
  --danger: var(--pink);

  /* Effects */
  --shadow: 0 14px 36px rgba(18, 55, 121, 0.08);
  --shadow-soft: 0 10px 26px rgba(18, 55, 121, 0.06);
  --shadow-mobile: 0 10px 28px rgba(18, 55, 121, 0.07);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

main section[id] {
  scroll-margin-top: 108px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: linear-gradient(180deg, var(--soft) 0%, var(--white) 20%, var(--white) 100%);
  line-height: 1.8;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-sans);
}

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

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

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

/* =========================
   Header
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: color-mix(in srgb, var(--blue) 98%, transparent);
  box-shadow: 0 10px 26px rgba(7, 38, 90, 0.18);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 88px;
}

.site-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  padding-block: 10px;
  color: var(--white);
  white-space: nowrap;
}

.site-logo__name {
  font-family: "Noto Serif JP", serif;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.08em;
}

.site-logo__detail {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.06em;
}

.site-logo:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 5px;
  border-radius: 2px;
}

.global-nav ul {
  display: flex;
  justify-content: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.global-nav a {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 128px;
  height: 54px;
  padding: 0 24px;
  color: var(--blue);
  background: var(--white);
  font-weight: 800;
  border: 1px solid var(--white);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
  width: 44px;
  height: 44px;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  margin: 5px auto;
  background: var(--white);
  transition: transform .3s ease, opacity .3s ease;
}

/* =========================
   Hero
========================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: 0 0 34px;
}

.hero-eyecatch {
  position: relative;
  z-index: 1;
  display: block;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.hero-eyecatch img {
  width: 100%;
  height: auto;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 20px;
  align-items: center;
}

.hero-copy {
  padding: 36px 0 44px 28px;
}

.hero-kicker,
.hero h1,
.hero-sub {
  color: var(--blue);
}

.hero-kicker {
  font-family: var(--font-latin);
  margin: 0 0 8px;
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 500;
  line-height: .96;
}

.hero h1 {
  margin: 0;
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: .98;
  font-weight: 500;
}

.hero h1 span {
  font-size: 1.06em;
}

.hero-sub {
  margin: 14px 0 18px;
  font-size: clamp(20px, 2vw, 32px);
  letter-spacing: .14em;
}

.hero-lead {
  margin: 0;
  color: #334a70;
  font-size: 19px;
  line-height: 2;
}

.hero-visual {
  position: relative;
  z-index: 1;
  padding: 10px 0 0;
}

.hero-visual img {
  width: min(100%, 590px);
  margin-left: auto;
  filter: drop-shadow(0 20px 40px rgba(11, 52, 119, 0.16));
}

/* =========================
   Hero Points
========================= */
.points-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 10px;
  justify-items: center;
}

.point-circle {
  width: 100%;
  display: flex;
  justify-content: center;
}

.point-circle__inner {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1 / 1;
  border: 2px solid #b8ccef;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 42px 34px;
  position: relative;
}

.point-circle__inner::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(112, 149, 214, 0.35);
  border-radius: 50%;
  pointer-events: none;
}

.point-num-circle {
  width: 74px;
  height: 74px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-latin);
  font-size: 30px;
  line-height: 1;
  color: var(--blue);
  background: #fff;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.point-circle h2 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.45;
  color: var(--blue);
}

.point-circle p {
  margin: 0;
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.9;
}

/* =========================
   Common Cards
========================= */
.section-card,
.clinic-card,
.flow-card,
.price-card,
.faq-item {
  background: color-mix(in srgb, var(--white) 96%, transparent);
  /*border: 1px solid rgba(204, 220, 244, 0.95);*/
  box-shadow: var(--shadow);
}

/* =========================
   Sections
========================= */
.section {
  padding: 34px 0;
}

.section-soft {
  background: linear-gradient(180deg, var(--soft) 0%, var(--blue-surface) 100%);
}

.section-alt {
  background: linear-gradient(180deg, var(--soft-2) 0%, var(--blue-surface) 100%);
}

.section-card {
  padding: 28px 28px 30px;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.section-index {
  width: 34px;
  height: 34px;
  border: 2px solid var(--border-strong);
  color: var(--blue);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  background: var(--white);
  border-radius: 50%;
}

.section-head h2 {
  margin: 0;
  color: var(--blue);
  font-size: 34px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: .02em;
}

.section-copy p,
.clinic-body p,
.info-list,
.faq-answer {
  font-size: 16px;
  color: var(--text-body);
}

/* =========================
   About
========================= */
.about-lead-heading {
  margin-bottom: 30px;
}

.about-lead-heading h2 {
  margin: 0;
  color: var(--text-strong);
  font-size: clamp(28px, 3.35vw, 44px);
  line-height: 1.55;
  font-weight: 700;
  letter-spacing: .025em;
  text-align: center;
}

.about-lead-heading h2 strong {
  color: var(--pink);
  font-weight: 800;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.2fr .85fr;
  gap: 32px;
  align-items: center;
}

.about-visual img {
  width: 100%;
}

.about-section {
  overflow: hidden;
}

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 32px;
  align-items: center;
}

.about-main-visual {
  order: 2;
  overflow: hidden;
  border: 1px solid #d2def0;
  background: #eef4fc;
  box-shadow: 0 10px 24px rgba(18, 55, 121, 0.08);
}

.about-main-visual img {
  width: 100%;
  aspect-ratio: 840 / 610;
  object-fit: cover;
}

.about-copy {
  order: 1;
  width: 100%;
}

.about-copy .section-head {
  justify-content: flex-start;
  margin-bottom: 18px;
  text-align: left;
}

.about-copy .section-head h2 strong,
.about-copy .section-head h2 span {
  display: block;
}

.about-copy .section-head h2 strong {
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
}

.about-copy .section-head h2 span {
  margin-top: 4px;
  font-size: .6em;
  line-height: 1.5;
  color: #233d72;
  font-weight: 700;
}

.sterilization-rate {
  display: inline-block;
  position: relative;
  margin: 0 .12em;
  padding: 0 .18em .02em;
  font-size: 1.42em;
  line-height: 1.12;
  font-style: normal;
  letter-spacing: -.03em;
  color: var(--pink);
  background: linear-gradient(transparent 58%, var(--pink-soft) 58%);
}

.sterilization-rate small {
  font-size: .58em;
  letter-spacing: 0;
}

.about-copy .section-head sup {
  font-size: .42em;
  vertical-align: super;
}

.about-copy > p {
  margin: 0 0 18px;
  line-height: 2;
}

.about-section > .about-note {
  color: var(--text-subtle);
  font-size: 12px;
  line-height: 1.6;
  text-align: left;
}

.about-copy > p:last-child {
  margin-bottom: 0;
}

/* How it works: each SVG is a temporary, individually replaceable image. */
.how-it-works {
  margin-top: 46px;
  padding: 38px 24px 26px;
  border: 1px solid #b9d0f1;
  background: linear-gradient(180deg, var(--blue-surface) 0%, var(--white) 32%);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.how-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 0 0 16px;
  color: #1762d1;
  font-size: 17px;
  line-height: 1;
  letter-spacing: .22em;
}

.how-kicker::before,
.how-kicker::after {
  content: "";
  width: 58px;
  height: 1px;
  background: #6ea6ef;
}

.how-it-works > h3 {
  margin: 0;
  color: var(--blue);
  font-size: 30px;
  line-height: 1.45;
  font-weight: 700;
}

.how-lead {
  margin: 16px 0 34px;
  color: #233d72;
  font-size: 16px;
  line-height: 1.8;
  font-weight: 700;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.how-step {
  position: relative;
  min-width: 0;
}

.how-step:not(.how-step--last):not(.how-step--clone) .how-step__image::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -14px;
  width: 12px;
  height: 12px;
  border-top: 3px solid #0e57c8;
  border-right: 3px solid #0e57c8;
  transform: translateY(-50%) rotate(45deg);
}

.how-step__num {
  margin-bottom: 2px;
  color: #82b4ef;
  font-family: var(--font-latin);
  font-size: 48px;
  line-height: 1;
  letter-spacing: .05em;
}

.how-step h4 {
  min-height: 52px;
  margin: 6px 0 12px;
  color: #0952bf;
  font-size: 18px;
  line-height: 1.45;
}

.how-step__image {
  position: relative;
  overflow: visible;
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid #82b5f4;
  border-radius: 18px;
}

.how-step__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.how-step > p {
  margin: 14px -4px 0;
  color: #183568;
  font-size: 14px;
  line-height: 1.65;
  font-weight: 500;
}

.how-carousel-controls {
  display: none;
}

.how-step--clone {
  display: none;
}

.how-summary {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 16px;
  margin: 36px 0 0;
  padding: 20px 18px;
  border: 1px solid #7eb1ef;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--blue-surface) 0%, var(--white) 50%, var(--blue-surface) 100%);
  color: #0a2a6d;
  line-height: 1.4;
}

.how-summary strong {
  color: var(--pink);
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: .08em;
}

.how-summary span {
  font-size: 28px;
}

.how-summary small {
  font-size: 18px;
  font-weight: 700;
}

/* =========================
   Reserve band
========================= */
.reserve-frame-band {
  padding: 28px 0 0;
}

.reserve-header {
  text-align: center;
  margin-bottom: 16px;
}

.reserve-header h3 {
  margin: 0 0 6px;
  font-size: 30px;
  color: var(--blue);
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .02em;
}

.reserve-header h3::after {
  margin-right: auto;
  margin-left: auto;
}

.reserve-header p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

.iframe-wrapper {
  border: 1px solid var(--border-light);
  background: var(--white);
  padding: 14px;
  overflow: hidden;
}

.iframe-wrapper iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  background: var(--white);
}

/* =========================
   Comparison
========================= */
.comparison-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: stretch;
}

.comparison-layout--single {
  grid-template-columns: 1fr;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
}

.comparison-table th,
.comparison-table td {
  border: 1px solid #c7d7f2;
  padding: 16px 12px;
  text-align: center;
  font-size: 15px;
  background: var(--white);
}

.comparison-table thead th {
  background: var(--blue-surface-strong);
  color: var(--blue);
  font-weight: 800;
}

.comparison-table thead th.accent {
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-mid) 100%);
  color: var(--white);
}

.comparison-table tbody th {
  width: 160px;
  background: var(--blue-surface);
  color: #355081;
}

.comparison-note {
  margin: 10px 0 0;
  color: var(--text-subtle);
  font-size: 12px;
  line-height: 1.7;
}

.comparison-message {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 2px solid #9cb9e9;
  padding: 22px;
  background: linear-gradient(180deg, var(--white) 0%, var(--blue-surface) 100%);
  text-align: center;
}

.comparison-message p {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.8;
}

.comparison-message small {
  color: var(--text-subtle);
}

/* =========================
   Flow
========================= */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.flow-card {
  padding: 24px 20px 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flow-num-circle {
  width: 64px;
  height: 64px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-latin);
  font-size: 30px;
  line-height: 1;
  color: var(--blue);
  background: var(--white);
  margin-bottom: 18px;
  flex-shrink: 0;
}

.flow-image-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--blue-surface);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.flow-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flow-card h3 {
  margin: 16px 0 8px;
  color: var(--blue);
  font-size: 24px;
  line-height: 1.45;
}

.flow-card p {
  margin: 0;
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.85;
}

/* =========================
   Price
========================= */
.price-treatment-box {
  overflow: hidden;
  border: 2px solid var(--blue);
}

.price-diagnosis {
    display: grid;
    grid-template-columns: auto auto auto; /* 要素の数に合わせて列を指定 */
    justify-content: center;              /* グリッド全体を左右中央に配置 */
    gap: 28px;
    align-items: center;
    padding: 22px 32px;
    background: linear-gradient(90deg, var(--blue-surface-strong), var(--blue-surface));
    color: var(--blue);
}

.price-diagnosis__label {
  margin: 0;
  padding: 8px 22px;
  background: var(--blue);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

.price-diagnosis h3 {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 36px);
  white-space: nowrap;
}

.price-diagnosis__amount {
  font-size: clamp(38px, 4.8vw, 64px);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.price-diagnosis__amount span {
  margin-left: .12em;
  font-size: .42em;
}

.price-diagnosis__note {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  text-align: right;
}

.price-plus {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin: 14px auto;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0 18px 18px;
  padding: 18px;
  border: 2px solid var(--border-light);
}

.price-card {
  padding: 18px 20px 22px;
  text-align: center;
  background: linear-gradient(180deg, var(--white) 0%, var(--blue-surface) 100%);
}

.price-card h3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 86px;
  margin: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid #dce7f8;
  color: var(--blue);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.45;
}

.price-card-note {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.price-title-line {
  display: block;
  white-space: nowrap;
}

.price-unit {
  margin-left: .12em;
  font-size: .62em;
  font-weight: 600;
  vertical-align: .08em;
}

.price-main {
  margin-top: 24px;
  font-size: clamp(32px, 3.1vw, 48px);
  font-weight: 500;
}

.price-main span,
.price-sale span {
  font-size: .55em;
}

.price-old {
  margin-top: 18px;
  font-size: 32px;
  color: #333;
  text-decoration: line-through;
  text-decoration-thickness: 3px;
}

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

.price-sale {
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  color: var(--danger);
  font-weight: 500;
}

.price-note {
  text-align: right;
  margin: 12px 4px 0 0;
  color: #637490;
  font-size: 14px;
}

.retreatment-box {
  overflow: hidden;
  margin-top: 22px;
  border: 2px solid var(--blue);
}

.retreatment-head {
  padding: 14px 18px 8px;
  background: var(--blue-surface);
  color: var(--blue);
  text-align: center;
}

.retreatment-head h3 {
  margin: 0;
  font-size: clamp(23px, 2.7vw, 34px);
  line-height: 1.35;
}

.retreatment-head h3 span {
  font-size: .65em;
}

.retreatment-head p {
  margin: 2px 0 0;
  color: var(--text-body);
  font-size: 14px;
  font-weight: 700;
}

.retreatment-condition {
  width: min(760px, calc(100% - 48px));
  margin: 12px auto 0;
  padding: 7px 16px;
  background: var(--blue);
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.retreatment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 18px;
}

.retreatment-item {
  padding: 18px 20px 22px;
  background: linear-gradient(180deg, var(--white) 0%, var(--blue-surface) 100%);
  box-shadow: var(--shadow);
  color: var(--blue);
  text-align: center;
}

.retreatment-item + .retreatment-item {
  border-left: 0;
}

.retreatment-item h4 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
  font-size: 18px;
}

.retreatment-item strong {
  display: block;
  font-size: 26px;
  line-height: 1.4;
}

.retreatment-item p {
  margin: 4px 0 0;
  color: var(--text-strong);
  font-size: 24px;
  font-weight: 700;
}

.retreatment-item p span {
  font-size: .6em;
}

.retreatment-standard {
  margin: 8px 20px 0;
  padding: 8px 14px;
  background: var(--blue-surface-strong);
  color: var(--text-strong);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.retreatment-note {
  margin: 8px 14px 10px;
  color: var(--text-body);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 980px) {
  .price-diagnosis {
    gap: 12px 20px;
  }

  .price-diagnosis__label,
  .price-diagnosis__note {
    grid-column: 1 / -1;
  }

  .price-diagnosis__note {
    text-align: center;
  }
}

@media (max-width: 640px) {
  .price-grid {
    gap: 10px;
    margin: 0 10px 10px;
    padding: 10px;
  }

  .price-diagnosis {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px 14px;
    text-align: center;
  }

  .price-diagnosis__label,
  .price-diagnosis__note {
    grid-column: auto;
  }

  .price-diagnosis__label {
    padding: 6px 12px;
    font-size: 13px;
  }

  .price-diagnosis h3 {
    font-size: 25px;
  }

  .price-diagnosis__amount {
    font-size: 46px;
  }

  .price-diagnosis__note {
    font-size: 12px;
  }

  .price-plus {
    width: 38px;
    height: 38px;
    margin: 10px auto;
    font-size: 28px;
  }

  .retreatment-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
  }

  .retreatment-item {
    padding: 14px 12px 16px;
  }

  .retreatment-item + .retreatment-item {
    border-top: 0;
    border-left: 0;
  }

  .retreatment-head {
    padding: 12px 10px 8px;
  }

  .retreatment-head h3 {
    font-size: 22px;
  }

  .retreatment-head p {
    font-size: 12px;
  }

  .retreatment-condition {
    width: calc(100% - 24px);
    margin-top: 10px;
    padding: 7px 10px;
    font-size: 14px;
  }

  .retreatment-item h4 {
    font-size: 16px;
  }

  .retreatment-item strong {
    font-size: 24px;
  }

  .retreatment-item p {
    font-size: 22px;
  }

  .retreatment-standard {
    margin: 2px 12px 0;
    padding: 8px 10px;
    font-size: 13px;
  }
}

.medical-links {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* =========================
   Clinics
========================= */
.clinic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.clinic-card {
  overflow: hidden;
}

.clinic-card--featured {
  position: relative;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: center;
  padding: 26px;
  box-shadow: var(--shadow);
}

.clinic-card__image-wrap {
  position: relative;
  width: 100%;
}

.clinic-card--featured .clinic-card__image-wrap img {
  height: 100%;
  aspect-ratio: auto;
  object-position: center 66%;
}

.clinic-card__featured-label {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
  padding: 6px 18px;
  background: var(--blue);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .08em;
  box-shadow: var(--shadow-soft);
}

.clinic-card--featured .clinic-body {
  justify-content: center;
  padding: 0 0 0 clamp(28px, 4vw, 48px);
}

.clinic-card--featured .clinic-body h3 {
  margin-bottom: 14px;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
}

.clinic-card__eyebrow {
  margin: 0 0 4px !important;
  color: var(--pink) !important;
  font-size: 13px !important;
  font-weight: 700;
  letter-spacing: .18em;
}

.clinic-card__tel a {
  color: var(--blue);
  font-size: clamp(21px, 2.2vw, 26px);
  font-weight: 700;
  text-decoration: none;
}

.clinic-card__details {
  display: grid;
  gap: 10px;
  margin: 0;
}

.clinic-card__details > div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(18, 55, 121, .16);
}

.clinic-card__details dt {
  color: var(--blue);
  font-weight: 700;
}

.clinic-card__details dd {
  margin: 0;
  color: var(--text-body);
  line-height: 1.75;
}

.clinic-card__details small {
  color: var(--text-subtle);
}

.clinic-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.clinic-body {
  padding: 18px 18px 20px;
}

.clinic-body h3 {
  margin: 0 0 8px;
  font-size: 24px;
  color: var(--blue);
  line-height: 1.4;
}

.clinic-body p {
  margin: 6px 0;
}

.clinic-btns {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

/* =========================
   Treatment guidance
========================= */
.treatment-guidance-list {
  display: grid;
  gap: 14px;
}

.treatment-guidance-card {
  padding: 20px 22px;
  border: 1px solid var(--border-light);
  background: var(--white);
}

.treatment-guidance-card h3 {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 20px;
  line-height: 1.45;
}

.treatment-guidance-card p,
.treatment-guidance-card ul {
  margin: 0;
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.9;
}

.treatment-guidance-card ul {
  padding-left: 1.4em;
}

.treatment-guidance-card li + li {
  margin-top: 6px;
}

@media (max-width: 640px) {
  .treatment-guidance-card {
    padding: 16px;
  }

  .treatment-guidance-card h3 {
    font-size: 18px;
  }

  .treatment-guidance-card p,
  .treatment-guidance-card ul {
    font-size: 14px;
  }
}

@media (min-width: 981px) {
  .clinic-card:not(.clinic-card--featured) {
    display: flex;
    flex-direction: column;
  }

  .clinic-body {
    display: flex;
    flex: 1;
    flex-direction: column;
  }

  .clinic-btns {
    margin-top: auto;
    padding-top: 14px;
  }
}

/* =========================
   Buttons
========================= */
.btn {
  flex: 1;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0 18px;
  font-weight: 800;
  border: 2px solid var(--blue);
  text-align: center;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-outline {
  color: var(--blue);
  background: var(--white);
}

/* =========================
   FAQ
========================= */
.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
  background: var(--white);
}

.faq-item summary {
  position: relative;
  list-style: none;
  padding: 22px 68px 22px 24px;
  cursor: pointer;
  font-size: 22px;
  font-weight: 700;
  color: var(--blue);
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 24px 22px;
  border-top: 1px solid #e3ecfa;
}

/* =========================
   Clinic Info
========================= */
.clinic-info-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: start;
}

.clinic-info-photo img,
.clinic-map img {
  width: 100%;
}

.clinic-info-body h3 {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 30px;
  line-height: 1.4;
}

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

.info-list li {
  margin-bottom: 8px;
  display: flex;
}

.info-list strong {
  display: inline-block;
  width: 88px;
  color: var(--blue);
}

.clinic-schedule {
  width: 100%;
  border-collapse: collapse;
}

.clinic-schedule th,
.clinic-schedule td {
  border: 1px solid #cad9f0;
  padding: 10px 8px;
  text-align: center;
  background: #fff;
}

.clinic-schedule thead th {
  background: #eff5ff;
  color: #355081;
}

.clinic-schedule tbody th {
  background: #f7fbff;
  white-space: nowrap;
}

/* =========================
   Footer
========================= */
.site-footer {
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-deep) 100%);
  padding: 30px 0;
  color: var(--white);
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 1em;
}

/* =========================
   To top
========================= */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(15, 62, 140, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .3s ease;
}

.to-top.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* =========================
   Reveal
========================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: .08s;
}

.delay-2 {
  transition-delay: .16s;
}

.delay-3 {
  transition-delay: .24s;
}

.delay-4 {
  transition-delay: .32s;
}

/* =========================
   Mobile CTA
========================= */
.mobile-fixed-cta {
  display: none;
}

.mobile-fixed-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  text-align: center;
  box-shadow: 0 8px 18px rgba(9, 43, 103, 0.18);
}

.mobile-fixed-cta__btn--web {
  background: var(--blue);
  color: var(--white);
}

.mobile-fixed-cta__btn--line {
  background: var(--success);
  color: var(--white);
}

.mobile-fixed-cta__btn--tel {
  background: var(--white);
  color: var(--blue);
  border: 2px solid var(--blue);
}

/* =========================
   Responsive
========================= */
@media (max-width: 1180px) {
  .global-nav ul {
    gap: 18px;
  }

  .global-nav a {
    font-size: 13px;
  }

  .section-head h2,
  .price-card h3 {
    font-size: clamp(20px, 2.2vw, 30px);
  }

  .clinic-info-body h3 {
    font-size: clamp(24px, 3vw, 34px);
  }

  .clinic-body h3 {
    font-size: clamp(18px, 2vw, 24px);
  }

  .point-circle__inner {
    max-width: 310px;
    padding: 36px 26px;
  }

  .point-circle h2 {
    font-size: 22px;
  }

  .point-circle p {
    font-size: 14px;
  }
}

@media (max-width: 980px) {
  main section[id] {
    scroll-margin-top: 94px;
  }

  .header-inner {
    grid-template-columns: auto auto auto;
    gap: 12px;
    min-height: 76px;
  }

  .site-logo__name {
    font-size: 22px;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .header-cta {
    display: none;
  }

  .global-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--blue);
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
  }

  .global-nav.is-open {
    max-height: 480px;
  }

  .global-nav ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px 0 20px;
  }

  .global-nav a {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid rgba(255,255,255,.15);
  }

  .hero-inner,
  .about-layout,
  .comparison-layout,
  .clinic-info-layout,
  .price-grid,
  .clinic-grid,
  .flow-grid,
  .points-grid {
    grid-template-columns: 1fr;
  }

  .clinic-card--featured {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .clinic-card--featured .clinic-card__image-wrap {
    width: min(100%, 360px);
    height: 240px;
    margin: 0 auto;
  }

  .clinic-card--featured .clinic-body {
    padding: 24px 0 0;
  }

  .hero-copy {
    padding: 18px 0 0;
    order: 2;
  }

  .hero-visual {
    order: 1;
  }

  .hero-visual img {
    margin: 0 auto;
  }

  .comparison-message {
    min-height: 180px;
  }

  .clinic-info-photo,
  .clinic-map {
    max-width: 440px;
  }

  .points-grid {
    gap: 18px;
  }

  .how-steps {
    display: flex;
    grid-template-columns: none;
    gap: 0;
    overflow: hidden;
    width: 100%;
    padding: 0 15%;
    scrollbar-width: none;
    touch-action: pan-y;
  }

  .how-steps::-webkit-scrollbar {
    display: none;
  }

  .how-step__image::after {
    display: none;
  }

  .how-step,
  .how-step--last {
    flex: 0 0 70%;
    grid-column: auto;
    width: 70%;
    padding: 0 10px;
    opacity: .46;
    transform: scale(.93);
    transition: opacity .3s ease, transform .3s ease;
  }

  .how-step.is-active {
    opacity: 1;
    transform: scale(1);
  }

  .how-step--clone {
    display: block;
  }

  .how-carousel-shell {
    position: relative;
    padding-bottom: 38px;
  }

  .how-step__num {
    font-size: 44px;
  }

  .how-step h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    margin-bottom: 10px;
    font-size: 19px;
  }

  .how-step__image {
    max-width: 360px;
    margin: 0 auto;
  }

  .how-step > p {
    margin-top: 10px;
    font-size: 14px;
  }

  .how-carousel-controls {
    position: absolute;
    inset: 0;
    display: block;
    pointer-events: none;
  }

  .how-carousel-button {
    position: absolute;
    z-index: 4;
    top: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #7eace8;
    border-radius: 50%;
    color: #0756c9;
    background: #fff;
    font-family: inherit;
    font-size: 0;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(18, 55, 121, 0.08);
    transform: translateY(-50%);
    pointer-events: auto;
  }

  .how-carousel-button::before {
    content: "";
    width: 11px;
    height: 11px;
    border-top: 3px solid currentColor;
    border-right: 3px solid currentColor;
  }

  .how-carousel-button--prev::before {
    transform: translateX(2px) rotate(-135deg);
  }

  .how-carousel-button--next::before {
    transform: translateX(-2px) rotate(45deg);
  }

  .how-carousel-button--prev {
    left: 12px;
  }

  .how-carousel-button--next {
    right: 12px;
  }

  .how-carousel-button:focus-visible {
    outline: 3px solid rgba(7, 86, 201, 0.28);
    outline-offset: 3px;
  }

  .how-carousel-status {
    position: absolute;
    right: 0;
    bottom: 2px;
    left: 0;
    display: block;
    min-width: 62px;
    color: #355081;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    text-align: center;
  }

  .how-summary {
    flex-wrap: wrap;
  }

  .how-summary small {
    flex-basis: 100%;
  }

  .point-circle__inner {
    max-width: 360px;
  }
}

@media (max-width: 640px) {
  main section[id] {
    scroll-margin-top: 82px;
  }

  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .clinic-card--featured {
    padding: 14px;
  }

  .clinic-card--featured .clinic-card__image-wrap {
    width: min(100%, 280px);
    height: 200px;
  }

  .clinic-card__featured-label {
    top: 12px;
    left: 12px;
    padding: 5px 14px;
    font-size: 14px;
  }

  .clinic-card--featured .clinic-body {
    padding: 18px 0 8px;
  }

  .clinic-card__details > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .clinic-card__details dd {
    font-size: 14px;
  }

  .site-header {
    padding: 0;
  }

  .header-inner {
    min-height: 68px;
  }

  .site-logo__name {
    font-size: clamp(16px, 4.5vw, 20px);
    letter-spacing: 0.03em;
  }

  .site-logo__detail {
    font-size: 11px;
  }

  .hero {
    padding-top: 0;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-kicker {
    font-size: 28px;
  }

  .hero h1 {
    font-size: 36px;
    line-height: 1.08;
  }

  .hero-sub {
    font-size: 17px;
    margin: 6px 0 10px;
  }

  .hero-lead {
    font-size: 14px;
    line-height: 1.9;
  }

  .section-card,
  .clinic-card,
  .faq-item,
  .flow-card,
  .price-card,
  .point-circle__inner {
    box-shadow: 0 10px 28px rgba(18, 55, 121, 0.07);
  }

  .point-circle__inner {
    max-width: 100%;
    aspect-ratio: 1 / 1;
    padding: 30px 22px;
  }

  .point-num-circle,
  .flow-num-circle {
    width: 58px;
    height: 58px;
    font-size: 26px;
    margin-bottom: 14px;
  }

  .point-circle h2 {
    font-size: 20px;
    margin-bottom: 8px;
    line-height: 1.4;
  }

  .point-circle p,
  .flow-card p,
  .section-copy p,
  .clinic-body p,
  .faq-answer,
  .info-list {
    font-size: 14px;
  }

  .section {
    padding: 18px 0;
  }

  .section-card {
    padding: 18px 16px 20px;
  }

  .section-index {
    width: 26px;
    height: 26px;
    font-size: 11px;
  }

  .section-head {
    gap: 10px;
    margin-bottom: 12px;
  }

  .section-head h2 {
    font-size: 24px;
  }

  .about-lead-heading {
    margin-bottom: 16px;
  }

  .about-lead-heading h2 {
    font-size: 24px;
    line-height: 1.55;
    text-align: left;
  }

  .about-lead-heading h2 br {
    display: none;
  }

  .about-copy .section-head {
    margin-bottom: 12px;
  }

  .about-intro {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-main-visual {
    order: initial;
    max-width: 420px;
  }

  .about-copy {
    order: initial;
  }

  .about-copy .section-head h2 strong {
    font-size: inherit;
  }

  .about-copy .section-head h2 span {
    margin-top: 6px;
    font-size: .7em;
  }

  .sterilization-rate {
    font-size: 1.34em;
  }

  .about-copy > p {
    margin-bottom: 15px;
    line-height: 1.9;
  }

  .how-it-works {
    margin-top: 36px;
    padding: 28px 12px 16px;
  }

  .how-kicker {
    gap: 14px;
    font-size: 14px;
  }

  .how-kicker::before,
  .how-kicker::after {
    width: 36px;
  }

  .how-it-works > h3 {
    font-size: 22px;
  }

  .how-lead {
    margin: 12px 0 28px;
    font-size: 14px;
    font-weight: 500;
  }

  .how-steps {
    display: flex;
    grid-template-columns: none;
    gap: 0;
    overflow: hidden;
    width: 100%;
    padding: 0 9%;
    scrollbar-width: none;
    touch-action: pan-y;
  }

  .how-steps::-webkit-scrollbar {
    display: none;
  }

  .how-step,
  .how-step--last {
    flex: 0 0 82%;
    grid-column: auto;
    width: 82%;
    padding: 0 7px;
    opacity: .42;
    transform: scale(.91);
    transition: opacity .3s ease, transform .3s ease;
  }

  .how-step.is-active {
    opacity: 1;
    transform: scale(1);
  }

  .how-step--clone {
    display: block;
  }

  .how-carousel-shell {
    position: relative;
    margin: 0 -12px;
    padding-bottom: 38px;
  }

  .how-step__num {
    font-size: 42px;
  }

  .how-step h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    margin-bottom: 10px;
    font-size: 19px;
  }

  .how-step__image {
    max-width: 310px;
    margin: 0 auto;
  }

  .how-step > p {
    margin-top: 10px;
    font-size: 14px;
  }

  .how-carousel-controls {
    position: absolute;
    inset: 0;
    display: block;
    pointer-events: none;
  }

  .how-carousel-button {
    position: absolute;
    z-index: 4;
    top: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #7eace8;
    border-radius: 50%;
    color: #0756c9;
    background: #fff;
    font-family: inherit;
    font-size: 0;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(18, 55, 121, 0.08);
    transform: translateY(-50%);
    pointer-events: auto;
  }

  .how-carousel-button--prev {
    left: 2px;
  }

  .how-carousel-button--next {
    right: 2px;
  }

  .how-carousel-button:focus-visible {
    outline: 3px solid rgba(7, 86, 201, 0.28);
    outline-offset: 3px;
  }

  .how-carousel-status {
    position: absolute;
    right: 0;
    bottom: 2px;
    left: 0;
    display: block;
    min-width: 62px;
    color: #355081;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    text-align: center;
  }

  .how-summary {
    gap: 8px;
    margin-top: 30px;
    padding: 16px 10px;
  }

  .how-summary strong {
    font-size: 21px;
    letter-spacing: .03em;
  }

  .how-summary span {
    font-size: 21px;
  }

  .how-summary small {
    font-size: 14px;
  }

  .comparison-table-wrap {
    overflow-x: auto;
  }

  .comparison-table {
    min-width: 640px;
  }

  .comparison-message p {
    font-size: 18px;
  }

  .flow-card {
    padding: 18px 14px 20px;
  }

  .flow-image-wrap {
    aspect-ratio: 16 / 10;
  }

  .flow-card h3 {
    font-size: 19px;
    margin: 12px 0 4px;
  }

  .price-card {
    padding: 10px 12px 12px;
  }

  .price-card h3 {
    min-height: 58px;
    padding-bottom: 8px;
    font-size: 20px;
    line-height: 1.35;
  }

  .price-old {
    font-size: 24px;
  }

  .price-sale {
    font-size: 44px;
  }

  .price-main {
    margin-top: 10px;
    font-size: 34px;
    line-height: 1.2;
  }

  .medical-links {
    flex-direction: column;
  }

  .clinic-body {
    padding: 14px;
  }

  .clinic-body h3 {
    font-size: 20px;
    line-height: 1.35;
  }

  .btn {
    min-height: 44px;
    font-size: 14px;
  }

  .clinic-btns {
    gap: 8px;
  }

  .faq-item summary {
    padding: 16px 50px 16px 16px;
    font-size: 17px;
    line-height: 1.6;
  }

  .faq-item summary::after {
    right: 16px;
    font-size: 28px;
  }

  .faq-answer {
    padding: 0 16px 16px;
  }

  .clinic-info-body h3 {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .info-list strong {
    display: block;
    width: auto;
    margin-bottom: 2px;
  }

  .clinic-schedule-wrap {
    overflow-x: auto;
  }

  .clinic-schedule {
    min-width: 0;
    width: 100%;
    table-layout: fixed;
  }

  .clinic-schedule th,
  .clinic-schedule td {
    padding: 7px 4px;
    font-size: 11px;
  }

  .clinic-schedule thead th:first-child,
  .clinic-schedule tbody th {
    width: 74px;
  }

  .site-footer p {
    font-size: 1em;
  }

  body {
    padding-bottom: 86px;
  }

  .mobile-fixed-cta {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 1200;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 28px rgba(8, 38, 95, 0.20);
    border: 1px solid rgba(201, 219, 245, 0.95);
  }

  .to-top {
    bottom: 96px;
  }
}

/* =========================
   Medical Tax Simulator
========================= */
.deduction-container {
  margin-top: 28px;
  padding: 36px 32px;
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
  border: 1px solid #d7e4f8;
  box-shadow: var(--shadow);
}

.deduction-title {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.4;
  color: var(--blue);
}

.deduction-desc {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 2;
  color: #4b5f82;
}

.calc-box {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 18px;
}

.input-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
}

.input-group select,
.input-group input {
  width: 100%;
  height: 54px;
  padding: 0 14px;
  border: 1px solid #cbdcf4;
  background: #fff;
  font-size: 15px;
  color: var(--text);
  font-family: inherit;
  outline: none;
}

.input-group select:focus,
.input-group input:focus {
  border-color: var(--blue);
}

.btn-calc {
  min-width: 180px;
  height: 54px;
  padding: 0 24px;
  border: 0;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  transition: opacity .2s ease;
}

.btn-calc:hover {
  opacity: 0.9;
}

.calc-result {
  padding: 18px 20px;
  border: 1px solid #d7e4f8;
  background: #fff;
  font-size: 24px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.7;
}

.calc-result span {
  color: var(--danger);
}

.calc-result small {
  font-size: 14px;
  font-weight: 500;
  color: #5a6f91;
}

.deduction-notice {
  margin-top: 14px;
}

.deduction-notice p {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.8;
  color: #6a7c97;
}

.btn-external {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--blue);
  color: var(--blue);
  background: #fff;
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .calc-box {
    grid-template-columns: 1fr;
  }

  .btn-calc {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .deduction-container {
    margin-top: 22px;
    padding: 22px 16px;
  }

  .deduction-title {
    font-size: 24px;
  }

  .deduction-desc {
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 16px;
  }

  .input-group label {
    font-size: 12px;
  }

  .input-group select,
  .input-group input,
  .btn-calc {
    height: 48px;
    font-size: 14px;
  }

  .calc-result {
    padding: 14px 14px;
    font-size: 20px;
    line-height: 1.6;
  }

  .calc-result small {
    font-size: 12px;
  }

  .btn-external {
    width: 100%;
    min-height: 44px;
    font-size: 13px;
  }
}


/* デザイン追加 */
@media (max-width: 640px) {
  /* =========================
     Hero 3ポイント（スマホ）
  ========================= */

  .points-grid {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 10px;
    align-items: stretch;
  }

  .point-circle {
    width: 100%;
    display: flex;
  }

  .point-circle:nth-child(1) {
    justify-content: flex-start;
  }

  .point-circle:nth-child(2) {
    justify-content: flex-end;
    margin-top: -10px;
  }

  .point-circle:nth-child(3) {
    justify-content: flex-start;
    margin-top: -10px;
  }

  .point-circle__inner {
    width: 250px;
    height: 250px;
    max-width: 250px;
    min-width: 250px;
    aspect-ratio: unset;
    border: 2px solid #b8ccef;
    border-radius: 50%;
    padding: 24px 18px;
    box-shadow: 0 10px 28px rgba(18, 55, 121, 0.07);
  }

  .point-circle__inner::before {
    inset: 12px;
    border-radius: 50%;
  }

  .point-num-circle {
    width: 52px;
    height: 52px;
    font-size: 24px;
    margin-bottom: 10px;
    border-width: 2px;
  }

  .point-circle h2 {
    font-size: 17px;
    line-height: 1.45;
    margin: 0 0 8px;
  }

  .point-circle p {
    font-size: 12px;
    line-height: 1.7;
    margin: 0;
  }

  /* =========================
     バーガーメニュー右寄せ
  ========================= */

  .header-inner {
    display: flex;
    align-items: center;
    min-height: 68px;
    gap: 12px;
  }

  .site-logo {
    flex: 1;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
    flex-shrink: 0;
  }
}

p.flow-gridtext{
  text-align: left;
}

/* =========================
   YouTube feature / modal
========================= */
.youtube-feature {
  padding: 52px 0;
  background: var(--white);
}

.youtube-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.youtube-thumbnail {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--text-strong);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.youtube-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease, opacity .3s ease;
}

.youtube-thumbnail:hover img,
.youtube-thumbnail:focus-visible img {
  opacity: .86;
  transform: scale(1.02);
}

.youtube-thumbnail:focus-visible {
  outline: 4px solid var(--pink);
  outline-offset: 4px;
}

.youtube-thumbnail__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 84px;
  height: 60px;
  border-radius: 14px;
  background: var(--pink);
  box-shadow: var(--shadow-soft);
  transform: translate(-50%, -50%);
}

.youtube-thumbnail__play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 52%;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 20px solid var(--white);
  transform: translate(-50%, -50%);
}

.youtube-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 24px 24px;
  background: color-mix(in srgb, var(--text-strong) 88%, transparent);
}

.youtube-modal[hidden] {
  display: none;
}

.youtube-modal__dialog {
  position: relative;
  width: min(100%, 1080px);
}

.youtube-modal__close {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.youtube-modal__close:focus-visible {
  outline: 4px solid var(--pink);
  outline-offset: 3px;
}

.youtube-modal__video {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--text-strong);
}

.youtube-modal__video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

body.youtube-modal-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .youtube-feature {
    padding: 30px 0;
  }

  .youtube-list {
    gap: 10px;
  }

  .youtube-thumbnail__play {
    width: 48px;
    height: 34px;
    border-radius: 8px;
  }

  .youtube-thumbnail__play::after {
    border-top-width: 7px;
    border-bottom-width: 7px;
    border-left-width: 12px;
  }

  .youtube-modal {
    padding: 58px 12px 12px;
  }
}

/* =========================
   Periodontal / Systemic health
========================= */
.systemic-health-section {
  padding: 68px 0 60px;
  background: var(--white);
}

.systemic-health-inner > h2 {
  margin: 0;
  color: var(--text-strong);
  font-size: clamp(28px, 3.35vw, 44px);
  line-height: 1.55;
  font-weight: 700;
  letter-spacing: .025em;
  text-align: center;
}

.systemic-health-inner > h2 strong {
  color: var(--pink);
  font-weight: 800;
}

.systemic-health-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.systemic-health-card {
  padding: 18px 18px 22px;
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  background: var(--white);
  text-align: center;
}

.systemic-health-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
}

.systemic-health-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.systemic-health-card h3 {
  margin: 16px 0 4px;
  color: var(--blue-bright);
  font-size: 25px;
  line-height: 1.4;
}

.systemic-health-card p {
  margin: 0;
  color: #293a59;
  font-size: 14px;
  line-height: 1.75;
}

.systemic-health-message {
  margin: 34px 0 0;
  color: var(--text-strong);
  font-size: 21px;
  line-height: 1.7;
  font-weight: 700;
  text-align: center;
}

.systemic-health-note {
  margin: 14px 0 0;
  color: #5b677b;
  font-size: 12px;
  line-height: 1.8;
  text-align: center;
}

@media (max-width: 980px) {
  .systemic-health-section {
    padding: 52px 0 48px;
  }

  .systemic-health-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 720px;
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 640px) {
  .systemic-health-section {
    padding: 36px 0 34px;
  }

  .systemic-health-inner > h2 {
    font-size: 24px;
    line-height: 1.55;
    text-align: left;
  }

  .systemic-health-inner > h2 br {
    display: none;
  }

  .systemic-health-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 24px;
  }

  .systemic-health-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 18px;
    align-items: center;
    padding: 12px;
    border-radius: 12px;
    text-align: left;
  }

  .systemic-health-image {
    grid-row: 1 / 3;
  }

  .systemic-health-card h3 {
    align-self: end;
    margin: 0 0 2px;
    font-size: 21px;
  }

  .systemic-health-card p {
    align-self: start;
    font-size: 13px;
  }

  .systemic-health-message {
    margin-top: 26px;
    font-size: 17px;
    text-align: left;
  }

  .systemic-health-note {
    margin-top: 12px;
    font-size: 11px;
    text-align: left;
  }
}


/* =========================
   Trouble Visual Section
   フル差し替え版（左テキスト位置調整）
========================= */

.trouble-visual-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #eef7ff 0%, #f7fbff 42%, #ffffff 100%);
}

.trouble-visual-inner {
  display: grid;
  grid-template-columns: 48% 52%;
  gap: 0px 20px;
  min-height: 640px;
  width: 100%;
}

.trouble-visual-copy {
  position: relative;
  z-index: 2;
  /* ← 左側を少し右へ寄せる */
  padding: 64px 0 56px max(9vw, 120px);
}

.trouble-visual-copy h2 {
  margin: 0;
  color: var(--blue);
  font-family: var(--font-sans);
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .03em;
}

.trouble-visual-copy h2 span {
  display: block;
  color: var(--text);
  font-size: .62em;
  letter-spacing: .06em;
}

.trouble-line {
  width: 72px;
  height: 3px;
  background: var(--pink);
  margin: 24px 0 24px;
}

.trouble-desc {
  margin: 0 0 28px;
  color: #3f4b5d;
  font-size: 15px;
  line-height: 2;
  letter-spacing: .02em;
}

.trouble-list {
  display: grid;
  gap: 12px;
  max-width: 560px;
}

.trouble-item {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 68px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #d7e6f6;
  box-shadow: 0 8px 20px rgba(18, 55, 121, 0.05);
}

.trouble-check {
  position: relative;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border: 2px solid #9fb4cc;
  background: #fff;
}

.trouble-check::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 1px;
  width: 14px;
  height: 24px;
  border-right: 4px solid #1e67b8;
  border-bottom: 4px solid #1e67b8;
  transform: rotate(45deg);
}

.trouble-item p {
  margin: 0;
  color: var(--blue);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .02em;
}

.trouble-visual-image {
  position: relative;
  min-height: 640px;
}

.trouble-visual-image::before {
  content: "";
  position: absolute;
  left: -120px;
  top: 0;
  bottom: 0;
  width: 240px;
  z-index: 1;
  background: linear-gradient(
    90deg,
    #f7fbff 0%,
    rgba(247, 251, 255, 0.72) 42%,
    rgba(247, 251, 255, 0) 100%
  );
  pointer-events: none;
}

.trouble-visual-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

/* =========================
   Tablet
========================= */

@media (max-width: 980px) {
  .trouble-visual-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .trouble-visual-copy {
    order: 2;
    padding: 34px 32px 38px;
    max-width: none;
  }

  .trouble-visual-image {
    order: 1;
    min-height: 380px;
  }

  .trouble-visual-image::before {
    display: none;
  }

  .trouble-visual-copy h2 {
    font-size: 42px;
  }

  .trouble-desc {
    font-size: 14px;
    margin-bottom: 22px;
  }

  .trouble-item p {
    font-size: 18px;
  }
}

/* =========================
   SP
========================= */

@media (max-width: 640px) {
  .trouble-visual-section {
    background: linear-gradient(180deg, #eef7ff 0%, #ffffff 100%);
  }

  .trouble-visual-image {
    min-height: 280px;
  }

  .trouble-visual-image img {
    object-position: center top;
  }

  .trouble-visual-copy {
    padding: 24px 16px 28px;
  }

  .trouble-visual-copy h2 {
    font-size: 30px;
    line-height: 1.25;
  }

  .trouble-line {
    width: 56px;
    height: 2px;
    margin: 18px 0;
  }

  .trouble-desc {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 18px;
  }

  .trouble-list {
    gap: 8px;
  }

  .trouble-item {
    gap: 12px;
    min-height: 56px;
    padding: 10px 12px;
  }

  .trouble-check {
    width: 30px;
    height: 30px;
    border-width: 2px;
  }

  .trouble-check::after {
    left: 7px;
    top: 0;
    width: 10px;
    height: 18px;
    border-right-width: 3px;
    border-bottom-width: 3px;
  }

  .trouble-item p {
    font-size: 15px;
    line-height: 1.45;
  }
}

/* =========================
   Hero feature cards
========================= */
.hero .points-grid--feature-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  margin-top: 18px;
}

.points-grid--feature-cards .point-feature-card {
  display: block;
  width: auto;
  margin: 0;
}

.points-grid--feature-cards .point-circle__inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  max-width: none;
  min-width: 0;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  padding: 14px 16px 16px;
  border: none;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.points-grid--feature-cards .point-circle__inner::before {
  display: none;
}

.points-grid--feature-cards .point-num-circle {
  display: inline-block;
  width: auto;
  height: auto;
  margin: 0 auto 8px;
  padding: 0 3px 5px;
  border: 0;
  border-bottom: 2px solid #1e63d5;
  border-radius: 0;
  color: #074ec4;
  background: transparent;
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
}

.point-feature-image {
  width: min(42%, 130px);
  aspect-ratio: 1 / 1;
  margin: 0 auto 10px;
}

.point-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.points-grid--feature-cards .point-feature-card h2 {
  margin: 0 0 5px;
  color: var(--blue-bright);
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
}

.text-accent {
  color: var(--pink);
}

.points-grid--feature-cards .point-feature-card h2 sup {
  font-size: .5em;
  vertical-align: super;
}

.points-grid--feature-cards .point-feature-card p {
  margin: auto;
  color: #263b61;
  font-size: 13px;
  line-height: 1.65;
}

.point-feature-note {
  display: block;
  margin: 7px 0 0;
  color: #566784;
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 980px) {
  .hero .points-grid--feature-cards {
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 620px;
  }

  .points-grid--feature-cards .point-circle__inner {
    min-height: 0;
  }

  .point-feature-image {
    width: min(46%, 160px);
  }
}

@media (max-width: 640px) {
  .hero .points-grid--feature-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 14px;
    align-items: stretch;
  }

  .points-grid--feature-cards .point-feature-card,
  .points-grid--feature-cards .point-feature-card:nth-child(1),
  .points-grid--feature-cards .point-feature-card:nth-child(2),
  .points-grid--feature-cards .point-feature-card:nth-child(3) {
    display: block;
    width: 100%;
    margin: 0;
  }

  .points-grid--feature-cards .point-circle__inner {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: 12px;
    align-items: center;
    width: 100%;
    max-width: none;
    min-width: 0;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    padding: 10px 12px;
    border-radius: 12px;
    text-align: left;
  }

  .points-grid--feature-cards .point-num-circle {
    position: absolute;
    z-index: 2;
    top: 7px;
    left: 7px;
    display: inline-flex;
    width: 30px;
    height: 30px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(7, 86, 201, .92);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
  }

  .point-feature-image {
    grid-column: 1;
    grid-row: 1 / 4;
    width: 88px;
    margin: 0;
  }

  .points-grid--feature-cards .point-feature-card h2 {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    min-height: 0;
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
  }

  .points-grid--feature-cards .point-feature-card p {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    margin: 4px 0 0;
    font-size: 13px;
    line-height: 1.55;
  }

  .point-feature-note {
    grid-column: 2;
    grid-row: 3;
    margin-top: 5px;
    font-size: 9px;
    line-height: 1.4;
    text-align: left;
  }

  #price .price-grid {
    gap: 10px;
  }

  #price .price-note {
    margin-top: 8px;
    font-size: 11px;
  }
}
