/*
Theme Name: Hirano DC
Theme URI:
Author: Hirano Family DC
Description: EXPベーステーマをベースにした3カラムレイアウトテーマ。左メニュー・中央スマホ幅コンテンツ・右サイドバー構成。
Tested up to: 6.9
Requires PHP: 7.4
Version: 1.0.3
Text Domain: hirano-dc
*/

/* ============================================================
   CSS Variables
============================================================ */
:root {
  --hdc-color-bg:           #f5f5f3;
  --hdc-color-surface:      rgba(255, 255, 255, 0.92);
  --hdc-color-border:       rgba(0, 0, 0, 0.10);
  --hdc-color-text:         #3a4247;   /* 左右サイドバー用 */
  --hdc-color-muted:        #8a9299;
  --hdc-color-accent:       #c8a96e;
  --hdc-color-accent-hover: #b8935a;
  --hdc-color-btn:          #c8a96e;
  --hdc-color-btn-text:     #1f3049; /* サイド・下部固定バーの初診WEB予約ボタンと文字色を統一 */
  --hdc-color-pink:         #f864aa;   /* ピンクアクセント統一色 */

  /* 中央コンテンツエリア用テキストカラー */
  --hdc-color-content-text: #3a4247;
  --hdc-color-content-muted: #6b7880;

  /* フォント */
  --hdc-font-sans:    'Poppins', 'Noto Sans JP', 'Noto Sans CJK JP', sans-serif;
  --hdc-font-mincho:  'Yu Mincho', '游明朝体', 'YuMincho', 'Hiragino Mincho ProN', serif;
  --hdc-font-trajan:  'Trajan Pro 3', 'Trajan Pro', 'Times New Roman', serif; /* Adobe Fonts 設定後に有効 */

  --hdc-sidebar-width:  250px;
  --hdc-center-width:   490px;
  --hdc-ticker-height:  48px;
  --hdc-mobile-bar-h:   56px;
  --hdc-radius:         4px;
}

/* ============================================================
   Body Override — 3カラムレイアウト用
============================================================ */
body {
  font-family: var(--hdc-font-sans);
  background-color: var(--hdc-color-bg);
  background-image: none !important; /* base.css の body グラデを上書き */
  color: var(--hdc-color-text);
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--hdc-color-accent);
  transition: color 0.2s;
}

a:hover {
  color: var(--hdc-color-accent-hover);
}

/* ============================================================
   中央カラム — フォント・テキストカラー
   ダーク背景のサイドバーと分離し、コンテンツエリアは仕様色を適用
============================================================ */
.hdc-col-center {
  font-family: var(--hdc-font-sans);
  color: var(--hdc-color-content-text);
  font-size: 15px;
}

.hdc-col-center p,
.hdc-col-center li,
.hdc-col-center td,
.hdc-col-center span,
.hdc-col-center label {
  color: var(--hdc-color-content-text);
}

.hdc-col-center h1,
.hdc-col-center h2,
.hdc-col-center h3,
.hdc-col-center h4,
.hdc-col-center h5,
.hdc-col-center h6 {
  font-family: var(--hdc-font-sans);
  color: var(--hdc-color-content-text);
  font-weight: 700;
}

/* 明朝体見出し用ユーティリティクラス */
.hdc-col-center .is-style-mincho,
.hdc-col-center .font-mincho {
  font-family: var(--hdc-font-mincho);
}

/* Trajan Pro 3 用ユーティリティクラス（Adobe Fonts 設定後に有効） */
.hdc-col-center .is-style-trajan,
.hdc-col-center .font-trajan {
  font-family: var(--hdc-font-trajan);
  letter-spacing: 0.12em;
}

/* Poppins 数字・英字を際立たせるため letter-spacing 調整 */
.hdc-col-center :is(h1, h2, h3):lang(en),
.hdc-col-center .poppins {
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.08em;
}

/* ============================================================
   背景レイヤー
============================================================ */
.hdc-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-color: var(--hdc-color-bg);
  background-image: var(--hdc-bg-image, url('./assets/img/bg-pattern.svg'));
  background-size: var(--hdc-bg-size, 400px 400px);
  background-repeat: var(--hdc-bg-repeat, repeat);
  background-position: var(--hdc-bg-position, center);
}

.hdc-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
}

/* ============================================================
   Page Shell
============================================================ */
.hdc-shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ============================================================
   3カラムグリッド（PC）
============================================================ */
.hdc-columns {
  flex: 1;
  display: grid;
  grid-template-columns: var(--hdc-sidebar-width) var(--hdc-center-width) var(--hdc-sidebar-width);
  grid-template-areas: "left center right";
  justify-content: center;
  min-height: calc(100vh - var(--hdc-ticker-height));
  padding-bottom: var(--hdc-ticker-height);
}

/* ============================================================
   左カラム — ナビゲーション
============================================================ */
.hdc-col-left {
  grid-area: left;
  display: flex;
  flex-direction: column;
  justify-content: safe center;
  padding: 40px 24px 40px 32px;
  border-right: 1px solid var(--hdc-color-border);
  backdrop-filter: blur(8px);
  background: transparent;
  max-height: calc(100vh - var(--hdc-ticker-height));
  overflow-y: auto;
  scrollbar-width: none;
}

.hdc-col-left::-webkit-scrollbar {
  display: none;
}

.hdc-nav-logo {
  margin-bottom: 40px;
}

.hdc-nav-logo a {
  display: block;
  font-size: 15px;
  letter-spacing: 0.12em;
  color: var(--hdc-color-text);
  line-height: 1.5;
  text-decoration: none;
}

.hdc-nav-logo a:hover {
  color: var(--hdc-color-text);
}

.hdc-nav-logo .hdc-nav-logo__sub {
  font-size: 10px;
  color: var(--hdc-color-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 4px;
}

.hdc-nav-logo .custom-logo,
.hdc-nav-logo .hdc-nav-logo__img {
  max-width: 160px;
  height: auto;
}

/* ナビゲーション */
.hdc-nav-menu {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  border-radius: 8px;
  padding: 16px 20px;
}

.hdc-nav-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hdc-nav-menu li a {
  display: block;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #3a4247;
  padding: 10px 0;
  border-bottom: 1px solid transparent;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}

.hdc-nav-menu li a:hover,
.hdc-nav-menu li.current-menu-item > a,
.hdc-nav-menu li.current_page_item > a {
  color: var(--hdc-color-text);
  border-bottom-color: var(--hdc-color-accent);
}

/* SNSリンク */
.hdc-nav-sns {
  margin-top: 40px;
  display: flex;
  gap: 12px;
}

.hdc-nav-sns a {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--hdc-color-muted);
  text-decoration: none;
}

.hdc-nav-sns a:hover {
  color: var(--hdc-color-accent);
}

/* ============================================================
   中央カラム — メインコンテンツ
============================================================ */
.hdc-col-center {
  grid-area: center;
  min-width: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  background: #ffffff;
  position: relative;
}

.hdc-col-center::-webkit-scrollbar {
  display: none;
}

/* ============================================================
   右カラム — QR・予約
============================================================ */
.hdc-col-right {
  grid-area: right;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 40px 20px;
  border-left: 1px solid var(--hdc-color-border);
  backdrop-filter: blur(8px);
  background: transparent;
}

