/* =====================================================================
   治療院サイト「aqua-care-lp」テンプレ
   水色の曲線LP: やさしい導入 / 相談しやすさ / 女性にも選ばれやすい清潔感
   ===================================================================== */

:root {
  /* Hero 軽量化トークン (2026-05-08): 黒オーバーレイ廃止 + 写真主役。
     白文字を維持するため bottom 側だけ palette 色で fade、top は素の写真。 */
  --hero-overlay-warm: linear-gradient(180deg,
    rgba(75, 52, 40, 0.0) 0%,
    rgba(75, 52, 40, 0.18) 35%,
    rgba(75, 52, 40, 0.55) 100%);
  --hero-overlay-cool: linear-gradient(180deg,
    rgba(15, 23, 42, 0.0) 0%,
    rgba(15, 23, 42, 0.20) 35%,
    rgba(15, 23, 42, 0.58) 100%);
  --hero-overlay-soft: linear-gradient(180deg,
    rgba(31, 41, 55, 0.0) 0%,
    rgba(31, 41, 55, 0.18) 35%,
    rgba(31, 41, 55, 0.52) 100%);
  --hero-photo-filter: saturate(1.0) contrast(1.02);

  --c-primary: #0891b2;
  --c-primary-hover: #0e7490;
  --c-accent: #fb7185;
  --c-accent-deep: #e11d48;
  --c-ink: #164e63;
  --c-body: #334155;
  --c-muted: #64748b;
  --c-line: #ccecf1;
  --c-bg: #f8feff;
  --c-bg-muted: #ecfeff;
  --c-bg-band: #dff7fb;
  --c-panel: #ffffff;

  --radius: 8px;
  --shadow-sm: 0 2px 10px rgba(8, 145, 178, 0.08);
  --shadow-md: 0 18px 44px rgba(8, 145, 178, 0.16);

  --fs-hero: clamp(1.85rem, 5vw, 3.1rem);
  --fs-h2: clamp(1.45rem, 3.4vw, 2rem);
  --fs-h3: 1.125rem;

  --ff: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
        "Hiragino Sans", "Yu Gothic Medium", "Meiryo", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff);
  font-size: 17px;
  line-height: 1.75;
  color: var(--c-body);
  background: var(--c-bg);
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; }
a:hover { color: var(--c-primary-hover); text-decoration: underline; }
h1, h2, h3 { color: var(--c-ink); line-height: 1.38; margin: 0 0 0.65em; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; margin: 0 0 1em; }

.container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  background: rgba(248, 254, 255, 0.94);
  border-bottom: 1px solid rgba(204, 236, 241, 0.9);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.site-title {
  font-size: 1.08rem;
  margin: 0;
  color: var(--c-primary);
  font-weight: 900;
  letter-spacing: 0;
}
.site-header .tel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--c-line);
  color: var(--c-primary);
  font-weight: 900;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}
.site-header .tel::before {
  content: "TEL";
  margin-right: 7px;
  color: var(--c-accent-deep);
  font-size: 0.72rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 62px 0 54px;
  text-align: center;
  background:
    radial-gradient(circle at 16% 16%, rgba(251, 113, 133, 0.16), transparent 26%),
    linear-gradient(180deg, #ecfeff 0%, #ffffff 76%);
}
.hero::after {
  content: "";
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: -82px;
  height: 164px;
  border-radius: 50% 50% 0 0;
  background: #fff;
  z-index: 1;
}
.hero.has-photo {
  min-height: 650px;
  display: flex;
  align-items: center;
  background: #e3f8fb;
}
.hero-photo {
  position: absolute;
  left: 50%;
  bottom: 74px;
  width: min(780px, 88vw);
  height: min(390px, 42vw);
  min-height: 260px;
  object-fit: cover;
  object-position: 55% 50%;
  transform: translateX(-50%);
  z-index: 1;
  border-radius: 28px 28px 80px 80px;
  box-shadow: var(--shadow-md);
  border: 8px solid rgba(255, 255, 255, 0.88);
}
.hero.has-photo::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 36px;
  width: min(900px, 96vw);
  height: min(340px, 36vw);
  min-height: 230px;
  transform: translateX(-50%);
  z-index: 0;
  border-radius: 48% 52% 44% 56%;
  background: linear-gradient(135deg, #b6eef6, #fce7ef);
}
.hero .container {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-title {
  max-width: 760px;
  font-size: var(--fs-hero);
  font-weight: 900;
  color: var(--c-ink);
  letter-spacing: 0;
  margin-bottom: 0.42em;
}
.hero-sub {
  max-width: 690px;
  color: var(--c-body);
  font-weight: 700;
  margin-bottom: 1.15em;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--c-primary);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 15px;
  box-shadow: var(--shadow-sm);
}
.hero-tags {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
}
.hero-tags li {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--c-primary);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--c-line);
  font-size: 0.88rem;
  font-weight: 900;
}
.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(100%, 380px);
  margin: 24px auto 330px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 1rem;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
