/* ==========================================================================
   components.css — UI コンポーネント（pop デザイン）
   ========================================================================== */

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 26px;
  border-radius: var(--r-pill);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
  text-align: center;
  transition: transform .25s var(--ease-soft), box-shadow .25s var(--ease-soft), background-color .25s;
  box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:focus-visible { outline: 3px solid var(--c-coral-deep); outline-offset: 2px; }

.btn--primary { background: var(--c-cta); color: #fff; }
.btn--primary:hover { background: var(--c-cta-hover); }
.btn--line { background: var(--c-line); color: #fff; }
.btn--line:hover { background: var(--c-line-hover); }
.btn--white { background: #fff; color: var(--c-cta); }
.btn--outline {
  background: #fff; color: var(--c-cta);
  border: 2px solid var(--c-coral-soft); box-shadow: none;
}
.btn--outline:hover { border-color: var(--c-coral); background: var(--c-cream); }
.btn--lg { min-height: 54px; padding: 15px 34px; font-size: 1.05rem; }
.btn--full { width: 100%; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-height);
  background: rgba(255, 248, 243, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border);
}
.header__inner {
  height: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.header__logo a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--c-coral-deep);
  display: inline-flex; align-items: center; gap: 8px;
}
.header__logo .logo-mark { width: 26px; height: 26px; }
.header__nav { display: none; gap: 20px; margin-left: auto; }
.header__nav a {
  font-size: 0.9rem; font-weight: 500; color: var(--c-text-sub);
  padding: 6px 2px; position: relative; transition: color .2s;
}
.header__nav a:hover { color: var(--c-coral-deep); }
.header__nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--c-coral); border-radius: 2px; transition: width .25s var(--ease-soft);
}
.header__nav a:hover::after { width: 100%; }
.header__actions { display: none; gap: 10px; }
.header__actions .btn { min-height: 40px; padding: 8px 18px; font-size: 0.85rem; }

.hamburger {
  margin-left: auto; width: 44px; height: 44px;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.hamburger__line {
  width: 24px; height: 2px; border-radius: 2px; background: var(--c-coral-deep);
  transition: transform .3s var(--ease-soft), opacity .3s;
}
.hamburger--open .hamburger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger--open .hamburger__line:nth-child(2) { opacity: 0; }
.hamburger--open .hamburger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 900px) {
  .header__nav, .header__actions { display: flex; }
  .hamburger { display: none; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; top: var(--header-height); left: 0; right: 0; bottom: 0; z-index: 99;
  background: var(--c-cream);
  padding: 20px 20px 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .35s var(--ease-soft);
  visibility: hidden;
}
.mobile-menu--open { transform: translateX(0); visibility: visible; }
.mobile-menu__list { display: flex; flex-direction: column; }
.mobile-menu__list a {
  padding: 13px 6px; border-bottom: 1px solid var(--c-border);
  font-weight: 500; font-size: 0.98rem; color: var(--c-text);
}
.mobile-menu__list a:hover { color: var(--c-coral-deep); }
.mobile-menu__actions { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
@media (min-width: 900px) { .mobile-menu { display: none; } }

/* --------------------------------------------------------------------------
   Wave divider（セクション区切りの波型 SVG 用ラッパ）
   -------------------------------------------------------------------------- */
.wave { display: block; width: 100%; height: auto; line-height: 0; }
.wave svg { display: block; width: 100%; height: 100%; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 76px;
  background:
    radial-gradient(1200px 500px at 80% -10%, var(--c-peach-soft), transparent 60%),
    radial-gradient(900px 420px at 5% 10%, var(--c-blue-soft), transparent 55%),
    var(--c-cream);
}
@media (min-width: 768px) { .hero { padding: 84px 0 110px; } }
.hero__inner { position: relative; z-index: 3; text-align: center; }

/* --- 動画ヒーロー --- */
.hero--video { padding: 0; background: var(--c-cream-deep); }
.hero--video .hero__inner { padding: 72px 0 90px; }
@media (min-width: 768px) { .hero--video .hero__inner { padding: 116px 0 140px; } }
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,248,243,.62) 0%, rgba(255,248,243,.32) 42%, rgba(255,248,243,.55) 78%, rgba(255,248,243,.9) 100%),
    radial-gradient(120% 90% at 50% 40%, transparent 40%, rgba(255,248,243,.5) 100%);
}
.hero--video .hero__badge { box-shadow: var(--shadow-md); }
.hero--video .hero__catch { text-shadow: 0 2px 18px rgba(255,248,243,.9), 0 1px 3px rgba(255,248,243,.9); }
.hero--video .hero__sub { color: var(--c-text); text-shadow: 0 1px 10px rgba(255,248,243,.95); }
.hero__badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; color: var(--c-coral-deep);
  font-family: var(--font-heading); font-weight: 700; font-size: 0.8rem;
  padding: 7px 16px; border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm); margin-bottom: 20px;
}
.hero__catch {
  font-size: clamp(1.5rem, 6.2vw, 3rem); line-height: 1.5; letter-spacing: .01em;
  overflow-wrap: break-word;
}
.hero__catch .accent { color: var(--c-coral-deep); }
.hero__sub { margin-top: 18px; color: var(--c-text-sub); font-size: 1rem; }
.hero__actions {
  margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
}

