/* ===========================================================
   マンニャロ Mannyaro - オンライン診療クリニック
   キャッチコピー: 猫のように、しなやかに。
   =========================================================== */

:root {
  /* やわらかいニュアンスカラー（20代女性向け） */
  --green-soft: #c9e4c0;
  --green-mid: #a8d5a0;
  --green-deep: #6fae5e;
  --cream: #fdfbf6;
  --cream-2: #f6f1e7;
  --pink-soft: #f8d7d4;
  --pink-accent: #f3a9a3;
  --text-main: #4a4a44;
  --text-sub: #8a8a82;
  --white: #ffffff;
  --shadow-soft: 0 10px 40px rgba(111, 174, 94, 0.12);
  --shadow-card: 0 6px 24px rgba(0, 0, 0, 0.05);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --font-main: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-heading: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Noto Sans JP", sans-serif;
  --font-accent: "Jost", "Zen Maru Gothic", sans-serif;
  --maxw: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  color: var(--text-main);
  background: var(--cream);
  line-height: 1.85;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 90%; max-width: var(--maxw); margin: 0 auto; }

.section { padding: 90px 0; }
.section--tight { padding: 60px 0; }

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

/* ===== セクション見出し ===== */
.sec-label {
  display: inline-block;
  font-family: var(--font-accent);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--green-deep);
  font-size: 0.72rem;
  margin-bottom: 14px;
}
.sec-title {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 3.4vw, 1.95rem);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.sec-title .accent { color: var(--green-deep); }
.sec-lead {
  color: var(--text-sub);
  font-size: 0.9rem;
  line-height: 1.9;
  max-width: 620px;
  margin: 0 auto 50px;
  word-break: auto-phrase;
  line-break: strict;
}

/* ===== ボタン ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 34px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s;
  font-family: var(--font-main);
}
.btn-primary {
  background: linear-gradient(135deg, var(--green-mid), var(--green-deep));
  color: #fff;
  box-shadow: 0 8px 22px rgba(111, 174, 94, 0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(111, 174, 94, 0.45); }
.btn-pink {
  background: linear-gradient(135deg, var(--pink-soft), var(--pink-accent));
  color: #fff;
  box-shadow: 0 8px 22px rgba(243, 169, 163, 0.35);
}
.btn-pink:hover { transform: translateY(-3px); }
.btn-outline {
  background: #fff;
  color: var(--green-deep);
  border: 2px solid var(--green-mid);
}
.btn-outline:hover { background: var(--green-soft); transform: translateY(-3px); }

/* ===========================================================
   ヘッダー
   =========================================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(253, 251, 246, 0.85);
  backdrop-filter: blur(12px);
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.06); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  color: var(--green-deep);
}
.logo .logo-mark { font-size: 1.5rem; }
.logo .logo-sub { font-size: 0.6rem; color: var(--text-sub); letter-spacing: 0.22em; display:block; line-height:1.2; font-family: var(--font-accent); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 0.85rem; font-weight: 500; letter-spacing: 0.04em; transition: color 0.2s; }
.nav a:hover { color: var(--green-deep); }
.nav .btn { padding: 9px 22px; font-size: 0.82rem; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 1.5rem; color: var(--green-deep); }

/* ===========================================================
   ヒーロー
   =========================================================== */
.hero {
  position: relative;
  padding: 150px 0 90px;
  background:
    radial-gradient(circle at 80% 20%, rgba(201,228,192,0.6), transparent 45%),
    radial-gradient(circle at 10% 80%, rgba(248,215,212,0.5), transparent 40%),
    var(--cream);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.hero-copy .hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green-deep);
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 5.2vw, 3rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.01em;
  margin-bottom: 22px;
}
.hero-title .hl {
  background: linear-gradient(transparent 65%, var(--green-soft) 65%);
}
.hero-title .accent { color: var(--green-deep); }
.hero-sub {
  color: var(--text-sub);
  font-size: 0.9rem;
  line-height: 1.95;
  margin-bottom: 34px;
  max-width: 460px;
  word-break: auto-phrase;
  line-break: strict;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 0.78rem; color: var(--text-sub); }

