/* ============================================================
   トップページ専用CSS
   丸尾歯科医院 リニューアル 2026
   ============================================================ */

:root {
  --ivory: #FAF7F2;
  --sand: #F4EFE6;
  --linen: #E8D5B7;
  --gold: #B8956A;
  --deep: #8A6840;
  --espresso: #3A2E24;
  --muted: #7A6A58;
  --hint: #AE9D8C;
  --white: #FDFAF6;
}

/* main.css のデフォルトを打ち消す */
#top > section { margin-bottom: 0; }
#hero .hero-h1 { padding: 0; margin-top: 0; margin-bottom: 10px; }

/* Hero */
#hero { padding: 0; background: var(--sand); overflow: hidden; }
.hero-slides { width: 100%; height: 260px; overflow: clip; }
.hero-copy { padding: 12px 16px 8px; text-align: center; }

.hero-slides { position: relative; }
.hero-slide {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0; transition: opacity 1s ease;
}
.hero-slide.is-active { opacity: 1; position: relative; }
.hero-slide img { width: 100%; height: 260px; object-fit: cover; display: block; }
.hero-slide:nth-child(3) img {
  object-position: center 20%;
}
.hero-dots {
  position: absolute; bottom: 12px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 10;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.5); cursor: pointer;
  transition: background .3s;
}
.hero-dot.is-active { background: #fff; }

@media (min-width: 768px) {
  .hero-slide img { height: 560px; }
  .hero-slide:nth-child(3) img {
    object-position: center 15%;
  }
}
.hero-eyebrow { font-size: 1.1rem; letter-spacing: .14em; color: var(--gold); margin-bottom: 8px; }
.hero-h1 { font-size: 2.8rem; font-weight: 700; line-height: 1.4; color: var(--espresso); margin-bottom: 10px; }
.hero-body { font-size: 1.35rem; line-height: 1.8; color: var(--muted); margin-bottom: 18px; }
.btn-hero { display: block; width: 100%; background: var(--gold); color: var(--white); text-align: center; font-size: 1.5rem; font-weight: 700; padding: 15px; border-radius: 10px; letter-spacing: .06em; text-decoration: none; }

/* Reserve trigger */
#reserve-trigger { margin: 0 16px 0; display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--white); border: 1px solid var(--linen); border-radius: 10px; padding: 13px; cursor: pointer; font-size: 1.35rem; font-weight: 500; color: var(--deep); }
.trigger-arrow { width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; transition: transform .3s; }

/* Drawer */
#drawer-overlay { display: none; position: fixed; inset: 0; background: rgba(58,46,36,.45); z-index: 200; }
#drawer-overlay.is-open { display: block; }
#drawer { position: fixed; bottom: 0; left: 0; right: 0; z-index: 201; background: var(--white); border-radius: 16px 16px 0 0; padding: 0 16px 40px; transform: translateY(100%); transition: transform .35s cubic-bezier(.32,.72,0,1); max-height: 88vh; overflow-y: auto; }

/* ドロワーを開いている間、固定バーをすべて隠す */
body.drawer-open #reservation_area2,
body.drawer-open #fixed-bar { display: none !important; }
#drawer.is-open { transform: translateY(0); }
.drawer-handle { width: 36px; height: 4px; border-radius: 2px; background: var(--linen); margin: 12px auto 16px; }
.drawer-title { font-size: 1.5rem; font-weight: 700; color: var(--espresso); margin-bottom: 12px; }
.drawer-tabs { display: flex; gap: 6px; margin-bottom: 12px; }
.drawer-tab { flex: 1; padding: 10px; border-radius: 8px; border: 1px solid var(--linen); font-size: 1.3rem; font-weight: 500; color: var(--muted); background: none; cursor: pointer; transition: .15s; }
.drawer-tab.is-active { background: var(--gold); color: var(--white); border-color: var(--gold); }
.drawer-pane { display: none; }
.drawer-pane.is-active { display: block; }
.drawer-pane iframe { width: 100%; height: 180px; border: 1px solid var(--linen); border-radius: 8px; display: block; }

/* 個室バナー */
#room { padding: 16px; background: var(--sand); border-top: 1px solid var(--linen); border-bottom: 1px solid var(--linen); }
.room-inner { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 10px; }
.room-img { width: 90px; height: 68px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: var(--linen); }
.room-img img { width: 100%; height: 100%; object-fit: cover; }
.room-badge { display: inline-block; font-size: 1rem; padding: 2px 8px; background: var(--gold); color: var(--white); border-radius: 10px; margin-bottom: 5px; }
.room-title { font-size: 1.35rem; font-weight: 700; color: var(--espresso); margin-bottom: 3px; }
.room-body { font-size: 1.2rem; color: var(--muted); line-height: 1.6; }
.btn-ghost { display: block; width: 100%; text-align: center; border: 1px solid var(--gold); color: var(--deep); padding: 10px; border-radius: 8px; font-size: 1.3rem; font-weight: 500; text-decoration: none; }

/* 自費カード */
#jifee { padding: 28px 16px; background: var(--ivory); }
.jifee-carousel { position: relative; }
.jifee-slider { overflow: hidden; }
.jifee-track { display: flex; gap: 14px; transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94); will-change: transform; }
.jifee-card { flex: 0 0 auto; background: var(--white); border: 1px solid var(--linen); border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; display: block; }
/* スライダーボタン */
.jifee-btn {
  position: absolute; top: calc(50% - 24px); transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(250,247,242,.92); border: 1px solid var(--linen);
  font-size: 2.6rem; line-height: 1; color: var(--espresso);
  cursor: pointer; z-index: 10;
  display: flex; align-items: center; justify-content: center; padding: 0;
  transition: opacity .2s, background .2s;
}
.jifee-prev { left: 4px; }
.jifee-next { right: 4px; }
.jifee-btn:disabled { opacity: .25; cursor: default; }
.jifee-btn.is-hidden { display: none; }
/* ドット */
.jifee-dots { display: none !important; }
.jifee-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--linen); border: none; cursor: pointer; padding: 0; transition: background .2s; }
.jifee-dot.is-active { background: var(--gold); }
.jifee-img { width: 100%; height: 160px; overflow: hidden; background: var(--linen); transform: translateZ(0); }
.jifee-img img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.jifee-body { padding: 14px; }
.jifee-title { font-size: 1.7rem; font-weight: 700; color: var(--espresso); margin-bottom: 6px; }
.jifee-text { font-size: 1.3rem; color: var(--muted); line-height: 1.75; margin-bottom: 10px; }
.jifee-link {
  display: inline-flex; align-items: center;
  font-size: 1.4rem; font-weight: 700; color: var(--gold);
  border: 1.5px solid var(--gold); border-radius: 6px;
  padding: 7px 14px; margin-top: 8px;
  transition: background .15s, color .15s;
}
.jifee-link::after { content: " →"; }
.jifee-card:hover .jifee-link { background: var(--gold); color: var(--white); }