/* --------------------------------------------------------------------------
   Pillars（3つの特長）
   -------------------------------------------------------------------------- */
.pillars {
  display: grid; grid-template-columns: 1fr; gap: 22px;
}
@media (min-width: 768px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar {
  position: relative; background: #fff; border-radius: var(--r-lg);
  padding: 34px 24px 28px; text-align: center; box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-border);
}
.pillar__icon {
  width: 76px; height: 76px; margin: 0 auto 16px;
  display: grid; place-items: center; border-radius: 50%;
}
.pillar:nth-child(1) .pillar__icon { background: var(--c-coral-soft); }
.pillar:nth-child(2) .pillar__icon { background: var(--c-mint-soft); }
.pillar:nth-child(3) .pillar__icon { background: var(--c-blue-soft); }
.pillar__icon svg { width: 40px; height: 40px; }
.pillar__icon { font-size: 2.1rem; line-height: 1; }
.pillar__title { font-size: 1.15rem; margin-bottom: 10px; }
.pillar__desc { font-size: 0.92rem; color: var(--c-text-sub); }

/* --------------------------------------------------------------------------
   Service cards
   -------------------------------------------------------------------------- */
.service-cards {
  display: grid; grid-template-columns: 1fr; gap: 18px;
}
@media (min-width: 600px) { .service-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .service-cards { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  display: block; background: #fff; border-radius: var(--r-lg);
  padding: 26px 22px; box-shadow: var(--shadow-sm); border: 1px solid var(--c-border);
  transition: transform .28s var(--ease-soft), box-shadow .28s var(--ease-soft);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card__icon {
  width: 58px; height: 58px; border-radius: 18px; margin-bottom: 14px;
  display: grid; place-items: center; background: var(--c-cream-deep);
}
.service-card__icon svg { width: 32px; height: 32px; }
.service-card__icon { font-size: 1.7rem; line-height: 1; }
.service-card__name {
  font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; margin-bottom: 8px;
}
.service-card__desc { font-size: 0.88rem; color: var(--c-text-sub); }
.service-card__badges { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }

/* --------------------------------------------------------------------------
   Badges
   -------------------------------------------------------------------------- */
.badge {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  padding: 4px 12px; border-radius: var(--r-pill); font-family: var(--font-heading);
}
.badge--insurance { background: var(--c-mint-soft); color: #2f7a63; }
.badge--sameday   { background: var(--c-blue-soft); color: #2c6ea3; }
.badge--subsidy   { background: var(--c-peach-soft); color: #c26a2e; }
.badge--category  { background: var(--c-coral-soft); color: var(--c-coral-deep); }

/* --------------------------------------------------------------------------
   Doctor preview / profile
   -------------------------------------------------------------------------- */
.doctor-preview, .doctor-profile {
  display: grid; grid-template-columns: 1fr; gap: 26px; align-items: center;
}
@media (min-width: 768px) {
  .doctor-preview { grid-template-columns: 260px 1fr; }
  .doctor-profile { grid-template-columns: 280px 1fr; align-items: start; }
}
.doctor-preview__photo, .doctor-profile__photo {
  border-radius: var(--r-lg); aspect-ratio: 1 / 1; width: 100%;
}
.doctor-preview__name, .doctor-profile__name {
  font-family: var(--font-heading); font-weight: 700; font-size: 1.4rem;
}
.doctor-preview__title, .doctor-profile__title {
  color: var(--c-coral-deep); font-weight: 700; font-size: 0.9rem; margin: 4px 0 14px;
}
.doctor-preview__message, .doctor-profile__message { font-size: 0.92rem; color: var(--c-text-sub); }
.doctor-profile__message { margin-bottom: 1em; }

/* 写真プレースホルダ */
.placeholder-img {
  display: grid; place-items: center;
  background: repeating-linear-gradient(45deg, var(--c-cream-deep), var(--c-cream-deep) 12px, #fbe7de 12px, #fbe7de 24px);
  color: var(--c-text-muted); font-size: 0.85rem; border-radius: var(--r-md);
}

/* --------------------------------------------------------------------------
   Hours table / Access
   -------------------------------------------------------------------------- */
.hours-table, .fee-table {
  background: #fff; border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--shadow-sm); font-size: 0.9rem;
}
.hours-table th, .hours-table td {
  text-align: center; padding: 11px 6px; border: 1px solid var(--c-border);
}
.hours-table thead th, .hours-table tr:first-child th {
  background: var(--c-coral-soft); color: var(--c-coral-deep); font-family: var(--font-heading);
}
.hours-table th:first-child { background: var(--c-cream-deep); color: var(--c-text-sub); font-size: 0.8rem; white-space: nowrap; }
.hours-table td { color: var(--c-coral-deep); font-weight: 700; }

.access-grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
@media (min-width: 768px) { .access-grid { grid-template-columns: 1fr 1fr; } }
.map-container { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }

.fee-table th, .fee-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--c-border); }
.fee-table tr:first-child th { background: var(--c-mint-soft); color: #2f7a63; font-family: var(--font-heading); }
.fee-table td:last-child, .fee-table th:last-child { text-align: right; white-space: nowrap; }

/* --------------------------------------------------------------------------
   Blog cards
   -------------------------------------------------------------------------- */
.blog-latest, .blog-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 600px) { .blog-latest, .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card {
  background: #fff; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--c-border);
  transition: transform .28s var(--ease-soft), box-shadow .28s var(--ease-soft);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card__thumb {
  aspect-ratio: 16 / 9; display: grid; place-items: center;
  background: repeating-linear-gradient(45deg, var(--c-cream-deep), var(--c-cream-deep) 12px, #fbe7de 12px, #fbe7de 24px);
  color: var(--c-text-muted); font-size: 0.82rem;
}
.blog-card__body { padding: 18px 18px 22px; }
.blog-card__date { color: var(--c-text-muted); font-size: 0.78rem; margin: 8px 0 6px; }
.blog-card__title { font-family: var(--font-heading); font-weight: 700; font-size: 0.98rem; line-height: 1.5; }

/* --------------------------------------------------------------------------
   CTA banner
   -------------------------------------------------------------------------- */
.cta-banner {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--c-coral) 0%, var(--c-peach) 100%);
  border-radius: var(--r-xl); padding: 44px 28px; text-align: center; color: #fff;
  box-shadow: var(--shadow-md);
}
.cta-banner__title { color: #fff; font-size: 1.5rem; margin-bottom: 10px; }
.cta-banner__text { color: rgba(255,255,255,.95); font-size: 0.95rem; margin-bottom: 24px; }
.cta-banner__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; position: relative; z-index: 2; }

/* --------------------------------------------------------------------------
   Page header / Breadcrumb
   -------------------------------------------------------------------------- */
.breadcrumb { padding: 16px 0; font-size: 0.8rem; color: var(--c-text-muted); }
.breadcrumb a { color: var(--c-text-sub); text-decoration: underline; }
.breadcrumb a:hover { color: var(--c-coral-deep); }
.breadcrumb span { margin: 0 8px; }

.page-header {
  position: relative; overflow: hidden; text-align: center;
  padding: 40px 0 48px;
  background:
    radial-gradient(700px 300px at 85% -20%, var(--c-peach-soft), transparent 60%),
    radial-gradient(600px 260px at 5% 0%, var(--c-blue-soft), transparent 55%),
    var(--c-cream-deep);
}
.page-header__title { position: relative; z-index: 2; font-size: 1.75rem; }
@media (min-width: 768px) { .page-header__title { font-size: 2.3rem; } }
.page-header__desc { position: relative; z-index: 2; color: var(--c-text-sub); margin-top: 10px; font-size: 0.95rem; }
.service-badges { position: relative; z-index: 2; margin-top: 16px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Content sections / info box / lists
   -------------------------------------------------------------------------- */
.content-section { margin-bottom: 40px; }
.content-section:last-child { margin-bottom: 0; }
.content-section__title {
  font-size: 1.3rem; margin-bottom: 16px; padding-left: 16px; position: relative;
}
.content-section__title::before {
  content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 6px;
  border-radius: 4px; background: linear-gradient(var(--c-coral), var(--c-peach));
}
.content-section ul { display: flex; flex-direction: column; gap: 8px; margin: 4px 0; }
.content-section ul li { position: relative; padding-left: 24px; font-size: 0.94rem; color: var(--c-text-sub); }
.content-section ul li::before {
  content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px;
  border-radius: 50%; background: var(--c-coral-soft);
}
.content-section ul li strong { color: var(--c-text); }

.info-box {
  background: var(--c-mint-soft); border-radius: var(--r-md);
  padding: 20px 22px; font-size: 0.92rem; color: var(--c-text-sub);
  border: 1px solid #cbe7dc; margin-top: 16px;
}
.info-box strong { color: var(--c-text); }
.info-box ul { margin-top: 8px; }
.info-box ul li { padding-left: 22px; }
.info-box ul li::before { background: var(--c-mint); }
.info-box--warning { background: var(--c-warn-bg); border-color: var(--c-warn-border); }
.info-box--warning ul li::before { background: var(--c-warn-border); }

/* --------------------------------------------------------------------------
   Step flow / Strengths / Cards
   -------------------------------------------------------------------------- */
.step-flow {
  display: flex; flex-direction: column; gap: 12px; align-items: stretch;
}
@media (min-width: 768px) { .step-flow { flex-direction: row; align-items: stretch; } }
.step-flow__item {
  flex: 1; background: #fff; border-radius: var(--r-lg); padding: 24px 18px; text-align: center;
  box-shadow: var(--shadow-sm); border: 1px solid var(--c-border);
}
.step-flow__number {
  width: 40px; height: 40px; border-radius: 50%; margin: 0 auto 12px;
  display: grid; place-items: center; font-family: var(--font-heading); font-weight: 700;
  color: #fff; background: var(--c-coral); font-size: 1.05rem;
}
.step-flow__title { font-family: var(--font-heading); font-weight: 700; margin-bottom: 8px; }
.step-flow__desc { font-size: 0.85rem; color: var(--c-text-sub); }
.step-flow__arrow { display: grid; place-items: center; color: var(--c-coral); font-weight: 700; }
@media (min-width: 768px) { .step-flow__arrow { transform: none; } }

.strengths { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .strengths { grid-template-columns: repeat(3, 1fr); } }
.strength-card {
  position: relative; background: #fff; border-radius: var(--r-lg); padding: 40px 22px 26px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--c-border); text-align: center;
}
.strength-card__number {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-heading); font-weight: 700; color: #fff; font-size: 1.1rem;
  background: linear-gradient(135deg, var(--c-coral), var(--c-peach)); box-shadow: var(--shadow-sm);
}
.strength-card__title { font-size: 1.1rem; margin-bottom: 10px; }
.strength-card__desc { font-size: 0.88rem; color: var(--c-text-sub); }

.card-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
.card {
  display: block; background: #fff; border-radius: var(--r-lg); padding: 26px 22px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--c-border);
  transition: transform .28s var(--ease-soft), box-shadow .28s var(--ease-soft);
}
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__icon { font-size: 2rem; margin-bottom: 12px; }
.card__title { font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; margin-bottom: 8px; }
.card__desc { font-size: 0.88rem; color: var(--c-text-sub); }

/* --------------------------------------------------------------------------
   Accordion
   -------------------------------------------------------------------------- */
.accordion { display: flex; flex-direction: column; gap: 12px; }
.accordion__item {
  background: #fff; border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--c-border);
}
.accordion__trigger {
  width: 100%; text-align: left; padding: 18px 52px 18px 20px; position: relative;
  font-family: var(--font-heading); font-weight: 700; font-size: 0.98rem; color: var(--c-text);
}
.accordion__trigger::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px;
  border-right: 2px solid var(--c-coral); border-bottom: 2px solid var(--c-coral);
  transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease-soft);
}
.accordion__item--open .accordion__trigger::after { transform: translateY(-30%) rotate(-135deg); }
.accordion__content { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease-soft); }
.accordion__body { padding: 0 20px 20px; font-size: 0.9rem; color: var(--c-text-sub); }

/* --------------------------------------------------------------------------
   Article (blog)
   -------------------------------------------------------------------------- */
.article__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: var(--c-text-muted); font-size: 0.82rem; }
.supervisor { display: flex; align-items: center; gap: 12px; background: var(--c-cream-deep); border-radius: var(--r-md); padding: 12px 16px; margin-bottom: 24px; font-size: 0.82rem; color: var(--c-text-sub); }
.supervisor__photo { width: 44px; height: 44px; border-radius: 50%; background: var(--c-coral-soft); flex-shrink: 0; }
.supervisor__name { font-family: var(--font-heading); font-weight: 700; color: var(--c-text); font-size: 0.9rem; }
.article__title { font-size: 1.5rem; line-height: 1.5; margin-bottom: 24px; }
@media (min-width: 768px) { .article__title { font-size: 2rem; } }
.summary-box { background: var(--c-blue-soft); border-radius: var(--r-md); padding: 20px 22px; margin-bottom: 32px; border: 1px solid #cfe0f0; }
.summary-box__title { font-family: var(--font-heading); font-weight: 700; margin-bottom: 10px; color: #2c6ea3; }
.summary-box ul { display: flex; flex-direction: column; gap: 6px; }
.summary-box ul li { position: relative; padding-left: 22px; font-size: 0.9rem; color: var(--c-text-sub); }
.summary-box ul li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--c-blue); }
.article__body h2 { font-size: 1.35rem; margin: 36px 0 14px; padding-left: 16px; position: relative; }
.article__body h2::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 6px; border-radius: 4px; background: linear-gradient(var(--c-coral), var(--c-peach)); }
.article__body p { font-size: 0.95rem; color: var(--c-text-sub); }
.article__body ul { display: flex; flex-direction: column; gap: 8px; margin: 8px 0 16px; }
.article__body ul li { position: relative; padding-left: 24px; font-size: 0.94rem; color: var(--c-text-sub); }
.article__body ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--c-coral-soft); }