/* 重要告知バー（適応・自由診療） */
.notice-band {
  background: #fff7ed;
  border-top: 1px solid #f5d9b8;
  border-bottom: 1px solid #f5d9b8;
}
.notice-band p {
  margin: 0;
  padding: 16px 0;
  font-size: 0.82rem;
  line-height: 1.75;
  color: #8a5a1e;
  word-break: auto-phrase;
  line-break: strict;
}
.notice-band i { color: #d97706; margin-right: 6px; }
.notice-band b { color: #b45309; }

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-chara {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 12px 36px rgba(111,174,94,0.22);
  border: 6px solid #fff;
  animation: float 4s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }

.hero-bubble {
  position: absolute;
  background: #fff;
  border-radius: 18px;
  padding: 10px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: var(--shadow-card);
  color: var(--green-deep);
}
.hero-bubble.b1 { top: 10%; left: 0; }
.hero-bubble.b2 { bottom: 16%; right: 2%; color: var(--pink-accent); }

/* ===== 信頼バー ===== */
.trust-bar {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  margin-top: 56px;
  overflow: hidden;
}
.trust-item { padding: 26px 14px; border-right: 1px solid #f0ece2; }
.trust-item:last-child { border-right: none; }
.trust-item .num { font-family: var(--font-heading); font-weight: 700; font-size: 1.4rem; color: var(--green-deep); letter-spacing: 0.01em; }
.trust-item .lbl { font-size: 0.78rem; color: var(--text-sub); }

/* ===========================================================
   悩み共感
   =========================================================== */
.worry { background: var(--cream-2); }
.worry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.worry-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.worry-card .q { font-size: 1.6rem; color: var(--pink-accent); font-weight: 700; }
.worry-card p { font-size: 0.95rem; margin-top: 6px; }

/* ===========================================================
   特徴
   =========================================================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 38px 28px;
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-soft); }
.feature-card .icon {
  width: 72px; height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--green-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: var(--green-deep);
}
.feature-card h3 { font-size: 1.15rem; margin-bottom: 12px; }
.feature-card p { font-size: 0.9rem; color: var(--text-sub); }

/* ===========================================================
   公式キャラクター紹介
   =========================================================== */
.mascot-intro { background: var(--green-soft); }
.mascot-intro .intro-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 10px;
  align-items: center;
  overflow: hidden;
  max-width: 920px;
  margin: 0 auto;
}
.mascot-intro .intro-photo {
  background: radial-gradient(circle at center, var(--green-soft), #fff 70%);
  padding: 30px;
  text-align: center;
}
.mascot-intro .intro-photo img {
  max-width: 230px;
  margin: 0 auto;
  border-radius: 24px;
}
.mascot-intro .intro-body { padding: 40px 44px 40px 10px; }
.mascot-intro .intro-name {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  margin-bottom: 16px;
}
.mascot-intro .intro-name b { font-family: var(--font-heading); font-size: 1.3rem; color: var(--green-deep); }
.mascot-intro .intro-name .en {
  font-family: var(--font-accent); font-weight: 700; letter-spacing: 0.1em;
  font-size: 0.8rem; color: var(--text-sub);
  background: var(--green-soft); padding: 4px 12px; border-radius: 999px;
}
.mascot-intro .intro-body p { font-size: 0.92rem; color: var(--text-main); margin-bottom: 14px; }
.mascot-intro .intro-quote {
  background: var(--cream-2);
  border-left: 4px solid var(--green-mid);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 18px;
  font-size: 0.9rem;
  color: var(--text-main);
}
.mascot-intro .intro-quote .q-icon { color: var(--green-deep); margin-right: 6px; }
@media (max-width: 760px) {
  .mascot-intro .intro-card { grid-template-columns: 1fr; max-width: 440px; }
  .mascot-intro .intro-photo { padding: 28px 30px 6px; }
  .mascot-intro .intro-photo img { max-width: 180px; }
  .mascot-intro .intro-body { padding: 6px 22px 30px; text-align: center; }
  .mascot-intro .intro-name { justify-content: center; margin-bottom: 12px; }
  .mascot-intro .intro-body .intro-lead { font-size: 0.9rem; }
  .char-profile li { text-align: left; }
  .char-profile .pf-label { flex-basis: 72px; }
  .mascot-intro .intro-quote { text-align: left; font-size: 0.86rem; }
}

/* ===========================================================
   流れ STEP
   =========================================================== */
.flow { background: linear-gradient(180deg, var(--cream), var(--green-soft) 140%); }
.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.flow-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 34px 22px 28px;
  box-shadow: var(--shadow-card);
  position: relative;
  text-align: center;
}
.flow-card .step-num {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green-mid), var(--green-deep));
  color: #fff; font-family: var(--font-accent); font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px rgba(111,174,94,0.35);
}
.flow-card .f-icon { font-size: 2rem; color: var(--green-deep); margin: 8px 0 14px; }
.flow-card h4 { font-size: 1.02rem; margin-bottom: 8px; }
.flow-card p { font-size: 0.85rem; color: var(--text-sub); }

