/*==================================================================================================================================

  *パンくず

==================================================================================================================================*/
.breadcrumb {
  background-color: #f9f9f9; /* 背景色 */
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 14px;
}

/* リストの項目 */
.breadcrumb ol {
  list-style: none; /* デフォルトのリストスタイルを削除 */
  padding-left: 0;
  margin: 0;
}

/* 各リスト項目 */
.breadcrumb li {
  display: inline-block;
  margin-right: 10px;
}

/* リスト項目間の区切り */
.breadcrumb li + li:before {
  content: "›";
  margin-left: 10px;
  color: #888; /* 区切り線色 */
}

/* リンク */
.breadcrumb a {
  text-decoration: none;
  color: #0073e6; /* リンク色 */
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: #005bb5; /* リンクのホバー時 */
}

/* 現在のページ（リンクがない） */
.breadcrumb li span {
  color: #666; /* 現在のページの色 */
}

/* スマホでの調整 */
@media (max-width: 768px) {
  .breadcrumb {
    padding: 10px 15px;
  }

  .breadcrumb li {
    display: block;
    margin-bottom: 5px;
  }

  .breadcrumb li + li:before {
    content: none; /* スマホでは区切りを消す */
  }
}

/*==================================================================================================================================

  *下層メイン部分

==================================================================================================================================*/
.under_main {
  background-image: url('../images/under/under-main.png');
  background-size: cover;
  /* 画像を要素全体にフィットさせる */
  background-position: center center;
  /* 画像の位置を中央に */
  background-repeat: no-repeat;
  /* 画像の繰り返しを防ぐ */
  padding: 100px 0;
  /* 上下の余白（必要に応じて調整） */
  position: relative;
  /* 必要に応じて背景画像に重ねるコンテンツの位置調整 */
}

.ttl.w1200 {
  max-width: 1200px;
  margin: 0 auto;
  /* 中央寄せ */
  padding: 20px;
  /* 内部余白 */
  text-align: center;
}

.under_h1 {
  font-family: 'Noto Serif', serif;
  font-size: 250%;
  font-weight: 400;
  color: #496077;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
  margin: 0;
  padding: 20px;
  text-transform: uppercase;
}

/* =========================
   モバイル ～768px
   ========================= */
@media (max-width: 768px) {
  .under_h1 {
    font-size: 180%;
  }

  .under_main {
    padding: 50px 0;
  }
}

/*==================================================================================================================================

  *下層両サイド開け

==================================================================================================================================*/
.page-box {
  width: 100%;
  background-color: #DEEBF7;
}

.page-in {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px;
  color: #1A3651;
  background-color: #fff;
}

/* =========================
   モバイル ～768px
   ========================= */
@media (max-width: 768px) {
  .page-in {
    padding: 20px;
  }
}

/*==================================================================================================================================

  *マーカー

==================================================================================================================================*/
.under_line {
  background: linear-gradient(transparent 34%, rgba(0, 123, 199, 0.18) 80%);
}

/*==================================================================================================================================

  *見出しデザイン

==================================================================================================================================*/
.under_h2 {
  background: linear-gradient(45deg, #133f72 0%, #ffffff 100%);
  color: #fff;
  padding: 10px 20px;
  font-size: 190%;
  font-weight: 400;
  margin: 70px 0 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4), 0 0 25px rgba(255, 255, 255, 0.6);
　font-family: 'Noto Serif', serif;
}

.under_h3 {
  font-family: 'Noto Serif', serif;
  font-size: 150%;
  font-weight: 400;
  margin: 20px 10px;
  color: #1b559a;
  text-align: left;
  line-height: 1.5;
  text-shadow: 1px 1px 5px rgba(200, 168, 139, 0.4);
  display: block;
  padding-bottom: 6px;       /* 線との距離 */
  border-bottom: 1px solid #1b559a; /* アンダーライン */
}

@media (max-width: 768px) {
  .under_h2 {
  font-size: 150%;
}	
	
  .under_h3 {
    font-size: 120%;
  }
}

/*==================================================================================================================================

  *呼びかけブロック

==================================================================================================================================*/
.underlook {
  display:block;
}

.underlook_h2 {
  font-size: 200%;
  color: #629bdd;
  text-align: center;
  margin-bottom: 30px;
}

.look_p {
  text-align: center;
}

@media (max-width: 768px) {
  .underlook_h2 {
  font-size: 150%;
}
}
/*==================================================================================================================================

  *横並びのリスト

==================================================================================================================================*/
.under-listsection {
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px solid #1b559a;
  border-radius: 10px;
}

.under-list {
  display: flex;          /* 横並びにする */
  flex-wrap: wrap;         /* 画面が狭くなった場合、折り返しを許可 */
  gap: 30px;              /* アイテム間のスペース */
  margin-top: 20px;
  padding: 0;
  list-style: none;       /* デフォルトのリストマーカーを無効に */
}

/* リストアイテムのスタイル */
.under-list li {
  font-size: 16px;
  padding-left: 20px;
  position: relative;
  font-weight: 500;
}

.under-list li::before{
  content: "○";
  color: #1b559a; /* #133f72より少し明るい青 */
  font-size: 16px;
  top: 0;
}

/* モバイル対応（画面幅768px以下でリストアイテムを縦並びに） */
@media (max-width: 768px) {
  .under-list {
    flex-direction: column;  /* 縦並びに変更 */
    align-items: flex-start; /* 左揃え */
  }
.under-listsection {
    padding: 5px 10px;
}
}

/*==================================================================================================================================

  *縦並びのリスト

==================================================================================================================================*/
.under_list2 {
  list-style: none;      /* 元の・を消す */
  padding-left: 0;
  margin: 12px 0 0;
}

.under_list2 li {
  position: relative;
  padding-left: 1.6em;   /* 〇の分だけ左に余白 */
  margin: 10px 0;
  line-height: 1.7;
}

.under_list2 li::before {
  content: "〇";
  position: absolute;
  left: 0;
  top: 0.05em;
  color: #1b559a;        /* under_h3 と合わせるならこの色 */
  font-weight: 400;
}

/*==================================================================================================================================

  *2カラムデザイン

==================================================================================================================================*/
.under_columnbox {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 20px;
  align-items: center;
}

/* 左カラム（テキスト部分） */
.under_text_column {
  flex: 1;
  line-height: 1.8;
  color: #333;
  font-size: 16px;
  padding-right: 20px;
  text-align: justify;
}

/* 右カラム（画像部分） */
.under_image_column img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 300px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .under_columnbox {
    display: contents;
  }

  .under_text_column {
    padding-right: 0px;
    text-align: left;
  }

  .under_image_column img {
    max-width: 100%;
  }
}

/*==================================================================================================================================

  *治療の流れ

==================================================================================================================================*/
.under_flow {
  margin: 30px auto 10px;
}