/* --- 以下は scripts/build.py が生成する記事パーツ用 --- */
.article__updated { color: var(--c-text-muted); }
.article__body h3 { font-size: 1.12rem; margin: 26px 0 10px; }
.article__body h4 { font-size: 1rem; margin: 20px 0 8px; }
.article__body ol { display: flex; flex-direction: column; gap: 8px; margin: 8px 0 16px; counter-reset: li; list-style: none; }
.article__body ol li { position: relative; padding-left: 30px; font-size: 0.94rem; color: var(--c-text-sub); counter-increment: li; }
.article__body ol li::before {
  content: counter(li); position: absolute; left: 0; top: .05em;
  width: 21px; height: 21px; border-radius: 50%; background: var(--c-coral-soft);
  color: var(--c-coral-deep); font-family: var(--font-heading); font-weight: 700;
  font-size: 0.75rem; display: flex; align-items: center; justify-content: center;
}
.article__body > * + h2 { margin-top: 40px; }
.article__body code { background: var(--c-cream-deep); border-radius: 6px; padding: 1px 6px; font-size: 0.88em; }
.article__body hr { border: 0; border-top: 1px solid var(--c-border); margin: 32px 0; }
.article__body a { color: var(--c-coral-deep); text-decoration: underline; text-underline-offset: 2px; }