/* ===========================================================
   料金プレビュー
   =========================================================== */
.price-preview { background: var(--cream-2); }
.price-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  max-width: 760px;
  margin: 0 auto;
  padding: 46px 40px;
  text-align: center;
}
.price-card .price-tag {
  font-family: var(--font-accent);
  font-weight: 700;
  color: var(--green-deep);
  line-height: 1;
  margin: 10px 0;
}
.price-card .price-tag .yen { font-size: 1.4rem; }
.price-card .price-tag .num { font-size: 3.4rem; }
.price-card .price-tag .per { font-size: 1rem; color: var(--text-sub); }
.price-card .small { font-size: 0.8rem; color: var(--text-sub); }

/* ===========================================================
   安心・安全
   =========================================================== */
.safety-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.safety-list { list-style: none; }
.safety-list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 0; border-bottom: 1px dashed #e3ddd0;
}
.safety-list li i { color: var(--green-deep); font-size: 1.1rem; margin-top: 4px; }
.safety-list li b { display:block; }
.safety-list li span { font-size: 0.86rem; color: var(--text-sub); }
.safety-visual { text-align: center; }
.safety-visual img { max-width: 300px; margin: 0 auto; }

/* ===========================================================
   ビジュアルバンド（女性写真の帯）
   =========================================================== */
.visual-band {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center 25%;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.visual-band::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(74,74,68,0.55) 0%, rgba(74,74,68,0.15) 55%, transparent 80%);
}
.visual-band .band-copy {
  position: relative;
  color: #fff;
  padding: 50px;
  max-width: 520px;
}
.visual-band .band-copy h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  line-height: 1.5;
  margin-bottom: 14px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.visual-band .band-copy p {
  font-size: 0.95rem;
  line-height: 1.85;
  opacity: 0.95;
  text-shadow: 0 1px 8px rgba(0,0,0,0.25);
  word-break: auto-phrase;
  line-break: strict;
}
@media (max-width: 720px) {
  .visual-band { min-height: 360px; background-position: 70% center; }
  .visual-band::before { background: linear-gradient(180deg, rgba(74,74,68,0.2), rgba(74,74,68,0.65)); }
  .visual-band .band-copy { padding: 30px 24px; }
}

/* ===========================================================
   声 / レビュー（医療広告ガイドラインに配慮した表現）
   =========================================================== */
.voice { background: var(--green-soft); }
.voice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.voice-card {
  background: #fff; border-radius: var(--radius-md);
  padding: 28px 24px; box-shadow: var(--shadow-card);
}
.voice-card .stars { color: #f5c451; margin-bottom: 10px; }
.voice-card p { font-size: 0.9rem; }
.voice-card .who { margin-top: 14px; font-size: 0.8rem; color: var(--text-sub); font-weight: 700; }

/* ===========================================================
   FAQ
   =========================================================== */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.faq-q {
  padding: 20px 24px;
  font-weight: 700;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  font-size: 0.96rem;
}
.faq-q .qmark { color: var(--green-deep); font-family: var(--font-accent); margin-right: 4px; }
.faq-q i { transition: transform 0.3s; color: var(--green-deep); flex-shrink: 0; }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  font-size: 0.9rem; color: var(--text-sub);
}
.faq-item.open .faq-a { max-height: 400px; padding: 0 24px 22px; }

/* ===========================================================
   CTA バナー
   =========================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--green-mid), var(--green-deep));
  color: #fff;
  border-radius: var(--radius-lg);
  text-align: center;
  padding: 60px 30px;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); margin-bottom: 14px; }
.cta-banner p { opacity: 0.92; margin-bottom: 30px; }
.cta-banner .btn-pink { background:#fff; color: var(--green-deep); }

/* ===========================================================
   フッター
   =========================================================== */
.footer {
  background: #4a4a44;
  color: #e8e6df;
  padding: 60px 0 30px;
  font-size: 0.88rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}
