@charset "UTF-8";
/* =========================================================
   旭ヶ丘ハート内科クリニック 共通スタイル
   - 変数 / ベース / レイアウト / 共通パーツ
   - 命名規則：BEM（block__element--modifier）
   - レスポンシブ：PCファースト（1024px / 768px / 480px）
   ========================================================= */

/* =========================================================
   変数
   ========================================================= */
:root {
  /* ---------- カラー：文字 ---------- */
  --c-text: #3A2E28;
  --c-text-sub: #4A3C33;
  --c-text-sub2: #6B5D4C;
  --c-note: #8A7A5F;
  --c-note2: #7A6B5B;
  --c-note3: #A2937F;
  --c-disabled: #B9AC98;

  /* ---------- カラー：背景・枠線 ---------- */
  --c-bg-cream: #FBF6EE;
  --c-bg-white: #FFFFFF;
  --c-border: #ECE3D3;
  --c-border-dark: #E2D6C2;
  --c-border-light: #F1E9DC;

  /* ---------- カラー：アクセント ---------- */
  --c-accent: #E0704F;
  --c-accent-text: #C85A38;
  --c-link-hover: #A8442A;
  --c-brand: #690203;
  --c-recruit-bg: #F7E4DE;
  --c-recruit-text: #B03A22;
  --c-line: #06C755;
  --c-line-panel: #8DC63F;

  /* ---------- カラー：カード淡色 ---------- */
  --c-pink: #F6E3D9;
  --c-green: #E4EEE6;
  --c-green-text: #5C8A5E;
  --c-beige: #F6EAD2;
  --c-beige-text: #A07A2E;

  /* ---------- カラー：フッター ---------- */
  --c-footer-bg: #3A2E28;
  --c-footer-text: #F3E9DB;
  --c-footer-text-sub: #C9BCA9;
  --c-footer-text-light: #DCCDB9;
  --c-footer-heading: #E0C8AE;
  --c-footer-border: #55463D;
  --c-footer-caution: #E0A88C;
  --c-footer-strong: #FBF6EE;
  --c-dark-text: #E4D8C7;

  /* ---------- フォント ---------- */
  --ff-heading: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', sans-serif;
  /* 本文は端末のフォント（iPhone・Mac=ヒラギノ／Android=Noto Sans CJK／Windows=メイリオ） */
  --ff-body: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'Noto Sans CJK JP', Meiryo, sans-serif;

  /* ---------- フォントサイズ ---------- */
  --fs-8: 8px;
  --fs-8-5: 8.5px;
  --fs-9-5: 9.5px;
  --fs-10-5: 10.5px;
  --fs-11: 11px;
  --fs-11-5: 11.5px;
  --fs-12: 12px;
  --fs-12-5: 12.5px;
  --fs-13: 13px;
  --fs-13-5: 13.5px;
  --fs-14: 14px;
  --fs-14-5: 14.5px;
  --fs-15: 15px;
  --fs-15-5: 15.5px;
  --fs-16: 16px;
  --fs-16-5: 16.5px;
  --fs-17: 17px;
  --fs-18: 18px;
  --fs-19: 19px;
  --fs-20: 20px;
  --fs-21: 21px;
  --fs-22: 22px;
  --fs-23: 23px;
  --fs-24: 24px;
  --fs-26: 26px;
  --fs-28: 28px;
  --fs-29: 29px;
  --fs-30: 30px;
  --fs-32: 32px;
  --fs-34: 34px;
  --fs-40: 40px;
  --fs-46: 46px;

  /* ---------- 角丸・影 ---------- */
  --radius-pill: 999px;
  --radius-card: 24px;
  --radius-card-sm: 20px;
  --radius-img: 16px;
  --radius-panel: 14px;
  --shadow-reserve: 0 8px 20px rgba(224, 112, 79, .35);
  --shadow-line: 0 8px 20px rgba(6, 199, 85, .28);

  /* ---------- レイアウト ---------- */
  --content-max: 1280px;
  --gutter: 56px;
  --header-h: 90px;
}

@media (max-width: 1024px) {
  :root {
    --gutter: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --gutter: 22px;
    --header-h: 67px;
  }
}

