/* ============================================================
   すみよし歯科医院 新HP スタイルシート（本デザイン・第2段階）
   清潔感のあるブルーを基調とした、親しみやすく先進的な配色。
   構造（HTML/クラス名）はワイヤーフレーム段階から変更せず、
   トークンとコンポーネントの見た目のみを刷新している。
   ============================================================ */

:root {
  /* --- カラー：清潔感のあるブルー --- */
  --c-primary: #1c6fa6;
  --c-primary-dark: #0f3f5f;
  --c-primary-light: #eaf4fb;
  --c-primary-soft: #d2e9f7;
  --c-accent: #4fb3d9;

  --c-bg: #ffffff;
  --c-surface: #f6fafd;
  --c-surface-alt: #eaf4fb;
  --c-border: #dceaf2;
  --c-border-strong: #b9d6e6;

  --c-placeholder-bg: #e4eef5;
  --c-placeholder-border: #a9c9dc;

  --c-text: #33424e;
  --c-text-muted: #6e8393;
  --c-heading: #0f3a57;
  --c-white: #ffffff;

  /* --- タイポグラフィ --- */
  --font-base: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans",
    "Yu Gothic", "Segoe UI", sans-serif;
  --fs-h1: clamp(1.625rem, 1.15rem + 1.8vw, 2.5rem);
  --fs-h2: 1.5rem;
  --fs-h3: 1.2rem;
  --fs-body: 1rem;
  --fs-small: 0.875rem;

  /* --- スペーシング --- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;

  --bp-md: 768px;
  --bp-lg: 1080px;
  --header-h: 72px;

  /* --- 角丸・影 --- */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 4px rgba(15, 58, 87, 0.08);
  --shadow-md: 0 6px 20px rgba(15, 58, 87, 0.12);
  --shadow-lg: 0 12px 32px rgba(15, 58, 87, 0.16);
}

/* ============================================================
   ベース
   ============================================================ */
body {
  font-family: var(--font-base);
  color: var(--c-text);
  background: var(--c-bg);
  font-size: var(--fs-body);
}

/* 電話番号リンクなどの英数字は途中で改行させない（日本語本文の改行には影響しない） */
a[href^="tel:"] {
  word-break: keep-all;
}

h1,
h2,
h3 {
  color: var(--c-heading);
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.01em;
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
}

a {
  transition: color 0.15s ease;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: var(--space-3);
}

@media (min-width: 768px) {
  .container {
    padding-inline: var(--space-5);
  }
}

.section {
  padding-block: var(--space-6);
  border-top: 1px solid var(--c-border);
}

.section:first-of-type {
  border-top: none;
}

.section__title {
  margin-bottom: var(--space-4);
  position: relative;
  padding-left: var(--space-3);
}

@media (max-width: 599px) {
  .section__title {
    font-size: 1.25rem;
  }
}

.section__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  bottom: 0.2em;
  width: 5px;
  border-radius: var(--radius-pill);
  background: var(--c-primary);
}

.section__lead {
  color: var(--c-text);
  max-width: 640px;
  margin-bottom: var(--space-4);
}

/* ============================================================
   プレースホルダー画像／地図
   ============================================================ */
.placeholder-img {
  position: relative;
  width: 100%;
  background-color: var(--c-placeholder-bg);
  background-image: repeating-linear-gradient(
    45deg,
    rgba(15, 58, 87, 0.05) 0,
    rgba(15, 58, 87, 0.05) 2px,
    transparent 2px,
    transparent 12px
  );
  border: 2px dashed var(--c-placeholder-border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.placeholder-img--16x9 {
  aspect-ratio: 16 / 9;
}

.placeholder-img--4x3 {
  aspect-ratio: 4 / 3;
}

.placeholder-img--1x1 {
  aspect-ratio: 1 / 1;
}

.placeholder-img__label {
  font-size: var(--fs-small);
  color: var(--c-text-muted);
  background: var(--c-bg);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill);
  border: 1px solid var(--c-border-strong);
}

/* ============================================================
   実写真（差し替え済み画像）
   ============================================================ */
.photo-img {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--c-surface);
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-img--16x9 {
  aspect-ratio: 16 / 9;
}

.photo-img--4x3 {
  aspect-ratio: 4 / 3;
}

.photo-img--1x1 {
  aspect-ratio: 1 / 1;
}

.photo-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-4);
  box-sizing: border-box;
}

/* 実写真（イラストアイコンと異なり余白なしで敷き詰めて表示） */
.photo-img--cover img {
  object-fit: cover;
  padding: 0;
}

/* 背景を白に統一したイラスト用：枠・背景色・余白をなくしページに溶け込ませる */
.photo-img--seamless {
  background: var(--c-bg);
  border-radius: 0;
}

.photo-img--seamless img {
  padding: 0;
}