/* 各ステップの枠 */
.under_flow .underflow_step {
  display: flex;
  gap: 16px;
  padding: 16px 18px;
  margin-bottom: 14px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(44, 111, 178, 0.20); /* #2c6fb2薄め */
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
  position: relative;
}

/* ステップ間の縦ライン（番号の左側にうっすら） */
.under_flow .underflow_step::before {
  content: "";
  position: absolute;
  left: 27px;
  top: -14px;
  bottom: -14px;
  border-left: 2px dashed rgba(44, 111, 178, 0.25); /* 青の点線 */
  z-index: -1;
}

/* 一番上はラインを消す */
.under_flow .underflow_step:first-child::before {
  display: none;
}

/* 番号のデザイン */
.under_flow .underflow_number {
  flex: 0 0 54px;
  height: 54px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffffff, #E9F3FF); /* 薄水色 */
  border: 1px solid rgba(44, 111, 178, 0.35); /* 青枠 */
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Serif', serif;
  font-size: 18px;
  font-weight: 600;
  color: #2c6fb2; /* メイン青 */
}

/* 右側テキスト部分 */
.under_flow .underflow_body {
  flex: 1;
}

/* タイトル（h3） */
.under_flow .underflow_title {
  font-size: 18px;
  font-weight: 600;
  margin: 4px 0 6px;
  color: #2c6fb2; /* メイン青 */
}

/* 説明文 */
.under_flow .underflow_text {
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
  color: #444;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .under_flow .underflow_step {
    flex-direction: row;
    align-items: flex-start;
    padding: 14px 14px;
  }

  .under_flow .underflow_number {
    flex: 0 0 46px;
    height: 46px;
    font-size: 16px;
  }

  .under_flow .underflow_title {
    font-size: 16px;
  }

  .under_flow .underflow_text {
    font-size: 13px;
  }
}

/*==================================================================================================================================

  *よくある質問

==================================================================================================================================*/
.qa_block {
  margin: 18px 0;
  display: grid;
  gap: 12px;
}

.qa_item {
  background: #fff;
  border: 1px solid rgba(44, 111, 178, 0.18); /* #2c6fb2薄め */
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}

.qa_q {
  margin: 0 0 8px;
  padding-left: 1.6em;
  position: relative;
  font-weight: 700;
  color: #2c6fb2;
  line-height: 1.6;
}

.qa_q::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: 0.05em;
  color: #007BC7; /* サブカラー */
  font-weight: 700;
}

.qa_a {
  margin: 0;
  background: #E9F3FF; /* 薄水色 */
  border-radius: 10px;
  padding: 10px 12px;
  color: #333;
  line-height: 1.8;
}

/* スマホ */
@media (max-width: 768px) {
  .qa_item {
    padding: 12px 14px;
  }
  .qa_q {
    font-size: 15px;
  }
  .qa_a {
    font-size: 14px;
  }
}

/* =============== ▼　ここから小児矯正ページCSS =============== */
/* =========================
   豊平区で小児矯正～ブロック
   ========================= */