/* =========================================================
   ベース
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}

body {
  margin: 0;
  background: var(--c-bg-white);
  color: var(--c-text);
  font-family: var(--ff-body);
  font-size: var(--fs-15);
  line-height: 1.8;
  font-feature-settings: "palt" 0;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure {
  margin: 0;
}

ul, ol {
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  color: var(--c-accent-text);
  text-decoration: none;
  transition: color .2s, opacity .2s, filter .2s, background-color .2s;
}

a:hover {
  color: var(--c-link-hover);
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

table {
  border-collapse: collapse;
}

/* 背景スクロールロック（ドロワー展開中） */
body.is-locked {
  overflow: hidden;
}

/* 視覚的に非表示（スクリーンリーダー用） */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* WebP出し分け用の <picture>：レイアウト上は中の <img> だけがあるものとして扱う */
.pic {
  display: contents;
}

/* 文章中のリンクは下線で見分けられるようにする（色だけに頼らない） */
main p a:not([class]),
main li a:not([class]) {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 強調文字（オレンジ太字） */
.accent {
  color: var(--c-accent-text);
  font-weight: 700;
}

/* =========================================================
   レイアウト
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* 本文幅 1020px */
.container--md {
  max-width: calc(1020px + var(--gutter) * 2);
}

/* 本文幅 960px */
.container--article {
  max-width: calc(960px + var(--gutter) * 2);
}

/* 本文幅 900px */
.container--sm {
  max-width: calc(900px + var(--gutter) * 2);
}

.section {
  padding: 64px 0 70px;
  background: var(--c-bg-white);
}

.section--cream {
  background: var(--c-bg-cream);
}

.section--dark {
  background: var(--c-footer-bg);
}

@media (max-width: 768px) {
  .section {
    padding: 44px 0 48px;
  }
}

/* =========================================================
   電話番号のルビ（ハイハート / ハイハロー）
   ========================================================= */
.tel-ruby {
  ruby-align: center;
}

.tel-ruby rt {
  font-size: var(--fs-8);
  line-height: 1;
  letter-spacing: -.06em;
  font-weight: 700;
  color: var(--c-note3);
}

/* =========================================================
   ボタン
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .3em;
  min-height: 44px;
  padding: 15px 34px;
  border-radius: var(--radius-pill);
  font-family: var(--ff-heading);
  font-size: var(--fs-15);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
  color: var(--c-text);
  background: var(--c-bg-white);
}

.btn:hover {
  filter: brightness(.92);
}

/* WEB予約（オレンジ） */
.btn--reserve,
.btn--reserve:hover {
  color: #fff;
  background: var(--c-accent);
}

.btn--reserve.btn--shadow {
  box-shadow: var(--shadow-reserve);
}

/* LINE（緑） */
.btn--line,
.btn--line:hover {
  color: #fff;
  background: var(--c-line);
}

.btn--line.btn--shadow {
  box-shadow: var(--shadow-line);
}

/* LINE（黄緑パネル色） */
.btn--line-panel,
.btn--line-panel:hover {
  color: #fff;
  background: var(--c-line-panel);
}

/* 白・枠線 */
.btn--outline,
.btn--outline:hover {
  color: var(--c-text);
  background: var(--c-bg-white);
  border: 1px solid var(--c-border);
}

/* 濃茶 */
.btn--dark,
.btn--dark:hover {
  color: #fff;
  background: var(--c-text);
}

/* ヒーロー用の大きいボタン */
.btn--lg {
  padding: 16px 30px;
  font-size: var(--fs-16);
}

/* 小さいボタン */
.btn--sm {
  padding: 13px 24px;
  font-size: var(--fs-13-5);
}

/* 補足テキスト付き（［初診・再診・変更］） */
.btn__sub {
  font-size: var(--fs-10-5);
}

/* =========================================================
   ヘッダー
   ========================================================= */
.header {
  position: relative;
  z-index: 50;
  background: var(--c-bg-white);
  border-bottom: 1px solid var(--c-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 20px 32px;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  white-space: nowrap;
  color: var(--c-text);
}

.header__brand:hover {
  color: var(--c-text);
  opacity: .85;
}

/* ロゴ（logo.svg を #690203 で着色） */
.header__logo {
  display: block;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--c-brand);
  -webkit-mask: url(/assets/img/logo.svg) center / contain no-repeat;
  mask: url(/assets/img/logo.svg) center / contain no-repeat;
}

.header__name {
  display: flex;
  flex-direction: column;
  line-height: 1.5;
}

.header__name-main {
  font-family: var(--ff-heading);
  font-size: var(--fs-17);
  font-weight: 700;
}

.header__name-sub {
  font-size: var(--fs-11);
  color: var(--c-note);
  letter-spacing: .05em;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.header__nav-list {
  display: flex;
  gap: 16px;
  list-style: none;
}

.header__nav-link {
  display: block;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  font-size: var(--fs-14);
  font-weight: 700;
  color: var(--c-text);
  white-space: nowrap;
}

.header__nav-link:hover {
  color: var(--c-accent-text);
}

.header__nav-link--current {
  color: var(--c-accent-text);
  border-bottom-color: var(--c-accent);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__tel {
  display: flex;
  align-items: center;
  height: 49px;
  padding: 0 18px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-pill);
  font-family: var(--ff-heading);
  font-size: var(--fs-13);
  font-weight: 700;
  color: var(--c-text);
  white-space: nowrap;
}

.header__tel:hover {
  color: var(--c-text);
  background: var(--c-bg-cream);
}

.header__tel .tel-ruby rt {
  margin-bottom: -3px;
}

.header__reserve {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 49px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  background: var(--c-accent);
  font-family: var(--ff-heading);
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  white-space: nowrap;
}

.header__reserve:hover {
  color: #fff;
  filter: brightness(.92);
}

.header__reserve-main {
  font-size: var(--fs-13-5);
}

.header__reserve-sub {
  font-size: var(--fs-9-5);
  letter-spacing: .02em;
}

/* ハンバーガーボタン */
.header__menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -8px;
}

.header__menu-icon,
.header__menu-icon::before,
.header__menu-icon::after {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 1px;
  background: var(--c-text);
}

.header__menu-icon {
  position: relative;
}

.header__menu-icon::before,
.header__menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.header__menu-icon::before {
  top: -7px;
}

.header__menu-icon::after {
  top: 7px;
}

/* ヘッダーのナビは1180px以下でハンバーガーへ切替（PCナビが収まらなくなるため） */
@media (max-width: 1180px) {
  .header__nav {
    display: none;
  }

  .header__menu-btn {
    display: flex;
  }
}

@media (max-width: 768px) {
  .header__inner {
    padding: 16px 20px;
  }

  .header__logo {
    width: 34px;
    height: 34px;
  }

  .header__name-main {
    /* 16px。幅の狭い端末（〜380px）では画面幅に合わせて少し縮め、メニューボタンと重ならないようにする */
    font-size: min(var(--fs-16), 4.2vw);
  }

  .header__name-sub,
  .header__actions {
    display: none;
  }
}

/* =========================================================
   スマホ用 TEL / WEB予約 2ボタン帯（768px以下）
   ========================================================= */
.mobile-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-bar {
    display: flex;
    gap: 10px;
    padding: 12px 20px;
    background: var(--c-bg-white);
    border-bottom: 1px solid var(--c-border);
  }

  .mobile-bar__btn {
    flex: 1;
    min-height: 44px;
    padding: 11px 8px;
    font-size: var(--fs-12-5);
    white-space: nowrap;
  }

  .mobile-bar__btn--tel {
    font-size: var(--fs-13-5);
  }
}