/* QRコード */
.hdc-sidebar-qr {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.hdc-sidebar-qr__img {
  padding: 18px 18px 14px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hdc-sidebar-qr__img img,
.hdc-sidebar-qr__img svg {
  width: 100%;
  max-width: 140px;
  height: auto;
  display: block;
}

.hdc-sidebar-qr__label {
  margin: 0;
  padding: 10px 8px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--hdc-color-content-text, #333);
  background: #ececec;
  text-transform: none;
}

/* 予約ボタン */
.hdc-sidebar-reserve {
  width: 100%;
  text-align: center;
}

.hdc-btn-reserve,
.hdc-btn-contact {
  display: block;
  width: 100%;
  padding: 14px 8px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  border-radius: var(--hdc-radius);
  text-decoration: none;
  transition: filter 0.2s, transform 0.15s, box-shadow 0.2s;
}

.hdc-btn-reserve {
  background: var(--hdc-color-btn);
  /* 白文字だとゴールド背景とのコントラストが不足するため濃紺に変更（インラインstyleでの上書きにも負けないよう!important） */
  color: var(--hdc-tx-navy, #1f3049) !important;
}

.hdc-btn-contact {
  background: transparent;
  color: var(--hdc-color-muted);
  border: 1px solid var(--hdc-color-border);
  padding: 12px 8px;
  font-size: 15px;
  font-weight: 500;
}

/* 背景色が指定された予約系ボタン（LINE予約など）は白文字 */
.hdc-btn-contact[style*="background-color"] {
  color: #fff !important;
}

.hdc-btn-reserve:hover {
  color: var(--hdc-tx-navy, #1f3049) !important;
  filter: brightness(0.92);
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.hdc-btn-contact:hover {
  filter: brightness(0.92);
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

/* SNS（右カラム） */
.hdc-sidebar-sns {
  text-align: center;
}

.hdc-sidebar-sns__links {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.hdc-sidebar-sns__links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  color: #333;
  text-decoration: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.hdc-sidebar-sns__links a:hover {
  background: #fff;
  color: var(--hdc-color-accent);
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.hdc-sidebar-sns__icon {
  width: 22px;
  height: 22px;
}

/* ============================================================
   ティッカーフッター（PC のみ）
============================================================ */
.hdc-ticker {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  height: var(--hdc-ticker-height);
  background: #111;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hdc-ticker__track {
  display: flex;
  white-space: nowrap;
  animation: hdc-ticker-scroll 40s linear infinite;
  will-change: transform;
}

.hdc-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 2em;
  padding: 0 2em;
  font-family: var(--hdc-font-en, "Outfit", sans-serif);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
}

.hdc-ticker__item::after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes hdc-ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   中央カラム内コンテンツ
   （ブロックエディタの is-layout-constrained クラスを上書き）
============================================================ */
.hdc-col-center .is-root-container,
.hdc-col-center .is-layout-constrained {
  max-width: 100% !important;
}

.hdc-col-center .is-root-container:not(.page-content-wrap),
.hdc-col-center .is-layout-constrained:not(.page-content-wrap) {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ページヘッダー（下層ページ） */
.hdc-page-header {
  padding: 40px 28px 24px;
  background: linear-gradient(to bottom, #ccd0d8 0%, #9ca4b3 30%, #6b7488 58%, #3f4d63 78%, #252d3e 100%);
  color: #ffffff;
  border-bottom: none;
}

/* 投稿詳細はタイトルも広めの余白 */
.single .hdc-page-header {
  padding: 40px 40px 24px;
}

.hdc-page-header h1 {
  font-size: 22px;
  font-family: var(--hdc-font-mincho);
  letter-spacing: 0.1em;
  color: #ffffff;
}

/* パンくず（Yoast SEO） */
.hdc-breadcrumb {
  padding: 10px 28px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--hdc-color-muted);
  background: #ededef;
  border-bottom: 1px solid var(--hdc-color-border);
  line-height: 1.6;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.hdc-breadcrumb::-webkit-scrollbar {
  display: none;
}

.hdc-breadcrumb a {
  color: var(--hdc-color-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.hdc-breadcrumb a:hover {
  color: var(--hdc-color-accent);
}

.hdc-breadcrumb .breadcrumb_last {
  color: var(--hdc-color-content-text);
  font-weight: 500;
}

/* WPコンテンツエリア */
.hdc-col-center .page-content-wrap {
  padding: 32px 28px 60px;
}

/* ページ／投稿本文の見出しスタイル（トップページのデザインに合わせる） */
.hdc-col-center .page-content-wrap h2 {
  margin: 2.4em 0 1em;
  padding: 6px 0 6px 14px;
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: var(--hdc-color-content-text);
  border-left: 4px solid var(--hdc-color-accent);
  background: none;
}

.hdc-col-center .page-content-wrap h2:first-child {
  margin-top: 0;
}

.hdc-col-center .page-content-wrap h3 {
  margin: 2em 0 0.8em;
  padding-bottom: 6px;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.03em;
  font-weight: 700;
  color: var(--hdc-color-content-text);
  border-bottom: 1px solid var(--hdc-color-accent);
}

.hdc-col-center .page-content-wrap h4 {
  margin: 1.8em 0 0.6em;
  font-size: 14px;
  font-weight: 700;
  color: var(--hdc-color-content-text);
}

.hdc-col-center .page-content-wrap p {
  margin: 0 0 1em;
  line-height: 1.8;
}

/* site-footer / site-header を非表示（3カラム内では不要） */
.hdc-columns .site-header,
.hdc-columns .site-footer,
.hdc-columns .float-navi {
  display: none;
}

/* ============================================================
   投稿記事スタイル
============================================================ */

/* ページヘッダー内カテゴリ */
.hdc-page-header__cats {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.hdc-page-header__cat {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 500;
  background: var(--hdc-color-accent, #2e4866);
  color: #fff;
  border-radius: 3px;
  line-height: 1.6;
}

/* 記事ヘッダー（タイトル + 日付） */
.hdc-article__header {
  padding: 24px 40px 20px;
  border-bottom: 1px solid var(--hdc-color-border, rgba(0,0,0,0.08));
}

.hdc-article__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--hdc-color-content-text, #333);
  margin: 0 0 8px;
}

.hdc-article__date {
  display: block;
  font-size: 13px;
  color: var(--hdc-color-muted, #888);
  white-space: nowrap;
}

/* 投稿本文は固定ページより余白を広めに */
.hdc-article .page-content-wrap {
  padding: 32px 40px 60px;
}

.hdc-article__cats {
  display: flex;
  gap: 6px;
}

.hdc-article__cat {
  display: inline-block;
  padding: 2px 8px;
  font-size: 11px;
  background: var(--hdc-color-accent, #2e4866);
  color: #fff;
  border-radius: 3px;
  line-height: 1.6;
}

/* 前後の記事ナビゲーション */
.hdc-post-nav {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin: 0 40px 40px;
  border-top: 1px solid var(--hdc-color-border, rgba(0,0,0,0.08));
}

.hdc-post-nav__prev,
.hdc-post-nav__next {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0;
  text-decoration: none;
  color: var(--hdc-color-content-text, #333);
  border-bottom: 1px solid var(--hdc-color-border, rgba(0,0,0,0.08));
  transition: opacity 0.2s;
}

.hdc-post-nav__prev:hover,
.hdc-post-nav__next:hover {
  opacity: 0.6;
}

.hdc-post-nav__label {
  font-size: 12px;
  color: var(--hdc-color-muted, #888);
}

.hdc-post-nav__title {
  font-size: 14px;
}

/* ============================================================
   メインビジュアル — 画像全体表示（見切れなし）
============================================================ */
.hdc-main-visual {
  width: 100%;
}

/* 画像ラッパー */
.hdc-main-visual__img-wrap {
  width: 100%;
  line-height: 0;        /* 画像下の余白を消す */
}

/* YouTube動画埋め込み（16:9レスポンシブ） */
.hdc-main-visual__video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.hdc-main-visual__video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hdc-main-visual__img {
  width: 100%;
  height: auto;          /* アスペクト比を保って全体表示 */
  display: block;
}

/* 画像未設定時のプレースホルダー */
.hdc-main-visual__placeholder {
  width: 100%;
  min-height: 60vh;
  background: linear-gradient(160deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hdc-main-visual__placeholder-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  line-height: 1.8;
  padding: 20px;
}

/* CTAボタンエリア（画像の直下） */
.hdc-main-visual__cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 20px 28px;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.hdc-mv-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  font-family: var(--hdc-font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  border-radius: var(--hdc-radius);
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
  min-width: 0;
  text-align: center;
}

/* 予約ボタン（アクセントカラー） */
.hdc-mv-btn--primary {
  background: var(--hdc-color-btn);
  color: var(--hdc-color-btn-text) !important;
  border: 1px solid var(--hdc-color-btn);
}

.hdc-mv-btn--primary:hover {
  background: var(--hdc-color-accent-hover);
  border-color: var(--hdc-color-accent-hover);
  transform: translateY(-1px);
}

/* サブボタン（ライン） */
.hdc-mv-btn--secondary {
  background: transparent;
  color: var(--hdc-color-content-text) !important;
  border: 1px solid rgba(58, 66, 71, 0.3);
}

.hdc-mv-btn--secondary:hover {
  border-color: var(--hdc-color-accent);
  color: var(--hdc-color-accent) !important;
  transform: translateY(-1px);
}

/* ============================================================
   クリニックコンセプトセクション
============================================================ */
.hdc-concept {
  position: relative;
  padding: 56px 24px 48px;
  text-align: center;
  overflow: hidden;
  background: #ffffff;
}

/* 背景アイコン — テキストより後ろに */
.hdc-concept::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 21px;
  width: 140px;
  height: 65%;
  background-image: url('./assets/img/section-concept-bg.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top left;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

/* コンテンツをアイコンより前面に */
.hdc-concept__header,
.hdc-concept__note,
.hdc-concept__body,
.hdc-concept__cta {
  position: relative;
  z-index: 1;
}

/* ヘッダーエリア */
.hdc-concept__header {
  margin-bottom: 20px;
}

/* 「当院は」 小見出し */
.hdc-concept__eyebrow {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--hdc-color-content-text);
  margin: 0 0 8px;
}

/* ルビ（よみがな）テキスト */
.hdc-concept__ruby {
  display: block;
  font-size: 10px;
  letter-spacing: 0.38em;
  color: var(--hdc-color-content-muted);
  margin-bottom: 4px;
  font-weight: 400;
}

/* ピンクタイトル 『予防管理型歯科医院』 */
.hdc-concept .hdc-concept__title {
  font-family: var(--hdc-font-mincho);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: #f864aa;
  margin: 0;
}

/* ※注記 */
.hdc-concept__note {
  font-size: 12px;
  color: var(--hdc-color-content-muted);
  margin: 0 0 40px;
}

/* 本文 */
.hdc-concept__body {
  font-size: 15px;
  line-height: 2;
  color: var(--hdc-color-content-text);
  margin: 0 0 8px;
}

.hdc-concept__body strong {
  color: #f864aa;
  font-weight: 700;
}

/* CTAボタン */
.hdc-concept__cta {
  margin-top: 32px;
}

.hdc-concept__cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--hdc-color-content-text);
  text-decoration: none;
  letter-spacing: 0.04em;
}

.hdc-concept__cta-link:hover {
  color: var(--hdc-color-accent);
}

/* 下矢印ボタン — フッターグラデーションと同系色 */
.hdc-concept__cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(to bottom, #9ca4b3 0%, #252d3e 100%);
  flex-shrink: 0;
}

/* 虫眼鏡アイコン */
.hdc-concept__cta-search {
  display: inline-flex;
  align-items: center;
  opacity: 0.5;
}

/* ============================================================
   自費診療バナー
============================================================ */
.hdc-jihi-banner {
  padding: 24px 16px;
  text-align: center;
}

.hdc-jihi-banner__link {
  display: block;
  transition: opacity 0.2s;
}

.hdc-jihi-banner__link:hover {
  opacity: 0.8;
}

.hdc-jihi-banner__img {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 0 auto;
  border-radius: 4px;
}

/* ============================================================
   中央カラム内フッター — クリニック情報
============================================================ */
.hdc-site-footer {
  background: linear-gradient(
    to bottom,
    #ccd0d8  0%,
    #9ca4b3 30%,
    #6b7488 58%,
    #3f4d63 78%,
    #252d3e 100%
  );
}

/* 関連サイトバナー */
.hdc-site-footer__banners {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 16px;
}

.hdc-site-footer__banner {
  display: block;
  line-height: 0;
}

.hdc-site-footer__banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* 外観写真 */
.hdc-site-footer__photo {
  width: 100%;
  line-height: 0;
}

.hdc-site-footer__photo img {
  width: 100%;
  height: auto;
  display: block;
}

/* フッター内の全テキストを白に統一（.hdc-col-center p の上書き）※診療時間カードは白背景の独立コンポーネントのため対象外 */
.hdc-col-center .hdc-site-footer p:not(.hdc-medical-hours *),
.hdc-col-center .hdc-site-footer span:not(.hdc-medical-hours *),
.hdc-col-center .hdc-site-footer small:not(.hdc-medical-hours *),
.hdc-col-center .hdc-site-footer a:not(.hdc-medical-hours *) {
  color: #ffffff;
}

/* 診療時間カード：フッター内でも本来の配色を維持 */
.hdc-site-footer .hdc-medical-hours__en,
.hdc-site-footer .hdc-medical-hours__ja {
  color: var(--hdc-color-text) !important;
}

.hdc-site-footer .hdc-hours__notes p {
  color: #333 !important;
}

.hdc-site-footer .hdc-calendar__legend-item {
  color: var(--hdc-color-text) !important;
}

/* 情報エリア */
.hdc-site-footer__body {
  padding: 24px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 住所 */
.hdc-site-footer__address {
  font-size: 12px;
  line-height: 1.75;
  color: #ffffff;
  margin: 0;
}

.hdc-site-footer__postal {
  display: block;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #ffffff;
  margin-bottom: 2px;
}

/* 電話番号 */
.hdc-site-footer__tel {
  margin: 4px 0 0;
}

.hdc-site-footer__tel a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
  text-decoration: none;
  line-height: 1;
}

.hdc-site-footer__tel a:hover {
  color: var(--hdc-color-accent);
}

/* 診療時間 */
.hdc-site-footer__hours {
  font-size: 11px;
  color: #ffffff;
  line-height: 1.6;
  margin: 0;
}

/* プライバシーポリシー */
.hdc-site-footer__privacy-wrap {
  margin: 8px 0 0;
}

.hdc-site-footer__privacy {
  font-size: 11px;
  letter-spacing: 0.05em;
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hdc-site-footer__privacy:hover {
  opacity: 0.75;
}

/* コピーライト */
.hdc-site-footer__copy {
  font-size: 10px;
  letter-spacing: 0.04em;
  color: #ffffff;
  margin: 0;
}

/* ============================================================
   MTM セクション
============================================================ */
.hdc-mtm {
  position: relative;
  padding: 56px 28px 52px;
  background-color: #2a3547;
  background-image: url('./assets/img/mtm-bg.png');
  background-size: cover;
  background-position: center bottom;
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

.hdc-mtm::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(22, 32, 52, 0.68);
  z-index: 0;
}

.hdc-mtm > * {
  position: relative;
  z-index: 1;
}

/* "What's" ラベル */
.hdc-mtm .hdc-mtm__label {
  font-size: 13px;
  font-style: italic;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.80);
  margin: 0 0 0px;
}

/* MTM 大見出し */
.hdc-mtm .hdc-mtm__title {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 58px;
  font-weight: lighter;
  letter-spacing: 0.04em;
  color: #ffffff;
  margin: 0 0 24px;
  line-height: 1;
}

/* 引用ボックス */
.hdc-mtm__quote {
  border: 1px solid rgba(255, 255, 255, 0.40);
  padding: 18px 20px;
  margin: 0 auto 28px;
  font-size: 16px;
  line-height: 1.75;
  color: #ffffff;
}

.hdc-mtm .hdc-mtm__quote-main {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

/* リード文 */
.hdc-mtm .hdc-mtm__lead {
  font-size: 15px;
  line-height: 1.9;
  text-align: left;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 16px;
}

/* 番号リスト */
.hdc-mtm__list {
  list-style: none;
  padding: 0;
  margin: 0 0 4px;
  counter-reset: mtm;
  text-align: left;
}

.hdc-mtm .hdc-mtm__list li {
  counter-increment: mtm;
  display: flex;
  align-items: flex-start;
  gap: 0.6em;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 15px;
  color: #ffffff;
}

.hdc-mtm__list li::before {
  content: counter(mtm) '.';
  min-width: 1.6em;
  color: rgba(255, 255, 255, 0.50);
  flex-shrink: 0;
}

/* 「のような流れで...」注記 */
.hdc-mtm .hdc-mtm__note {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  text-align: left;
  margin: 6px 0 20px;
}

/* 本文 */
.hdc-mtm .hdc-mtm__body {
  font-size: 15px;
  line-height: 1.9;
  text-align: left;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

/* ============================================================
   初めて受診される方へ セクション
============================================================ */
.hdc-first-visit {
  background: #ffffff;
  padding: 52px 28px 48px;
  text-align: center;
}

.hdc-first-visit__icon {
  margin: 0 auto 14px;
  line-height: 0;
}

.hdc-first-visit__icon img {
  width: 48px;
  height: auto;
}

.hdc-first-visit .hdc-first-visit__heading {
  font-family: var(--hdc-font-mincho);
  font-size: 28px;
  font-weight: 400;
  color: var(--hdc-color-text);
  letter-spacing: 0.1em;
  margin: 0 0 24px;
  line-height: 1.5;
}

/* 動画エリア（16:9 レスポンシブ） */
.hdc-first-visit__video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #1a1a2e;
  margin: 0 0 24px;
  overflow: hidden;
}

.hdc-first-visit__player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* キャプション */
.hdc-first-visit .hdc-first-visit__caption p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--hdc-color-text);
  margin: 0;
}

.hdc-first-visit .hdc-first-visit__caption strong {
  color: var(--hdc-color-text);
  font-weight: 700;
}

.hdc-first-visit .hdc-first-visit__accent {
  color: #f864aa;
  font-weight: 700;
}

.hdc-first-visit .hdc-first-visit__marker {
  background-color: #f5e1e9;
  color: inherit;
  padding: 2px 4px;
}

/* ============================================================
   医院理念 セクション
============================================================ */
.hdc-philosophy {
  position: relative;
  background-color: #e8e8e6;
  background-image: url('./assets/img/philosophy-bg.png');
  background-size: cover;
  background-position: center;
  padding: 64px 32px;
  text-align: center;
  overflow: hidden;
}

.hdc-philosophy::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.68);
  z-index: 0;
}

.hdc-philosophy__inner {
  position: relative;
  z-index: 1;
}

/* 「私達が大切にする」眉テキスト */
.hdc-philosophy .hdc-philosophy__eyebrow {
  font-size: 15px;
  letter-spacing: 0.1em;
  color: #555555;
  margin: 0 0 10px;
}

/* 「医院理念」ダーク帯 */
.hdc-philosophy .hdc-philosophy__title {
  display: inline-block;
  background: #4a4a4a;
  color: #ffffff;
  font-family: var(--hdc-font-mincho);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 8px 24px;
  margin: 0 0 20px;
  line-height: 1.5;
}

/* 『健康と幸福の追求』サブタイトル */
.hdc-philosophy .hdc-philosophy__subtitle {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #3a4247;
  margin: 0 0 40px;
}

/* 本文 */
.hdc-philosophy__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hdc-philosophy .hdc-philosophy__body p {
  font-size: 15px;
  line-height: 1;
  color: #3a4247;
  letter-spacing: 0.06em;
  margin: 0;
}

/* ============================================================
   NEWS セクション
============================================================ */
.hdc-news {
  background: #ffffff;
  padding: 28px 28px 32px;
}

/* ヘッダー行 */
.hdc-news__header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hdc-news__headline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.hdc-news__icon {
  width: 32px;
  height: auto;
}

.hdc-col-center .hdc-news__label {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: normal;
  letter-spacing: 0.08em;
  color: var(--hdc-color-text);
}

.hdc-news__rule {
  flex: 1;
  display: block;
  height: 1px;
  background: var(--hdc-color-text);
  opacity: 0.3;
}

.hdc-col-center .hdc-news__subtitle {
  flex-shrink: 0;
  font-size: 14px;
  font-family: var(--hdc-font-mincho);
  letter-spacing: 0.1em;
  color: var(--hdc-color-text);
  margin: 0;
}

.hdc-news__sep {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  margin: 14px 0 0;
}

/* 投稿リスト */
.hdc-news__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hdc-news__item {
  display: grid;
  grid-template-columns: 7em 1fr;
  gap: 12px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.hdc-col-center .hdc-news__date {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  color: var(--hdc-color-muted);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.hdc-col-center .hdc-news__title {
  font-size: 15px;
  color: var(--hdc-color-text);
  text-decoration: none;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.hdc-news__title:hover {
  text-decoration: underline;
}

/* 続きを読む */
.hdc-news__more {
  text-align: right;
  margin-top: 16px;
}

.hdc-col-center .hdc-news__more-link {
  font-size: 13px;
  color: var(--hdc-color-text);
  letter-spacing: 0.1em;
  text-decoration: none;
}

.hdc-news__more-link:hover {
  text-decoration: underline;
}

/* ============================================================
   カテゴリアーカイブ一覧（お知らせ／ブログ共通）
============================================================ */
.hdc-archive-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hdc-archive-list__item {
  display: grid;
  grid-template-columns: 7em 1fr;
  gap: 12px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.hdc-col-center .hdc-archive-list__date {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  color: var(--hdc-color-muted);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.hdc-col-center .hdc-archive-list__title {
  font-size: 15px;
  color: var(--hdc-color-text);
  text-decoration: none;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.hdc-archive-list__title:hover {
  text-decoration: underline;
}

.hdc-archive-pager {
  margin-top: 28px;
  text-align: center;
}

.hdc-archive-pager ul.page-numbers {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.hdc-archive-pager .page-numbers li {
  display: inline-block;
}

.hdc-archive-pager a.page-numbers,
.hdc-archive-pager span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  font-size: 13px;
  color: var(--hdc-color-text);
  text-decoration: none;
  border: 1px solid var(--hdc-color-border);
  border-radius: 4px;
}

.hdc-archive-pager a.page-numbers:hover {
  background: var(--hdc-color-accent-lighter, #f2f2f2);
}

.hdc-archive-pager span.page-numbers.current {
  color: #fff;
  background: var(--hdc-color-accent);
  border-color: var(--hdc-color-accent);
}

/* ============================================================
   404ページ
============================================================ */
.hdc-404 {
  text-align: center;
  padding-top: 40px !important;
  padding-bottom: 60px !important;
}

.hdc-col-center .hdc-404__text {
  font-size: 15px;
  line-height: 1.9;
  color: var(--hdc-color-content-text);
  margin: 0 0 32px;
}

.hdc-404__home-link {
  display: inline-block;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--hdc-tx-navy, #1f3049) !important;
  background: var(--hdc-color-btn);
  border-radius: var(--hdc-radius);
  text-decoration: none;
  transition: filter 0.2s, transform 0.15s;
}

.hdc-404__home-link:hover {
  filter: brightness(0.92);
  transform: translateY(-1px);
}

/* ============================================================
   バナーエリア
============================================================ */
.hdc-banners {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 0;
}

.hdc-banners__item {
  line-height: 0;
}

.hdc-banners__item img {
  width: 100%;
  height: auto;
  display: block;
}

.hdc-banners__link {
  display: block;
  line-height: 0;
}

/* ============================================================
   当院の特徴 セクション
============================================================ */
.hdc-features {
  background: #f0eeeb;
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
}

/* タイトルエリア */
.hdc-features__head {
  position: relative;
  background: #ffffff;
  padding: 40px 28px 120px 24px;
  text-align: left;
  overflow: hidden;
  max-width: var(--hdc-center-width);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

/* 背景のグレーデンタルアイコン */
.hdc-features__decor {
  position: absolute;
  left: 30px;
  bottom: 15px;
  width: 140px;
  height: auto;
  opacity: 0.5;
  z-index: 1;
  pointer-events: none;
}

/* 院長の切り抜き写真 */
.hdc-features__doctor {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 180px;
  height: auto;
  padding-right: 24px;
  z-index: 3;
  pointer-events: none;
}

/* タイトル二重フレーム用ラッパー */
.hdc-features__title-wrap {
  position: relative;
  display: inline-block;
  z-index: 2;
}

/* 背面の枠（右下オフセット） */
.hdc-features__title-back {
  position: absolute;
  top: 10px;
  left: 10px;
  right: -10px;
  bottom: -10px;
  border: 1.5px solid #3a3a3a;
  background: #ffffff;
  z-index: 0;
}

/* 前面の濃いフレーム */
.hdc-features__title {
  position: relative;
  border: 1.5px solid #3a3a3a;
  background: #ffffff;
  padding: 28px 44px 24px;
  z-index: 1;
}

.hdc-col-center .hdc-features__title-main {
  font-family: var(--hdc-font-mincho);
  font-size: 30px;
  font-weight: 400;
  color: #3a3a3a;
  margin: 0 0 10px;
  letter-spacing: 0.12em;
  line-height: 1.2;
}

.hdc-col-center .hdc-features__title-sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--hdc-font-mincho);
  font-size: 13px;
  color: #3a3a3a;
  margin: 0;
  letter-spacing: 0.1em;
}

.hdc-features__title-sub::before,
.hdc-features__title-sub::after {
  content: '';
  width: 18px;
  height: 1px;
  background: #3a3a3a;
}

/* 各フィーチャーアイテム */
.hdc-feature {
  background: #ffffff;
  overflow: hidden;
}

/* ── カラーヘッダー ── */
.hdc-feature__header {
  padding: 24px 24px 20px;
  position: relative;
  text-align: center;
}

.hdc-feature--01 { --hdc-feature-color: #8aaa80; }
.hdc-feature--02 { --hdc-feature-color: #b38f57; }
.hdc-feature--03 { --hdc-feature-color: #7a9fbe; }
.hdc-feature--04 { --hdc-feature-color: #c499a8; }
.hdc-feature--05 { --hdc-feature-color: #7a8faa; }

.hdc-feature__header { background: var(--hdc-feature-color); }

/* 漢字 + 番号 の行 */
.hdc-feature__title-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  margin-bottom: 10px;
  line-height: 1;
}

/* 大きな漢字 */
.hdc-feature .hdc-feature__kanji {
  font-family: var(--hdc-font-mincho);
  font-size: 80px;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.28);
  user-select: none;
}

/* 番号 */
.hdc-feature .hdc-feature__num {
  font-family: 'Poppins', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1;
  padding-bottom: 6px;
}

/* 英語タイトル */
.hdc-feature .hdc-feature__en {
  font-size: 9px;
  letter-spacing: 0.07em;
  color: rgba(255, 255, 255, 0.60);
  margin: 0 0 8px;
  line-height: 1.5;
}

/* 日本語サブタイトル */
.hdc-feature .hdc-feature__subtitle {
  font-family: var(--hdc-font-sans);
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

/* ── テキストエリア ── */
.hdc-feature__body {
  padding: 20px 24px;
  background: #ffffff;
}

/* メインテキスト（大きめ・太字） */
.hdc-feature .hdc-feature__lead {
  font-size: 20px;
  font-family: var(--hdc-font-mincho);
  font-weight: 500;
  color: var(--hdc-color-text);
  line-height: 1.65;
  margin: 0 0 10px;
  letter-spacing: 0.02em;
}

/* 説明文 */
.hdc-feature .hdc-feature__desc {
  font-size: 16px;
  line-height: 1.75;
  color: var(--hdc-color-text);
  margin: 0 0 3px;
}

/* ── 写真エリア ── */
.hdc-feature__photo {
  position: relative;
  overflow: hidden;
  padding: 0 16px 20px;
  background-color: #ffffff;
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: left top;
}

.hdc-feature--01 .hdc-feature__photo { background-image: url('./assets/img/top-feature_bg01.svg'); }
.hdc-feature--02 .hdc-feature__photo { background-image: url('./assets/img/top-feature_bg02.svg'); }
.hdc-feature--03 .hdc-feature__photo { background-image: url('./assets/img/top-feature_bg03.svg'); }
.hdc-feature--04 .hdc-feature__photo { background-image: url('./assets/img/top-feature_bg04.svg'); }
.hdc-feature--05 .hdc-feature__photo { background-image: url('./assets/img/top-feature_bg05.svg'); }


.hdc-feature__photo img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}


/* キャプション（写真下部オーバーレイ） */
.hdc-feature .hdc-feature__caption {
  background: rgba(0, 0, 0, 0.42);
  color: #ffffff;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 8px 16px;
  text-align: center;
  line-height: 1.5;
  margin: 0;
  z-index: 2;
}

.hdc-feature .hdc-feature__caption:empty {
  display: none;
}

/* ============================================================
   MTMの流れ セクション
============================================================ */
.hdc-mtm-flow {
  background: #ffffff;
  padding-top: 40px;
}

/* タイトル */
.hdc-mtm-flow__head {
  position: relative;
  padding: 36px 20px 28px;
  margin: 0 20px -1px;
  text-align: center;
  background-color: #497888;
  border-radius: 24px 24px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* FLOW あしらい（右上の手書き風） */
.hdc-mtm-flow__decor {
  position: absolute;
  top: 20px;
  right: 12px;
  width: 70px;
  height: auto;
  z-index: 2;
  pointer-events: none;
}

.hdc-col-center .hdc-mtm-flow__title {
  position: relative;
  z-index: 1;
  font-family: var(--hdc-font-mincho);
  font-size: 32px;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 0.08em;
  margin: 0;
  line-height: 1.2;
}

/* ステップごとのカラー */
.hdc-mtm-step--01 { --hdc-mtm-step-color: #5892a6; }
.hdc-mtm-step--02 { --hdc-mtm-step-color: #5a7b9c; }
.hdc-mtm-step--03 { --hdc-mtm-step-color: #536c88; }
.hdc-mtm-step--04 { --hdc-mtm-step-color: #906a7d; }
.hdc-mtm-step--05 { --hdc-mtm-step-color: #7d6a5c; }
.hdc-mtm-step--06 { --hdc-mtm-step-color: #8f7d62; }
.hdc-mtm-step--07 { --hdc-mtm-step-color: #706855; }

/* ステップカード（色背景） */
.hdc-mtm-step {
  background: color-mix(in srgb, var(--hdc-mtm-step-color) 82%, black);
  padding: 20px 20px 24px;
  margin-bottom: 0;
}

/* フッター画像 */
.hdc-mtm-flow__footer-img {
  line-height: 0;
}

.hdc-mtm-flow__footer-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* ステップヘッダー（白カード） */
.hdc-mtm-step__header {
  position: relative;
  background: #ffffff;
  padding: 0;
}

/* 番号（左上の色付き四角） */
.hdc-mtm-step .hdc-mtm-step__num {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--hdc-mtm-step-color);
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-style: italic;
  font-weight: 500;
  padding: 8px 16px;
  line-height: 1;
  letter-spacing: 0.05em;
  opacity: 1;
  z-index: 1;
}

.hdc-mtm-step__title-wrap {
  padding: 22px 16px 22px;
  text-align: center;
}

/* タイトル（明朝大） */
.hdc-mtm-step .hdc-mtm-step__title {
  font-family: var(--hdc-font-mincho);
  font-size: 24px;
  font-weight: 400;
  color: #3a3a3a;
  margin: 0 0 14px;
  line-height: 1.4;
  letter-spacing: 0.06em;
}

/* タイトル直下のノート（例: 1〜4回 ※個人差あり） */
.hdc-mtm-step .hdc-mtm-step__note {
  font-family: var(--hdc-font-mincho);
  font-size: 14px;
  color: #3a3a3a;
  margin: -8px 0 14px;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

/* 所要時間（ミントグリーンのピル） */
.hdc-mtm-step .hdc-mtm-step__duration {
  display: inline-block;
  background: #d9e7e4;
  color: #3a3a3a;
  font-size: 13px;
  padding: 7px 26px;
  margin: 0;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

/* 写真エリア */
.hdc-mtm-step__photos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.hdc-mtm-step__photos:has(img:nth-child(2):last-child) {
  grid-template-columns: 1fr 1fr;
}

.hdc-mtm-step__photos--3,
.hdc-mtm-step__photos:has(img:nth-child(3):last-child) {
  grid-template-columns: 1fr 1fr 1fr;
}

.hdc-mtm-step__photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* サブセクション（実施項目等）コンテナ */
.hdc-mtm-step__items {
  padding: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 01の各サブセクション下の余白 */
.hdc-mtm-step--01 .hdc-mtm-step__items:not(:last-of-type) {
  margin-bottom: 32px;
}

/* サブセクション（色帯ヘッダー + 白カード） */
.hdc-mtm-sub {
  background: transparent;
  border-radius: 8px;
  overflow: hidden;
}

.hdc-col-center .hdc-mtm-sub__title {
  background: #5892a6;
  color: #ffffff;
  font-family: var(--hdc-font-sans);
  font-size: 14px;
  font-weight: 700;
  padding: 14px 14px;
  margin: 0;
  text-align: center;
  letter-spacing: 0.08em;
}

.hdc-mtm-sub__list {
  list-style: none;
  padding: 22px 22px;
  margin: 0;
  background: #ffffff;
}

.hdc-col-center .hdc-mtm-sub__list li {
  position: relative;
  padding: 5px 0 5px 16px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--hdc-color-text);
}

.hdc-mtm-sub__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hdc-mtm-step-color);
}

/* サブセクション 白枠バリアント（02など） */
.hdc-mtm-sub--outline {
  background: transparent;
  border: 1.5px solid #ffffff;
  padding: 28px 12px 26px;
  border-radius: 0;
  overflow: visible;
  margin-top: 14px;
}

.hdc-col-center .hdc-mtm-sub--outline .hdc-mtm-sub__title {
  background: transparent;
  color: #ffffff;
  padding: 0;
  margin: 0 0 24px;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  letter-spacing: 0.14em;
}

.hdc-mtm-sub--outline .hdc-mtm-sub__title::before,
.hdc-mtm-sub--outline .hdc-mtm-sub__title::after {
  content: '';
  width: 36px;
  height: 1px;
  background: #ffffff;
}

.hdc-mtm-sub--outline .hdc-mtm-sub__list {
  background: transparent;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 8px;
}

.hdc-col-center .hdc-mtm-sub--outline .hdc-mtm-sub__list li {
  color: #ffffff;
  font-size: 13px;
  padding: 0 0 0 14px;
  line-height: 1.5;
}

.hdc-mtm-sub--outline .hdc-mtm-sub__list li::before {
  content: '✦';
  background: transparent;
  border: none;
  border-radius: 0;
  width: auto;
  height: auto;
  top: 0;
  left: 0;
  color: #ffffff;
  font-size: 12px;
  line-height: 1.55;
}

/* ============================================================
   診療案内 セクション
============================================================ */
.hdc-treatment {
  background-color: #7a7d80;
  background-image: url('./assets/img/treatment-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 0;
  margin-top: 0;
  position: relative;
}

/* タイトルエリア（薄グレー背景） */
.hdc-treatment__head {
  position: relative;
  background: #f1f2f4;
  padding: 44px 24px 0;
  overflow: hidden;
}

/* 左上の三角デコレーション */
.hdc-treatment__head::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 95px;
  height: 70px;
  background: #e2e5ea;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: 0;
  pointer-events: none;
}

/* 背景の "treatment" 装飾文字（タイトル上部） */
.hdc-col-center .hdc-treatment__bg-text {
  position: relative;
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: #e2e5ea;
  letter-spacing: 0.32em;
  line-height: 1;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  margin: 16px 0 -16px;
}

/* 「診療案内」タイトル */
.hdc-col-center .hdc-treatment__title {
  position: relative;
  z-index: 2;
  font-family: var(--hdc-font-mincho);
  font-size: 32px;
  font-weight: 400;
  color: #3a3a3a;
  margin: 0 0 16px;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-align: left;
}

/* 院長 + 吹き出し エリア */
.hdc-treatment__intro {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.hdc-treatment__doctor {
  width: 52%;
  max-width: 210px;
  height: auto;
  flex-shrink: 0;
}

/* 吹き出し（ダーク） */
.hdc-treatment__bubble {
  position: relative;
  background: #3a3a3a;
  color: #ffffff;
  padding: 22px 8px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hdc-col-center .hdc-treatment__bubble-line {
  color: #ffffff;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.hdc-col-center .hdc-treatment__bubble-main {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

/* 吹き出しから下方向への接続線 */
.hdc-treatment__bubble::after {
  content: '';
  position: absolute;
  top: 100%;
  right: 24px;
  width: 1px;
  height: 36px;
  background: #3a3a3a;
}

/* リスト */
.hdc-treatment__list {
  list-style: none;
  padding: 20px 16px 28px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hdc-treatment__item {
  margin: 0;
}

/* リンクボタン */
.hdc-treatment__link {
  display: grid;
  grid-template-columns: 48px 1fr auto auto;
  align-items: center;
  gap: 12px;
  background: rgba(60, 62, 65, 0.85);
  border-radius: 6px;
  padding: 6px 14px 6px 6px;
  text-decoration: none;
  transition: background 0.2s;
}

.hdc-treatment__link:hover {
  background: rgba(60, 62, 65, 1);
}

.hdc-treatment__thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.hdc-col-center .hdc-treatment__label {
  color: #ffffff;
  font-size: 17px;
  text-decoration: underline;
  text-underline-offset: 3px;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.hdc-col-center .hdc-treatment__sub {
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.hdc-treatment__arrow {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* CSS描画の「＞」 */
.hdc-treatment__arrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-top: 2px solid #3a4247;
  border-right: 2px solid #3a4247;
  transform: rotate(45deg);
  margin-left: -2px;
}

/* ============================================================
   Instagram セクション
============================================================ */
.hdc-instagram {
  position: relative;
  background: #ffffff;
  padding: 48px 28px;
  margin: 0;
  text-align: center;
  overflow: hidden;
}

/* 背景デコレーション：グラデーション円 */
.hdc-instagram::before,
.hdc-instagram::after {
  content: '';
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  filter: blur(36px);
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}

.hdc-instagram::before {
  top: -40px;
  left: -40px;
  background: linear-gradient(135deg, #fdf497, #fd5949);
}

.hdc-instagram::after {
  bottom: -40px;
  right: -40px;
  background: linear-gradient(135deg, #d6249f, #285aeb);
}

.hdc-instagram__link {
  position: relative;
  z-index: 1;
  display: inline-block;
  text-decoration: none;
  transition: transform 0.2s;
}

.hdc-instagram__link:hover {
  transform: translateY(-3px);
}

.hdc-instagram__curved-text {
  display: block;
  width: 100%;
  max-width: 220px;
  margin: 0 auto -32px;
  height: auto;
}

.hdc-instagram__logo {
  display: block;
  width: 96px;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 4px 12px rgba(214, 36, 159, 0.22));
}

/* "Follow us" キャプション */
.hdc-instagram__caption {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: #3a4247;
  text-transform: uppercase;
}

.hdc-instagram__caption-line {
  width: 22px;
  height: 1px;
  background: #3a4247;
  opacity: 0.6;
}

.hdc-col-center .hdc-instagram__caption-text {
  color: #3a4247;
  font-weight: 500;
}

/* ============================================================
   患者さんへの想い セクション
============================================================ */
.hdc-wish {
  background: #ffffff;
  padding: 0;
  margin-top: 0;
}

.hdc-wish__photo {
  line-height: 0;
}

.hdc-wish__photo img {
  width: 100%;
  height: auto;
  display: block;
}

.hdc-wish__body {
  padding: 36px 28px 0;
  text-align: center;
}

.hdc-col-center .hdc-wish__text {
  font-family: var(--hdc-font-mincho);
  font-size: 15px;
  font-weight: 400;
  line-height: 2.2;
  color: #3a3a3a;
  letter-spacing: 0.08em;
  margin: 0;
}

/* ============================================================
   診療時間 セクション
============================================================ */
.hdc-medical-hours {
  padding-top: 50px;
  background: #ffffff;
}

/* ヘッダー行 */
.hdc-medical-hours__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.hdc-medical-hours__icon {
  width: 26px;
  height: auto;
  flex-shrink: 0;
}

.hdc-col-center .hdc-medical-hours__en {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--hdc-color-text);
  letter-spacing: 0.04em;
}

.hdc-medical-hours__rule {
  flex: 1;
  height: 1px;
  background: var(--hdc-color-text);
  opacity: 0.35;
}

.hdc-col-center .hdc-medical-hours__ja {
  flex-shrink: 0;
  font-family: var(--hdc-font-mincho);
  font-size: 14px;
  color: var(--hdc-color-text);
  letter-spacing: 0.1em;
}

/* 本体（背景は建物の写真） */
.hdc-medical-hours__body {
  position: relative;
  padding: 16px 10px 16px;
}

.hdc-medical-hours--photo .hdc-medical-hours__body {
  background-image: url('./assets/img/top-medicalhour_bg.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

/* 診療時間テーブル */
.hdc-hours {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: auto;
  background: transparent;
  margin: 0 0 5px;
}

.hdc-hours th,
.hdc-hours td {
  text-align: center;
  font-family: var(--hdc-font-sans);
  font-weight: 400;
  padding: 10px 6px;
  border: none;
  background: #ffffff;
  font-size: 13px;
  line-height: 1.3;
  vertical-align: middle;
  white-space: nowrap;
}

/* 見出しセル「診療時間」 */
.hdc-hours .hdc-hours__caption {
  background: #fce3ea;
  color: #d65a90;
  font-weight: 500;
  padding: 10px 16px;
}

/* 曜日セル: 月〜金 */
.hdc-hours .hdc-hours__day--weekday {
  background: #fce3ea;
  color: #3a3a3a;
  font-weight: 500;
}

/* 土曜 */
.hdc-hours .hdc-hours__day--sat {
  background: #e892ad;
  color: #ffffff;
  font-weight: 500;
}

/* 日祝 */
.hdc-hours .hdc-hours__day--sun {
  background: #8b2852;
  color: #ffffff;
  font-weight: 500;
}

/* 時間帯ラベル */
.hdc-hours .hdc-hours__time {
  background: #ffffff;
  color: #3a3a3a;
  font-weight: 400;
  font-size: 13px;
  padding: 14px 16px;
}

/* 本文セル */
.hdc-hours tbody td {
  background: #ffffff;
  color: #3a3a3a;
  font-size: 14px;
  font-weight: 400;
  padding: 14px 6px;
}

/* 行の横ライン */
.hdc-hours tbody tr {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.hdc-hours tbody tr:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* 診療時間 注記 */
.hdc-hours__notes {
  font-size: 0.8125rem;
  line-height: 1.8;
  color: var(--color-text, #333);
  background: #ffffff;
  padding: 14px 12px;
  border-radius: 4px;
}

.hdc-hours__notes p {
  margin: 0;
}

/* カレンダー */
.hdc-medical-hours__calendar {
  padding: 16px 0 0;
}

.hdc-col-center .hdc-calendar__heading {
  font-family: var(--hdc-font-sans);
  font-size: 13px;
  font-weight: 500;
  color: #2e4866;
  margin: 0;
  padding: 14px 14px 12px;
  letter-spacing: 0.06em;
  background: #ffffff;
  border-radius: 4px 4px 0 0;
}

.hdc-calendar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: #ffffff;
  padding: 0 8px 12px;
  border-radius: 0 0 4px 4px;
}

.hdc-calendar__month {
  background: #ffffff;
}

.hdc-col-center .hdc-calendar__title {
  font-family: var(--hdc-font-sans);
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
  background: #2e4866;
  text-align: center;
  margin: 0;
  padding: 6px 0;
  letter-spacing: 0.04em;
}

.hdc-calendar__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.hdc-calendar__table th,
.hdc-calendar__table td {
  text-align: center;
  font-family: var(--hdc-font-sans);
  font-size: 11px;
  border: 1px solid #2e4866;
  padding: 4px 0;
  line-height: 1.3;
  color: #333;
  background: #ffffff;
}

.hdc-calendar__table th {
  font-weight: 500;
  padding: 3px 0;
}

.hdc-calendar__empty {
  background: transparent;
  border-color: transparent;
}

/* ステータス別セル色 */
.hdc-calendar__table td.hdc-calendar__cell--closed {
  background: #f7d0d9;
}

.hdc-calendar__table td.hdc-calendar__cell--afternoon_closed {
  background: #fdf59a;
}

.hdc-calendar__table td.hdc-calendar__cell--emergency_only {
  background: #d0e6c4;
}

/* 凡例 */
.hdc-calendar__legend {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 12px 4px;
  background: #ffffff;
  margin-top: 8px;
  border-radius: 4px;
}

.hdc-calendar__legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--hdc-color-text);
}

.hdc-calendar__swatch {
  width: 20px;
  height: 14px;
  display: inline-block;
  flex-shrink: 0;
}

.hdc-calendar__swatch--closed    { background: #f7d0d9; }
.hdc-calendar__swatch--afternoon { background: #fdf59a; }
.hdc-calendar__swatch--emergency { background: #d0e6c4; }

/* ============================================================
   アクセス セクション
============================================================ */
.hdc-access {
  background: #f5f5f3;
}

/* ヘッダー行 */
.hdc-access__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.hdc-access__icons {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.hdc-access__icon {
  width: 26px;
  height: auto;
}

.hdc-col-center .hdc-access__en {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--hdc-color-text);
  letter-spacing: 0.04em;
}

.hdc-access__rule {
  flex: 1;
  height: 1px;
  background: var(--hdc-color-text);
  opacity: 0.35;
}

.hdc-col-center .hdc-access__ja {
  flex-shrink: 0;
  font-family: var(--hdc-font-mincho);
  font-size: 14px;
  color: var(--hdc-color-text);
  letter-spacing: 0.1em;
}

/* 地図 */
.hdc-access__map {
  background: #f0f0f0;
  padding: 16px;
}

.hdc-access__map iframe {
  width: 100%;
  display: block;
  border: none;
}

/* 電車・お車ブロック */
.hdc-access__block {
  padding: 0 16px 20px;
  background: #f5f5f3;
}

.hdc-access__block-head {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #7d2a51;
  color: #ffffff;
  padding: 12px 20px;
  margin: 20px 0 16px;
  border-radius: 4px;
  justify-content: center;
  text-align: center;
}

.hdc-access__block-head img {
  width: 26px;
  height: auto;
  flex-shrink: 0;
}

.hdc-col-center .hdc-access__block-head span {
  font-family: var(--hdc-font-sans);
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.08em;
}

/* 電車カード（2列） */
.hdc-access__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hdc-access__card img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 6px;
}

.hdc-col-center .hdc-access__card-title {
  font-family: var(--hdc-font-sans);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--hdc-color-text);
  margin: 0 0 6px;
  text-align: center;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.hdc-col-center .hdc-access__card-desc {
  font-size: 12px;
  line-height: 1.65;
  color: var(--hdc-color-text);
  margin: 0;
  letter-spacing: 0.02em;
}

/* お車ブロック */
.hdc-access__car-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 14px;
}

.hdc-access__car-photos img {
  width: 100%;
  height: auto;
  display: block;
}

.hdc-col-center .hdc-access__parking-title {
  font-size: 14px;
  color: var(--hdc-color-text);
  margin: 0 0 4px;
  letter-spacing: 0.02em;
  line-height: 1.6;
}

.hdc-col-center .hdc-access__parking-title strong {
  font-weight: 700;
}

.hdc-access__note {
  font-size: 12px;
  color: var(--hdc-color-muted);
}

.hdc-col-center .hdc-access__parking-note {
  font-size: 12px;
  margin: 0 0 10px;
  line-height: 1.5;
}

.hdc-col-center .hdc-access__route {
  font-size: 14px;
  line-height: 1.7;
  color: var(--hdc-color-text);
  margin: 0;
}

/* ============================================================
   サイトヘッダー（ロゴ + ハンバーガー）
   #main（中央カラム）内で sticky 固定
============================================================ */
.hdc-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.hdc-site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 20px 0 20px;
}

.hdc-site-header__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
  flex-shrink: 0;
}

.hdc-site-header__logo img {
  width: 220px;
  height: auto;
  display: block;
}

/* ハンバーガーボタン */
.hdc-site-header__toggle {
  width: 48px;
  height: 48px;
  background: var(--hdc-color-accent);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 0;
  position: relative;
  z-index: 1002;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: background-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.hdc-site-header__toggle:hover {
  background: var(--hdc-color-accent-hover);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}

.hdc-site-header__toggle-bar {
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

/* メニュー open 時：ハンバーガー → ✕ */
.hdc-site-header.is-open .hdc-site-header__toggle-bar:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.hdc-site-header.is-open .hdc-site-header__toggle-bar:nth-child(2) {
  opacity: 0;
}

.hdc-site-header.is-open .hdc-site-header__toggle-bar:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* オーバーレイメニュー（#main内に表示） */
.hdc-site-menu {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: var(--hdc-center-width);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.98);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.08);
}

.hdc-site-header.is-open .hdc-site-menu {
  opacity: 1;
  visibility: visible;
}

.hdc-site-menu__inner {
  padding: 24px 28px 60px;
  max-width: 640px;
  margin: 0 auto;
}

.hdc-site-menu__logo {
  display: inline-block;
  margin-bottom: 32px;
  line-height: 0;
}

.hdc-site-menu__logo img {
  width: 220px;
  height: auto;
  display: block;
}

.hdc-site-menu__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.hdc-site-menu__list li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.hdc-site-menu__list li a {
  display: block;
  padding: 18px 0;
  font-family: var(--hdc-font-mincho);
  font-size: 17px;
  color: #3a4247;
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}

.hdc-site-menu__list li a:hover {
  color: #f864aa;
}

/* ============================================================
   共通：サブメニュー開閉（左カラム・ハンバーガー両対応）
============================================================ */
.menu-item-has-children {
  position: relative;
}

.hdc-submenu-toggle {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hdc-submenu-toggle__arrow {
  display: block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s;
  color: var(--hdc-color-muted);
  opacity: 0.7;
}

.menu-item-has-children.is-open > .hdc-submenu-toggle .hdc-submenu-toggle__arrow {
  transform: translateY(2px) rotate(-135deg);
}

.sub-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.menu-item-has-children.is-open > .sub-menu {
  max-height: 1000px;
}

/* ハンバーガー内サブメニュー固有 */
.hdc-site-menu__list .menu-item-has-children > a {
  padding-right: 52px;
}

.hdc-site-menu__list .hdc-submenu-toggle {
  width: 52px;
  height: 56px;
}

.hdc-site-menu__list .hdc-submenu-toggle__arrow {
  width: 10px;
  height: 10px;
  color: #3a4247;
  opacity: 1;
}

.hdc-site-menu__list .sub-menu li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.hdc-site-menu__list .sub-menu li:last-child {
  border-bottom: none;
}

.hdc-site-menu__list .sub-menu li a {
  padding: 14px 0 14px 16px;
  font-size: 15px;
  font-family: var(--hdc-font-sans);
  letter-spacing: 0.06em;
  color: #3a4247;
}

/* ============================================================
   左カラム ナビゲーション — サブメニュー
============================================================ */
.hdc-nav-menu .menu-item-has-children > a {
  padding-right: 24px;
}

.hdc-nav-menu .hdc-submenu-toggle {
  width: 32px;
  height: 40px;
}

.hdc-nav-menu .hdc-submenu-toggle__arrow {
  width: 10px;
  height: 10px;
  border-right-width: 2px;
  border-bottom-width: 2px;
  opacity: 0.9;
}

.hdc-nav-menu .sub-menu {
  padding-left: 10px;
  margin-top: 4px;
  border-left: 1px solid var(--hdc-color-border);
}

.hdc-nav-menu .sub-menu li a {
  padding: 8px 0;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: none;
  border-bottom: none;
}

.hdc-nav-menu .sub-menu li a:hover {
  color: var(--hdc-color-accent);
  border-bottom-color: transparent;
}


/* ============================================================
   モバイル（840px 以下）
   中央カラムのみ全幅、左右・ティッカーを非表示
============================================================ */
@media (max-width: 840px) {
  .hdc-columns {
    grid-template-columns: 1fr;
    grid-template-areas: "center";
    min-height: 100vh;
    padding-bottom: 0;
  }

  .hdc-col-left,
  .hdc-col-right,
  .hdc-ticker {
    display: none;
  }

  .hdc-col-center {
    overflow: visible;
    max-height: none !important;
  }
}

/* ============================================================
   PAGETOP ボタン
============================================================ */
.hdc-pagetop {
  position: fixed;
  right: calc(50% - var(--hdc-center-width) / 2 + 12px);
  bottom: calc(var(--hdc-ticker-height) + 16px);
  z-index: 900;
  width: 48px;
  height: 48px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hdc-color-accent);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s, background-color 0.2s;
}

.hdc-pagetop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hdc-pagetop:hover {
  background: var(--hdc-color-accent-hover);
}

.hdc-pagetop__arrow {
  width: 12px;
  height: 12px;
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  transform: translateY(2px) rotate(-45deg);
}

@media (max-width: 840px) {
  .hdc-pagetop {
    right: 16px;
    bottom: calc(var(--hdc-mobile-bar-h, 0px) + 16px);
  }
}

/* ============================================================
   モバイル固定ボタンバー
============================================================ */
.hdc-mobile-bar {
  --hdc-mobile-bar-h: 56px;
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--hdc-mobile-bar-h);
  background: #fff;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}

.hdc-mobile-bar__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 8px 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  /* 白文字だと背景色（ゴールド／グリーン）とのコントラストが不足するため濃紺に変更 */
  color: var(--hdc-tx-navy, #1f3049) !important;
  background: var(--hdc-color-accent, #2e4866);
  transition: filter 0.2s;
}

.hdc-mobile-bar__btn + .hdc-mobile-bar__btn {
  border-left: 1px solid #fff;
}

.hdc-mobile-bar__btn:nth-child(even) {
  background: var(--hdc-color-muted, #888);
}

.hdc-mobile-bar__btn:active {
  filter: brightness(0.85);
}

@media (max-width: 840px) {
  .hdc-mobile-bar {
    display: flex;
  }

  /* 固定バー分の余白をbodyに確保 */
  body {
    padding-bottom: var(--hdc-mobile-bar-h, 56px);
  }
}

/* ============================================================
   診療メニュー詳細ページ（審美歯科など・専門サイト型）
   prefix: .hdc-tx-*
============================================================ */
:root {
  --hdc-tx-badge-blue:  #6d8aa8;
  --hdc-tx-badge-green: #7f9471;
  --hdc-tx-navy:        #1f3049;
  --hdc-tx-slate:       #59687d;
  --hdc-tx-beige:       #f2ece0;
  --hdc-tx-beige-deep:  #e7dcc4;
}

.hdc-tx-page {
  position: relative;
  padding: 0;
}

/* 歯周病ページのみ末尾に .hdc-access（アクセスセクション）が続くため、
   最後のカードの内部下余白（20px）がフッターバナー上の余白に上乗せされ、
   他の診療科目ページ（末尾が .hdc-tx-cta-banner）より隙間が広くなっていた。
   ページ末尾に来た場合のみ打ち消して、フッターバナー周りの余白を統一する。 */
.hdc-tx-page > .hdc-access:last-child .hdc-access__block:last-child {
  padding-bottom: 0;
}

.hdc-breadcrumb--treatment {
  padding: 10px 20px 0;
  font-size: 11px;
  color: var(--hdc-color-content-muted) !important;
}

.hdc-breadcrumb--overlay {
  position: absolute;
  z-index: 10;
  top: 12px;
  left: 12px;
  max-width: calc(100% - 24px);
  padding: 4px 10px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 3px;
  color: var(--hdc-color-muted) !important;
}

.hdc-breadcrumb--overlay::-webkit-scrollbar {
  display: none;
}

/* ---------- ヒーロー ---------- */
.hdc-tx-hero {
  position: relative;
  background: #fff;
}

/* ---------- MV：デザインカンプをそのまま1枚画像で表示するタイプ ---------- */
.hdc-tx-hero--flat .hdc-tx-hero__flat-img-wrap {
  margin: 0;
  line-height: 0;
}

.hdc-tx-hero--flat .hdc-tx-hero__flat-img-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

.hdc-tx-hero__badge {
  position: absolute;
  top: 14px;
  right: 20px;
  z-index: 2;
  padding: 5px 12px;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #fff !important;
  background: var(--hdc-color-accent);
  border-radius: var(--hdc-radius);
}

.hdc-tx-hero__photo {
  position: relative;
  overflow: hidden;
}

.hdc-tx-hero__photo img {
  display: block;
  width: 100%;
  height: auto;
}

.hdc-tx-hero__copy {
  position: absolute;
  top: 38px;
  left: 24px;
  z-index: 1;
  color: #fff !important;
}

.hdc-tx-hero__overline {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: #fff !important;
}

.hdc-tx-hero__title {
  margin: 0;
  font-family: var(--hdc-font-mincho);
  font-size: 30px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: #fff !important;
}

.hdc-tx-hero__title span {
  display: block;
  font-size: 22px;
}

.hdc-tx-hero__watermark {
  position: absolute;
  left: 20px;
  bottom: 26px;
  z-index: 1;
  margin: 0;
  font-family: var(--hdc-font-trajan);
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.75) !important;
}

.hdc-tx-hero__intro {
  padding: 36px 24px;
  text-align: center;
}

.hdc-tx-hero__intro-title {
  margin: 0;
  font-family: var(--hdc-font-mincho);
  font-size: 27px;
  color: var(--hdc-color-content-text) !important;
}

.hdc-tx-hero__intro-title strong {
  margin: 0 4px;
  font-family: var(--hdc-font-trajan);
  font-size: 44px;
  line-height: 1;
  color: var(--hdc-color-accent) !important;
}

.hdc-tx-hero__scroll {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--hdc-color-content-muted) !important;
}

.hdc-tx-hero__scroll span {
  display: block;
  margin-bottom: 4px;
  font-family: var(--hdc-font-trajan);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--hdc-color-accent) !important;
}

.hdc-tx-hero__scroll-arrow {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  letter-spacing: 0;
  color: var(--hdc-color-content-muted) !important;
}

/* ---------- ヒーロー：エディトリアル版（写真全面に大胆なコピー配置） ---------- */
.hdc-tx-hero--editorial .hdc-tx-hero__photo--tall {
  height: 780px;
}

.hdc-tx-hero--editorial .hdc-tx-hero__photo::after {
  background: linear-gradient(180deg, rgba(10, 14, 20, 0.55) 0%, rgba(10, 14, 20, 0.25) 38%, rgba(10, 14, 20, 0.35) 62%, rgba(10, 14, 20, 0.78) 100%);
}

.hdc-tx-hero__editorial-copy {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 70px 10px 150px;
}

.hdc-tx-hero__editorial-block {
  margin: 0;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--hdc-font-mincho);
  letter-spacing: 0.12em;
  line-height: 1.25;
  color: #fff !important;
}

.hdc-tx-hero__editorial-block--main {
  align-self: flex-end;
  font-size: 40px;
}

.hdc-tx-hero__editorial-block--mid {
  align-self: center;
  font-size: 30px;
}

.hdc-tx-hero__editorial-block--sub,
.hdc-tx-hero__editorial-block--sub2 {
  align-self: flex-start;
  font-size: 24px;
  color: rgba(255, 255, 255, 0.92) !important;
}

.hdc-tx-hero__editorial-block--sub2 {
  align-self: flex-start;
  margin-top: 34px;
}

.hdc-tx-hero__editorial-note {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 128px;
  z-index: 1;
  margin: 0;
  padding-top: 12px;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-align: center;
  color: #fff !important;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.hdc-tx-hero__intro--textured {
  background-image: url('./assets/img/treatment/aesthetic/reasons-bg-silk.webp');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

/* ---------- 選ばれる3つの理由 ---------- */
.hdc-tx-reasons {
  padding: 0 24px 56px;
  background: var(--hdc-tx-beige);
}

.hdc-tx-reasons__item + .hdc-tx-reasons__item {
  margin-top: 46px;
}

.hdc-tx-reasons__item:first-child {
  padding-top: 44px;
}

.hdc-tx-reasons__heading {
  margin: 0 0 16px;
  font-family: var(--hdc-font-mincho);
  font-size: 20px;
  color: var(--hdc-color-content-text) !important;
}

.hdc-tx-reasons__num {
  margin-right: 4px;
  color: var(--hdc-color-accent) !important;
}

.hdc-tx-reasons__photo {
  position: relative;
}

.hdc-tx-reasons__photo img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
}

.hdc-tx-reasons__badge {
  position: absolute;
  left: -10px;
  bottom: -26px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
  padding: 14px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
  color: #fff !important;
  text-align: center;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.hdc-tx-reasons__badge--blue  { background: var(--hdc-tx-badge-blue); }
.hdc-tx-reasons__badge--gold  { background: var(--hdc-color-accent); }
.hdc-tx-reasons__badge--green { background: var(--hdc-tx-badge-green); }

.hdc-tx-reasons__text {
  margin: 30px 0 0;
  font-size: 16px;
  line-height: 1.9;
  color: var(--hdc-color-content-text) !important;
}

/* ---- 選ばれる3つの理由：先方デザイン準拠バリエーション ---- */

.hdc-tx-reasons--gold {
  padding: 32px 20px 56px;
}

.hdc-tx-reasons--gold .hdc-tx-reasons__item + .hdc-tx-reasons__item {
  margin-top: 32px;
}

.hdc-tx-reasons--gold .hdc-tx-reasons__item:first-child {
  padding-top: 0;
}

.hdc-tx-reasons--gold .hdc-tx-reasons__card {
  padding: 28px 20px 26px;
  border-radius: 10px;
}

.hdc-tx-reasons--gold .hdc-tx-reasons__item--blue .hdc-tx-reasons__card {
  background: #dfe7ed;
}

.hdc-tx-reasons--gold .hdc-tx-reasons__item--gold .hdc-tx-reasons__card {
  background: #f4f1e9;
}

.hdc-tx-reasons--gold .hdc-tx-reasons__heading {
  margin: 0 0 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
  font-size: 21px;
  font-weight: 700;
}

.hdc-tx-reasons--gold .hdc-tx-reasons__num {
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
  font-size: 30px;
  line-height: 1;
}

/* カード背景（淡い水色／クリーム）とのコントラスト比4.5:1以上を確保した濃色を使用 */
.hdc-tx-reasons__accent--blue  { color: #59687d !important; }
.hdc-tx-reasons__accent--gold  { color: #66500a !important; }

.hdc-tx-reasons--gold .hdc-tx-reasons__photo img {
  height: 200px;
  border-radius: 4px;
}

.hdc-tx-reasons--gold .hdc-tx-reasons__foot {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 0;
}

.hdc-tx-reasons--gold .hdc-tx-reasons__item--reverse .hdc-tx-reasons__foot {
  flex-direction: row-reverse;
}

.hdc-tx-reasons--gold .hdc-tx-reasons__badge {
  position: static;
  flex: 0 0 auto;
  width: 140px;
  height: 100px;
  min-height: 0;
  margin-top: -34px;
  padding: 0 8px;
  box-sizing: border-box;
  font-size: 14px;
  white-space: nowrap;
  line-height: 1.5;
  clip-path: polygon(22px 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 22px 100%, 0 50%);
}

.hdc-tx-reasons--gold .hdc-tx-reasons__badge--reverse {
  padding: 0 8px;
}

/* 白文字とのコントラスト比4.5:1以上を確保するため、明るい端でも十分暗い色域を使用 */
.hdc-tx-reasons--gold .hdc-tx-reasons__badge--blue  { background: linear-gradient(160deg, #4a6f9a 0%, #3a5580 100%); }
.hdc-tx-reasons--gold .hdc-tx-reasons__badge--gold  { background: linear-gradient(160deg, #8a6d1c 0%, #66500a 100%); }
.hdc-tx-reasons--gold .hdc-tx-reasons__badge--green { background: linear-gradient(160deg, #4a7358 0%, #375a42 100%); }

.hdc-tx-reasons--gold .hdc-tx-reasons__text {
  flex: 1 1 auto;
  align-self: center;
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.18);
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
  font-size: 14px;
  line-height: 1.85;
}

.hdc-tx-reasons--gold .hdc-tx-reasons__item:not(.hdc-tx-reasons__item--reverse) .hdc-tx-reasons__text {
  margin-left: 14px;
}

.hdc-tx-reasons--gold .hdc-tx-reasons__item--reverse .hdc-tx-reasons__text {
  margin-right: 14px;
}

/* ---------- 審美治療とは ---------- */
.hdc-tx-intro__photo {
  position: relative;
}

.hdc-tx-intro__photo img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 20%;
}

.hdc-tx-intro__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 26, 36, 0.05) 40%, rgba(20, 26, 36, 0.5) 100%);
}

.hdc-tx-intro__copy {
  position: absolute;
  left: 24px;
  bottom: 28px;
  z-index: 1;
  color: #fff !important;
}

.hdc-tx-intro__lead {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.7;
  color: #fff !important;
}

.hdc-tx-intro__title {
  margin: 0;
  padding: 6px 10px;
  display: inline-block;
  font-family: var(--hdc-font-mincho);
  font-size: 26px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--hdc-tx-navy) !important;
}

.hdc-tx-intro__title ruby rt {
  font-size: 10px;
  color: var(--hdc-color-content-muted) !important;
}

.hdc-tx-intro__cards {
  padding: 30px 24px;
}

.hdc-tx-intro__card {
  position: relative;
  margin-bottom: 26px;
}

.hdc-tx-intro__card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.hdc-tx-intro__card-desc {
  margin: 10px 4px 0;
  font-size: 16px;
  color: var(--hdc-color-content-muted) !important;
}

/* ---------- 医療設備（3枚組写真） ---------- */
.hdc-tx-equipment {
  position: relative;
  padding: 0 0 4px;
  background: var(--hdc-tx-beige);
}

.hdc-tx-equipment__main {
  position: relative;
}

.hdc-tx-equipment__main img {
  display: block;
  width: 100%;
  height: auto;
}

.hdc-tx-equipment__vertical {
  position: absolute;
  top: 20px;
  right: 20px;
  margin: 0;
  writing-mode: vertical-rl;
  font-family: var(--hdc-font-mincho);
  font-size: 20px;
  color: var(--hdc-tx-navy) !important;
  background: rgba(255, 255, 255, 0.85);
  padding: 10px 6px;
}

.hdc-tx-equipment__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.hdc-tx-equipment__row img {
  display: block;
  width: 100%;
  height: 120px;
  object-fit: cover;
}

/* ---------- GREETING 院長挨拶 ---------- */
.hdc-tx-greeting {
  padding: 46px 24px 50px;
  text-align: center;
  background: #fff;
}

.hdc-tx-greeting__kicker {
  margin: 0;
  font-family: var(--hdc-font-trajan);
  font-size: 46px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--hdc-tx-navy) !important;
}

.hdc-tx-greeting__kicker span {
  color: var(--hdc-color-accent) !important;
}

.hdc-tx-greeting__sub {
  margin: 8px 0 30px;
  font-size: 22px;
  letter-spacing: 0.28em;
  color: var(--hdc-color-content-muted) !important;
}

.hdc-tx-greeting__portrait {
  position: relative;
  margin: 0 -24px;
}

.hdc-tx-greeting__portrait img {
  display: block;
  width: 100%;
}

.hdc-tx-greeting__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  font-size: 11px;
  color: #fff !important;
  background: var(--hdc-tx-navy);
}

.hdc-tx-greeting__name-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 16px 22px;
  background: linear-gradient(100deg, rgba(89, 104, 125, 0.75) 0%, var(--hdc-tx-navy) 62%);
  margin-top: -74px;
  position: relative;
  color: #fff !important;
  text-align: left;
}

.hdc-tx-greeting__name-box::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 18px solid var(--hdc-tx-beige-deep);
}

.hdc-tx-greeting__name {
  flex: 0 0 auto;
  margin: 0;
  font-family: var(--hdc-font-mincho);
  font-size: 28px;
  color: #fff !important;
}

.hdc-tx-greeting__name ruby rt {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7) !important;
}

.hdc-tx-greeting__credentials,
.hdc-tx-greeting__credentials li {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85) !important;
}

.hdc-tx-greeting__credentials {
  flex: 0 1 auto;
  text-align: left;
}

/* ---- GREETING：先方デザイン準拠バリエーション（審美歯科） ---- */

.hdc-tx-greeting--gold .hdc-tx-greeting__badge {
  top: 0;
  left: 0;
  padding: 10px 22px 10px 16px;
  font-size: 13px;
  font-weight: 700;
  background: linear-gradient(135deg, #8a6d1c 0%, #66500a 100%);
  clip-path: polygon(0 0, 100% 0, 78% 100%, 0% 100%);
}

.hdc-tx-greeting--gold .hdc-tx-greeting__name-box {
  background: linear-gradient(100deg, rgba(138, 109, 28, 0.75) 0%, #66500a 62%);
}

.hdc-tx-greeting--gold .hdc-tx-greeting__name-box::after {
  border-top-color: #66500a;
}

.hdc-tx-greeting--gold .hdc-tx-greeting__credentials,
.hdc-tx-greeting--gold .hdc-tx-greeting__credentials li {
  color: #fff !important;
}

.hdc-tx-greeting__lead {
  margin: 30px 0 0;
  font-family: var(--hdc-font-mincho);
  font-size: 16px;
  line-height: 2;
  color: var(--hdc-color-content-text) !important;
}

.hdc-tx-greeting__video {
  margin: 30px -24px 0;
}

.hdc-tx-greeting__video-label {
  margin: 0 0 10px;
  padding: 0 24px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--hdc-tx-navy) !important;
}

.hdc-tx-greeting__video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.hdc-tx-greeting__video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- セラミック治療メニュー & ホワイトニング（共通構造） ---------- */
.hdc-tx-menu,
.hdc-tx-whitening {
  position: relative;
  padding: 50px 24px 50px;
  background: var(--hdc-tx-beige);
  overflow: hidden;
}

.hdc-tx-menu__head,
.hdc-tx-whitening__head {
  position: relative;
  z-index: 1;
  margin-bottom: 30px;
  padding: 14px 0;
  text-align: center;
  background: var(--hdc-tx-beige);
  border-top: 1px solid var(--hdc-tx-beige-deep);
  border-bottom: 1px solid var(--hdc-tx-beige-deep);
}

.hdc-tx-menu__title,
.hdc-tx-whitening__title {
  margin: 0;
  font-family: var(--hdc-font-mincho);
  font-size: 30px;
  letter-spacing: 0.1em;
  color: var(--hdc-color-content-text) !important;
}

body.page-esthetic-dentistry .hdc-tx-menu__title,
body.page-esthetic-dentistry .hdc-tx-whitening__title {
  color: #66500a !important;
}

body.page-esthetic-dentistry .hdc-tx-menu,
body.page-esthetic-dentistry .hdc-tx-whitening {
  background-image: url('./assets/img/treatment/aesthetic/menu-whitening-bg-marble.webp');
  background-repeat: repeat;
}

.hdc-tx-menu__deco,
.hdc-tx-whitening__deco {
  display: inline-block;
  width: 74px;
  height: 54px;
  vertical-align: middle;
  margin-right: 10px;
  background: url('./assets/img/treatment/aesthetic/menu-band-icon-ceramic.svg') no-repeat center / contain;
}

.hdc-tx-menu__deco + .hdc-tx-menu__title,
.hdc-tx-whitening__deco + .hdc-tx-whitening__title {
  display: inline-block;
  vertical-align: middle;
}

.hdc-tx-menu__item {
  position: relative;
  z-index: 1;
  margin-bottom: 46px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--hdc-tx-beige-deep);
}

.hdc-tx-menu__item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.hdc-tx-menu__photo,
.hdc-tx-whitening__photo {
  position: relative;
  margin-bottom: 14px;
}

.hdc-tx-menu__photo img,
.hdc-tx-whitening__photo img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: contain;
  background: var(--hdc-tx-beige);
  border-radius: 6px;
}

.hdc-tx-menu__label {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  padding: 8px 18px;
  font-size: 13px;
  white-space: nowrap;
  color: var(--hdc-tx-navy) !important;
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--hdc-radius);
}

.hdc-tx-whitening__photo-tag {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  padding: 8px 18px;
  font-size: 13px;
  white-space: nowrap;
  color: var(--hdc-tx-navy) !important;
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--hdc-radius);
}

.hdc-tx-menu__desc,
.hdc-tx-whitening__desc {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--hdc-color-content-text) !important;
}

.hdc-tx-menu__features {
  margin: 0 0 18px;
}

.hdc-tx-menu__features-title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--hdc-color-content-text) !important;
}

.hdc-tx-menu__features ul {
  margin: 0;
  padding-left: 1.2em;
  font-size: 14px;
  line-height: 1.8;
  color: var(--hdc-color-content-muted) !important;
}

.hdc-tx-menu__certificate {
  position: relative;
  margin-bottom: 18px;
}

.hdc-tx-menu__certificate img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: contain;
  background: var(--hdc-tx-beige);
  border-radius: 4px;
}

.hdc-tx-menu__certificate-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 12px;
  font-size: 12px;
  color: #fff !important;
  background: rgba(20, 26, 36, 0.55);
}

.hdc-tx-menu__before-after,
.hdc-tx-whitening__before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-bottom: 18px;
}

.hdc-tx-menu__ba-col,
.hdc-tx-whitening__ba-col {
  position: relative;
}

.hdc-tx-menu__ba-col img,
.hdc-tx-whitening__ba-col img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: contain;
  background: var(--hdc-tx-beige);
}

.hdc-tx-menu__ba-tag,
.hdc-tx-whitening__ba-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 2px 10px;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--hdc-tx-navy) !important;
  background: rgba(255, 255, 255, 0.85);
}

.hdc-tx-menu__spec,
.hdc-tx-whitening__spec {
  margin: 0 0 16px;
}

.hdc-tx-menu__spec-row,
.hdc-tx-whitening__spec-row {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  font-size: 15px;
  border-bottom: 1px solid var(--hdc-tx-beige-deep);
  background: var(--hdc-tx-beige);
}

.hdc-tx-menu__spec-row:first-child,
.hdc-tx-whitening__spec-row:first-child {
  border-top-left-radius: var(--hdc-radius);
  border-top-right-radius: var(--hdc-radius);
}

.hdc-tx-menu__spec-row:last-child,
.hdc-tx-whitening__spec-row:last-child {
  border-bottom: 0;
  border-bottom-left-radius: var(--hdc-radius);
  border-bottom-right-radius: var(--hdc-radius);
}

.hdc-tx-menu__spec-row dt,
.hdc-tx-whitening__spec-row dt {
  flex: 0 0 76px;
  margin: 0;
  font-weight: 700;
  color: var(--hdc-tx-navy) !important;
}

.hdc-tx-menu__spec-row dd,
.hdc-tx-whitening__spec-row dd {
  flex: 1;
  margin: 0;
  color: var(--hdc-color-content-text) !important;
}

.hdc-tx-menu__risks-title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--hdc-color-content-text) !important;
}

.hdc-tx-menu__risks ul {
  margin: 0;
  padding-left: 1.2em;
  font-size: 14px;
  line-height: 1.8;
  color: var(--hdc-color-content-muted) !important;
}

.hdc-tx-menu__watermark,
.hdc-tx-whitening__watermark,
.hdc-tx-flow__watermark {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  margin: 0;
  font-family: var(--hdc-font-trajan);
  font-size: 30px;
  line-height: 1.2;
  text-align: center;
  letter-spacing: 0.08em;
  color: var(--hdc-tx-beige-deep) !important;
  white-space: nowrap;
}

.hdc-tx-menu__cta,
.hdc-tx-whitening__cta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 16px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;
  color: var(--hdc-color-content-text) !important;
  background: #fff;
  border: 1px solid var(--hdc-color-accent);
  border-radius: var(--hdc-radius);
}

.hdc-tx-menu__toggle {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  font-size: 13px;
  color: var(--hdc-color-content-muted) !important;
  background: var(--hdc-tx-beige-deep);
  border: 0;
  border-radius: var(--hdc-radius);
}

.hdc-tx-menu__toggle-tap {
  margin-left: auto;
  font-family: var(--hdc-font-trajan);
  font-style: italic;
  font-size: 12px;
}

/* ---------- ホワイトニングMENU 料金表（金〜ブラウン系の豪華パネル） ---------- */
.hdc-tx-whitening__menu {
  position: relative;
  z-index: 1;
  margin: 28px 0;
  padding: 40px 18px 26px;
  background: linear-gradient(150deg, #8d6933 0%, #b98c51 45%, #d3b077 100%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 6px;
  overflow: hidden;
}

/* コーナーの唐草装飾（歯周病ページの support-corner SVG を白抜きで流用） */
.hdc-tx-whitening__menu::before,
.hdc-tx-whitening__menu::after,
.hdc-tx-whitening__menu-option::before,
.hdc-tx-whitening__menu-option::after {
  content: '';
  position: absolute;
  z-index: 2;
  width: 34px;
  height: 34px;
  background-color: rgba(255, 255, 255, 0.92);
  -webkit-mask: url('./assets/img/treatment/perio/payment-corner-left.svg') no-repeat center / contain;
          mask: url('./assets/img/treatment/perio/payment-corner-left.svg') no-repeat center / contain;
  pointer-events: none;
}

.hdc-tx-whitening__menu::before { top: 10px; left: 10px; }
.hdc-tx-whitening__menu::after  { top: 10px; right: 10px; transform: scaleX(-1); }
.hdc-tx-whitening__menu-option::before { bottom: 6px; left: 6px; transform: scaleY(-1); }
.hdc-tx-whitening__menu-option::after  { bottom: 6px; right: 6px; transform: scale(-1, -1); }

.hdc-tx-whitening__menu-title {
  position: relative;
  z-index: 1;
  margin: 0 0 26px;
  padding-bottom: 14px;
  font-family: var(--hdc-font-mincho);
  font-size: 17px;
  letter-spacing: 0.16em;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  color: #fff !important;
}

.hdc-tx-whitening__menu-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 90px;
  height: 1px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.6);
}

.hdc-tx-whitening__menu-cards {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 22px;
}

.hdc-tx-whitening__menu-card {
  position: relative;
  z-index: 1;
  padding-bottom: 14px;
  text-align: center;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
}

.hdc-tx-whitening__menu-card-photo {
  margin-bottom: 10px;
}

.hdc-tx-whitening__menu-card-photo img {
  display: block;
  width: 100%;
  height: 128px;
  object-fit: cover;
}

.hdc-tx-whitening__menu-card-name {
  margin: 0 0 8px;
  padding: 0 6px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--hdc-tx-navy) !important;
}

.hdc-tx-whitening__menu-card-price {
  margin: 0 0 6px;
  font-family: var(--hdc-font-trajan);
  font-size: 18px;
  color: var(--hdc-tx-navy) !important;
}

.hdc-tx-whitening__menu-card-badge {
  display: inline-block;
  margin-right: 6px;
  padding: 2px 8px;
  font-family: var(--hdc-font-sans);
  font-size: 10px;
  vertical-align: middle;
  color: var(--hdc-tx-navy) !important;
  background: var(--hdc-tx-beige);
  border-radius: 3px;
}

.hdc-tx-whitening__menu-card-note {
  margin: 0;
  padding: 0 6px;
  font-size: 10px;
  color: var(--hdc-color-content-muted) !important;
}

.hdc-tx-whitening__menu-set {
  grid-column: 1 / -1;
  z-index: 1;
  width: 62%;
  max-width: 190px;
  margin: 12px auto 0;
  padding: 10px 8px;
  text-align: center;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid #fff;
  border-radius: 2px;
  box-shadow: 0 8px 18px rgba(60, 40, 10, 0.28);
}

.hdc-tx-whitening__menu-set-label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--hdc-font-trajan);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #8a6a35 !important;
}

.hdc-tx-whitening__menu-set-desc {
  display: block;
  font-size: 10px;
  line-height: 1.5;
  color: var(--hdc-color-content-text) !important;
}

.hdc-tx-whitening__menu-set-price {
  display: block;
  margin-top: 4px;
  font-family: var(--hdc-font-trajan);
  font-size: 18px;
  color: var(--hdc-tx-navy) !important;
}

.hdc-tx-whitening__menu-option {
  position: relative;
  z-index: 1;
  padding: 14px 44px 30px;
  font-size: 11px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.92) !important;
  border-top: 1px dotted rgba(255, 255, 255, 0.4);
}

.hdc-tx-whitening__menu-option-label {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 8px;
  font-size: 10px;
  color: #fff !important;
  background: rgba(0, 0, 0, 0.28);
  border-radius: 3px;
}

/* ---------- 治療完了までのながれ ---------- */
.hdc-tx-flow {
  position: relative;
  padding: 50px 24px 56px;
  background: var(--hdc-tx-beige-deep);
  overflow: hidden;
}

.hdc-tx-flow .hdc-tx-flow__watermark {
  color: #fff !important;
  opacity: 0.6;
}

.hdc-tx-flow--watermark {
  padding-top: 100px;
}

.hdc-tx-flow__head {
  position: relative;
  z-index: 1;
  margin-bottom: 34px;
  padding: 14px 0;
  background: var(--hdc-tx-beige-deep);
  text-align: center;
}

.hdc-tx-flow__head-en {
  margin: 0 0 10px;
  padding: 6px 14px;
  display: inline-block;
  font-size: 13px;
  background: #fff;
  border-radius: 3px;
}

.hdc-tx-flow__head-title {
  margin: 0;
  font-family: var(--hdc-font-mincho) !important;
  font-size: 25px;
  color: var(--hdc-color-content-text) !important;
}

.hdc-tx-flow__head-note {
  margin: 8px 0 0;
  font-size: 11px;
  color: var(--hdc-color-content-muted) !important;
}

.hdc-tx-flow__list {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hdc-tx-flow__step {
  position: relative;
  display: flex;
  gap: 14px;
  padding-bottom: 36px;
}

.hdc-tx-flow__step:last-child {
  padding-bottom: 0;
}

.hdc-tx-flow__step-marker {
  position: relative;
  flex: 0 0 auto;
  width: 52px;
}

.hdc-tx-flow__step-marker::before {
  content: '';
  position: absolute;
  top: 52px;
  bottom: -36px;
  left: 50%;
  width: 2px;
  background: var(--hdc-color-accent);
  transform: translateX(-50%);
}

.hdc-tx-flow__step:last-child .hdc-tx-flow__step-marker::before {
  display: none;
}

.hdc-tx-flow__step-label {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  width: 52px;
  height: 52px;
  font-family: var(--hdc-font-trajan);
  font-size: 9px;
  letter-spacing: 0.03em;
  color: #fff !important;
  background: var(--hdc-tx-navy);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--hdc-tx-beige-deep);
}

.hdc-tx-flow__step-label em {
  font-style: italic;
  font-size: 19px;
  line-height: 1;
}

.hdc-tx-flow__step-body {
  flex: 1;
  min-width: 0;
  padding-top: 6px;
}

.hdc-tx-flow__step-title {
  margin: 0 0 14px;
  font-family: var(--hdc-font-mincho);
  font-size: 20px;
  /* ゴールド文字はベージュ背景とのコントラストが不足するため濃紺に変更（4.5:1以上を確保） */
  color: var(--hdc-tx-navy) !important;
}

/* ---- 治療完了までのながれ：先方デザイン準拠バリエーション（審美歯科） ---- */

.hdc-tx-flow--gold .hdc-tx-flow__step-marker {
  width: 60px;
}

.hdc-tx-flow--gold .hdc-tx-flow__step-marker::before {
  background: #66500a;
}

.hdc-tx-flow--gold .hdc-tx-flow__step-label {
  width: 60px;
  height: 84px;
  padding-top: 8px;
  border-radius: 0;
  background: linear-gradient(160deg, #8a6d1c 0%, #66500a 100%);
  box-shadow: none;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 50% 100%, 0 78%);
}

.hdc-tx-flow--gold .hdc-tx-flow__step-title {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  /* #66500a はベージュ背景で約5.3:1、WCAG AA（4.5:1）を満たす濃さに調整 */
  color: #66500a !important;
}

.hdc-tx-flow__step-photos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  margin: 0 0 14px;
}

.hdc-tx-flow__step-photos--2 {
  grid-template-columns: 1fr 1fr;
}

.hdc-tx-flow__step-photos img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 4px;
}

.hdc-tx-flow__step-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  color: var(--hdc-color-content-text) !important;
}

/* ---------- 安心の保証制度・お支払い方法 ---------- */
.hdc-tx-guarantee {
  position: relative;
  z-index: 0;
  padding: 50px 24px 30px;
  background: #f3efe7 url('./assets/img/treatment/aesthetic/texture-marble.webp') center / cover no-repeat;
  text-align: center;
  overflow: hidden;
}

/* 斜めのゴールドライン（大理石調背景に重ねる装飾） */
.hdc-tx-guarantee::before {
  content: '';
  position: absolute;
  z-index: 0;
  top: -6%;
  left: -20%;
  width: 150%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(200, 169, 110, 0.9) 35%, rgba(200, 169, 110, 0.9) 65%, transparent);
  transform: rotate(58deg);
  transform-origin: left top;
  pointer-events: none;
}

.hdc-tx-guarantee__photo,
.hdc-tx-guarantee__title,
.hdc-tx-guarantee__text,
.hdc-tx-guarantee__note {
  position: relative;
  z-index: 1;
}

.hdc-tx-guarantee__photo img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 26px;
}

.hdc-tx-guarantee__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 18px;
  padding-bottom: 16px;
  font-family: var(--hdc-font-mincho);
  font-size: 21px;
  letter-spacing: 0.08em;
  color: var(--hdc-color-content-text) !important;
  border-bottom: 1px solid var(--hdc-tx-beige-deep);
}

.hdc-tx-guarantee__bracket {
  display: inline-block;
  flex: none;
  width: 28px;
  height: 32px;
  background-color: #8a8452;
  -webkit-mask: url('./assets/img/treatment/perio/payment-corner-left.svg') no-repeat center / contain;
          mask: url('./assets/img/treatment/perio/payment-corner-left.svg') no-repeat center / contain;
}

.hdc-tx-guarantee__bracket--right {
  transform: scaleX(-1);
}

.hdc-tx-guarantee__text {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.9;
  text-align: left;
  color: var(--hdc-color-content-text) !important;
}

.hdc-tx-guarantee__note {
  margin: 0 0 14px;
  font-size: 11px;
  color: var(--hdc-color-content-muted) !important;
}

.hdc-tx-payment {
  position: relative;
  z-index: 1;
  text-align: left;
}

.hdc-tx-payment-section--ornate .hdc-tx-payment::before,
.hdc-tx-payment-section--ornate .hdc-tx-payment::after {
  content: '';
  position: absolute;
  z-index: 0;
  bottom: -56px;
  width: 90px;
  height: 90px;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  transform: scaleY(-1);
}

.hdc-tx-payment-section--ornate .hdc-tx-payment::before {
  left: -20px;
  background-image: url('./assets/img/treatment/perio/payment-corner-left.svg');
}

.hdc-tx-payment-section--ornate .hdc-tx-payment::after {
  right: -20px;
  background-image: url('./assets/img/treatment/perio/payment-corner-right.svg');
}

.hdc-tx-payment__block {
  padding: 22px 0;
}

.hdc-tx-payment__block:first-child {
  padding-top: 0;
}

.hdc-tx-payment__heading {
  position: relative;
  margin: 0 0 16px;
  padding: 14px 20px;
  font-size: 19px;
  font-weight: 700;
  text-align: center;
  color: var(--hdc-color-content-text) !important;
  background: var(--hdc-tx-beige);
  box-shadow: 8px 8px 0 0 var(--hdc-tx-beige-deep);
}

.hdc-tx-payment__heading::before,
.hdc-tx-payment__heading::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--hdc-tx-slate);
  border-style: solid;
}

.hdc-tx-payment__heading::before {
  top: 4px;
  left: 4px;
  border-width: 1px 0 0 1px;
}

.hdc-tx-payment__heading::after {
  bottom: 4px;
  right: 4px;
  border-width: 0 1px 1px 0;
}

.hdc-tx-payment__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  text-align: center;
  color: var(--hdc-color-content-muted) !important;
}

