/* ================================================================
   style.css — Modern Beauty Medical LP (Naresome-inspired)
   Primary: Purple/Violet | Accent: Rose | Feel: Clean & Airy
   ================================================================ */

:root {
  --primary: #38A3B3;
  --primary-dark: #B84E72;
  --primary-light: #FEF3F9;
  --rose: #D4718E;
  --rose-light: #FFF0F7;
  --base: #FAF8FF;
  --white: #FFFFFF;
  --text-main: #1D1A2A;
  --text-muted: #6B6880;
  --line-green: #06C755;
  --border-light: #EAE5F5;
  --gold: #C9A84C;

  --font-heading: 'Noto Sans JP', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;

  --sp-sm: 16px;
  --sp-md: 32px;
  --sp-lg: 48px;
  --sp-xl: 72px;
}

/* ================================================================
   RESET & BASE
   ================================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-body);
  color: var(--text-main);
  line-height: 1.75;
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 var(--sp-sm);
}

/* ================================================================
   UTILITIES
   ================================================================ */
.bg-base { background-color: var(--base); }
.bg-accent {
  background: linear-gradient(140deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
}
.bg-gold {
  background: linear-gradient(135deg, #C9A84C 0%, #E8C97A 50%, #C9A84C 100%);
  color: var(--white);
}
.bg-gold h2.section-title, .bg-gold h3, .bg-gold p { color: var(--white); }
.bg-gold .feature-item .feature-title { color: #E94B8F; }
.bg-gold .feature-item p { color: var(--text-main); }
.text-center { text-align: center; }
.mt-4 { margin-top: 1.5rem; }
.mb-4 { margin-bottom: 1.5rem; }

/* ================================================================
   TYPOGRAPHY
   ================================================================ */
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 900;
  line-height: 1.4;
}

.font-mincho {
  font-family: 'Noto Serif JP', serif !important;
}

h2.section-title { color: var(--primary); }

.bg-accent h2.section-title,
.bg-accent h3,
.bg-accent p { color: var(--white); }

.section-title {
  font-size: 26px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--primary);
}

.bg-accent .section-title::after {
  background: rgba(255,255,255,0.5);
}

.section-text {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: var(--sp-md);
  line-height: 1.9;
}

.marker {
  background: linear-gradient(transparent 60%, #ffe066 60%);
  padding-bottom: 2px;
}

.compare-img {
  display: block;
  width: 100%;
  height: auto;
  margin: 24px 0;
  border-radius: 16px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 16px;
}

.compare-table th,
.compare-table td {
  padding: 16px 12px;
  text-align: center;
  border: 1px solid var(--border-light);
  line-height: 1.5;
}

.compare-table thead th {
  background: #f5f5f5;
  font-weight: 700;
  color: var(--text-dark);
}

.compare-table .row-label {
  font-weight: 700;
  color: var(--text-dark);
  text-align: left;
  background: #fafafa;
}

.compare-table .highlight-col {
  background: #fff0f6;
  color: var(--primary);
  font-weight: 700;
}

.compare-table thead th.highlight-col {
  background: var(--primary);
  color: var(--white);
}

/* ================================================================
   HEADER
   ================================================================ */
.global-header {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 14px var(--sp-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-container > a:first-child {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.header-logo { height: 53px; width: auto; display: block; flex-shrink: 0; object-fit: contain; }

.header-line-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--line-green);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(6,199,85,0.28);
}

.header-line-btn:hover {
  background-color: #05b04c;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6,199,85,0.38);
}

@media (max-width: 767px) {
  .header-logo {
    height: 45px;
  }

  .header-line-btn {
    font-size: 12px;
    padding: 9px 16px;
    gap: 5px;
  }
  .header-line-btn svg {
    width: 16px;
    height: 16px;
  }

  .authority-logo {
    height: 64px;
  }
}

/* ================================================================
   SECTIONS
   ================================================================ */
.section { padding: var(--sp-xl) 0; }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  padding: 0;
  background-color: var(--base);
  background-image: url('../img/back12.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: none;
  position: relative;
  min-height: 600px;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--white));
  pointer-events: none;
}

.hero .container { padding: 0; }

.gold-badge {
  position: absolute;
  top: -20px;
  left: -40px;
  width: 152px;
  z-index: 10;
}
.gold-badge img {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
}

.hero-content-inner {
  padding: 80px 20px 0;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  position: static;
  font-size: 37px;
  font-weight: 900;
  color: #E94B8F;
  margin-top: 190px;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(255,255,255,0.9);
  line-height: 1.2;
  text-align: left;
  max-width: 100%;
}

.eyebrow-em {
  font-size: 1.1em;
}
.eyebrow-sm {
  font-size: 0.58em;
  vertical-align: 0.08em;
}

.hero-title {
  position: absolute;
  top: -20px;
  left: 120px;
  font-size: 15px;
  font-weight: 900;
  margin: 0;
  line-height: 1.6;
  width: calc(100% - 120px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 0;
}

.text-rect {
  display: inline-block;
  background: rgba(255,255,255,0.96);
  color: var(--text-main);
  padding: 4px 11px;
  margin-bottom: 8px;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
  white-space: nowrap;
}

.hero-title .text-rect:nth-child(even) {
  justify-self: end;
}

.hero-title em {
  font-style: normal;
  color: var(--primary);
}

.hero-subtitle { margin-bottom: 24px; }

.text-rect-sub {
  display: inline-block;
  background: rgba(255,255,255,0.96);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.water-drop-badge {
  position: absolute;
  right: 10px;
  bottom: 40px;
  width: 132px;
  height: auto;
  z-index: 10;
}
.drop-text-small { font-size: 10px; font-weight: bold; margin-bottom: 0; line-height: 1.2; }
.drop-text-large {
  font-size: 19px;
  font-weight: 900;
  line-height: 1;
  color: var(--primary);
  margin: 2px 0;
}
.drop-text-large .percent { font-size: 14px; }
.drop-text-medium { font-size: 11px; font-weight: bold; margin-top: 0; }

.hero .btn {
  margin: var(--sp-sm) auto var(--sp-md);
  width: calc(100% - 32px);
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.25s ease;
  cursor: pointer;
  width: 100%;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: linear-gradient(135deg, #06C755 0%, #05b04c 100%);
  color: var(--white);
  padding: 18px 32px;
  font-size: 16px;
  box-shadow: 0 8px 28px rgba(6,199,85,0.30);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(6,199,85,0.40);
}

.btn-large {
  padding: 22px 40px;
  font-size: 18px;
}

.btn-pulse {
  animation: btn-pulse 2.8s ease-in-out infinite;
}

@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 8px 28px rgba(6,199,85,0.30); }
  50% { box-shadow: 0 8px 28px rgba(6,199,85,0.30), 0 0 0 10px rgba(6,199,85,0.08); }
}

/* ================================================================
   INTRO（冒頭文）
   ================================================================ */
.intro {
  padding: 40px 0 32px;
  background: #fff;
}

.intro-text {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.9;
  color: var(--text-muted);
  text-align: justify;
  margin-bottom: 1.5em;
}
.intro-text--large {
  font-size: 24px;
}

/* ================================================================
   EMPATHY
   ================================================================ */
.empathy { overflow-x: hidden; padding-bottom: 0; }
.empathy .section-text { font-size: 30px; }

.empathy .section-title::after { display: none; }

.empathy .section-title {
  font-size: 40px;
  font-family: "Noto Serif JP", "游明朝", "Yu Mincho", "YuMincho", "ヒラギノ明朝 ProN", serif;
  text-align: center;
  margin-bottom: var(--sp-md);
  position: relative;
  padding-bottom: 16px;
  width: calc(100% + 10px);
  margin-left: -5px;
}

.empathy-image-wrap {
  position: relative;
  width: 100%;
  margin-top: 32px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(123,94,167,0.14);
}

.empathy-image-wrap img { width: 100%; display: block; }

.empathy-pain-overlay {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 50%;
  padding: 24px 32px;
}

.pain-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pain-list__item {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
  padding-left: 1.4em;
  position: relative;
}

.pain-list__item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #FF6FAE;
}

.pain-item {
  background: rgba(255,255,255,0.97);
  border-radius: 14px;
  padding: 14px 20px 16px;
  margin-bottom: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  border-bottom: 3px solid var(--rose);
}

.pain-lead {
  display: block;
  font-size: 0.7rem;
  color: #999;
  letter-spacing: 0.04em;
  margin-bottom: 5px;
  line-height: 1.6;
}

.pain-main {
  display: block;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.pain-accent { color: var(--rose); }

.voice-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-left: 6px solid var(--primary);
  border-radius: 0 14px 14px 0;
  padding: 20px 24px;
  margin-bottom: 16px;
  font-size: 15px;
  box-shadow: 0 4px 16px rgba(123,94,167,0.06);
}

/* ================================================================
   SOLUTION
   ================================================================ */
.solution .section-title { font-size: 40px; }
.solution .section-title::after { display: none; }
.solution .section-text { font-size: 30px; }

.section-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.burden-cards {
  display: flex;
  gap: 12px;
  margin: 24px 0;
}

.burden-card {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 20px 12px;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-muted);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.burden-card img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 767px) {
  .burden-cards {
    flex-wrap: wrap;
  }
  .burden-card {
    flex: 0 0 calc(50% - 6px);
    font-size: 16px;
    padding: 16px 10px;
  }
}
.section-list li {
  font-size: 30px;
  color: var(--text-muted);
  padding-left: 1.4em;
  position: relative;
  line-height: 1.7;
}
.section-list li::before {
  content: '・';
  position: absolute;
  left: 0;
}

