@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}

/* ============================================================
   平和歯科医院 トップページ実装 CSS（バッチ1：ヘッダーCTA・固定バー・
   ファーストビュー・悩みカード）
   ============================================================ */

/* ---------- 1. デザイントークン（承認済みグリーン配色） ---------- */
:root {
  --hw-green-deep: #2F5D50;
  --hw-green-deep-dark: #22453B;
  --hw-green-fresh: #5FBF8F;
  --hw-green-fresh-dark: #3F9E6E;
  --hw-bg: #FAF8F3;
  --hw-bg-tint-green: #EEF5F0;
  --hw-bg-tint-warm: #F6F1E7;
  --hw-ink: #33383A;
  --hw-ink-sub: #6B7274;
  --hw-line: #E0DED2;
  --hw-radius-btn: 8px;
  --hw-radius-card: 12px;
  --hw-shadow-soft: 0 4px 16px rgba(47,93,80,0.08);
  --hw-shadow-hover: 0 8px 24px rgba(47,93,80,0.14);
  --hw-font-body: 'Noto Sans JP', sans-serif;
  --hw-font-heading: 'Zen Kaku Gothic New', sans-serif;
  --hw-font-num: 'Oswald', 'Poppins', sans-serif;
}

/* ---------- 2. トップページ表示クリーンアップ（保険。上記0-(B)参照） ---------- */
body.page-id-23.front-top-page #toc,
body.page-id-23.front-top-page .toc,
body.page-id-23.front-top-page .sns-share,
body.page-id-23.front-top-page .article-share,
body.page-id-23.front-top-page .post-date,
body.page-id-23.front-top-page .entry-date,
body.page-id-23.front-top-page .entry-title,
body.page-id-23.front-top-page .eye-catch-wrap,
body.page-id-23.front-top-page #sidebar,
body.page-id-23.front-top-page .sidebar {
  display: none !important;
}
body.page-id-23.front-top-page #content .container,
body.page-id-23.front-top-page #main {
  width: 100% !important;
  float: none !important;
}

/* ---------- 3. サイト全体：Webフォント適用 ---------- */
body {
  font-family: var(--hw-font-body);
}
h1, h2, h3 {
  font-family: var(--hw-font-heading);
}

/* ---------- 4. ヘッダーCTAバー（全ページ共通） ---------- */
.hd-cta-bar {
  background: var(--hw-green-deep);
  color: #fff;
}
.hd-cta-bar__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}
.hd-cta-bar__tel {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
}
.hd-cta-bar__tel-icon { font-size: 18px; }
.hd-cta-bar__tel-label {
  display: block;
  font-size: 11px;
  color: #CFE0DD;
  line-height: 1.3;
}
.hd-cta-bar__tel-num {
  display: block;
  font-family: var(--hw-font-num);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
}
.hd-cta-bar__form {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: var(--hw-radius-btn);
  background: var(--hw-green-fresh);
  color: var(--hw-green-deep-dark);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.hd-cta-bar__form:hover {
  background: var(--hw-green-fresh-dark);
  color: #fff;
}
@media (max-width: 600px) {
  .hd-cta-bar__inner { padding: 8px 14px; justify-content: center; }
  .hd-cta-bar__tel-label { display: none; }
  .hd-cta-bar__tel-num { font-size: 15px; }
  .hd-cta-bar__form { padding: 7px 14px; font-size: 13px; }
}

/* ---------- 5. スマホ固定フッターCTAバー（全ページ共通・スマホのみ） ---------- */
.sp-fixed-cta { display: none; }
@media (max-width: 768px) {
  .sp-fixed-cta {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 9999;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.12);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .sp-fixed-cta__btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
  }
  .sp-fixed-cta__btn--tel {
    background: var(--hw-green-deep);
    color: #fff;
  }
  .sp-fixed-cta__btn--form {
    background: var(--hw-green-fresh);
    color: var(--hw-green-deep-dark);
  }
  .sp-fixed-cta__icon { font-size: 16px; }
  /* 固定バーの高さぶん、本文最下部が隠れないように余白を確保 */
  body { padding-bottom: 60px; }
}

/* ---------- 6. ファーストビュー ---------- */
.fv {
  background: var(--hw-bg-tint-green);
  padding: 96px 24px;
  text-align: center;
}
.fv__catch {
  font-family: var(--hw-font-heading);
  font-weight: 700;
  font-size: 34px;
  color: var(--hw-green-deep);
  line-height: 1.6;
  margin: 0 0 20px;
}
.fv__sub {
  font-size: 16px;
  color: var(--hw-ink-sub);
  line-height: 1.9;
  margin: 0 0 36px;
}
.fv__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.fv__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: var(--hw-radius-btn);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  box-shadow: var(--hw-shadow-soft);
  transition: box-shadow .2s ease, transform .2s ease, background .2s ease, color .2s ease;
}
.fv__btn--tel {
  background: var(--hw-green-deep);
  color: #fff;
}
.fv__btn--tel:hover {
  background: var(--hw-green-deep-dark);
  transform: translateY(-1px);
  box-shadow: var(--hw-shadow-hover);
}
.fv__btn--form {
  background: var(--hw-green-fresh);
  color: var(--hw-green-deep-dark);
}
.fv__btn--form:hover {
  background: var(--hw-green-fresh-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--hw-shadow-hover);
}
@media (max-width: 600px) {
  .fv { padding: 56px 20px; }
  .fv__catch { font-size: 24px; }
}

/* ---------- 7. 悩み導入リード文 ---------- */
.worry-lead {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 8px;
  text-align: center;
  font-size: 16px;
  color: var(--hw-ink);
  line-height: 1.9;
}