.map-embed {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--c-border);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ============================================================
   ヘッダー／グローバルナビ
   ============================================================ */
.site-header {
  background: var(--c-bg);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: var(--header-h);
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--space-3);
}

@media (min-width: 768px) {
  .site-header__inner {
    padding-inline: var(--space-5);
  }
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--c-heading);
  white-space: nowrap;
  flex: none;
}

.site-header__logo-mark {
  width: auto;
  height: 48px;
  object-fit: contain;
  flex: none;
}

.site-header__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.site-header__logo-name {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--c-heading);
}

.site-header__logo-en {
  font-size: 0.65rem;
  color: var(--c-text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

a.site-header__contact {
  display: none;
  flex-shrink: 0;
}

@media (min-width: 1280px) {
  a.site-header__contact {
    display: inline-flex;
  }
}

.global-nav {
  display: none;
}

.global-nav--open {
  display: block;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--c-bg);
  box-shadow: var(--shadow-md);
  border-top: 1px solid var(--c-border);
}

.global-nav__list {
  display: flex;
  flex-direction: column;
}

.global-nav__item {
  border-top: 1px solid var(--c-border);
}

.global-nav__item:first-child {
  border-top: none;
}

.global-nav__link {
  display: block;
  padding: var(--space-3);
  font-size: var(--fs-body);
  color: var(--c-text);
  font-weight: 500;
}

.global-nav__link--active {
  background: var(--c-primary-light);
  color: var(--c-primary);
  font-weight: 700;
  border-left: 4px solid var(--c-primary);
}

@media (min-width: 1280px) {
  .global-nav {
    display: block !important;
    position: static;
    box-shadow: none;
    border-top: none;
    background: none;
  }

  .global-nav__list {
    flex-direction: row;
    gap: var(--space-3);
  }

  .global-nav__item {
    border-top: none;
  }

  .global-nav__link {
    padding: var(--space-2) 0;
    position: relative;
    font-size: 0.9375rem;
  }

  .global-nav__link--active {
    background: none;
    border-left: none;
    color: var(--c-primary);
  }

  .global-nav__link--active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 3px;
    border-radius: var(--radius-pill);
    background: var(--c-primary);
  }
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: var(--radius-md);
  background: var(--c-primary-light);
  align-items: center;
}

.hamburger__line {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: var(--radius-pill);
  background: var(--c-primary-dark);
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.hamburger--open .hamburger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger--open .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger--open .hamburger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 1280px) {
  .hamburger {
    display: none;
  }
}

/* ============================================================
   ページタイトル帯
   ============================================================ */
.page-title {
  background: linear-gradient(135deg, var(--c-primary-light), var(--c-bg) 70%);
  border-bottom: 1px solid var(--c-border);
  padding-block: var(--space-5);
}

.page-title__breadcrumb {
  font-size: var(--fs-small);
  color: var(--c-text-muted);
  margin-bottom: var(--space-1);
}

.page-title__heading {
  font-size: var(--fs-h1);
  font-weight: 800;
}

/* ============================================================
   ヒーロー
   ============================================================ */
.hero {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding-block: var(--space-5);
}

@media (min-width: 1080px) {
  .hero {
    flex-direction: row;
    align-items: center;
    gap: var(--space-6);
    padding-block: var(--space-7);
  }
}

.hero__media {
  flex: 1 1 50%;
}

.hero__body {
  flex: 1 1 50%;
}

.hero__catch {
  font-size: var(--fs-h1);
  font-weight: 800;
  margin-block: var(--space-3);
  color: var(--c-heading);
}

@media (max-width: 767px) {
  .hero__catch {
    font-size: clamp(1rem, 4.5vw, 1.1875rem);
  }
}