.voice-effect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 40px 0;
}
.voice-box {
  background: #fff;
  border-radius: 16px;
  padding: 32px 36px;
}
.voice-box h3, .voice-box p, .voice-box li { color: var(--text-main); }
.voice-box .section-list li { font-size: 15px; }
.voice-list li::before { content: ''; }
.voice-list li { padding-left: 0; }

.voice-box__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #E94B8F;
}
.voice-box__note {
  font-size: 20px;
  color: var(--text-muted);
  margin-top: 12px;
}
@media (max-width: 767px) {
  .voice-effect-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.solution-appeal {
  margin: 40px 0;
  text-align: center;
  position: relative;
  isolation: isolate;
}
.solution-appeal::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: url('../img/back6.png') center / cover no-repeat;
  z-index: -1;
}
.solution-appeal__lead {
  font-size: 28px;
  font-family: var(--font-body);
  color: var(--text-muted);
  margin-bottom: 12px;
}
.solution-appeal__title {
  font-size: 40px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.7;
  margin-bottom: 24px;
}
.solution-appeal__list {
  display: inline-flex;
  text-align: left;
}
.solution-appeal__note {
  font-size: 20px;
  color: var(--text-muted);
  margin-top: 12px;
}

.solution-capsule-img {
  width: 80%;
  max-width: 480px;
  margin: 24px auto;
}