.hdc-tx-payment__icons {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 14px;
}

.hdc-tx-payment__paypay {
  display: block;
  width: auto;
  max-width: 160px;
  height: auto;
  margin: 18px auto 0;
}

/* ---------- まずはカウンセリングへCTAバナー ---------- */
.hdc-tx-cta-banner {
  padding: 0 24px 0;
  text-align: center;
  background: radial-gradient(120% 100% at 50% 0%, #5a6a80 0%, var(--hdc-tx-navy) 65%);
  color: #fff !important;
}

.hdc-tx-cta-banner__ribbon {
  position: relative;
  margin: 0 -24px 26px;
  padding: 14px 40px 18px;
  background: linear-gradient(100deg, #8a7333 0%, var(--hdc-color-accent) 55%, #b8975a 100%);
}

.hdc-tx-cta-banner__pre {
  display: block;
  margin: 0 0 2px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.85) !important;
}

.hdc-tx-cta-banner__title {
  display: block;
  margin: 0;
  font-family: var(--hdc-font-mincho);
  font-size: 21px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: #fff !important;
}

.hdc-tx-cta-banner__checklist {
  margin: 26px 0 0;
  padding: 6px 20px;
  list-style: none;
  text-align: left;
  background: #fff;
  border-radius: 4px;
}

.hdc-tx-cta-banner__checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--hdc-color-content-text) !important;
  border-bottom: 1px solid var(--hdc-tx-beige-deep);
}