/* =========================================================
   ドロワーメニュー（右からスライド）
   ========================================================= */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  visibility: hidden;
  transition: visibility 0s linear .3s;
}

.drawer.is-open {
  visibility: visible;
  transition: visibility 0s;
}

.drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(58, 46, 40, .45);
  opacity: 0;
  transition: opacity .3s ease;
}

.drawer.is-open .drawer__overlay {
  opacity: 1;
}

.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: min(340px, 86vw);
  height: 100%;
  padding: 16px 22px 32px;
  overflow-y: auto;
  background: var(--c-bg-white);
  transform: translateX(100%);
  transition: transform .3s ease;
}

.drawer.is-open .drawer__panel {
  transform: translateX(0);
}

.drawer__close {
  position: relative;
  align-self: flex-end;
  width: 44px;
  height: 44px;
}

.drawer__close::before,
.drawer__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 2px;
  background: var(--c-text);
}

.drawer__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.drawer__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.drawer__nav-list {
  list-style: none;
  border-top: 1px solid var(--c-border);
}

.drawer__nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 10px 4px;
  border-bottom: 1px solid var(--c-border);
  font-family: var(--ff-heading);
  font-size: var(--fs-15);
  font-weight: 700;
  color: var(--c-text);
}

.drawer__nav-link::after {
  content: "→";
  color: var(--c-accent-text);
}