.solution-capsule4-img {
  width: 100%;
  display: block;
  margin: 24px 0 74px;
  border-radius: 16px;
}

.feature-list-heading {
  font-size: 40px;
  font-weight: 900;
  color: var(--white);
  text-align: center;
  margin-bottom: 20px;
}

.feature-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 50px;
}

.feature-item {
  flex: 1;
  background: var(--white);
  padding: 24px 20px 28px;
  border-radius: 20px;
  text-align: left;
  box-shadow: 0 4px 24px rgba(123,94,167,0.10);
  color: var(--text-main);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(123,94,167,0.18);
}

.feature-item.feature-item--wide { flex: 0 0 100%; width: 100%; }

.feature-title {
  font-size: 20px;
  font-weight: 900;
  font-family: var(--font-heading);
  color: #E94B8F;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-light);
}

.feature-inner { position: relative; }
.feature-text { width: 100%; }

.feature-woman-icon {
  position: absolute;
  right: 0;
  top: 0;
  width: 103px;
  height: auto;
  object-fit: contain;
  transform: translateY(-65px);
  pointer-events: none;
}

.feature-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.85;
}

/* ================================================================
   EVIDENCE
   ================================================================ */
.section.evidence {
  padding-bottom: 24px;
  background-color: var(--base);
}

.evidence .section-title { font-size: 40px; }
.evidence .section-title::after { display: none; }

.authority .section-title::after { display: none; }
.evidence .section-text { font-size: 30px; }

.evidence-summary {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.9;
  margin: 32px 0 0;
}

/* GF section */
.gf-section-title {
  font-size: 40px;
  font-weight: 900;
  color: var(--primary);
  text-align: center;
  position: relative;
  padding-bottom: 16px;
  margin-bottom: var(--sp-md);
}

.gf-section-title::after { display: none; }

.gf-switch {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin: 8px 0 0;
  line-height: 1.5;
  padding-left: 0;
}

.gf-points li.gf-switch::before {
  content: '';
}

.mechanism-img {
  display: block;
  width: 100%;
  height: auto;
  margin: 24px 0;
  border-radius: 16px;
}

.growth-factor-list {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin: 32px 0;
}

.growth-factor-item {
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(123,94,167,0.10);
}

.gf-header {
  padding: 20px 20px 16px;
  text-align: center;
}

.gf-abbr {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.15em;
  line-height: 1.2;
}

.gf-name {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-top: 4px;
}

