@charset "UTF-8";

/* ==========================================================
   内田クリニック サイト共通スタイル
   ========================================================== */

:root {
  --navy: #16436e;
  --navy-dark: #0e3153;
  --blue: #2e6da4;
  --blue-light: #eaf2f9;
  --accent: #3d8bd4;
  --text: #26333f;
  --text-weak: #5c6b78;
  --bg: #ffffff;
  --bg-soft: #f4f8fb;
  --border: #d9e4ee;
  --alert: #b3541e;
  --alert-bg: #fdf3ec;
  --green: #a8cf63;
  --green-dark: #2e7d5f;
  --green-bg: #eef6e0;
  --radius: 10px;
  --shadow: 0 2px 14px rgba(22, 67, 110, 0.08);
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic",
    Meiryo, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.9;
  font-size: 16px;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

p,
li,
dd {
  text-wrap: pretty;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: opacity 0.2s, color 0.2s, background-color 0.2s;
}

a:hover {
  opacity: 0.85;
}

ul,
ol {
  list-style: none;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ----------------------------------------------------------
   ヘッダー
   ---------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

/* 法人ロゴの緑と看板の青をつなぐアクセントライン */
.site-header::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--navy-dark), var(--blue) 55%, var(--green));
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 74px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--navy);
}

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.brand:hover {
  opacity: 1;
}

.brand-corp {
  font-size: 11px;
  color: var(--text-weak);
  letter-spacing: 0.08em;
}

.brand-name {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.global-nav {
  margin-left: auto;
}

.global-nav ul {
  display: flex;
  gap: 1px;
}

.global-nav a {
  display: block;
  padding: 8px 9px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  border-radius: 6px;
  white-space: nowrap;
}

.global-nav a:hover {
  background: var(--blue-light);
  color: var(--navy);
  opacity: 1;
}

.global-nav a.is-current {
  color: var(--navy);
  font-weight: 700;
  position: relative;
}

.global-nav a.is-current::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 46px;
  height: 46px;
  padding: 10px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* PC：1段構成（ロゴ＋6項目ナビ）。「先生方へ」「受ける方へ」はヒーローとモバイルメニューに置く */
@media (min-width: 961px) {
  .global-nav .nav-sp-only {
    display: none;
  }

  .global-nav ul {
    gap: 4px;
  }

  .global-nav a {
    padding: 9px 13px;
    font-size: 14px;
  }

  .global-nav a.is-current::after {
    left: 13px;
    right: 13px;
    bottom: 3px;
  }
}

/* ----------------------------------------------------------
   ヒーロー（トップ）
   ---------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(14, 49, 83, 0.88) 0%,
    rgba(14, 49, 83, 0.6) 45%,
    rgba(14, 49, 83, 0.18) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 80px 20px;
  width: 100%;
}

.hero-catch {
  font-size: clamp(26px, 4.2vw, 42px);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 14px rgba(14, 49, 83, 0.4);
}

.hero-lead {
  margin-top: 18px;
  font-size: clamp(14px, 1.8vw, 17px);
  font-weight: 500;
  max-width: 560px;
  text-shadow: 0 1px 8px rgba(14, 49, 83, 0.5);
  text-align: justify;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ヒーローの2ボタンは同じ幅に揃える */
.hero .hero-actions .btn {
  min-width: 236px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: 2px solid transparent;
}

.btn-primary {
  background: #fff;
  color: var(--navy);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  opacity: 1;
}

.btn-navy {
  background: var(--navy);
  color: #fff;
}

.btn-navy:hover {
  background: var(--blue);
  opacity: 1;
}

/* ----------------------------------------------------------
   サブページヘッダー
   ---------------------------------------------------------- */

.page-header {
  background: linear-gradient(105deg, var(--navy-dark), var(--blue));
  color: #fff;
  padding: 54px 0 46px;
}

.page-header .page-title {
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 900;
  letter-spacing: 0.12em;
}

.page-header .page-title-en {
  display: block;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 6px;
}

.breadcrumb {
  padding: 12px 0;
  font-size: 12.5px;
  color: var(--text-weak);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.breadcrumb li + li::before {
  content: "›";
  margin-right: 6px;
  color: var(--border);
}

/* ----------------------------------------------------------
   セクション共通
   ---------------------------------------------------------- */

.section {
  padding: 72px 0;
}

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

.section-title {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 900;
  color: var(--navy);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.section-title .en {
  display: block;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.section-lead {
  color: var(--text-weak);
  margin-bottom: 36px;
  max-width: 720px;
}

.heading-2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  border-left: 5px solid var(--accent);
  padding-left: 14px;
  margin: 44px 0 18px;
  line-height: 1.5;
}

.heading-3 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--navy);
  margin: 28px 0 10px;
}

.note {
  font-size: 13.5px;
  color: var(--text-weak);
}

.text-block p + p {
  margin-top: 1em;
}

.clinic-features {
  margin-top: 8px;
}

.clinic-features p + .heading-2 {
  margin-top: 40px;
}

.clinic-closing {
  margin-top: 32px;
}

/* ----------------------------------------------------------
   お知らせ
   ---------------------------------------------------------- */

.news-list {
  border-top: 1px solid var(--border);
}

.news-list > li {
  border-bottom: 1px solid var(--border);
}

.news-item {
  display: flex;
  gap: 20px;
  padding: 18px 8px;
  align-items: baseline;
}

.news-tag {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--green-dark);
  background: var(--green-bg);
  border-radius: 4px;
  padding: 2px 10px;
  min-width: 68px;
  text-align: center;
}