/* 医師紹介 */
#doctors { padding: 28px 16px; background: var(--sand); }
.doctor-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 16px; }
.doctor-card { background: var(--white); border: 1px solid var(--linen); border-radius: 12px; padding: 14px; display: flex; gap: 14px; align-items: flex-start; }
.doctor-img { width: 80px; height: 90px; border-radius: 8px; flex-shrink: 0; overflow: hidden; background: var(--linen); transform: translateZ(0); }
.doctor-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; will-change: transform; }
.doctor-img--nobuyuki img { transform: scale(1.25); transform-origin: center 20%; }
.doctor-img--hitoko img { object-position: center 0%; }
.doctor-role { font-size: 1rem; letter-spacing: .08em; color: var(--gold); margin-bottom: 3px; }
.doctor-name { font-size: 1.6rem; font-weight: 700; color: var(--espresso); margin-bottom: 6px; }
.doctor-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 7px; }
.tag { font-size: 1rem; padding: 2px 8px; border-radius: 8px; background: var(--linen); color: var(--deep); }
.doctor-msg { font-size: 1.2rem; color: var(--muted); line-height: 1.6; }
.btn-outline { display: block; width: 100%; text-align: center; border: 1px solid var(--linen); color: var(--espresso); padding: 12px; border-radius: 8px; font-size: 1.35rem; font-weight: 500; text-decoration: none; }

/* お知らせ */
#news { padding: 28px 16px; background: var(--ivory); }
.news-tabs { display: flex; gap: 6px; margin-bottom: 14px; }
.news-tab { padding: 7px 18px; border-radius: 14px; font-size: 1.3rem; font-weight: 500; border: 1px solid var(--linen); color: var(--muted); background: none; cursor: pointer; transition: .15s; }
.news-tab.is-active { background: var(--gold); color: var(--white); border-color: var(--gold); }
.news-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.news-item { display: flex; align-items: flex-start; gap: 10px; background: var(--white); border: 1px solid var(--linen); border-radius: 8px; padding: 12px; text-decoration: none; color: inherit; }
.news-date { font-size: 1.1rem; color: var(--hint); min-width: 72px; padding-top: 2px; }
.news-content { flex: 1; }
.news-cat { font-size: 1rem; padding: 2px 7px; border-radius: 8px; background: var(--linen); color: var(--deep); display: inline-block; margin-bottom: 4px; }
.news-new { font-size: 1rem; font-weight: 700; color: var(--white); background: var(--gold); padding: 2px 7px; border-radius: 8px; margin-left: 6px; vertical-align: middle; letter-spacing: .04em; display: inline-block; margin-bottom: 4px; }
.news-title { font-size: 1.3rem; color: var(--espresso); line-height: 1.5; }