@media (min-width: 1080px) {
  .hero__catch {
    font-size: 1.375rem;
  }
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.hero__tag {
  border-radius: var(--radius-pill);
  background: var(--c-primary-soft);
  color: var(--c-primary-dark);
  padding: var(--space-1) var(--space-3);
  font-size: var(--fs-small);
  font-weight: 600;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.hero__ctas .cta-button {
  flex-shrink: 0;
}

/* ============================================================
   CTAボタン
   ============================================================ */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

@media (max-width: 599px) {
  .cta-button {
    font-size: 0.875rem;
    padding-inline: var(--space-3);
    gap: 6px;
  }
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: currentColor;
}

.cta-button--primary {
  background: var(--c-primary);
  color: var(--c-white);
  box-shadow: var(--shadow-sm);
}

.cta-button--primary:hover {
  background: var(--c-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.cta-button--secondary {
  background: var(--c-bg);
  color: var(--c-primary);
  border-color: var(--c-primary-soft);
}

.cta-button--secondary:hover {
  background: var(--c-primary-light);
  border-color: var(--c-primary);
}

.cta-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding-block: var(--space-6);
  border-top: 1px solid var(--c-border);
}

@media (min-width: 600px) {
  .cta-section {
    flex-direction: row;
    justify-content: center;
  }
}

.cta-section .cta-button {
  width: 100%;
  max-width: 340px;
  justify-content: center;
}

@media (min-width: 600px) {
  .cta-section .cta-button {
    flex: 1;
  }
}

/* ============================================================
   カード／カードグリッド
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 600px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1080px) {
  .card-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

/* card-grid内の写真カードと同じ大きさで表示するための単体写真 */
.access-parking-photo {
  margin-inline: 0;
}

@media (min-width: 600px) {
  .access-parking-photo {
    max-width: calc(50% - var(--space-4) / 2);
  }
}

.card {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  background: var(--c-bg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card__image {
  width: 100%;
  border-radius: 0;
  border: none;
}

.card__body {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}

.card__title {
  font-size: var(--fs-h3);
}

.card__text {
  font-size: var(--fs-small);
  color: var(--c-text-muted);
}

.card__link {
  margin-top: auto;
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--c-primary);
}

/* ============================================================
   お知らせ一覧
   ============================================================ */
.notice-list {
  border-top: 1px solid var(--c-border);
}

.notice-list__item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-3);
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--c-border);
}

.notice-list__date {
  font-size: var(--fs-small);
  color: var(--c-text-muted);
  white-space: nowrap;
}

.notice-list__tag {
  font-size: var(--fs-small);
  font-weight: 600;
  background: var(--c-primary-soft);
  color: var(--c-primary-dark);
  border-radius: var(--radius-pill);
  padding: 2px 12px;
  white-space: nowrap;
}

.notice-list__text {
  flex: 1;
  min-width: 200px;
}

/* ============================================================
   医院情報ブロック
   ============================================================ */
.info-block {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}

.info-block__row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  padding-block: var(--space-2);
  border-top: 1px solid var(--c-border);
}

.info-block__row:first-child {
  border-top: none;
  padding-top: 0;
}

.info-block__label {
  flex: 0 0 96px;
  font-weight: 700;
  font-size: var(--fs-small);
  color: var(--c-primary-dark);
}

.info-block__value a {
  color: var(--c-primary);
  font-weight: 700;
}

.info-block__value {
  flex: 1 1 200px;
}

/* ============================================================
   診療時間表
   ============================================================ */
.table-hours-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--c-border);
}

.table-hours {
  width: 100%;
  min-width: 480px;
  font-size: var(--fs-small);
}

.table-hours caption {
  text-align: left;
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.table-hours th,
.table-hours td {
  border: 1px solid var(--c-border);
  padding: var(--space-2) var(--space-3);
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 599px) {
  .table-hours {
    min-width: 0;
    font-size: 0.75rem;
  }

  .table-hours th,
  .table-hours td {
    padding: var(--space-2) 2px;
  }

  .table-hours tbody th {
    padding-left: var(--space-2);
    padding-right: var(--space-2);
  }
}

.table-hours thead th {
  background: var(--c-primary);
  color: var(--c-white);
  font-weight: 700;
  border-color: var(--c-primary);
}

.table-hours tbody th {
  background: var(--c-surface);
  color: var(--c-heading);
  font-weight: 700;
  text-align: left;
}

.table-hours__note {
  margin-top: var(--space-2);
  font-size: var(--fs-small);
  color: var(--c-text-muted);
}

/* ============================================================
   アコーディオン
   ============================================================ */
.accordion {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.accordion__item {
  border-bottom: 1px solid var(--c-border);
}

.accordion__item:last-child {
  border-bottom: none;
}

.accordion__button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-4);
  text-align: left;
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--c-heading);
  background: var(--c-bg);
  transition: background 0.15s ease;
}

.accordion__button:hover {
  background: var(--c-surface);
}

.accordion__button--open {
  background: var(--c-primary-light);
}

.accordion__icon {
  flex: none;
  font-size: 1.4rem;
  color: var(--c-primary);
  transition: transform 0.15s ease;
}

.accordion__button--open .accordion__icon {
  transform: rotate(45deg);
}

.accordion__panel {
  display: none;
  padding: 0 var(--space-4) var(--space-5);
}

.accordion__panel--open {
  display: block;
}

/* ============================================================
   タイムライン
   ============================================================ */