/* btn-primary: 上半分のピンク (#fb7185 + 白文字 = 2.69) で AA 未達だったため、
   グラデを廃止して deep crimson 単色にし、影もニュートラル化 */
.btn-primary {
  background: var(--c-accent-deep);
  color: #fff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.10);
}
.btn-primary:hover {
  color: #fff;
  background: #be123c;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.14);
}
.btn-secondary {
  background: #fff;
  color: var(--c-primary);
  border: 1.5px solid var(--c-primary);
}
.btn-secondary:hover {
  background: var(--c-bg-band);
  color: var(--c-primary);
}
.btn-link {
  color: var(--c-primary);
  font-weight: 900;
  display: inline-block;
  padding: 8px 0;
}

section {
  position: relative;
  padding: 64px 0;
  background: var(--c-bg);
}
section:nth-of-type(even) { background: var(--c-bg-muted); }
section h2 {
  font-size: var(--fs-h2);
  text-align: center;
  margin-bottom: 1.25em;
  position: relative;
  padding-bottom: 0.52em;
}
section h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  background: var(--c-accent);
  border-radius: 999px;
  margin: 0.55em auto 0;
}

.cta-panel {
  display: grid;
  gap: 22px;
  align-items: center;
  background: linear-gradient(135deg, #0891b2, #14b8a6);
  color: #fff;
  border-radius: 28px 28px 52px 52px;
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.cta-panel h2 { color: #fff; text-align: left; margin-bottom: 0.4em; padding-bottom: 0; }
.cta-panel h2::after { display: none; }
.cta-panel p { color: rgba(255, 255, 255, 0.9); margin: 0; }
.cta-actions { display: flex; flex-direction: column; gap: 10px; }

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.check-list li {
  position: relative;
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: 999px;
  padding: 15px 18px 15px 48px;
  color: var(--c-ink);
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--c-accent);
  box-shadow: inset 0 0 0 4px #fff;
}

.reason-grid, .voice-grid {
  display: grid;
  gap: 16px;
}
.reason-card, .voice-card, .profile-card, .menu-card, .menu-detail {
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: 24px 24px 40px 24px;
  box-shadow: var(--shadow-sm);
}
.reason-card {
  position: relative;
  padding: 26px 21px 23px;
  overflow: hidden;
}
.reason-card::before {
  content: "";
  position: absolute;
  right: -34px;
  top: -42px;
  width: 98px;
  height: 98px;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.14);
}
.reason-num {
  color: var(--c-accent-deep);
  font-weight: 900;
  font-size: 0.9rem;
  margin-bottom: 9px;
}
.reason-card p, .voice-card p { margin: 0; }
.lead-text {
  max-width: 780px;
  margin-inline: auto;
  color: var(--c-body);
  font-size: 1.02rem;
}
.compare-table {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}
.compare-table > div, .voice-card {
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: 24px;
  padding: 21px;
}
.compare-table h3, .voice-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--c-primary);
}

.info-list {
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: 24px;
  padding: 8px 18px;
  box-shadow: var(--shadow-sm);
  margin: 0;
}
.info-list > div {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 8px 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--c-line);
}
.info-list > div:last-child { border-bottom: 0; }
.info-list dt {
  color: var(--c-muted);
  font-size: 0.88rem;
  font-weight: 900;
  padding-top: 2px;
}
.info-list dd { margin: 0; color: var(--c-ink); }
.info-list .hours-row { display: flex; justify-content: space-between; gap: 8px; }
.info-list .hours-row + .hours-row { margin-top: 4px; }
.info-list .hours-label { color: var(--c-muted); font-size: 0.9rem; min-width: 3em; }