/* アクセス */
#access { padding: 28px 16px; background: var(--sand); }
.map-wrap { width: 100%; height: 200px; border-radius: 10px; overflow: hidden; margin-bottom: 16px; background: var(--linen); }
.access-info { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.access-row { display: flex; align-items: flex-start; gap: 10px; font-size: 1.35rem; color: var(--espresso); line-height: 1.6; }
.access-icon { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.btn-tel { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; background: var(--white); border: 1px solid var(--linen); border-radius: 10px; padding: 14px; font-size: 1.8rem; font-weight: 700; color: var(--espresso); text-decoration: none; }

/* 共通セクション */
.sec-eyebrow { font-size: 1.1rem; letter-spacing: .16em; color: var(--gold); margin-bottom: 6px; }
.sec-title { font-size: 2.4rem; font-weight: 700; color: var(--espresso); margin-bottom: 6px; }
.sec-sub { font-size: 1.3rem; color: var(--muted); line-height: 1.7; margin-bottom: 20px; }

/* 固定フッターバー */
#fixed-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 150; display: flex; background: var(--white); border-top: 1px solid var(--linen); box-shadow: 0 -4px 16px rgba(58,46,36,.08); }
.fixed-tel { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 14px; font-size: 1.4rem; font-weight: 700; color: var(--espresso); border-right: 1px solid var(--linen); text-decoration: none; }
.fixed-reserve { flex: 1; display: flex; align-items: center; justify-content: center; padding: 9px 14px; font-size: 1.4rem; font-weight: 700; background: var(--gold); color: var(--white); letter-spacing: .04em; cursor: pointer; border: none; width: 100%; }

@media (min-width: 768px) {
  body { font-size: 1.6rem; }

  /* Hero */
  .hero-slides { height: 560px; }
  .hero-slide img { height: 560px; }
  .hero-copy {
    max-width: 1000px; margin: 0 auto;
    padding: 20px 40px 40px;
    text-align: center;
  }
  .hero-h1 { font-size: 4.8rem; }
  .hero-body { font-size: 1.6rem; }
  .btn-hero { max-width: 320px; font-size: 1.6rem; margin-left: auto; margin-right: auto; }

  /* Reserve trigger */
  #reserve-trigger {
    max-width: 1000px; margin: 16px auto 0;
    font-size: 1.5rem;
  }

  /* 個室バナー */
  #room { padding: 24px 40px; }
  .room-inner {
    max-width: 1000px; margin: 0 auto 14px;
    gap: 20px;
  }
  .room-img { width: 160px; height: 110px; }
  .room-title { font-size: 1.7rem; }
  .room-body { font-size: 1.4rem; }
  .btn-ghost { max-width: 1000px; margin: 0 auto; display: block; font-size: 1.4rem; }

  /* 自費カード */
  #jifee { padding: 56px 40px; }
  .jifee-carousel { max-width: 1000px; margin: 0 auto; }
  .jifee-track { gap: 24px; }
  .jifee-btn { width: 44px; height: 44px; background: var(--white); box-shadow: 0 2px 8px rgba(58,46,36,.12); font-size: 2.8rem; }
  .jifee-prev { left: -22px; }
  .jifee-next { right: -22px; }
  .jifee-dots { display: none; }
  .jifee-img { height: 200px; }
  .jifee-title { font-size: 2rem; }
  .jifee-text { font-size: 1.45rem; }

  /* 医師紹介 */
  #doctors { padding: 56px 24px; }
  .doctor-list {
    flex-direction: row;
    max-width: 1000px; margin: 0 auto 24px;
    gap: 24px;
  }
  .doctor-card { flex: 1; padding: 20px; }
  .doctor-img { width: 110px; height: 124px; }
  .doctor-name { font-size: 2rem; }
  .doctor-msg { font-size: 1.4rem; }
  .btn-outline {
    max-width: 1000px; margin: 0 auto;
    font-size: 1.5rem; padding: 14px;
  }

  /* お知らせ */
  #news { padding: 56px 24px; }
  .news-tabs { max-width: 1000px; margin: 0 auto 16px; }
  .news-list { max-width: 1000px; margin: 0 auto 16px; }
  .news-title { font-size: 1.5rem; }
  .news-date { font-size: 1.2rem; }

  /* アクセス */
  #access { padding: 56px 24px; }
  .map-wrap {
    max-width: 1000px; margin: 0 auto 24px;
    height: 360px;
  }
  .access-info {
    max-width: 1000px; margin: 0 auto 20px;
    flex-direction: row; gap: 40px;
  }
  .access-row { font-size: 1.5rem; }
  .btn-tel {
    max-width: 1000px; margin: 0 auto;
    font-size: 2rem; padding: 16px;
  }

  /* 共通セクション */
  .sec-eyebrow { font-size: 1.2rem; }
  .sec-title { font-size: 3rem; }
  .sec-sub { font-size: 1.5rem; }

  /* コンテンツ中央揃え統一 */
  #hero, #room, #jifee, #doctors, #news, #access {
    max-width: 100%;
  }
  #hero .hero-copy,
  #room .room-inner,
  #room .btn-ghost,
  #jifee .jifee-carousel,
  #doctors .doctor-list,
  #doctors .btn-outline,
  #news .news-tabs,
  #news .news-list,
  #news .btn-outline,
  #access .map-wrap,
  #access .access-info,
  #access .access-hours,
  #access .btn-tel {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
  }

  /* 各セクション見出しを中央揃えに統一 */
  #jifee > .sec-eyebrow,
  #jifee > h2.sec-title,
  #jifee > .sec-sub,
  #doctors > .sec-eyebrow,
  #doctors > h2.sec-title,
  #doctors > .sec-sub,
  #news > .sec-eyebrow,
  #news > h2.sec-title,
  #access > .sec-eyebrow,
  #access > h2.sec-title,
  #access > .sec-sub {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

  #jifee { padding: 56px 24px; }
  #doctors { padding: 56px 24px; }
  #news { padding: 56px 24px; }
  #access { padding: 56px 24px; }
  #room { padding: 24px; }

  /* 固定フッターバー非表示 */
  #fixed-bar { display: none; }
}

/* 作業1：既存main.cssの見出しスタイル上書き */
#top h2.sec-title {
  display: block;
  font-size: 2.4rem;
  font-weight: 700;
  color: #3A2E24;
  text-align: left;
  padding-bottom: 0;
  letter-spacing: normal;
  margin-top: 0;
  margin-bottom: 6px;
}
#top h2.sec-title::after,
#top h2.sec-title::before {
  display: none;
}
#top h3.jifee-title,
#top h3.doctor-name {
  color: #3A2E24;
  font-size: inherit;
  padding: 0;
  margin: 0 0 6px;
}
#top h3.jifee-title::after,
#top h3.doctor-name::after {
  display: none;
}

/* 作業2：予約バー（#reservation_area2）カラー上書き */
#reservation_area2 {
  background: rgba(58, 46, 36, 0.85) !important;
}
#reservation_area2 ul li a {
  background: #B8956A !important;
  color: #FDFAF6 !important;
}
#reservation_area2 ul li a::after {
  color: #B8956A !important;
  background: #FDFAF6 !important;
}

/* ============================================================
   固定ページ・投稿ページ 共通
   ============================================================ */

.page-title-area {
  background: var(--sand);
  padding: 40px 16px;
  text-align: center;
}
.page-title {
  font-size: 2.2rem;
  color: var(--espresso);
  font-weight: bold;
  letter-spacing: 0.05em;
  margin: 0;
}
.page-main {
  background: var(--ivory);
  padding: 48px 16px 72px;
}
.page-container {
  max-width: 1000px;
  margin: 0 auto;
}