.gf-egf .gf-header { background: linear-gradient(135deg, #d4608a, #e8a0b8); }
.gf-fgf .gf-header { background: linear-gradient(135deg, #3a9a8a, #6abfb0); }
.gf-kgf .gf-header { background: linear-gradient(135deg, #38A3B3, #B49DD4); }

.gf-points {
  list-style: none;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-top: none;
}

.gf-points li {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  padding-left: 1.2em;
  position: relative;
}

.gf-points li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 900;
  font-size: 18px;
  line-height: 1.2;
}

.bridge2-img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 24px;
}

.bridge2-lead {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 900;
  color: var(--primary);
  text-align: center;
  margin-top: 28px;
  line-height: 1.4;
}

/* ================================================================
   PRODUCT INTRO
   ================================================================ */
.section.product-intro {
  background: var(--primary-light, var(--base));
  border-top: none;
  padding-top: 24px;
}

.product-inner {
  display: flex;
  gap: 48px;
  align-items: center;
}

.product-image-wrap { flex: 0 0 42%; position: relative; }

.product-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

.product-emblem {
  position: absolute;
  top: -12px;
  left: -12px;
  width: 162px;
  height: auto;
  z-index: 2;
}

.product-detail { flex: 1; }

.product-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.product-name {
  font-family: 'Yu Mincho', '游明朝体', serif;
  font-size: 42px;
  font-weight: bold;
  color: var(--gold);
  line-height: 1.35;
  margin-bottom: 16px;
}

.product-divider { display: none; }

.product-price-block {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

.product-price {
  font-size: 36px;
  font-weight: 900;
  color: var(--text-main);
}

.product-price-unit {
  font-size: 14px;
  font-weight: normal;
  color: var(--text-muted);
}

.product-volume-line {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.product-usage {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
  line-height: 1.7;
}

.product-notes {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.product-cta-box { padding: 0; }

.product-cta {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-muted);
  line-height: 1.8;
}

@media (max-width: 640px) {
  .product-inner { flex-direction: column; }
  .product-image-wrap { flex: 0 0 auto; width: 100%; max-width: 280px; margin: 0 auto; }
  .product-emblem { width: 90px; top: -8px; left: -8px; }
  .product-name { font-size: 26px; }
  .product-price { font-size: 28px; }
}

/* ================================================================
   AUTHORITY
   ================================================================ */
.authority-logo {
  display: block;
  height: 96px;
  width: auto;
  margin: 0 auto 28px;
  flex-shrink: 0;
  object-fit: contain;
}

.doctor-profile-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 36px;
  margin-bottom: 28px;
  box-shadow: 0 8px 40px rgba(123,94,167,0.10);
}

.doctor-profile-top {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 20px;
}

.doctor-profile-img {
  width: 210px;
  height: 210px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--primary-light, var(--border-light));
  box-shadow: 0 8px 32px rgba(123,94,167,0.18);
}

.doctor-profile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.doctor-profile-license { flex: 0 0 240px; }

.doctor-profile-license img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--border-light);
  border-radius: 10px;
}

.doctor-profile-name-block { flex: 1; }

.doctor-profile-clinic {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.doctor-profile-affiliation {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.doctor-profile-name {
  font-family: 'Yu Mincho', '游明朝体', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
}

.doctor-profile-bio {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

@media (max-width: 640px) {
  .doctor-profile-top { flex-direction: column; text-align: center; }
  .doctor-profile-name { font-size: 36px; }
}

@media (max-width: 640px) {
  .graph-wrapper { flex-direction: column; }
  .graph-img { width: 100% !important; flex-shrink: unset; }
}

.profile-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  margin-bottom: var(--sp-md);
  box-shadow: 0 4px 24px rgba(123,94,167,0.08);
}

.profile-img {
  width: 240px;
  height: 240px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 50%;
  border: 4px solid var(--border-light);
}

.profile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-info h3 {
  font-size: 18px;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 12px;
  border-bottom: 2px solid var(--border-light);
  padding-bottom: 8px;
}

.message-box {
  position: relative;
  background: #FDFAF4;
  padding: 48px 44px 44px;
  border-radius: 4px;
  border: 1px solid #E8DEC8;
  box-shadow:
    2px 3px 8px rgba(0,0,0,0.08),
    0 0 0 6px #F7F1E4,
    0 0 0 7px #E8DEC8;
  /* 横罫線 */
  background-image: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 39px,
    #E8DEC8 39px,
    #E8DEC8 40px
  );
  background-position: 0 64px;
}

/* 左端の赤い縦線（便箋風） */
.message-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 60px;
  bottom: 0;
  width: 1px;
  background: rgba(233,75,143,0.25);
  border-radius: 0;
}

.message-box p {
  font-family: var(--font-body);
  font-size: 15px;
  color: #3a3228;
  line-height: 2.5;
  padding-left: 20px;
}

.message-box .message-box-heading {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
  line-height: 1.6;
  padding-left: 20px;
  border-bottom: none;
}

.clinic-info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
  font-size: 15px;
  background: var(--white);
  border: 1px solid #D8D0C4;
  border-radius: 8px;
  overflow: hidden;
}

.clinic-info-table th,
.clinic-info-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #D8D0C4;
  border-right: 1px solid #D8D0C4;
  text-align: left;
  vertical-align: middle;
  line-height: 1.6;
  background: var(--white);
}

.clinic-info-table tr:last-child th,
.clinic-info-table tr:last-child td {
  border-bottom: none;
}

.clinic-info-table td:last-child,
.clinic-info-table th:last-child {
  border-right: none;
}

.clinic-info-table th {
  width: 120px;
  color: var(--primary);
  font-weight: 700;
  white-space: nowrap;
}

.clinic-info-table td { color: var(--text-main); }

.clinic-info-doctor-row th { vertical-align: top; padding-top: 20px; }
.clinic-info-doctor-row .doctor-profile-card {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 0;
  box-shadow: none;
}

/* ================================================================
   FLOW
   ================================================================ */
.flow {
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
  background: var(--white);
}

.flow::before {
  content: '';
  position: absolute;
  top: 0;
  right: -10%;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(123,94,167,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.flow-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.flow-steps {
  list-style: none;
  margin: 40px 0 0;
  width: 100%;
  padding: 0 0 80px;
  position: relative;
}

.flow-steps::before {
  display: none;
}

.flow-step:not(:last-child)::before {
  content: '';
  position: absolute;
  top: 64px;
  bottom: 0;
  left: 31px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(to bottom, var(--primary), rgba(212,113,142,0.25));
}

.flow-step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding-bottom: 40px;
  position: relative;
}

.flow-step:last-child { padding-bottom: 0; }

.flow-step-num {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: var(--white);
  color: #1a1a1a;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: bold;
  font-size: 22px;
  font-family: Georgia, serif;
  line-height: 1;
  position: relative;
  z-index: 1;
}

.flow-steps > li:nth-child(3) .flow-step-num span,
.flow-steps > li:nth-child(4) .flow-step-num span,
.flow-steps > li:nth-child(5) .flow-step-num span {
  display: block;
  transform: translateY(-5px);
}

.flow-step-content {
  flex: 1;
  padding-top: 16px;
}

.flow-step-label {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 20px;
  color: var(--text-main);
  margin-bottom: 8px;
}

.flow-step-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.9;
}

.flow-doctor {
  position: absolute;
  right: -120px;
  bottom: 0;
  text-align: center;
}

.flow-doctor-bubble {
  position: absolute;
  top: 60px;
  left: -20px;
  background: #fff;
  border: 2px solid var(--line-green);
  border-radius: 20px;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 700;
  color: var(--line-green);
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  z-index: 2;
}

.flow-doctor-bubble::after {
  content: '';
  position: absolute;
  bottom: -12px;
  right: 28px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 12px solid var(--line-green);
}

