@charset "UTF-8";
/* =========================================================
   AGAクリニック ランキング・比較LP
   参考: aga-hikaku-plaza 系 ランキングLP を PRO MAX で再設計
   方針: ネイビー基調 × ティール × ゴールド(星)。赤はCTA一点に集約。
========================================================= */

*, *::before, *::after { box-sizing: border-box; }

:root {
  /* color */
  --navy:      #023b6f;
  --navy-2:    #0a5394;
  --navy-ink:  #06243f;
  --teal:      #1f97b0;
  --teal-soft: #e8f5f8;
  --ink:       #1d2a33;
  --muted:     #5d6b75;
  --line:      #dde5ea;
  --bg:        #ffffff;
  --bg-soft:   #f3f7f9;
  --gold:      #f5b50a;
  --good:      #1f9d57;
  --cta-a:     #ff7a18;
  --cta-b:     #f5410e;
  --cta-sh:    #b62a02;
  /* spacing (4px grid) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px;
  --maxw: 760px;
  --radius: 12px;
  --shadow: 0 6px 22px -10px rgba(6, 36, 63, .35);
  --font: "Hiragino Kaku Gothic ProN","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,sans-serif;
}

html { font-size: 62.5%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.6rem;          /* 16px 最低 */
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg-soft);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }

.shell { width: 100%; max-width: var(--maxw); margin: 0 auto; background: var(--bg); box-shadow: 0 0 40px rgba(6,36,63,.08); }
.pad { padding-left: var(--s4); padding-right: var(--s4); }
.section { padding-top: var(--s7); padding-bottom: var(--s7); }
.center { text-align: center; }
.mark { background: linear-gradient(transparent 58%, #ffe27a 58%); padding: 0 .1em; font-weight: 800; }
.accent { color: var(--cta-b); font-weight: 800; }
.tnum { font-feature-settings: "tnum"; }

/* ---------- 見出し ---------- */
.eyebrow {
  display: inline-block;
  margin-bottom: var(--s2);
  color: var(--teal);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: .18em;
}
.h-sec {
  margin: 0 0 var(--s2);
  font-size: clamp(2.0rem, 5.4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -.01em;
  color: var(--navy-ink);
}
.sub-sec { margin: 0 auto var(--s5); max-width: 34em; color: var(--muted); font-size: 1.45rem; }

/* =========================================================
   ヘッダー（sticky）
========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__in {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto; height: 56px; padding: 0 var(--s4);
}
.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand b { font-size: 1.6rem; font-weight: 800; color: var(--navy); letter-spacing: .01em; }
.brand small { font-size: 1.0rem; color: var(--teal); font-weight: 700; }
.brand-cta {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
  font-size: 1.3rem; font-weight: 800; color: #fff;
  background: linear-gradient(180deg, var(--cta-a), var(--cta-b));
  border-radius: 999px;
}
.pr-bar { padding: var(--s2) var(--s4); background: var(--navy-ink); color: #b9c9d8; font-size: 1.15rem; text-align: center; }
.pr-bar a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

/* =========================================================
   CTA ボタン
========================================================= */
.btn-cv {
  position: relative; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2px;
  width: 100%; max-width: 460px; min-height: 60px;
  margin: var(--s4) auto 0; padding: 12px 44px 12px 20px;
  color: #fff; font-weight: 800; line-height: 1.25; text-align: center;
  font-size: clamp(1.7rem, 4.6vw, 2.0rem);
  background: linear-gradient(180deg, var(--cta-a), var(--cta-b));
  border: none; border-radius: 999px;
  box-shadow: 0 6px 0 var(--cta-sh), 0 14px 24px -8px rgba(182,42,2,.5);
  cursor: pointer; overflow: hidden;
  transition: transform .12s ease, box-shadow .12s ease, filter .2s ease;
}
.btn-cv small { font-size: .62em; font-weight: 700; opacity: .95; }
.btn-cv::after {
  content: "›"; position: absolute; right: 18px; top: 50%;
  width: 26px; height: 26px; margin-top: -13px;
  display: grid; place-items: center; color: var(--cta-b);
  background: #fff; border-radius: 50%; font-size: 1.6rem; font-weight: 900;
}
.btn-cv:hover { filter: brightness(1.04); }
.btn-cv:active { transform: translateY(6px); box-shadow: 0 0 0 var(--cta-sh), 0 6px 14px -6px rgba(182,42,2,.5); }
.btn-cv::before {
  content: ""; position: absolute; top: -120%; left: 0; width: 22px; height: 340%;
  background: rgba(255,255,255,.55); transform: rotate(25deg);
  animation: shine 4s ease-in-out infinite;
}
@keyframes shine { 0%,60% { left: -30%; } 78% { left: 120%; } 100% { left: 120%; } }
@media (prefers-reduced-motion: reduce) { .btn-cv::before { animation: none; display: none; } }
.cta-note { margin: var(--s2) 0 0; color: var(--muted); font-size: 1.15rem; text-align: center; }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 18px; color: var(--navy); font-weight: 800; font-size: 1.35rem;
  background: #fff; border: 2px solid var(--navy); border-radius: 999px;
}

/* =========================================================
   HERO
========================================================= */
.hero { background: linear-gradient(170deg, var(--teal-soft) 0%, #ffffff 62%); }
.hero__in { display: grid; gap: var(--s5); padding-top: var(--s6); padding-bottom: var(--s6); }
.hero h1 {
  margin: 0; font-size: clamp(2.5rem, 7.4vw, 3.5rem); font-weight: 800;
  line-height: 1.28; letter-spacing: -.02em; color: var(--navy-ink);
}
.hero__lead { margin: var(--s3) 0 0; color: var(--muted); font-size: 1.5rem; }
.hero__trust { display: flex; gap: var(--s2); margin: var(--s4) 0 0; padding: 0; list-style: none; }
.hero__trust li {
  flex: 1; padding: var(--s3) var(--s2); text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow);
}
.hero__trust b { display: block; font-size: 2.0rem; font-weight: 800; color: var(--navy); line-height: 1.1; }
.hero__trust span { font-size: 1.1rem; color: var(--muted); }
.hero__media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.hero__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 26%; }
@media (min-width: 720px) {
  .hero__in { grid-template-columns: 1.05fr .95fr; align-items: center; }
  .hero__media img { aspect-ratio: 4 / 5; }
}

/* =========================================================
   セクションタイトルバー（画像見出しの代替）
========================================================= */
.titlebar {
  display: flex; align-items: center; gap: var(--s3); justify-content: center;
  margin: 0 calc(-1 * var(--s4)) var(--s5);
  padding: var(--s4) var(--s4);
  background: linear-gradient(180deg, var(--navy), var(--navy-ink));
  color: #fff; text-align: center;
}
.titlebar h2 { margin: 0; font-size: clamp(1.9rem, 5vw, 2.5rem); font-weight: 800; line-height: 1.3; }
.titlebar .accent { color: #ffd23f; }

/* =========================================================
   比較表
========================================================= */
.compare { background: var(--bg-soft); }
.scroller { position: relative; }
.scroller__hint {
  position: absolute; top: 8px; right: 10px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; font-size: 1.1rem; font-weight: 700; color: #fff;
  background: rgba(2,59,111,.82); border-radius: 999px; pointer-events: none;
  animation: hintpulse 2.4s ease-in-out infinite;
}
@keyframes hintpulse { 0%,100% { transform: translateX(0); opacity: .9; } 50% { transform: translateX(-6px); opacity: 1; } }
.scroller::after {
  content: ""; position: absolute; top: 0; right: 0; width: 36px; height: 100%;
  background: linear-gradient(to left, rgba(2,59,111,.16), transparent); pointer-events: none;
}
.ctable-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: var(--s2); }
.ctable { border-collapse: separate; border-spacing: 0; width: max-content; min-width: 100%; font-size: 1.3rem; background: #fff; }
.ctable th, .ctable td { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); padding: 10px 8px; text-align: center; vertical-align: middle; }
.ctable thead th { position: sticky; top: 0; }
.ctable .rowhead {
  position: sticky; left: 0; z-index: 2; min-width: 86px; max-width: 96px;
  background: var(--navy); color: #fff; font-weight: 800; font-size: 1.2rem; text-align: left; padding-left: 10px;
}
.ctable thead .rowhead { background: var(--navy-ink); }
.ctable__clinic { min-width: 132px; background: #fff; }
.ctable__clinic.is-top { background: #fffbe9; }
.ctable .rank-pill {
  display: inline-block; margin-bottom: 6px; padding: 2px 10px; border-radius: 999px;
  font-size: 1.1rem; font-weight: 800; color: #5a4500; background: linear-gradient(180deg,#ffe17a,#f5b50a);
}
.ctable .logo {
  display: grid; place-items: center; height: 46px; margin: 0 auto 4px;
  font-weight: 800; color: var(--navy); background: var(--teal-soft); border-radius: 8px; font-size: 1.25rem;
}
.ctable .price { font-weight: 800; color: var(--navy-ink); }
.ctable .price .big { font-size: 1.7rem; color: var(--cta-b); }
.ctable .yes { color: var(--good); font-weight: 800; }
.ctable .muted { color: var(--muted); font-size: 1.1rem; }
.ctable td .mini-cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; width: 100%; max-width: 130px; padding: 6px 10px; line-height: 1.2;
  color: #fff; font-weight: 800; font-size: 1.25rem;
  background: linear-gradient(180deg, var(--cta-a), var(--cta-b)); border-radius: 8px;
  box-shadow: 0 3px 0 var(--cta-sh);
}
.compare__note { margin: var(--s3) 0 0; color: var(--muted); font-size: 1.15rem; }

/* =========================================================
   ランキングカード
========================================================= */
.rank-list { display: grid; gap: var(--s6); }
.rcard { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.rcard.is-1 { border: 2px solid var(--gold); }
.rcard__head { display: flex; align-items: center; gap: var(--s3); padding: var(--s4); color: #fff; background: linear-gradient(180deg, var(--navy), var(--navy-ink)); }
.rcard.is-1 .rcard__head { background: linear-gradient(180deg, #0a5394, var(--navy-ink)); }
.badge {
  flex: 0 0 auto; display: grid; place-items: center; width: 48px; height: 48px;
  font-weight: 900; font-size: 1.8rem; color: #5a4500; border-radius: 50%;
  background: linear-gradient(180deg,#ffe98a,#f5b50a); box-shadow: inset 0 -3px 0 rgba(0,0,0,.12);
}
.badge.s { background: linear-gradient(180deg,#eef2f5,#c2ccd4); color: #41525e; }
.badge.b { background: linear-gradient(180deg,#f3cBa0,#cd8b4e); color: #5a3413; }
.rcard__name { margin: 0; font-size: clamp(1.8rem, 4.6vw, 2.2rem); font-weight: 800; line-height: 1.2; }
.rcard__body { padding: var(--s4); }
.score { display: flex; align-items: center; gap: var(--s2); margin-bottom: var(--s3); }
.stars { --p: 100%; position: relative; font-size: 1.9rem; line-height: 1; letter-spacing: 2px; }
.stars::before { content: "★★★★★"; color: var(--line); }
.stars::after { content: "★★★★★"; color: var(--gold); position: absolute; inset: 0; width: var(--p); overflow: hidden; }
.score b { font-size: 1.7rem; color: var(--navy); }
.score .lbl { font-size: 1.25rem; color: var(--muted); font-weight: 700; }
.tagline { margin: 0 0 var(--s4); font-size: 1.55rem; font-weight: 800; color: var(--navy-ink); }

.specs { width: 100%; border-collapse: collapse; margin: 0 0 var(--s4); font-size: 1.3rem; }
.specs th, .specs td { border: 1px solid var(--line); padding: 9px 10px; text-align: left; }
.specs th { width: 38%; background: var(--bg-soft); font-weight: 800; color: var(--navy-ink); }
.specs .hl { color: var(--cta-b); font-weight: 800; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 var(--s4); padding: 0; list-style: none; }
.tags li { padding: 4px 12px; font-size: 1.2rem; font-weight: 700; color: var(--navy); background: var(--teal-soft); border: 1px solid #cfe7ee; border-radius: 999px; }

.points { margin: 0 0 var(--s4); }
.points__t { display: inline-block; margin: 0 0 var(--s2); padding: 4px 14px; font-size: 1.35rem; font-weight: 800; color: #fff; background: var(--teal); border-radius: 8px; }
.point { padding: var(--s3) 0; border-bottom: 1px dashed var(--line); }
.point:last-child { border-bottom: none; }
.point h4 { margin: 0 0 4px; font-size: 1.45rem; font-weight: 800; color: var(--navy-ink); }
.point p { margin: 0; font-size: 1.35rem; color: var(--ink); }

/* レビュー */
.reviews { margin: var(--s4) 0 0; }
.reviews__t { margin: 0 0 var(--s3); font-size: 1.45rem; font-weight: 800; color: var(--navy-ink); text-align: center; }
.review-row { display: grid; gap: var(--s3); grid-auto-flow: column; grid-auto-columns: 86%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--s2); -webkit-overflow-scrolling: touch; }
.review { scroll-snap-align: start; padding: var(--s3); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; }
.review__top { display: flex; align-items: center; gap: var(--s2); margin-bottom: var(--s2); }
.review__avatar { width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #9fb4c2 0 40%, transparent 41%), linear-gradient(#cdd8e0,#aebdc8); flex: 0 0 auto; }
.review__prof { font-size: 1.25rem; font-weight: 800; color: var(--navy-ink); }
.review .stars { font-size: 1.4rem; }
.review p { margin: var(--s2) 0 0; font-size: 1.3rem; line-height: 1.7; }
.review small { display: block; margin-top: 6px; color: var(--muted); font-size: 1.0rem; }
@media (min-width: 720px) {
  .review-row { grid-auto-flow: row; grid-template-columns: repeat(3,1fr); grid-auto-columns: auto; overflow: visible; }
}

/* =========================================================
   緊急訴求 / 早めに
========================================================= */
.urge { background: linear-gradient(180deg, var(--navy), var(--navy-ink)); color: #fff; }
.urge .h-sec { color: #fff; }
.urge p { margin: 0 auto; max-width: 36em; color: #d7e3ee; font-size: 1.45rem; }
.urge .mark { color: #06243f; }

/* 選び方3ポイント */
.choose__grid { display: grid; gap: var(--s4); }
.choose__card { padding: var(--s5) var(--s4); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); text-align: center; }
.choose__no { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: var(--s3); font-size: 1.3rem; font-weight: 800; color: #fff; background: var(--teal); border-radius: 50%; }
.choose__no b { font-size: 2.0rem; }
.choose__card h3 { margin: 0 0 var(--s2); font-size: 1.6rem; font-weight: 800; color: var(--navy-ink); }
.choose__card p { margin: 0; font-size: 1.35rem; color: var(--muted); }
@media (min-width: 720px) { .choose__grid { grid-template-columns: repeat(3,1fr); } }

/* =========================================================
   FAQ（details / キーボード対応）
========================================================= */
.faq { background: var(--bg-soft); }
.faq__list { display: grid; gap: var(--s2); }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.faq__item summary {
  position: relative; list-style: none; cursor: pointer;
  min-height: 52px; display: flex; align-items: center;
  padding: var(--s3) 52px var(--s3) var(--s4);
  font-size: 1.45rem; font-weight: 800; color: var(--navy-ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before { content: "Q"; margin-right: 10px; color: var(--teal); font-weight: 900; }
.faq__item summary::after {
  content: "＋"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; display: grid; place-items: center;
  color: #fff; background: var(--teal); border-radius: 50%; font-size: 1.3rem; transition: transform .2s ease;
}
.faq__item[open] summary::after { content: "−"; }
.faq__answer { padding: 0 var(--s4) var(--s4) calc(var(--s4) + 24px); font-size: 1.35rem; color: var(--ink); }

/* =========================================================
   最終CTA / フッター
========================================================= */
.final { background: linear-gradient(180deg, var(--navy-2), var(--navy-ink)); color: #fff; text-align: center; }
.final h2 { margin: 0 0 var(--s3); font-size: clamp(2.0rem, 5.6vw, 2.8rem); font-weight: 800; line-height: 1.35; }
.final p { margin: 0 auto var(--s4); max-width: 30em; color: #cfe0f0; font-size: 1.4rem; }
.final__benefits { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 0 0 var(--s4); padding: 0; list-style: none; }
.final__benefits li { position: relative; padding-left: 22px; font-size: 1.35rem; font-weight: 700; }
.final__benefits li::before { content: "✓"; position: absolute; left: 0; color: #5fd6a0; font-weight: 900; }

.site-footer { background: #04182b; color: #91a4b5; padding: var(--s6) var(--s4); text-align: center; font-size: 1.25rem; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-bottom: var(--s3); }
.site-footer a { color: #cdd9e3; text-decoration: underline; text-underline-offset: 2px; }
.site-footer a:hover { color: #fff; }
.site-footer .disc { max-width: 40em; margin: 0 auto var(--s3); font-size: 1.1rem; line-height: 1.7; color: #7d909f; }

/* =========================================================
   モバイル固定CTAバー
========================================================= */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; gap: var(--s2); align-items: center;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(4,24,43,.96); backdrop-filter: blur(6px);
  transform: translateY(110%); transition: transform .3s ease;
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta p { margin: 0; flex: 1; color: #fff; font-size: 1.2rem; font-weight: 700; line-height: 1.3; }
.sticky-cta .btn-cv { margin: 0; width: auto; max-width: none; flex: 0 0 auto; min-height: 50px; padding: 8px 40px 8px 18px; font-size: 1.5rem; }
.sticky-cta .btn-cv::before { display: none; }
@media (min-width: 720px) { .sticky-cta { display: none; } }
@media (max-width: 719px) { body { padding-bottom: 76px; } }

/* =========================================================
   サブページ（policy / disclaimer / operator）
========================================================= */
.doc { max-width: var(--maxw); margin: 0 auto; background: #fff; padding: var(--s6) var(--s4) var(--s8); }
.doc h1 { font-size: clamp(2.2rem,5vw,2.8rem); color: var(--navy-ink); margin: 0 0 6px; }
.doc .eyebrow { color: var(--teal); }
.doc .doc-lead { margin: 0 0 var(--s5); color: var(--muted); font-size: 1.35rem; }
.doc h2 { font-size: 1.7rem; color: var(--navy-ink); margin: var(--s6) 0 var(--s2); padding-left: 12px; border-left: 5px solid var(--teal); }
.doc p, .doc li { font-size: 1.4rem; line-height: 1.85; }
.doc table { width: 100%; border-collapse: collapse; margin: var(--s2) 0; }
.doc th, .doc td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; font-size: 1.35rem; vertical-align: top; }
.doc th { width: 32%; background: var(--bg-soft); font-weight: 800; color: var(--navy-ink); }
.doc .back { display: inline-block; margin-top: var(--s6); color: var(--navy); font-weight: 800; text-decoration: underline; }