.drawer__nav-link--current {
  color: var(--c-accent-text);
}

.drawer__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer__btn {
  width: 100%;
  padding: 14px;
  font-size: var(--fs-14);
}

@media (prefers-reduced-motion: reduce) {
  .drawer,
  .drawer__overlay,
  .drawer__panel {
    transition: none;
  }
}

/* =========================================================
   パンくずリスト
   ========================================================= */
.breadcrumb {
  background: var(--c-bg-white);
}

/* ベージュ背景（下のセクションとつなげる場合） */
.breadcrumb--cream {
  background: var(--c-bg-cream);
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  padding-top: 14px;
  list-style: none;
  font-size: var(--fs-12);
  color: var(--c-note);
}

/* 最後の項目（現在のページ）は1行に収め、長いときは「…」で省略する */
.breadcrumb__item:last-child {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.breadcrumb__item:not(:last-child)::after {
  content: ">";
  margin: 0 1em;
}

/* =========================================================
   下層ページ タイトル（ページヒーロー）
   ========================================================= */
.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 360px;  /* 背景のハート（340px）が上下で切れない高さ */
  overflow: hidden;
  padding: 52px 0 44px;
  background: var(--c-bg-white);
  text-align: center;
}

/* 背景の透かしロゴ（logo2.svg） */
.page-hero::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 340px;
  height: 340px;
  transform: translate(-50%, -50%);
  background: var(--c-brand);
  opacity: .08;
  -webkit-mask: url(/assets/img/logo2.svg) center / contain no-repeat;
  mask: url(/assets/img/logo2.svg) center / contain no-repeat;
  pointer-events: none;
}

.page-hero--tall {
  padding: 76px 0 68px;
}

.page-hero--xtall {
  padding: 96px 0 100px;
}

.page-hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.page-hero__en {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-heading);
  font-size: var(--fs-17);
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--c-accent-text);
  text-transform: uppercase;
}

.page-hero__en::before,
.page-hero__en::after {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--c-accent);
}

.page-hero__title {
  font-family: var(--ff-heading);
  font-size: var(--fs-46);
  font-weight: 700;
  line-height: 1.3;
}

.page-hero__lead {
  font-size: var(--fs-15);
  line-height: 2;
  color: var(--c-text-sub2);
}

.page-hero__anchors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  list-style: none;
}

.page-hero__anchor {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 12px 22px;
  border: 1px solid var(--c-border-dark);
  border-radius: var(--radius-pill);
  background: var(--c-bg-white);
  font-family: var(--ff-heading);
  font-size: var(--fs-13-5);
  font-weight: 700;
  line-height: 1.4;
  color: var(--c-text);
}

.page-hero__anchor:hover {
  color: var(--c-text);
  background: var(--c-bg-cream);
}

@media (max-width: 768px) {
  .page-hero,
  .page-hero--tall,
  .page-hero--xtall {
    padding: 40px 0 36px;
  }

  .page-hero {
    min-height: 240px;  /* 背景のハート（220px）が上下で切れない高さ */
  }

  .page-hero::before {
    width: 220px;
    height: 220px;
  }

  .page-hero__en {
    font-size: var(--fs-13);
  }

  .page-hero__en::before,
  .page-hero__en::after {
    width: 24px;
  }

  .page-hero__title {
    font-size: var(--fs-29);
  }

  .page-hero__lead {
    font-size: var(--fs-14);
    text-align: left;
  }

  .page-hero__lead br {
    display: none;
  }

  .page-hero__anchor {
    padding: 10px 16px;
    font-size: var(--fs-13);
  }
}