.flow-doctor-bubble::before {
  content: '';
  position: absolute;
  bottom: -9px;
  right: 29px;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 11px solid #fff;
  z-index: 1;
}

.flow-doctor-img {
  width: 540px;
  height: auto;
  display: block;
}

.flow-doctor-name {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
  text-align: right;
}

/* ================================================================
   FUTURE APPEAL（未来訴求）
   ================================================================ */
.future-appeal { background: transparent; padding: 0 !important; }

.future-appeal .section-title { font-size: 40px; text-align: center; margin-bottom: 0; }
.future-appeal .section-title::after { display: none; }

.future-bg {
  background: url('../img/back8.png') center/cover no-repeat;
  padding: 64px 0 80px;
  position: relative;
  overflow: hidden;
}

/* ステップ全体 */
.future-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: 48px;
  position: relative;
  z-index: 1;
}

/* 矢印 */
.future-arrow {
  font-size: 22px;
  color: #C9A96E;
  flex-shrink: 0;
  align-self: center;
  padding: 0 8px;
  margin-top: -20px;
}

/* 各ステップカード */
.future-step {
  flex: 1;
  max-width: 260px;
  text-align: center;
  padding: 0 12px;
}

.future-step__icon {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 16px;
}

.future-step__bubble {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.future-step__illust {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 62%;
  height: 62%;
  object-fit: contain;
}

.future-step__period {
  display: inline-block;
  background: #C9A96E;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 18px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.future-step__title {
  font-size: 20px;
  font-weight: 700;
  color: #161616;
  line-height: 1.5;
  margin: 0 0 10px;
}

.future-step__text {
  font-size: 14px;
  color: #555;
  line-height: 1.9;
  margin: 0;
}

/* 装飾バブル */
.future-bubble {
  position: absolute;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}
.future-bubble--1 { width: 90px; top: 16px; left: 4%; }
.future-bubble--2 { width: 55px; top: 44%; right: 3%; }
.future-bubble--3 { width: 38px; bottom: 24px; left: 36%; }

/* スマホ */
@media (max-width: 767px) {
  .future-bg { padding: 48px 0 60px; }

  .future-steps {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .future-arrow {
    transform: rotate(90deg);
    margin: 0;
    padding: 4px 0;
    font-size: 20px;
    align-self: center;
  }

  .future-step {
    max-width: 300px;
    width: 100%;
  }

  .future-step__icon { width: 110px; height: 110px; }
  .future-step__title { font-size: 18px; }
}

/* ================================================================
   LEAD MAGNET (LINE登録)
   ================================================================ */
.lead-magnet__list li {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-main);
}

.lead-magnet__closing {
  margin-top: 40px;
  font-size: 34px;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  line-height: 1.7;
}

.lead-magnet-product-img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto 32px;
  border-radius: 16px;
}

.benefit-box {
  padding: 40px 0 0;
  margin-top: 40px;
  text-align: center;
}

.benefit-box h3 {
  font-family: var(--font-body);
  font-size: 22.5px;
  font-weight: 400;
  color: var(--line-green);
  margin-bottom: 40px;
}

.benefit-star {
  color: #f0d878;
  font-size: 22px;
  vertical-align: middle;
  opacity: 0.9;
}

.benefit-box ul {
  list-style: none;
  padding-left: 0;
  max-width: 680px;
  margin: 0 auto;
}

.benefit-box li {
  background: linear-gradient(135deg, #FFF0F7 0%, #FDE8F2 100%);
  border-radius: 60px;
  padding: 20px 32px 20px 84px;
  margin-bottom: 16px;
  position: relative;
  font-size: 18px;
  font-weight: 700;
  text-align: left;
  color: var(--text-main);
  box-shadow: 0 4px 20px rgba(184,78,114,0.10);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit-box li:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(184,78,114,0.20);
}

.benefit-box li::before { display: none; }

.benefit-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #b8941e, #f0d878);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 16px rgba(184,148,30,0.35);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .benefit-box { padding: 48px 0 0; }
  .benefit-box h3 { font-size: 22.5px; }
  .benefit-box li {
    font-size: 20px;
    padding: 24px 40px 24px 96px;
  }
  .benefit-box li::before {
    width: 54px;
    height: 54px;
    line-height: 54px;
    font-size: 26px;
    left: 22px;
  }
}

.benefit-cta-block {
  text-align: center;
  margin-top: 56px;
  padding: 48px 40px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(123,94,167,0.10);
}

.benefit-cta-block__title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 12px;
}

.benefit-cta-block__sub {
  font-size: 22px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.benefit-cta-block__note {
  margin-top: 16px;
  font-size: 18px;
  color: var(--text-muted);
}

/* ================================================================
   FAQ
   ================================================================ */
.faq-list {
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--border-light);
  counter-reset: faq-counter;
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(123,94,167,0.08);
}

.faq-list dt {
  font-weight: 700;
  color: var(--primary);
  padding: 22px 24px 22px 68px;
  position: relative;
  border-bottom: 1px solid var(--border-light);
  background-color: #FDFBFF;
  counter-increment: faq-counter;
  line-height: 1.6;
}

.faq-list dt::before {
  content: "Q" counter(faq-counter);
  position: absolute;
  left: 20px;
  top: 18px;
  color: var(--white);
  background-color: #38A3B3;
  width: 28px;
  height: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 13px;
  border-radius: 2px;
}