.news-tag.is-important {
  color: #fff;
  background: var(--alert);
}

.news-body {
  font-size: 15px;
}

.news-body a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 重要なお知らせ（開閉式） */

.notice-alert {
  background: var(--alert-bg);
  border: 1px solid #eccdb5;
  border-radius: var(--radius);
  margin: 28px 0 40px;
  overflow: hidden;
}

.notice-alert summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 700;
  color: var(--alert);
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
}

.notice-alert summary::-webkit-details-marker {
  display: none;
}

.notice-alert summary::before {
  content: "！";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--alert);
  color: #fff;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.notice-alert summary::after {
  content: "＋ 詳細";
  margin-left: auto;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-weak);
  flex-shrink: 0;
}

.notice-alert[open] summary::after {
  content: "－ 閉じる";
}

.notice-alert .notice-detail {
  padding: 20px 24px 22px;
  font-size: 14.5px;
  border-top: 1px dashed #eccdb5;
  margin-top: 0;
}

.notice-alert .notice-detail p + p {
  margin-top: 0.8em;
}

.notice-signature {
  text-align: right;
  margin-top: 1.2em;
  font-weight: 500;
}

/* 予約区分の説明 */
.reserve-list {
  display: grid;
  gap: 12px;
  margin-bottom: 36px;
}

.reserve-item {
  display: flex;
  gap: 14px;
  align-items: baseline;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 14.5px;
  box-shadow: var(--shadow);
}

.reserve-item > span:last-child {
  flex: 1;
}

.reserve-badge {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--navy);
  border-radius: 6px;
  padding: 3px 14px;
  white-space: nowrap;
}

.reserve-badge.is-tel {
  background: var(--green-dark);
}

/* ----------------------------------------------------------
   カード
   ---------------------------------------------------------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  color: var(--text);
  display: flex;
  flex-direction: column;
}

a.card:hover {
  opacity: 1;
  box-shadow: 0 6px 22px rgba(22, 67, 110, 0.16);
  transform: translateY(-2px);
  transition: box-shadow 0.25s, transform 0.25s;
}

.card-img {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 20px 22px 24px;
  flex: 1;
}

.card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

a.card .card-title::after {
  content: "→";
  margin-left: auto;
  color: var(--accent);
  font-weight: 400;
}

.card-text {
  font-size: 13.5px;
  color: var(--text-weak);
  line-height: 1.8;
}

/* ----------------------------------------------------------
   2カラム（写真＋文章）
   ---------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split-img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ----------------------------------------------------------
   診察時間テーブル
   ---------------------------------------------------------- */