.hdc-triBlock{
  --hdc-primary: var(--theme-primary, #1f4f7a); /* ネイビー系 */
  --hdc-text:    var(--theme-text, #2b2b2b);
  --hdc-muted:   var(--theme-muted, #666a70);
  --hdc-bg:      var(--theme-bg, #f3f5f7);     /* 薄いグレー */
  --hdc-tri:     clamp(70px, 8vw, 130px);      /* 三角の高さ */

  background: var(--hdc-bg);
  padding-bottom: var(--hdc-tri); /* 三角がはみ出す分の余白 */
  overflow: hidden;
}

.hdc-triBlock__surface{
  position: relative;
  background: #fff;
  padding: clamp(42px, 6vw, 84px) 0 clamp(52px, 6vw, 92px);
  /* ほんの少しだけ“凝った”質感 */
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.hdc-triBlock__surface::after{
  content:"";
  position:absolute;
  left: 0;
  right: 0;
  bottom: calc(var(--hdc-tri) * -1);
  height: var(--hdc-tri);
  background: #fff;
  /* 下向き三角（V字の底） */
  clip-path: polygon(0 0, 50% 100%, 100% 0);
}

/* 中身 */
.hdc-triBlock__inner{
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.hdc-triBlock__logo{
  display: inline-block;
  height: auto;
  margin: 0 auto 18px;
}

.hdc-triBlock__title{
  margin: 0;
  color: var(--hdc-primary);
  font-weight: 400;
  line-height: 1;
  font-size: 200%;
}

.hdc-triBlock__text{
  margin: 18px auto 0;
  max-width: 880px;
  color: var(--hdc-muted);
  font-size: 100%;
  line-height: 2;
}

/* スマホで三角が大きすぎる時の保険 */
@media (max-width: 480px){
  .hdc-triBlock{ --hdc-tri: 72px; }
	
 .hdc-triBlock__title {
    line-height: 1.5;
    font-size: 140%;
}
	
 .hdc-triBlock__text {
    font-size: 100%;
    text-align: left;
}
}

/* =========================
   予約時間通りの診療でお待たせしません~
   ========================= */
/* ===== HDC palette (現行の雰囲気：ネイビー×イエロー×薄い水色) ===== */
:root{
  --hdc-navy: linear-gradient(to bottom, #5a76aa 0%, #6383b7 45%, #618ab7 100%);
  --hdc-yellow: #f5f5af;
  --hdc-sky: #DEE8F1;
  --hdc-white: #FFFFFF;
  --hdc-line: rgba(34,60,100,.18);
  --hdc-text: #2b2b2b;
  --hdc-muted: #69757A;
  --hdc-shadow: 0 14px 30px rgba(0,0,0,.08);
  --hdc-radius: 5px;
  --hdc-wrap: 90%;
}

.hdc-wrap{max-width:var(--hdc-wrap); margin:0 auto; padding:0 20px;}
.hdc-slab{background: #F3F5F7; padding: clamp(26px, 4vw, 48px) 0;}
.hdc-slab__title{
  margin:0 auto 18px;
  background: var(--hdc-navy);
  color:#fff;
  text-align:center;
  font-weight:400;
  letter-spacing:.04em;
  line-height:1.25;
  padding: 14px 18px;
  border-radius: var(--hdc-radius);
  font-size: clamp(20px, 2.4vw, 34px);
  box-shadow: var(--hdc-shadow);
}

/* ===== Card ===== */
.hdc-card{
  background: var(--hdc-white);
  border-radius: var(--hdc-radius);
  box-shadow: var(--hdc-shadow);
  border: 1px solid var(--hdc-line);
  padding: clamp(14px, 2vw, 22px);
}

/* ===== Hours table ===== */
.hdc-tableScroll{overflow:auto; -webkit-overflow-scrolling:touch;}
.hdc-hoursTable{
  width: 100%;
  min-width: 760px; /* スマホは横スクロール */
  border-collapse: collapse;
  background:#fff;
}
.hdc-hoursTable th,
.hdc-hoursTable td{
  border: 2px solid rgba(34,60,100,.35);
  text-align:center;
  padding: 12px 10px;
  font-weight: 700;
  color: var(--hdc-text);
}
.hdc-hoursTable thead th{
  background: var(--hdc-yellow);
  color: var(--hdc-navy);
}
.hdc-hoursTable tbody th{
  text-align:left;
  background: rgba(222,232,241,.55);
  color: var(--hdc-navy);
  white-space: nowrap;
}
.hdc-mark{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  font-size: 22px;
  line-height: 1;
  background: #fff;
}
.hdc-mark--ok{color: var(--hdc-navy);}
.hdc-mark--ng{color: #111;}
.hdc-mark--star{color: var(--hdc-navy); background: rgba(250,249,86,.35);}

.hdc-notes{
  list-style:none;
  padding: 12px 0 0;
  margin: 12px 0 0;
  display:flex;
  flex-wrap:wrap;
  gap: 8px 18px;
  color: var(--hdc-muted);
  font-weight: 700;
}
.hdc-noteAccent{color: var(--hdc-navy); background: rgba(250,249,86,.45); padding: 2px 8px; border-radius: 999px;}

/* =========================
   診療時間表：モバイルは横スクロール無しで収める
   ========================= */
@media (max-width: 640px){
  /* スクロールコンテナを無効化（横スクロールさせない） */
  .hdc-tableScroll{
    overflow: visible;
  }

  /* min-widthを解除して、画面幅にフィットさせる */
  .hdc-hoursTable{
    min-width: 0;              /* ←これが重要 */
    width: 100%;
    table-layout: fixed;       /* 列幅を固定して詰める */
  }

  /* 1列目（診療時間）を少し広め、他は均等に */
  .hdc-hoursTable thead th:first-child,
  .hdc-hoursTable tbody th{
    width: 34%;
    text-align: center;
  }
  .hdc-hoursTable thead th:not(:first-child),
  .hdc-hoursTable tbody td{
    width: calc(90% / 4.5);
  }

  /* 文字と余白を詰める（横幅確保） */
  .hdc-hoursTable th,
  .hdc-hoursTable td{
    padding: 8px 4px;
    font-size: 12px;
    border-width: 1px;         /* 太枠だと詰まりやすいので細く */
  }

  /* 1列目の時間は折り返しOKにしてはみ出し防止 */
  .hdc-hoursTable tbody th{
    white-space: normal;       /* ←現状 nowrap を解除 */
    line-height: 1.35;
  }

  /* ○×☆を小さく */
  .hdc-mark{
    width: 28px;
    height: 28px;
    font-size: 16px;
  }
}

/* ===== Contact ===== */
.hdc-contactGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.hdc-contactActions{display:grid; gap: 14px;}
.hdc-cta{
  display:grid;
  grid-template-columns: 46px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 2px;
  align-items:center;
  padding: 16px 16px;
  border-radius: var(--hdc-radius);
  text-decoration:none;
  border: 1px solid var(--hdc-line);
  box-shadow: var(--hdc-shadow);
  transition: transform .15s ease, filter .15s ease;
}
.hdc-cta:hover{transform: translateY(-2px); filter: brightness(1.02);}
.hdc-cta__icon{
  grid-row: 1 / span 2;
  width:46px; height:46px;
  border-radius: 12px;
  display:flex; align-items:center; justify-content:center;
  font-size: 22px;
  background: rgba(255,255,255,.35);
}
.hdc-cta__label{font-weight:900; letter-spacing:.04em; font-size: 150%;}
.hdc-cta__value{font-weight:800; opacity:.95;}

.hdc-cta--tel{
  background: var(--hdc-yellow);
  color: #111;
}
.hdc-cta--tel .hdc-cta__label{color: var(--hdc-navy);}
.hdc-cta--tel .hdc-cta__icon{background: rgba(34,60,100,.10);}

.hdc-cta--mail{
  background: var(--hdc-navy);
  color: #fff;
}
.hdc-cta--mail .hdc-cta__icon{background: rgba(255,255,255,.16);}

.hdc-infoCard{
  background:#fff;
  border: 1px solid var(--hdc-line);
  border-radius: var(--hdc-radius);
  box-shadow: var(--hdc-shadow);
  padding: 14px 16px;
}
.hdc-infoCard__title{font-weight:900; color: var(--hdc-navy); margin-bottom:6px;}
.hdc-infoCard__text{color: var(--hdc-muted); font-weight:700; line-height:1.7;}
.hdc-miniLink{
  display:inline-block;
  margin-top: 8px;
  color: var(--hdc-navy);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hdc-mapCard{
  background:#fff;
  border: 1px solid var(--hdc-line);
  border-radius: var(--hdc-radius);
  box-shadow: var(--hdc-shadow);
  overflow:hidden;
}
.hdc-map{aspect-ratio: 4/3; width:100%;}
.hdc-map iframe{width:100%; height:100%; border:0; display:block;}

@media (max-width: 860px){
  .hdc-contactGrid{grid-template-columns: 1fr;}
  .hdc-map{aspect-ratio: 16/10;}
}

/* =========================
   長谷川デンタルクリニックが選ばれる理由
   ========================= */
/* ===== Reasons (縦並び) ===== */
.hdc-reasons{ background: var(--hdc-sky); }

.hdc-reasonsList{
  display: grid;
  gap: 16px;
}

/* 1項目＝カード（中身は左右2カラム） */
.hdc-reasonRow{
  background: var(--hdc-white);
  border: 1px solid var(--hdc-line);
  border-radius: var(--hdc-radius);
  box-shadow: var(--hdc-shadow);
  overflow: hidden;

  display: grid;
  grid-template-columns: 320px 1fr;
  align-items: stretch;
}

/* 画像 */
.hdc-reasonRow__media{
  margin: 0;
  background: linear-gradient(135deg, rgba(34,60,100,.08), rgba(250,249,86,.18));
  position: relative;
}
.hdc-reasonRow__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hdc-reasonRow__media::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to top, rgba(34,60,100,.22), rgba(34,60,100,0));
  pointer-events:none;
}

/* 本文 */
.hdc-reasonRow__body{
  padding: 18px 18px 18px 18px;
  position: relative;
}

/* 上部アクセント（ネイビー帯＋イエローライン） */
.hdc-reasonRow__body::before{
  content:"";
  position:absolute;
  top:0; left:0; right:0;
  height: 6px;
  background: var(--hdc-navy);
}
.hdc-reasonRow__body::after{
  content:"";
  position:absolute;
  top:6px; left:0;
  width: 72px;
  height: 4px;
  background: var(--hdc-yellow);
}

.hdc-reasonRow__title{
  margin: 10px 0 10px;
  color: var(--hdc-navy);
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1.25;
  font-size: 150%;
  position: relative;
  padding-bottom: 8px; /* 線との間隔 */
}

.hdc-reasonRow__title::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;            /* 線の長さ（お好みで） */
  height: 2px;            /* 線の太さ */
  background: var(--hdc-yellow); /* 例：黄色 */
  border-radius: 999px;   /* 角丸 */
  top: 40px;
}

.hdc-reasonRow__text{
  margin-top: 20px;
  line-height: 1.95;
}

/* 余白・視認性（長文対策） */
.hdc-reasonRow__text{
  text-wrap: pretty;
}

/* レスポンシブ */
@media (max-width: 860px){
  .hdc-reasonRow{
    grid-template-columns: 240px 1fr;
  }
}
@media (max-width: 640px){
  .hdc-reasonRow{
    grid-template-columns: 1fr;
  }
  .hdc-reasonRow__media{
    aspect-ratio: 16/10;
  }
}

/* =========================
   院長挨拶
   ========================= */
.hdc-director{
  /* 既存の変数がある前提：無ければこの値が使われます */
  --navy: var(--hdc-navy, #223C64);
  --yellow: var(--hdc-yellow, #f5f5af);
  --sky: var(--hdc-sky, #DEE8F1);
  --white: var(--hdc-white, #fff);
  --line: var(--hdc-line, rgba(34,60,100,.18));
  --muted: var(--hdc-muted, #69757A);
  --shadow: var(--hdc-shadow, 0 14px 30px rgba(0,0,0,.08));
  --radius: var(--hdc-radius, 14px);

  padding: clamp(34px, 4.5vw, 64px) 0;
  background:
    radial-gradient(900px 420px at 10% 10%, rgba(34,60,100,.10), transparent 55%),
    radial-gradient(900px 420px at 90% 30%, rgba(245,245,175,.20), transparent 55%),
    var(--sky);
}

.hdc-director__head{
  text-align:center;
  margin-bottom: 18px;
}

.hdc-director__badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.55);
  color: var(--navy);
  font-weight: 400;
  letter-spacing:.12em;
  font-size: 12px;
  margin-bottom: 10px;
}

.hdc-director__title{
  margin: 0;
  color: var(--navy);
  font-weight: 400;
  letter-spacing:.06em;
  line-height: 1.15;
  font-size: clamp(24px, 3vw, 40px);
}

.hdc-director__lead{
  margin: 10px auto 0;
  max-width: 740px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.8;
}

.hdc-director__card{
  position: relative;
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  overflow: hidden;

  display: grid;
  grid-template-columns: 360px 1fr;
}

/* 背面のアクセント（斜め帯） */
.hdc-director__card::before{
  content:"";
  position:absolute;
  inset:-40px -120px auto -120px;
  height: 160px;
  background: linear-gradient(90deg, rgba(34,60,100,.18), rgba(245,245,175,.25));
  transform: rotate(-6deg);
  pointer-events:none;
}

/* 写真 */
.hdc-director__photo{
  margin: 0;
  position: relative;
  background: linear-gradient(135deg, rgba(34,60,100,.10), rgba(245,245,175,.22));
  isolation: isolate;
}

.hdc-director__photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
  filter: saturate(1.02) contrast(1.02);
}

/* 写真の上にほんのり影 */
.hdc-director__photo::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to top, rgba(34,60,100,.25), rgba(34,60,100,0) 55%);
  pointer-events:none;
  z-index: 0;
}

.hdc-director__nameplate{
  position:absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  background: rgba(34,60,100,.86);
  color:#fff;
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 12px 24px rgba(0,0,0,.14);
}

.hdc-director__clinic{
  display:block;
  font-weight: 800;
  opacity: .92;
  font-size: 13px;
  letter-spacing:.04em;
}

.hdc-director__name{
  display:block;
  font-weight: 900;
  font-size: 16px;
  letter-spacing:.06em;
  margin-top: 2px;
}

/* 本文 */
.hdc-director__body{
  position: relative;
  padding: clamp(18px, 2.4vw, 26px);
}

.hdc-director__text{
  margin: 0 0 14px;
  color: #2b2b2b;
  line-height: 2.0;
  font-size: clamp(14px, 1.05vw, 16px);
}

/* キーワード強調（必要なら本文中で <mark> を使える） */
.hdc-director mark{
  background: linear-gradient(transparent 60%, rgba(245,245,175,.85) 0);
  padding: 0 .15em;
}

.hdc-director__career{
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(34,60,100,.28);
}

.hdc-director__careerTitle{
  margin: 0 0 10px;
  color: var(--navy);
  font-weight: 400;
  letter-spacing:.06em;
  font-size: 16px;
}

.hdc-director__timeline{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap: 10px;
}

.hdc-director__tlItem{
  display:grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  align-items:center;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(222,232,241,.55);
  border: 1px solid rgba(34,60,100,.14);
}

.hdc-director__year{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(34,60,100,.18);
  color: var(--navy);
  font-weight: 900;
  letter-spacing:.04em;
  font-size: 13px;
}

.hdc-director__tlText{
  color: #2b2b2b;
  font-weight: 700;
  line-height: 1.7;
}

/* レスポンシブ */
@media (max-width: 900px){
  .hdc-director__card{
    grid-template-columns: 300px 1fr;
  }
}
@media (max-width: 680px){
  .hdc-director__card{
    grid-template-columns: 1fr;
  }
  .hdc-director__photo{
    aspect-ratio: 4/5;
  }
  .hdc-director__nameplate{
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
}

/* =========================
   院長の矯正治療への想い
   ========================= */
.hdc-orthoThought{
  --navy: var(--hdc-navy, #223C64);
  --yellow: var(--hdc-yellow, #f5f5af);
  --sky: var(--hdc-sky, #DEE8F1);
  --white: var(--hdc-white, #fff);
  --line: var(--hdc-line, rgba(34,60,100,.18));
  --muted: var(--hdc-muted, #69757A);
  --shadow: var(--hdc-shadow, 0 14px 30px rgba(0,0,0,.08));
  --radius: var(--hdc-radius, 14px);

  padding: clamp(30px, 4vw, 56px) 0;
  background:
    radial-gradient(900px 420px at 10% 20%, rgba(34,60,100,.10), transparent 55%),
    radial-gradient(900px 420px at 90% 40%, rgba(245,245,175,.22), transparent 55%),
    var(--sky);
}

.hdc-orthoThought__title{
  margin: 0 0 14px;
  text-align: center;
  color: var(--navy);
  font-weight: 400;
  letter-spacing: .06em;
  font-size: clamp(22px, 2.8vw, 38px);
  line-height: 1.2;
}

/* 冒頭：大きめ・読みやすい */
.hdc-orthoThought__lead{
  margin: 0 auto 16px;
  max-width: 980px;
  background: rgba(255,255,255,.7);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(14px, 2vw, 18px);
  color: #2b2b2b;
  font-weight: 850;
  letter-spacing: .02em;
  line-height: 1.75;
  font-size: clamp(16px, 1.6vw, 20px);
  position: relative;
}

/* 左上の小さなアクセント */
.hdc-orthoThought__lead::before{
  content:"";
  position:absolute;
  top: -1px;
  left: -1px;
  width: 90px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--navy), var(--yellow));
}

/* 「」内だけ色替え */
.hdc-quoteText{
  color: var(--navy);
  background: linear-gradient(transparent 62%, rgba(245,245,175,.85) 0);
  padding: 0 .12em;
  border-radius: 4px;
}
.hdc-quoteMark{
  color: rgba(34,60,100,.55);
  font-weight: 900;
}

/* 本文カード */
.hdc-orthoThought__card{
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(16px, 2.2vw, 22px);
  overflow: hidden;
}

.hdc-orthoThought__card p{
  margin: 0 0 12px;
  color: var(--muted);
  font-weight: 700;
  line-height: 2.0;
  font-size: clamp(14px, 1.05vw, 16px);
}

.hdc-orthoThought__card p:last-child{ margin-bottom: 0; }

.hdc-strong{
  color: #2b2b2b;
  font-weight: 900;
  background: linear-gradient(transparent 60%, rgba(245,245,175,.70) 0);
  padding: 0 .14em;
  border-radius: 4px;
}

.hdc-orthoThought__last{
  color: #2b2b2b;
}

/* 右下の控えめな装飾 */
.hdc-orthoThought__accent{
  position:absolute;
  right: -60px;
  bottom: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(34,60,100,.12), rgba(34,60,100,0) 60%);
  pointer-events:none;
}

@media (max-width: 640px){
  .hdc-orthoThought__lead,
  .hdc-orthoThought__card{
    border-radius: var(--radius);
  }
}

/* =========================
   矯正治療の特徴：3カラムカード
   ========================= */
.hdc-orthoFeatures{
  --navy: var(--hdc-navy, #223C64);
  --yellow: var(--hdc-yellow, #f5f5af);
  --sky: var(--hdc-sky, #DEE8F1);
  --white: var(--hdc-white, #fff);
  --line: var(--hdc-line, rgba(34,60,100,.18));
  --muted: var(--hdc-muted, #69757A);
  --shadow: var(--hdc-shadow, 0 14px 30px rgba(0,0,0,.08));
  --radius: var(--hdc-radius, 14px);

  padding: clamp(30px, 4vw, 56px) 0;
  background: var(--sky);
}

.hdc-orthoFeatures__title{
  margin: 0 0 18px;
  text-align:center;
  background: var(--navy);
  color:#fff;
  font-weight: 400;
  letter-spacing:.06em;
  line-height:1.2;
  padding: 14px 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: clamp(20px, 2.4vw, 34px);
}

/* 3カラム */
.hdc-orthoGrid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

/* カード */
.hdc-orthoCard{
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  overflow: hidden;
  display:flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.hdc-orthoCard:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(0,0,0,.10);
  filter: brightness(1.01);
}

/* 画像：上に固定 */
.hdc-orthoCard__media{
  margin:0;
  position: relative;
  background: linear-gradient(135deg, rgba(34,60,100,.10), rgba(245,245,175,.22));
  aspect-ratio: 16 / 10;
}
.hdc-orthoCard__media img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}
.hdc-orthoCard__media::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to top, rgba(34,60,100,.20), rgba(34,60,100,0) 55%);
  pointer-events:none;
}

/* h3 */
.hdc-orthoCard__title{
  margin: 0;
  padding: 14px 14px 10px;
  color: var(--navy);
  font-weight: 500;
  letter-spacing:.04em;
  line-height: 1.25;
  font-size: 150%;
  position: relative;
}
/* 小アクセント：イエロー線 */
.hdc-orthoCard__title::after{
  content:"";
  position:absolute;
  left: 14px;
  bottom: 6px;
  width: 60px;
  height: 2px;
  background: var(--yellow);
  border-radius: 999px;
}

/* 本文 */
.hdc-orthoCard__text{
  margin: 0;
  padding: 8px 14px 16px;
  line-height: 1.95;
  font-size: clamp(13px, 1.02vw, 15.5px);
}

/* 実績の強調文 */
.hdc-orthoNote{
  margin: 18px auto 0;
  max-width: 980px;
  padding: clamp(14px, 2vw, 18px);
  position: relative;
  overflow:hidden;
}

.hdc-orthoNote__text{
  position: relative;
  margin: 0;
  color: #2b2b2b;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: .02em;
  font-size: 130%; /* ←ここで少し大きめ */
}

/* レスポンシブ */
@media (max-width: 980px){
  .hdc-orthoGrid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px){
  .hdc-orthoGrid{ grid-template-columns: 1fr; }
  .hdc-orthoCard__media{ aspect-ratio: 16 / 9; }
  .hdc-orthoNote__text{
  font-size: 100%;
}
}

/* =========================
   FAQ（アコーディオン）
   ========================= */
.hdc-faq{
  --navy: var(--hdc-navy, #223C64);
  --yellow: var(--hdc-yellow, #f5f5af);
  --sky: var(--hdc-sky, #DEE8F1);
  --white: var(--hdc-white, #fff);
  --line: var(--hdc-line, rgba(34,60,100,.18));
  --muted: var(--hdc-muted, #69757A);
  --shadow: var(--hdc-shadow, 0 14px 30px rgba(0,0,0,.08));
  --radius: var(--hdc-radius, 14px);

  padding: clamp(30px, 4vw, 56px) 0;
  background: var(--sky);
}

.hdc-faq__title{
  margin: 0 0 16px;
  text-align:center;
  background: var(--navy);
  color:#fff;
  font-weight: 400;
  letter-spacing:.06em;
  line-height:1.2;
  padding: 14px 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: clamp(20px, 2.4vw, 34px);
}

.hdc-faq__list{
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.hdc-faqItem{
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hdc-faqItem__q{
  cursor: pointer;
  list-style: none;
  display: grid;
  grid-template-columns: 42px 1fr 24px;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  color: #2b2b2b;
  font-weight: 900;
  line-height: 1.5;
}

.hdc-faqItem__q::-webkit-details-marker{ display:none; }

.hdc-faqItem__icon{
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(245,245,175,.55);
  color: var(--navy);
  border: 1px solid rgba(34,60,100,.16);
  font-weight: 1000;
  letter-spacing:.06em;
}

.hdc-faqItem__qText{
  font-size: clamp(14px, 1.15vw, 16px);
}

.hdc-faqItem__chev{
  width: 10px;
  height: 10px;
  border-right: 3px solid rgba(34,60,100,.60);
  border-bottom: 3px solid rgba(34,60,100,.60);
  transform: rotate(45deg);
  transition: transform .18s ease;
  justify-self: end;
}

/* open時 */
.hdc-faqItem[open] .hdc-faqItem__chev{
  transform: rotate(-135deg);
}

/* 回答 */
.hdc-faqItem__a{
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  padding: 0 16px 16px;
  border-top: 1px dashed rgba(34,60,100,.22);
}

.hdc-faqItem__iconA{
  margin-top: 14px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(34,60,100,.10);
  color: var(--navy);
  border: 1px solid rgba(34,60,100,.14);
  font-weight: 1000;
  letter-spacing:.06em;
}

.hdc-faqItem__a p{
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 2.0;
  font-size: clamp(13px, 1.02vw, 15.5px);
}

/* =========================
   治療費ブロック
   ========================= */
.hdc-fee{
  --navy: var(--hdc-navy, #223C64);
  --yellow: var(--hdc-yellow, #f5f5af);
  --sky: var(--hdc-sky, #DEE8F1);
  --white: var(--hdc-white, #fff);
  --line: var(--hdc-line, rgba(34,60,100,.18));
  --muted: var(--hdc-muted, #69757A);
  --shadow: var(--hdc-shadow, 0 14px 30px rgba(0,0,0,.08));
  --radius: var(--hdc-radius, 14px);

  padding: clamp(30px, 4vw, 56px) 0;
  background:
    radial-gradient(1000px 460px at 10% 15%, rgba(34,60,100,.10), transparent 55%),
    radial-gradient(1000px 460px at 90% 25%, rgba(245,245,175,.24), transparent 55%),
    var(--sky);
}

.hdc-fee__title{
  margin: 0 0 16px;
  text-align:center;
  background: var(--navy);
  color:#fff;
  font-weight: 400;
  letter-spacing:.06em;
  line-height:1.2;
  padding: 14px 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: clamp(20px, 2.4vw, 34px);
}

/* 比較 */
.hdc-feeCompare{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 10px;
}

.hdc-feeCompare__card{
  background: rgba(255,255,255,.84);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  overflow:hidden;
}

.hdc-feeCompare__head{
  padding: 14px 14px 0;
}

.hdc-feeCompare__ttl{
  margin: 0 0 10px;
  color: #2b2b2b;
  font-weight: 1000;
  letter-spacing:.03em;
  line-height: 1.35;
  font-size: clamp(15px, 1.25vw, 18px);
}

.hdc-feeCompare__img{
  border-radius: 14px;
  overflow:hidden;
  background: linear-gradient(135deg, rgba(34,60,100,.10), rgba(245,245,175,.22));
  aspect-ratio: 16/10;
}
.hdc-feeCompare__img img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

.hdc-feeCompare__list{
  margin: 12px 0 0;
  padding: 0 18px 16px;
  list-style: none;
  display:grid;
  gap: 10px;
  color: var(--muted);
  font-weight: 850;
}
.hdc-feeCompare__list li{
  position: relative;
  padding-left: 28px;
  line-height: 1.7;
}
.hdc-feeCompare__list li::before{
  content:"";
  position:absolute;
  left:0;
  top: .55em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--navy);
}
.hdc-feeCompare__card--wire .hdc-feeCompare__list li::before{
  background: rgba(34,60,100,.35);
}
.hdc-feeCompare__card--hase{
  border-color: rgba(34,60,100,.26);
}
.hdc-feeCompare__card--hase .hdc-feeCompare__ttl{
  color: var(--navy);
}
.hdc-feeCompare__note{
  margin: 0;
  padding: 0 18px 18px;
  color: #2b2b2b;
  font-weight: 900;
  line-height: 1.8;
  background: linear-gradient(transparent 70%, rgba(245,245,175,.65) 0);
}

/* イントロ */
.hdc-fee__intro{
  margin: 18px auto 0;
  max-width: 980px;
  text-align:center;
  color: #2b2b2b;
  font-weight: 900;
  line-height: 1.9;
  letter-spacing: .02em;
  font-size: clamp(14px, 1.15vw, 16px);
}
.hdc-fee__introStrong{
  color: var(--navy);
  background: linear-gradient(transparent 62%, rgba(245,245,175,.85) 0);
  padding: 0 .2em;
  border-radius: 4px;
}

/* 価格カード（共通） */
.hdc-feePrice{
  margin-top: 16px;
  background: rgba(255,255,255,.86);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow);
  overflow:hidden;

  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 0;
}

.hdc-feePrice__left{
  padding: 50px 20px;
  text-align: center;
}

.hdc-feePrice__total,
.hdc-feePrice__split{
  justify-content: center;
}

.hdc-feePrice__split{
  margin-left: auto;
  margin-right: auto;
  max-width: 560px; /* 広がりすぎ防止（任意） */
}

.hdc-feePrice__right{
  background: linear-gradient(135deg, rgba(34,60,100,.08), rgba(245,245,175,.22));
  display:flex;
}
.hdc-feePrice__img{
  width:100%;
  aspect-ratio: 4/3;
  overflow:hidden;
}
.hdc-feePrice__img img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

.hdc-feePrice__plan {
    margin: 0 0 10px;
    color: var(--navy);
    font-weight: 600;
    letter-spacing: .04em;
    line-height: 1.35;
    font-size: 150%;
    text-align: center;
}

.hdc-feePrice__total{
  text-align: center;
  gap: 8px;
  flex-wrap: wrap;
}
.hdc-feePrice__yen{
  font-weight: 1100;
  color: #2b2b2b;
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: .02em;
}
.hdc-feePrice__tax{
  color: var(--muted);
  font-weight: 900;
}

.hdc-feePrice__split{
  margin-top: 12px;
  display:flex;
  gap: 12px;
  align-items:flex-start;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(34,60,100,.16);
  background: rgba(222,232,241,.55);
}
.hdc-feePrice__splitIcon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(245,245,175,.60);
  border: 1px solid rgba(34,60,100,.14);
}
.hdc-feePrice__splitMain{
  font-weight: 1000;
  color: #2b2b2b;
  line-height: 1.5;
}
.hdc-feePrice__splitStrong{
  color: var(--navy);
  background: linear-gradient(transparent 62%, rgba(245,245,175,.85) 0);
  padding: 0 .2em;
  border-radius: 4px;
}
.hdc-feePrice__splitSub{
  margin-top: 4px;
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
  line-height: 1.6;
}

/* 12歳以降 */
.hdc-feePrice__range{
  font-weight: 1100;
  color: #2b2b2b;
  font-size: clamp(18px, 2vw, 28px);
  text-align: center;
}
.hdc-feePrice__desc{
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.9;
}

/* CTA */
.hdc-feeCta{
  margin-top: 14px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  background: rgba(255, 255, 255, .74);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(14px, 2vw, 18px);
  display: flex;              /* ←追加 */
  flex-direction: column;     /* ←縦並び */
  align-items: center;        /* ←横方向中央 */
  text-align: center;         /* ←文章中央 */
  gap: 20px;
}

.hdc-feeCta__text{
  margin: 0;
  color: #2b2b2b;
  font-weight: 850;
  line-height: 1.9;
}
.hdc-feeCta__actions{
  display: flex;
  justify-content: center; /* ←中央寄せ */
  gap: 10px;
  flex-wrap: wrap;
}
.hdc-feeBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  padding: 12px 14px;
  border-radius: 999px;
  font-weight: 1000;
  letter-spacing:.02em;
  border: 1px solid rgba(34,60,100,.18);
  transition: transform .15s ease, filter .15s ease;
}
.hdc-feeBtn:hover{transform: translateY(-2px); filter: brightness(1.02);}
.hdc-feeBtn--primary{
  background: var(--navy);
  color:#fff;
}
.hdc-feeBtn--ghost{
  background: rgba(245,245,175,.55);
  color: var(--navy);
}

/* 注意書き */
.hdc-feeWarn{
  max-width: 980px;
  margin: 12px auto 0;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.9;
  font-size: 13px;
  padding: 10px 12px;
  border-left: 6px solid rgba(34,60,100,.35);
}

/* レスポンシブ */
@media (max-width: 900px){
  .hdc-feeCompare{ grid-template-columns: 1fr; }
  .hdc-feePrice{ grid-template-columns: 1fr; }
  .hdc-feePrice__img{ aspect-ratio: 16/9; }
  .hdc-feePrice__plan {
    font-size: 120%;
}
}

/* =========================
   治療例（Before/After）
   ========================= */
.hdc-cases{
  background: var(--hdc-sky);
  padding: clamp(30px, 4vw, 56px) 0;
}

.hdc-cases__title{
  margin: 0 0 16px;
  text-align:center;
  color:#fff;
  font-weight: 400;
  letter-spacing:.06em;
  line-height:1.2;
  padding: 14px 18px;
  border-radius: var(--hdc-radius);
  box-shadow: var(--hdc-shadow);
  /* グラデ見出し（好みに合わせて変更OK） */
  background: linear-gradient(135deg, #223c64 0%, #2f5a8a 100%);
  font-size: clamp(20px, 2.4vw, 34px);
}

.hdc-casesGrid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.hdc-caseCard{
  background: rgba(255,255,255,.86);
  border: 1px solid var(--hdc-line);
  border-radius: calc(var(--hdc-radius) + 6px);
  box-shadow: var(--hdc-shadow);
  overflow: hidden;
}

.hdc-caseCard__head{
  padding: 14px 14px 10px;
}

.hdc-caseCard__ttl{
  margin: 0;
  color: var(--hdc-navy);
  font-weight: 1000;
  letter-spacing:.04em;
  line-height: 1.25;
  font-size: clamp(15px, 1.35vw, 18px);
}

/* 受け口などのラベル */
.hdc-caseCard__badge{
  margin: 8px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(245,245,175,.60);
  border: 1px solid rgba(34,60,100,.16);
  color: var(--hdc-navy);
  font-weight: 900;
  font-size: 12.5px;
  letter-spacing:.02em;
}

/* 画像ペア */
.hdc-caseCard__pair{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 14px 14px;
}

.hdc-caseCard__img{
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(34,60,100,.10), rgba(245,245,175,.22));
  aspect-ratio: 4/3;
}

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

/* Before/After ラベル */
.hdc-caseCard__cap{
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(34,60,100,.85);
  color: #fff;
  font-weight: 1000;
  font-size: 12px;
  letter-spacing:.06em;
  box-shadow: 0 10px 22px rgba(0,0,0,.14);
}

/* 右側のAfterだけ色味を変える（任意） */
.hdc-caseCard__pair figure:nth-child(2) .hdc-caseCard__cap{
  background: rgba(47,90,138,.88);
}

/* 注釈 */
.hdc-cases__note{
  margin: 12px 0 0;
  text-align: center;
  color: var(--hdc-muted);
  font-weight: 750;
  font-size: 13px;
}

/* レスポンシブ */
@media (max-width: 980px){
  .hdc-casesGrid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px){
  .hdc-casesGrid{ grid-template-columns: 1fr; }
  .hdc-caseCard__pair{ grid-template-columns: 1fr; } /* スマホは縦に */
  .hdc-caseCard__img{ aspect-ratio: 16/10; }
}

/* =========================================================
   Contact Form 7 ｜ 長谷川デンタルクリニック向け
   ========================================================= */

:root {
  --contact-blue: #327EB6;
  --contact-navy: #1A3651;
  --contact-light: #F4FAFF;
  --contact-border: #D6E6F3;
  --contact-gray: #6B7B88;
  --contact-bg: #ffffff;
  --contact-shadow: 0 10px 30px rgba(26, 54, 81, 0.08);
}

/* フォーム全体 */
.wpcf7 {
  max-width: 1000px;
  margin: 0 auto;
}

.wpcf7 form {
  background: var(--contact-bg);
  border: 1px solid var(--contact-border);
  box-shadow: var(--contact-shadow);
  padding: 32px;
}

/* テーブル */
.wpcf7 form table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  margin-bottom: 24px;
}

.wpcf7 form tr {
  border-bottom: 1px solid #e8f0f7;
}

.wpcf7 form tr:first-child {
  border-top: 1px solid #e8f0f7;
}

.wpcf7 form td {
  padding: 20px 16px;
  vertical-align: top;
  font-size: 15px;
  color: var(--contact-navy);
  line-height: 1.8;
  box-sizing: border-box;
}

/* 左側の見出しセル */
.wpcf7 form td.yoyaku {
  width: 28%;
  background: var(--contact-light);
  font-weight: 700;
  color: var(--contact-navy);
  border-right: 1px solid #e8f0f7;
}

/* 見出し文字 */
.wpcf7 form .b {
  display: inline-block;
  font-weight: 700;
  color: var(--contact-navy);
  line-height: 1.6;
  font-size: 1.1rem;
}

/* 必須ラベル */
.wpcf7 form .sankou {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--contact-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  vertical-align: middle;
}

/* 入力共通 */
.wpcf7 form input[type="text"],
.wpcf7 form input[type="email"],
.wpcf7 form input[type="tel"],
.wpcf7 form input[type="number"],
.wpcf7 form select,
.wpcf7 form textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid #cfdce8;
  background: #fff;
  color: var(--contact-navy);
  font-size: 15px;
  line-height: 1.6;
  padding: 14px 16px;
  box-sizing: border-box;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}

/* プレースホルダー */
.wpcf7 form input::placeholder,
.wpcf7 form textarea::placeholder {
  color: #93A3B1;
}

/* フォーカス */
.wpcf7 form input[type="text"]:focus,
.wpcf7 form input[type="email"]:focus,
.wpcf7 form input[type="tel"]:focus,
.wpcf7 form input[type="number"]:focus,
.wpcf7 form select:focus,
.wpcf7 form textarea:focus {
  outline: none;
  border-color: var(--contact-blue);
  box-shadow: 0 0 0 4px rgba(50, 126, 182, 0.12);
  background: #fcfeff;
}

/* textarea */
.wpcf7 form textarea {
  min-height: 180px;
  resize: vertical;
  margin-top: 10px;
}

/* 年齢の「歳」まわり */
.wpcf7 form td > .wpcf7-form-control-wrap + * {
  margin-left: 6px;
}

/* セレクト */
.wpcf7 form select {
  width: auto;
  min-width: 90px;
  margin: 6px 8px 6px 0;
  padding-right: 42px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--contact-blue) 50%),
    linear-gradient(135deg, var(--contact-blue) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

/* ラジオ */
.wpcf7 form .wpcf7-form-control.wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.wpcf7 form .wpcf7-radio .wpcf7-list-item {
  margin: 0;
}

.wpcf7 form .wpcf7-radio .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--contact-border);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.wpcf7 form .wpcf7-radio .wpcf7-list-item label:hover {
  border-color: var(--contact-blue);
  background: #f8fcff;
}

.wpcf7 form input[type="radio"] {
  accent-color: var(--contact-blue);
  transform: scale(1.05);
}

/* チェックボックス */
.wpcf7 form .contact-check {
  display: block;
  margin: 12px 0 18px;
}

.wpcf7 form .wpcf7-checkbox {
  display: block;
}

.wpcf7 form .wpcf7-checkbox .wpcf7-list-item {
  margin: 0;
}

.wpcf7 form .wpcf7-checkbox .wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 18px;
  border: 1px solid var(--contact-border);
  background: var(--contact-light);
  color: var(--contact-navy);
  cursor: pointer;
}

.wpcf7 form input[type="checkbox"] {
  accent-color: var(--contact-blue);
  margin-top: 0.25em;
  transform: scale(1.05);
}

/* 送信ボタンエリア */
.wpcf7 form p:has(#mail_submit2) {
  text-align: center;
  margin: 30px 0 14px;
}

/* 送信ボタン */
#mail_submit2,
.wpcf7 form input[type="submit"] {
  display: inline-block;
  min-width: 320px;
  padding: 18px 28px;
  border: none;
  background: linear-gradient(135deg, #327EB6, #245D89);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
  box-shadow: 0 12px 24px rgba(50, 126, 182, 0.25);
  border-radius: 0;
}

#mail_submit2:hover,
.wpcf7 form input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(50, 126, 182, 0.32);
}

#mail_submit2:active,
.wpcf7 form input[type="submit"]:active {
  transform: translateY(0);
}

/* 説明文 */
.wpcf7 form p {
  color: var(--contact-gray);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 15px;
}

/* エラー表示 */
.wpcf7 form .wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #c62828;
}

.wpcf7 form .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--contact-border);
  color: var(--contact-navy);
  background: #f8fcff;
  font-size: 14px;
  line-height: 1.8;
}

/* スマホ */
@media (max-width: 767px) {
  .wpcf7 form {
    padding: 18px;
  }

  .wpcf7 form table,
  .wpcf7 form tbody,
  .wpcf7 form tr,
  .wpcf7 form td {
    display: block;
    width: 100%;
  }

  .wpcf7 form tr {
    border-bottom: none;
    margin-bottom: 18px;
  }

  .wpcf7 form td {
    padding: 14px 12px;
  }

  .wpcf7 form td.yoyaku {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #e8f0f7;
    margin-bottom: 0;
  }

  .wpcf7 form select {
    width: 100%;
    margin-right: 0;
  }

  #mail_submit2,
  .wpcf7 form input[type="submit"] {
    width: 100%;
    min-width: 0;
  }
}

.thanks-section {
  padding: 80px 20px;
  background: linear-gradient(to bottom, #f4f9fd 0%, #ffffff 100%);
}

.thanks-box {
  max-width: 760px;
  margin: 0 auto;
  padding: 50px 40px;
  background: #fff;
  border: 1px solid #d8e7f3;
  box-shadow: 0 10px 30px rgba(26, 54, 81, 0.08);
  text-align: center;
}

.thanks-en {
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: #327eb6;
  font-weight: 700;
}

.thanks-title {
  margin: 0 0 30px;
  font-size: 32px;
  line-height: 1.5;
  color: #1a3651;
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
}

.thanks-message {
  margin-bottom: 35px;
}

.thanks-message p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 2;
  color: #1a3651;
}

.thanks-message p:last-child {
  margin-bottom: 0;
}

.thanks-message strong {
  color: #327eb6;
  font-weight: 700;
}

.thanks-btn-wrap {
  margin-top: 30px;
}

.thanks-btn {
  display: inline-block;
  padding: 16px 38px;
  background: linear-gradient(135deg, #327eb6, #245d89);
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.thanks-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  .thanks-section {
    padding: 50px 15px;
  }

  .thanks-box {
    padding: 35px 20px;
  }

  .thanks-title {
    font-size: 24px;
  }

  .thanks-message p {
    font-size: 15px;
    line-height: 1.9;
    text-align: left;
  }

  .thanks-btn {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
}

/* =========================
   院長紹介
   ========================= */
.director-main {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 20px;
}

/* 左：テキスト部分 */
.director-text p {
  line-height: 1.8;
  margin-bottom: 16px;
}

/* 右：写真＋名前 */
.director-photo-box {
  width: 320px;
  /* 260 → 320に拡大 */
  text-align: center;
}

.director-photo img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #327eb6;
  /* 少し太くして存在感UP */
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.director-name-box {
  margin-top: 12px;
}

.director-name-jp {
  font-size: 18px;
  font-weight: 700;
}

.director-name-en {
  font-size: 14px;
  letter-spacing: 0.08em;
  color: #777;
}

/* メッセージ枠全体 */
.director-message {
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px solid #327eb6;
  border-radius: 10px;
}

/* メッセージ見出し（h3）のデザイン強化） */
.director-subtitle {
    font-family: 'Noto Serif', serif;
    margin-bottom: 10px;
    padding: 10px;
    font-size: 18px;
    font-weight: 500;
    color: #1a3651;
    background: linear-gradient(90deg, #327eb61f, #ffffff);
    border-left: 4px solid #1b559a;
}

/* 下段：略歴・所属・資格 3カラム */
.director-columns {
  display: flex;
  gap: 30px;
  margin-top: 40px;
}

.director-column {
  flex: 1;
  background: rgb(175 189 209 / 10%);
  /* うっすらピンク背景 */
  border: 1.5px solid #327eb6;
  /* ピンク枠 */
  border-radius: 10px;
  padding: 16px 18px;
}

/* 各ボックスのh3デザイン */
.director-col-title {
  font-family: 'Noto Serif', serif;
  position: relative;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  padding-bottom: 6px;
  color: #1a3651;
}

/* h3下にアクセントライン */
.director-col-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, #1b559a, #b1c8d9);
  border-radius: 999px;
}

.director-column p {
  line-height: 1.7;
  font-size: 14px;
}

/* =========================
   モバイル ～768px
   ========================= */
@media (max-width: 768px) {
  .director-main {
    flex-direction: column;
  }

  .director-photo-box {
    margin: 0 auto 10px;
  }

  .director-columns {
    flex-direction: column;
  }
}