.hdc-tx-cta-banner__checklist li:last-child {
  border-bottom: 0;
}

.hdc-tx-cta-banner__check {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-size: 13px;
  font-weight: 700;
  color: #fff !important;
  background: var(--hdc-tx-navy);
}

.hdc-tx-cta-banner__photo {
  margin: -10px 0 0;
}

.hdc-tx-cta-banner__photo img {
  display: block;
  width: 100%;
  height: auto;
}

/* ============================================================
   インプラントページ専用（診療メニュー詳細・treatment）
============================================================ */

/* ---------- ヒーロー：3枚積み写真 ---------- */
.hdc-tx-hero__photo--stack img {
  height: 190px !important;
}

.hdc-tx-hero__photo--stack img + img {
  margin-top: -1px;
}

/* ---------- スタッフ集合バナー ---------- */
.hdc-tx-staff-banner {
  position: relative;
}

.hdc-tx-staff-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.hdc-tx-staff-banner__caption {
  margin: 0;
  padding: 10px 24px;
  font-family: var(--hdc-font-trajan);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-align: center;
  color: #fff !important;
  background: var(--hdc-tx-beige-deep);
}

/* ---------- 選ばれる理由①② を紺背景＋ベージュカードの2層構成にする ---------- */
/* デザインカンプでは濃紺セクション背景の上にベージュカードが乗る構成。
   .hdc-tx-reasons は矯正・審美ページ（3つの理由／ベージュ背景のみ）と共有クラスのため、
   既存ページに影響が出ないようインプラント専用の修飾クラスで上書きする。 */
.hdc-tx-reasons--navy-card {
  padding: 44px 20px 52px;
  background: var(--hdc-tx-navy) !important;
}

.hdc-tx-reasons--navy-card .hdc-tx-reasons__item {
  padding: 30px 20px 34px;
  background: var(--hdc-tx-beige);
  border-radius: 6px;
  box-shadow: 0 16px 28px rgba(11, 22, 38, 0.28);
}

.hdc-tx-reasons--navy-card .hdc-tx-reasons__item:first-child {
  padding-top: 30px;
}

.hdc-tx-reasons--navy-card .hdc-tx-reasons__item + .hdc-tx-reasons__item {
  margin-top: 32px;
}

/* ---------- インプラントとは＋3つのメリット ---------- */
.hdc-tx-about {
  position: relative;
  padding: 50px 24px 10px;
  text-align: center;
  background: var(--hdc-tx-navy);
}

.hdc-tx-about__title {
  margin: 0 0 30px;
  font-family: var(--hdc-font-mincho);
  font-size: 30px;
  letter-spacing: 0.06em;
  color: #fff !important;
}

.hdc-tx-about__title span {
  font-size: 22px;
  color: #fff !important;
}

.hdc-tx-about__photo img {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  margin: 0 auto 30px;
}

.hdc-tx-about__lead {
  margin: 0 0 46px;
  font-size: 16px;
  line-height: 1.9;
  text-align: left;
  color: #fff !important;
}

.hdc-tx-benefit {
  padding-bottom: 46px;
}

.hdc-tx-benefit__photo img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 4px;
}

.hdc-tx-benefit__title {
  margin: 0 0 14px;
  font-family: var(--hdc-font-mincho);
  font-size: 20px;
  color: #fff !important;
}

.hdc-tx-benefit__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  text-align: left;
  color: rgba(255, 255, 255, 0.82) !important;
}

/* ---------- GREETING 追加要素（論文リンク・研修実績） ---------- */
.hdc-tx-greeting__accent {
  color: var(--hdc-color-accent) !important;
}

.hdc-tx-greeting__paper-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 18px 0 40px;
  font-size: 13px;
  color: var(--hdc-tx-navy) !important;
  text-decoration: none;
  border-bottom: 1px solid var(--hdc-tx-navy);
}

.hdc-tx-training__title {
  margin: 0 0 20px;
  font-family: var(--hdc-font-mincho);
  font-size: 20px;
  color: var(--hdc-color-content-text) !important;
}

.hdc-tx-training__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hdc-tx-training__item {
  margin: 0;
  position: relative;
}

.hdc-tx-training__item img {
  display: block;
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 4px;
}

.hdc-tx-training__item figcaption {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--hdc-color-content-muted) !important;
}

/* ---------- 選ばれる6つの理由 ---------- */
.hdc-tx-reasons6 {
  position: relative;
  padding: 50px 24px 60px;
  background: var(--hdc-tx-navy);
  overflow: hidden;
}

.hdc-tx-reasons6__head {
  position: relative;
  margin-bottom: 46px;
}

.hdc-tx-reasons6__head--photo {
  margin: -50px -24px 30px;
}

.hdc-tx-reasons6__head--photo img {
  display: block;
  width: 100%;
  height: auto;
}

.hdc-tx-reasons6__num-big {
  position: absolute;
  top: -20px;
  left: -6px;
  font-family: var(--hdc-font-trajan);
  font-size: 64px;
  color: rgba(255, 255, 255, 0.12) !important;
}

.hdc-tx-reasons6__title {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 20px 20px 20px 30px;
  font-family: var(--hdc-font-mincho);
  font-size: 20px;
  line-height: 1.6;
  color: var(--hdc-tx-navy) !important;
  background: rgba(255, 255, 255, 0.94);
}

.hdc-tx-reasons6__item {
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.hdc-tx-reasons6__photo {
  margin-bottom: 16px;
}

.hdc-tx-reasons6__photo img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 4px;
}

.hdc-tx-reasons6__label {
  margin: 0 0 6px;
  font-family: var(--hdc-font-trajan);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--hdc-color-accent) !important;
}

.hdc-tx-reasons6__item-title {
  margin: 0 0 14px;
  font-family: var(--hdc-font-mincho);
  font-size: 22px;
  color: var(--hdc-color-accent) !important;
}

.hdc-tx-reasons6__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.82) !important;
}

.hdc-tx-reasons6__achieve {
  display: inline-block;
  margin: 0 0 20px;
  padding: 8px 26px;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--hdc-tx-navy) !important;
  background: linear-gradient(135deg, #d8bd8a, var(--hdc-color-accent));
}

.hdc-tx-reasons6__cases {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.hdc-tx-reasons6__case {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.hdc-tx-reasons6__case img {
  display: block;
  width: 100%;
  max-width: 140px;
  height: auto;
}

.hdc-tx-reasons6__case-note {
  margin: 0 0 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7) !important;
}

.hdc-tx-reasons6__paper-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
  color: var(--hdc-color-accent) !important;
  text-decoration: none;
  border-bottom: 1px solid var(--hdc-color-accent);
}

/* ---------- 使用インプラントメーカー紹介 ---------- */
.hdc-tx-maker {
  padding: 0 0 40px;
  background: #fff;
}

.hdc-tx-maker__photo {
  position: relative;
}

.hdc-tx-maker__photo img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.hdc-tx-maker__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31, 48, 73, 0.15), rgba(31, 48, 73, 0.55));
}

.hdc-tx-maker__lead {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 1;
  margin: 0;
  font-family: var(--hdc-font-mincho);
  font-size: 18px;
  line-height: 1.7;
  color: #fff !important;
}

.hdc-tx-maker__text {
  margin: 30px 24px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--hdc-color-content-text) !important;
}

