/* 088 ふたばレディースクリニック ― 色はここだけ触れば差し替わる */
:root {
  --c-bg: #f2faf4;
  --c-ink: #1f4d33;
  --c-green: #237a4a;
  --c-leaf: #bfeccf;
  --c-leaf2: #8fd8aa;
  --c-coral: #ff9b80;
  --c-yellow: #ffe28a;
  --c-accent-text: #2b7a4b;
  --c-text: #374151;
  --c-sub: #4b5563;
  --font: "Kosugi Maru", sans-serif;
  --font-head: "Hachi Maru Pop", "Kosugi Maru", sans-serif;
  --font-pen: "Yomogi", "Kosugi Maru", sans-serif;
  --font-en: "Baloo 2", sans-serif;
  --line: 3px solid var(--c-ink);
  --shadow: 6px 6px 0 var(--c-ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.9; color: var(--c-text); background: var(--c-bg); padding-bottom: 76px; }
@media (min-width: 1080px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; font-weight: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dd, li, summary { word-break: auto-phrase; }
figure { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }

.en { font-family: var(--font-en); font-weight: 800; font-size: 16px; letter-spacing: .16em; color: var(--c-accent-text); }
.h2 { font-family: var(--font-head); font-size: clamp(28px, 4.4vw, 44px); line-height: 1.45; color: var(--c-ink); margin: 4px 0 28px; }

/* ボタン：太い線＋ずらした影。押すとへこむ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border: var(--line); border-radius: 999px; font-family: var(--font); font-size: 16px; font-weight: 700; text-decoration: none; white-space: nowrap; flex: none; box-shadow: 4px 4px 0 var(--c-ink); transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--c-ink); }
.btn:focus-visible { outline: 3px solid var(--c-coral); outline-offset: 3px; }
.btn--green { background: var(--c-green); color: #fff; }
.btn--line { background: #fff; color: var(--c-ink); }
.btn--white { background: #fff; color: var(--c-ink); }
.btn--lg { min-height: 60px; padding: 0 34px; font-size: 18px; }
.btn--xl { min-height: 72px; padding: 0 44px; font-size: 20px; }

.sticker { display: grid; place-items: center; text-align: center; width: 104px; height: 104px; border-radius: 50%; border: var(--line); font-family: var(--font-head); font-size: 17px; line-height: 1.3; color: var(--c-ink); box-shadow: 4px 4px 0 var(--c-ink); }
.sticker--coral { background: var(--c-coral); }

/* ===== 読み込み（A06）：最初は出さない。頭の小さなJSが is-loading を付けたときだけ ===== */
.loader { display: none; }
.is-loading .loader {
  display: grid; place-content: center; justify-items: center; gap: 8px; position: fixed; inset: 0; z-index: 100; background: #fff;
  animation: loaderOut .4s 1.8s forwards; /* GSAPが読めなくても、2秒あまりで必ず消える */
}
@keyframes loaderOut { to { opacity: 0; visibility: hidden; } }
.loader__mascot { animation: hop .5s ease-in-out infinite alternate; }
@keyframes hop { from { transform: translateY(0); } to { transform: translateY(-12px); } }
.loader__num { font-family: var(--font-en); font-weight: 800; font-size: 44px; line-height: 1; color: var(--c-ink); }
.loader__bar { width: 180px; height: 14px; border: var(--line); border-radius: 999px; overflow: hidden; background: var(--c-bg); }
.loader__bar span { display: block; height: 100%; width: 100%; background: var(--c-leaf2); transform-origin: left; }

/* ===== ヘッダー（LP型：ロゴと申し込みボタンだけ） ===== */
.header { position: sticky; top: 0; z-index: 50; background: rgba(242, 250, 244, .94); border-bottom: var(--line); }
.header__inner { display: flex; align-items: center; gap: 12px; height: 68px; padding: 0 12px 0 20px; max-width: 1240px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 8px; min-height: 48px; text-decoration: none; color: var(--c-ink); font-family: var(--font-head); font-size: 26px; line-height: 1.05; white-space: nowrap; flex: none; }
.logo small { display: block; font-size: 15px; font-family: var(--font); color: var(--c-accent-text); }
.header__btn { margin-left: auto; min-height: 46px; padding: 0 18px; }
@media (max-width: 420px) { .header__btn { padding: 0 14px; font-size: 15px; } .logo { font-size: 20px; } .logo__mark { display: none; } }

.spmenu { flex: none; }
.spmenu summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: var(--c-ink); }
.spmenu summary::-webkit-details-marker { display: none; }
.spmenu__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.spmenu__bar, .spmenu__bar::before, .spmenu__bar::after { display: block; width: 22px; height: 3px; border-radius: 3px; background: currentColor; position: relative; }
.spmenu__bar::before, .spmenu__bar::after { content: ""; position: absolute; left: 0; }
.spmenu__bar::before { top: -7px; } .spmenu__bar::after { top: 7px; }
.spmenu[open] .spmenu__bar { background: transparent; }
.spmenu[open] .spmenu__bar::before { top: 0; transform: rotate(45deg); }
.spmenu[open] .spmenu__bar::after { top: 0; transform: rotate(-45deg); }
.spmenu__nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: var(--line); padding: 8px 20px 20px; display: flex; flex-direction: column; }
.spmenu__nav a { display: flex; align-items: center; min-height: 52px; color: var(--c-ink); text-decoration: none; border-bottom: 2px dashed var(--c-leaf2); }
@media (min-width: 1080px) { .spmenu { display: none; } .header__inner { padding: 0 32px; } }