.hours-wrap {
  overflow-x: auto;
}

.hours-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: #fff;
  font-size: 15px;
}

.hours-table caption {
  text-align: left;
  font-weight: 700;
  color: var(--navy);
  font-size: 16.5px;
  margin-bottom: 10px;
}

.hours-table th,
.hours-table td {
  border: 1px solid var(--border);
  padding: 12px 8px;
  text-align: center;
}

.hours-table thead th {
  background: var(--navy);
  color: #fff;
  font-weight: 500;
  font-size: 14px;
}

.hours-table tbody th {
  background: var(--blue-light);
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.hours-table .ok {
  color: var(--blue);
  font-weight: 700;
}

.hours-table .ng {
  color: #c0ccd6;
}

.hours-notes {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--text-weak);
}

.hours-notes li {
  padding-left: 1.2em;
  text-indent: -1.2em;
}

.hours-notes li::before {
  content: "※ ";
}

/* ----------------------------------------------------------
   検査の流れ（ステップ）
   ---------------------------------------------------------- */

.flow {
  counter-reset: step;
  display: grid;
  gap: 0;
}

.flow-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px 24px 86px;
  box-shadow: var(--shadow);
}

.flow-step + .flow-step {
  margin-top: 34px;
}

.flow-step + .flow-step::before {
  content: "";
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  border: 11px solid transparent;
  border-top-color: var(--accent);
}

.flow-step::after {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 24px;
  top: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.flow-text {
  font-size: 14.5px;
}

/* ----------------------------------------------------------
   定義テーブル（概要など）
   ---------------------------------------------------------- */

.def-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.def-table th,
.def-table td {
  border: 1px solid var(--border);
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
  font-size: 15px;
}

.def-table th {
  background: var(--blue-light);
  color: var(--navy);
  width: 190px;
  font-weight: 700;
  white-space: nowrap;
}

.section-title + .def-table {
  margin-top: 28px;
}

/* ----------------------------------------------------------
   リスト
   ---------------------------------------------------------- */

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--green-dark);
  transform: rotate(45deg);
}

.asterisk-note {
  font-size: 13.5px;
  color: var(--text-weak);
  padding-left: 1.3em;
  text-indent: -1.3em;
}

.dot-list {
  margin: 6px 0;
}

.dot-list li {
  position: relative;
  padding-left: 1.2em;
}

.dot-list li::before {
  content: "・";
  position: absolute;
  left: 0;
}

.sub-block {
  margin-top: 1em;
  padding-left: 16px;
  border-left: 3px solid var(--border);
}

.nowrap {
  white-space: nowrap;
}

.welfare-note {
  margin-top: 14px;
}

.welfare-note p + p {
  margin-top: 0.6em;
}

/* ----------------------------------------------------------
   設備紹介
   ---------------------------------------------------------- */

.equipment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 72px;
}

.equipment:last-child {
  margin-bottom: 0;
}

.equipment.is-reverse .equipment-img {
  order: 2;
}

.equipment-img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.equipment-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #fff;
  background: var(--accent);
  border-radius: 4px;
  padding: 3px 12px;
  margin-bottom: 12px;
}

.equipment-name {
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 4px;
}

.equipment-model {
  font-size: 13.5px;
  color: var(--text-weak);
  margin-bottom: 16px;
}

.equipment-body {
  font-size: 14.5px;
}

.equipment-body p + p {
  margin-top: 0.9em;
}

/* ----------------------------------------------------------
   FAQ
   ---------------------------------------------------------- */

.faq-group {
  margin-top: 56px;
}

.faq-toc {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px 20px;
  margin-bottom: 8px;
}

.faq-toc-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--text-weak);
  margin-bottom: 14px;
}

.faq-toc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 32px;
}

.faq-toc-head {
  display: block;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  border-left: 4px solid var(--accent);
  padding-left: 10px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.faq-toc-head:hover {
  color: var(--accent);
}

.faq-toc-group ul {
  list-style: none;
  padding-left: 14px;
}

.faq-toc-group li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 6px;
  font-size: 14.5px;
  line-height: 1.6;
}