/* ---------- 8. 悩みカード（4〜9） ---------- */
.worry-cards {
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 24px 96px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.worry-card {
  display: block;
  background: #fff;
  border-radius: var(--hw-radius-card);
  box-shadow: var(--hw-shadow-soft);
  padding: 28px 24px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s ease, transform .2s ease;
}
.worry-card:hover {
  box-shadow: var(--hw-shadow-hover);
  transform: translateY(-2px);
}
.worry-card__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--hw-bg-tint-green);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 16px;
}
.worry-card__title {
  font-family: var(--hw-font-heading);
  font-weight: 700;
  font-size: 17px;
  color: var(--hw-green-deep);
  margin: 0 0 8px;
}
.worry-card__desc {
  font-size: 13.5px;
  color: var(--hw-ink-sub);
  line-height: 1.8;
  margin: 0;
}
@media (max-width: 900px) {
  .worry-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .worry-cards { grid-template-columns: 1fr; padding: 24px 20px 64px; }
  .worry-lead { padding: 40px 20px 4px; }
}


/* ============================================================
   平和歯科医院 トップページ実装 CSS（バッチ2：強み・院長紹介・
   お知らせ・アクセス・最終CTA）
   ============================================================ */

/* ---------- 9. 医院の強み ---------- */
.strengths {
  background: var(--hw-bg-tint-warm);
  padding: 80px 24px;
}
.strengths__title {
  text-align: center;
  font-family: var(--hw-font-heading);
  font-weight: 700;
  font-size: 26px;
  color: var(--hw-green-deep);
  margin: 0 0 48px;
}
.strengths__list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
  padding: 0;
}
.strengths__item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: var(--hw-radius-card);
  box-shadow: var(--hw-shadow-soft);
  padding: 24px 28px;
}
.strengths__num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--hw-green-deep);
  color: #fff;
  font-family: var(--hw-font-num);
  font-weight: 600;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}
.strengths__text h3 {
  font-family: var(--hw-font-heading);
  font-size: 16px;
  color: var(--hw-green-deep);
  margin: 0 0 6px;
}
.strengths__text p {
  font-size: 14px;
  color: var(--hw-ink-sub);
  line-height: 1.8;
  margin: 0;
}
@media (max-width: 600px) {
  .strengths { padding: 56px 20px; }
  .strengths__item { padding: 20px; gap: 14px; }
}

/* ---------- 10. 院長紹介 ---------- */
.director {
  padding: 80px 24px;
  background: var(--hw-bg);
}
.director__inner {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  background: #fff;
  border-radius: var(--hw-radius-card);
  box-shadow: var(--hw-shadow-soft);
  padding: 40px;
}
.director__photo {
  flex-shrink: 0;
  width: 160px; height: 160px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--hw-bg-tint-green);
}
.director__title {
  font-family: var(--hw-font-heading);
  font-weight: 700;
  font-size: 13px;
  color: var(--hw-green-fresh-dark);
  letter-spacing: .05em;
  margin: 0 0 8px;
}
.director__name {
  font-family: var(--hw-font-heading);
  font-weight: 700;
  font-size: 22px;
  color: var(--hw-green-deep);
  margin: 0 0 16px;
}
.director__message {
  font-size: 14.5px;
  color: var(--hw-ink);
  line-height: 1.9;
  margin: 0 0 20px;
}
.director__link {
  color: var(--hw-green-deep);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 2px solid var(--hw-green-fresh);
  padding-bottom: 2px;
}
@media (max-width: 700px) {
  .director__inner { flex-direction: column; text-align: center; padding: 32px 24px; gap: 20px; }
}

/* ---------- 11. お知らせ ---------- */
.news-section {
  padding: 80px 24px;
  background: var(--hw-bg-tint-green);
}
.news-section .section-heading {
  text-align: center;
  font-family: var(--hw-font-heading);
  font-weight: 700;
  font-size: 26px;
  color: var(--hw-green-deep);
  margin: 0 0 40px;
}
.news-section .wp-block-latest-posts {
  max-width: 780px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}
.news-section .wp-block-latest-posts__post {
  background: #fff;
  border-radius: var(--hw-radius-card);
  box-shadow: var(--hw-shadow-soft);
  padding: 20px 24px;
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}
.news-section .wp-block-latest-posts__post-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--hw-ink);
  text-decoration: none;
}
.news-section .wp-block-latest-posts__post-date {
  flex-shrink: 0;
  font-family: var(--hw-font-num);
  font-size: 13px;
  color: var(--hw-ink-sub);
}
.news-section .section-more-link {
  display: block;
  text-align: center;
  margin-top: 8px;
  color: var(--hw-green-deep);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 2px solid var(--hw-green-fresh);
  padding-bottom: 2px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 600px) {
  .news-section { padding: 56px 20px; }
  .news-section .wp-block-latest-posts__post { flex-direction: column; gap: 6px; }
}

/* ---------- 12. アクセス ---------- */
.access {
  padding: 80px 24px;
  background: var(--hw-bg);
}
.access__title {
  text-align: center;
  font-family: var(--hw-font-heading);
  font-weight: 700;
  font-size: 26px;
  color: var(--hw-green-deep);
  margin: 0 0 40px;
}
.access__grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: stretch;
}
.access__map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  border-radius: var(--hw-radius-card);
  box-shadow: var(--hw-shadow-soft);
}
.access__info {
  background: #fff;
  border-radius: var(--hw-radius-card);
  box-shadow: var(--hw-shadow-soft);
  padding: 32px;
}
.access__info table {
  width: 100%;
  border-collapse: collapse;
}
.access__info th, .access__info td {
  text-align: left;
  padding: 12px 0;
  border-bottom: 1px solid var(--hw-line);
  font-size: 14.5px;
  vertical-align: top;
}
.access__info th {
  width: 100px;
  color: var(--hw-green-deep);
  font-weight: 700;
}
.access__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 12px 24px;
  border-radius: var(--hw-radius-btn);
  background: var(--hw-green-deep);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}
@media (max-width: 800px) {
  .access__grid { grid-template-columns: 1fr; }
  .access__map iframe { min-height: 260px; }
}

/* ---------- 13. 最終CTA（フッター手前・全ページ共通／ウィジェットで設置） ---------- */
.final-cta {
  background: var(--hw-green-deep);
  color: #fff;
  padding: 64px 24px;
  text-align: center;
}
.final-cta__title {
  font-family: var(--hw-font-heading);
  font-weight: 700;
  font-size: 24px;
  margin: 0 0 28px;
}
.final-cta__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.final-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: var(--hw-radius-btn);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}
.final-cta__btn--tel {
  background: #fff;
  color: var(--hw-green-deep);
}
.final-cta__btn--form {
  background: var(--hw-green-fresh);
  color: var(--hw-green-deep-dark);
}
.final-cta__meta {
  font-size: 13px;
  color: #CFE0DD;
  line-height: 2;
}
@media (max-width: 600px) {
  .final-cta { padding: 48px 20px; }
  .final-cta__title { font-size: 20px; }
}