.footer .logo { color: #fff; margin-bottom: 14px; }
.footer .logo .logo-sub { color: #b9b6ac; }
.footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 9px; }
.footer ul li a { color: #c9c6bd; transition: color 0.2s; font-size: 0.85rem; }
.footer ul li a:hover { color: var(--green-mid); }
.footer .about-text { color: #b9b6ac; font-size: 0.82rem; line-height: 1.85; word-break: auto-phrase; line-break: strict; }
.footer-bottom {
  border-top: 1px solid #5e5e56;
  padding-top: 22px;
  text-align: center;
  color: #9b988f;
  font-size: 0.78rem;
}

/* ===========================================================
   注意書き・医療表記
   =========================================================== */
.disclaimer {
  background: var(--cream-2);
  border-radius: var(--radius-md);
  padding: 28px 30px;
  font-size: 0.78rem;
  color: var(--text-sub);
  line-height: 1.9;
  border: 1px solid #ece6d8;
}
.disclaimer h4 { color: var(--text-main); font-size: 0.9rem; margin-bottom: 10px; }
.disclaimer ul { padding-left: 1.2em; }

/* ===========================================================
   料金ページ
   =========================================================== */
.page-hero {
  padding: 130px 0 60px;
  text-align: center;
  background:
    radial-gradient(circle at 80% 20%, rgba(201,228,192,0.5), transparent 45%),
    var(--cream);
}
.page-hero h1 { font-family: var(--font-heading); font-size: clamp(1.5rem, 4vw, 2.1rem); letter-spacing: 0.02em; margin-bottom: 12px; }
.page-hero p { color: var(--text-sub); font-size: 0.88rem; }

.selector-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  max-width: 620px;
  margin: 0 auto;
  padding: 44px 40px;
}
.selector-row { margin-bottom: 26px; }
.selector-row label {
  display: block; font-weight: 700; margin-bottom: 10px; font-size: 0.95rem;
}
.selector-row label .req { color: var(--pink-accent); font-size: 0.78rem; margin-left: 6px; }
.select-wrap { position: relative; }
.select-wrap::after {
  content: "\f078"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  color: var(--green-deep); pointer-events: none; font-size: 0.85rem;
}
.selector-row select {
  width: 100%;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--green-soft);
  background: var(--cream);
  font-family: var(--font-main);
  font-size: 1rem;
  color: var(--text-main);
  appearance: none;
  cursor: pointer;
  transition: border-color 0.2s;
}
.selector-row select:focus { outline: none; border-color: var(--green-deep); }

.result-box {
  margin-top: 10px;
  background: linear-gradient(135deg, var(--green-soft), var(--cream));
  border-radius: var(--radius-md);
  padding: 34px 30px;
  text-align: center;
}
.result-box .r-label { font-size: 0.82rem; color: var(--text-sub); font-weight: 700; }
.result-box .r-price {
  font-family: var(--font-accent); font-weight: 700; color: var(--green-deep);
  margin: 6px 0;
}
.result-box .r-price .num { font-size: 3rem; }
.result-box .r-price .yen { font-size: 1.3rem; }
.result-box .r-sub { font-size: 0.84rem; color: var(--text-sub); }
.result-detail {
  margin-top: 22px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  text-align: left;
}
.result-detail .rd-item {
  background: #fff; border-radius: var(--radius-sm); padding: 14px 18px;
}
.result-detail .rd-item .k { font-size: 0.74rem; color: var(--text-sub); }
.result-detail .rd-item .v { font-weight: 700; font-size: 1.05rem; }
.result-detail .rd-item .v.discount { color: var(--pink-accent); }

/* 料金テーブル全体 */
.price-table-wrap { overflow-x: auto; margin-top: 20px; }
table.price-table {
  width: 100%; border-collapse: collapse; min-width: 640px;
  background: #fff; border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-card);
}
.price-table th, .price-table td { padding: 16px 14px; text-align: center; font-size: 0.9rem; }
.price-table thead th {
  background: var(--green-deep); color: #fff; font-size: 0.82rem; font-weight: 700;
}
.price-table tbody tr:nth-child(even) { background: var(--cream-2); }
.price-table tbody td:first-child { font-weight: 700; color: var(--green-deep); }
.price-table .highlight { color: var(--pink-accent); font-weight: 700; }

/* ===========================================================
   汎用 法的ページ（記事）
   =========================================================== */
.legal {
  max-width: 820px; margin: 0 auto;
  background: #fff; border-radius: var(--radius-md);
  padding: 50px 48px; box-shadow: var(--shadow-card);
}
.legal h2 { font-family: var(--font-heading); font-size: 1.1rem; margin: 34px 0 14px; color: var(--green-deep); border-left: 4px solid var(--green-mid); padding-left: 12px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-family: var(--font-heading); font-size: 0.96rem; margin: 22px 0 8px; }
.legal p { font-size: 0.86rem; line-height: 1.95; margin-bottom: 12px; }
.legal ul, .legal ol { padding-left: 1.4em; margin-bottom: 14px; }
.legal li { font-size: 0.86rem; line-height: 1.9; margin-bottom: 6px; }
.legal table { width: 100%; border-collapse: collapse; margin: 14px 0; }
.legal table th, .legal table td { border: 1px solid #ece6d8; padding: 11px 13px; font-size: 0.82rem; line-height: 1.8; text-align: left; vertical-align: top; }
.legal table th { background: var(--cream-2); width: 32%; font-weight: 700; }

/* 法的ページ タブナビ */
.legal-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 26px; }
.legal-tabs a { background: #fff; border: 1px solid #ece6d8; color: var(--text-sub); font-size: 0.86rem; font-weight: 700; padding: 9px 18px; border-radius: 999px; text-decoration: none; transition: all 0.2s; }
.legal-tabs a:hover { border-color: var(--green-mid); color: var(--green-deep); }
.legal-tabs a.active { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }

/* ===========================================================
   公式キャラクター詳細プロフィール
   =========================================================== */
.char-profile { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.char-profile li { display: flex; gap: 10px; align-items: center; background: var(--cream); border-radius: var(--radius-sm); padding: 10px 14px; }
.char-profile .pf-ico { color: var(--green-deep); font-size: 0.9rem; width: 18px; text-align: center; flex: 0 0 auto; }
.char-profile .pf-label { flex: 0 0 76px; font-weight: 700; color: var(--green-deep); font-size: 0.82rem; }
.char-profile .pf-value { font-size: 0.88rem; }
.intro-lead { font-size: 0.92rem; line-height: 1.85; word-break: auto-phrase; line-break: strict; }

/* ===========================================================
   マンジャロ 4ポイント
   =========================================================== */
.about-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 36px; }
.about-point { background: #fff; border-radius: var(--radius-md); padding: 28px 26px; box-shadow: var(--shadow-card); border-top: 4px solid var(--green-mid); }
.about-point .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--green-soft); color: var(--green-deep); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 14px; }
.about-point h3 { font-size: 1.05rem; margin-bottom: 8px; }
.about-point p { font-size: 0.9rem; color: var(--text-sub); margin: 0; }

/* ===========================================================
   薬の詳細スペック
   =========================================================== */
.medicine-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
.medicine-visual { background: linear-gradient(160deg, #eef6e9, #fbf4f3); border-radius: var(--radius-lg); padding: 30px; text-align: center; box-shadow: var(--shadow-card); }
.medicine-visual img { max-width: 100%; border-radius: var(--radius-md); }
.medicine-visual .cap { font-size: 0.8rem; color: var(--text-sub); margin-top: 12px; }
.med-brand { display: inline-block; background: var(--pink-soft); color: #b5564f; font-weight: 700; font-size: 0.78rem; padding: 5px 14px; border-radius: 999px; margin-bottom: 10px; }
.med-title { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 700; }
.med-gen { color: var(--text-sub); font-size: 0.9rem; margin-bottom: 18px; }
.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.spec-table th, .spec-table td { text-align: left; padding: 11px 4px; font-size: 0.88rem; border-bottom: 1px solid #ece6d8; vertical-align: top; }
.spec-table th { width: 30%; color: var(--green-deep); font-weight: 700; }
.med-note { font-size: 0.88rem; color: var(--text-sub); background: var(--cream); border-radius: var(--radius-sm); padding: 14px 16px; }

/* ===========================================================
   作用機序ステップ
   =========================================================== */
.mechanism-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 34px; }
.mech-card { background: #fff; border-radius: var(--radius-md); padding: 30px 28px; box-shadow: var(--shadow-card); position: relative; }
.mech-card .mech-num { position: absolute; top: -16px; left: 26px; width: 40px; height: 40px; border-radius: 50%; background: var(--green-deep); color: #fff; font-family: var(--font-accent); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.mech-card h4 { font-size: 1.08rem; margin: 12px 0 10px; }
.mech-card p { font-size: 0.9rem; color: var(--text-sub); margin: 0; }

/* ===========================================================
   臨床データ 数値
   =========================================================== */
.data-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 34px; }
.data-card { background: #fff; border-radius: var(--radius-md); padding: 28px 18px; text-align: center; box-shadow: var(--shadow-card); }
.data-card .big { font-family: var(--font-accent); font-size: 1.9rem; font-weight: 600; color: var(--green-deep); line-height: 1.15; }
.data-card .lbl { font-size: 0.86rem; font-weight: 700; margin-top: 6px; }
.data-card .sub { font-size: 0.74rem; color: var(--text-sub); margin-top: 4px; }
.data-note { font-size: 0.76rem; color: var(--text-sub); text-align: center; margin-top: 20px; }

/* ===========================================================
   副作用・禁忌
   =========================================================== */
.sideeffect-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 34px; }
.se-card { border-radius: var(--radius-md); padding: 28px 26px; box-shadow: var(--shadow-card); }
.se-card.warn { background: #fff7f0; border-left: 5px solid #f0a868; }
.se-card.danger { background: #fdf0ef; border-left: 5px solid var(--pink-accent); }
.se-card h4 { font-size: 1.05rem; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.se-card.warn h4 { color: #c47a30; }
.se-card.danger h4 { color: #b5564f; }
.se-card p { font-size: 0.9rem; margin: 0; }

/* ===========================================================
   料金 5ステップフロー（番号付き）
   =========================================================== */
.flow5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 36px; }
.flow5-card { background: #fff; border-radius: var(--radius-md); padding: 26px 18px; box-shadow: var(--shadow-card); text-align: center; position: relative; }
.flow5-card .n { font-family: var(--font-accent); font-size: 1.6rem; font-weight: 700; color: var(--green-mid); }
.flow5-card .f-ico { font-size: 1.6rem; color: var(--green-deep); margin: 8px 0; }
.flow5-card h4 { font-size: 0.98rem; margin-bottom: 8px; }
.flow5-card p { font-size: 0.82rem; color: var(--text-sub); margin: 0 0 12px; }
.flow5-card .time { display: inline-block; background: var(--green-soft); color: #4a6b3e; font-size: 0.72rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }

/* ===========================================================
   料金 比較テーブル
   =========================================================== */
.price-table-wrap { overflow-x: auto; margin-top: 30px; }
.price-table { width: 100%; border-collapse: collapse; min-width: 560px; background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card); }
.price-table th, .price-table td { padding: 14px 16px; text-align: center; font-size: 0.9rem; border-bottom: 1px solid #ece6d8; }
.price-table thead th { background: var(--green-deep); color: #fff; font-weight: 700; }
.price-table tbody th { background: var(--cream-2); font-weight: 700; color: var(--green-deep); }
.price-table .month3 { color: var(--green-deep); font-weight: 700; }
.price-table .month3 small { display: block; font-weight: 400; color: var(--text-sub); font-size: 0.74rem; }
.price-table .off { color: var(--pink-accent); font-weight: 700; }

/* 用量説明 */
.dose-desc { margin-top: 14px; padding: 12px 16px; background: var(--cream); border-radius: var(--radius-sm); font-size: 0.9rem; color: var(--text-main); }

/* プランカード2枚 */
.plan-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.plan-card { background: #fff; border-radius: var(--radius-lg); padding: 36px 30px; box-shadow: var(--shadow-card); position: relative; border: 2px solid transparent; }
.plan-card.recommend { border-color: var(--green-mid); box-shadow: var(--shadow-soft); }
.plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--pink-accent); color: #fff; font-size: 0.78rem; font-weight: 700; padding: 5px 22px; border-radius: 999px; }
.plan-name { font-size: 1.2rem; text-align: center; margin-bottom: 14px; }
.plan-price { text-align: center; color: var(--green-deep); line-height: 1; }
.plan-price .mini { display: block; font-size: 0.8rem; color: var(--text-sub); margin-bottom: 4px; }
.plan-price .cur { font-size: 1.3rem; font-weight: 700; vertical-align: top; }
.plan-price .amt { font-family: var(--font-accent); font-size: 2.6rem; font-weight: 700; }
.plan-price .unit { font-size: 0.86rem; color: var(--text-sub); margin-left: 4px; }
.plan-off { text-align: center; color: var(--pink-accent); font-weight: 700; margin-top: 10px; }
.plan-total { text-align: center; font-size: 0.92rem; font-weight: 700; margin-top: 2px; }
.plan-tax { text-align: center; font-size: 0.78rem; color: var(--text-sub); margin-top: 6px; }
.plan-feat { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 10px; }
.plan-feat li { font-size: 0.9rem; display: flex; gap: 10px; align-items: flex-start; }
.plan-feat li i { color: var(--green-deep); margin-top: 4px; flex-shrink: 0; }
.btn-block { display: flex; width: 100%; justify-content: center; }

/* 無料バッジ列 */
.free-badges { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 28px; }
.free-badge { background: #fff; border-radius: var(--radius-md); padding: 18px 26px; box-shadow: var(--shadow-card); text-align: center; min-width: 180px; }
.free-badge .top { font-weight: 700; color: var(--green-deep); }
.free-badge .bottom { font-size: 0.8rem; color: var(--text-sub); margin-top: 4px; }

/* ===========================================================
   スクロールアニメ
   =========================================================== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===========================================================
   レスポンシブ
   =========================================================== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-chara { width: 160px; height: 160px; }
  .safety-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .medicine-grid { grid-template-columns: 1fr; gap: 28px; }
  .data-grid { grid-template-columns: 1fr 1fr; }
  .flow5 { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav { 
    position: fixed; top: 72px; right: 0;
    flex-direction: column; align-items: flex-start;
    background: #fff; width: 70%; height: calc(100vh - 72px);
    padding: 30px; gap: 22px;
    transform: translateX(100%); transition: transform 0.3s;
    box-shadow: -8px 0 24px rgba(0,0,0,0.08);
  }
  .nav.open { transform: translateX(0); }
  .nav-toggle { display: block; }
  .worry-grid, .feature-grid, .flow-grid, .voice-grid { grid-template-columns: 1fr; }
  .trust-bar { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: none; }
  .trust-item:nth-child(1), .trust-item:nth-child(2) { border-bottom: 1px solid #f0ece2; }
  .footer-grid { grid-template-columns: 1fr; }
  .result-detail { grid-template-columns: 1fr; }
  .legal { padding: 30px 22px; }
  .section { padding: 64px 0; }
  .about-points { grid-template-columns: 1fr; }
  .mechanism-grid { grid-template-columns: 1fr; }
  .data-grid { grid-template-columns: 1fr 1fr; }
  .sideeffect-grid { grid-template-columns: 1fr; }
  .flow5 { grid-template-columns: 1fr 1fr; }
  .char-profile .pf-label { flex-basis: 70px; }
  .med-title { font-size: 1.25rem; }
  .plan-cards { grid-template-columns: 1fr; gap: 30px; }
}

/* ===========================================================
   スマホ用 固定リッチメニュー（画面下）
   =========================================================== */
.mobile-bar {
  display: none; /* PCでは非表示 */
}
@media (max-width: 768px) {
  .mobile-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 900;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 -6px 28px rgba(0,0,0,0.12);
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
    gap: 8px;
    border-top: none;
    border-radius: 24px 24px 0 0;
  }

  .mobile-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 6px;
    border-radius: 18px;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #fff;
    line-height: 1.2;
    text-align: center;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    position: relative;
    overflow: hidden;
  }
  .mobile-bar a::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.12);
    opacity: 0;
    border-radius: inherit;
    transition: opacity 0.18s;
  }
  .mobile-bar a:active {
    transform: scale(0.94);
  }
  .mobile-bar a:active::after {
    opacity: 1;
  }

  /* アイコンエリア */
  .mobile-bar a i {
    font-size: 1.5rem;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.18));
  }

  /* ラベルテキスト */
  .mobile-bar a span {
    display: block;
  }

  /* LINE追加 */
  .mobile-bar .mb-line {
    background: linear-gradient(145deg, #2cd45a, #06c755);
    box-shadow: 0 4px 16px rgba(6,199,85,0.38);
  }

  /* 料金表 */
  .mobile-bar .mb-price {
    background: linear-gradient(145deg, #82c16e, #6fae5e);
    box-shadow: 0 4px 16px rgba(111,174,94,0.38);
  }

  /* 電話予約 */
  .mobile-bar .mb-tel {
    background: linear-gradient(145deg, #f5bdb8, #f3a9a3);
    box-shadow: 0 4px 16px rgba(243,169,163,0.40);
  }

  /* メニュー分の余白を本文末尾に確保 */
  body { padding-bottom: 90px; }
}