.faq-toc-group li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: translateY(-50%) rotate(-45deg);
}

.faq-toc-group a:not(.faq-toc-head) {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.faq-toc-group a:not(.faq-toc-head):hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-q {
  padding: 20px 22px 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  gap: 14px;
  align-items: baseline;
  line-height: 1.6;
  text-wrap: pretty;
}

.faq-q::before {
  content: "Q";
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 900;
  color: var(--accent);
}

.faq-answer {
  padding: 4px 22px 22px 54px;
  font-size: 14.5px;
  position: relative;
}

.faq-answer::before {
  content: "A";
  position: absolute;
  left: 23px;
  top: 2px;
  font-size: 18px;
  font-weight: 900;
  color: var(--alert);
}

.faq-answer p + p {
  margin-top: 0.8em;
}

/* ----------------------------------------------------------
   アクセス
   ---------------------------------------------------------- */

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin: 28px 0;
}

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

/* ----------------------------------------------------------
   CTA帯
   ---------------------------------------------------------- */

.cta-band {
  background: linear-gradient(105deg, var(--navy-dark), var(--blue));
  color: #fff;
  padding: 56px 0;
  text-align: center;
}

.cta-band .cta-title {
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.cta-band .cta-text {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 26px;
}

.cta-band .tel-big {
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #fff;
  display: inline-block;
}

.cta-band .tel-big small {
  font-size: 0.5em;
  font-weight: 500;
  margin-right: 8px;
}

.cta-fax {
  font-size: 18px;
  font-weight: 700;
  opacity: 0.95;
  margin-top: 10px;
  letter-spacing: 0.04em;
}

/* ----------------------------------------------------------
   トップへ戻るボタン
   ---------------------------------------------------------- */

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--navy);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(14, 49, 83, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s,
    background-color 0.2s;
}

.to-top::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 55%;
  width: 12px;
  height: 12px;
  border-top: 3px solid #fff;
  border-left: 3px solid #fff;
  transform: translate(-50%, -50%) rotate(45deg);
  border-radius: 2px;
}

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

.to-top:hover {
  background: var(--blue);
}

/* ----------------------------------------------------------
   フッター
   ---------------------------------------------------------- */

.site-footer {
  background: var(--navy-dark);
  color: #cfdeeb;
  padding: 56px 0 0;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}

.footer-logo {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff;
  margin-bottom: 14px;
}

.footer-brand .brand-name {
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.1em;
  display: block;
}

.footer-brand .brand-corp {
  font-size: 12px;
  opacity: 0.8;
  color: #fff;
}

.footer-brand address {
  font-style: normal;
  margin-top: 14px;
  line-height: 1.9;
}

.footer-heading {
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

.footer-nav li {
  margin-bottom: 8px;
}

.footer-nav a {
  color: #cfdeeb;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-hours {
  font-size: 13px;
  line-height: 1.9;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 18px 0;
  text-align: center;
  font-size: 12px;
  opacity: 0.7;
}

/* ----------------------------------------------------------
   イラストカード（ホームの案内カード：検査を受ける方へ／ドック）
   ---------------------------------------------------------- */

.card-img.is-illustration {
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-img.is-illustration img {
  width: auto;
  height: auto;
  max-width: 62%;
  max-height: 82%;
  object-fit: contain;
}

/* ----------------------------------------------------------
   当院について（クリニック概要：院長メッセージ）
   ---------------------------------------------------------- */

.message-catch {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
}

.message-photo {
  margin: 0 0 28px;
}

.message-photo img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.message-quote {
  margin: 1.6em 0;
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--accent);
  font-weight: 600;
  color: var(--navy);
}

/* ----------------------------------------------------------
   検査を受ける方へ：当日の検査の流れ（写真つきステップ）
   ---------------------------------------------------------- */

.exam-flow {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.exam-flow-step {
  position: relative;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px 26px;
  box-shadow: var(--shadow);
}

.exam-flow-step .step-num {
  position: absolute;
  top: -14px;
  left: 24px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  padding: 5px 16px;
  border-radius: 999px;
}

.exam-flow-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.exam-flow-body {
  font-size: 14.5px;
}

.exam-flow-body p + p {
  margin-top: 0.6em;
}

/* ----------------------------------------------------------
   ドックの料金カード
   ---------------------------------------------------------- */

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 26px;
}

.price-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
}