/* =========================================================
   セクション見出し（英字ラベル＋見出し＋罫線）
   ========================================================= */
.sec-head {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 34px;
}

.sec-head::after {
  content: "";
  flex: 1;
  height: 1px;
  margin-bottom: 12px;
  background: var(--c-border);
}

.section--cream .sec-head::after {
  background: var(--c-border-dark);
}

.sec-head__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sec-head__en {
  font-family: var(--ff-heading);
  font-size: var(--fs-13);
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--c-accent-text);
}

.sec-head__title {
  font-family: var(--ff-heading);
  font-size: var(--fs-30);
  font-weight: 700;
  line-height: 1.4;
}

/* 中央揃え（罫線なし） */
.sec-head--center {
  justify-content: center;
  text-align: center;
}

.sec-head--center::after {
  display: none;
}

.sec-head--center .sec-head__text {
  align-items: center;
  gap: 10px;
}

.sec-head--center .sec-head__en {
  letter-spacing: .2em;
}

.sec-head--center .sec-head__title {
  font-size: var(--fs-32);
}

/* 小見出し（英字なし・罫線あり） */
.sub-head {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  font-family: var(--ff-heading);
  font-size: var(--fs-22);
  font-weight: 700;
  line-height: 1.5;
}

.sub-head::after {
  content: "";
  flex: 1;
  height: 1px;
  margin-bottom: 8px;
  background: var(--c-border);
}

@media (max-width: 768px) {
  .sec-head {
    margin-bottom: 24px;
  }

  .sec-head__en {
    font-size: var(--fs-12);
  }

  .sec-head__title,
  .sec-head--center .sec-head__title {
    font-size: var(--fs-23);
  }

  .sub-head {
    font-size: var(--fs-19);
  }
}

/* =========================================================
   予約パネル（WEB予約 / LINE再診受付）
   ========================================================= */
.reserve-panels {
  display: flex;
  gap: 20px;
}

.reserve-panels--column {
  flex-direction: column;
  gap: 14px;
}

.reserve-panel {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-radius: 18px;
  font-family: var(--ff-heading);
  color: #fff;
}

.reserve-panel:hover {
  color: #fff;
  filter: brightness(.94);
}

.reserve-panel--web {
  background: var(--c-accent);
}

.reserve-panel--line {
  background: var(--c-line-panel);
}

.reserve-panel--lg {
  padding: 22px 26px;
}

.reserve-panel__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.reserve-panel--line .reserve-panel__icon {
  border-radius: 12px;
}

.reserve-panel__title {
  display: block;
  font-size: var(--fs-19);
  font-weight: 700;
  line-height: 1.5;
}

.reserve-panel__text {
  display: block;
  margin-top: 2px;
  font-size: var(--fs-11-5);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .reserve-panels {
    flex-direction: column;
    gap: 8px;
  }

  .reserve-panel,
  .reserve-panel--lg {
    padding: 14px 16px;
    gap: 10px;
    border-radius: var(--radius-panel);
  }

  .reserve-panel__icon {
    width: 32px;
    height: 32px;
  }

  .reserve-panel__title {
    font-size: var(--fs-17);
  }

  .reserve-panel__text {
    font-size: var(--fs-12);
  }
}

/* =========================================================
   注意事項リスト（● 付き）
   ========================================================= */
.note-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.note-list__item {
  position: relative;
  padding: 18px 22px 18px 50px;
  border-radius: var(--radius-panel);
  background: var(--c-bg-white);
  font-size: var(--fs-14-5);
  line-height: 1.95;
  color: var(--c-text-sub);
}

.note-list__item::before {
  content: "●";
  position: absolute;
  top: 18px;
  left: 22px;
  font-size: var(--fs-15);
  font-weight: 700;
  line-height: 1.9;
  color: var(--c-accent);
}

/* クリーム背景の項目 */
.note-list--cream .note-list__item {
  background: var(--c-bg-cream);
}