.menu-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2em;
  display: grid;
  gap: 16px;
}
.menu-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 12px;
  align-items: center;
}
.menu-card img {
  width: 116px;
  height: 116px;
  object-fit: cover;
}
.menu-card .body { padding: 12px 14px 12px 0; }
.menu-card h3 { font-size: var(--fs-h3); margin: 0 0 4px; }
.menu-card .price {
  font-size: 0.95rem;
  color: var(--c-accent-deep);
  font-weight: 900;
  margin: 0 0 6px;
}
.menu-card .desc {
  font-size: 0.92rem;
  color: var(--c-muted);
  margin: 0;
  line-height: 1.6;
}
.menu-card.no-image { grid-template-columns: 1fr; }
.menu-card.no-image .body { padding: 16px; }

.profile-card { padding: 24px; }
.profile-portrait {
  width: 128px;
  height: 128px;
  border-radius: 38% 62% 52% 48%;
  object-fit: cover;
  margin: 0 auto 14px;
  border: 5px solid var(--c-bg-band);
}
.profile-card .name {
  text-align: center;
  font-weight: 900;
  font-size: 1.08rem;
  margin-bottom: 4px;
  color: var(--c-ink);
}
.profile-card .qualifications {
  text-align: center;
  font-size: 0.85rem;
  color: var(--c-muted);
  margin-bottom: 14px;
  list-style: none;
  padding: 0;
}
.profile-card .qualifications li {
  display: inline-block;
  padding: 3px 9px;
  background: var(--c-bg-band);
  color: var(--c-primary);
  border-radius: 999px;
  margin: 2px;
  font-weight: 900;
}
.profile-card .career { font-size: 0.94rem; color: var(--c-muted); margin-bottom: 1em; }
.profile-card .message { font-size: 0.96rem; color: var(--c-body); }

.links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.links-list a {
  display: block;
  padding: 15px 16px;
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: 999px;
  color: var(--c-primary);
  font-weight: 900;
  box-shadow: var(--shadow-sm);
}
.links-list a:hover { background: var(--c-bg-band); text-decoration: none; }
.map-embed {
  aspect-ratio: 16 / 11;
  width: 100%;
  border: 1px solid var(--c-line);
  border-radius: 24px;
  overflow: hidden;
  margin-top: 12px;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

.photos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.photos-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 24px;
}

.flow-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.flow-list li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: 24px;
  padding: 15px 16px;
  box-shadow: var(--shadow-sm);
}
.flow-list span {
  color: #fff;
  background: var(--c-primary);
  border-radius: 999px;
  font-weight: 900;
  min-width: 2.6em;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}
.faq-list { display: grid; gap: 10px; }
.faq-list details {
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: 24px;
  padding: 15px 16px;
}
.faq-list summary { cursor: pointer; font-weight: 900; color: var(--c-ink); }
.faq-list p { margin: 10px 0 0; color: var(--c-body); }
.note-text { margin-top: 12px; font-size: 0.82rem; color: var(--c-muted); }
.center-link { text-align: center; margin-top: 20px; }

.notice-box {
  background: #fff;
  border: 1px solid rgba(251, 113, 133, 0.42);
  border-left-width: 5px;
  border-radius: 24px;
  padding: 17px 18px;
  box-shadow: var(--shadow-sm);
}
.notice-box .label {
  color: var(--c-accent-deep);
  font-weight: 900;
  font-size: 0.88rem;
  margin-bottom: 4px;
}
.notice-box p { margin: 0; white-space: pre-wrap; }

