@charset "utf-8";

/* =========================================================
   整心整体院 LP  -  mobile first (375px〜430px 最適化)
   ========================================================= */

:root {
  --navy: #10305c;
  --navy-deep: #12325f;
  --navy-link: #1d5599;
  --gold: #c7a45a;
  --gold-dark: #b8933f;
  --red: #c8102e;
  --text: #1d2b3a;
  --text-sub: #4c5f73;
  --text-mute: #6b7d90;
  --bg-blue: #eaf3fb;
  --bg-blue-light: #f2f8fd;
  --shadow-card: 0 2px 10px rgba(16, 48, 92, .07);
  --page-width: 430px;
  --serif: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #e8eef4;
}

body {
  font-family: var(--sans);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: #123a6d; text-decoration: none; }
a:hover { color: var(--navy-link); }

.page {
  max-width: var(--page-width);
  margin: 0 auto;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.section { padding: 26px 20px 28px; }
.section--white { background: #fff; }
.section--blue { background: linear-gradient(180deg, var(--bg-blue-light) 0%, var(--bg-blue) 100%); }
.section--pale { background: #f7fbfe; }

.heading {
  font-family: var(--serif);
  margin: 0 0 16px;
  font-size: 23px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .02em;
}
.heading em { font-style: normal; color: var(--navy-link); }
.heading .num { font-size: 28px; color: var(--navy-link); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--bg-blue) 0%, #f5fafd 60%, #fff 100%);
  padding-bottom: 24px;
}
.hero__media { position: relative; height: 340px; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.hero__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(255,255,255,.72) 0%, rgba(255,255,255,.18) 34%,
    rgba(255,255,255,.1) 55%, rgba(240,248,253,.92) 88%, #f2f9fd 100%);
}
.hero__head {
  position: absolute; top: 14px; left: 16px; right: 16px;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
}
.hero__logo { width: 134px; height: auto; mix-blend-mode: multiply; }
.hero__tagline { text-align: right; font-size: 10.5px; line-height: 1.6; color: #3d5f85; letter-spacing: .04em; }
.hero__body { padding: 0 20px; margin-top: -78px; position: relative; }

.hero__title {
  font-family: var(--serif);
  margin: 0;
  font-size: 33px;
  line-height: 1.38;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .02em;
  text-shadow: 0 1px 10px rgba(255,255,255,.9);
}
.hero__title .gold { color: var(--gold); }
.hero__lead { margin: 10px 0 0; font-size: 13.5px; color: #3c5c80; letter-spacing: .04em; }

/* ---------- 金バッジ ---------- */
.badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.badge {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(145deg, #efdcae 0%, var(--gold) 38%, #a3822f 62%, #f0e0b8 100%);
  box-shadow: 0 8px 18px rgba(16, 48, 92, .16);
}
.badge__inner {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: linear-gradient(180deg, #fff 0%, #fdf9f0 100%);
  box-shadow: inset 0 0 0 1px rgba(183,147,63,.45), inset 0 6px 14px rgba(255,255,255,.9);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.badge__rule { display: flex; align-items: center; gap: 4px; }
.badge__rule::before,
.badge__rule::after { content: ""; width: 12px; height: 1px; background: linear-gradient(90deg, rgba(199,164,90,0), var(--gold)); }
.badge__rule::after { background: linear-gradient(270deg, rgba(199,164,90,0), var(--gold)); }
.badge__diamond { width: 6px; height: 6px; background: var(--gold-dark); transform: rotate(45deg); }
.badge__label {
  font-family: var(--serif);
  font-size: 13.5px; font-weight: 700; color: var(--navy);
  text-align: center; line-height: 1.4; letter-spacing: .05em;
}
.badge__label--sm { font-size: 12.5px; line-height: 1.45; }
.badge__label .big { font-size: 17px; }

/* ---------- 料金カード ---------- */
.price {
  border: 2px solid var(--gold);
  border-radius: 10px;
  background: #fffdf8;
  padding: 16px 18px 18px;
}
.price__course { font-family: var(--serif); font-size: 23px; font-weight: 700; color: var(--navy); letter-spacing: .02em; }
.price__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.price__regular { font-size: 14px; color: #5a6b7d; white-space: nowrap; }
.price__regular s { font-family: var(--serif); font-size: 17px; color: #3a4a5c; }
.price__arrow { font-size: 18px; color: #9aa7b4; }
.price__first { text-align: right; }
.price__tag {
  display: inline-block;
  background: var(--red); color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 2px 8px; border-radius: 3px; letter-spacing: .06em;
}
.price__amount { display: flex; align-items: baseline; justify-content: flex-end; gap: 3px; }
.price__num { font-family: var(--serif); font-size: 36px; font-weight: 700; color: var(--red); line-height: 1.05; }
.price__yen { font-size: 17px; font-weight: 700; color: var(--red); line-height: 1; }
.price__tax { align-self: flex-start; font-size: 9px; line-height: 1.4; color: var(--red); white-space: nowrap; }

/* ---------- CTA ボタン（ぷるぷる＋キラリ） ---------- */
.cta {
  margin-top: 18px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  height: 66px; border-radius: 8px;
  background: linear-gradient(180deg, #1d4c8a 0%, var(--navy-deep) 100%);
  box-shadow: 0 4px 12px rgba(16, 48, 92, .28);
  color: #fff;
  position: relative; overflow: hidden;
  will-change: transform;
  animation: ctaPulse 2s ease-in-out infinite;
}
.cta:hover { filter: brightness(1.08); color: #fff; }
.cta::before {
  content: "";
  position: absolute; top: -50%; left: -60%;
  width: 38%; height: 200%;
  background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.55) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-20deg);
  pointer-events: none;
  animation: ctaShine .9s ease-in-out infinite;
  animation-play-state: paused;
}
.cta:hover::before { animation-play-state: running; }
.cta__main { font-family: var(--serif); font-size: 20px; font-weight: 700; letter-spacing: .04em; color: #fff; }
.cta__sub { font-size: 10.5px; letter-spacing: .06em; color: #cfe0f2; }

@keyframes ctaPulse {
  0%, 100% { transform: scale(1); }
  45%      { transform: scale(1.035); }
  60%      { transform: scale(.995); }
}
@keyframes ctaShine {
  0%   { left: -60%; }
  100% { left: 130%; }
}
@media (prefers-reduced-motion: reduce) {
  .cta, .cta::before { animation: none !important; }
}

/* ---------- お悩み ---------- */
.stack { display: flex; flex-direction: column; gap: 14px; }
.concern {
  display: flex; gap: 14px; align-items: center;
  background: #fff; border-radius: 10px; padding: 12px;
  box-shadow: var(--shadow-card);
}
.concern__img { width: 118px; height: 118px; object-fit: cover; border-radius: 6px; flex: none; }
.concern__title { font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.concern__text { margin: 0; font-size: 12.5px; line-height: 1.75; color: var(--text-sub); }

/* ---------- 原因 ---------- */
.cause { display: flex; gap: 8px; align-items: flex-start; }
.cause__body { flex: 1 1 0; min-width: 0; }
.cause__title { font-family: var(--serif); margin: 0; font-size: 21px; line-height: 1.55; font-weight: 700; color: var(--navy); }
.cause__text { margin: 16px 0 0; font-size: 12.5px; line-height: 1.85; color: var(--text-sub); }
.cause__img { width: 118px; flex: none; margin-top: 4px; object-fit: contain; mix-blend-mode: multiply; }

/* ---------- 選ばれる理由 ---------- */
.reasons { display: flex; flex-direction: column; gap: 18px; }
.reason { border-radius: 10px; overflow: hidden; background: #fbfcfe; box-shadow: 0 2px 10px rgba(16,48,92,.08); position: relative; }
.reason__img { width: 100%; height: 160px; object-fit: cover; }
.reason__no {
  position: absolute; top: 0; left: 0;
  width: 62px; height: 56px;
  background: linear-gradient(180deg, #c9a862 0%, #a9873f 100%);
  color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-bottom-right-radius: 8px;
}
.reason__no small { font-size: 9.5px; letter-spacing: .1em; }
.reason__no strong { font-family: var(--serif); font-size: 22px; font-weight: 700; line-height: 1; }
.reason__body { padding: 14px 16px 16px; }
.reason__title { font-family: var(--serif); font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.reason__text { margin: 0; font-size: 12.5px; line-height: 1.8; color: var(--text-sub); }

/* ---------- コンセプト ---------- */
.concept { background: linear-gradient(180deg, var(--bg-blue) 0%, #f4fafd 100%); padding: 26px 20px 24px; text-align: center; }
.concept p { font-family: var(--serif); margin: 0; font-size: 19px; line-height: 1.7; font-weight: 600; color: var(--navy); }

/* ---------- 改善事例 ---------- */
.case { background: #f7fbfe; border-radius: 10px; padding: 14px; box-shadow: var(--shadow-card); }
.case__images { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 8px; }
.case__images img { width: 100%; height: auto; border-radius: 6px; }
.case__title { font-family: var(--serif); font-size: 16px; font-weight: 700; color: var(--navy); margin: 12px 0 6px; line-height: 1.55; }
.case__text { margin: 0; font-size: 12px; line-height: 1.8; color: var(--text-sub); }
.case__meta, .voice__meta { margin-top: 8px; font-size: 11.5px; font-weight: 700; color: var(--text-mute); }

/* ---------- お客様の声 ---------- */
.voice { display: flex; gap: 14px; background: #fff; border-radius: 10px; padding: 13px; box-shadow: var(--shadow-card); }
.voice__img { width: 112px; height: 132px; object-fit: cover; border-radius: 6px; flex: none; }
.voice__body { min-width: 0; }
.voice__title { font-family: var(--serif); font-size: 15px; font-weight: 700; color: var(--navy); line-height: 1.6; margin-bottom: 7px; }
.voice__text { margin: 0; font-size: 11.5px; line-height: 1.8; color: var(--text-sub); }

/* ---------- 院長紹介 ---------- */
.director { display: flex; gap: 14px; align-items: flex-start; }
.director__img { width: 124px; height: 162px; object-fit: cover; border-radius: 8px; flex: none; }
.director__name { display: flex; align-items: baseline; gap: 8px; border-bottom: 1px solid #dfe8f1; padding-bottom: 8px; margin-bottom: 10px; }
.director__name small { font-size: 11.5px; color: var(--text-mute); }
.director__name strong { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--navy); letter-spacing: .08em; }
.director__text { margin: 0; font-size: 12px; line-height: 1.85; color: var(--text-sub); }

/* ---------- 施術の流れ ---------- */
.flow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.flow__item { background: #fff; border-radius: 9px; padding: 11px; box-shadow: var(--shadow-card); }
.flow__head { display: flex; align-items: center; gap: 7px; margin-bottom: 9px; }
.flow__no { background: var(--navy-deep); color: #fff; font-family: var(--serif); font-size: 13px; font-weight: 700; padding: 2px 7px; border-radius: 3px; }
.flow__label { font-size: 12.5px; font-weight: 700; color: var(--navy); }
.flow__img { width: 100%; height: 96px; object-fit: cover; border-radius: 5px; }
.flow__text { margin: 9px 0 0; font-size: 11px; line-height: 1.75; color: var(--text-sub); }

/* ---------- 院内 ---------- */
.clinic__img { width: 100%; height: 186px; object-fit: cover; border-radius: 10px; }
.clinic__text { margin: 12px 0 0; font-size: 12.5px; line-height: 1.85; color: var(--text-sub); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 9px; }
.faq__item { background: #fff; border-radius: 7px; box-shadow: 0 1px 6px rgba(16,48,92,.07); }
.faq__q {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 13px; cursor: pointer; list-style: none;
  font-size: 12.5px; color: #24405f;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__mark {
  flex: none; width: 21px; height: 21px; border-radius: 50%;
  background: #e8f0f9; color: var(--navy-deep);
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.faq__text { flex: 1 1 auto; }
.faq__chev { flex: none; color: #9aa7b4; font-size: 11px; transition: transform .2s ease; }
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__a { margin: 0; padding: 0 13px 14px 44px; font-size: 12px; line-height: 1.85; color: var(--text-sub); }

/* ---------- アクセス ---------- */
.access__images { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.access__images img { width: 100%; height: 124px; object-fit: cover; border-radius: 8px; }
.access__info { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.access__addr { margin: 0; font-size: 13px; line-height: 1.8; color: #2c4054; }
.access__station { display: flex; align-items: center; gap: 10px; border-top: 1px solid #e4ecf4; padding-top: 10px; }
.access__icon {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: #e8f0f9; color: var(--navy-deep); font-size: 12px;
  display: flex; align-items: center; justify-content: center;
}
.access__station span:last-child { font-size: 12.5px; line-height: 1.6; color: #2c4054; }

/* ---------- フッター ---------- */
.footer { background: #f4f8fc; border-top: 1px solid #e0e9f2; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.footer__brand { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer__logo { width: 104px; height: auto; mix-blend-mode: multiply; }
.footer__brand span { font-size: 11px; color: #5d7189; }
.footer__links { display: flex; gap: 12px; flex-wrap: wrap; font-size: 10.5px; }
.footer__links a { color: #3d5f85; }
.footer__copy { font-size: 10px; color: #8b9bad; }

/* ---------- 追従CTA（不要なら .cta-fixed を削除） ---------- */
.cta-fixed {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; justify-content: center;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(6px);
  border-top: 1px solid #dde7f1;
}
.cta-fixed .cta { margin-top: 0; width: 100%; max-width: 398px; height: 54px; }
.cta-fixed .cta__main { font-size: 17px; }
.cta-fixed .cta__sub { font-size: 9.5px; }

/* ---------- 小さめ端末（〜360px）の微調整 ---------- */
@media (max-width: 360px) {
  .hero__title { font-size: 29px; }
  .price__num { font-size: 32px; }
  .concern__img { width: 104px; height: 104px; }
}