/* 重要（ピンク背景＋オレンジ枠） */
.note-list .note-list__item--important {
  border: 2px solid var(--c-accent);
  background: var(--c-pink);
  font-weight: 700;
  color: var(--c-text);
}

.note-list__item--large {
  font-size: var(--fs-16);
}

@media (max-width: 768px) {
  .note-list__item {
    padding: 14px 16px 14px 38px;
    font-size: var(--fs-14);
  }

  .note-list__item::before {
    top: 14px;
    left: 16px;
    font-size: var(--fs-13);
  }

  .note-list__item--large {
    font-size: var(--fs-15);
  }
}

/* =========================================================
   タグ（資格・検査名などのピル）
   ========================================================= */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.tag {
  display: inline-block;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  background: var(--c-bg-cream);
  font-size: var(--fs-13-5);
  line-height: 1.5;
  color: var(--c-text-sub);
}

.tag--sm {
  font-size: var(--fs-13);
}

.tag--md {
  font-size: var(--fs-14);
}

/* =========================================================
   お知らせカテゴリラベル
   ========================================================= */
.news-label {
  display: inline-block;
  width: 96px;
  flex-shrink: 0;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--ff-heading);
  font-size: var(--fs-11-5);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  color: var(--c-accent-text);
  background: var(--c-pink);
}

.news-label[hidden] {
  display: none;
}

/* 休診案内（ピンク） */
.news-label--pink {
  color: var(--c-accent-text);
  background: var(--c-pink);
}

/* 健診・お知らせ（グリーン） */
.news-label--green {
  color: var(--c-green-text);
  background: var(--c-green);
}

/* 予防接種（ベージュ） */
.news-label--beige {
  color: var(--c-beige-text);
  background: var(--c-beige);
}

/* =========================================================
   関連ページリンク（あわせてご確認ください）
   ========================================================= */
.related {
  padding: 56px 0;
  background: var(--c-bg-white);
}

.related--cream {
  background: var(--c-bg-cream);
}

.related__title {
  margin-bottom: 22px;
  font-family: var(--ff-heading);
  font-size: var(--fs-19);
  font-weight: 700;
  text-align: center;
}

.related__list {
  display: flex;
  gap: 20px;
  list-style: none;
}

.related__item {
  flex: 1;
}

.related__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
  padding: 26px 28px;
  border-radius: var(--radius-card-sm);
  background: var(--c-bg-cream);
  color: var(--c-text);
}

.related--cream .related__card {
  background: var(--c-bg-white);
}

.related__card:hover {
  color: var(--c-text);
  filter: brightness(.97);
}

.related__card-title {
  display: block;
  font-family: var(--ff-heading);
  font-size: var(--fs-17);
  font-weight: 700;
}

.related__card-text {
  display: block;
  margin-top: 6px;
  font-size: var(--fs-13);
  color: var(--c-text-sub2);
}

.related__arrow {
  font-family: var(--ff-heading);
  font-size: var(--fs-18);
  font-weight: 700;
  color: var(--c-accent-text);
}

@media (max-width: 768px) {
  .related {
    padding: 40px 0;
  }

  .related__list {
    flex-direction: column;
    gap: 10px;
  }

  .related__card {
    padding: 18px 20px;
  }
}

/* =========================================================
   フッター
   ========================================================= */
.footer {
  padding: 52px 0 26px;
  background: var(--c-footer-bg);
  color: var(--c-footer-text);
}

.footer__top {
  display: flex;
  align-items: flex-start;
  gap: 56px;
}

.footer__info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-shrink: 0;
}

.footer__name {
  font-family: var(--ff-heading);
  font-size: var(--fs-20);
  font-weight: 700;
}

.footer__name-link,
.footer__name-link:hover {
  color: inherit;
  text-decoration: none;
}

.footer__name-link:hover {
  opacity: .85;
}

.footer__address {
  font-size: var(--fs-13);
  font-style: normal;
  line-height: 1.9;
  color: var(--c-footer-text-sub);
}

.footer__tels {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-family: var(--ff-heading);
  font-size: var(--fs-19);
  font-weight: 700;
  line-height: 1;
  color: var(--c-footer-strong);
}

.footer__tel {
  color: inherit;
}