.hdc-tx-maker__logos {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hdc-tx-maker__logos img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- 他院で断られた方へ ---------- */
.hdc-tx-nogood {
  padding: 50px 24px;
  text-align: center;
  background: linear-gradient(135deg, #d8bd8a, var(--hdc-color-accent));
}

.hdc-tx-nogood__title {
  margin: 0 0 26px;
  font-family: var(--hdc-font-mincho);
  font-size: 21px;
  line-height: 1.6;
  color: var(--hdc-tx-navy) !important;
}

.hdc-tx-nogood__photo img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 24px;
}

.hdc-tx-nogood__text {
  margin: 0 0 30px;
  font-size: 16px;
  line-height: 1.9;
  text-align: left;
  color: var(--hdc-tx-navy) !important;
}

.hdc-tx-nogood__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: #fff !important;
  background: var(--hdc-tx-navy);
  border-radius: var(--hdc-radius);
}

.hdc-tx-nogood__cta span {
  color: #fff !important;
}

/* ---------- 主なリスク・副作用（単独セクション） ---------- */
.hdc-tx-risks-section {
  padding: 50px 24px;
  background: #fff;
}

.hdc-tx-risks-section__title {
  margin: 0 0 20px;
  font-family: var(--hdc-font-mincho);
  font-size: 22px;
  text-align: center;
  color: var(--hdc-color-content-text) !important;
}

.hdc-tx-risks-section ul {
  margin: 0;
  padding-left: 1.2em;
  font-size: 15px;
  line-height: 1.9;
  color: var(--hdc-color-content-text) !important;
}

.hdc-tx-risks-section li {
  margin-bottom: 8px;
}

.hdc-tx-risks-section__note {
  margin: 16px 0 0;
  font-size: 12px;
  color: var(--hdc-color-content-muted) !important;
}

/* ---------- お支払い方法（単独セクション） ---------- */
.hdc-tx-payment-section {
  padding: 12px 24px 10px;
  background: #fff;
}

.hdc-tx-payment-section--ornate {
  position: relative;
  padding-top: 100px;
  padding-bottom: 100px;
}

.hdc-tx-payment-section--ornate::before,
.hdc-tx-payment-section--ornate::after {
  content: '';
  position: absolute;
  z-index: 0;
  top: 4px;
  width: 90px;
  height: 90px;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

.hdc-tx-payment-section--ornate::before {
  left: 4px;
  background-image: url('./assets/img/treatment/perio/payment-corner-left.svg');
}

.hdc-tx-payment-section--ornate::after {
  right: 4px;
  background-image: url('./assets/img/treatment/perio/payment-corner-right.svg');
}

/* ---------- 料金一覧表（単価リスト） ---------- */
.hdc-tx-price-list {
  position: relative;
  z-index: 1;
  margin-bottom: 40px;
}

.hdc-tx-price-list__title {
  margin: 0 0 16px;
  font-family: var(--hdc-font-mincho) !important;
  font-size: 22px;
  text-align: center;
  color: var(--hdc-color-content-text) !important;
}

.hdc-tx-price-list__rows {
  margin: 0 0 12px;
}

.hdc-tx-price-list__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 12px 14px;
  font-size: 15px;
  border-bottom: 1px solid var(--hdc-tx-beige-deep);
  background: var(--hdc-tx-beige);
}

.hdc-tx-price-list__row:first-child {
  border-top-left-radius: var(--hdc-radius);
  border-top-right-radius: var(--hdc-radius);
}

.hdc-tx-price-list__row:last-child {
  border-bottom: 0;
  border-bottom-left-radius: var(--hdc-radius);
  border-bottom-right-radius: var(--hdc-radius);
}

.hdc-tx-price-list__row dt {
  margin: 0;
  color: var(--hdc-color-content-text) !important;
}

.hdc-tx-price-list__row dd {
  margin: 0;
  font-weight: 700;
  white-space: nowrap;
  color: var(--hdc-tx-navy) !important;
}

.hdc-tx-price-list__note {
  margin: 0;
  font-size: 12px;
  color: var(--hdc-color-content-muted) !important;
}

/* ============================================================
   歯周病ページ専用（診療メニュー詳細・treatment）
============================================================ */

/* ---------- ヒーロー追加要素・濃紺の選ばれる理由 ---------- */
.hdc-tx-hero__note {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-align: center;
  color: #fff !important;
}

.hdc-tx-reasons--dark {
  background: var(--hdc-tx-navy) !important;
}

.hdc-tx-reasons--dark .hdc-tx-reasons__heading,
.hdc-tx-reasons--dark .hdc-tx-reasons__text {
  color: #fff !important;
}

.hdc-tx-reasons--dark .hdc-tx-reasons__item + .hdc-tx-reasons__item {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 46px;
}

/* ---------- お悩みチェック＋歯周病とは ---------- */
.hdc-tx-concerns {
  padding: 50px 24px 40px;
  text-align: center;
  background: #fff url('./assets/img/treatment/perio/concerns-bg.webp') no-repeat center top;
  background-size: cover;
}

.hdc-tx-concerns__title {
  margin: 0 0 30px;
  font-family: var(--hdc-font-mincho);
  font-size: 24px;
  color: var(--hdc-color-content-text) !important;
}

.hdc-tx-concerns__title em {
  font-style: normal;
  font-size: 1.3em;
}

.hdc-tx-concerns__photo img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 30px;
}

.hdc-tx-concerns__slider {
  margin-bottom: 40px;
}

.hdc-tx-concerns__swiper {
  border-radius: 4px;
  overflow: hidden;
}

.hdc-tx-concerns__swiper .swiper-slide {
  position: relative;
  background: #fff;
}

.hdc-tx-concerns__swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.hdc-tx-concerns__slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 8px 14px;
  font-size: 11px;
  text-align: center;
  color: #fff !important;
  background: rgba(31, 48, 73, 0.72);
}

.hdc-tx-concerns__swiper .swiper-pagination-bullet {
  background: var(--hdc-tx-navy);
  opacity: 0.4;
}

.hdc-tx-concerns__swiper .swiper-pagination-bullet-active {
  opacity: 1;
}

.hdc-tx-concerns__list {
  margin: 0;
  padding: 16px 20px 28px;
  list-style: none;
  text-align: left;
}

.hdc-tx-concerns__list li {
  position: relative;
  padding: 8px 0;
  font-size: 16px;
  line-height: 1.4;
  text-align: center;
  color: var(--hdc-color-content-text) !important;
}

.hdc-tx-about-perio {
  padding: 50px 24px 50px;
  text-align: center;
  background: #fff;
}

.hdc-tx-about-perio__diagram img {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0 auto 20px;
}

.hdc-tx-about-perio__title {
  margin: 0 0 20px;
  font-family: var(--hdc-font-mincho);
  font-size: 31px;
  letter-spacing: 0.1em;
  color: var(--hdc-color-content-text) !important;
}

.hdc-tx-about-perio__text {
  margin: 0;
  font-size: 16px;
  line-height: 2;
  text-align: center;
  color: var(--hdc-color-content-text) !important;
}

/* ---------- 歯周基本治療 ---------- */
.hdc-tx-basic {
  padding: 50px 24px 40px;
  background: var(--hdc-tx-beige);
}

.hdc-tx-basic__title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 74px;
  margin: -50px -24px 24px;
  padding: 16px 24px;
  font-family: var(--hdc-font-mincho) !important;
  font-size: 29px;
  line-height: 1.4;
  text-align: center;
  color: #fff !important;
  background: var(--hdc-tx-slate);
}

.hdc-tx-basic__title::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 90px;
  height: 66px;
  background: url('./assets/img/treatment/perio/menu-band-flower.svg') no-repeat center / contain;
  pointer-events: none;
}

.hdc-tx-basic__photo {
  position: relative;
  margin-bottom: 16px;
}

.hdc-tx-basic__photo img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
}

.hdc-tx-basic__cost {
  display: block;
  width: fit-content;
  margin: 14px auto 10px;
  padding: 9px 20px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-align: center;
  color: #fff !important;
  background: var(--hdc-tx-navy);
  border-radius: var(--hdc-radius);
}

.hdc-tx-basic__count {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--hdc-color-content-text) !important;
}

.hdc-tx-basic__desc {
  margin: 0 0 40px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--hdc-color-content-text) !important;
}

.hdc-tx-basic__list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.hdc-tx-basic__item {
  margin: 0;
  position: relative;
}

.hdc-tx-basic__item img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.hdc-tx-basic__item figcaption {
  padding: 10px 16px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  color: #fff !important;
  background: rgba(31, 48, 73, 0.7);
}

/* ---------- 外科的治療メニュー（見出しバナー付き） ---------- */
.hdc-tx-menu__head--band {
  position: relative;
  padding: 16px 24px;
  margin: 0 -24px 30px;
  text-align: center;
  background: var(--hdc-tx-slate) !important;
  border: 0;
}

.hdc-tx-menu__head--band::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 90px;
  height: 66px;
  background: url('./assets/img/treatment/perio/menu-band-flower.svg') no-repeat center / contain;
  pointer-events: none;
}

.hdc-tx-menu__head--band .hdc-tx-menu__title {
  color: #fff !important;
}

.hdc-tx-menu__head--band-navy {
  background: var(--hdc-tx-navy) !important;
}

.hdc-tx-menu__cost-num {
  font-family: var(--hdc-font-trajan);
  font-size: 26px;
  color: #fff !important;
}

.hdc-tx-menu__cost-tag {
  display: block;
  width: fit-content;
  margin: 14px auto 10px;
  padding: 9px 20px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-align: center;
  color: #fff !important;
  background: var(--hdc-tx-navy);
  border-radius: var(--hdc-radius);
}

.hdc-tx-menu__period {
  margin: 20px 0 24px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  color: var(--hdc-color-content-text) !important;
}

/* ---------- 全身への影響 ---------- */
.hdc-tx-systemic {
  padding: 50px 24px;
  background: #fff;
}

.hdc-tx-systemic__photo img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 20px;
}

.hdc-tx-systemic__text {
  margin: 0 0 40px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--hdc-color-content-text) !important;
}

.hdc-tx-systemic__sub {
  margin-bottom: 40px;
  text-align: center;
}

.hdc-tx-systemic__sub-en {
  margin: 0 0 8px;
  font-family: var(--hdc-font-trajan);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--hdc-color-content-muted) !important;
}

.hdc-tx-systemic__sub-title {
  margin: 0 0 20px;
  font-family: var(--hdc-font-mincho);
  font-size: 25px;
  color: var(--hdc-color-content-text) !important;
}

.hdc-tx-systemic__sub .hdc-tx-systemic__text {
  text-align: left;
  margin-bottom: 0;
}

/* ---------- メタボリックドミノ ---------- */
.hdc-tx-domino {
  padding: 50px 24px;
  text-align: center;
  background: var(--hdc-tx-beige);
}

.hdc-tx-domino__title {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--hdc-color-content-text) !important;
}

.hdc-tx-domino__title span {
  margin: 0 8px;
  color: var(--hdc-color-accent) !important;
}

.hdc-tx-domino__sub {
  margin: 0 0 30px;
  font-family: var(--hdc-font-mincho);
  font-size: 19px;
  line-height: 1.7;
  color: var(--hdc-color-content-text) !important;
}

.hdc-tx-domino__list {
  margin: 0 0 24px;
  padding: 6px 20px;
  list-style: none;
  text-align: left;
  background: #fff;
  border-radius: 4px;
}

.hdc-tx-domino__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 16px;
  color: var(--hdc-color-content-text) !important;
  border-bottom: 1px solid var(--hdc-tx-beige-deep);
}

.hdc-tx-domino__list li:last-child {
  border-bottom: none;
}

.hdc-tx-domino__box {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-size: 14px;
  color: #fff !important;
  background: #fff;
  border: 1px solid var(--hdc-color-content-muted);
  border-radius: 3px;
}

.hdc-tx-domino__list li.is-checked .hdc-tx-domino__box {
  background: var(--hdc-color-accent);
  border-color: var(--hdc-color-accent);
}

.hdc-tx-domino__note {
  margin: 0;
  font-size: 12px;
  line-height: 1.9;
  color: var(--hdc-color-content-muted) !important;
}

/* ---------- やむを得ず抜歯となるケース ---------- */
.hdc-tx-extraction {
  position: relative;
  padding: 50px 24px;
  text-align: center;
  background:
    linear-gradient(rgba(45, 45, 45, 0.82), rgba(45, 45, 45, 0.82)),
    url('./assets/img/treatment/perio/extraction-bg.webp') no-repeat 80% center / cover;
}

.hdc-tx-extraction__photo img {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  margin: 0 auto 30px;
}

.hdc-tx-extraction__title {
  position: relative;
  z-index: 1;
  margin: 0 0 20px;
  font-family: var(--hdc-font-mincho);
  font-size: 23px;
  color: #fff !important;
}

.hdc-tx-extraction__text {
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.9;
  text-align: left;
  color: rgba(255, 255, 255, 0.92) !important;
}

.hdc-tx-extraction__note {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 11px;
  text-align: center;
  color: rgba(255, 255, 255, 0.7) !important;
}

/* ============================================================
   矯正歯科ページ専用（診療メニュー詳細・treatment）
============================================================ */

/* ---------- ヒーロー：実績バッジ5つ ---------- */
.hdc-tx-hero__medals {
  position: absolute;
  left: 20px;
  bottom: 76px;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 272px;
}

/* 月桂樹の枝で縁取られたメダル風バッジ。
   円のフチ塗り＋枠線ではなく、白い月桂樹SVG（疑似要素の背景画像）を
   バッジの外側にはみ出させて重ね、下部で枝が交差する「賞状メダル」風に見せる。 */
.hdc-tx-hero__medal {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin: 0 0 26px;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
}

.hdc-tx-hero__medal::before {
  content: "";
  position: absolute;
  left: -20%;
  right: -20%;
  top: -13%;
  bottom: -48%;
  background: url('./assets/img/treatment/ortho/medal-wreath.svg') no-repeat center / contain;
  pointer-events: none;
}

.hdc-tx-hero__medal-lines {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

/* テキスト1行ごとに金色のリボン帯を敷く（デザインカンプの賞状バナー装飾を再現） */
.hdc-tx-hero__medal-line {
  display: block;
  padding: 1px 6px;
  font-size: 10px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: #fff !important;
  background: linear-gradient(120deg, #a8813f 0%, #e9d19c 35%, #c9a05a 55%, #8a6a2f 100%);
  box-shadow: 0 1px 2px rgba(31, 48, 73, 0.28);
}

/* ---------- 矯正治療の種類：英字サブタイトル ---------- */
.hdc-tx-menu__title-en {
  margin: 4px 0 0;
  font-family: var(--hdc-font-trajan);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-align: center;
  color: rgba(255, 255, 255, 0.7) !important;
}

.hdc-tx-menu__ba-caption {
  margin: 10px 0 0;
  padding: 8px 10px;
  font-size: 14px;
  text-align: center;
  color: #fff !important;
  background: var(--hdc-tx-navy);
}

.hdc-tx-menu__ba-caption--solo {
  margin: 16px 0 0;
}

.hdc-tx-menu__ba-image {
  margin: 18px 0 0;
}

.hdc-tx-menu__ba-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.hdc-tx-menu__case-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 20px auto 0;
  padding: 14px 20px;
  max-width: 100%;
  width: fit-content;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  color: var(--hdc-color-content-text) !important;
  background: #fff;
  border: 1px solid var(--hdc-tx-beige-deep);
  border-radius: var(--hdc-radius);
}

.hdc-tx-menu__case-link span {
  color: var(--hdc-color-accent) !important;
}

/* ---------- 料金表へのCTA（透かし文字） ---------- */
.hdc-tx-price-cta {
  position: relative;
  padding: 40px 24px 44px;
  text-align: center;
  background: #fff;
  overflow: hidden;
}

.hdc-tx-price-cta__watermark {
  display: block;
  margin: 0 0 20px;
  font-family: var(--hdc-font-trajan);
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: 0.08em;
  color: var(--hdc-tx-beige-deep) !important;
}

.hdc-tx-price-cta__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 280px;
  max-width: 100%;
  margin: 0 auto 16px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
  text-decoration: none;
  color: var(--hdc-color-content-text) !important;
  background: var(--hdc-tx-beige);
  border: 1px solid var(--hdc-tx-beige-deep);
  border-radius: var(--hdc-radius);
}

.hdc-tx-price-cta__link-icon {
  width: 26px;
  height: auto;
}

.hdc-tx-price-cta__link-arrow {
  font-size: 13px;
  color: var(--hdc-color-accent) !important;
}

.hdc-tx-price-cta__link2 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 280px;
  max-width: 100%;
  margin: 0 auto;
  padding: 14px 24px;
  white-space: nowrap;
  text-decoration: none;
  color: var(--hdc-color-content-text) !important;
  background: #fff;
  border: 1px solid var(--hdc-tx-beige-deep);
  border-radius: var(--hdc-radius);
  overflow: hidden;
}

.hdc-tx-price-cta__link2-arrow {
  font-size: 15px;
  color: var(--hdc-color-accent) !important;
}

.hdc-tx-price-cta__link2-text {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.hdc-tx-price-cta__link2-tap {
  position: absolute;
  right: 20px;
  top: 10px;
  font-family: 'Yu Mincho', serif;
  font-style: italic;
  font-size: 14px;
  color: rgba(58, 66, 71, 0.4) !important;
}

/* ---------- 精密診断・デジタル設備の紹介 ---------- */
.hdc-tx-diagnosis {
  padding: 50px 24px;
  background: #fff;
}

.hdc-tx-diagnosis__item {
  padding: 34px 0;
}

.hdc-tx-diagnosis__item:first-child {
  padding-top: 0;
}

.hdc-tx-diagnosis__item + .hdc-tx-diagnosis__item {
  border-top: 1px solid var(--hdc-tx-beige-deep);
}

.hdc-tx-diagnosis__en {
  margin: 0 0 6px;
  font-family: var(--hdc-font-trajan);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--hdc-color-accent) !important;
}

.hdc-tx-diagnosis__title {
  margin: 0 0 18px;
  font-family: var(--hdc-font-mincho);
  font-size: 21px;
  line-height: 1.6;
  color: var(--hdc-color-content-text) !important;
}

.hdc-tx-diagnosis__photo img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--hdc-radius);
  margin-bottom: 18px;
}

.hdc-tx-diagnosis__extra-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px dashed var(--hdc-tx-beige-deep);
}

.hdc-tx-diagnosis__extra-photo img {
  display: block;
  width: 100%;
  height: 108px;
  object-fit: cover;
  border-radius: var(--hdc-radius);
  margin-bottom: 8px;
}

.hdc-tx-diagnosis__extra-caption {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  color: var(--hdc-color-content-text) !important;
}

.hdc-tx-diagnosis__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  color: var(--hdc-color-content-text) !important;
}

/* ---------- 様々な歯並びに対応（6タイプ） ---------- */
.hdc-tx-teeth-types {
  padding: 50px 24px;
  text-align: center;
  background: #fff;
}

.hdc-tx-teeth-types__combined {
  margin: 0 0 30px;
}

.hdc-tx-teeth-types__combined img {
  display: block;
  width: 100%;
  height: auto;
}

.hdc-tx-teeth-types__kicker {
  position: relative;
  display: inline-block;
  margin: 0 0 30px;
  padding: 0 22px;
  font-family: var(--hdc-font-mincho);
  font-size: 19px;
  color: var(--hdc-color-content-text) !important;
}

.hdc-tx-teeth-types__kicker::before,
.hdc-tx-teeth-types__kicker::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 14px;
  height: 1px;
  background: var(--hdc-color-accent);
}

.hdc-tx-teeth-types__kicker::before { left: 0; }
.hdc-tx-teeth-types__kicker::after  { right: 0; }

.hdc-tx-teeth-types__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 10px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.hdc-tx-teeth-types__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hdc-tx-teeth-types__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  background: var(--hdc-tx-beige);
  border-radius: 50%;
}

.hdc-tx-teeth-types__icon svg,
.hdc-tx-teeth-types__icon img {
  width: 42px;
  height: auto;
}

.hdc-tx-teeth-types__label {
  font-size: 11px;
  line-height: 1.5;
  color: var(--hdc-color-content-text) !important;
}

.hdc-tx-teeth-types__text {
  margin: 0 0 30px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--hdc-color-content-text) !important;
}

/* デザインカンプは「写真（左）＋白背景に枠線付きテキストボックス（右）」の横並び2カラム。
   写真全幅＋下端に紺グラデでキャプションを重ねる1カラム構成になっていたため、
   カンプ通りの横並び2カラムに戻す（薄いベージュの台紙に乗せて周囲の本文と区別）。 */
.hdc-tx-teeth-types__cta {
  display: flex;
  align-items: stretch;
  gap: 12px;
  padding: 14px;
  background: var(--hdc-tx-beige);
  border-radius: var(--hdc-radius);
}

.hdc-tx-teeth-types__cta-photo {
  flex: 1.15 1 0;
  min-width: 0;
  border-radius: var(--hdc-radius);
  overflow: hidden;
}

.hdc-tx-teeth-types__cta-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 168px;
  object-fit: cover;
}

.hdc-tx-teeth-types__cta-box {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 6px;
  background: #fff;
  border: 1px solid var(--hdc-tx-beige-deep);
  border-radius: var(--hdc-radius);
}

.hdc-tx-teeth-types__cta-text {
  margin: 0;
  text-align: center;
  line-height: 1.5;
}

.hdc-tx-teeth-types__cta-small {
  display: block;
  font-family: var(--hdc-font-mincho);
  font-size: 13px;
  color: var(--hdc-color-content-text) !important;
}

.hdc-tx-teeth-types__cta-large {
  display: block;
  margin: 2px 0;
  font-family: var(--hdc-font-mincho);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--hdc-tx-navy) !important;
}

.hdc-tx-teeth-types__cta-mix { display: block; }
.hdc-tx-teeth-types__cta-mix .hdc-tx-teeth-types__cta-small,
.hdc-tx-teeth-types__cta-mix .hdc-tx-teeth-types__cta-large {
  display: inline;
}

/* ---------- 安心のフォローアップ ---------- */
.hdc-tx-followup {
  position: relative;
  z-index: 0;
  padding: 50px 24px 56px;
  text-align: center;
  background: #f3efe7 url('./assets/img/treatment/ortho/texture-marble.webp') center / cover no-repeat;
  overflow: hidden;
}

.hdc-tx-followup::before {
  content: '';
  position: absolute;
  z-index: 0;
  top: -6%;
  left: -20%;
  width: 150%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(200, 169, 110, 0.9) 35%, rgba(200, 169, 110, 0.9) 65%, transparent);
  transform: rotate(58deg);
  transform-origin: left top;
  pointer-events: none;
}

.hdc-tx-followup__photo,
.hdc-tx-followup__title,
.hdc-tx-followup__text {
  position: relative;
  z-index: 1;
}

.hdc-tx-followup__photo img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--hdc-radius);
  margin-bottom: 24px;
}

.hdc-tx-followup__title {
  margin: 0 0 18px;
  font-family: var(--hdc-font-mincho);
  font-size: 19px;
  color: var(--hdc-color-content-text) !important;
}

.hdc-tx-followup__title span {
  margin: 0 6px;
  color: var(--hdc-color-accent) !important;
}

.hdc-tx-followup__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  color: var(--hdc-color-content-text) !important;
}

/* ---------- お支払い方法：注記 ---------- */
.hdc-tx-payment-section__note {
  margin: 0 0 20px;
  font-size: 11px;
  text-align: center;
  color: var(--hdc-color-content-muted) !important;
}

/* ============================================================
   根管治療ページ専用（診療メニュー詳細・treatment）
============================================================ */

/* ---------- ヒーロー：透かし文字バナー（全幅） ---------- */
.hdc-tx-hero__watermark-banner {
  padding: 34px 24px;
  text-align: center;
  background: var(--hdc-tx-navy);
}

.hdc-tx-hero__watermark-banner-text {
  margin: 0;
  font-family: var(--hdc-font-trajan);
  font-size: 26px;
  line-height: 1.3;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.85) !important;
}

/* ---------- 難易度・成功率の説明 ---------- */
.hdc-tx-difficulty {
  padding: 50px 24px;
  text-align: center;
  background: var(--hdc-tx-beige);
}

.hdc-tx-difficulty--photo {
  background-color: #0a0a0a;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.hdc-tx-difficulty__band {
  display: inline-block;
  margin: 0 0 24px;
  padding: 14px 28px;
  font-family: var(--hdc-font-mincho);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff !important;
  background: rgba(30, 30, 30, 0.9);
}

.hdc-tx-difficulty__intro {
  margin: 0 0 30px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--hdc-color-content-text) !important;
}

.hdc-tx-difficulty--photo .hdc-tx-difficulty__intro {
  color: #fff !important;
}

.hdc-tx-difficulty__arrow {
  display: block;
  margin: 0 0 30px;
  font-size: 20px;
  line-height: 1;
  color: var(--hdc-color-content-text) !important;
}

.hdc-tx-difficulty--photo .hdc-tx-difficulty__arrow {
  color: #fff !important;
}

.hdc-tx-difficulty__title {
  margin: 0 0 20px;
  font-family: var(--hdc-font-mincho);
  font-size: 25px;
  line-height: 1.6;
  color: var(--hdc-color-content-text) !important;
}

.hdc-tx-difficulty--photo .hdc-tx-difficulty__title {
  color: #fff !important;
}

.hdc-tx-difficulty__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  color: var(--hdc-color-content-text) !important;
}

.hdc-tx-difficulty--photo .hdc-tx-difficulty__text {
  color: rgba(255, 255, 255, 0.92) !important;
}

.hdc-tx-difficulty__mark {
  background: rgba(20, 20, 20, 0.14);
  padding: 0 2px;
}

.hdc-tx-difficulty--photo .hdc-tx-difficulty__mark {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.18);
}

.hdc-tx-difficulty__stat {
  margin: 20px 0 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--hdc-color-accent) !important;
}

.hdc-tx-difficulty__stat-note {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 400;
  color: var(--hdc-color-content-muted) !important;
}

.hdc-tx-difficulty--photo .hdc-tx-difficulty__stat-note {
  color: rgba(255, 255, 255, 0.65) !important;
}

.hdc-tx-difficulty__closing {
  margin: 16px 0 0;
  font-size: 16px;
  color: var(--hdc-color-content-text) !important;
}