/* 目次 */
.toc { background: var(--c-cream-deep); border-radius: var(--r-md); padding: 18px 22px; margin-bottom: 32px; }
.toc__title { font-family: var(--font-heading); font-weight: 700; font-size: 0.95rem; margin-bottom: 10px; }
.toc ol { display: flex; flex-direction: column; gap: 6px; counter-reset: toc; list-style: none; }
.toc li { counter-increment: toc; font-size: 0.88rem; }
.toc li::before { content: counter(toc) ". "; color: var(--c-coral-deep); font-weight: 700; }
.toc a { color: var(--c-text-sub); text-decoration: underline; text-underline-offset: 2px; }
.toc a:hover { color: var(--c-coral-deep); }

/* 記事内の画像 */
.article-hero { margin-bottom: 28px; }
.article-hero img { width: 100%; height: auto; border-radius: var(--r-lg); display: block; }
.article-figure { margin: 24px 0; }
.article-figure img { width: 100%; height: auto; border-radius: var(--r-md); display: block; }
.article-figure figcaption { margin-top: 8px; font-size: 0.8rem; color: var(--c-text-muted); text-align: center; }

/* 注記（Markdown の `>` ） */
.article-note {
  background: var(--c-mint-soft); border-left: 5px solid var(--c-mint);
  border-radius: var(--r-sm); padding: 14px 18px; margin: 22px 0;
}
.article-note p { font-size: 0.9rem; color: var(--c-text-sub); }