/* ===== メインビジュアル（イラスト・図形） ===== */
.hero { overflow: hidden; padding: 32px 0 0; background: radial-gradient(circle at 80% 10%, #fffbe6 0, transparent 40%), var(--c-bg); }
.hero__inner { max-width: 1240px; margin: 0 auto; padding: 0 20px; display: grid; gap: 8px; }
.hero__copy { position: relative; }
.hero__sticker { position: absolute; right: 0; top: -8px; transform: rotate(10deg); width: 92px; height: 92px; font-size: 15px; }
.hero__lead { font-weight: 700; color: var(--c-accent-text); }
.hero__title { font-family: var(--font-head); font-size: clamp(38px, 6.4vw, 76px); line-height: 1.3; color: var(--c-ink); margin: 8px 0 16px; }
.hero__em { background: linear-gradient(transparent 62%, var(--c-yellow) 62%); padding: 0 4px; }
.hero__text { font-size: 17px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.art { width: 100%; height: auto; display: block; overflow: visible; }
@media (min-width: 900px) {
  .hero { padding-top: 56px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: end; }
  .hero__copy { padding-bottom: 96px; }
  .hero__sticker { right: auto; left: 420px; top: 8px; width: 108px; height: 108px; font-size: 18px; }
}

/* ===== 悩み（E06） ===== */
.worry { padding: 96px 0; background: #fff; border-top: var(--line); border-bottom: var(--line); }
.note {
  position: relative; max-width: 760px; margin: 0 auto; padding: 24px 24px 32px 56px; border: var(--line); border-radius: 20px; box-shadow: var(--shadow);
  background: #fffef8 repeating-linear-gradient(transparent 0 55px, #cfe9d8 55px 57px);
  background-position: 0 22px;
}
.note::before { content: ""; position: absolute; left: 34px; top: 0; bottom: 0; width: 2px; background: var(--c-coral); }
.pen-line { position: relative; font-family: var(--font-pen); font-size: clamp(19px, 2.6vw, 25px); line-height: 57px; color: var(--c-ink); }
.pen-line mark { background: linear-gradient(transparent 55%, var(--c-yellow) 55%) no-repeat 0 0 / 100% 100%; color: inherit; padding: 0 2px; }
.pen { display: none; }
.is-motion .pen { display: block; position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; }

/* ===== 解決 ===== */
.answer { padding: 96px 0; }
.answer__inner { display: grid; gap: 32px; align-items: center; }
.answer__photo { border: var(--line); border-radius: 50% 50% 32px 32px; overflow: hidden; box-shadow: var(--shadow); max-width: 460px; }
.answer__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--c-leaf); }
.answer__body p:not(.en) { margin-bottom: 28px; }
@media (min-width: 900px) { .answer__inner { grid-template-columns: 1fr 1fr; gap: 72px; } .answer__photo { justify-self: end; } }

/* ===== 特長（B05）：sticky で積み重なる。JSなしでも成り立つ ===== */
.point { padding: 96px 0 120px; background: var(--c-leaf); border-top: var(--line); }
.point .en { color: var(--c-ink); }
.stack { max-width: 980px; margin: 0 auto; padding: 0 20px; display: grid; gap: 28px; }
.card { position: sticky; top: 92px; display: grid; gap: 16px; padding: 24px; border: var(--line); border-radius: 28px; box-shadow: var(--shadow); color: var(--c-ink); transform-origin: 50% 0; min-width: 0; }
.card--1 { background: #fff; top: 88px; }
.card--2 { background: var(--c-yellow); top: 104px; }
.card--3 { background: #ffd7cc; top: 120px; }
.card--4 { background: #e4f6ea; top: 136px; }
.card__no { font-family: var(--font-en); font-weight: 800; font-size: 44px; line-height: 1; }
.card h3 { font-family: var(--font-head); font-size: clamp(24px, 3.2vw, 32px); line-height: 1.4; margin-bottom: 8px; }
.card p:not(.card__no) { color: var(--c-text); }
.card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: var(--line); border-radius: 18px; background: #e4f6ea; }
@media (min-width: 768px) {
  .card { grid-template-columns: auto 1fr 1fr; align-items: center; gap: 28px; padding: 32px 40px; min-height: 320px; }
  .card img { aspect-ratio: 4 / 3; }
}

/* ===== 声（Swiper） ===== */
.voice { padding: 96px 0; overflow: hidden; }
.voice__note { color: var(--c-sub); margin: -16px 0 24px; font-size: 15px; }
.voice__swiper { padding: 8px 20px 4px; max-width: 1240px; }
.bubble { position: relative; height: auto; background: #fff; border: var(--line); border-radius: 24px; padding: 28px 24px 24px; box-shadow: 4px 4px 0 var(--c-ink); width: 82%; max-width: 360px; }
.bubble::after { content: ""; position: absolute; left: 36px; bottom: -14px; width: 24px; height: 24px; background: #fff; border-right: var(--line); border-bottom: var(--line); transform: rotate(45deg); }
.bubble p:first-child { font-size: 16px; color: var(--c-text); }
.bubble__who { margin-top: 12px; font-weight: 700; color: var(--c-accent-text); }
.voice__swiper .swiper-wrapper { padding: 0 0 24px; margin: 0; }
/* JSなし（Swiperが動いていない）とき：指で横に送れる並び */
.voice__swiper:not(.swiper-initialized) .swiper-wrapper { overflow-x: auto; scroll-snap-type: x mandatory; gap: 20px; }
.voice__swiper:not(.swiper-initialized) .bubble { scroll-snap-align: start; }
.voice__ctrl { display: none; }
.swiper-initialized .voice__ctrl { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.voice__arrow { position: static; margin: 0; width: 48px; height: 48px; border: var(--line); border-radius: 50%; background: #fff; color: var(--c-ink); box-shadow: 3px 3px 0 var(--c-ink); }
.voice__arrow::after { font-size: 16px; font-weight: 700; }
.voice__dots.swiper-pagination { position: static; width: auto; }
.voice__dots .swiper-pagination-bullet { position: relative; width: 28px; height: 44px; margin: 0 !important; background: transparent; border-radius: 0; opacity: 1; vertical-align: middle; }
.voice__dots .swiper-pagination-bullet::before { content: ""; position: absolute; left: 7px; top: 15px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--c-ink); box-sizing: border-box; }
.voice__dots .swiper-pagination-bullet-active::before { background: var(--c-green); }
.voice__arrow svg { width: 10px; height: 18px; }
.voice__pause { min-height: 44px; padding: 0 18px; border: 2px solid var(--c-ink); border-radius: 999px; background: #fff; color: var(--c-ink); font-family: var(--font); font-size: 15px; cursor: pointer; }

/* ===== 料金 ===== */
.price { padding: 96px 0; background: #fff; border-top: var(--line); border-bottom: var(--line); }
.price__list { display: grid; gap: 20px; margin-bottom: 40px; }
.price__list li { border: var(--line); border-radius: 24px; padding: 24px; background: var(--c-bg); min-width: 0; }
.price__list h3 { font-weight: 700; color: var(--c-ink); }
.price__num { font-family: var(--font-en); font-weight: 800; font-size: 34px; color: var(--c-ink); line-height: 1.4; }
.price__list p:last-child { color: var(--c-sub); font-size: 15px; }
.price__total { background: var(--c-yellow) !important; }
@media (min-width: 768px) { .price__list { grid-template-columns: repeat(3, 1fr); } }

/* ===== よくある質問 ===== */
.faq { padding: 96px 0; }
.faq__list { max-width: 820px; display: grid; gap: 14px; }
.faq details { border: var(--line); border-radius: 18px; background: #fff; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 12px 20px; font-weight: 700; color: var(--c-ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--c-leaf); font-family: var(--font-en); }
.faq summary::after { content: "+"; margin-left: auto; font-family: var(--font-en); font-size: 24px; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 20px 20px 64px; }

/* ===== 申し込み ===== */
.apply { background: var(--c-leaf2); border-top: var(--line); padding: 72px 20px 96px; }
.apply__inner { max-width: 1120px; margin: 0 auto; display: grid; gap: 32px; align-items: center; }
.apply__photo { border: var(--line); border-radius: 32px; overflow: hidden; box-shadow: var(--shadow); }
.apply__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--c-leaf); }
.apply__body { background: #fff; border: var(--line); border-radius: 32px; padding: 32px 24px; box-shadow: var(--shadow); text-align: center; position: relative; }
.apply__mascot { margin: -80px auto 8px; display: block; }
.apply__body .h2 { margin-bottom: 16px; }
.apply__body .btn { margin-top: 24px; max-width: 100%; }
.apply__tel { margin-top: 20px; color: var(--c-sub); }
.apply__tel a { font-family: var(--font-en); font-weight: 800; font-size: 26px; color: var(--c-ink); text-decoration: none; }
@media (max-width: 420px) { .btn--xl { padding: 0 24px; font-size: 18px; } }
@media (min-width: 900px) { .apply__inner { grid-template-columns: 1fr 1fr; gap: 56px; } }

/* ===== フッター ===== */
.footer { background: var(--c-ink); color: #e8f5ec; text-align: center; padding: 56px 20px 40px; font-size: 15px; }
.footer__logo { font-family: var(--font-head); font-size: 24px; color: #fff; margin-bottom: 12px; }
.footer__fiction { margin-top: 20px; }

/* ===== スマホ：下に固定した申し込みボタン ===== */
.fixcta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: 8px; padding: 10px 12px; background: rgba(255, 255, 255, .96); border-top: var(--line); }
.fixcta .btn { min-height: 52px; box-shadow: 3px 3px 0 var(--c-ink); }
.fixcta .btn--green { flex: 1; }
@media (min-width: 1080px) { .fixcta { display: none; } }

/* ===== 動く版だけ ===== */
.is-motion .art__cloud, .is-motion .art__sprout, .is-motion .art__mascot { transform-box: fill-box; transform-origin: 50% 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