/* ---------- 14. アクセントカラー（かなえ歯科スタイル移植・グリーン基調） ---------- */
:root {
  --hw-accent-gold: #EDD38A;
  --hw-accent-gold-deep: #C9A227;
  --hw-accent-terracotta: #CF7A63;
}

/* ---------- 15. ページトップボタン（丸型・固定） ---------- */
.hw-page-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--hw-green-deep, #2f5d50);
  box-shadow: var(--hw-shadow-soft, 0 4px 12px rgba(0,0,0,0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s ease;
  z-index: 9999;
  text-decoration: none;
}
.hw-page-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.hw-page-top:hover {
  background-color: var(--hw-green-fresh-dark, #256b4e);
}
.hw-page-top__arrow {
  display: block;
  width: 12px;
  height: 12px;
  border-top: 3px solid #ffffff;
  border-right: 3px solid #ffffff;
  transform: rotate(-45deg);
  margin-top: 4px;
}
@media (max-width: 768px) {
  .hw-page-top {
    width: 44px;
    height: 44px;
    right: 12px;
    bottom: 70px;
  }
}

/* ---------- 16. サブページ共通ヘッダーバナー（かなえ歯科パターン移植） ---------- */
.hw-page-banner {
  position: relative;
  width: 100%;
  min-height: 220px;
  background-color: var(--hw-green-deep, #2f5d50);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
}
.hw-page-banner__box {
  background-color: rgba(47, 93, 80, 0.82);
  color: #ffffff;
  padding: 28px 40px;
  margin-right: 6%;
  text-align: center;
  border-radius: 4px;
}
.hw-page-banner__en {
  display: block;
  font-family: var(--hw-font-num, sans-serif);
  font-size: 2.4rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  line-height: 1.1;
}
.hw-page-banner__ja {
  display: block;
  font-family: var(--hw-font-heading, sans-serif);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  margin-top: 8px;
}
@media (max-width: 768px) {
  .hw-page-banner {
    min-height: 150px;
    justify-content: center;
  }
  .hw-page-banner__box {
    margin-right: 0;
    padding: 18px 24px;
  }
  .hw-page-banner__en {
    font-size: 1.6rem;
  }
}


/* ---------- 17. トップページ セクション背景リズムの強化（かなえ歯科の手法：差し色を追加） ---------- */
/* 既存の緑・ベージュ系のリズムに、ゴールドとテラコッタの淡い差し色を1セクションずつ追加し、単調さを避ける */
.worry-lead,
.worry-cards {
  background-color: #FBF4E3;
}
.director {
  background-color: #FBEFEC;
}


/* ---------- 18. 院長紹介 円形写真＋バッジ（かなえ歯科スタイル移植） ---------- */
.director__photo-wrap {
  position: relative;
  flex-shrink: 0;
  width: 160px;
  height: 160px;
}
.director__photo {
  display: block;
}
.director__badge {
  position: absolute;
  bottom: -4px;
  right: -8px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--hw-accent-gold-deep, #C9A227);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--hw-shadow-soft, 0 4px 12px rgba(0,0,0,0.15));
  border: 3px solid #ffffff;
}
@media (max-width: 768px) {
  .director__photo-wrap {
    width: 120px;
    height: 120px;
  }
  .director__badge {
    width: 46px;
    height: 46px;
    font-size: 9px;
    right: -6px;
  }
}


/* ---------- 19. 英字コンデンスフォント演出（かなえ歯科スタイル：Oswald使用） ---------- */
/* --hw-font-num を 'Oswald' 基調に変更。適用箇所：CTAバー電話番号／strengths番号バッジ／news日付／page-banner英字タイトル */
.hw-page-banner__en {
  font-family: var(--hw-font-num);
  letter-spacing: 0.08em;
}


/* ============================================================
   20. v4 構造改革レイヤー（フルブリード骨格・かなえ歯科型）
   ============================================================ */

/* --- 20-1. コンテナの箱を解除（フルブリード化） --- */
body {
  background: #ffffff;
}
#content,
#content-in,
#main {
  background: transparent;
}
#content-in {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
}
#main {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.home .article,
.home .entry-content {
  margin: 0;
}
.home .entry-content > * {
  margin-top: 0;
  margin-bottom: 0;
}
.home .sns-share,
.home .sns-follow,
.home .author-box,
.home .article-footer,
.home .date-tags,
.home .post-update,
.home .ss-top,
.home .ss-bottom {
  display: none !important;
}
.home .entry-content h2 {
  background: none;
  padding: 0;
  border-radius: 0;
}

/* --- 20-2. ヘッダー1行化 --- */
.tagline {
  display: none;
}
#header-container {
  border-bottom: 1px solid var(--hw-line, #E0DED2);
  background: #fff;
}
.site-name-text {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--hw-green-deep, #2F5D50);
}
#header-in {
  padding: 0;
}
@media (min-width: 1024px) {
  #header-container-in.hlt-center-logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    min-height: 72px;
  }
  #header-container-in.hlt-center-logo .logo-header {
    padding: 0;
    text-align: left;
  }
  #navi {
    margin-left: auto;
  }
  #navi .menu-pc {
    display: flex;
    align-items: center;
  }
  #navi .menu-pc > li {
    height: 72px;
    line-height: 72px;
    position: relative;
  }
  #navi .menu-pc > li > a {
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 0 14px;
    height: 72px;
    line-height: 72px;
    color: #4a524f;
  }
  #navi .menu-pc > li + li::before {
    content: "/";
    position: absolute;
    left: -3px;
    top: 0;
    color: var(--hw-line, #E0DED2);
    font-size: 12px;
  }
  #navi .menu-pc > li > a:hover {
    background: none;
    color: var(--hw-green-deep, #2F5D50);
  }
}

