/* 068 みなも皮ふ科クリニック ― 色はここだけ触れば差し替わる */
:root {
  --c-bg: #f7fafc;
  --c-pale: #e6f0f9;
  --c-sky: #8db8e2;
  --c-navy: #1d3a5f;
  --c-accent-text: #2a5d93;
  --c-marker: #cfe6ff;
  --c-text: #374151;
  --c-sub: #4b5563;
  --font: "Noto Sans JP", sans-serif;
  --font-ja: "Kaisei Opti", serif;
  --font-en: "Playfair Display", serif;
  --font-pen: "Yomogi", cursive;
  --head: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--head); }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 2; letter-spacing: .03em; color: var(--c-text); background: var(--c-bg); padding-bottom: 76px; }
@media (min-width: 768px) { body { padding-bottom: 0; } }
main { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, figure, dd { margin: 0; font-weight: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dd, li { word-break: auto-phrase; }

.en { font-family: var(--font-en); font-style: italic; font-size: 18px; color: var(--c-accent-text); }
.en--light { color: var(--c-marker); }
.title { font-family: var(--font-ja); font-weight: 700; font-size: clamp(28px, 4.4vw, 44px); line-height: 1.6; color: var(--c-navy); margin: 4px 0 32px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; border-radius: 999px; font-weight: 700; font-size: 16px; letter-spacing: .06em; text-decoration: none; white-space: nowrap; flex: none; transition: background-color .5s, color .5s; }
.btn--navy { background: var(--c-navy); color: #fff; }
.btn--accent { background: var(--c-accent-text); color: #fff; }
.btn--navy:hover, .btn--accent:hover, .btn--navy:focus-visible, .btn--accent:focus-visible { background: var(--c-sky); color: var(--c-navy); }
.btn--white { background: #fff; color: var(--c-navy); }
.btn--white:hover, .btn--white:focus-visible { background: var(--c-marker); }
.btn--lg { min-height: 60px; padding: 0 40px; font-size: 17px; }

/* ===== ヘッダー（LP：ロゴと予約ボタンだけ。目次は小さなボタンの中） ===== */
.header { position: sticky; top: 0; z-index: 60; background: rgba(247, 250, 252, .95); border-bottom: 1px solid var(--c-pale); }
.header__inner { display: flex; align-items: center; gap: 10px; height: var(--head); padding: 0 20px; max-width: 1280px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 10px; min-height: 48px; text-decoration: none; color: var(--c-navy); white-space: nowrap; flex: none; font-family: var(--font-ja); font-weight: 700; font-size: 22px; line-height: 1.1; }
.logo small { display: block; font-size: 15px; font-weight: 500; }
.logo__mark { width: 32px; height: 32px; fill: none; stroke: var(--c-accent-text); stroke-width: 1.6; stroke-linecap: round; }
.header__btn { margin-left: auto; min-height: 44px; padding: 0 18px; }
.spmenu { flex: none; }
.spmenu summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--c-sky); border-radius: 50%; }
.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: 18px; height: 1.5px; background: var(--c-navy); position: relative; }
.spmenu__bar::before, .spmenu__bar::after { content: ""; position: absolute; left: 0; }
.spmenu__bar::before { top: -6px; } .spmenu__bar::after { top: 6px; }
.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; right: 12px; top: calc(100% + 6px); width: min(calc(100% - 24px), 320px); background: #fff; border-radius: 20px; box-shadow: 0 20px 40px rgba(29, 58, 95, .15); padding: 8px 24px; display: flex; flex-direction: column; }
.spmenu__nav a { display: flex; align-items: center; min-height: 52px; text-decoration: none; color: var(--c-navy); font-family: var(--font-ja); font-weight: 700; border-bottom: 1px solid var(--c-pale); }
.spmenu__nav a:last-child { border-bottom: 0; }
@media (min-width: 1080px) { .header__inner { padding: 0 40px; } }

/* ===== G04：行き先の色の幕 ===== */
.wipe { position: fixed; inset: 0; z-index: 90; display: none; place-items: center; pointer-events: none; transform: translateY(100%); }
.is-motion .wipe { display: grid; }
.wipe__label { font-family: var(--font-ja); font-weight: 700; font-size: clamp(28px, 4vw, 44px); letter-spacing: .2em; }

/* ===== 演出①（A10）：外周を囲むカード ===== */
.hero { position: relative; min-height: max(780px, calc(100svh - var(--head))); max-width: 1440px; margin: 0 auto; }
.hero__center { position: relative; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: inherit; padding: 250px 20px 230px; }
.hero__en { font-family: var(--font-en); font-style: italic; font-size: 17px; color: var(--c-accent-text); }
.hero__title { font-family: var(--font-ja); font-weight: 700; font-size: clamp(32px, 5.6vw, 68px); line-height: 1.5; color: var(--c-navy); margin: 10px 0 16px; text-shadow: 0 0 18px var(--c-bg), 0 0 6px var(--c-bg); }
.hero__lead { color: var(--c-text); margin-bottom: 26px; background: rgba(247, 250, 252, .85); }
.cd { position: absolute; z-index: 2; margin: 0; }
figure.cd { overflow: hidden; border: 5px solid #fff; border-radius: 18px; box-shadow: 0 18px 40px rgba(29, 58, 95, .14); background: var(--c-pale); }
figure.cd img { width: 100%; height: 100%; object-fit: cover; }
.cd--p1 { width: 29vw; max-width: 210px; aspect-ratio: 3 / 4; top: 2%; left: 4%; rotate: -4deg; }
.cd--p2 { width: 30vw; max-width: 220px; aspect-ratio: 1; top: 4%; right: 4%; rotate: 5deg; border-radius: 50% !important; }
.cd--p3 { width: 38vw; max-width: 280px; aspect-ratio: 4 / 3; bottom: 3%; left: 3%; rotate: 3deg; }
.cd--p4 { width: 36vw; max-width: 290px; aspect-ratio: 4 / 3; bottom: 7%; right: 3%; rotate: -5deg; }
.cd--p5 { display: none; width: 180px; aspect-ratio: 4 / 3; }
.cd--s1 { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--c-sky); color: var(--c-navy); font-family: var(--font-ja); font-weight: 700; font-size: 15px; line-height: 1.4; text-align: center; top: 20%; left: 38%; }
.cd--s2 { background: #fff; border: 1px solid var(--c-sky); border-radius: 999px; padding: 4px 16px; font-weight: 700; font-size: 15px; color: var(--c-navy); bottom: 23%; right: 8%; white-space: nowrap; }
.cd--s3 { width: 120px; height: 120px; border-radius: 50%; background: var(--c-pale); top: 24%; right: -40px; z-index: 1; }
.cd--s4 { width: 110px; height: 110px; border-radius: 0 70% 0 70%; background: var(--c-marker); bottom: 22%; left: -30px; z-index: 1; }
@media (min-width: 900px) {
  .hero__center { padding: 120px 20px; }
  .cd--p1 { top: 9%; left: 5%; }
  .cd--p2 { top: 7%; right: 7%; }
  .cd--p3 { bottom: 7%; left: 8%; }
  .cd--p4 { bottom: 9%; right: 5%; }
  .cd--p5 { display: block; top: 42%; left: 1%; rotate: 4deg; }
  .cd--s1 { width: 104px; height: 104px; font-size: 16px; top: 44%; left: auto; right: 8%; }
  .cd--s2 { top: 12%; bottom: auto; right: auto; left: 30%; }
  .cd--s3 { width: 180px; height: 180px; top: 56%; right: -60px; }
  .cd--s4 { width: 150px; height: 150px; bottom: 4%; left: 34%; }
}

/* ===== 目次（G04） ===== */
.toc { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0 20px 24px; max-width: 900px; margin: 0 auto; }
.toc a { display: flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--c-sky); border-radius: 999px; background: #fff; text-decoration: none; color: var(--c-navy); font-weight: 700; font-size: 15px; }
.toc a:hover { background: var(--c-pale); }

/* ===== 区切り ===== */
.sec { padding: 96px 20px; max-width: 1080px; margin: 0 auto; }
@media (min-width: 1080px) { .sec { padding: 128px 40px; } }

.worry { max-width: none; background: var(--c-pale); }
.worry > * { max-width: 1000px; margin-left: auto; margin-right: auto; }
.worry__list { display: grid; gap: 12px; }
.worry__list li { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 14px; padding: 16px 20px; color: var(--c-navy); font-weight: 500; }
.worry__list li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--c-sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-9' fill='none' stroke='%231d3a5f' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
@media (min-width: 768px) { .worry__list { grid-template-columns: 1fr 1fr; } }

/* E06：ペンで書く文 */
.pen { position: relative; margin: 8px 0 32px; padding: 28px 24px; background: #fff; border-radius: 20px; background-image: repeating-linear-gradient(transparent 0 calc(1.9em - 1px), var(--c-pale) calc(1.9em - 1px) 1.9em); }
.pen__text { font-family: var(--font-pen); font-size: clamp(24px, 4vw, 40px); line-height: 1.9; color: var(--c-navy); }
.pen__line { display: block; width: fit-content; }
.pen mark { color: inherit; background: linear-gradient(var(--c-marker), var(--c-marker)) no-repeat 0 88% / 100% 42%; padding: 0 2px; }
.pen__tip { display: none; position: absolute; left: 0; top: 0; width: 34px; height: 34px; fill: #fff; stroke: var(--c-navy); stroke-width: 1.8; stroke-linejoin: round; pointer-events: none; }
.is-motion .pen__tip { display: block; }
.care__body { margin-bottom: 32px; max-width: 40em; }

/* 特長 */
.feature__list { display: grid; gap: 48px; }
.feature__list figure { overflow: hidden; border-radius: 160px 160px 16px 16px; margin-bottom: 16px; }
.feature__list img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature__no { font-family: var(--font-en); font-style: italic; font-size: 30px; color: var(--c-accent-text); line-height: 1; }
.feature__list h3 { font-family: var(--font-ja); font-weight: 700; font-size: 22px; color: var(--c-navy); margin: 8px 0 6px; }
@media (min-width: 900px) { .feature__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } .feature__list img { aspect-ratio: 3 / 4; } }

/* 患者さまの声（Swiper） */
.voice { max-width: none; background: #fff; }
.voice > .en, .voice > .title, .voice > .voice__note { max-width: 1000px; margin-left: auto; margin-right: auto; }
.voice__note { color: var(--c-sub); margin-top: -20px; margin-bottom: 24px; }
.voice__swiper { max-width: 1000px; margin: 0 auto; overflow: visible; }
.voice { overflow: hidden; }
.vc { background: var(--c-bg); border: 1px solid var(--c-pale); border-radius: 20px; padding: 28px 24px; height: auto; }
.vc__who { font-family: var(--font-ja); font-weight: 700; color: var(--c-accent-text); margin-bottom: 8px; }
.swiper:not(.swiper-initialized) .swiper-wrapper { overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding-bottom: 12px; }
.swiper:not(.swiper-initialized) .swiper-slide { width: 82%; max-width: 380px; scroll-snap-align: start; }
.voice__ctrl { display: none; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.is-swiper .voice__ctrl { display: flex; }
.circle { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--c-sky); background: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; }
.circle svg { width: 20px; height: 20px; fill: none; stroke: var(--c-navy); stroke-width: 1.8; }
.circle.swiper-button-disabled { opacity: .4; }
.voice__dots { display: flex; width: auto !important; }
.voice__dots .swiper-pagination-bullet { width: 44px; height: 44px; margin: 0 !important; background: transparent; opacity: 1; display: grid; place-items: center; }
.voice__dots .swiper-pagination-bullet::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c-sky); transition: width .4s; }
.voice__dots .swiper-pagination-bullet-active::before { width: 26px; border-radius: 6px; background: var(--c-navy); }
.pause { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--c-sky); background: #fff; color: var(--c-navy); font-family: var(--font); font-size: 15px; cursor: pointer; }

/* 料金 */
.price__table { width: 100%; border-collapse: collapse; margin-bottom: 32px; background: #fff; border-radius: 16px; overflow: hidden; }
.price__table caption { text-align: left; font-family: var(--font-ja); font-weight: 700; font-size: 20px; color: var(--c-navy); padding-bottom: 8px; }
.price__table th, .price__table td { padding: 16px 20px; border-bottom: 1px solid var(--c-pale); text-align: left; font-weight: 400; }
.price__table td { text-align: right; white-space: nowrap; color: var(--c-navy); font-weight: 700; }

/* よくある質問 */
.faq { max-width: none; background: var(--c-pale); }
.faq > * { max-width: 1000px; margin-left: auto; margin-right: auto; }
.faq__list details { background: #fff; border-radius: 16px; margin-bottom: 12px; }
.faq__list summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 12px 20px; font-family: var(--font-ja); font-weight: 700; color: var(--c-navy); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::before { content: "Q"; font-family: var(--font-en); font-style: italic; font-size: 22px; color: var(--c-accent-text); }
.faq__list details p { padding: 0 20px 20px 52px; }

/* 予約 */
.reserve { position: relative; background: var(--c-navy); color: #fff; padding: 112px 20px; text-align: center; overflow: hidden; }
.reserve__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reserve::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(29, 58, 95, .88); }
.reserve__inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; }
.reserve__title { font-family: var(--font-ja); font-weight: 700; font-size: clamp(28px, 4.4vw, 46px); line-height: 1.6; margin: 8px 0 32px; }
.reserve__tel { margin-top: 20px; font-weight: 700; }
.hours { margin: 40px 0 0; text-align: left; border-top: 1px solid rgba(255, 255, 255, .35); }
.hours div { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.hours dt { font-weight: 700; color: var(--c-marker); }
@media (min-width: 768px) { .hours div { grid-template-columns: 8em 1fr; gap: 16px; } }

/* スマホの固定ボタン */
.fixcta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: flex; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); box-shadow: 0 -8px 24px rgba(29, 58, 95, .12); }
.fixcta .btn { flex: 1; min-height: 52px; }
.fixcta__tel { display: grid; place-items: center; min-width: 76px; min-height: 52px; border: 1px solid var(--c-sky); border-radius: 999px; text-decoration: none; font-weight: 700; color: var(--c-navy); }
@media (min-width: 768px) { .fixcta { display: none; } }

.footer { background: #fff; text-align: center; padding: 48px 20px 40px; font-size: 15px; border-top: 1px solid var(--c-pale); }
.footer__logo { font-family: var(--font-ja); font-weight: 700; font-size: 22px; color: var(--c-navy); }
.footer__fiction { margin-top: 12px; }

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