.footer__tel:hover {
  color: inherit;
  opacity: .85;
}

.footer__tels .tel-ruby rt {
  font-size: var(--fs-8-5);
  color: var(--c-footer-heading);
}

.footer__btns {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.footer__btn {
  padding: 13px 20px;
  font-size: var(--fs-13);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col--menu {
  flex-shrink: 0;
}

.footer__col--hours {
  flex: 1;
  min-width: 0;
}

.footer__heading {
  font-family: var(--ff-heading);
  font-size: var(--fs-11-5);
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--c-footer-heading);
}

.footer__menu {
  display: flex;
  flex-direction: column;
  gap: 11px;
  list-style: none;
  font-size: var(--fs-13-5);
  line-height: 1.6;
}

.footer__menu-link {
  color: var(--c-footer-text);
}

.footer__menu-link:hover {
  color: var(--c-footer-heading);
}

.footer__hours {
  border-top: 1px solid var(--c-footer-border);
}

.footer__hours-row {
  display: flex;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--c-footer-border);
  font-size: var(--fs-13-5);
}

.footer__hours-row:last-child {
  border-bottom: 0;
}

.footer__hours-label {
  width: 52px;
  flex-shrink: 0;
  font-family: var(--ff-heading);
  font-weight: 700;
  line-height: 1.9;
  color: var(--c-footer-strong);
}

.footer__hours-text {
  line-height: 1.9;
  color: var(--c-footer-text-light);
}

.footer__caution {
  color: var(--c-footer-caution);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--c-footer-border);
  font-size: var(--fs-12-5);
}

.footer__sitemap {
  color: var(--c-footer-heading);
}

.footer__sitemap:hover {
  color: var(--c-footer-text);
}

.footer__copy {
  color: var(--c-note3);
}

@media (max-width: 1024px) {
  .footer__top {
    flex-wrap: wrap;
    gap: 36px 56px;
  }

  .footer__col--hours {
    flex-basis: 100%;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 32px 0 44px;
  }

  .footer__top {
    flex-direction: column;
    gap: 26px;
  }

  .footer__info {
    gap: 12px;
    width: 100%;
  }

  .footer__name {
    font-size: var(--fs-19);
  }

  .footer__address {
    font-size: var(--fs-12);
  }

  .footer__tels {
    flex-direction: column;
    gap: 14px;
    font-size: var(--fs-16);
  }

  .footer__btns {
    flex-direction: column;
    gap: 9px;
    margin-top: 4px;
  }

  .footer__btn {
    width: 100%;
    padding: 14px;
    font-size: var(--fs-15-5);
  }

  .footer__btn .btn__sub {
    font-size: var(--fs-12-5);
  }

  .footer__col {
    width: 100%;
    gap: 10px;
  }

  .footer__menu {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 18px;
    font-size: var(--fs-13);
  }

  .footer__hours-row {
    gap: 14px;
    padding: 11px 0;
    font-size: var(--fs-12-5);
  }

  .footer__hours-label {
    width: 44px;
  }

  .footer__caution {
    display: block;
  }

  .footer__bottom {
    margin-top: 26px;
    padding-top: 16px;
    font-size: var(--fs-11-5);
  }
}

/* =========================================================
   スクロールでふわっと表示（main.js が画面外の要素にだけ付与）
   ========================================================= */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
  transition-delay: var(--fade-delay, 0s);
}

.fade-in.is-inview {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================================================
   お知らせ 読込中（スケルトン）・エラー
   ========================================================= */
.skeleton {
  display: block;
  height: 1em;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--c-border-light) 25%, var(--c-bg-cream) 50%, var(--c-border-light) 75%);
  background-size: 200% 100%;
  animation: skeleton 1.2s ease-in-out infinite;
}

.skeleton--w50 { width: 50%; }
.skeleton--w60 { width: 60%; }
.skeleton--w75 { width: 75%; }

@keyframes skeleton {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .skeleton {
    animation: none;
  }
}

.news-error {
  padding: 20px 0;
  font-size: var(--fs-14);
  line-height: 1.9;
  color: var(--c-text-sub2);
}

.news-error a {
  font-weight: 700;
}
