@charset "UTF-8";
/*
 * ======================================
 * 追加クラス一覧（共通SCSS取り込み検討用）
 * ======================================
 *
 * .sd-inner / --1100 / --1000   - 1400px / 1100px / 1000px コンテナ（左右余白はセクション側の clamp）
 * .sd-sec / --hours / --news …  - セクション上下左右余白（clamp 可変値）
 * .sd-grid / --hours / --access - auto-fit 2カラム grid（minmax 420/380/440px）
 * .sd-stack / --center / --tight- 見出し＋本文の縦積み（gap 14px / 12px）
 * .sd-heading / --center / --s / --tight / --dark - セクション見出し（英語大・日本語小の重なり）
 * .sd-lead / .sd-stack__p6 / .sd-stack__p12 - 見出し下の本文マージン
 * .sd-btn / --mt20 / .sd-btn-wrap - こげ茶ピル型ボタン
 * .sd-deco-wrap / .sd-deco --tl/--tr/--bl/--br - 花・つるのコーナー装飾
 * .sd-mv / __visual / __copy / __catch / __sub / __scroll - TOP メインビジュアル（縦書きキャッチ）
 * .sd-mv-news / __label / __body / __list / __more - MV右下のお知らせボックス（MV外枠を右端までわざとはみ出す）
 * .sd-hours（.table-hours の見た目）/ --footer / --access - 診療時間表
 * .sd-hours-tel / .sd-hours-note / .sd-tag - TOP 診療時間の電話・休診日
 * .sd-news / __lead / __list - TOP お知らせ（こげ茶背景）
 * .sd-med-cards / .sd-med-card / .sd-icon --l/--m/--s - 診療内容カード・アイコンのトリミング
 * .sd-photo-offset - 写真の背面にベージュ面をずらして重ねる
 * .sd-tour-cards / .sd-tour-card - 院内紹介カード（丸付き下線キャプション）
 * .sd-greeting__sign / .sd-history / .sd-policy - 当院について
 * .sd-med-anchors / .sd-med-anchor / .sd-med-list / .sd-med-item / .sd-reserve - 診療内容
 * .sd-tour / .sd-tour-group - 院内ツアー
 * .sd-info-list / .sd-access-* / .sd-contact - アクセス・診療案内
 * .sd-header / .sd-footer / .sd-callbar / .sd-page-hero / .sd-breadcrumb / .sd-spnav-tel - 共通パーツの見た目差分
 *
 * ======================================
 * 共通SCSSに不足していたもの
 * ======================================
 *
 * 【値の粒度不足】
 *  - .section / .container が固定値（120px / 1200px）。clamp() による可変余白・1400pxコンテナがない
 *  - gap-* に 14px / 12px / 16px がない。mt-* は 40 以上が tablet で半減するため固定値を再現できない
 *  - body の font-size が tablet 1.4rem / SP 1.2rem に縮小される（本案件は全幅 16px）
 * 【構造不足】
 *  - auto-fit + minmax による「幅で自然に段落ちする」grid がない（grid-2/3/4 は固定列＋BP切替）
 *  - ヘッダー：ロゴ左＋右側「上段タブ／下段ナビ」の2段構成がない（header__inner を grid 化して対応）
 *  - 縦書き（writing-mode）のMVキャッチ・縦帯ラベルがない
 *  - SPナビがフルスクリーン型のみ。ヘッダー直下のドロップダウン型がない
 * 【装飾パターン不足】
 *  - 現在ページの目印「小さな丸3つ」がない（header__nav-item の ::after を box-shadow で3連化）
 *  - 丸付き下線キャプション、ずらし背景面付き写真、アイコン画像のトリミング枠がない
 *  - セクション四隅のコーナー装飾（img 配置・clamp 幅）がない
 * 【状態不足】
 *  - ページ内リンクの矢印だけを hover で下に動かす state がない
 *
 */

/* ==========================================================================
   Base（main.css の初期値との差分）
   ========================================================================== */