/* --- 20-3. CTAバーのスリム化 --- */
.hd-cta-bar {
  background: var(--hw-green-deep, #2F5D50);
}
.hd-cta-bar__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  padding: 10px 32px;
}

/* --- 20-4. 共通コンポーネント --- */
.hw2-in {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}
.hw2-sec {
  padding: clamp(64px, 9vw, 112px) 0;
}
.hw2-head {
  margin-bottom: clamp(36px, 5vw, 56px);
}
.hw2-head__en {
  display: block;
  font-family: var(--hw-font-num, 'Oswald', sans-serif);
  font-size: clamp(42px, 6vw, 66px);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.05;
  color: var(--hw-green-deep, #2F5D50);
  text-transform: uppercase;
}
.hw2-head__ja {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: #8b9490;
}
.hw2-poem {
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 2.7;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: #4a524f;
}
.hw2-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid currentColor;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}
.hw2-arrow::before {
  content: "";
  width: 12px;
  height: 7px;
  border-bottom: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: skewX(45deg) translateY(-2px);
}
.hw2-more {
  margin-top: 40px;
}
.hw2-more a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--hw-green-deep, #2F5D50);
  text-decoration: none;
  border-bottom: 1px solid var(--hw-green-deep, #2F5D50);
  padding-bottom: 10px;
}
.hw2-more a:hover {
  opacity: 0.65;
}