.hdc-tx-difficulty--photo .hdc-tx-difficulty__closing {
  color: #fff !important;
}

/* ---------- お悩みチェック：余白調整用モディファイア ---------- */
.hdc-tx-concerns__text--spaced {
  margin-top: 20px;
}

/* ---------- 保険内治療メニュー：断面イラスト4ステップ ---------- */
.hdc-tx-menu__steps {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.hdc-tx-menu__steps-item {
  position: relative;
  padding: 0 0 30px;
  text-align: center;
  background: #fff;
  border-radius: var(--hdc-radius);
  box-shadow: 0 4px 14px rgba(31, 48, 73, 0.08);
  overflow: hidden;
}

.hdc-tx-menu__steps-item + .hdc-tx-menu__steps-item {
  margin-top: 18px;
}

.hdc-tx-menu__steps-num {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-family: var(--hdc-font-trajan);
  font-size: 14px;
  color: #fff !important;
  background: var(--hdc-tx-navy);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(31, 48, 73, 0.35);
}

.hdc-tx-menu__steps-illust {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 16px;
}

.hdc-tx-menu__steps-title {
  margin: 0 0 10px;
  padding: 0 20px;
  font-size: 18px;
  font-weight: 700;
  color: var(--hdc-color-content-text) !important;
}

.hdc-tx-menu__steps-text {
  margin: 0;
  padding: 0 20px;
  font-size: 16px;
  line-height: 1.85;
  text-align: left;
  color: var(--hdc-color-content-text) !important;
}

/* ---------- SP (〜480px) 微調整 ---------- */
@media (max-width: 480px) {
  .hdc-tx-hero__photo img { height: 480px; }
  .hdc-tx-hero__title { font-size: 26px; }
  .hdc-tx-hero__watermark { font-size: 28px; }
  .hdc-tx-equipment__row { grid-template-columns: repeat(3, 1fr); }
  .hdc-tx-flow__step-photos--2 { grid-template-columns: 1fr 1fr; }
  .hdc-tx-training__list { grid-template-columns: 1fr; }
  .hdc-tx-hero__medals { max-width: 226px; bottom: 66px; gap: 8px 10px; }
  .hdc-tx-hero__medal { width: 62px; height: 62px; margin-bottom: 20px; }
  .hdc-tx-hero__medal-line { font-size: 8.5px; padding: 1px 4px; }
  .hdc-tx-teeth-types__grid { gap: 14px 6px; }
  .hdc-tx-hero__watermark-banner-text { font-size: 22px; }
  .hdc-tx-teeth-types__cta { gap: 8px; padding: 10px; }
  .hdc-tx-teeth-types__cta-photo img { min-height: 140px; }
  .hdc-tx-teeth-types__cta-small { font-size: 11px; }
  .hdc-tx-teeth-types__cta-large { font-size: 15px; }
}
/* ============================================================
   リクルートページ専用（歯科衛生士求人）
   カラートークン：recruit_hirano.ai のリーフレットから実際に抽出した色
============================================================ */
:root {
  --hdc-rec-purple:   #DAD8ED;
  --hdc-rec-pink:      #F7B6D4;
  --hdc-rec-blue:      #D9EDF8;
  --hdc-rec-yellow:    #FCE89A;
  --hdc-rec-green:     #E4F1A4;
  --hdc-rec-orange:    #FAD097;
  --hdc-rec-purple-deep: #B7B3DC;
  --hdc-rec-pink-deep:   #EE8DBB;
  --hdc-rec-blue-deep:   #A9D9EF;
  --hdc-rec-yellow-deep: #F0C94C;
  --hdc-rec-green-deep:  #C7E274;
  --hdc-rec-orange-deep: #F3AD5E;
  --hdc-rec-text:      #4A4238;
  --hdc-rec-text-muted: #8A8177;
  --hdc-rec-cream:     #FBF7F0;
  --hdc-rec-gold:      #C9A227;
  --hdc-rec-font-rounded: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', 'Noto Sans JP', sans-serif;
  --hdc-rec-font-hand: 'Yomogi', 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', sans-serif;
}

.hdc-rec-hero {
  position: relative;
  padding: 40px 24px 56px;
  text-align: center;
  background: linear-gradient(160deg, var(--hdc-rec-blue) 0%, var(--hdc-rec-pink) 55%, var(--hdc-rec-purple) 100%);
  overflow: hidden;
}

.hdc-rec-hero__badge {
  display: inline-block;
  margin: 0 0 14px;
  padding: 8px 18px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--hdc-rec-text) !important;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 999px;
}

.hdc-rec-hero__title {
  margin: 0 0 10px;
  font-family: var(--hdc-font-trajan);
  font-size: 30px;
  line-height: 1.35;
  letter-spacing: 0.04em;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-hero__sub {
  margin: 0 0 26px;
  font-size: 16px;
  letter-spacing: 0.1em;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-hero__photos {
  position: relative;
  max-width: 340px;
  height: 380px;
  margin: 0 auto 24px;
}

.hdc-rec-hero__photo {
  position: absolute;
  aspect-ratio: 1 / 1;
  filter: drop-shadow(0 10px 18px rgba(74, 66, 56, 0.22));
}

.hdc-rec-hero__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hdc-rec-hero__photo--1 {
  top: -4%;
  right: -6%;
  width: 74%;
  z-index: 1;
}

.hdc-rec-hero__photo--2 {
  bottom: -6%;
  left: -8%;
  width: 62%;
  z-index: 2;
}

.hdc-rec-hero__deco {
  position: absolute;
  width: 46%;
  height: auto;
  z-index: 0;
  pointer-events: none;
}

.hdc-rec-hero__deco--1 {
  top: 2%;
  left: 2%;
}

.hdc-rec-hero__deco--2 {
  bottom: 0;
  right: 2%;
}

.hdc-rec-hero__sparkle {
  position: absolute;
  font-size: 22px;
  color: #fff !important;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
  pointer-events: none;
  z-index: 3;
}

.hdc-rec-hero__sparkle--1 { top: -6px; right: 20%; font-size: 30px; }
.hdc-rec-hero__sparkle--2 { top: 45%; right: -10px; }
.hdc-rec-hero__sparkle--3 { bottom: 8%; left: -6px; font-size: 18px; }

.hdc-rec-hero__catch-img {
  display: block;
  width: 84%;
  max-width: 340px;
  height: auto;
  margin: 0 auto 30px;
}

.hdc-rec-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 34px;
  font-family: var(--hdc-rec-font-rounded);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: #fff !important;
  background: var(--hdc-rec-pink-deep);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(238, 141, 187, 0.4);
}

.hdc-rec-hero__cta span {
  color: #fff !important;
}

.hdc-rec-staff-grid {
  padding: 40px 20px 44px;
  text-align: center;
  background: #fff;
}

.hdc-rec-staff-grid__kicker {
  display: inline-block;
  margin: 0 0 10px;
  padding: 6px 22px;
  font-family: var(--hdc-rec-font-rounded);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--hdc-rec-text) !important;
  background: var(--hdc-rec-pink);
  border-radius: 999px;
}

.hdc-rec-staff-grid__title {
  margin: 0 0 22px;
  font-family: var(--hdc-rec-font-hand);
  font-size: 24px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-staff-grid__accent-pink {
  color: var(--hdc-rec-pink-deep) !important;
  font-size: 30px;
}

.hdc-rec-staff-grid__accent-gold {
  color: var(--hdc-rec-gold) !important;
  font-size: 24px;
}

.hdc-rec-staff-grid__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.hdc-rec-staff-grid__grid > *:last-child:nth-child(3n+1) {
  grid-column: 2;
}

.hdc-rec-staff-grid__item img {
  display: block;
  width: 100%;
  aspect-ratio: 6 / 5;
  object-fit: cover;
  border-radius: 6px;
}

.hdc-rec-philosophy {
  padding: 44px 24px;
  text-align: center;
  background: var(--hdc-rec-cream);
}

.hdc-rec-philosophy__kicker {
  display: inline-block;
  margin: 0 0 20px;
  padding: 8px 28px;
  font-family: var(--hdc-rec-font-rounded);
  font-size: 16px;
  font-weight: 700;
  color: var(--hdc-rec-text) !important;
  background: var(--hdc-rec-blue);
  border-radius: 999px;
}

.hdc-rec-philosophy__text {
  margin: 0 auto;
  max-width: 520px;
  font-size: 16px;
  line-height: 2;
  text-align: left;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-message {
  padding: 44px 24px 56px;
  text-align: center;
  background: #fff;
}

/* ---------- 学べる環境／予防への想い ---------- */
.hdc-rec-growth {
  background: var(--hdc-rec-cream);
}

.hdc-rec-growth__quote-photo {
  position: relative;
  padding: 56px 28px 60px;
  background-size: cover;
  background-position: center;
  text-align: center;
}

.hdc-rec-growth__quote-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.65) 100%);
}

.hdc-rec-growth__quote-text,
.hdc-rec-growth__quote-body {
  position: relative;
  z-index: 1;
}

.hdc-rec-growth__quote-text {
  margin: 0 0 26px;
  font-family: var(--hdc-rec-font-rounded);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-growth__quote-body {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 2;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-growth__quote-body:last-child {
  margin-bottom: 0;
}

.hdc-rec-growth__prevention {
  padding: 40px 24px 48px;
  text-align: center;
}

.hdc-rec-growth__prevention-title {
  margin: 0 0 18px;
  font-family: var(--hdc-rec-font-hand);
  font-size: 21px;
  line-height: 1.6;
  font-weight: 700;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-growth__prevention-text {
  margin: 0 auto 30px;
  max-width: 480px;
  font-size: 15px;
  line-height: 2;
  text-align: left;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-growth__circles {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
}

.hdc-rec-growth__circle {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(74, 66, 56, 0.15);
}

.hdc-rec-growth__circle img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hdc-rec-growth__team {
  padding: 8px 0;
}

.hdc-rec-growth__team img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(74, 66, 56, 0.14));
}

.hdc-rec-message__kicker {
  display: inline-block;
  margin: 0 0 24px;
  padding: 6px 24px;
  font-family: var(--hdc-rec-font-rounded);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff !important;
  background: var(--hdc-rec-purple-deep);
  border-radius: 999px;
}

.hdc-rec-message__portrait {
  max-width: 220px;
  margin: 0 auto 16px;
}

.hdc-rec-message__portrait img {
  display: block;
  width: 100%;
  height: auto;
}

.hdc-rec-message__name {
  margin: 0 0 24px;
  font-size: 18px;
  font-weight: 700;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-message__name-en {
  display: block;
  margin-top: 4px;
  font-family: var(--hdc-font-trajan);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--hdc-rec-text-muted) !important;
}

.hdc-rec-message__career {
  margin: 0 0 24px;
  padding: 20px;
  text-align: left;
  background: var(--hdc-rec-cream);
  border-radius: 12px;
}

.hdc-rec-message__career-title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--hdc-rec-text-muted) !important;
}

.hdc-rec-message__career ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  line-height: 1.9;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-message__text {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.95;
  text-align: left;
  color: var(--hdc-rec-text) !important;
}

/* ---------- 魅力その01 MTM詳細 ---------- */
.hdc-rec-mtm {
  background: #fff;
}

.hdc-rec-mtm__head {
  padding: 30px 24px 26px;
  text-align: left;
  background: var(--hdc-rec-purple);
}

.hdc-rec-mtm__head-kicker {
  margin: 0 0 4px;
  font-family: var(--hdc-font-trajan);
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--hdc-rec-text-muted) !important;
}

.hdc-rec-mtm__head-title {
  margin: 0;
  font-family: var(--hdc-rec-font-rounded);
  font-size: 22px;
  font-weight: 900;
  color: var(--hdc-rec-text) !important;
  border-bottom: 3px solid var(--hdc-rec-gold);
  display: inline-block;
  padding-bottom: 6px;
}

.hdc-rec-mtm__features {
  padding: 34px 20px 40px;
  text-align: center;
}

.hdc-rec-mtm__features-title {
  margin: 0 0 20px;
  font-size: 17px;
  font-weight: 700;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-mtm__features-title span {
  font-family: var(--hdc-font-trajan);
  font-size: 26px;
  color: var(--hdc-rec-gold) !important;
  margin: 0 2px;
}

.hdc-rec-mtm__features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 26px;
}

.hdc-rec-mtm__feature {
  position: relative;
  padding: 14px 10px;
  background: var(--hdc-rec-cream);
  border-radius: 14px;
}

.hdc-rec-mtm__feature-num {
  position: absolute;
  top: 8px;
  left: 10px;
  font-family: var(--hdc-font-trajan);
  font-size: 14px;
  color: var(--hdc-rec-text-muted) !important;
}

.hdc-rec-mtm__feature-icon {
  display: block;
  font-size: 26px;
  margin: 10px 0 6px;
}

.hdc-rec-mtm__feature-title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-mtm__feature-sub {
  font-size: 12px;
  font-weight: 400;
  color: var(--hdc-rec-text-muted) !important;
}

.hdc-rec-mtm__feature-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--hdc-rec-text-muted) !important;
}

.hdc-rec-mtm__features-lead {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.8;
  text-align: left;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-mtm__whatis {
  padding: 40px 20px 44px;
  text-align: center;
  background: var(--hdc-rec-purple);
}

.hdc-rec-mtm__whatis-eyebrow {
  margin: 0;
  font-size: 14px;
  color: var(--hdc-rec-text-muted) !important;
}

.hdc-rec-mtm__whatis-title {
  margin: 2px 0 14px;
  font-family: var(--hdc-font-trajan);
  font-size: 44px;
  font-weight: 700;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-mtm__whatis-title span {
  font-size: 18px;
  font-family: var(--hdc-rec-font-rounded);
  margin-left: 4px;
}

.hdc-rec-mtm__whatis-copy {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-mtm__whatis-badge {
  display: inline-block;
  margin: 0 0 20px;
  padding: 8px 18px;
  font-size: 15px;
  font-weight: 700;
  color: var(--hdc-rec-text) !important;
  background: #fff;
  border-radius: 999px;
}

.hdc-rec-mtm__whatis-text {
  margin: 0 0 30px;
  font-size: 15px;
  line-height: 1.9;
  text-align: left;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-mtm__steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 34px;
}

.hdc-rec-mtm__step {
  text-align: left;
}

.hdc-rec-mtm__step-photo {
  position: relative;
  margin-bottom: 8px;
  border-radius: 10px;
  overflow: hidden;
}

.hdc-rec-mtm__step-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hdc-rec-mtm__step-num {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-family: var(--hdc-font-trajan);
  font-size: 15px;
  font-weight: 700;
  color: #fff !important;
  background: var(--hdc-rec-gold);
  border-radius: 50%;
}

.hdc-rec-mtm__step-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-mtm__flow {
  position: relative;
  margin-bottom: 30px;
  max-width: 100%;
  overflow-x: hidden;
  text-align: left;
}

.hdc-rec-mtm__flow::after {
  content: '';
  position: absolute;
  top: 24px;
  right: 0;
  bottom: 8px;
  width: 32px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #fff 100%);
  pointer-events: none;
}

.hdc-rec-mtm__flow-label {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-mtm__flow-list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  padding-bottom: 8px;
}

.hdc-rec-mtm__flow-step {
  flex: 0 0 auto;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--hdc-rec-text) !important;
  background: #fff;
  border-radius: 999px;
}

.hdc-rec-mtm__flow-arrow {
  flex: 0 0 auto;
  color: var(--hdc-rec-gold) !important;
}

.hdc-rec-mtm__samples {
  display: flex;
  flex-direction: column;
  gap: 22px;
  text-align: left;
}

.hdc-rec-mtm__sample-title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-mtm__sample img {
  display: block;
  width: 100%;
  margin-bottom: 8px;
  border-radius: 10px;
}

.hdc-rec-mtm__sample-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--hdc-rec-text-muted) !important;
}

.hdc-rec-mtm__quote {
  padding: 36px 24px;
  text-align: left;
  background: var(--hdc-rec-cream);
}

.hdc-rec-mtm__quote--reverse {
  background: #fff;
}

.hdc-rec-mtm__quote-photo {
  margin-bottom: 18px;
  border-radius: 14px;
  overflow: hidden;
}

.hdc-rec-mtm__quote--reverse .hdc-rec-mtm__quote-photo {
  margin-top: 18px;
  margin-bottom: 0;
}

.hdc-rec-mtm__quote-photo img {
  display: block;
  width: 100%;
}

.hdc-rec-mtm__quote-title {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-mtm__quote-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-mtm__counsel {
  padding: 36px 24px 44px;
  text-align: center;
  background: var(--hdc-rec-purple);
}

.hdc-rec-mtm__counsel-title {
  display: inline-block;
  margin: 0 0 20px;
  padding: 8px 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--hdc-rec-text) !important;
  background: #fff;
  border-radius: 999px;
}

.hdc-rec-mtm__counsel-photo {
  margin-bottom: 18px;
  border-radius: 14px;
  overflow: hidden;
}

.hdc-rec-mtm__counsel-photo img {
  display: block;
  width: 100%;
}

.hdc-rec-mtm__counsel-text {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.8;
  text-align: left;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-mtm__counsel-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  text-align: left;
  color: var(--hdc-rec-text-muted) !important;
}

/* ---- 魅力その02 詳細（外部講師研修・ステップアップ制度） ---- */

.hdc-rec-training {
  background: #fff;
}

.hdc-rec-training__head {
  padding: 30px 24px 26px;
  text-align: left;
  background: var(--hdc-rec-pink);
}

.hdc-rec-training__head-kicker {
  margin: 0 0 4px;
  font-family: var(--hdc-font-trajan);
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--hdc-rec-text-muted) !important;
}

.hdc-rec-training__head-title {
  margin: 0;
  font-family: var(--hdc-rec-font-rounded);
  font-size: 22px;
  font-weight: 900;
  color: var(--hdc-rec-text) !important;
  border-bottom: 3px solid var(--hdc-rec-gold);
  display: inline-block;
  padding-bottom: 6px;
}

.hdc-rec-training__badge {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 18px;
  border-radius: 999px;
  background: var(--hdc-rec-pink);
  font-size: 15px;
  font-weight: 700;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-training__badge--gradient {
  background: linear-gradient(90deg, var(--hdc-rec-yellow) 0%, var(--hdc-rec-pink-deep) 100%);
  color: #fff !important;
}

.hdc-rec-training__external {
  padding: 34px 20px 40px;
  text-align: center;
}

.hdc-rec-training__external-title {
  margin: 0 0 12px;
  font-family: var(--hdc-rec-font-rounded);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.5;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-training__external-text {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.9;
  text-align: left;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-training__external-vs {
  margin: 0 0 20px;
  font-family: var(--hdc-rec-font-rounded);
  font-size: 18px;
  font-weight: 900;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-training__external-vs span {
  margin: 0 8px;
  color: var(--hdc-rec-gold) !important;
}

.hdc-rec-training__external-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hdc-rec-training__external-photo--main {
  grid-row: span 2;
}

.hdc-rec-training__external-photo img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 8px;
}

.hdc-rec-training__external-photo:not(.hdc-rec-training__external-photo--main) img {
  aspect-ratio: 4 / 3;
}

.hdc-rec-training__stepup {
  padding: 36px 20px 40px;
  text-align: center;
  background: linear-gradient(160deg, #fff 0%, var(--hdc-rec-purple) 100%);
}

.hdc-rec-training__stepup-title {
  margin: 18px 0 26px;
  font-family: var(--hdc-rec-font-rounded);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.5;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-training__stepup-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.hdc-rec-training__stepup-step {
  flex: 1 1 auto;
  min-width: 92px;
  max-width: 132px;
  padding: 14px 6px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.hdc-rec-training__stepup-step-icon {
  display: block;
  font-size: 24px;
  margin: 0 0 6px;
}

.hdc-rec-training__stepup-step-label {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--hdc-rec-pink-deep) !important;
}

.hdc-rec-training__stepup-step-text {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-training__stepup-arrow {
  font-size: 20px;
  color: var(--hdc-rec-gold) !important;
}

.hdc-rec-training__support-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 0 20px 44px;
}

.hdc-rec-training__support {
  padding: 20px 16px 24px;
  border-radius: 12px;
  text-align: center;
}

.hdc-rec-training__support--blue {
  background: var(--hdc-rec-blue);
}

.hdc-rec-training__support--green {
  background: var(--hdc-rec-green);
}

.hdc-rec-training__support .hdc-rec-training__badge {
  background: #fff;
}

.hdc-rec-training__support-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  margin: 0 0 12px;
}

.hdc-rec-training__support-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--hdc-rec-text) !important;
}

/* ---- 魅力その03 詳細（患者さんとの会話） ---- */

.hdc-rec-comm {
  background: #fff;
}

.hdc-rec-comm__head {
  padding: 30px 24px 26px;
  text-align: left;
  background: var(--hdc-rec-blue);
}

.hdc-rec-comm__head-kicker {
  margin: 0 0 4px;
  font-family: var(--hdc-font-trajan);
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--hdc-rec-text-muted) !important;
}

.hdc-rec-comm__head-title {
  margin: 0;
  font-family: var(--hdc-rec-font-rounded);
  font-size: 22px;
  font-weight: 900;
  color: var(--hdc-rec-text) !important;
  border-bottom: 3px solid var(--hdc-rec-gold);
  display: inline-block;
  padding-bottom: 6px;
}

.hdc-rec-comm__main-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hdc-rec-comm__tagline {
  margin: 20px 20px 0;
  padding: 12px 10px;
  text-align: center;
  font-family: var(--hdc-rec-font-rounded);
  font-size: 17px;
  font-weight: 900;
  color: var(--hdc-rec-text) !important;
  background: linear-gradient(90deg, var(--hdc-rec-blue) 0%, var(--hdc-rec-purple) 100%);
  border-radius: 8px;
}

.hdc-rec-comm__text {
  margin: 18px 20px 24px;
  font-size: 15px;
  line-height: 1.9;
  text-align: left;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-comm__photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 0 20px 40px;
}

.hdc-rec-comm__photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
}

/* ---- 魅力その04 詳細（新人研修カリキュラム・マニュアル） ---- */

.hdc-rec-manual {
  background: var(--hdc-rec-yellow);
  padding-bottom: 44px;
}

.hdc-rec-manual__head {
  padding: 30px 24px 26px;
  text-align: left;
  background: var(--hdc-rec-yellow-deep);
}

.hdc-rec-manual__head-kicker {
  margin: 0 0 4px;
  font-family: var(--hdc-font-trajan);
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--hdc-rec-text-muted) !important;
}

.hdc-rec-manual__head-title {
  margin: 0;
  font-family: var(--hdc-rec-font-rounded);
  font-size: 20px;
  font-weight: 900;
  color: var(--hdc-rec-text) !important;
  border-bottom: 3px solid var(--hdc-rec-gold);
  display: inline-block;
  padding-bottom: 6px;
}

.hdc-rec-manual__book {
  margin: 28px 20px 0;
}

.hdc-rec-manual__cover img {
  display: block;
  width: 100%;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.hdc-rec-manual__pages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
}

.hdc-rec-manual__page img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
}

.hdc-rec-manual__srp {
  margin: 34px 20px 0;
  padding: 26px 20px;
  text-align: center;
  background: #fff;
  border-radius: 12px;
}