html,
body { background: #fff; }
body { font-size: 16px; }
img { display: block; }
a {
  color: #4a3f3a;
  transition: color .2s, background .2s, border-color .2s;
}
a:hover { color: #e76746; opacity: 1; }
p { text-wrap: pretty; }
[id] { scroll-margin-top: 110px; }

/* ==========================================================================
   Layout
   ========================================================================== */
.sd-inner { max-width: 1400px; margin: 0 auto; }
.sd-inner--1100 { max-width: 1100px; }
.sd-inner--1000 { max-width: 1000px; }

.sd-sec { padding: clamp(64px, 9vw, 112px) clamp(20px, 3vw, 40px); }
.sd-sec--hours,
.sd-sec--history,
.sd-sec--map,
.sd-sec--contact { padding: clamp(56px, 8vw, 96px) clamp(20px, 3vw, 40px); }
.sd-sec--news {
  padding: clamp(56px, 7vw, 88px) clamp(20px, 3vw, 40px);
  background: #4a3f3a;
  color: #fff;
}
.sd-sec--greeting,
.sd-sec--access { padding: clamp(48px, 7vw, 88px) clamp(20px, 3vw, 40px); }
.sd-sec--intro { padding: clamp(40px, 6vw, 72px) clamp(20px, 3vw, 40px) 0; }
.sd-sec--medlist { padding: clamp(40px, 6vw, 72px) clamp(20px, 3vw, 40px); }
.sd-sec--reserve { padding: 0 clamp(20px, 3vw, 40px) clamp(64px, 9vw, 112px); }
.sd-sec--tour { padding: clamp(40px, 6vw, 72px) clamp(20px, 3vw, 40px) clamp(64px, 9vw, 112px); }

.sd-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.sd-grid--hours {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(32px, 5vw, 72px);
}
.sd-grid--access {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(40px, 6vw, 72px);
  align-items: start;
}

.sd-stack { display: flex; flex-direction: column; gap: 14px; }
.sd-stack--center { align-items: center; text-align: center; }
.sd-stack--tight { gap: 12px; }
.sd-stack__p6 { margin-top: 6px; }
.sd-stack__p12 { margin-top: 12px; }
.sd-lead { margin-top: 8px; }

/* コーナー装飾（背面・クリック透過） */
.sd-deco-wrap { position: relative; overflow: hidden; }
.sd-deco-wrap > .sd-inner { position: relative; z-index: 1; }
.sd-deco { position: absolute; height: auto; pointer-events: none; z-index: 0; }
.sd-deco--tl { top: 0; left: 0; width: clamp(180px, 24vw, 340px); }
.sd-deco--br { right: 0; bottom: 0; width: clamp(180px, 24vw, 340px); }
.sd-deco--tr { top: 0; right: 0; width: clamp(200px, 26vw, 380px); }
.sd-deco--bl { left: 0; bottom: 0; width: clamp(180px, 22vw, 320px); }

/* ==========================================================================
   セクション見出し（.heading の見た目差分）
   ========================================================================== */
.sd-heading { display: flex; flex-direction: column; gap: 14px; }
.sd-heading .heading__en {
  font-family: "Cinzel", serif;
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 500;
  letter-spacing: .06em;
  color: #7d7052;
  line-height: 1;
}
.sd-heading .heading__ja {
  margin-top: -8px;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 500;
  color: #4a3f3a;
  letter-spacing: .14em;
  line-height: 1.25;
}
.sd-heading--center { align-items: center; text-align: center; }
.sd-heading--s .heading__ja { font-size: clamp(17px, 1.7vw, 20px); }
.sd-heading--tight { gap: 12px; }
.sd-heading--dark .heading__en { color: #C9BFA8; }
.sd-heading--dark .heading__ja { color: #fff; }

/* ==========================================================================
   ボタン（.btn の見た目差分）
   ========================================================================== */
.sd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  width: auto;
  max-width: none;
  background: #4a3f3a;
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 16px 52px;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: .14em;
  line-height: 1.5;
  transition: color .2s, background .2s, border-color .2s;
}
.sd-btn:hover { background: #6b5d55; color: #fff; }
.sd-btn--mt20 { margin-top: 20px; }
.sd-btn-wrap { margin-top: 40px; }

/* ==========================================================================
   ヘッダー（.header / .header-sticky の見た目差分）
   ========================================================================== */
.sd-header {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: #fff;
  transition: none;
}
.sd-header.is-fixed {
  position: fixed;
  background: #fff;
  box-shadow: 0 1px 0 #ebe5da;
  animation: sdHdrIn .35s ease-out;
}
@keyframes sdHdrIn {
  from { transform: translateY(-100%); }
  to   { transform: translateY(0); }
}
.sd-header .header__inner,
.sd-header.is-fixed .header__inner {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto 1fr;
  justify-content: space-between;
  column-gap: 24px;
  row-gap: 14px;
  max-width: none;
  height: auto;
  min-height: 92px;
  padding: 0 clamp(16px, 3.5vw, 64px);
}
.sd-header .header__logo {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: center;
  display: flex;
  align-items: center;
  padding: 14px 0;
}
.sd-header .header__logo img { height: clamp(56px, 6.6vw, 84px); width: auto; }

/* 右上タブ：TEL ＋ 診療時間 */
.sd-header .header__right {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: start;
  align-items: stretch;
  gap: 6px;
  height: auto;
}
.sd-header .header__tel {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #4a3f3a;
  color: #fff;
  padding: 8px 22px;
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .08em;
  line-height: 1.3;
  transition: color .2s, background .2s, border-color .2s;
}
.sd-header .header__tel::before { content: none; }
.sd-header .header__tel:hover { background: #6b5d55; color: #fff; opacity: 1; }
.sd-header .header__cta {
  flex-direction: row;
  justify-content: flex-start;
  gap: 8px;
  height: auto;
  background: #e76746;
  color: #fff;
  padding: 8px 20px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .14em;
  line-height: 1.3;
  transition: color .2s, background .2s, border-color .2s;
}
.sd-header .header__cta:hover { background: #d4573a; color: #fff; }

/* グローバルナビ（タブとの間 14px） */
.sd-header .header__nav {
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  align-self: start;
  align-items: stretch;
  gap: clamp(20px, 2.6vw, 44px);
  margin: 0;
  padding-bottom: 14px;
}
.sd-header .header__nav-item a {
  gap: 5px;
  padding: 0;
  color: #4a3f3a;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.5;
  transition: color .2s, background .2s, border-color .2s;
}
.sd-header .header__nav-item a:hover { color: #e76746; }
.sd-header .header__nav-ja {
  margin-top: 0;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  line-height: inherit;
}
/* 現在ページの目印：直径5pxの丸を3つ（gap 4px） */
.sd-header .header__nav-item a::after {
  position: static;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: transparent;
  transform: none;
  transition: none;
}
.sd-header .header__nav-item a:hover::after { width: 5px; left: auto; }
.sd-header .header__nav-item--current a::after {
  background: #e76746;
  box-shadow: -9px 0 0 #e76746, 9px 0 0 #e76746;
}

/* ハンバーガー（MENU ボタン） */
.nav-toggle {
  position: absolute;
  top: 20px;
  right: clamp(16px, 3.5vw, 64px);
  width: 52px;
  height: 52px;
  border: 1px solid #C9BFA8;
  border-radius: 4px;
  background: #fff;
  backdrop-filter: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #4a3f3a;
  padding: 0;
}
@media (max-width: 899px) {
  .nav-toggle { display: flex; }
}
.sd-header.is-fixed ~ .nav-toggle { position: fixed; animation: sdHdrIn .35s ease-out; }
/* 3本線はデザインと同じ SVG（22×16・線幅1.6）で描画。開閉で形は変えない */
.nav-toggle::before {
  content: "";
  width: 22px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='16' viewBox='0 0 22 16' stroke='%234a3f3a' stroke-width='1.6'%3E%3Cpath d='M0 1h22M0 8h22M0 15h22'/%3E%3C/svg%3E") no-repeat;
}
.nav-toggle .nav-toggle__line { display: none; }
.nav-toggle__label {
  display: block;
  margin-top: 4px;
  font-family: "Cinzel", serif;
  font-size: 9px;
  letter-spacing: .14em;
  line-height: 1;
}

/* SPメニュー（ヘッダー直下のドロップダウン） */
.sp-nav {
  position: absolute;
  top: 92px;
  left: 0;
  right: 0;
  bottom: auto;
  z-index: 50;
  display: none;
  padding: 8px 20px 24px;
  background: #fff;
  border-top: 1px solid #ebe5da;
  box-shadow: 0 12px 24px rgba(74, 63, 58, .12);
  overflow: visible;
  visibility: visible;
  opacity: 1;
  transition: none;
}
.sp-nav.is-open { display: block; }
.sd-header.is-fixed ~ .sp-nav { position: fixed; }
@media (min-width: 900px) {
  .sp-nav.is-open { display: none; }
}
.sp-nav__list { max-width: none; text-align: left; }
.sp-nav__item,
.sp-nav.is-open .sp-nav__item { border-bottom: 0; transform: none; opacity: 1; transition: none; }
.sp-nav__item:first-child { border-top: 0; }
.sp-nav__link {
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  padding: 16px 4px;
  border-bottom: 1px solid #ebe5da;
  color: #4a3f3a;
  font-size: 17px;
  font-weight: 700;
  transition: color .2s, background .2s, border-color .2s;
}
.sp-nav__link::after { content: none; }
.sp-nav__link:hover { background: none; color: #4a3f3a; }
.sp-nav__en {
  margin: 0;
  padding: 0;
  font-family: "Cinzel", serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .2em;
  color: #7d7052;
  opacity: 1;
}
.sp-nav__bottom,
.sp-nav.is-open .sp-nav__bottom {
  margin-top: 20px;
  max-width: none;
  text-align: left;
  opacity: 1;
  transform: none;
  transition: none;
}
.sd-spnav-tel {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: #e76746;
  color: #fff;
  padding: 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 20px;
}
.sd-spnav-tel:hover { color: #fff; }
.sd-spnav-tel span { font-family: "Quicksand", sans-serif; }

/* ==========================================================================
   下層ページ：ヒーロー・パンくず（.page-hero / .breadcrumb の見た目差分）
   ========================================================================== */
.sd-page-hero {
  height: clamp(240px, 32vw, 340px);
  background: #4a3f3a;
  display: flex;
  align-items: center;
}
.sd-page-hero--pos40 .page-hero__bg { object-position: 50% 40%; }
.sd-page-hero--pos45 .page-hero__bg { object-position: 50% 45%; }
.sd-page-hero .page-hero__overlay { background: rgba(58, 46, 40, .5); }
.sd-page-hero .page-hero__content {
  width: 100%;
  max-width: 1400px;
  height: auto;
  margin: 0 auto;
  padding: 0 clamp(20px, 3vw, 40px);
  gap: 2px;
  color: #fff;
}
.sd-page-hero .heading__en {
  font-family: "Cinzel", serif;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 400;
  letter-spacing: .06em;
  line-height: 1;
}
.sd-page-hero .heading__ja {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .2em;
  line-height: 2;
}

.sd-breadcrumb {
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px clamp(20px, 3vw, 40px);
  font-size: 13px;
}
.sd-breadcrumb .breadcrumb__list { flex-wrap: nowrap; align-items: stretch; gap: 10px; }
.sd-breadcrumb .breadcrumb__item:not(:last-child)::after { content: "›"; margin: 0 0 0 10px; color: inherit; }
.sd-breadcrumb .breadcrumb__link { color: #4a3f3a; }
.sd-breadcrumb .breadcrumb__link:hover { color: #e76746; text-decoration: none; }
.sd-breadcrumb .breadcrumb__current { color: inherit; }

/* ==========================================================================
   診療時間表（.table-hours の見た目差分）
   ========================================================================== */
.sd-hours {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: clamp(13px, 1.4vw, 16px);
  line-height: 1.5;
}
.sd-hours th,
.sd-hours td { border: 0; }
.sd-hours thead th {
  background: #4a3f3a;
  color: #fff;
  padding: 14px 4px;
  font-size: inherit;
  font-weight: 700;
}
.sd-hours thead th:first-child { padding: 14px 8px; }
.sd-hours tbody tr { border-bottom: 1px solid #ddd5c6; }
.sd-hours tbody td {
  background: transparent;
  padding: 18px 4px;
  font-size: 1.1em;
  color: #4a3f3a;
}
.sd-hours tbody th {
  background: transparent;
  min-width: 0;
  padding: 18px 8px;
  font-size: 1em;
  font-weight: 700;
  color: #4a3f3a;
  white-space: nowrap;
}
.sd-hours .is-closed { color: #9a9080; }

.sd-hours--footer { font-size: 14px; background: #fff; }
.sd-hours--footer thead th { background: #C9BFA8; color: #4a3f3a; padding: 10px 2px; font-weight: 500; }
.sd-hours--footer thead th:first-child { padding: 10px 6px; }
.sd-hours--footer tbody td { padding: 12px 2px; font-size: 1em; }
.sd-hours--footer tbody th { padding: 12px 6px; font-weight: 500; }

.sd-hours--access { margin-top: 16px; }
.sd-hours--access tbody td { padding: 16px 4px; }
.sd-hours--access tbody th { padding: 16px 8px; }

/* ==========================================================================
   TOP：メインビジュアル
   ========================================================================== */
.sd-mv {
  position: relative;
  padding: 0 clamp(16px, 3.5vw, 64px);
  background: #fff;
}
.sd-mv__visual {
  position: relative;
  background: #4a3f3a;
  overflow: hidden;
}
/* 文字の読みやすさ用の暗幕（デザイン元 .62 / .3 より薄く） */
.sd-mv__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(46, 36, 30, .25) 0%, rgba(46, 36, 30, .1) 32%, rgba(46, 36, 30, 0) 55%);
  pointer-events: none;
}
#slideshow { position: relative; height: clamp(560px, 78vh, 760px); }
#slideshow .swiper-slide,
#slideshow .main_slider__inner { height: 100%; }
#slideshow .main_slider__inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
}
.sd-mv__copy {
  position: absolute;
  z-index: 2;
  left: clamp(28px, 6vw, 110px);
  top: clamp(56px, 10vh, 110px);
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: clamp(18px, 2.4vw, 32px);
  color: #fff;
}
.sd-mv__catch {
  writing-mode: vertical-rl;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: .24em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .3);
}
.sd-mv__sub {
  margin-top: clamp(40px, 6vh, 72px);
  writing-mode: vertical-rl;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 2.1;
  letter-spacing: .2em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
}
.sd-mv__scroll {
  position: absolute;
  z-index: 2;
  left: clamp(28px, 6vw, 110px);
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #fff;
}
.sd-mv__scroll span {
  font-family: "Cinzel", serif;
  font-size: 12px;
  letter-spacing: .3em;
  line-height: 1;
}
.sd-mv__scroll::after { content: ""; width: 1px; height: 64px; background: #fff; }

/* MV右下のお知らせ：.sd-mv の padding 分、写真の右端より外（画面端）まで意図的にはみ出す */
.sd-mv-news {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  width: min(640px, 52%);
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  background: #fff;
}
.sd-mv-news__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 0;
  background: #e76746;
  color: #fff;
}
.sd-mv-news__label strong {
  writing-mode: vertical-rl;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .3em;
  line-height: 1;
}
.sd-mv-news__label span {
  writing-mode: vertical-rl;
  font-family: "Cinzel", serif;
  font-size: 11px;
  letter-spacing: .24em;
  line-height: 1;
}
.sd-mv-news__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 20px clamp(18px, 2.2vw, 32px) 18px;
}
/* CMS出力（ul.blog-list）は MV・お知らせで共通。見た目は外側の枠クラスで出し分け */
.sd-mv-news__list > span,
.sd-news__list > span { display: block; }
.sd-mv-news__list .blog-list,
.sd-news__list .blog-list { border-top: 0; }
.sd-mv-news__list .blog-list__item {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid #ebe5da;
  line-height: 1.7;
}
.sd-mv-news__list .blog-list__date {
  flex: none;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #4a3f3a;
  letter-spacing: .06em;
  line-height: inherit;
}
.sd-mv-news__list .blog-list__title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 15px;
  font-weight: 400;
  color: #4a3f3a;
  line-height: inherit;
  transition: none;
}
.sd-mv-news__more {
  align-self: flex-end;
  margin-top: 4px;
  padding: 6px 24px;
  border: 1px solid #C9BFA8;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1.6;
}
.sd-mv-news__more:hover { background: #f1ece4; color: #4a3f3a; }
@media (max-width: 899px) {
  .sd-mv-news { position: relative; width: 100%; }
}

/* ==========================================================================
   TOP：診療時間
   ========================================================================== */
.sd-hours-tel {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 10px;
  padding: 18px 0;
  border-top: 1px solid #ebe5da;
  border-bottom: 1px solid #ebe5da;
}
.sd-hours-tel small {
  font-size: 13px;
  letter-spacing: .14em;
  line-height: 1.5;
  color: #4f4744;
}
.sd-hours-tel__num {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: clamp(30px, 3.6vw, 40px);
  font-weight: 700;
  color: #e76746;
  letter-spacing: .06em;
  line-height: 1.3;
}
.sd-hours-tel__num span {
  font-family: "Cinzel", serif;
  font-size: .5em;
  letter-spacing: .2em;
}
.sd-hours-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.6;
}
.sd-hours-note > span:first-child { display: flex; align-items: center; gap: 10px; }
.sd-tag {
  padding: 2px 14px;
  border: 1px solid #4a3f3a;
  border-radius: 999px;
  color: #4a3f3a;
  font-size: 13px;
}

/* ==========================================================================
   TOP：お知らせ（.blog-list の見た目差分）
   ========================================================================== */
.sd-news {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.sd-news__lead { color: #ece6dc; font-size: 15px; }
.sd-news__list {
  grid-column: span 2;
  min-width: 0;
  border-top: 1px solid rgba(201, 191, 168, .35);
}
@media (max-width: 699px) {
  .sd-news__list { grid-column: auto; }
}
.sd-news__list .blog-list__item {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px 24px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(201, 191, 168, .35);
}
.sd-news__list .blog-list__date {
  flex: none;
  padding: 4px 0;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 14px;
  color: #e9e3d6;
  letter-spacing: .08em;
  line-height: 1.6;
}
.sd-news__list .blog-list__title {
  flex: 1;
  min-width: 220px;
  font-size: 15px;
  font-weight: 400;
  color: #fff;
  line-height: 1.9;
  transition: none;
}
/* SP：日付を上段、タイトルを下段の全幅に */
@media (max-width: 639px) {
  .sd-news__list .blog-list__title { flex-basis: 100%; min-width: 0; }
}
/* 一覧は3件分の高さのまま縦スクロール（最大10件表示） */
.sd-news__list {
  max-height: 216px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 12px;
  scrollbar-width: thin;
  scrollbar-color: #C9BFA8 rgba(201, 191, 168, .15);
}
.sd-news__list::-webkit-scrollbar { width: 6px; }
.sd-news__list::-webkit-scrollbar-track { background: rgba(201, 191, 168, .15); border-radius: 3px; }
.sd-news__list::-webkit-scrollbar-thumb { background: #C9BFA8; border-radius: 3px; }
@media (max-width: 639px) {
  .sd-news__list { max-height: 474px; }
}

/* ==========================================================================
   TOP：診療内容カード
   ========================================================================== */
.sd-med-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 16px;
  width: 100%;
  margin-top: 36px;
}
.sd-med-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 32px 20px 28px;
  background: #fff;
  border: 1px solid #e6dfd2;
  border-radius: 4px;
  text-align: center;
}
.sd-med-card:hover { border-color: #C9BFA8; color: #4a3f3a; }
/* アイコン画像は余白込みの素材のため、枠でトリミングして表示 */
.sd-icon { display: flex; align-items: center; justify-content: center; flex: none; overflow: hidden; }
.sd-icon img { flex: none; height: auto; }
.sd-icon--l { width: 120px; height: 92px; }
.sd-icon--l img { width: 170px; }
.sd-icon--m { width: 96px; height: 74px; }
.sd-icon--m img { width: 136px; }
.sd-icon--s { width: 80px; height: 62px; }
.sd-icon--s img { width: 114px; }
.sd-med-card__name {
  font-size: 19px;
  font-weight: 500;
  color: #4a3f3a;
  letter-spacing: .12em;
  line-height: 1.5;
}
.sd-med-card__en {
  font-family: "Cinzel", serif;
  font-size: 10px;
  letter-spacing: .2em;
  color: #7d7052;
  line-height: 1;
}
.sd-med-card__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.8;
  color: #4f4744;
}
.sd-med-card__text span { white-space: nowrap; }

/* ==========================================================================
   TOP：当院について（写真＋背面のずらし面）
   ========================================================================== */
.sd-photo-offset { position: relative; padding: 0 0 28px 28px; }
.sd-photo-offset::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 70%;
  height: 70%;
  background: #f1ece4;
}
.sd-photo-offset img { position: relative; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ==========================================================================
   TOP：院内紹介カード
   ========================================================================== */
.sd-tour-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px;
  width: 100%;
  margin-top: 36px;
}
.sd-tour-card { display: flex; flex-direction: column; gap: 10px; text-align: left; }
.sd-tour-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.sd-tour-card figcaption { display: flex; flex-direction: column; gap: 4px; }
.sd-tour-card__label {
  padding-left: 16px;
  font-size: 15px;
  font-weight: 700;
  color: #4a3f3a;
  letter-spacing: .12em;
  line-height: 1.5;
}
.sd-tour-card__line { display: flex; align-items: center; width: 62%; max-width: 180px; }
.sd-tour-card__line::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border: 1px solid #4a3f3a;
  border-radius: 50%;
}
.sd-tour-card__line::after { content: ""; flex: 1; height: 1px; background: #4a3f3a; }

/* ==========================================================================
   当院について
   ========================================================================== */
.sd-greeting__sign {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  gap: 16px;
  color: #4a3f3a;
}
.sd-greeting__sign small { font-size: 14px; }
.sd-greeting__sign strong { font-size: 24px; font-weight: 500; letter-spacing: .2em; }
/* SP：見出し（18px）・本文（16px）とのバランスで一段小さく */
@media (max-width: 639px) {
  .sd-greeting__sign strong { font-size: 20px; }
}

.sd-history {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 20px;
  padding-left: 28px;
  border-left: 1px solid #C9BFA8;
}
.sd-history li { position: relative; display: flex; flex-direction: column; gap: 4px; }
.sd-history li::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 9px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #e76746;
}
.sd-history__year {
  font-family: "Cinzel", serif;
  font-size: 24px;
  color: #4a3f3a;
  letter-spacing: .08em;
  line-height: 1.3;
}
.sd-history__text { line-height: 1.7; }
.sd-history-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* 左端の区切り線は -1px ずらして overflow で隠す（項目の「間」にだけ線を出す） */
.sd-policy { width: 100%; margin-top: 36px; overflow: hidden; text-align: left; }
.sd-policy__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  row-gap: 12px;
  margin-left: -1px;
}
.sd-policy__item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px clamp(24px, 3vw, 40px);
  border-left: 1px solid #C9BFA8;
}
.sd-policy__item h3 {
  font-size: 20px;
  font-weight: 500;
  color: #4a3f3a;
  letter-spacing: .1em;
  line-height: 1.5;
}
.sd-policy__item p { font-size: 15px; }

/* ==========================================================================
   診療内容
   ========================================================================== */
.sd-med-intro { gap: 28px; }
.sd-med-intro__lead { max-width: 1000px; }
.sd-med-anchors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr));
  gap: 12px;
  width: 100%;
  max-width: 800px;
}
.sd-med-anchor {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 10px 12px;
  background: #fff;
  color: #4a3f3a;
}
.sd-med-anchor:hover { color: #4a3f3a; }
.sd-med-anchor__name { font-size: 15px; font-weight: 500; letter-spacing: .1em; line-height: 1.5; }
.sd-med-anchor svg { transition: transform .3s ease; }
.sd-med-anchor:hover svg { transform: translateY(4px); }

.sd-med-list { border-top: 1px solid #ddd5c6; }
.sd-med-item {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: 28px clamp(36px, 5vw, 72px);
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid #ddd5c6;
}
.sd-med-item__photo { aspect-ratio: 3 / 2; overflow: hidden; background: #f1ece4; }
.sd-med-item__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .sd-med-item:nth-child(even) .sd-med-item__photo { order: 2; }
}
.sd-med-item__body { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.sd-med-item__head { display: flex; align-items: center; gap: 16px; }
.sd-med-item__title { display: flex; flex-direction: column; gap: 4px; }
.sd-med-item__title h2 {
  font-size: 24px;
  font-weight: 500;
  color: #4a3f3a;
  letter-spacing: .14em;
  line-height: 1.4;
}
.sd-med-item__title span {
  font-family: "Cinzel", serif;
  font-size: 11px;
  letter-spacing: .22em;
  color: #7d7052;
  line-height: 1.2;
}

.sd-reserve {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 28px 48px;
  align-items: center;
  padding: clamp(32px, 5vw, 56px);
  background: #f8f5f4;
  border: 1px solid #e6dfd2;
}
.sd-reserve__text { margin-top: 6px; font-size: 15px; }
.sd-reserve__tel { display: flex; flex-direction: column; gap: 10px; }
.sd-tel-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-radius: 999px;
  background: #e76746;
  color: #fff;
  font-size: clamp(22px, 2.4vw, 26px);
  font-weight: 700;
  line-height: 1.4;
}
.sd-tel-btn:hover { background: #d4573a; color: #fff; }
.sd-reserve__tel small { font-size: 13px; text-align: center; line-height: 1.7; }

/* ==========================================================================
   院内ツアー
   ========================================================================== */
.sd-tour { display: flex; flex-direction: column; gap: clamp(56px, 8vw, 96px); }
.sd-tour__lead { max-width: 40em; margin: 0 auto; text-align: center; }
.sd-tour-group { display: flex; flex-direction: column; gap: 24px; }
.sd-tour-group__text { margin-top: 8px; font-size: 15px; }
.sd-tour-group__photos { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
/* 写真クリックで Lightbox 拡大（見た目の寸法は a 側に持たせる） */
.sd-tour-group__photo {
  flex: none;
  width: calc((100% - 32px) / 3);
  min-width: min(100%, 280px);
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 2px;
  cursor: zoom-in;
}
.sd-tour-group__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   アクセス・診療案内
   ========================================================================== */
.sd-info-list { margin-top: 16px; border-top: 1px solid #ddd5c6; }
.sd-info-list > div {
  display: grid;
  grid-template-columns: 7.5em 1fr;
  gap: 16px;
  padding: 16px 4px;
  border-bottom: 1px solid #ddd5c6;
  line-height: 1.8;
}
.sd-info-list dt { color: #4a3f3a; font-weight: 700; }
/* SP：項目名を上段、内容を下段に */
@media (max-width: 639px) {
  .sd-info-list > div { grid-template-columns: 1fr; gap: 4px; }
}
.sd-access-holiday { margin-top: 8px; font-size: 15px; }
.sd-access-holiday span { color: #4a3f3a; font-weight: 700; }
.sd-access-notice {
  padding: 14px 18px;
  background: #f8f5f4;
  border: 1px solid #e6dfd2;
  font-size: 15px;
}
.sd-access-notice a { color: #e76746; border-bottom: 1px solid #e76746; }

.sd-map {
  height: clamp(300px, 40vw, 440px);
  margin-top: 12px;
  border-radius: 0;
}
.sd-map iframe { filter: grayscale(.25); }

.sd-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 28px 56px;
  align-items: center;
}
.sd-contact__note { font-size: 14px; }
.sd-contact__tel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 22px 24px;
  border-radius: 6px;
  background: #e76746;
  color: #fff;
  line-height: 1.4;
}
.sd-contact__tel:hover { background: #d4573a; color: #fff; }
.sd-contact__tel small { font-size: 14px; font-weight: 700; letter-spacing: .14em; }
.sd-contact__tel strong { font-size: clamp(28px, 3vw, 36px); font-weight: 700; letter-spacing: .06em; }

/* ==========================================================================
   フッター（.footer / .footer-body / .footer-bottom の見た目差分）
   ========================================================================== */
.sd-footer {
  background: #4a3f3a;
  padding: clamp(56px, 8vw, 88px) clamp(20px, 3vw, 40px) 0;
}
@media (max-width: 899px) {
  .sd-footer { padding-bottom: 76px; }
}
.sd-footer .footer-body { padding: 0; }
.sd-footer .footer-body__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(36px, 5vw, 64px);
  max-width: 1400px;
  padding: 0;
}
.sd-footer .footer-body__left,
.sd-footer .footer-body__right { width: auto; }
.sd-footer .footer-body__left { display: flex; flex-direction: column; gap: 22px; }
.sd-footer .footer-body__logo {
  align-self: flex-start;
  height: clamp(64px, 6.6vw, 84px);
  width: auto;
  margin: 0;
  filter: brightness(0) invert(1);
}
.sd-footer__contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px clamp(24px, 3vw, 40px);
}
.sd-footer .footer-body__info {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  color: #e9e3d6;
}
.sd-footer__tel {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: "Quicksand", sans-serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: .06em;
  line-height: 1.3;
}
.sd-footer__tel:hover { color: #C9BFA8; }
.sd-footer__holiday { margin-top: -8px; font-size: 14px; color: #e9e3d6; }
.sd-footer__holiday span { font-weight: 500; color: #fff; }
.sd-footer .footer-body__map {
  width: 100%;
  height: 100%;
  min-height: 340px;
  margin: 0;
  border-radius: 0;
}
.sd-footer .footer-body__map iframe { filter: grayscale(.25); }
.sd-footer .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  max-width: 1400px;
  margin: 48px auto 0;
  padding: 24px 0;
  border-top: 1px solid rgba(201, 191, 168, .35);
  text-align: left;
}
.sd-footer .footer-body__nav { flex-direction: row; gap: 8px 28px; font-size: 14px; }
/* SP：フッターナビは非表示（ハンバーガーメニューで代替） */
@media (max-width: 639px) {
  .sd-footer .footer-body__nav { display: none; }
}
.sd-footer .footer-body__nav-item a {
  color: #fff;
  font-size: 14px;
  transition: color .2s, background .2s, border-color .2s;
}
.sd-footer .footer-body__nav-item a:hover { color: #C9BFA8; }
.sd-footer .footer-bottom__copyright {
  font-family: "Cinzel", serif;
  font-size: 12px;
  letter-spacing: .14em;
  color: #e9e3d6;
}

/* ==========================================================================
   SP固定の電話バー（.sp-fixed-bar の見た目差分）
   ========================================================================== */
.sd-callbar {
  grid-template-columns: 1fr 2fr;
  z-index: 60;
  padding: 0;
  border-top: 0;
  background: #fff;
  box-shadow: 0 -4px 16px rgba(74, 63, 58, .14);
}
@media (max-width: 899px) {
  .sd-callbar { display: grid; }
}
.sd-callbar .sp-fixed-bar__link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 64px;
  padding: 0;
  font-size: inherit;
  font-weight: 700;
  line-height: 1.3;
  transition: color .2s, background .2s, border-color .2s;
}
.sd-callbar .sd-callbar__hours {
  flex-direction: column;
  gap: 2px;
  padding: 10px 4px;
  color: #4a3f3a;
  font-size: 13px;
}
.sd-callbar .sd-callbar__hours:hover { color: #e76746; }
.sd-callbar .sd-callbar__tel {
  gap: 10px;
  background: #e76746;
  color: #fff;
  font-size: 19px;
  letter-spacing: .04em;
}
.sd-callbar .sd-callbar__tel:hover { color: #fff; }