.faq-list dd {
  padding: 20px 24px 20px 68px;
  position: relative;
  font-size: 15px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
  line-height: 1.9;
  background: var(--white);
}

.faq-list dd::before {
  content: "A";
  position: absolute;
  left: 22px;
  top: 20px;
  color: var(--rose);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 22px;
}

/* ================================================================
   CTA SECTION
   ================================================================ */
.cta-section {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-section .section-title {
  font-size: 40px;
  color: #38A3B3;
  text-align: center;
  position: relative;
  padding-bottom: 16px;
  margin-bottom: var(--sp-md);
}

.cta-section .section-title::after {
  display: none;
}

.cta-section .section-text {
  color: var(--text-muted);
  text-align: center;
  font-size: 16px;
}

.cta-section .gf-section-title {
  color: var(--primary);
}

/* Section title overrides */
.flow .section-title,
.lead-magnet .section-title,
.faq .section-title {
  font-size: 40px;
  color: var(--primary);
  text-align: center;
  position: relative;
  padding-bottom: 20px;
  margin-bottom: var(--sp-md);
}

.flow .section-title::after,
.lead-magnet .section-title::after,
.faq .section-title::after {
  display: none;
}

/* ================================================================
   GAIN BANNER（hero.png + テキストオーバーレイ）
   ================================================================ */
.gain-banner {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 7;
  margin-bottom: 40px;
}

.gain-banner__bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/hero.png');
  background-size: cover;
  background-position: center right;
}

.gain-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255,255,255,0.75) 0%,
    rgba(255,255,255,0.42) 52%,
    transparent 76%
  );
}

.gain-banner__text {
  position: relative;
  z-index: 2;
  padding: 36px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  max-width: 75%;
  gap: 18px;
}

.gain-banner__group { line-height: 1.3; }

.gain-banner__lead {
  display: block;
  font-size: 20px;
  font-weight: 400;
  color: #666;
  margin-bottom: 3px;
  letter-spacing: 0.01em;
}

.gain-banner__headline {
  display: block;
  font-size: 47px;
  font-weight: 900;
  color: #1a1a1a;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.gain-banner__headline em {
  font-style: normal;
  color: #E94B8F;
}

@media (max-width: 767px) {
  .gain-banner {
    aspect-ratio: auto;
    min-height: 260px;
  }
  .gain-banner__bg {
    background-position: right center;
  }
  .gain-banner__overlay {
    background: linear-gradient(
      to right,
      rgba(255,255,255,0.88) 0%,
      rgba(255,255,255,0.65) 60%,
      transparent 100%
    );
  }
  .gain-banner__text {
    max-width: 88%;
    padding: 24px 20px;
    gap: 12px;
  }
  .gain-banner__headline { font-size: 31px; }
  .gain-banner__lead { font-size: 17px; }
}

/* ================================================================
   PAIN BANNER（HTML+CSS版）
   ================================================================ */
.pain-banner {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin-top: 40px;
  margin-bottom: 40px;
}

.pain-banner__bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/pain2.png');
  background-size: cover;
  background-position: center right;
  filter: brightness(0.85) saturate(0.3);
}

.pain-banner__overlay {
  position: absolute;
  inset: 0;
  background: none;
}

.pain-banner__text {
  position: relative;
  z-index: 2;
  padding: 36px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  max-width: 100%;
  gap: 18px;
}

.pain-banner__group { line-height: 1.3; }

.pain-banner__lead {
  display: block;
  font-size: 20px;
  font-weight: 400;
  color: rgba(255,255,255,0.72);
  margin-bottom: 3px;
  letter-spacing: 0.01em;
}

.pain-banner__headline {
  display: block;
  font-size: 47px;
  font-weight: 900;
  color: #fff;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.pain-banner__headline em {
  font-style: normal;
  color: #FF6FAE;
}

@media (max-width: 767px) {
  .pain-banner {
    aspect-ratio: auto;
    min-height: 260px;
  }
  .pain-banner__bg {
    background-position: right center;
  }
  .pain-banner__overlay {
    background: linear-gradient(
      to right,
      rgba(0,0,0,0.72) 0%,
      rgba(0,0,0,0.45) 60%,
      transparent 100%
    );
  }
  .pain-banner__text {
    max-width: 88%;
    padding: 24px 20px;
    gap: 12px;
  }
  .pain-banner__headline { font-size: 31px; }
  .pain-banner__lead { font-size: 17px; }
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: linear-gradient(160deg, #1A1530 0%, #110E1E 100%);
  color: var(--white);
  padding: var(--sp-xl) 0 var(--sp-md);
  text-align: center;
}

.footer-clinics {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.9);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-bottom: 24px;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--white); }

.footer-disclaimer {
  font-size: 11px;
  color: rgba(255,255,255,0.32);
  line-height: 1.8;
  max-width: 640px;
  margin: 24px auto 16px;
  text-align: left;
}