.hdc-rec-manual__srp-title {
  margin: 0 0 16px;
  font-family: var(--hdc-rec-font-rounded);
  font-size: 19px;
  font-weight: 900;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-manual__srp-badge {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 18px;
  border-radius: 999px;
  background: var(--hdc-rec-pink);
  font-size: 15px;
  font-weight: 700;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-manual__srp-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  text-align: left;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-manual__srp-icon {
  font-size: 18px;
  margin-right: 4px;
}

/* ---- 魅力その06 詳細（設備・5S衛生管理） ---- */

.hdc-rec-equipment {
  background: #fff;
  padding-bottom: 40px;
}

.hdc-rec-equipment__head {
  padding: 30px 24px 26px;
  text-align: left;
  background: var(--hdc-rec-orange);
}

.hdc-rec-equipment__head-kicker {
  margin: 0 0 4px;
  font-family: var(--hdc-font-trajan);
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--hdc-rec-text-muted) !important;
}

.hdc-rec-equipment__head-title {
  margin: 0;
  font-family: var(--hdc-rec-font-rounded);
  font-size: 21px;
  font-weight: 900;
  color: var(--hdc-rec-text) !important;
  border-bottom: 3px solid var(--hdc-rec-gold);
  display: inline-block;
  padding-bottom: 6px;
}

.hdc-rec-equipment__collage {
  padding: 20px 20px 0;
}

.hdc-rec-equipment__collage img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.hdc-rec-equipment__hygiene-banner {
  margin: 32px 20px 16px;
  padding: 10px;
  text-align: center;
  font-family: var(--hdc-rec-font-rounded);
  font-size: 17px;
  font-weight: 900;
  color: var(--hdc-rec-text) !important;
  background: var(--hdc-rec-blue);
  border-radius: 999px;
}

/* ---- 年間行事 ---- */

.hdc-rec-events {
  background: var(--hdc-rec-yellow);
  padding-bottom: 40px;
}

.hdc-rec-events__head {
  padding: 34px 24px 20px;
  text-align: center;
}

.hdc-rec-events__head-kicker {
  margin: 0 0 4px;
  font-family: var(--hdc-rec-font-hand);
  font-size: 17px;
  color: var(--hdc-rec-pink-deep) !important;
}

.hdc-rec-events__head-title {
  margin: 0;
  font-family: var(--hdc-rec-font-rounded);
  font-size: 24px;
  font-weight: 900;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-events__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0 20px;
  list-style: none;
}

.hdc-rec-events__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.hdc-rec-events__photo {
  flex: 0 0 96px;
}

.hdc-rec-events__photo img {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 8px;
}

.hdc-rec-events__body {
  flex: 1 1 auto;
}

.hdc-rec-events__month {
  display: inline-block;
  margin: 0 0 4px;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-events__month--purple { background: var(--hdc-rec-purple); }
.hdc-rec-events__month--pink   { background: var(--hdc-rec-pink); }
.hdc-rec-events__month--blue   { background: var(--hdc-rec-blue); }
.hdc-rec-events__month--yellow { background: var(--hdc-rec-yellow); }
.hdc-rec-events__month--green  { background: var(--hdc-rec-green); }
.hdc-rec-events__month--orange { background: var(--hdc-rec-orange); }

.hdc-rec-events__title {
  margin: 0;
  font-family: var(--hdc-rec-font-rounded);
  font-size: 16px;
  font-weight: 900;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-charms {
  padding: 44px 24px 50px;
  text-align: center;
  background: var(--hdc-rec-cream);
}

.hdc-rec-charms__kicker {
  margin: 0;
  font-size: 15px;
  color: var(--hdc-rec-text-muted) !important;
}

.hdc-rec-charms__title {
  margin: 4px 0 30px;
  font-family: var(--hdc-rec-font-rounded);
  font-size: 26px;
  font-weight: 900;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-charms__grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hdc-rec-charms__card {
  position: relative;
  padding: 20px 20px 0;
  text-align: left;
  border-radius: 16px;
  overflow: hidden;
}

.hdc-rec-charms__card-body {
  padding-bottom: 18px;
}

.hdc-rec-charms__card-photo {
  margin: 0 -20px;
}

.hdc-rec-charms__card-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hdc-rec-charms__card--purple { background: var(--hdc-rec-purple); }
.hdc-rec-charms__card--yellow { background: var(--hdc-rec-yellow); }
.hdc-rec-charms__card--pink   { background: var(--hdc-rec-pink); }
.hdc-rec-charms__card--green  { background: var(--hdc-rec-green); }
.hdc-rec-charms__card--blue   { background: var(--hdc-rec-blue); }
.hdc-rec-charms__card--orange { background: var(--hdc-rec-orange); }

.hdc-rec-charms__num {
  display: block;
  margin-bottom: 4px;
  font-family: var(--hdc-font-trajan);
  font-size: 26px;
  color: rgba(74, 66, 56, 0.35) !important;
}

.hdc-rec-charms__card-title {
  margin: 0 0 8px;
  font-family: var(--hdc-rec-font-rounded);
  font-size: 17px;
  font-weight: 700;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-charms__card-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-voice {
  padding: 44px 24px 50px;
  text-align: center;
  background: #fff;
}

.hdc-rec-voice__charm-badge {
  display: inline-block;
  margin: 0 0 10px;
  padding: 5px 16px;
  border-radius: 999px;
  background: var(--hdc-rec-green);
  font-size: 13px;
  font-weight: 700;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-voice__kicker {
  margin: 0;
  font-size: 15px;
  color: var(--hdc-rec-text-muted) !important;
}

.hdc-rec-voice__title {
  margin: 4px 0 30px;
  font-family: var(--hdc-rec-font-rounded);
  font-size: 26px;
  font-weight: 900;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-voice__lead-photo {
  margin: 0 0 32px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(74, 66, 56, 0.12);
}

.hdc-rec-voice__lead-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hdc-rec-voice__card {
  position: relative;
  margin-bottom: 40px;
  padding: 60px 20px 24px;
  text-align: left;
  background: var(--hdc-rec-cream);
  border-radius: 20px;
}

.hdc-rec-voice__card:last-child {
  margin-bottom: 0;
}

.hdc-rec-voice__photo {
  position: absolute;
  top: -30px;
  left: 20px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 4px 10px rgba(74, 66, 56, 0.15);
}

.hdc-rec-voice__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hdc-rec-voice__name {
  margin: 0 0 14px;
  padding-left: 100px;
  font-size: 17px;
  font-weight: 700;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-voice__name span {
  margin-left: 8px;
  font-size: 14px;
  font-weight: 400;
  color: var(--hdc-rec-text-muted) !important;
}

.hdc-rec-voice__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--hdc-rec-text) !important;
}

/* ---------- 1日のスケジュール ---------- */
.hdc-rec-schedule {
  padding: 44px 24px 50px;
  text-align: center;
  background: var(--hdc-rec-cream);
}

.hdc-rec-schedule__kicker {
  margin: 0;
  font-size: 15px;
  color: var(--hdc-rec-text-muted) !important;
}

.hdc-rec-schedule__title {
  margin: 4px 0 30px;
  font-family: var(--hdc-rec-font-rounded);
  font-size: 26px;
  font-weight: 900;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-schedule__list {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.hdc-rec-schedule__item {
  position: relative;
  min-height: 48px;
  padding: 0 0 22px 60px;
  border-left: 2px dashed var(--hdc-rec-blue-deep, var(--hdc-rec-blue));
  margin-left: 100px;
}

.hdc-rec-schedule__item:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.hdc-rec-schedule__item::before {
  content: "";
  position: absolute;
  top: 4px;
  left: -7px;
  width: 12px;
  height: 12px;
  background: #fff;
  border: 3px solid var(--hdc-rec-gold);
  border-radius: 50%;
}

.hdc-rec-schedule__time {
  position: absolute;
  top: -3px;
  left: -92px;
  width: 84px;
  font-family: var(--hdc-rec-font-rounded);
  font-size: 15px;
  font-weight: 700;
  text-align: right;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-schedule__label {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--hdc-rec-text-muted) !important;
}

.hdc-rec-schedule__bar {
  padding: 12px 16px;
  font-size: 15px;
  line-height: 1.6;
  border-radius: 10px;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-schedule__bar--pink   { background: var(--hdc-rec-pink); }
.hdc-rec-schedule__bar--green  { background: var(--hdc-rec-green); }
.hdc-rec-schedule__bar--blue   { background: var(--hdc-rec-blue); }

/* ---------- 募集要項 ---------- */
.hdc-rec-req {
  padding: 44px 24px 50px;
  text-align: center;
  background: #fff;
}

.hdc-rec-req__kicker {
  margin: 0;
  font-size: 15px;
  color: var(--hdc-rec-text-muted) !important;
}

.hdc-rec-req__title {
  margin: 4px 0 30px;
  font-family: var(--hdc-font-trajan);
  font-size: 26px;
  font-weight: 700;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-req__wants {
  margin-bottom: 34px;
  padding: 22px 20px;
  text-align: left;
  background: var(--hdc-rec-purple);
  border-radius: 16px;
}

.hdc-rec-req__wants-title {
  margin: 0 0 12px;
  font-family: var(--hdc-rec-font-rounded);
  font-size: 17px;
  font-weight: 700;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-req__wants-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hdc-rec-req__wants-item {
  padding: 16px 16px 16px 54px;
  position: relative;
  text-align: left;
  background: #fff;
  border-radius: 12px;
}

.hdc-rec-req__wants-point {
  position: absolute;
  left: 14px;
  top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  font-family: var(--hdc-font-trajan);
  font-size: 15px;
  font-weight: 700;
  color: #fff !important;
  background: var(--hdc-rec-gold);
  border-radius: 50%;
}

.hdc-rec-req__wants-item-title {
  margin: 0 0 4px;
  font-family: var(--hdc-rec-font-rounded);
  font-size: 15px;
  font-weight: 700;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-req__wants-item-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-req__table-wrap {
  margin-bottom: 34px;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--hdc-rec-purple);
}

.hdc-rec-req__table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.hdc-rec-req__table th,
.hdc-rec-req__table td {
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.7;
  border-bottom: 1px solid var(--hdc-rec-purple);
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-req__table tr:last-child th,
.hdc-rec-req__table tr:last-child td {
  border-bottom: none;
}

.hdc-rec-req__table th {
  width: 96px;
  font-weight: 700;
  white-space: nowrap;
  background: var(--hdc-rec-cream);
}

.hdc-rec-req__training,
.hdc-rec-req__events {
  margin-bottom: 34px;
  text-align: left;
}

.hdc-rec-req__training:last-child,
.hdc-rec-req__events:last-child {
  margin-bottom: 0;
}

.hdc-rec-req__training-title,
.hdc-rec-req__events-title {
  margin: 0 0 14px;
  font-family: var(--hdc-rec-font-rounded);
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-req__training-lead {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--hdc-rec-text-muted) !important;
}

.hdc-rec-req__training-block {
  margin-bottom: 26px;
}

.hdc-rec-req__training-block:last-child {
  margin-bottom: 0;
}

.hdc-rec-req__training-month {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--hdc-rec-pink-deep) !important;
}

.hdc-rec-req__training-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 14px;
  background: var(--hdc-rec-cream);
  border-radius: 10px;
}

.hdc-rec-req__training-items {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hdc-rec-req__training-items li {
  position: relative;
  padding: 0 0 8px 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-req__training-items li:last-child {
  padding-bottom: 0;
}

.hdc-rec-req__training-items li::before {
  content: '└';
  position: absolute;
  left: 0;
  color: var(--hdc-rec-gold) !important;
}

.hdc-rec-req__training-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: var(--hdc-rec-cream);
  border-radius: 8px;
}

.hdc-rec-req__events-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hdc-rec-req__events-list li {
  padding: 8px 16px;
  font-size: 15px;
  background: var(--hdc-rec-yellow);
  border-radius: 999px;
  color: var(--hdc-rec-text) !important;
}

/* ---------- エントリーCTA ---------- */
.hdc-rec-entry {
  padding: 44px 24px 56px;
  text-align: center;
  background: var(--hdc-rec-purple);
}

.hdc-rec-entry__kicker-top {
  margin: 0;
  font-size: 15px;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-entry__team-title {
  margin: 4px 0 12px;
  font-family: var(--hdc-rec-font-rounded);
  font-size: 24px;
  font-weight: 900;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-entry__team-lead {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-entry__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}

.hdc-rec-entry__stat {
  padding: 16px 10px;
  background: #fff;
  border-radius: 16px;
}

.hdc-rec-entry__stat-num {
  margin: 0;
  font-family: var(--hdc-font-trajan);
  font-size: 28px;
  font-weight: 700;
  color: var(--hdc-rec-gold) !important;
}

.hdc-rec-entry__stat-num span {
  margin-left: 2px;
  font-size: 15px;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-entry__stat-label {
  margin: 2px 0 0;
  font-size: 14px;
  color: var(--hdc-rec-text-muted) !important;
}

.hdc-rec-entry__flow {
  margin-bottom: 40px;
  padding: 24px 20px;
  text-align: left;
  background: #fff;
  border-radius: 20px;
}

.hdc-rec-entry__flow-title {
  margin: 0 0 16px;
  font-family: var(--hdc-rec-font-rounded);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-entry__flow-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hdc-rec-entry__flow-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px dashed var(--hdc-rec-purple);
}

.hdc-rec-entry__flow-step:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.hdc-rec-entry__flow-num {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-family: var(--hdc-font-trajan);
  font-size: 15px;
  font-weight: 700;
  background: var(--hdc-rec-purple);
  border-radius: 50%;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-entry__flow-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hdc-rec-entry__flow-step-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-entry__flow-step-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--hdc-rec-text-muted) !important;
}

.hdc-rec-entry__handshake {
  margin: 36px 0;
}

.hdc-rec-entry__handshake img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(74, 66, 56, 0.14));
}

.hdc-rec-entry__kicker {
  margin: 0;
  font-size: 15px;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-entry__title {
  margin: 4px 0 14px;
  font-family: var(--hdc-rec-font-rounded);
  font-size: 22px;
  font-weight: 900;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-entry__lead {
  margin: 0 0 26px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-entry__btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 18px 32px;
  background: var(--hdc-rec-gold);
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(74, 66, 56, 0.2);
}

.hdc-rec-entry__btn-label {
  font-family: var(--hdc-rec-font-rounded);
  font-size: 17px;
  font-weight: 700;
  color: #fff !important;
}

.hdc-rec-entry__btn-email {
  font-size: 14px;
  color: #fff !important;
}

/* ---------- よくある質問 ---------- */
.hdc-rec-faq {
  padding: 44px 24px 50px;
  text-align: center;
  background: var(--hdc-rec-cream);
}

.hdc-rec-faq__kicker {
  margin: 0;
  font-size: 15px;
  color: var(--hdc-rec-text-muted) !important;
}

.hdc-rec-faq__title {
  margin: 4px 0 28px;
  font-family: var(--hdc-rec-font-rounded);
  font-size: 26px;
  font-weight: 900;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-faq__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.hdc-rec-faq__item {
  padding: 20px;
  background: #fff;
  border-radius: 18px;
}

.hdc-rec-faq__q,
.hdc-rec-faq__a {
  display: flex;
  gap: 10px;
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--hdc-rec-text) !important;
}

.hdc-rec-faq__q {
  margin-bottom: 10px;
  font-weight: 700;
}

.hdc-rec-faq__q span,
.hdc-rec-faq__a span {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-family: var(--hdc-font-trajan);
  font-size: 15px;
  font-weight: 700;
  border-radius: 50%;
  color: #fff !important;
}

.hdc-rec-faq__q span {
  background: var(--hdc-rec-gold) !important;
}

.hdc-rec-faq__a span {
  background: var(--hdc-rec-pink-deep, var(--hdc-rec-pink)) !important;
}

/* ---------- ページ全体の装飾（見出しスパークル & セクション重なり演出） ---------- */
.hdc-rec-page {
  overflow: hidden;
  min-width: 0;
}

.hdc-rec-hero__badge,
.hdc-rec-philosophy__kicker,
.hdc-rec-message__kicker,
.hdc-rec-charms__kicker,
.hdc-rec-voice__kicker,
.hdc-rec-schedule__kicker,
.hdc-rec-req__kicker,
.hdc-rec-faq__kicker,
.hdc-rec-entry__kicker-top,
.hdc-rec-entry__kicker {
  position: relative;
  display: inline-block;
}

.hdc-rec-philosophy__kicker::before,
.hdc-rec-message__kicker::before,
.hdc-rec-charms__kicker::before,
.hdc-rec-voice__kicker::before,
.hdc-rec-schedule__kicker::before,
.hdc-rec-req__kicker::before,
.hdc-rec-faq__kicker::before,
.hdc-rec-entry__kicker-top::before,
.hdc-rec-entry__kicker::before {
  content: "✦";
  margin-right: 6px;
  color: var(--hdc-rec-gold) !important;
}

.hdc-rec-charms,
.hdc-rec-voice,
.hdc-rec-schedule,
.hdc-rec-req,
.hdc-rec-faq,
.hdc-rec-entry {
  position: relative;
  margin-top: -28px;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -10px 24px rgba(74, 66, 56, 0.06);
}

.hdc-rec-page .hdc-access {
  position: relative;
  margin-top: -28px;
  padding-top: 44px;
  border-radius: 32px 32px 0 0;
  background: #fff;
  box-shadow: 0 -10px 24px rgba(74, 66, 56, 0.06);
}

.hdc-rec-charms__card {
  transform: rotate(-1deg);
}

.hdc-rec-charms__card:nth-child(even) {
  transform: rotate(1deg);
}

/* =========================================================
   小児歯科・矯正ページ（treatment-pedia-*）
   ========================================================= */

/* ---------- ヒーロー（写真＋HTML重ね） ---------- */
.hdc-tx-hero--pedia .hdc-tx-hero__photo {
  position: relative;
  height: 520px;
  border-radius: 0 0 28px 28px;
  overflow: hidden;
}

.hdc-tx-hero--pedia .hdc-tx-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hdc-tx-hero--pedia .hdc-tx-hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 55%, rgba(255, 247, 250, 0.88) 100%);
}

.hdc-tx-hero--pedia .hdc-tx-hero__copy {
  top: auto;
  left: 20px;
  right: 20px;
  bottom: 20px;
}

.hdc-tx-hero--pedia .hdc-tx-hero__title {
  font-family: var(--hdc-rec-font-rounded);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.5;
}

.hdc-tx-hero__lead {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.8;
  color: #fff !important;
}

.hdc-tx-reasons__photo--noimg {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  background: var(--hdc-rec-cream);
  border-radius: 8px;
}

.hdc-tx-reasons__noimg-icon {
  font-size: 56px;
  line-height: 1;
  filter: grayscale(0.1);
}

/* ---------- 歯並びが乱れる原因 ---------- */
.hdc-tx-pedia-causes {
  padding: 46px 24px 50px;
  text-align: center;
  background: #fff;
}

.hdc-tx-pedia-causes__kicker {
  position: relative;
  display: block;
  margin: -46px -24px 26px;
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--hdc-rec-text) !important;
  background: var(--hdc-rec-pink-deep, var(--hdc-rec-pink));
  border-radius: 28px 28px 0 0;
}

.hdc-tx-pedia-causes__kicker::before,
.hdc-tx-pedia-causes__kicker::after {
  content: "✦";
  margin: 0 4px;
  color: var(--hdc-rec-text) !important;
}

.hdc-tx-pedia-causes__title {
  margin: 6px 0 30px;
  font-family: var(--hdc-rec-font-rounded);
  font-weight: 900;
  font-size: 27px;
  line-height: 1.5;
  color: var(--hdc-rec-text) !important;
}

.hdc-tx-pedia-causes__ratio {
  margin-bottom: 34px;
  text-align: left;
}

.hdc-tx-pedia-causes__ratio-bar {
  display: flex;
  overflow: hidden;
  height: 44px;
  border-radius: 999px;
}

.hdc-tx-pedia-causes__ratio-env,
.hdc-tx-pedia-causes__ratio-gene {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--hdc-rec-text) !important;
}

.hdc-tx-pedia-causes__ratio-env {
  width: 80%;
  background: var(--hdc-rec-yellow);
}

.hdc-tx-pedia-causes__ratio-gene {
  width: 20%;
  background: var(--hdc-rec-blue);
}

.hdc-tx-pedia-causes__ratio-note {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.9;
  color: var(--hdc-rec-text) !important;
}

.hdc-tx-pedia-causes__grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 26px;
}

.hdc-tx-pedia-causes__card {
  position: relative;
  padding: 22px 20px 20px 70px;
  text-align: left;
  border-radius: 18px;
}

.hdc-tx-pedia-causes__card:nth-child(5n+1) { background: var(--hdc-rec-purple); }
.hdc-tx-pedia-causes__card:nth-child(5n+2) { background: var(--hdc-rec-pink); }
.hdc-tx-pedia-causes__card:nth-child(5n+3) { background: var(--hdc-rec-blue); }
.hdc-tx-pedia-causes__card:nth-child(5n+4) { background: var(--hdc-rec-green); }
.hdc-tx-pedia-causes__card:nth-child(5n+5) { background: var(--hdc-rec-yellow); }

.hdc-tx-pedia-causes__card-icon {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-family: var(--hdc-rec-font-rounded);
  font-size: 16px;
  font-weight: 900;
  color: #fff !important;
  background: var(--hdc-rec-gold);
  border-radius: 50%;
}

.hdc-tx-pedia-causes__card-title {
  margin: 0 0 8px;
  font-family: var(--hdc-rec-font-rounded);
  font-size: 16px;
  font-weight: 700;
  color: var(--hdc-rec-text) !important;
}

.hdc-tx-pedia-causes__card-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--hdc-rec-text) !important;
}

.hdc-tx-pedia-causes__footnote {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  text-align: left;
  color: var(--hdc-rec-text-muted) !important;
}

/* ---------- 年齢別むし歯予防プログラム ---------- */
.hdc-tx-pedia-prevention {
  position: relative;
  margin-top: -28px;
  padding: 46px 24px 50px;
  text-align: center;
  background: var(--hdc-rec-cream);
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -10px 24px rgba(74, 66, 56, 0.06);
}

.hdc-tx-pedia-prevention__kicker {
  position: relative;
  display: block;
  margin: -46px -24px 26px;
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--hdc-rec-text) !important;
  background: var(--hdc-rec-green-deep, var(--hdc-rec-green));
  border-radius: 28px 28px 0 0;
}

.hdc-tx-pedia-prevention__kicker::before,
.hdc-tx-pedia-prevention__kicker::after {
  content: "✦";
  margin: 0 4px;
  color: var(--hdc-rec-text) !important;
}

.hdc-tx-pedia-prevention__title {
  margin: 6px 0 14px;
  font-family: var(--hdc-rec-font-rounded);
  font-weight: 900;
  font-size: 26px;
  color: var(--hdc-rec-text) !important;
}

.hdc-tx-pedia-prevention__goal {
  margin: 0 0 30px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--hdc-rec-text) !important;
}

.hdc-tx-pedia-prevention__ages {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hdc-tx-pedia-prevention__age {
  padding: 22px 20px;
  text-align: left;
  background: #fff;
  border-radius: 18px;
}

.hdc-tx-pedia-prevention__age:nth-child(3n+1) { transform: rotate(-0.6deg); }
.hdc-tx-pedia-prevention__age:nth-child(3n+2) { transform: rotate(0.6deg); }

.hdc-tx-pedia-prevention__age-title {
  margin: 0 0 16px;
  font-family: var(--hdc-rec-font-rounded);
  font-weight: 900;
  font-size: 18px;
  text-align: center;
  color: var(--hdc-rec-gold) !important;
}

.hdc-tx-pedia-prevention__visits {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hdc-tx-pedia-prevention__visit {
  padding: 12px 0;
  border-top: 1px dashed var(--hdc-rec-purple);
}

.hdc-tx-pedia-prevention__visit:first-child {
  padding-top: 0;
  border-top: none;
}

.hdc-tx-pedia-prevention__visit-label {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff !important;
  background: var(--hdc-rec-purple-deep, var(--hdc-rec-purple));
  border-radius: 6px;
}

.hdc-tx-pedia-prevention__visit-items {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hdc-tx-pedia-prevention__visit-items li {
  padding: 4px 10px;
  font-size: 13px;
  line-height: 1.6;
  background: var(--hdc-rec-cream);
  border: 1px solid var(--hdc-rec-blue-deep, var(--hdc-rec-blue));
  border-radius: 999px;
  color: var(--hdc-rec-text) !important;
}

.hdc-tx-pedia-prevention__age-note {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--hdc-rec-text-muted) !important;
}

/* ---------- 姿勢口育ベビークラブ ---------- */
.hdc-tx-pedia-babyclub {
  position: relative;
  margin-top: -28px;
  padding: 46px 24px 50px;
  text-align: center;
  background: #fff;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -10px 24px rgba(74, 66, 56, 0.06);
}

.hdc-tx-pedia-babyclub__kicker {
  position: relative;
  display: block;
  margin: -46px -24px 26px;
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--hdc-rec-text) !important;
  background: var(--hdc-rec-blue-deep, var(--hdc-rec-blue));
  border-radius: 28px 28px 0 0;
}

.hdc-tx-pedia-babyclub__kicker::before,
.hdc-tx-pedia-babyclub__kicker::after {
  content: "✦";
  margin: 0 4px;
  color: var(--hdc-rec-text) !important;
}

.hdc-tx-pedia-babyclub__title {
  margin: 6px 0 20px;
  font-family: var(--hdc-rec-font-rounded);
  font-weight: 900;
  font-size: 28px;
  color: var(--hdc-rec-text) !important;
}

.hdc-tx-pedia-babyclub__lead {
  margin: 0 0 30px;
  font-size: 13px;
  line-height: 1.9;
  text-align: left;
  color: var(--hdc-rec-text) !important;
}

.hdc-tx-pedia-babyclub__check {
  margin-bottom: 34px;
  padding: 22px 20px;
  text-align: left;
  background: var(--hdc-rec-pink);
  border-radius: 18px;
}

.hdc-tx-pedia-babyclub__check-title {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--hdc-rec-text) !important;
}

.hdc-tx-pedia-babyclub__check-list {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.hdc-tx-pedia-babyclub__check-list li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 26px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--hdc-rec-text) !important;
}

.hdc-tx-pedia-babyclub__check-list li:last-child {
  margin-bottom: 0;
}

.hdc-tx-pedia-babyclub__check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  color: var(--hdc-rec-pink-deep, var(--hdc-rec-pink)) !important;
  background: #fff;
  border-radius: 5px;
}

.hdc-tx-pedia-babyclub__check-note {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--hdc-rec-text) !important;
}

.hdc-tx-pedia-babyclub__points {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 34px;
  text-align: left;
}

.hdc-tx-pedia-babyclub__point {
  padding: 18px 20px;
  border-radius: 16px;
}

.hdc-tx-pedia-babyclub__point:nth-child(3n+1) { background: var(--hdc-rec-blue); }
.hdc-tx-pedia-babyclub__point:nth-child(3n+2) { background: var(--hdc-rec-green); }
.hdc-tx-pedia-babyclub__point:nth-child(3n+3) { background: var(--hdc-rec-yellow); }

.hdc-tx-pedia-babyclub__point h3 {
  margin: 0 0 8px;
  font-family: var(--hdc-rec-font-rounded);
  font-size: 14px;
  font-weight: 700;
  color: var(--hdc-rec-text) !important;
}

.hdc-tx-pedia-babyclub__point p {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--hdc-rec-text) !important;
}

.hdc-tx-pedia-babyclub__menu {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hdc-tx-pedia-babyclub__menu-item {
  padding: 22px 20px;
  text-align: left;
  background: var(--hdc-rec-purple-deep);
  border-radius: 18px;
}

.hdc-tx-pedia-babyclub__menu-title {
  margin: 0 0 8px;
  font-family: var(--hdc-rec-font-rounded);
  font-size: 15px;
  font-weight: 700;
  color: #fff !important;
}

.hdc-tx-pedia-babyclub__menu-price {
  display: inline-block;
  margin: 0 0 8px;
  padding: 4px 14px;
  font-family: var(--hdc-font-trajan);
  font-size: 20px;
  font-weight: 700;
  color: var(--hdc-rec-text) !important;
  background: var(--hdc-rec-yellow);
  border-radius: 999px;
}

.hdc-tx-pedia-babyclub__menu-time {
  margin: 0 0 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7) !important;
}

.hdc-tx-pedia-babyclub__menu-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.92) !important;
}

/* ---------- 顎顔面矯正とは ---------- */
.hdc-tx-pedia-ortho-intro {
  position: relative;
  margin-top: -28px;
  padding: 46px 24px 40px;
  text-align: center;
  background: #fff;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -10px 24px rgba(74, 66, 56, 0.06);
}

.hdc-tx-pedia-ortho-intro__kicker {
  position: relative;
  display: block;
  margin: -46px -24px 26px;
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--hdc-rec-text) !important;
  background: var(--hdc-rec-orange-deep, var(--hdc-rec-orange));
  border-radius: 28px 28px 0 0;
}