/* 表 */
.table-scroll { overflow-x: auto; margin: 20px 0; -webkit-overflow-scrolling: touch; }
.article-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 420px; }
.article-table th, .article-table td { border: 1px solid var(--c-border); padding: 10px 12px; text-align: left; }
.article-table thead th { background: var(--c-cream-deep); font-family: var(--font-heading); }

/* 記事内 FAQ */
.faq-block { margin-top: 48px; }
.faq-block h2 { font-size: 1.35rem; margin-bottom: 18px; padding-left: 16px; position: relative; }
.faq-block h2::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 6px; border-radius: 4px; background: linear-gradient(var(--c-coral), var(--c-peach)); }
.faq-item { border-bottom: 1px solid var(--c-border); padding: 16px 0; }
.faq-item__q { font-size: 1rem; margin-bottom: 8px; }
.faq-item__q::before { content: "Q. "; color: var(--c-coral-deep); }
.faq-item__a { font-size: 0.92rem; color: var(--c-text-sub); }

/* 関連記事 */
.related { margin-top: 48px; }
.related h2 { font-size: 1.2rem; margin-bottom: 16px; }
.related__list { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 600px) { .related__list { grid-template-columns: 1fr 1fr; } }
.related-card {
  display: flex; flex-direction: column; gap: 8px; align-items: flex-start;
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-md);
  padding: 16px 18px; transition: transform .25s var(--ease-soft), box-shadow .25s var(--ease-soft);
}
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.related-card__title { font-family: var(--font-heading); font-weight: 700; font-size: 0.92rem; line-height: 1.5; }