.copyright {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

/* ================================================================
   HERO INLINE CTA
   ================================================================ */
.hero-cta-wrap {
  margin-top: 30px;
  margin-left: 30px;
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #06C755;
  color: #fff;
  padding: 13px 40px;
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(6,199,85,0.35);
  font-weight: 700;
  font-size: 1.43rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  position: relative;
  overflow: visible;
  animation: sticky-pulse 3s ease-in-out infinite;
  width: 100%;
  max-width: 506px;
  box-sizing: border-box;
}

.hero-cta:hover { background: #05b04c; }

.hero-cta-label {
  font-size: 1.24rem;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.75;
  margin-bottom: 8px;
  max-width: 506px;
  text-align: left;
}

.hero-cta-doctor-img {
  position: absolute;
  right: 20px;
  bottom: 0;
  width: 172px;
  pointer-events: none;
}

.hero-cta-doctor-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(-4px 0 8px rgba(0,0,0,0.15));
}

@media (max-width: 480px) {
  .hero-cta { font-size: 1.26rem; padding: 18px 40px; }
  .hero-cta-doctor-img { width: 110px; right: 10px; }
}

/* ================================================================
   STICKY CTA
   ================================================================ */
.sticky-cta-wrap {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  width: calc(100% - 24px);
  max-width: 560px;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.sticky-cta-wrap.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.sticky-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #06C755;
  color: #fff;
  padding: 18px 40px;
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(6,199,85,0.35);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  position: relative;
  overflow: visible;
  animation: sticky-pulse 3s ease-in-out infinite;
}

.sticky-cta:hover { background: #05b04c; }

.sticky-cta-icon {
  width: 28px;
  height: 28px;
  background: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sticky-cta-doctor-img {
  position: absolute;
  right: 20px;
  bottom: 0;
  width: 156px;
  pointer-events: none;
}

.sticky-cta-doctor-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(-4px 0 8px rgba(0,0,0,0.15));
}

@keyframes sticky-pulse {
  0%, 100% { box-shadow: 0 12px 32px rgba(6,199,85,0.35); }
  50% { box-shadow: 0 12px 32px rgba(6,199,85,0.35), 0 0 0 8px rgba(6,199,85,0.10); }
}

@media (prefers-reduced-motion: reduce) {
  .sticky-cta { animation: none; }
}

@media (max-width: 480px) {
  .sticky-cta { font-size: 1.14rem; padding: 16px 40px; }
  .sticky-cta-doctor-img { width: 100px; right: 10px; }
  .empathy-pain-overlay {
    position: static;
    transform: none;
    width: 100%;
    padding: 16px 0 0;
  }
  .empathy-image-wrap { border-radius: 14px; }
  .feature-list { flex-direction: column; }
}

/* ================================================================
   RESPONSIVE — max-width: 767px (スマホ全般)
   ================================================================ */
/* PC: スマホ専用画像・CTAを非表示 */
.hero-sp-img {
  display: none;
}
.sp-hero-cta-wrap {
  display: none;
}

/* スマホ専用CTA（1stビュー直下） */
@media (max-width: 767px) {
  .sp-hero-cta-wrap {
    display: flex;
    justify-content: center;
    padding: 20px 16px;
    background: #fff;
  }
  .sp-hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #06C755;
    color: #fff;
    padding: 16px 32px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 8px 24px rgba(6,199,85,0.35);
  }
  .sp-hero-cta .sticky-cta-icon {
    width: 24px;
    height: 24px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .sp-hero-cta .sticky-cta-icon svg {
    width: 14px;
    height: 14px;
    color: #06C755;
  }
}

@media (max-width: 767px) {
  .feature-woman-icon {
    position: absolute;
    right: 0;
    top: 0;
    width: 70px;
    transform: none;
  }

  .feature-text {
    padding-right: 78px;
  }

  /* Hero: 背景を消してスマホ画像のみ表示 */
  .hero {
    background-image: none;
  }
  .hero::after {
    display: none;
  }
  .hero-sp-img {
    display: block;
    width: 100%;
    height: auto;
  }
  .hero .container {
    display: none;
  }

  /* Hero: eyebrow を static に変更してフォントを縮小 */
  .hero-eyebrow {
    position: static;
    font-size: 24px;
    margin-bottom: 12px;
    max-width: 100%;
    left: auto;
    top: auto;
  }

  /* Hero: 負のマージン・超過幅をリセット */
  .hero-title {
    font-size: 15px;
    margin-top: 12px;
    margin-left: 0;
    width: 100%;
    line-height: 1.7;
  }

  /* text-rect: 折り返し許可 */
  .text-rect {
    white-space: normal;
    font-size: 15px;
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  /* Hero CTA: 左はみ出しをリセット */
  .hero-cta-wrap {
    margin-left: 0;
    margin-top: 16px;
  }

  /* hero-content-inner の上部余白を詰める */
  .hero-content-inner {
    padding: 24px 16px 0;
  }

  /* gold-badge: 絶対配置を小さく */
  .gold-badge {
    width: 100px;
    left: -10px;
    top: -10px;
  }

  /* GF list: 3カラム→1カラム */
  .growth-factor-list {
    flex-direction: column;
  }

  /* 医院情報テーブル: th の折り返し許可 */
  .clinic-info-table th {
    white-space: normal;
    width: 90px;
    font-size: 13px;
  }
  .clinic-info-table td {
    font-size: 13px;
  }

  /* doctor profile: 縦並び */
  .doctor-profile-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .doctor-profile-license {
    flex: 0 0 auto;
    width: 100%;
  }

  /* flow: 医師画像をフローの下にflex縦並びで表示 */
  .flow-doctor {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 32px;
  }
  .flow-doctor-img {
    width: 100%;
    max-width: 280px;
    display: block;
  }
  .flow-doctor-bubble {
    position: static;
    margin-bottom: 16px;
    font-size: 13px;
    padding: 8px 14px;
  }
}

/* ================================================================
   ANIMATIONS
   ================================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ================================================================
   RESPONSIVE — min-width: 768px
   ================================================================ */
@media (min-width: 768px) {
  .pain-list__item {
    font-size: 23px;
  }

  .bubble-text {
    font-size: clamp(10px,2.9vw,19px) !important;
  }

  .flow-steps {
    max-width: 100%;
  }

  .message-box .message-box-heading {
    font-size: 26px;
  }

  .container {
    max-width: 960px;
    padding: 0 var(--sp-md);
  }

  .header-container {
    max-width: 960px;
    padding: 14px var(--sp-md);
  }

  .header-logo { height: 67px; }

  .header-line-btn {
    padding: 12px 28px;
    font-size: 14px;
  }

  .section-title { font-size: 32px; }

  /* Hero */
  .hero .container {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
  }

  .hero-content-inner {
    width: 100%;
    max-width: 800px;
    padding: 100px 60px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 48px 0 40px;
  }

  .hero-eyebrow {
    position: static;
    top: auto;
    left: auto;
    font-size: 44px;
    margin-top: 90px;
    margin-bottom: 20px;
    margin-left: -50px;
    text-align: left;
    width: calc(100% + 80px);
    max-width: none;
  }

  .hero-title {
    font-size: 15px;
    top: -30px;
    left: 185px;
    width: calc(100% - 185px);
  }

  .text-rect { padding: 8px 15px; width: calc(100% - 35px); box-sizing: border-box; }
  .text-rect-sub { font-size: 18px; padding: 10px 20px; }

  .gold-badge { top: -30px; left: -30px; width: 207px; }
  .water-drop-badge { right: 40px; bottom: 0px; width: 198px; }

  .hero .btn { width: 320px; margin: 32px 0 0 0; }

  /* Empathy */
  .empathy .section-title { font-size: 49px; }
  .solution .section-title { font-size: 49px; }
  .empathy-pain-overlay { padding: 32px 40px; }
  .pain-main { font-size: 1.4rem; }
  .pain-lead { font-size: 0.75rem; }

  /* Solution */
  .feature-list { gap: 20px; }
  .feature-item { flex: 1; }
  .feature-item.feature-item--wide { flex: 0 0 100%; width: 100%; }
  .feature-title { font-size: 22px; }
  .feature-item p { font-size: 14px; }

  /* Evidence */
  .evidence-image-wrapper { max-width: 600px; margin: 0 auto; }

  /* Authority */
  .profile-card {
    flex-direction: row;
    text-align: left;
    max-width: 800px;
    margin: 0 auto var(--sp-md);
  }
  .profile-img img { width: 240px; height: 240px; }
  .message-box { max-width: 800px; margin: 0 auto; }

  /* Lead Magnet & FAQ */
  .benefit-box, .faq-list {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }

  /* CTA */
  .cta-section .btn,
  .lead-magnet .btn {
    max-width: 440px;
    margin: 0 auto;
  }
}

/* ================================================================
   DOCTOR SECTION — スマホ専用レイアウト
   ================================================================ */

/* PC: スマホ用パーツを非表示 */
.doctor-sp-top { display: none; }
.doctor-pc-only { display: block; }
.doctor-body { display: block; }

/* PC: 左テキスト＋右バッジの2カラム */
.doctor-pc-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.doctor-text-wrap {
  max-width: 55%;
  text-align: left;
}

.doctor-pc-emblem {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  /* 背景画像を除去、paddingを0にしてレイアウトを自分で組む */
  .doctor-section {
    background: none !important;
    padding: 0 !important;
  }

  /* 画像 + オーバーレイブロックを表示 */
  .doctor-sp-top {
    display: block;
    position: relative;
  }
  .doctor-sp-top > img {
    width: 100%;
    height: auto;
    display: block;
  }
  /* 画像上の金バッジはSPで非表示 */
  .doctor-sp-badge { display: none; }

  /* 見出し: 画像左の余白に縦中央 */
  .doctor-sp-heading {
    position: absolute;
    top: 50%;
    left: 60px;
    transform: translateY(-50%);
    max-width: 38%;
  }
  .doctor-sp-heading h2 {
    font-size: 26px;
    font-weight: 700;
    color: #161616;
    line-height: 1.4;
    margin: 0;
    text-align: left;
  }

  /* PC用見出しを非表示 */
  .doctor-pc-only { display: none; }

  /* SP: 2カラム解除・全幅・中央揃えに戻す */
  .doctor-pc-inner {
    display: block;
  }

  .doctor-text-wrap {
    max-width: 100%;
    text-align: center;
  }

  /* 本文エリアにpadding */
  .doctor-body {
    padding: 24px 20px 28px;
    text-align: center;
  }
  .doctor-lead-text { text-align: left; }
  .doctor-pill-list { justify-content: center !important; }

  /* セクションタイトル統一 */
  .empathy .section-title { font-size: 27px; }
  .solution .section-title,
  .evidence .section-title,
  .future-appeal .section-title,
  .gf-section-title,
  .feature-list-heading,
  .bridge2-lead { font-size: 22px; }
  .lead-magnet .benefit-box h3 { font-size: 22px !important; }
  .flow-inner > p:first-child { font-size: 22px !important; }
  #faq .gf-section-title { font-size: 18px; }
}