.price-amount {
  font-size: 34px;
  font-weight: 900;
  color: var(--accent);
  margin: 6px 0 16px;
}

.price-amount small {
  font-size: 15px;
  font-weight: 500;
  margin-left: 4px;
  color: var(--text);
}

/* ----------------------------------------------------------
   強み3点（ドック）
   ---------------------------------------------------------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 22px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 13.5px;
  color: var(--text-weak);
}

/* ----------------------------------------------------------
   写真キャプション（アクセス：駐車場俯瞰写真など）
   ---------------------------------------------------------- */

.photo-figure img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
}

.photo-caption {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--text-weak);
  text-align: center;
}

/* ----------------------------------------------------------
   クリックで拡大表示（第2駐車場案内図）
   ---------------------------------------------------------- */

.figure-zoom {
  max-width: 420px;
}

.zoom-trigger {
  appearance: none;
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  font: inherit;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  cursor: zoom-in;
}

.zoom-trigger img {
  width: 100%;
  display: block;
}

.zoom-hint {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(14, 49, 83, 0.82);
  color: #fff;
  font-size: 11.5px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.lightbox-dialog {
  /* サイト共通の「* { margin: 0 }」がdialog標準の中央寄せ（margin: auto）を
     打ち消すため、中央配置を明示する */
  position: fixed;
  inset: 0;
  margin: auto;
  border: none;
  border-radius: var(--radius);
  padding: 0;
  width: fit-content;
  height: fit-content;
  max-width: 92vw;
  max-height: 92vh;
  background: #fff;
  box-shadow: 0 20px 60px rgba(14, 49, 83, 0.35);
}

.lightbox-dialog::backdrop {
  background: rgba(14, 49, 83, 0.72);
}

.lightbox-dialog img {
  display: block;
  width: auto;
  height: auto;
  max-width: 92vw;
  max-height: 88vh;
  background: #fff;
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(14, 49, 83, 0.85);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

/* ----------------------------------------------------------
   レスポンシブ
   ---------------------------------------------------------- */

@media (max-width: 960px) {
  .global-nav {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(22, 67, 110, 0.12);
    transform: translateY(-130%);
    transition: transform 0.3s ease;
    margin-left: 0;
  }

  .global-nav.is-open {
    transform: translateY(0);
  }

  .global-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 12px 20px 20px;
  }

  .global-nav a {
    padding: 13px 10px;
    border-bottom: 1px solid var(--bg-soft);
    font-size: 15.5px;
  }

  .global-nav a.is-current::after {
    display: none;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .nav-toggle.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .split,
  .equipment {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .equipment.is-reverse .equipment-img {
    order: 0;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .price-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .exam-flow-step {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .brand {
    gap: 8px;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: 19px;
  }

  .to-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }

  .section {
    padding: 52px 0;
  }

  .hero {
    min-height: 440px;
  }

  .hero-inner {
    padding: 60px 20px;
  }

  .news-item {
    flex-wrap: wrap;
    gap: 8px 14px;
  }

  .news-body {
    width: 100%;
  }

  .flow-step {
    padding: 74px 20px 20px 20px;
  }

  .flow-step::after {
    left: 20px;
    top: 18px;
  }

  .def-table th {
    width: auto;
    white-space: normal;
  }

  .def-table th,
  .def-table td {
    display: block;
    border-top: none;
  }

  .def-table tr:first-child th {
    border-top: 1px solid var(--border);
  }

  .faq-toc {
    padding: 18px 18px 14px;
  }

  .faq-toc-grid {
    grid-template-columns: 1fr;
  }

  .faq-answer {
    padding-left: 22px;
    padding-top: 30px;
  }

  .faq-answer::before {
    top: 4px;
  }
}