/* 一覧カードのサムネイル画像 */
.blog-card__thumb--img { padding: 0; overflow: hidden; }
.blog-card__thumb--img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* --------------------------------------------------------------------------
   Contact form
   -------------------------------------------------------------------------- */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-family: var(--font-heading); font-weight: 700; font-size: 0.9rem; }
.form-required { color: var(--c-coral-deep); font-size: 0.75rem; margin-left: 8px; }
.form-group input, .form-group textarea {
  font: inherit; padding: 12px 14px; border-radius: var(--r-md);
  border: 2px solid var(--c-border); background: #fff; color: var(--c-text);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--c-coral); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--c-text); color: rgba(255,255,255,.82); padding: 52px 0 90px; font-size: 0.88rem; }
@media (min-width: 768px) { .footer { padding-bottom: 40px; } }
.footer__inner { max-width: var(--content-max); margin: 0 auto; padding: 0 20px; }
.footer__top { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 768px) { .footer__top { grid-template-columns: 1fr 1fr; } }
.footer__name { font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; color: #fff; margin-bottom: 12px; }
.footer__address p { margin-bottom: 6px; }
.footer__address a, .footer a { color: #ffd9d3; }
.footer__address a:hover, .footer a:hover { color: #fff; }
.footer__hours-title { font-family: var(--font-heading); font-weight: 700; color: #fff; margin-bottom: 10px; }
.footer__hours-table { font-size: 0.78rem; background: rgba(255,255,255,.06); border-radius: var(--r-sm); overflow: hidden; }
.footer__hours-table th, .footer__hours-table td { text-align: center; padding: 6px 4px; border: 1px solid rgba(255,255,255,.12); }
.footer__hours-table th:first-child { white-space: nowrap; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 32px 0; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); }
.footer__nav a { color: rgba(255,255,255,.78); font-size: 0.85rem; }
.footer__bottom { display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; }
.footer__copyright { color: rgba(255,255,255,.5); font-size: 0.78rem; }

/* --------------------------------------------------------------------------
   Mobile bar（固定 CTA）
   -------------------------------------------------------------------------- */
.mobile-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 98; height: var(--mobile-bar-height);
  display: flex; background: #fff; box-shadow: 0 -6px 20px rgba(200,120,130,.16);
  border-top: 1px solid var(--c-border);
}
.mobile-bar__item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-size: 0.7rem; font-weight: 700; font-family: var(--font-heading); color: var(--c-text-sub);
}
.mobile-bar__item svg { width: 22px; height: 22px; }
.mobile-bar__item--cta { background: var(--c-coral); color: #fff; }
.mobile-bar__item--line { background: var(--c-line); color: #fff; }
@media (min-width: 768px) { .mobile-bar { display: none; } }