/* 本文 */
.page-content,
.single-content {
  line-height: 1.9;
  color: var(--espresso);
  font-size: 1.5rem;
}
.single-content img,
.page-content img {
  max-width: 100%;
  height: auto;
  display: block;
}
.single-content a[style*="background"] {
  background: var(--gold) !important;
  color: var(--white) !important;
}
.news-photo {
  margin: 24px auto;
  text-align: center;
}
.news-photo img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: inline-block;
}
.page-content h2,
.single-content h2 {
  font-size: 1.8rem;
  color: var(--espresso);
  border-bottom: 2px solid var(--linen);
  padding-bottom: 8px;
  margin: 48px 0 20px;
}
.page-content h3,
.single-content h3 {
  font-size: 1.6rem;
  color: var(--espresso);
  border-left: 4px solid var(--gold);
  padding-left: 12px;
  margin: 32px 0 12px;
}

/* 投稿メタ（日付・カテゴリ） */
.single-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 1.3rem;
  color: var(--muted);
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--linen);
}
.single-cat {
  background: var(--sand);
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 1.2rem;
}
.single-tags {
  margin-top: 32px;
  font-size: 1.3rem;
  color: var(--muted);
}

/* 前後ページャー */
.single-pager {
  display: flex;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--linen);
  gap: 16px;
}
.single-pager a {
  color: var(--deep);
  text-decoration: none;
  font-size: 1.4rem;
}
.single-pager a:hover { color: var(--gold); }

/* ============================================================
   アーカイブページ（お知らせ一覧）
   ============================================================ */

.archive-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.archive-item {
  background: var(--white);
  border: 1px solid var(--linen);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.archive-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.archive-body {
  padding: 20px 24px 24px;
}
.archive-date {
  font-size: 1.2rem;
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}
.archive-title {
  font-size: 1.6rem;
  margin: 0 0 12px;
  line-height: 1.5;
}
.archive-title a {
  color: var(--espresso);
  text-decoration: none;
}
.archive-title a:hover { color: var(--deep); }
.archive-excerpt {
  font-size: 1.4rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.archive-more {
  font-size: 1.3rem;
  color: var(--deep);
  text-decoration: none;
  font-weight: bold;
}
.archive-more:hover { color: var(--gold); }

/* ページネーション */
.archive-pagination {
  margin-top: 48px;
  text-align: center;
}
.archive-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.archive-pagination .page-numbers {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--linen);
  border-radius: 6px;
  color: var(--espresso);
  text-decoration: none;
  font-size: 1.4rem;
  transition: background .2s, color .2s;
}
.archive-pagination .page-numbers.current,
.archive-pagination .page-numbers:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}
.no-posts {
  text-align: center;
  color: var(--muted);
  padding: 64px 0;
  font-size: 1.5rem;
}

/* ============================================================
   404ページ
   ============================================================ */

.notfound-content {
  text-align: center;
  padding: 80px 16px;
}
.notfound-code {
  font-size: 8rem;
  font-weight: bold;
  color: var(--linen);
  line-height: 1;
  margin: 0 0 16px;
}
.notfound-msg {
  font-size: 1.6rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 40px;
}
.notfound-btn {
  display: inline-block;
  padding: 14px 40px;
  background: var(--gold);
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1.5rem;
  transition: background .2s;
}
.notfound-btn:hover { background: var(--deep); }

/* ============================================================
   お問い合わせページ
   ============================================================ */

.contact-layout {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.contact-form-col h2,
.contact-info-col h2 {
  font-size: 1.8rem;
  color: var(--espresso);
  border-bottom: 2px solid var(--linen);
  padding-bottom: 8px;
  margin-bottom: 24px;
}
.contact-info-col {
  background: var(--sand);
  border-radius: 12px;
  padding: 32px 28px;
}
.contact-tel {
  font-size: 2.8rem;
  font-weight: bold;
  color: var(--espresso);
  display: block;
  margin-bottom: 4px;
  text-decoration: none;
}
.contact-tel:hover { color: var(--deep); }
.contact-tel-note {
  font-size: 1.3rem;
  color: var(--muted);
  margin-bottom: 24px;
}
.contact-info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.4rem;
}
.contact-info-table th,
.contact-info-table td {
  padding: 12px 8px;
  border-bottom: 1px solid var(--linen);
  text-align: left;
  vertical-align: top;
}
.contact-info-table th {
  color: var(--muted);
  width: 6em;
  white-space: nowrap;
}
.contact-info-table td { color: var(--espresso); }
.contact-info-table .closed { color: var(--gold); font-weight: bold; }