/* --- 20-5. ヒーロー --- */
.hw2-fv {
  display: grid;
  grid-template-columns: 54% 1fr;
  min-height: min(78vh, 720px);
}
.hw2-fv__media {
  position: relative;
  overflow: hidden;
}
.hw2-fv__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hw2-fv__note {
  position: absolute;
  right: 10px;
  bottom: 8px;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.hw2-fv__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 88px) clamp(28px, 5vw, 80px);
  background: #fff;
}
.hw2-fv__en {
  font-family: var(--hw-font-num, 'Oswald', sans-serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--hw-green-fresh, #5FBF8F);
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hw2-fv__catch {
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: 0.12em;
  color: var(--hw-green-deep-dark, #22453B);
  margin-bottom: 26px;
}
.hw2-fv__lead {
  font-size: 14.5px;
  line-height: 2.4;
  letter-spacing: 0.08em;
  font-weight: 500;
  color: var(--hw-ink-sub, #6B7274);
  margin-bottom: 40px;
}
.hw2-fv__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hw2-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 220px;
  padding: 14px 26px;
  text-decoration: none;
  text-align: center;
  gap: 4px;
}
.hw2-btn__sub {
  font-size: 11px;
  letter-spacing: 0.16em;
  opacity: 0.75;
}
.hw2-btn__main {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-family: var(--hw-font-num, 'Oswald', sans-serif);
}
.hw2-btn--tel {
  background: var(--hw-green-deep, #2F5D50);
  color: #fff;
}
.hw2-btn--form {
  background: #fff;
  color: var(--hw-green-deep, #2F5D50);
  border: 1px solid var(--hw-green-deep, #2F5D50);
}
.hw2-btn:hover {
  opacity: 0.8;
  color: inherit;
}
.hw2-btn--tel:hover { color: #fff; }
.hw2-btn--form:hover { color: var(--hw-green-deep, #2F5D50); }

/* --- 20-6. お悩みセクション --- */
.hw2-worry {
  background: var(--hw-bg-tint-warm, #F6F1E7);
}
.hw2-worry__grid {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hw-line, #E0DED2);
  border: 1px solid var(--hw-line, #E0DED2);
}
.hw2-worry__item a {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fff;
  padding: 34px 30px 30px;
  height: 100%;
  text-decoration: none;
  color: inherit;
  transition: background 0.25s;
}
.hw2-worry__item a:hover {
  background: var(--hw-bg-tint-green, #EEF5F0);
}
.hw2-worry__icon {
  width: 44px;
  height: 44px;
  color: var(--hw-green-deep, #2F5D50);
}
.hw2-worry__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.hw2-worry__t {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--hw-green-deep-dark, #22453B);
  line-height: 1.6;
}
.hw2-worry__d {
  font-size: 13.5px;
  line-height: 2;
  letter-spacing: 0.04em;
  color: var(--hw-ink-sub, #6B7274);
}

/* --- 20-7. 選ばれる理由 --- */
.hw2-feature {
  display: grid;
  grid-template-columns: 1fr 46%;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  margin-bottom: clamp(56px, 8vw, 96px);
}
.hw2-feature--rev {
  grid-template-columns: 46% 1fr;
}
.hw2-feature--rev .hw2-feature__text {
  order: 2;
}
.hw2-feature--rev .hw2-feature__media {
  order: 1;
}
.hw2-feature__numrow {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 18px;
}
.hw2-feature__label {
  font-family: var(--hw-font-num, 'Oswald', sans-serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--hw-green-fresh, #5FBF8F);
  text-transform: uppercase;
}
.hw2-feature__num {
  font-family: var(--hw-font-num, 'Oswald', sans-serif);
  font-size: clamp(56px, 7vw, 88px);
  font-weight: 500;
  line-height: 1;
  color: var(--hw-green-deep, #2F5D50);
}
.hw2-feature__title {
  font-size: clamp(21px, 2.2vw, 27px);
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: 0.08em;
  color: var(--hw-green-deep-dark, #22453B);
  margin: 0 0 18px;
  padding: 0;
  background: none;
  border: none;
}
.hw2-feature__desc {
  font-size: 15px;
  line-height: 2.3;
  letter-spacing: 0.06em;
  color: #55605c;
  font-weight: 500;
}
.hw2-feature__media {
  margin: 0;
}
.hw2-feature__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.hw2-minis {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px);
}
.hw2-minis li {
  border-top: 2px solid var(--hw-green-deep, #2F5D50);
  padding-top: 22px;
}
.hw2-minis__num {
  display: block;
  font-family: var(--hw-font-num, 'Oswald', sans-serif);
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
  color: var(--hw-green-fresh, #5FBF8F);
  margin-bottom: 14px;
}
.hw2-minis__t {
  display: block;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--hw-green-deep-dark, #22453B);
  margin-bottom: 10px;
}
.hw2-minis__d {
  display: block;
  font-size: 13.5px;
  line-height: 2.1;
  letter-spacing: 0.04em;
  color: var(--hw-ink-sub, #6B7274);
}

/* --- 20-8. ドクター紹介 --- */
.hw2-doctor {
  background: var(--hw-bg-tint-green, #EEF5F0);
}
.hw2-doctor__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
}
.hw2-doc {
  background: #fff;
  padding: clamp(32px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hw2-doc__photo-wrap {
  position: relative;
  width: 150px;
  height: 150px;
  margin-bottom: 24px;
}
.hw2-doc__photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.hw2-doc__badge {
  position: absolute;
  bottom: -4px;
  right: -10px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--hw-accent-gold-deep, #C9A227);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.35;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 3px solid #fff;
}
.hw2-doc__badge--imp {
  background: var(--hw-green-deep, #2F5D50);
}
.hw2-doc__role {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--hw-green-fresh, #5FBF8F);
  margin-bottom: 6px;
}
.hw2-doc__name {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--hw-green-deep-dark, #22453B);
  margin-bottom: 16px;
}
.hw2-doc__kana {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: #8b9490;
  margin-left: 12px;
}
.hw2-doc__bio {
  font-size: 13.5px;
  line-height: 2.2;
  letter-spacing: 0.05em;
  color: #55605c;
}

/* --- 20-9. 写真ストリップ --- */
.hw2-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.hw2-strip figure {
  margin: 0;
  position: relative;
  overflow: hidden;
}
.hw2-strip img {
  width: 100%;
  height: clamp(180px, 24vw, 300px);
  object-fit: cover;
  display: block;
}
.hw2-strip figcaption {
  position: absolute;
  left: 22px;
  bottom: 14px;
  font-family: var(--hw-font-num, 'Oswald', sans-serif);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
  line-height: 1;
}
.hw2-strip__note {
  text-align: right;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #a0a8a4;
  padding: 6px 16px 0;
}

/* --- 20-10. NEWS --- */
.hw2-newshead {
  padding-bottom: 0;
}
.home .wp-block-latest-posts {
  max-width: 1140px;
  margin: 0 auto !important;
  padding: 8px clamp(20px, 4vw, 48px) 0 !important;
  list-style: none;
}
.home .wp-block-latest-posts li {
  display: flex;
  align-items: baseline;
  gap: clamp(16px, 3vw, 40px);
  padding: 20px 4px;
  border-bottom: 1px solid var(--hw-line, #E0DED2);
  margin: 0;
}
.home .wp-block-latest-posts li:first-child {
  border-top: 1px solid var(--hw-line, #E0DED2);
}
.home .wp-block-latest-posts__post-date {
  order: -1;
  font-family: var(--hw-font-num, 'Oswald', sans-serif);
  font-size: 13.5px;
  letter-spacing: 0.12em;
  color: #9aa29e;
  min-width: 92px;
  flex-shrink: 0;
}
.home .wp-block-latest-posts li > a {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #4a524f;
  text-decoration: none;
}
.home .wp-block-latest-posts li > a:hover {
  color: var(--hw-green-deep, #2F5D50);
}
.hw2-more--news {
  padding-top: 32px;
  padding-bottom: clamp(64px, 9vw, 112px);
  margin-top: 0;
}

/* --- 20-11. アクセス（既存accessクラスの上書き） --- */
.hw2-access {
  background: var(--hw-bg, #FAF8F3);
}
.hw2-access__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.hw2-access__map iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}
.hw2-access__info table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
}
.hw2-access__info th,
.hw2-access__info td {
  border: none;
  border-bottom: 1px solid var(--hw-line, #E0DED2);
  padding: 14px 6px;
  font-size: 14px;
  letter-spacing: 0.05em;
  line-height: 1.9;
  text-align: left;
  background: none;
}
.hw2-access__info th {
  width: 96px;
  font-weight: 700;
  color: var(--hw-green-deep, #2F5D50);
  vertical-align: top;
}
.hw2-access__info td {
  color: #4a524f;
  font-weight: 500;
}
.hw2-access__btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--hw-green-deep, #2F5D50);
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 18px 34px;
  text-decoration: none;
}
.hw2-access__btn:hover {
  opacity: 0.85;
  color: #fff;
}

/* --- 20-12. レスポンシブ --- */
@media (max-width: 900px) {
  .hw2-fv {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hw2-fv__media img {
    height: min(52vw, 380px);
  }
  .hw2-worry__grid {
    grid-template-columns: 1fr;
  }
  .hw2-feature,
  .hw2-feature--rev {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hw2-feature--rev .hw2-feature__text { order: 1; }
  .hw2-feature--rev .hw2-feature__media { order: 2; }
  .hw2-minis {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hw2-doctor__grid {
    grid-template-columns: 1fr;
  }
  .hw2-access__grid {
    grid-template-columns: 1fr;
  }
  .hw2-access__map iframe {
    height: 300px;
  }
  .hw2-btn {
    width: 100%;
  }
  .hd-cta-bar__inner {
    justify-content: center;
    gap: 14px;
    padding: 8px 14px;
  }
}


/* ---------- 21. v4修正パッチ（ナビ表示・h3枠線解除・NEWS空表示フォールバック） ---------- */
@media (min-width: 1024px) {
  #navi {
    width: auto;
  }
  #navi .navi-in {
    width: auto;
    margin: 0;
    max-width: none;
  }
  #navi .menu-pc {
    flex-wrap: nowrap;
    height: 72px;
  }
  #navi .menu-pc > li {
    width: auto;
    flex-shrink: 0;
  }
  #navi .menu-pc > li > a {
    padding: 0 11px;
    font-size: 13px;
    white-space: nowrap;
  }
}
.home .entry-content h3,
.home .article h3 {
  border: none;
  padding: 0;
  background: none;
  border-radius: 0;
}
.home .entry-content h3::before,
.home .article h3::before {
  display: none;
}
.home .wp-block-latest-posts:not(:has(li))::after {
  content: "現在、お知らせはありません。";
  display: block;
  padding: 26px 4px;
  border-top: 1px solid var(--hw-line, #E0DED2);
  border-bottom: 1px solid var(--hw-line, #E0DED2);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: #8b9490;
}


/* ---------- 22. ヘッダーロゴ幅修正（ナビ押し出し防止） ---------- */
@media (min-width: 1024px) {
  #header-container-in.hlt-center-logo #header {
    width: auto;
    flex: 0 0 auto;
  }
  #header-container-in.hlt-center-logo #header-in {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
  }
  #header-container-in.hlt-center-logo #navi {
    flex: 0 1 auto;
    min-width: 0;
  }
}


/* ---------- 23. フッターCTAフルブリード化 ---------- */
.home .content-bottom-in.wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
.home .content-bottom .widget-content-bottom {
  margin: 0;
}


/* ---------- 24. モバイルでPCメニューを非表示（ハンバーガーに一本化） ---------- */
@media (max-width: 1023px) {
  #navi .menu-pc {
    display: none;
  }
  .hw2-fv__catch {
    font-size: 26px;
  }
  .hw2-head__en {
    font-size: 38px;
  }
}

@media (max-width: 1023px) {
  #navi .navi-in > .menu-mobile {
    display: none;
  }
}


/* ============================================================
   25. フォント刷新（かなえ歯科と同系のOS標準スタック）
   ============================================================ */
:root {
  --hw-font-jp: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}
body,
.article,
.hw2-fv__catch,
.hw2-fv__lead,
.hw2-poem,
.hw2-worry__t,
.hw2-worry__d,
.hw2-feature__title,
.hw2-feature__desc,
.hw2-minis__t,
.hw2-minis__d,
.hw2-doc__name,
.hw2-doc__bio,
.hw2-access__info th,
.hw2-access__info td,
#navi .menu-pc > li > a,
.site-name-text {
  font-family: var(--hw-font-jp);
}
.hw2-head__en {
  font-weight: 500;
  letter-spacing: 0.12em;
}
.hw2-fv__catch {
  font-weight: 700;
  letter-spacing: 0.14em;
}

/* ============================================================
   26. 右→左に流れる写真マーキー帯（かなえ歯科スタイル）
   ============================================================ */
.hw2-marquee {
  overflow: hidden;
}
.hw2-marquee__track {
  display: flex;
  width: max-content;
  animation: hw-marquee 48s linear infinite;
}
.hw2-marquee__group {
  display: flex;
}
.hw2-marquee img {
  height: clamp(200px, 26vw, 300px);
  width: auto;
  display: block;
}
@keyframes hw-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.hw2-marquee:hover .hw2-marquee__track {
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
  .hw2-marquee__track {
    animation: none;
  }
}


/* ---------- 27. ロゴB実装（歯シンボル＋2段ロックアップ） ---------- */
.site-name-text-link {
  display: flex !important;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}
.site-name-text-link::before {
  content: "";
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44'%3E%3Crect x='1' y='1' width='42' height='42' rx='12' fill='%232F5D50'/%3E%3Cpath d='M22 11c-2.6-1.9-6-2.4-8.3-1-2.8 1.6-3.7 4.9-2.9 8 .6 2.4 1.8 4 2.4 6.6.6 2.7 1 8.4 3.2 8.4 2 0 1.5-6.4 4.6-6.4s2.6 6.4 4.6 6.4c2.2 0 2.6-5.7 3.2-8.4.6-2.6 1.8-4.2 2.4-6.6.8-3.1-.1-6.4-2.9-8-2.3-1.4-5.7-.9-8.3 1z' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}
.site-name-text {
  display: block;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--hw-green-deep, #2F5D50);
  line-height: 1.2;
}
.site-name-text::after {
  content: "HEIWA DENTAL CLINIC";
  display: block;
  font-family: var(--hw-font-num, Oswald, sans-serif);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.4em;
  color: #8b9490;
  margin-top: 4px;
}
@media (max-width: 1023px) {
  .site-name-text-link {
    justify-content: center;
  }
}


/* ---------- 28. 診療時間表（●▲−式タイムテーブル） ---------- */
.hw2-hours {
  margin-top: clamp(36px, 5vw, 56px);
}
.hw2-hours__t {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}
.hw2-hours__t th,
.hw2-hours__t td {
  border: 1px solid var(--hw-line, #E0DED2);
  padding: 13px 6px;
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.05em;
  line-height: 1.6;
}
.hw2-hours__t thead th {
  background: var(--hw-green-deep, #2F5D50);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}
.hw2-hours__t tbody th {
  background: var(--hw-bg-tint-green, #EEF5F0);
  color: var(--hw-green-deep-dark, #22453B);
  font-weight: 600;
  white-space: nowrap;
}
.hw2-hours__t td.on {
  color: var(--hw-green-fresh-dark, #3F9E6E);
  font-size: 16px;
}
.hw2-hours__t td.half {
  color: var(--hw-accent-gold-deep, #C9A227);
  font-size: 15px;
}
.hw2-hours__t td.off {
  color: #c4c9c6;
}
.hw2-hours__note {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 2.1;
  letter-spacing: 0.05em;
  color: var(--hw-ink-sub, #6B7274);
}
@media (max-width: 600px) {
  .hw2-hours__t th,
  .hw2-hours__t td {
    padding: 10px 2px;
    font-size: 11.5px;
  }
  .hw2-hours__t tbody th {
    font-size: 11px;
  }
}


/* ============================================================
   29. 下層ページ共通レイアウト＋タイトルバナー
   ============================================================ */
body:not(.home) .article .entry-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px) clamp(64px, 9vw, 100px);
}
body:not(.home) h1.entry-title {
  background: var(--hw-green-deep, #2F5D50);
  color: #A9D4C0;
  margin: 0 0 clamp(36px, 6vw, 56px);
  padding: clamp(44px, 7vw, 72px) max(calc((100% - 860px) / 2), 24px) clamp(40px, 6vw, 60px);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3em;
  line-height: 1.4;
}
body:not(.home) h1.entry-title::before {
  content: "Information";
  display: block;
  font-family: var(--hw-font-num, Oswald, sans-serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 12px;
}
body.page-id-8 h1.entry-title::before { content: "Clinic"; }
body.page-id-11 h1.entry-title::before { content: "Medical"; }
body.page-id-13 h1.entry-title::before { content: "Advanced Care"; }
body.page-id-15 h1.entry-title::before { content: "Doctor"; }
body.page-id-17 h1.entry-title::before { content: "Access"; }
body.page-id-19 h1.entry-title::before { content: "Q&A"; }
body.page-id-21 h1.entry-title::before { content: "News"; }
body:not(.home) .date-tags,
body:not(.home) .sns-share,
body:not(.home) .sns-follow,
body:not(.home) .author-box,
body:not(.home) .article-footer,
body:not(.home) .post-update {
  display: none !important;
}
body:not(.home) .entry-content h2 {
  background: none;
  border-radius: 0;
  border-bottom: 2px solid var(--hw-green-deep, #2F5D50);
  padding: 0 0 12px;
  margin: clamp(40px, 6vw, 56px) 0 24px;
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--hw-green-deep-dark, #22453B);
}
body:not(.home) .entry-content h3 {
  border-left: 3px solid var(--hw-green-fresh, #5FBF8F);
  padding: 2px 0 2px 14px;
  margin: 36px 0 18px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--hw-green-deep-dark, #22453B);
  background: none;
}
body:not(.home) .entry-content p {
  line-height: 2.2;
  letter-spacing: 0.06em;
}
body:not(.home) .entry-content img {
  max-width: 320px;
  height: auto;
}


/* ============================================================
   30. 下層ページ用コンポーネント（hwp-）
   ============================================================ */
body:not(.home) .entry-content .hwp-hero {
  margin: 0 0 clamp(36px, 6vw, 56px);
}
body:not(.home) .entry-content .hwp-hero img {
  width: 100%;
  max-width: none;
  height: clamp(240px, 38vw, 440px);
  object-fit: cover;
  display: block;
}
.hwp-sec {
  margin-top: clamp(48px, 7vw, 80px);
}
.hwp-lead {
  font-size: clamp(21px, 2.6vw, 29px);
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: 0.12em;
  color: var(--hw-green-deep-dark, #22453B);
  margin: 0 0 18px;
}
.hwp-sign {
  text-align: right;
  font-size: 13px;
  letter-spacing: 0.15em;
  color: #8b9490;
}
.hwp-feats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--hw-line, #E0DED2);
  border: 1px solid var(--hw-line, #E0DED2);
}
.hwp-feats li {
  background: #fff;
  padding: 22px 22px 20px;
  margin: 0;
}
.hwp-feats__num {
  font-family: var(--hw-font-num, Oswald, sans-serif);
  font-size: 26px;
  font-weight: 500;
  color: var(--hw-green-fresh, #5FBF8F);
  display: block;
  margin-bottom: 8px;
  line-height: 1;
}
.hwp-feats__t {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--hw-green-deep-dark, #22453B);
  margin-bottom: 6px;
  line-height: 1.7;
}
.hwp-feats__d {
  display: block;
  font-size: 13px;
  line-height: 1.9;
  color: var(--hw-ink-sub, #6B7274);
}
body:not(.home) .entry-content .hwp-photo {
  margin: 0 0 18px;
}
body:not(.home) .entry-content .hwp-photo img {
  width: 100%;
  max-width: none;
  height: auto;
  display: block;
}
.hwp-bars {
  margin: 22px 0 8px;
}
.hwp-bar {
  margin-bottom: 14px;
}
.hwp-bar__row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  font-weight: 700;
  color: #4a524f;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}
.hwp-bar__pct {
  font-family: var(--hw-font-num, Oswald, sans-serif);
  font-weight: 600;
  color: var(--hw-green-deep, #2F5D50);
}
.hwp-bar__track {
  height: 10px;
  background: #EEF0EC;
  overflow: hidden;
}
.hwp-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--hw-green-deep, #2F5D50), var(--hw-green-fresh, #5FBF8F));
}
.hwp-src {
  font-size: 11px;
  color: #a0a8a4;
  letter-spacing: 0.05em;
}
.hwp-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 24px);
  margin-top: 28px;
}
.hwp-card {
  background: #fff;
  border: 1px solid var(--hw-line, #E0DED2);
  padding: 26px 24px 22px;
  display: flex;
  flex-direction: column;
}
.hwp-card__t {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--hw-green-deep-dark, #22453B);
  margin-bottom: 10px;
  line-height: 1.6;
}
.hwp-card__d {
  font-size: 13.5px;
  line-height: 2;
  color: #55605c;
  flex: 1;
}
.hwp-card__price {
  margin-top: 16px;
  align-self: flex-start;
  background: var(--hw-bg-tint-green, #EEF5F0);
  color: var(--hw-green-deep, #2F5D50);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.05em;
  padding: 9px 16px;
}
.hwp-chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.hwp-chip {
  background: #fff;
  border: 1px solid var(--hw-line, #E0DED2);
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 700;
  color: #4a524f;
  letter-spacing: 0.04em;
}
.hwp-cols2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 24px);
}
.hwp-panel {
  background: #fff;
  border: 1px solid var(--hw-line, #E0DED2);
  border-top: 2px solid var(--hw-green-deep, #2F5D50);
  padding: 24px 22px;
}
.hwp-panel--warn {
  border-top-color: var(--hw-accent-gold-deep, #C9A227);
}
.hwp-panel__t {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  color: var(--hw-green-deep-dark, #22453B);
}
.hwp-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hwp-list li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  line-height: 2;
  color: #4a524f;
  margin: 0 0 6px;
}
.hwp-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hw-green-fresh, #5FBF8F);
}
.hwp-qa__item {
  background: #fff;
  border: 1px solid var(--hw-line, #E0DED2);
  padding: 20px 22px;
  margin-bottom: 14px;
}
.hwp-qa__q {
  font-size: 15px;
  font-weight: 700;
  color: var(--hw-green-deep-dark, #22453B);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.hwp-qa__q::before {
  content: "Q. ";
  font-family: var(--hw-font-num, Oswald, sans-serif);
  color: var(--hw-green-fresh-dark, #3F9E6E);
  font-weight: 600;
}
.hwp-qa__a {
  font-size: 13.5px;
  line-height: 2.1;
  color: #55605c;
}
.hwp-qa__a::before {
  content: "A. ";
  font-family: var(--hw-font-num, Oswald, sans-serif);
  color: var(--hw-accent-gold-deep, #C9A227);
  font-weight: 600;
}
.hwp-cta {
  margin-top: clamp(40px, 6vw, 64px);
  background: var(--hw-green-deep, #2F5D50);
  color: #fff;
  padding: clamp(32px, 5vw, 48px);
  text-align: center;
}
.hwp-cta__t {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}
.hwp-cta__d {
  font-size: 13.5px;
  letter-spacing: 0.08em;
  opacity: 0.85;
  margin-bottom: 22px;
}
.hwp-cta a.hwp-cta__btn {
  display: inline-block;
  background: #fff;
  color: var(--hw-green-deep, #2F5D50);
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 16px 34px;
  text-decoration: none;
}
body:not(.home) .entry-content .hwp-2photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 20px 0;
}
body:not(.home) .entry-content .hwp-2photos img {
  width: 100%;
  max-width: none;
  height: 250px;
  object-fit: cover;
  display: block;
}
@media (max-width: 700px) {
  .hwp-feats,
  .hwp-cards,
  .hwp-cols2 {
    grid-template-columns: 1fr;
  }
  body:not(.home) .entry-content .hwp-2photos {
    grid-template-columns: 1fr;
  }
}


/* ---------- 31. 価格カードの画像付きレイアウト ---------- */
.hwp-card {
  padding: 0;
  overflow: hidden;
}
body:not(.home) .entry-content .hwp-card__img {
  width: 100%;
  max-width: none;
  height: 190px;
  object-fit: cover;
  display: block;
}
.hwp-card__body {
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}


/* ===== §32 Q&A 文字サイズ調整（読みやすさ向上） ===== */
body:not(.home) .entry-content .hwp-qa__q {
  font-size: 19px;
  line-height: 1.7;
}
body:not(.home) .entry-content .hwp-qa__a {
  font-size: 16px;
  line-height: 2;
}
@media screen and (max-width: 700px) {
  body:not(.home) .entry-content .hwp-qa__q { font-size: 17px; }
  body:not(.home) .entry-content .hwp-qa__a { font-size: 15px; }
}


/* ===== §33 サイト改善（フッター3カラム・SP固定バー・フェードイン・初めての方へ） ===== */
/* --- フッター --- */
footer.footer, .footer {
  background: var(--hw-bg-tint-green, #EEF5F0);
  border-top: 1px solid var(--hw-line, #E0DED2);
}
.footer-widgets {
  max-width: 1140px;
  margin: 0 auto;
  padding: 48px 24px 24px;
}
.hd-ft {
  font-size: 14px;
  line-height: 2.1;
  color: #4C4630;
  letter-spacing: .04em;
}
.hd-ft p { margin: 0 0 12px; }
.hd-ft__name {
  font-weight: 700;
  color: var(--hw-green-deep, #2F5D50);
  font-size: 15px;
  letter-spacing: .12em;
  border-left: 3px solid var(--hw-green-fresh, #5FBF8F);
  padding-left: 10px;
  margin-bottom: 14px !important;
}
.hd-ft a { color: #4C4630; text-decoration: none; transition: color .3s; }
.hd-ft a:hover { color: var(--hw-green-fresh-dark, #3F9E6E); }
.hd-ft__nav { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; }
.hd-ft__nav li { padding: 0; margin: 0; }
.hd-ft__nav a { display: block; padding: 3px 0; }
.hd-ft__nav a::before { content: "− "; color: var(--hw-green-fresh, #5FBF8F); }

/* --- SP固定フッターバー --- */
.hd-spbar { display: none; }
@media screen and (max-width: 834px) {
  body { padding-bottom: 60px; }
  .hd-spbar {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 9999;
    height: 58px;
    box-shadow: 0 -2px 10px rgba(0,0,0,.12);
  }
  .hd-spbar a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .12em;
    text-decoration: none;
    color: #fff;
  }
  .hd-spbar__tel { background: var(--hw-green-deep, #2F5D50); }
  .hd-spbar__map { background: var(--hw-green-fresh-dark, #3F9E6E); }
  .go-to-top-button, .go-to-top { bottom: 70px !important; }
}

/* --- スクロールフェードイン --- */
.hw-fade {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s cubic-bezier(.25,.5,.2,1), transform .9s cubic-bezier(.25,.5,.2,1);
}
.hw-fade.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .hw-fade { opacity: 1; transform: none; transition: none; }
}

/* --- 初めての方へ（page-id-149）バナー英字 --- */
body.page-id-149 h1.entry-title::before { content: "First Visit"; }


/* ===== §34 診療メニュー個別ページ ===== */
/* バナー英字ラベル */
body.page-id-157 h1.entry-title::before { content: "Prevention"; }
body.page-id-158 h1.entry-title::before { content: "Cavity Treatment"; }
body.page-id-159 h1.entry-title::before { content: "Perio Treatment"; }
body.page-id-160 h1.entry-title::before { content: "Pediatric"; }
body.page-id-161 h1.entry-title::before { content: "Denture"; }
body.page-id-162 h1.entry-title::before { content: "Orthodontics"; }

/* 診療メニューリンクボタン */
.hd-mlinks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0 8px;
}
.hd-mlinks a {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--hw-line, #E0DED2);
  background: #fff;
  color: var(--hw-green-deep, #2F5D50);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .06em;
  text-decoration: none;
  transition: background .3s, border-color .3s, color .3s;
}
.hd-mlinks a::after { content: " →"; color: var(--hw-green-fresh, #5FBF8F); }
.hd-mlinks a:hover {
  background: var(--hw-bg-tint-green, #EEF5F0);
  border-color: var(--hw-green-fresh, #5FBF8F);
}
@media screen and (max-width: 700px) {
  .hd-mlinks { grid-template-columns: 1fr; }
}

/* お悩みカードのリンク化スタイル */



/* ===== §35 設備・採用ページ ===== */
body.page-id-165 h1.entry-title::before { content: "Facility"; }
body.page-id-166 h1.entry-title::before { content: "Recruit"; }