.hdc-tx-pedia-ortho-intro__kicker::before,
.hdc-tx-pedia-ortho-intro__kicker::after {
  content: "✦";
  margin: 0 4px;
  color: var(--hdc-rec-text) !important;
}

.hdc-tx-pedia-ortho-intro__title {
  margin: 6px 0 20px;
  font-family: var(--hdc-rec-font-rounded);
  font-weight: 900;
  font-size: 24px;
  line-height: 1.6;
  color: var(--hdc-rec-text) !important;
}

.hdc-tx-pedia-ortho-intro__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
  text-align: left;
  color: var(--hdc-rec-text) !important;
}

.hdc-tx-pedia-ortho-note {
  padding: 24px 24px 46px;
  background: #fff;
}

.hdc-tx-pedia-ortho-note p {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--hdc-rec-text-muted) !important;
}

.hdc-tx-pedia-ortho-note p:last-child {
  margin-bottom: 0;
}

/* ---------- 矯正の流れ ---------- */
.hdc-tx-pedia-flow {
  position: relative;
  margin-top: -28px;
  padding: 46px 24px 50px;
  text-align: center;
  background: var(--hdc-rec-cream);
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -10px 24px rgba(74, 66, 56, 0.06);
}

.hdc-tx-pedia-flow__kicker {
  display: block;
  margin: -46px -24px 26px;
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--hdc-rec-text) !important;
  background: var(--hdc-rec-purple-deep, var(--hdc-rec-purple));
  border-radius: 28px 28px 0 0;
}

.hdc-tx-pedia-flow__title {
  margin: 6px 0 30px;
  font-family: var(--hdc-rec-font-rounded);
  font-weight: 900;
  font-size: 27px;
  color: var(--hdc-rec-text) !important;
}

.hdc-tx-pedia-flow__list {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.hdc-tx-pedia-flow__step {
  display: flex;
  gap: 16px;
  padding: 20px;
  margin-bottom: 14px;
  background: #fff;
  border-radius: 18px;
}

.hdc-tx-pedia-flow__step:last-child {
  margin-bottom: 0;
}

.hdc-tx-pedia-flow__num {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-family: var(--hdc-font-trajan);
  font-size: 14px;
  font-weight: 700;
  color: #fff !important;
  background: var(--hdc-rec-purple-deep, var(--hdc-rec-purple));
  border-radius: 50%;
}

.hdc-tx-pedia-flow__step-title {
  margin: 0 0 6px;
  font-family: var(--hdc-rec-font-rounded);
  font-size: 15px;
  font-weight: 700;
  color: var(--hdc-rec-text) !important;
}

.hdc-tx-pedia-flow__step-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--hdc-rec-text) !important;
}

/* ---------- FAQ（共通・治療ページ用） ---------- */
.hdc-tx-faq {
  padding: 46px 24px 50px;
  text-align: center;
  background: #fff;
}

.hdc-tx-faq__kicker {
  margin: 0;
  font-family: var(--hdc-font-trajan);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--hdc-color-accent) !important;
}

.hdc-tx-faq__title {
  margin: 6px 0 28px;
  font-family: var(--hdc-font-mincho);
  font-size: 24px;
  color: var(--hdc-color-content-text) !important;
}

.hdc-tx-faq__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.hdc-tx-faq__item {
  padding: 20px;
  background: var(--hdc-tx-beige);
  border-radius: 14px;
}

.hdc-tx-faq__q,
.hdc-tx-faq__a {
  display: flex;
  gap: 10px;
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--hdc-color-content-text) !important;
}

.hdc-tx-faq__q {
  margin-bottom: 10px;
  font-weight: 700;
}

.hdc-tx-faq__q span,
.hdc-tx-faq__a span {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-family: var(--hdc-font-trajan);
  font-size: 13px;
  font-weight: 700;
  border-radius: 50%;
  color: #fff !important;
}

.hdc-tx-faq__q span {
  background: var(--hdc-color-accent) !important;
}

.hdc-tx-faq__a span {
  background: var(--hdc-color-pink) !important;
}

/* ---------- FAQ（小児歯科・矯正ページ限定の見た目上書き） ---------- */
body.page-pediatric-dentistry .hdc-tx-faq {
  position: relative;
  margin-top: -28px;
  background: #fff;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -10px 24px rgba(74, 66, 56, 0.06);
}

body.page-pediatric-dentistry .hdc-tx-faq__kicker {
  display: block;
  margin: -46px -24px 26px;
  padding: 18px 24px;
  font-family: var(--hdc-font-sans);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--hdc-rec-text) !important;
  background: var(--hdc-rec-yellow-deep, var(--hdc-rec-yellow));
  border-radius: 28px 28px 0 0;
}

body.page-pediatric-dentistry .hdc-tx-faq__title {
  font-family: var(--hdc-rec-font-rounded);
  font-weight: 900;
  font-size: 26px;
  color: var(--hdc-rec-text) !important;
}

body.page-pediatric-dentistry .hdc-tx-faq__title .hdc-tx-pedia-mascot--inline {
  width: 48px;
  height: 48px;
  padding: 4px;
  margin-right: 6px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 3px 8px rgba(74, 66, 56, 0.15);
  transform: translateY(-4px) rotate(-6deg);
}

body.page-pediatric-dentistry .hdc-tx-faq__title .hdc-tx-pedia-mascot--inline svg {
  width: 100%;
  height: 100%;
}

body.page-pediatric-dentistry .hdc-tx-faq__item {
  background: var(--hdc-rec-cream);
}

body.page-pediatric-dentistry .hdc-tx-faq__q,
body.page-pediatric-dentistry .hdc-tx-faq__a {
  color: var(--hdc-rec-text) !important;
}

body.page-pediatric-dentistry .hdc-tx-faq__q span {
  background: var(--hdc-rec-gold) !important;
}

body.page-pediatric-dentistry .hdc-tx-faq__a span {
  background: var(--hdc-rec-pink-deep, var(--hdc-rec-pink)) !important;
}

/* ---------- 小児歯科・矯正ページ限定：共通コンポーネントの見た目上書き ---------- */

body.page-pediatric-dentistry .hdc-tx-hero__intro-title,
body.page-pediatric-dentistry .hdc-tx-greeting__sub {
  font-family: var(--hdc-rec-font-rounded);
}

body.page-pediatric-dentistry .hdc-tx-hero__intro-title strong {
  color: var(--hdc-rec-gold) !important;
}

body.page-pediatric-dentistry .hdc-tx-hero__scroll span {
  color: var(--hdc-rec-gold) !important;
}

body.page-pediatric-dentistry .hdc-tx-reasons {
  background: var(--hdc-rec-cream);
}

body.page-pediatric-dentistry .hdc-tx-reasons__heading {
  font-family: var(--hdc-rec-font-rounded);
}

body.page-pediatric-dentistry .hdc-tx-reasons__num {
  color: var(--hdc-rec-gold) !important;
}

body.page-pediatric-dentistry .hdc-tx-reasons__badge--blue  { background: var(--hdc-rec-blue-deep, var(--hdc-rec-blue)); }
body.page-pediatric-dentistry .hdc-tx-reasons__badge--gold  { background: var(--hdc-rec-gold); }
body.page-pediatric-dentistry .hdc-tx-reasons__badge--green { background: var(--hdc-rec-green-deep, var(--hdc-rec-green)); }

body.page-pediatric-dentistry .hdc-tx-greeting {
  position: relative;
  margin-top: -28px;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -10px 24px rgba(74, 66, 56, 0.06);
}

body.page-pediatric-dentistry .hdc-tx-greeting__portrait img {
  border-radius: 24px;
}

body.page-pediatric-dentistry .hdc-tx-greeting__badge {
  background: var(--hdc-rec-pink-deep, var(--hdc-rec-pink)) !important;
}

body.page-pediatric-dentistry .hdc-tx-menu {
  position: relative;
  margin-top: -28px;
  padding-top: 28px;
  background: #fff;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -10px 24px rgba(74, 66, 56, 0.06);
}

body.page-pediatric-dentistry .hdc-tx-menu__head--band {
  background: var(--hdc-rec-purple-deep, var(--hdc-rec-purple)) !important;
}

/* 顎顔面矯正メニュー：年齢ごとにバンド色と写真フレーム色を変えて見分けやすくする */
body.page-pediatric-dentistry .hdc-tx-menu > .hdc-tx-menu__head--band:nth-child(3) {
  background: var(--hdc-rec-blue-deep, var(--hdc-rec-blue)) !important;
}
body.page-pediatric-dentistry .hdc-tx-menu > .hdc-tx-menu__head--band:nth-child(5) {
  background: var(--hdc-rec-pink-deep, var(--hdc-rec-pink)) !important;
}
body.page-pediatric-dentistry .hdc-tx-menu > .hdc-tx-menu__item:nth-child(2) .hdc-tx-menu__photo img {
  box-sizing: border-box;
  border-radius: 20px;
  border: 5px solid var(--hdc-rec-purple-deep, var(--hdc-rec-purple));
}
body.page-pediatric-dentistry .hdc-tx-menu > .hdc-tx-menu__item:nth-child(4) .hdc-tx-menu__photo img {
  box-sizing: border-box;
  border-radius: 20px;
  border: 5px solid var(--hdc-rec-blue-deep, var(--hdc-rec-blue));
}
body.page-pediatric-dentistry .hdc-tx-menu > .hdc-tx-menu__item:nth-child(6) .hdc-tx-menu__photo img {
  box-sizing: border-box;
  border-radius: 20px;
  border: 5px solid var(--hdc-rec-pink-deep, var(--hdc-rec-pink));
}

body.page-pediatric-dentistry .hdc-tx-menu__title {
  font-family: var(--hdc-rec-font-rounded);
}

body.page-pediatric-dentistry .hdc-tx-menu__title-en {
  margin-top: 8px;
  padding: 3px 14px;
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--hdc-rec-text) !important;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
}

body.page-pediatric-dentistry .hdc-tx-menu__period {
  margin-bottom: 36px;
}

body.page-pediatric-dentistry .hdc-tx-payment-section {
  position: relative;
}

/* お支払いセクション：唐草の装飾を外し、丸みのあるパステルカードに */
body.page-pediatric-dentistry .hdc-tx-payment-section--ornate {
  padding-top: 0;
  padding-bottom: 40px;
}

body.page-pediatric-dentistry .hdc-tx-payment-section--ornate::before,
body.page-pediatric-dentistry .hdc-tx-payment-section--ornate::after,
body.page-pediatric-dentistry .hdc-tx-payment-section--ornate .hdc-tx-payment::before,
body.page-pediatric-dentistry .hdc-tx-payment-section--ornate .hdc-tx-payment::after {
  display: none;
}

body.page-pediatric-dentistry .hdc-tx-payment__heading {
  font-family: var(--hdc-rec-font-rounded);
  color: var(--hdc-color-content-text) !important;
  border-radius: 999px;
  box-shadow: none;
}

body.page-pediatric-dentistry .hdc-tx-payment__heading::before,
body.page-pediatric-dentistry .hdc-tx-payment__heading::after {
  display: none;
}

body.page-pediatric-dentistry .hdc-tx-payment__block:nth-child(1) .hdc-tx-payment__heading {
  background: var(--hdc-rec-blue) !important;
}
body.page-pediatric-dentistry .hdc-tx-payment__block:nth-child(2) .hdc-tx-payment__heading {
  background: var(--hdc-rec-green) !important;
}
body.page-pediatric-dentistry .hdc-tx-payment__block:nth-child(3) .hdc-tx-payment__heading {
  background: var(--hdc-rec-yellow) !important;
}

body.page-pediatric-dentistry .hdc-tx-cta-banner__title {
  font-family: var(--hdc-rec-font-rounded);
}

body.page-pediatric-dentistry .hdc-tx-cta-banner__ribbon {
  background: var(--hdc-rec-purple-deep, var(--hdc-rec-purple)) !important;
}

body.page-pediatric-dentistry .hdc-tx-cta-banner__check {
  background: var(--hdc-rec-gold) !important;
}

/* ---------- 見出しの虹色グラデーション（参考サイトの1文字ずつカラフルな見出しを再現） ---------- */
.hdc-tx-pedia-rainbow {
  color: var(--hdc-rec-text);
  font-family: var(--hdc-rec-font-hand) !important;
  font-weight: 900;
  letter-spacing: 0.03em;
  background: linear-gradient(90deg,
    #D6467E 0%,
    #C9A227 25%,
    #5FA23A 50%,
    #2E86C4 75%,
    #7A6FC4 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 1px 1px rgba(74, 66, 56, 0.12);
}

/* ---------- 小児歯科マスコット（歯のキャラクター） ---------- */
.hdc-tx-pedia-mascot svg {
  display: block;
  width: 100%;
  height: 100%;
}

.hdc-tx-pedia-mascot--hero {
  position: absolute;
  right: 16px;
  top: 460px;
  width: 92px;
  height: 108px;
  z-index: 5;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.22));
}

.hdc-tx-pedia-mascot--inline {
  display: inline-block;
  width: 34px;
  height: 40px;
  vertical-align: middle;
  margin-right: 4px;
  transform: translateY(-2px);
}

/* ---------- 各セクション見出し：マスコットをスタンプ風バッジに（セクションの区切りを強調） ---------- */
.hdc-tx-pedia-prevention__title .hdc-tx-pedia-mascot--inline,
.hdc-tx-pedia-babyclub__title .hdc-tx-pedia-mascot--inline,
.hdc-tx-pedia-causes__title .hdc-tx-pedia-mascot--inline,
.hdc-tx-pedia-ortho-intro__title .hdc-tx-pedia-mascot--inline,
.hdc-tx-pedia-flow__title .hdc-tx-pedia-mascot--inline {
  width: 48px;
  height: 48px;
  padding: 4px;
  margin-right: 6px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 3px 8px rgba(74, 66, 56, 0.15);
  transform: translateY(-4px) rotate(-6deg);
}

.hdc-tx-pedia-prevention__title .hdc-tx-pedia-mascot--inline svg,
.hdc-tx-pedia-babyclub__title .hdc-tx-pedia-mascot--inline svg,
.hdc-tx-pedia-causes__title .hdc-tx-pedia-mascot--inline svg,
.hdc-tx-pedia-ortho-intro__title .hdc-tx-pedia-mascot--inline svg,
.hdc-tx-pedia-flow__title .hdc-tx-pedia-mascot--inline svg {
  width: 100%;
  height: 100%;
}

/* ---------- 下部固定ボタンはこのページでは非表示 ---------- */
body.page-pediatric-dentistry .hdc-mobile-bar {
  display: none !important;
}

body.page-pediatric-dentistry {
  padding-bottom: 0 !important;
}

/* ---------- 年齢別プログラムの円形リングアイコン ---------- */
.hdc-tx-pedia-prevention__age-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  margin: 0 auto 14px;
  padding: 6px;
  border-radius: 50%;
}

.hdc-tx-pedia-prevention__age:nth-child(3n+1) .hdc-tx-pedia-prevention__age-badge {
  background: conic-gradient(from 180deg, var(--hdc-rec-blue), var(--hdc-rec-green), var(--hdc-rec-blue));
}

.hdc-tx-pedia-prevention__age:nth-child(3n+2) .hdc-tx-pedia-prevention__age-badge {
  background: conic-gradient(from 180deg, var(--hdc-rec-pink), var(--hdc-rec-yellow), var(--hdc-rec-pink));
}

.hdc-tx-pedia-prevention__age:nth-child(3n+3) .hdc-tx-pedia-prevention__age-badge {
  background: conic-gradient(from 180deg, var(--hdc-rec-purple), var(--hdc-rec-orange), var(--hdc-rec-purple));
}

.hdc-tx-pedia-prevention__age-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 34px;
  background: #fff;
  border-radius: 50%;
}

/* ---------- ヒーローバッジ：マスキングテープ風 ---------- */
body.page-pediatric-dentistry .hdc-tx-hero__badge {
  font-family: var(--hdc-rec-font-rounded);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}


html {
  scroll-behavior: smooth;
}

/* ── 制作中ページ（入れ歯・MI治療） ── */
.hdc-wip {
  margin: 40px 16px;
  padding: 48px 24px 40px;
  border-radius: 12px;
  background: var(--hdc-tx-beige);
  border: 1px solid var(--hdc-tx-beige-deep);
  text-align: center;
  color: var(--hdc-color-content-text);
}

.hdc-wip__icon {
  display: block;
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  padding: 16px;
  box-sizing: border-box;
  border-radius: 50%;
  background: #fff;
}

.hdc-wip__en {
  margin: 0 0 8px;
  font-family: var(--hdc-font-sans);
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--hdc-color-accent-hover);
}

.hdc-col-center .page-content-wrap .hdc-wip .hdc-wip__title {
  margin: 0 0 20px;
  padding: 0;
  border: 0;
  background: none;
  text-align: center;
  letter-spacing: 0.04em;
  font-family: var(--hdc-font-mincho);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--hdc-tx-navy);
}

.hdc-wip__title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  margin: 16px auto 0;
  background: var(--hdc-color-accent);
}

.hdc-wip__text {
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 2;
}

.hdc-wip__tel {
  margin: 0 0 28px;
  padding: 16px;
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  line-height: 1.8;
}

.hdc-wip__tel a {
  display: block;
  font-family: var(--hdc-font-sans);
  font-size: 24px;
  font-weight: 700;
  color: var(--hdc-tx-navy);
  text-decoration: none;
}

.hdc-wip__btn {
  display: inline-block;
  min-width: 220px;
  padding: 14px 32px;
  border-radius: 999px;
  background: var(--hdc-tx-navy);
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

/* 5つのポイント画像 */
.hdc-features__points {
  padding-top: 3rem;
  line-height: 0;
}

.hdc-features__points img {
  display: block;
  width: 100%;
  height: auto;
}

/* ============================================================
   フォント統一（先方指示）: タイトル・見出しは游明朝、本文は従来のゴシックのまま
============================================================ */
.hdc-col-center h1,
.hdc-col-center h2,
.hdc-col-center h3,
.hdc-col-center h4,
.hdc-col-center h5,
.hdc-col-center h6,
.hdc-col-center [class*="__title"]:not([class*="news"]):not([class*="blog"]):not([class*="post"]),
.hdc-col-center [class*="__heading"],
.hdc-col-center [class*="__head-title"],
.hdc-col-center [class*="__subtitle"],
.hdc-col-center [class*="__lead"],
.hdc-col-center .hdc-tx-menu__label,
.hdc-col-center .hdc-tx-reasons__badge,
.hdc-col-center .hdc-tx-hero__badge,
.hdc-col-center .hdc-tx-flow__step-label,
.hdc-col-center .hdc-tx-greeting__badge {
  font-family: 'Yu Mincho', '游明朝', 'YuMincho', 'Hiragino Mincho ProN', 'Noto Serif JP', serif;
}

/* 「3つの理由」バッジ: 背景を透明グラデーションにして写真が透けるように */
.hdc-tx-reasons--gold .hdc-tx-reasons__badge--blue  { background: linear-gradient(180deg, rgba(125, 155, 205, 0.6) 0%, rgba(58, 85, 128, 0.9) 100%); }
.hdc-tx-reasons--gold .hdc-tx-reasons__badge--gold  { background: linear-gradient(180deg, rgba(196, 164, 88, 0.6) 0%, rgba(102, 80, 10, 0.9) 100%); }
.hdc-tx-reasons--gold .hdc-tx-reasons__badge--green { background: linear-gradient(180deg, rgba(122, 170, 136, 0.6) 0%, rgba(55, 90, 66, 0.9) 100%); }

/* 審美治療「セラミック治療」などの帯見出し: 装飾アイコンを左に固定し、タイトルを中央に */
.hdc-tx-menu__head,
.hdc-tx-whitening__head {
  padding-left: 0;
  padding-right: 0;
}

.hdc-tx-menu__head .hdc-tx-menu__deco,
.hdc-tx-whitening__head .hdc-tx-whitening__deco {
  position: absolute;
  left: 8px;
  top: 50%;
  margin: 0;
  transform: translateY(-50%);
}

.hdc-tx-menu__head .hdc-tx-menu__deco + .hdc-tx-menu__title,
.hdc-tx-whitening__head .hdc-tx-whitening__deco + .hdc-tx-whitening__title {
  display: block;
}

/* 小児ヒーロー: 明るい印象にするため、下部は白系グラデ＋濃色テキストにする */
.hdc-tx-hero--pedia .hdc-tx-hero__title {
  color: #4a4238 !important;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* 小児ページ: 写真ストリップ（2枚横並び） */
.hdc-tx-pedia-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 20px 0;
}

.hdc-tx-pedia-photos img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
}

/* 求人ヒーロー: 白いキラキラを控えめに散らす（装飾のみ・クリック不可） */
.hdc-rec-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0l2.6 9.4L24 12l-9.4 2.6L12 24l-2.6-9.4L0 12l9.4-2.6z' fill='%23fff'/%3E%3C/svg%3E") 12% 20% / 14px 14px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0l2.6 9.4L24 12l-9.4 2.6L12 24l-2.6-9.4L0 12l9.4-2.6z' fill='%23fff'/%3E%3C/svg%3E") 88% 10% / 18px 18px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0l2.6 9.4L24 12l-9.4 2.6L12 24l-2.6-9.4L0 12l9.4-2.6z' fill='%23fff'/%3E%3C/svg%3E") 5% 45% / 10px 10px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0l2.6 9.4L24 12l-9.4 2.6L12 24l-2.6-9.4L0 12l9.4-2.6z' fill='%23fff'/%3E%3C/svg%3E") 93% 38% / 12px 12px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0l2.6 9.4L24 12l-9.4 2.6L12 24l-2.6-9.4L0 12l9.4-2.6z' fill='%23fff'/%3E%3C/svg%3E") 22% 64% / 16px 16px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0l2.6 9.4L24 12l-9.4 2.6L12 24l-2.6-9.4L0 12l9.4-2.6z' fill='%23fff'/%3E%3C/svg%3E") 84% 80% / 14px 14px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0l2.6 9.4L24 12l-9.4 2.6L12 24l-2.6-9.4L0 12l9.4-2.6z' fill='%23fff'/%3E%3C/svg%3E") 9% 90% / 12px 12px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0l2.6 9.4L24 12l-9.4 2.6L12 24l-2.6-9.4L0 12l9.4-2.6z' fill='%23fff'/%3E%3C/svg%3E") 52% 5% / 10px 10px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0l2.6 9.4L24 12l-9.4 2.6L12 24l-2.6-9.4L0 12l9.4-2.6z' fill='%23fff'/%3E%3C/svg%3E") 95% 63% / 10px 10px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0l2.6 9.4L24 12l-9.4 2.6L12 24l-2.6-9.4L0 12l9.4-2.6z' fill='%23fff'/%3E%3C/svg%3E") 68% 93% / 16px 16px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0l2.6 9.4L24 12l-9.4 2.6L12 24l-2.6-9.4L0 12l9.4-2.6z' fill='%23fff'/%3E%3C/svg%3E") 40% 47% / 9px 9px no-repeat;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.9));
  animation: hdc-rec-twinkle 4s ease-in-out infinite;
}

@keyframes hdc-rec-twinkle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

@media (prefers-reduced-motion: reduce) {
  .hdc-rec-hero::after {
    animation: none;
  }
}

/* ── 求人ページ調整（魅力カード写真・MTM余白・写真比率） ── */
/* 6つの魅力: カード写真を小さく（横長3:2） */
.hdc-rec-charms__card-photo {
  margin: 0 -20px;
}

.hdc-rec-charms__card-photo img {
  aspect-ratio: 3 / 2;
  object-position: center 35%;
}

/* MTMとは…: 文章ブロックの余白を確保 */
.hdc-rec-mtm .hdc-rec-mtm__whatis-eyebrow {
  margin-bottom: 6px;
}

.hdc-rec-mtm .hdc-rec-mtm__whatis-title {
  margin-bottom: 24px;
}

.hdc-rec-mtm .hdc-rec-mtm__whatis-copy {
  margin-bottom: 26px;
  line-height: 1.9;
}

.hdc-rec-mtm .hdc-rec-mtm__whatis-badge {
  margin-bottom: 32px;
  padding: 10px 20px;
  line-height: 1.6;
}

.hdc-rec-mtm .hdc-rec-mtm__whatis-text {
  margin-bottom: 44px;
  line-height: 2;
}

.hdc-rec-mtm .hdc-rec-mtm__steps {
  gap: 32px;
  margin-bottom: 44px;
}

.hdc-rec-mtm .hdc-rec-mtm__step-text {
  margin-top: 14px;
  line-height: 1.85;
}

.hdc-rec-mtm .hdc-rec-mtm__samples {
  gap: 40px;
}

.hdc-rec-mtm .hdc-rec-mtm__sample-title {
  margin-bottom: 14px;
  line-height: 1.6;
}

.hdc-rec-mtm .hdc-rec-mtm__sample img {
  margin-bottom: 14px;
}

.hdc-rec-mtm .hdc-rec-mtm__sample-text {
  line-height: 1.9;
}

/* 01〜03の写真: 元画像は横長の2枚組なので、拡大・トリミングせず全体を表示 */
.hdc-rec-mtm .hdc-rec-mtm__step-photo img {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
}

/* 「当院では、まず〜」の写真: 縦長→横長にして高さを抑える */
.hdc-rec-mtm .hdc-rec-mtm__quote-photo img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 12%;
}

.hdc-rec-mtm .hdc-rec-mtm__quote-title {
  margin-bottom: 18px;
  line-height: 1.8;
}

.hdc-rec-mtm .hdc-rec-mtm__quote-text {
  line-height: 2;
}

/* 小児ページのキャッチコピーは、ページ共通の丸ゴシックに戻す（見出し明朝統一ルールより優先） */
body.page-pediatric-dentistry .hdc-col-center .hdc-tx-hero--pedia .hdc-tx-hero__title {
  font-family: var(--hdc-rec-font-rounded) !important;
}

/* 小児: 見出しの1文字だけの改行を防ぐ */
body.page-pediatric-dentistry .hdc-tx-reasons__heading {
  text-wrap: balance;
}