/* Contact Form 7 */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--linen);
  border-radius: 6px;
  background: #fff;
  color: var(--espresso);
  font-size: 1.5rem;
  box-sizing: border-box;
  margin-bottom: 4px;
}
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.wpcf7 .wpcf7-submit {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: 30px;
  font-size: 1.6rem;
  cursor: pointer;
  transition: background .2s;
  margin-top: 16px;
}
.wpcf7 .wpcf7-submit:hover { background: var(--deep); }
.wpcf7 .wpcf7-not-valid-tip { color: #c0392b; font-size: 1.2rem; }
.wpcf7 .wpcf7-response-output { font-size: 1.4rem; margin-top: 16px; }

@media (min-width: 768px) {
  /* お問い合わせ 2カラム */
  .contact-layout {
    flex-direction: row;
    gap: 48px;
    align-items: flex-start;
  }
  .contact-form-col { flex: 1 1 58%; }
  .contact-info-col { flex: 0 0 36%; }

  /* アーカイブ PC表示 */
  .archive-item { flex-direction: row; }
  .archive-thumb { flex: 0 0 280px; }
  .archive-thumb img { width: 280px; height: 100%; min-height: 180px; }
  .archive-body { flex: 1; }
}

/* ============================================================
   内ページ共通
   ============================================================ */
.page-hero-area { background: var(--sand); padding: 20px 16px 16px; border-bottom: 1px solid var(--linen); }
.page-hero-inner { max-width: 1000px; margin: 0 auto; }
.page-eyebrow { font-size: 1.1rem; letter-spacing: .16em; color: var(--gold); margin-bottom: 6px; }
.page-title { font-size: 3rem; font-weight: 700; color: var(--espresso); margin: 0; padding: 0 !important; }
.page-container { max-width: 1000px; margin: 0 auto; padding: 48px 16px 80px; }
.page-lead { font-size: 1.5rem; line-height: 1.9; color: var(--muted); margin-bottom: 32px; }

.page-container h2 { font-size: 2.2rem; font-weight: 700; color: var(--espresso); padding-bottom: 0.5em; border-bottom: 2px solid var(--linen); margin: 0 0 20px; }
.page-container h2::after, .page-container h2::before { display: none; }
.page-container h3 { font-size: 1.7rem; font-weight: 700; color: var(--deep); padding-left: 12px; border-left: 3px solid var(--gold); margin: 2em 0 0.8em; }
.page-container h3::after { display: none; }

/* 医師紹介 */
.docpro-card { display: flex; gap: 32px; background: var(--white); border: 1px solid var(--linen); border-radius: 16px; padding: 28px; margin-bottom: 32px; }
.docpro-figure { width: 220px; flex-shrink: 0; border-radius: 12px; overflow: hidden; }
.docpro-figure img { width: 100%; height: 260px; object-fit: cover; object-position: center top; display: block; }
.docpro-header { background: linear-gradient(135deg, #F4EFE6, #E8D5B7); padding: 16px 20px; border-radius: 10px; margin-bottom: 16px; }
.docpro-role { font-size: 1.1rem; color: var(--gold); letter-spacing: .08em; display: block; margin-bottom: 4px; }
.docpro-name { font-size: 2.4rem; font-weight: 700; color: var(--espresso); margin: 0 0 10px; }
.docpro-name::after { display: none; }
.docpro-msg { font-size: 1.4rem; line-height: 1.9; color: var(--muted); margin-bottom: 20px; }
.docpro-sec { margin-bottom: 16px; }
.docpro-sec-title { font-size: 1.4rem; font-weight: 700; color: var(--deep); margin: 0 0 8px; padding-left: 10px; border-left: 3px solid var(--gold); }
.docpro-sec-title::after { display: none; }
.docpro-timeline { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.docpro-timeline li { display: flex; gap: 16px; font-size: 1.3rem; color: var(--espresso); line-height: 1.6; }
.docpro-timeline time { color: var(--gold); font-weight: 700; min-width: 90px; flex-shrink: 0; }
.docpro-list { padding-left: 1.5em; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.docpro-list li { font-size: 1.3rem; color: var(--espresso); line-height: 1.6; }
.docpro-cta { margin-top: 20px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ボタン */
.btn-gold { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; background: var(--gold); color: var(--white) !important; border-radius: 8px; font-weight: 700; font-size: 1.4rem; text-decoration: none !important; transition: background .2s; }
.btn-gold:hover { background: var(--deep); }
.btn-outline-gold { display: inline-flex; align-items: center; padding: 12px 24px; border: 1px solid var(--gold); color: var(--deep) !important; border-radius: 8px; font-weight: 500; font-size: 1.4rem; text-decoration: none !important; }

/* テーブル */
.info-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.info-table th, .info-table td { padding: 12px 16px; border: 1px solid var(--linen); text-align: left; font-size: 1.4rem; }
.info-table th { background: var(--sand); color: var(--espresso); font-weight: 700; width: 120px; }
.hours-table { width: 100%; border-collapse: collapse; margin-bottom: 8px; text-align: center; }
.hours-table th, .hours-table td { padding: 10px 8px; border: 1px solid var(--linen); font-size: 1.3rem; }
.hours-table thead th { background: var(--sand); font-weight: 700; }
.hours-table tbody th { background: var(--ivory); font-size: 1.2rem; text-align: left; padding-left: 12px; }
.hours-note { font-size: 1.2rem; color: var(--hint); margin: 4px 0; }

/* 診療ページ */
.treatment-hero-img { width: 100%; height: 280px; border-radius: 12px; overflow: hidden; margin-bottom: 32px; }
.treatment-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.feature-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 32px; }
.feature-card { background: var(--sand); border-radius: 10px; padding: 20px; }
.feature-num { display: block; font-size: 2rem; font-weight: 700; color: var(--gold); margin-bottom: 6px; }
.feature-card h3 { font-size: 1.5rem; font-weight: 700; color: var(--espresso); margin: 0 0 8px; padding: 0; border: none; }
.feature-card h3::after { display: none; }
.feature-card p { font-size: 1.3rem; color: var(--muted); line-height: 1.7; margin: 0; }
.treatment-flow { padding: 0; margin: 0 0 32px; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.treatment-flow li { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: var(--white); border: 1px solid var(--linen); border-radius: 8px; font-size: 1.4rem; color: var(--espresso); }
.treatment-flow li span { background: var(--gold); color: var(--white); padding: 4px 10px; border-radius: 6px; font-size: 1.1rem; font-weight: 700; white-space: nowrap; }
.price-table { width: 100%; border-collapse: collapse; margin-bottom: 10px; }
.price-table th { background: var(--sand); color: var(--espresso); padding: 12px 16px; text-align: left; border: 1px solid var(--linen); font-weight: 700; }
.price-table td { padding: 12px 16px; border: 1px solid var(--linen); color: var(--espresso); }
.price-table tr:nth-child(even) td { background: var(--ivory); }
.price-note { font-size: 1.2rem; color: var(--hint); margin: 6px 0 0; line-height: 1.7; }
.page-cta-block { background: var(--sand); border-radius: 12px; padding: 28px; text-align: center; margin-top: 48px; }
.page-cta-block p { font-size: 1.4rem; color: var(--muted); margin-bottom: 16px; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 40px; }
.faq-item { border: 1px solid var(--linen); border-radius: 10px; overflow: hidden; background: var(--white); }
.faq-item summary { padding: 16px 20px; font-size: 1.5rem; font-weight: 500; color: var(--espresso); cursor: pointer; list-style: none; position: relative; padding-right: 40px; }
.faq-item summary::after { content: "＋"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 1.8rem; }
.faq-item[open] summary::after { content: "－"; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { padding: 0 20px 16px; font-size: 1.4rem; color: var(--muted); line-height: 1.8; margin: 0; }

/* 一般歯科 */
.service-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-bottom: 32px; }
.service-card { background: var(--white); border: 1px solid var(--linen); border-radius: 10px; padding: 20px; }
.service-card h3 { font-size: 1.6rem; font-weight: 700; color: var(--deep); margin: 0 0 8px; padding: 0; border: none; }
.service-card h3::after { display: none; }
.service-card p { font-size: 1.3rem; color: var(--muted); line-height: 1.7; margin: 0; }
.recommend-list { padding-left: 1.5em; margin: 0 0 32px; display: flex; flex-direction: column; gap: 8px; }
.recommend-list li { font-size: 1.4rem; color: var(--espresso); line-height: 1.7; }

/* お問い合わせ */
.contact-wrap { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; }
.contact-tel-block { background: var(--sand); border-radius: 12px; padding: 24px; text-align: center; }
.contact-tel-num a { font-size: 2.8rem; font-weight: 700; color: var(--espresso); text-decoration: none; }

/* お知らせ一覧 */
.news-archive-list { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.news-archive-item { display: flex; align-items: flex-start; gap: 12px; background: var(--white); border: 1px solid var(--linen); border-radius: 8px; padding: 14px; text-decoration: none; color: inherit; transition: background .15s; }
.news-archive-item:hover { background: var(--sand); }
.news-archive-item .news-ttl { font-size: 1.4rem; color: var(--espresso); flex: 1; line-height: 1.5; }
.news-pagination { margin-top: 24px; text-align: center; }
.no-posts { font-size: 1.4rem; color: var(--hint); padding: 32px 0; text-align: center; }

/* 施設リスト */
.facility-list { padding-left: 1.5em; margin: 0 0 32px; display: flex; flex-direction: column; gap: 8px; }
.facility-list li { font-size: 1.4rem; color: var(--espresso); line-height: 1.7; }

/* Googleマップ */
.map-wrap { width: 100%; border-radius: 12px; overflow: hidden; }

/* ドクタータグ */
.doctor-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.doctor-tags .tag { background: var(--white); border: 1px solid var(--linen); border-radius: 20px; padding: 3px 12px; font-size: 1.1rem; color: var(--muted); }

/* ニュースタブ */
.news-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.news-tab { padding: 8px 20px; border: 1px solid var(--linen); border-radius: 20px; background: var(--white); color: var(--muted); font-size: 1.3rem; cursor: pointer; transition: background .15s, color .15s; }
.news-tab.is-active { background: var(--gold); color: var(--white); border-color: var(--gold); }

/* 日付・カテゴリ */
.news-date { font-size: 1.2rem; color: var(--hint); white-space: nowrap; padding-top: 2px; }
.news-cat { font-size: 1.1rem; background: var(--sand); color: var(--gold); border-radius: 4px; padding: 2px 8px; white-space: nowrap; }

/* ダイヤモンドオーバーレイ対策（reservation_area2 等の z-index 競合） */
#room { position: relative; z-index: 1; }
.btn-ghost { position: relative; z-index: 2; }

/* 診療方針 */
.policy-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }
.policy-item { background: var(--sand); border-radius: 10px; padding: 16px 20px; border-left: 3px solid var(--gold); }
.policy-title { font-size: 1.5rem; font-weight: 700; color: var(--deep); margin: 0 0 8px; }

/* 施設写真1枚 */
.clinic-facility-photo { margin: 24px 0 32px; overflow: hidden; }
.clinic-facility-photo img { width: 100%; max-height: 320px; object-fit: cover; display: block; }
.facility-caption { font-size: 1.2rem; color: var(--hint); margin: 8px 0 0; line-height: 1.7; }

/* 個室ギャラリー 3枚横並び */
.clinic-room-gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 0 0 40px; }
.clinic-room-item { overflow: hidden; }
.clinic-room-item img { width: 100%; height: 160px; object-fit: cover; display: block; }
.clinic-room-item .facility-caption { background: var(--ivory); padding: 6px 10px; font-size: 1.2rem; color: var(--muted); }

/* HOME アクセス 診療時間表 */
.access-hours { margin: 16px 0 12px; }
.access-hours .hours-table { background: #fff; border-radius: 8px; overflow: hidden; }
.access-hours .hours-note { font-size: 1.1rem; padding-left: 4px; }

/* 医療DXボックス */
.dx-box { margin-top: 48px; background: var(--ivory); border: 1px solid var(--linen); border-radius: 14px; padding: 28px 32px; }
.dx-title { font-size: 1.8rem; font-weight: 700; color: var(--espresso); margin: 0 0 12px; border: none; padding: 0; }
.dx-title::after, .dx-title::before { display: none; }
.dx-lead { font-size: 1.4rem; color: var(--muted); margin-bottom: 16px; }
.dx-list { padding-left: 1.8em; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.dx-list li { font-size: 1.3rem; color: var(--espresso); line-height: 1.7; }

/* 歯科医師ページ PC版フォント拡大 */
.page-container--doctor .docpro-msg { font-size: 1.6rem; line-height: 2.0; }
.page-container--doctor .docpro-timeline li { font-size: 1.4rem; }
.page-container--doctor .docpro-list li { font-size: 1.4rem; }
.page-container--doctor .docpro-name { font-size: 2.8rem; }
.page-container--doctor .docpro-role { font-size: 1.3rem; }

/* 学校歯科医サブリスト */
.docpro-school-list { list-style: none; padding: 0; margin: 4px 0 0 12px; display: flex; flex-direction: column; gap: 2px; }
.docpro-school-list li { font-size: 1.2rem; color: var(--muted); }
.docpro-school-list li::before { content: "—　"; color: var(--hint); }

/* Instagramボタン */
.btn-insta { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); color: #fff !important; border-radius: 10px; text-decoration: none !important; font-size: 1.4rem; transition: opacity .2s; }
.btn-insta:hover { opacity: .85; }
.insta-icon { display: flex; align-items: center; flex-shrink: 0; }
.insta-text { display: flex; flex-direction: column; gap: 1px; line-height: 1.2; font-size: 1.3rem; }
.insta-text strong { font-size: 1.5rem; }
.insta-cta { font-size: 1.1rem; background: rgba(255,255,255,.2); padding: 3px 8px; border-radius: 20px; white-space: nowrap; margin-left: 4px; }

@media (max-width: 768px) {
  .page-title { font-size: 2.2rem; }
  /* 医師紹介：写真を名前カードの左に縦長配置 */
  .docpro-card {
    display: grid;
    grid-template-columns: 90px 1fr;
    column-gap: 14px;
    row-gap: 12px;
    padding: 16px;
    align-items: start;
  }
  .docpro-figure {
    grid-column: 1;
    grid-row: 1;
    width: 90px;
    flex-shrink: initial;
    align-self: stretch;
    border-radius: 8px;
    overflow: hidden;
  }
  .docpro-figure img { width: 90px; height: 100%; min-height: 110px; object-fit: cover; }
  .docpro-body { display: contents; }
  .docpro-header { grid-column: 2; grid-row: 1; margin-bottom: 0; }
  .docpro-msg, .docpro-sec, .docpro-cta { grid-column: 1 / 3; }
  .feature-cards { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; gap: 24px; }
  .treatment-hero-img { height: 200px; }
  .hours-table { font-size: 1.1rem; }
  .hours-table th, .hours-table td { padding: 6px 4px; }
  .clinic-room-gallery { grid-template-columns: 1fr; gap: 10px; }
  .clinic-room-item img { height: 200px; }
  .dx-box { padding: 20px 16px; }
  .policy-item { padding: 16px; }
  .btn-insta { flex-wrap: wrap; gap: 8px; }
  .insta-cta { margin-left: 0; }
}

/* ============================================================
   初診の流れ
   ============================================================ */
.flow-list { display: flex; flex-direction: column; gap: 0; margin-bottom: 48px; }
.flow-item {
  display: flex; gap: 24px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--linen);
  border-radius: 14px; padding: 28px; position: relative;
}
.flow-step-badge {
  flex-shrink: 0; width: 80px; text-align: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem; letter-spacing: .1em; color: var(--hint);
  line-height: 1.2;
}
.flow-step-badge span {
  display: block; font-size: 3rem; font-weight: 700;
  color: var(--gold); line-height: 1;
}
.flow-title {
  font-size: 2rem; font-weight: 700; color: var(--espresso);
  margin: 0 0 10px;
}
.flow-title::after, .flow-title::before { display: none; }
.flow-text { font-size: 1.4rem; color: var(--muted); line-height: 1.85; margin: 0; }
.flow-arrow {
  text-align: center; font-size: 2.4rem; color: var(--linen);
  padding: 8px 0; line-height: 1;
}
.flow-cta-btn {
  display: inline-flex; flex-direction: column;
  margin-top: 16px; padding: 14px 24px;
  background: var(--gold); color: var(--white) !important;
  border-radius: 10px; text-decoration: none !important;
  font-weight: 700; font-size: 1.5rem; line-height: 1.4;
  transition: background .2s;
}
.flow-cta-btn:hover { background: var(--deep); }
.flow-cta-sub {
  font-size: 1.2rem; font-weight: 400;
  opacity: .85; margin-top: 4px;
}
.flow-after {
  margin-top: 0; padding: 16px 20px;
  background: var(--sand); border-radius: 10px;
  border-left: 3px solid var(--gold);
}
.flow-after .flow-after-title {
  font-size: 1.5rem; font-weight: 700; color: var(--deep);
  margin: 0 0 8px; padding: 0; border: none;
}
.flow-after .flow-after-title::after { display: none; }

@media (max-width: 768px) {
  .flow-item { flex-direction: column; gap: 12px; padding: 20px; }
  .flow-step-badge { display: flex; align-items: center; gap: 8px; width: auto; }
  .flow-step-badge span { font-size: 2.4rem; }
}

/* 自費診療セクション：初診の流れリンク */
.flow-banner-link {
  display: block;
  margin-top: 24px;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none !important;
  position: relative;
  transition: opacity .2s;
}
.flow-banner-img { width: 100%; height: auto; display: block; }
.flow-banner-link:hover { opacity: .92; }
.flow-banner-inner {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(184,149,106,0.82) 0%, rgba(184,149,106,0.5) 50%, transparent 75%);
  display: flex; align-items: center;
  padding: 28px 32px;
}
.flow-banner-text { max-width: 360px; }
.flow-banner-eyebrow {
  font-size: 2.4rem; font-weight: 400; color: #FDFAF6;
  margin: 0 0 8px; display: flex; align-items: baseline; gap: 10px;
}
.flow-banner-eyebrow span {
  font-size: 1.1rem; font-weight: 400; letter-spacing: .16em;
  opacity: .85;
}
.flow-banner-body {
  font-size: 1.3rem; color: rgba(253,250,246,.9);
  line-height: 1.7; margin: 0 0 14px;
}
.flow-banner-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 1.3rem; font-weight: 700; color: #FDFAF6;
  border-bottom: 1px solid rgba(253,250,246,.6); padding-bottom: 2px;
}
@media (min-width: 768px) {
  .flow-banner-link { max-width: 1000px; margin-left: auto; margin-right: auto; }
  .flow-banner-eyebrow { font-size: 3rem; }
  .flow-banner-eyebrow span { font-size: 1.2rem; }
  .flow-banner-body { font-size: 1.5rem; }
}
br.sp-only { display: none; }
@media (max-width: 768px) {
  br.sp-only { display: inline; }
  .flow-banner-inner { padding: 14px 20px; }
  .flow-banner-text { max-width: 62%; }
  .flow-banner-eyebrow { font-size: 1.5rem; }
  .flow-banner-body { font-size: 1.2rem; line-height: 1.6; margin-bottom: 8px; }
  .flow-banner-btn { font-size: 1.2rem; font-weight: 400; }
}

.flow-images {
  display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap;
}
.flow-images .flow-img-item {
  flex: 1; min-width: 0; border-radius: 10px; overflow: hidden;
}
.flow-images .flow-img-item img {
  width: 100%; height: 240px; object-fit: cover; display: block;
}
.flow-images--single .flow-img-item {
  flex: 0 0 280px; max-width: 280px;
}
.flow-images--single .flow-img-item img { height: 200px; }
@media (max-width: 768px) {
  .flow-images { gap: 8px; }
  .flow-images .flow-img-item img { height: 120px; }
  .flow-images--single .flow-img-item { flex: 0 0 100%; max-width: 100%; }
}

/* ============================================================
   来院注意バナー
   ============================================================ */
.clinic-notice {
  background: transparent;
  padding: 14px 16px;
}
.clinic-notice-inner {
  max-width: 1000px; margin: 0 auto;
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--white);
  border: 1px solid var(--linen);
  border-left: 3px solid var(--hint);
  border-radius: 8px;
  padding: 14px 18px;
}
.clinic-notice-icon {
  color: var(--hint); flex-shrink: 0; margin-top: 1px;
}
.clinic-notice-text { flex: 1; }
.clinic-notice-title {
  font-size: 1.2rem; font-weight: 700;
  color: var(--muted); letter-spacing: .06em;
  margin: 0 0 4px;
}
.clinic-notice-body {
  font-size: 1.25rem; color: var(--muted);
  line-height: 1.7; margin: 0;
}
.clinic-notice-body strong {
  color: var(--espresso); font-weight: 700;
}

@media (min-width: 769px) {
  .clinic-notice { padding: 16px 40px; }
  .clinic-notice-inner { padding: 14px 24px; }
  .clinic-notice-body { font-size: 1.35rem; }
}

/* フッターナビ：スマホ版の区切り棒を非表示 */
@media (max-width: 768px) {
  .footer_global_nav > ul > li,
  .footer_global_nav > ul > li + li { border: none !important; }
  .footer_global_nav > ul > li::before,
  .footer_global_nav > ul > li:not(:first-child)::before { content: none !important; display: none !important; }
}

/* ============================================================
   院内技工ページ
   ============================================================ */
.lab-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 48px;
}
.lab-feature-card {
  background: var(--white);
  border: 1px solid var(--linen);
  border-radius: 14px;
  padding: 28px;
}
.lab-feature-card--wide {
  grid-column: 1 / -1;
}
.lab-feature-icon {
  width: 56px; height: 56px;
  background: var(--sand);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  margin-bottom: 16px;
}
.lab-feature-title {
  font-size: 1.8rem; font-weight: 700;
  color: var(--espresso); margin: 0 0 12px;
}
.lab-feature-title::after { display: none; }
.lab-feature-text {
  font-size: 1.35rem; color: var(--muted);
  line-height: 1.85; margin: 0;
}
.lab-merit-list {
  display: flex; flex-direction: column;
  gap: 10px; margin-top: 20px;
}
.lab-merit-item {
  display: flex; align-items: flex-start;
  gap: 10px; font-size: 1.35rem; color: var(--espresso);
  line-height: 1.6;
}
.lab-merit-icon {
  color: var(--gold); font-weight: 700;
  flex-shrink: 0; margin-top: 1px;
}

@media (max-width: 768px) {
  .lab-feature-grid { grid-template-columns: 1fr; }
  .lab-feature-card--wide { grid-column: auto; }
  .lab-feature-card { padding: 20px; }
}

/* === Google マップ ファサード === */
/* ファサード表示中は固定高さを解除してコンテンツに合わせる */
.map-wrap:has(.map-facade) {
  height: auto;
}
.map-facade {
  width: 100%;
  background: #e8e0d6;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s;
  padding: 32px 16px;
}
.map-facade:hover { background: #ddd4c8; }
.map-facade-inner {
  text-align: center;
  padding: 24px;
}
.map-facade-pin { display: block; margin: 0 auto 12px; }
.map-facade-name {
  font-size: 1.6rem; font-weight: 700;
  color: var(--espresso); margin: 0 0 4px;
}
.map-facade-addr {
  font-size: 1.3rem; color: var(--muted); margin: 0 0 16px;
}
.map-facade-btn {
  display: inline-block;
  background: var(--gold); color: #fff;
  font-size: 1.3rem; padding: 8px 20px;
  border-radius: 4px;
}