.site-footer {
  background: #164e63;
  color: #d9f6fb;
  padding: 34px 0 26px;
  text-align: center;
  font-size: 0.9rem;
}
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 0.5em; }
.site-footer .footer-meta { margin-bottom: 12px; }
.site-footer .tel { color: #fecdd3; font-weight: 900; }
.site-footer .copy { margin-top: 18px; font-size: 0.8rem; color: #a5dbe4; }

.menu-detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 24px;
}
.menu-detail { overflow: hidden; }
.menu-detail img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.menu-detail .body { padding: 18px 20px; }
.menu-detail h3 { font-size: 1.18rem; margin: 0 0 6px; }
.menu-detail .meta { color: var(--c-accent-deep); font-weight: 900; margin-bottom: 10px; }
.menu-detail .desc { margin: 0; }
.back-home {
  display: inline-block;
  margin: 24px 0 8px;
  color: var(--c-muted);
  font-size: 0.9rem;
}
.back-home:hover { color: var(--c-primary); }

.section-reviews-cta { padding: 64px 0; background: var(--c-bg-muted); }
.reviews-cta {
  max-width: 620px;
  margin: 0 auto;
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: 28px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.reviews-cta h2 {
  font-size: 1.28rem;
  margin: 0 0 .6em;
  color: var(--c-ink);
}
.reviews-cta__message {
  color: var(--c-muted);
  margin: 0 0 1.4em;
  line-height: 1.75;
  font-size: 0.96rem;
}
.reviews-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 28px;
  border-radius: 999px;
  background: var(--c-primary);
  color: #fff !important;
  font-weight: 900;
  font-size: 0.96rem;
  text-decoration: none;
  transition: background .15s, transform .15s;
}
.reviews-cta__button:hover { background: var(--c-primary-hover); transform: translateY(-1px); }
.reviews-cta__thanks { margin: 1.2em 0 0; font-size: .85rem; color: var(--c-muted); }

/* fixed-cta — 旧版は dark 背景の中に白ピルを入れる「二重ボタン」構造で
   ヒーロー CTA とぶつかっていた。背景透明の独立ピル群に変更し、
   primary-ink で文字色を自動最適化 */
.fixed-cta {
  position: fixed; left: 12px; right: 12px; z-index: 9999;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  display: grid; grid-auto-flow: column; gap: 10px;
  padding: 0; background: transparent; border-radius: 0; box-shadow: none;
  pointer-events: none;
}
.fixed-cta a {
  pointer-events: auto;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 12px 14px;
  border-radius: 999px;
  background: var(--c-primary); color: var(--c-primary-ink, #fff);
  font-weight: 800; font-size: 0.92rem; text-decoration: none;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.22);
  backdrop-filter: blur(8px);
}
.fixed-cta a:hover { color: var(--c-primary-ink, #fff); text-decoration: none; }
/* 固定 CTA + iOS Safari 下部 UI ぶん下にスペースを確保 */
body { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }

.floating-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 8px;
  padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  gap: 8px;
  border-top: 1px solid var(--c-line);
  background: rgba(248, 254, 255, .96);
  backdrop-filter: blur(8px);
  box-shadow: 0 -4px 16px rgba(22, 78, 99, .12);
}
.floating-cta__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 8px 4px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 900;
}
.floating-cta__btn:hover { filter: brightness(1.06); text-decoration: none; }
.floating-cta--colored .floating-cta__btn--phone { background: var(--c-primary); color: #fff; }
.floating-cta--colored .floating-cta__btn--line { background: #06c755; color: #fff; }
.floating-cta--colored .floating-cta__btn--reservation { background: var(--c-accent); color: #fff; }
.floating-cta--simple .floating-cta__btn { background: var(--c-panel); color: var(--c-primary); border: 1px solid var(--c-line); }
.floating-cta--simple .floating-cta__btn--line { color: #06c755; }

@media (min-width: 720px) {
  .hero { padding: 78px 0 70px; }
  section { padding: 74px 0; }
  .hero-cta { flex-direction: row; justify-content: center; width: auto; max-width: none; }
  .btn { min-width: 210px; }
  .check-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reason-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .voice-grid, .compare-table { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-panel { grid-template-columns: 1fr auto; }
  .cta-actions { min-width: 270px; }
  .menu-card { grid-template-columns: 168px 1fr; }
  .menu-card img { width: 168px; height: 142px; }
  .photos-grid { grid-template-columns: repeat(3, 1fr); }
  .info-list > div { grid-template-columns: 128px 1fr; }
}

@media (min-width: 960px) {
  .fixed-cta { display: none; }
  body { padding-bottom: 0; }
}

@media (max-width: 720px) {
  .site-header .container { min-height: 62px; }
  .site-header .tel { font-size: 0.88rem; padding-inline: 10px; }
  .hero.has-photo { min-height: 620px; }
  .hero-photo {
    bottom: 70px;
    width: min(94vw, 560px);
    height: 250px;
    min-height: 250px;
    border-radius: 22px 22px 54px 54px;
    border-width: 6px;
  }
  .hero.has-photo::before {
    bottom: 42px;
    width: 112vw;
    height: 220px;
    min-height: 220px;
  }
  .hero-cta { margin-bottom: 300px; }
  .menu-card { grid-template-columns: 1fr; }
  .menu-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; }
  .menu-card .body { padding: 16px; }
  .info-list > div { grid-template-columns: 1fr; gap: 2px; }
  .check-list li { border-radius: 24px; }
  .floating-cta { display: flex; }
  body { padding-bottom: 72px; }
}