.timeline {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

@media (min-width: 768px) {
  .timeline {
    flex-direction: row;
    align-items: flex-start;
  }
}

.timeline__step {
  flex: 1;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  background: var(--c-bg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-3);
  position: relative;
}

.timeline__connector {
  display: none;
}

@media (min-width: 768px) {
  .timeline__connector {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 24px;
    font-size: var(--fs-h3);
    color: var(--c-primary-soft);
    padding-top: var(--space-5);
  }
}

.timeline__age-badge {
  display: inline-block;
  border-radius: var(--radius-pill);
  background: var(--c-primary);
  color: var(--c-white);
  font-weight: 700;
  font-size: var(--fs-small);
  padding: 3px 14px;
  margin-bottom: var(--space-2);
}

.timeline__image {
  margin-bottom: var(--space-2);
}

.timeline__caption {
  font-size: var(--fs-small);
}

.timeline__current {
  margin-top: var(--space-4);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  background: var(--c-primary-light);
  padding: var(--space-4);
}

.timeline__current-label {
  font-weight: 700;
  color: var(--c-primary-dark);
  margin-bottom: var(--space-2);
}

/* ============================================================
   比較リスト（矯正治療について）
   ============================================================ */
.compare-list {
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  margin-bottom: var(--space-4);
  border: 1px solid var(--c-border);
}

.compare-list--risk {
  background: var(--c-surface);
}

.compare-list--risk .compare-list__title {
  color: var(--c-text-muted);
}

.compare-list--approach {
  background: var(--c-primary-light);
  border-color: var(--c-primary-soft);
}

.compare-list--approach .compare-list__title {
  color: var(--c-primary-dark);
}

.compare-list__title {
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.compare-list__item {
  display: flex;
  gap: var(--space-2);
  padding-block: var(--space-2);
  border-top: 1px dashed var(--c-border-strong);
}

.compare-list__item:first-of-type {
  border-top: none;
}

.compare-list__num {
  flex: none;
  font-weight: 800;
  color: var(--c-primary);
}

/* ============================================================
   治療症例（Before/After）
   ============================================================ */
.case-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.case-photo {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  background: var(--c-bg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.case-photo img {
  display: block;
  width: 100%;
  height: auto;
}

/* ============================================================
   方針リスト／チェックリスト
   ============================================================ */
.policy-list,
.checklist {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  background: var(--c-bg);
  padding: var(--space-4);
}

.policy-list__item,
.checklist__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding-block: var(--space-3);
  border-top: 1px dashed var(--c-border);
}

.policy-list__item:first-child,
.checklist__item:first-child {
  border-top: none;
}

.policy-list__num {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-pill);
  background: var(--c-primary);
  color: var(--c-white);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checklist__mark {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  border: 2px solid var(--c-primary-soft);
  background: var(--c-primary-light);
  margin-top: 2px;
}

/* ============================================================
   本文＋サイド写真レイアウト（小児歯科について／矯正治療について）
   ============================================================ */
.section-photo {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.section-photo__media {
  flex: none;
}

.section-photo__media .placeholder-img {
  max-width: 340px;
}

@media (min-width: 1080px) {
  .section-photo {
    flex-direction: row-reverse;
    align-items: flex-start;
    gap: var(--space-6);
  }

  .section-photo__media {
    flex: 0 0 340px;
  }

  .section-photo__media .placeholder-img {
    max-width: none;
  }

  .section-photo__body {
    flex: 1;
    min-width: 0;
  }
}

/* ============================================================
   歯科医紹介
   ============================================================ */
.staff-profile {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .staff-profile {
    flex-direction: row;
  }

  .staff-profile__photo {
    flex: 0 0 280px;
  }

  .staff-profile__main {
    flex: 1;
  }
}

.staff-profile__name {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-3);
  color: var(--c-heading);
}

.staff-profile__history {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.staff-profile__history-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  padding: var(--space-3);
  border-top: 1px solid var(--c-border);
  font-size: var(--fs-small);
}

.staff-profile__history-row:nth-child(odd) {
  background: var(--c-surface);
}

.staff-profile__history-row:first-child {
  border-top: none;
}

.staff-profile__history-year {
  flex: 0 0 112px;
  font-weight: 700;
  color: var(--c-primary-dark);
  white-space: nowrap;
}

.staff-profile__history-desc {
  flex: 1 1 200px;
}

/* ============================================================
   フッター
   ============================================================ */
.site-footer {
  background: var(--c-primary-dark);
  color: var(--c-white);
  margin-top: var(--space-7);
}

.site-footer__inner {
  max-width: 1080px;
  margin-inline: auto;
  padding: var(--space-6) var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

@media (min-width: 768px) {
  .site-footer__inner {
    padding: var(--space-6) var(--space-5);
    flex-direction: row;
    justify-content: space-between;
  }
}

.site-footer__info {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.82);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.site-footer__clinic-name {
  font-weight: 700;
  font-size: var(--fs-body);
  color: var(--c-white);
  margin-bottom: var(--space-1);
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  font-size: var(--fs-small);
}

.site-footer__nav a {
  color: rgba(255, 255, 255, 0.82);
}

.site-footer__nav a:hover {
  color: var(--c-white);
  text-decoration: underline;
}

.site-footer__copyright {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

/* ============================================================
   ユーティリティ
   ============================================================ */
.is-hidden {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
