@charset "UTF-8";
/* ==========================================================================
   シルバーファーン東京クリニック
   - 命名: l-（レイアウト） c-（部品） p-（ページ固有） u-（補助）
   - ブレークポイント: タブレット 〜840px / スマホ 〜540px
   ========================================================================== */

/* --------------------------------------------------------------------------
   設定（色・文字・余白）
   -------------------------------------------------------------------------- */
:root {
  --c-green: #244743;          /* メインの深緑 */
  --c-green-2: #246961;        /* グラデーションの明るい側 */
  --c-green-hover: #008a7a;    /* ホバー時のグラデーション */
  --c-text: #24292b;
  --c-gray: #a5a5a5;
  --c-blue: #41aad3;
  --c-blue-light: #98d1e7;
  --c-blue-pale: #dfeff6;
  --c-sky: #ecf7fc;
  --c-beige: #e6d2c0;
  --c-cream: #f4f2e9;
  --c-cream-2: #faf9f4;
  --c-sand: #e7e4d6;

  --g-main: linear-gradient(135deg, var(--c-green) 0%, var(--c-green-2) 100%);
  --g-main-hover: linear-gradient(135deg, var(--c-green) 0%, var(--c-green-hover) 100%);
  --g-blue: linear-gradient(45deg, var(--c-blue) 0%, var(--c-blue-light) 100%);
  --g-blue-pale: linear-gradient(135deg, var(--c-blue-pale) 0%, var(--c-blue-light) 100%);
  --g-beige: linear-gradient(135deg, var(--c-beige) 0%, #fff 100%);
  --g-sky: linear-gradient(45deg, var(--c-sky) 0%, #fff 100%);

  --f-ui: "Zen Kaku Gothic New", sans-serif;   /* 見出し・ボタン・メニュー */
  --f-body: "Noto Sans JP", sans-serif;         /* 本文 */
  --f-en: "Outfit", sans-serif;                 /* 英字・数字 */

  --header-h: 72px;
  --gutter: 40px;              /* 画面端の余白 */
  --shadow: 0 0 12px rgba(0, 0, 0, .05);
  --ease: .6s;
}
@media (max-width: 840px) {
  :root { --gutter: 24px; }
}
@media (max-width: 540px) {
  :root { --header-h: 64px; --gutter: 20px; }
}

/* --------------------------------------------------------------------------
   基本
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: #fff;
  overflow-x: clip;
  word-spacing: 1px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, hgroup { margin: 0; }
h1, h2, h3, h4 { font-weight: inherit; font-size: inherit; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; vertical-align: top; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
small { font-size: inherit; }
.is-menu-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   アイコン（site/_includes/icons の SVG）
   -------------------------------------------------------------------------- */
.c-icon { width: 1em; height: 1em; flex: none; display: block; }
.c-icon--grad { fill: url(#grad-main); }
.c-icon--insta { fill: url(#grad-insta); }
.u-svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* 画面には出さず、読み上げ・検索エンジン向けに残す（見出しなど） */
.u-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;
}

/* --------------------------------------------------------------------------
   メニューのリンク（ヘッダー・フッター・スマホメニュー共通）
   -------------------------------------------------------------------------- */
.c-nav { display: flex; gap: 8px; }
.c-nav__link {
  display: block;
  padding: 6px 8px;
  border-radius: 8px 8px 8px 0;
  font-family: var(--f-ui);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: var(--c-text);
  transition: background var(--ease), color var(--ease);
}
.c-nav__link:hover { background: var(--g-main-hover); color: #fff; }

/* --------------------------------------------------------------------------
   ボタン（ご予約・お問い合わせ、スマホメニュー）
   -------------------------------------------------------------------------- */
.c-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 240px;
  height: 64px;
  border-radius: 40px 40px 40px 0;
  font-family: var(--f-ui);
  font-size: 20px;
  line-height: 1.4;
  transition: background var(--ease), color var(--ease);
}
.c-btn .c-icon { font-size: 20px; }
.c-btn--web { background: var(--g-main); color: #fff; border: 2px solid #fff; }
.c-btn--web:hover { background: var(--g-main-hover); }
.c-btn--flat { border: 0; }
.c-btn--tel { background: var(--g-sky); color: var(--c-green); }
.c-btn--tel:hover { background: var(--g-main-hover); color: #fff; }
.c-btn--tel:hover .c-icon--grad { fill: #fff; }
.c-btn--beige { background: var(--g-beige); }
.c-btn__tel { display: flex; flex-direction: column; }
.c-btn__tel-label { font-size: 12px; font-weight: 700; line-height: 1.4; }
.c-btn__tel-num { font-family: var(--f-en); font-size: 18px; font-weight: 600; line-height: 1.4; }

/* メニューボタン（ヘッダー右上・スマホメニューの閉じる） */
.c-menu-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 0 0 0 24%;
  background: var(--g-main);
  color: var(--c-cream-2);
  font-family: var(--f-ui);
  font-size: 12px;
  line-height: 1.4;
}
.c-menu-btn .c-icon { font-size: 24px; }
@media (max-width: 540px) {
  .c-menu-btn { width: 64px; height: 64px; }
}

/* --------------------------------------------------------------------------
   ヘッダー
   -------------------------------------------------------------------------- */
.l-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding-left: 40px;
  background: #fff;
  box-shadow: 0 0 15px rgba(0, 0, 0, .05);
}
.l-header__logo img { display: block; width: 422px; }
.l-header__right { display: flex; align-items: center; gap: 24px; height: 100%; }
.l-header__cta { display: flex; height: 100%; }
.l-header__web,
.l-header__tel { display: flex; align-items: center; justify-content: center; gap: 6px; height: 100%; transition: background var(--ease), color var(--ease); }
.l-header__web {
  width: 160px;
  border-radius: 0 0 0 24px;
  background: var(--g-main);
  color: #fff;
  font-family: var(--f-ui);
  line-height: 1.4;
}
.l-header__web .c-icon { font-size: 16px; }
.l-header__web:hover { background: var(--g-main-hover); }
.l-header__tel { width: 180px; background: var(--g-beige); }
.l-header__tel .c-icon { font-size: 16px; }
.l-header__tel-text {
  display: flex;
  flex-direction: column;
  background: var(--g-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.l-header__tel-label { font-family: var(--f-ui); font-size: 12px; font-weight: 700; line-height: 1.4; }
.l-header__tel-num { font-family: var(--f-en); font-size: 18px; font-weight: 600; line-height: 1.4; }
.l-header__nav .c-nav__link { white-space: nowrap; }
.l-header__menu-btn { display: none; }

/* メニューが1行に収まらない幅（ロゴを300px前後に保てない幅）では、メニューを「Menu」ボタンにまとめる。予約ボタンは残す */
@media (max-width: 1365px) {
  .l-header__right { margin-left: auto; }
  .l-header__nav { display: none; }
  .l-header__menu-btn { display: flex; }
}
@media (max-width: 840px) {
  .l-header { padding-left: 24px; }
  .l-header__right { display: none; }
  .l-header__menu-btn { display: flex; }
}
@media (max-width: 540px) {
  .l-header { padding-left: 10px; }
  .l-header__logo img { width: 295px; }
}

/* --------------------------------------------------------------------------
   メイン
   -------------------------------------------------------------------------- */
.l-main { display: block; padding-top: 72px; }

/* --------------------------------------------------------------------------
   ご予約・お問い合わせ（フッターの上）
   -------------------------------------------------------------------------- */
.l-contact {
  margin-top: 120px;
  padding: 100px var(--gutter);
  border-radius: 100px 100px 0 0;
  background: var(--g-main);
  color: #fff;
  text-align: center;
}
.l-contact__head { display: flex; flex-direction: column; align-items: center; margin-bottom: 64px; }
.l-contact__bar { width: 40px; height: 6px; margin-bottom: 20px; border-radius: 8px 8px 0 8px; background: linear-gradient(90deg, var(--c-blue-pale) 0%, #fff 100%); }
.l-contact__title { font-family: var(--f-ui); font-size: 28px; line-height: 1.4; }
.l-contact__en { font-family: var(--f-en); font-size: 14px; line-height: 1.4; }
.l-contact__lead { margin-bottom: 32px; font-family: var(--f-ui); font-size: 14px; line-height: 1.4; }
.l-contact__btns { display: flex; justify-content: center; gap: 32px; }
@media (max-width: 840px) {
  .l-contact { margin-top: 80px; padding: 80px 40px; }
  .l-contact__head { margin-bottom: 48px; }
  .l-contact__btns { gap: 28px; }
  .l-contact .c-btn { font-size: 18px; }
}
@media (max-width: 540px) {
  .l-contact { margin-top: 70px; padding: 70px 20px; border-radius: 60px 60px 0 0; }
  .l-contact__head { margin-bottom: 40px; }
  .l-contact__title { font-size: 26px; }
  .l-contact__btns { flex-direction: column; align-items: center; gap: 20px; }
}

/* --------------------------------------------------------------------------
   フッター
   -------------------------------------------------------------------------- */
.l-footer { margin: 32px var(--gutter) 20px; }
.l-footer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.l-footer__logo img { display: block; width: 284px; }
.l-footer__insta { display: flex; align-items: center; gap: 15px; font-family: var(--f-ui); font-size: 20px; line-height: 1.4; }
.l-footer__insta .c-icon { width: 35px; height: 40px; }
.l-footer__nav { margin-bottom: 40px; }
.l-footer__copy { font-family: var(--f-en); font-size: 12px; line-height: 1.4; }
@media (max-width: 840px) {
  .l-footer__logo img { width: 260px; }
  .l-footer__insta { gap: 24px; }
  .l-footer__nav .c-nav { flex-wrap: wrap; gap: 20px 0; }
  .l-footer__nav .c-nav__link { font-size: 13px; }
}
@media (max-width: 540px) {
  .l-footer__top { flex-direction: column; align-items: flex-start; gap: 40px; }
  .l-footer__nav { display: none; }
}

/* --------------------------------------------------------------------------
   スマホメニュー
   -------------------------------------------------------------------------- */
.c-spmenu { position: fixed; inset: 0; z-index: 20; }
.c-spmenu[hidden] { display: none; }
.c-spmenu__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .16); }
.c-spmenu__panel {
  position: absolute;
  inset: 0 0 0 auto;
  width: 280px;
  overflow-y: auto;
  background: #fff;
  box-shadow: var(--shadow);
}
.c-spmenu__head { display: flex; justify-content: flex-end; height: 72px; }
.c-spmenu__nav { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 32px 24px 16px; }
.c-spmenu__btns { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 16px 24px 24px; }
.c-spmenu .c-btn { width: 232px; font-size: 18px; }
@media (min-width: 1366px) {
  .c-spmenu { display: none; }
}

/* --------------------------------------------------------------------------
   見出し（縦棒＋日本語＋英字）
   -------------------------------------------------------------------------- */
.c-heading { display: grid; grid-template-columns: 6px auto; justify-content: start; align-items: center; column-gap: 16px; }
.c-heading::before {
  content: "";
  grid-row: 1 / span 2;
  width: 6px;
  height: 48px;
  border-radius: 8px 8px 0 8px;
  background: var(--g-main);
}
.c-heading__ja { display: block; grid-column: 2; align-self: end; font-family: var(--f-ui); font-size: 24px; line-height: 1.4; color: var(--c-green); }
.c-heading__en { display: block; grid-column: 2; font-family: var(--f-en); font-size: 12px; line-height: 1.4; color: var(--c-green); }
@media (max-width: 540px) {
  .c-heading__ja { font-size: 20px; }
}

/* --------------------------------------------------------------------------
   「一覧へ」「詳しくはこちら」のリンク（文字＋丸い矢印）
   -------------------------------------------------------------------------- */
.c-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-ui);
  font-size: 16px;
  line-height: 1.4;
  color: var(--c-text);
  transition: color var(--ease);
}
.c-more__arrow {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--g-main);
  color: #fff;
  transition: transform var(--ease), background var(--ease);
}
.c-more__arrow .c-icon { font-size: 16px; }
.c-more--blue { letter-spacing: .01em; }
.c-more--blue .c-more__arrow { background: var(--g-blue); }
.c-more:hover { color: var(--c-blue); }
.c-more:hover .c-more__arrow { transform: scale(1.2); }
.c-more--blue:hover .c-more__arrow { background: var(--g-blue-pale); }
@media (max-width: 540px) {
  .c-more { gap: 10px; font-size: 14px; }
}

/* --------------------------------------------------------------------------
   お知らせの一覧（日付＋タイトル）
   -------------------------------------------------------------------------- */
.c-news-list { display: flex; flex-direction: column; gap: 20px; }
.c-news-list a { display: flex; flex-direction: column; gap: 6px; }
.c-news-list time { font-family: var(--f-en); font-size: 12px; font-weight: 500; line-height: 1; color: var(--c-gray); }
.c-news-list__title { font-family: var(--f-ui); font-size: 18px; font-weight: 700; line-height: 1.2; color: var(--c-text); transition: color var(--ease); }
.c-news-list a:hover .c-news-list__title { color: var(--c-blue); }
@media (max-width: 540px) {
  .c-news-list { gap: 14px; }
  .c-news-list a { gap: 8px; }
  .c-news-list__title { font-size: 15px; }
}

/* --------------------------------------------------------------------------
   診療時間表
   -------------------------------------------------------------------------- */
.c-schedule__table {
  width: 90.6%;
  table-layout: fixed;
  border-collapse: collapse;
  font-family: var(--f-ui);
  line-height: 1;
  color: var(--c-text);
}
.c-schedule__table th,
.c-schedule__table td { padding: 16px 0; border-bottom: 1px solid rgba(36, 41, 43, .2); font-weight: 500; text-align: left; }
.c-schedule__table thead th { padding-top: 0; }
.c-schedule__dept { width: 35.6%; }
.c-schedule__doctor { width: 24.1%; }
.c-schedule__table .c-schedule__day { width: 6.72%; font-weight: 400; text-align: center; }
.c-schedule__note { margin-top: 16px; font-family: var(--f-body); font-size: 14px; line-height: 1.6; }
@media (max-width: 840px) {
  .c-schedule__table { width: 100%; }
  .c-schedule__dept { width: 32.3%; }
  .c-schedule__doctor { width: 25%; }
  .c-schedule__table .c-schedule__day { width: 7.12%; }
  .c-schedule__note { font-size: 13px; line-height: 1.4; }
}
@media (max-width: 540px) {
  .c-schedule__table { width: 100%; font-size: 13px; }
  .c-schedule__table th,
  .c-schedule__table td { padding: 12px 0; }
  .c-schedule__dept { width: 34.9%; }
  .c-schedule__doctor { width: 21.7%; }
  .c-schedule__table .c-schedule__day { width: 7.23%; font-size: 12px; }
  .c-schedule__note { margin-top: 12px; font-size: 12px; line-height: 1.4; }
}

/* --------------------------------------------------------------------------
   診療科カード
   -------------------------------------------------------------------------- */
.c-dept {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px;
  padding: 28px;
  border-radius: 40px 0;
  background: #fff;
  box-shadow: var(--shadow);
}
.c-dept__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--c-sand) 0%, #fff 100%);
}
.c-dept__icon .c-icon { font-size: 28px; }
.c-dept__body { flex: 1 1 calc(100% - 88px); min-width: 0; }
.c-dept__title { font-family: var(--f-ui); font-size: 22px; line-height: 1.4; color: var(--c-green); }
.c-dept__title::after {
  content: "";
  display: block;
  height: 2px;
  margin: 12px 0;
  border-radius: 16px;
  background: var(--g-main);
  opacity: .3;
}
.c-dept__text { font-size: 16px; line-height: 1.8; color: var(--c-green); }
.c-dept__more { margin-left: auto; }
@media (max-width: 540px) {
  .c-dept { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 16px; padding: 24px; }
  .c-dept__icon { width: 48px; height: 48px; }
  .c-dept__icon .c-icon { font-size: 24px; }
  .c-dept__title { font-size: 20px; }
  .c-dept__more { align-self: flex-end; }
}

/* ==========================================================================
   トップページ
   ========================================================================== */
/* ヒーロー */
.p-top-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 616px;
  margin: 40px var(--gutter) 80px;
  padding: 48px;
  border-radius: 70px 0;
  overflow: hidden;
}
.p-top-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.p-top-hero__text { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.p-top-hero__badge {
  padding: 8px 16px;
  border-radius: 12px 12px 12px 0;
  background: #fff;
  font-family: var(--f-ui);
  font-size: 18px;
  line-height: 1.4;
  color: var(--c-green);
}
.p-top-hero__title { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.p-top-hero__title span {
  padding: 8px 16px;
  border-radius: 16px 16px 16px 0;
  background: var(--g-main);
  font-family: var(--f-ui);
  font-size: 36px;
  font-weight: 500;
  line-height: 1.6;
  color: #fff;
}
@media (max-width: 840px) {
  .p-top-hero { height: 461px; margin: 24px var(--gutter) 80px; padding: 28px; border-radius: 80px 0; }
  .p-top-hero__title span { font-size: 28px; }
}
@media (max-width: 540px) {
  .p-top-hero { height: 595px; margin: 8px var(--gutter) 40px; padding: 20px; border-radius: 60px 0; }
  .p-top-hero__text, .p-top-hero__title { gap: 6px; }
  .p-top-hero__badge { padding: 6px 10px; font-size: 16px; }
  .p-top-hero__title span { padding: 6px 10px; font-size: 28px; }
}

/* 最新のお知らせ・診療時間 */
.p-top-info { display: flex; gap: 64px; max-width: 1200px; margin: 0 auto 120px; padding: 0 var(--gutter); box-sizing: content-box; }
.p-top-info__col { display: flex; flex-direction: column; gap: 24px; flex: 1; min-width: 0; }
.p-top-info__more { text-align: right; }
@media (max-width: 840px) {
  .p-top-info { flex-direction: column; gap: 48px; max-width: 600px; margin-bottom: 80px; }
  .c-news-list__title { font-size: 16px; }
}
@media (max-width: 540px) {
  .p-top-info__col { gap: 20px; }
}

/* クリニック紹介 */
.p-top-about {
  margin-left: 40px;
  padding: 100px 80px 240px 40px;
  border-radius: 100px 0 0;
  background: linear-gradient(180deg, var(--c-cream) 0%, #fff 100%);
}
.p-top-about__inner { display: flex; justify-content: center; align-items: flex-start; gap: 48px; max-width: 960px; margin: 0 auto; }
.p-top-about__img { width: 338px; height: 438px; object-fit: cover; border-radius: 40px 0; }
.p-top-about__body { display: flex; flex-direction: column; gap: 24px; max-width: calc(50% - 24px); }
.p-top-about__title { font-family: var(--f-ui); font-size: 32px; line-height: 1.4; color: var(--c-green); }
.p-top-about__text { line-height: 2; }
@media (max-width: 840px) {
  .p-top-about { margin-left: 0; padding: 80px 40px 160px; }
  .p-top-about__inner { flex-direction: column; align-items: center; gap: 32px; max-width: 600px; }
  .p-top-about__img { width: 300px; height: 360px; }
  .p-top-about__body { max-width: none; gap: 12px; }
}
@media (max-width: 540px) {
  .p-top-about { padding: 60px var(--gutter) 140px; border-radius: 60px 0 0; }
  .p-top-about__img { width: 255px; height: 346px; }
  .p-top-about__body { gap: 19px; }
  .p-top-about__title { font-size: 28px; }
}

/* 診療科 */
.p-top-dept {
  margin: -120px 0 0 40px;
  padding: 120px 80px 184px 40px;
  border-radius: 100px 0 0;
  background: linear-gradient(180deg, var(--c-cream-2) 0%, #fff 100%);
}
.p-top-dept__grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px; max-width: 1200px; margin: 0 auto; }
.p-top-dept__grid > .c-dept:first-child { width: 100%; }
.p-top-dept__grid > .c-dept:last-child,
.p-top-dept__col { width: calc(50% - 20px); }
.p-top-dept__col { display: flex; flex-direction: column; gap: 40px; }
@media (max-width: 840px) {
  .p-top-dept { margin: -80px 0 0; padding: 80px var(--gutter) 124px; }
  .p-top-dept__grid, .p-top-dept__col { gap: 20px; }
  .p-top-dept__grid > .c-dept:last-child, .p-top-dept__col { width: calc(50% - 10px); }
  .p-top-dept .c-dept { padding: 24px; }
}
@media (max-width: 540px) {
  .p-top-dept { margin: -70px 0 0; padding: 70px var(--gutter) 120px; border-radius: 60px 0 0; }
  .p-top-dept__grid { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 18px; }
  .p-top-dept__grid > .c-dept:first-child,
  .p-top-dept__grid > .c-dept:last-child { width: auto; }
  /* 縦1列では児童思春期外来を最後（心療内科の後）に並べる */
  .p-top-dept__col, .p-top-dept__last { display: contents; }
  .p-top-dept__last > .c-dept { order: 1; }
}

/* 院内の写真 */
.p-top-photos { display: flex; margin: 0 40px 0 0; }
.p-top-photos img { width: 50%; height: 320px; object-fit: cover; }
.p-top-photos img + img { border-radius: 0 100px 0 0; }
@media (max-width: 840px) {
  .p-top-photos { margin-right: 0; }
  .p-top-photos img { height: 240px; }
}
@media (max-width: 540px) {
  .p-top-photos img:first-child { display: none; }
  .p-top-photos img + img { width: 100%; height: 240px; border-radius: 0 60px 0 0; }
}

/* 診療時間・アクセス */
.p-top-access { padding-top: 160px; }
.p-top-access__inner { display: flex; gap: 64px; max-width: 1196px; margin: 0 auto; padding: 0 var(--gutter); box-sizing: content-box; }
.p-top-access__info, .p-top-access__map { flex: 1; min-width: 0; }
.p-top-access__logo { display: block; width: 400px; margin-bottom: 24px; }
.p-top-access__address { margin-bottom: 32px; font-family: var(--f-ui); font-style: normal; line-height: 1.6; }
.p-top-access__map > img { display: block; width: 100%; height: 500px; object-fit: contain; }
.p-top-access__list > div { display: flex; flex-direction: column; gap: 2px; margin-bottom: 16px; }
.p-top-access__list dt { display: flex; align-items: center; gap: 8px; font-family: var(--f-ui); font-size: 14px; line-height: 1.6; color: var(--c-green); }
.p-top-access__list dt .c-icon { width: 14px; height: 16px; color: var(--c-blue); }
.p-top-access__list dd { line-height: 1.6; }
.p-top-access__gmap { display: block; width: 100%; height: 460px; margin: 40px 0 32px; border: 0; }
@media (max-width: 840px) {
  .p-top-access { padding-top: 100px; }
  .p-top-access__inner { flex-direction: column; gap: 48px; max-width: 600px; }
  .p-top-access__logo { width: 260px; }
  .p-top-access__address { margin-bottom: 28px; }
  .p-top-access__gmap { height: 320px; }
}
@media (max-width: 540px) {
  .p-top-access__address { margin-bottom: 32px; }
  .p-top-access__gmap { height: 200px; margin: 0 0 20px; }
  .p-top-access__address, .p-top-access__list dd { font-size: 15px; }
}

/* ==========================================================================
   下層ページ共通
   ========================================================================== */
/* パンくず */
.c-breadcrumb { margin: 16px var(--gutter); }
.c-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.c-breadcrumb li { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; line-height: 1.4; color: var(--c-gray); }
.c-breadcrumb li + li::before { content: "＞"; font-size: 13px; font-weight: 400; }
.c-breadcrumb a { transition: color var(--ease); }
.c-breadcrumb a:hover { color: var(--c-green); }
.c-breadcrumb [aria-current] { color: var(--c-green); letter-spacing: .01em; }

/* ページタイトル（緑の帯） */
.c-page-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 300px;
  margin: 0 var(--gutter) 24px;
  border-radius: 60px 0;
  background: var(--g-main-hover);
  color: #fff;
  text-align: center;
}
.c-page-title h1 { font-family: var(--f-ui); font-size: 36px; line-height: 1.4; }
.c-page-title p { font-family: var(--f-en); font-size: 16px; line-height: 1.4; letter-spacing: .05em; }
@media (max-width: 840px) {
  .c-page-title { height: 240px; }
  .c-page-title h1 { font-size: 32px; }
}
@media (max-width: 540px) {
  .c-breadcrumb { margin: 12px var(--gutter); }
  .c-breadcrumb ol { flex-wrap: nowrap; }
  .c-breadcrumb li { flex: none; }
  .c-breadcrumb li:last-child { flex: 1 1 auto; min-width: 0; }
  .c-breadcrumb li:last-child > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .c-breadcrumb ol, .c-breadcrumb li { gap: 6px; }
  .c-breadcrumb li + li::before { font-size: 12px; }
  .c-page-title { height: 180px; margin: 0 0 18px; gap: 0; }
  .c-page-title h1 { font-size: 28px; }
  .c-page-title p { font-size: 14px; }
}

/* 診療科メニュー（診療について・児童思春期外来） */
.c-subnav { max-width: 1200px; margin: 0 auto; padding: 0 calc(var(--gutter) + 20px); box-sizing: content-box; }
.c-subnav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; }
.c-subnav a { display: flex; align-items: center; gap: 10px; font-family: var(--f-ui); font-size: 14px; line-height: 1.4; transition: color var(--ease); }
.c-subnav__arrow { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--g-blue); color: #fff; }
.c-subnav__arrow .c-icon { font-size: 16px; }
.c-subnav a:hover { color: var(--c-blue); }
@media (max-width: 540px) {
  .c-subnav { padding: 0 20px; }
  .c-subnav ul { gap: 12px 20px; }
  .c-subnav a { gap: 6px; }
}

/* 下線付きの「詳しく」リンク（初診の方へ） */
.c-more--underline { font-size: 18px; }
.c-more--underline:not(:hover) { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 540px) {
  .c-more--underline { font-size: 14px; }
}

/* 手順（01・02） */
.c-steps { display: flex; flex-direction: column; gap: 32px; }
.c-steps__item {
  display: flex;
  gap: 24px;
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(180deg, var(--c-sand) 0%, #fff 100%);
  box-shadow: var(--shadow);
}
.c-steps__num {
  display: grid;
  place-items: center;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  font-family: var(--f-en);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: .1em;
  text-indent: .1em;
  color: var(--c-green);
}
.c-steps__body { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.c-steps__title { font-family: var(--f-ui); font-size: 22px; line-height: 1.4; color: var(--c-green); }
.c-steps__body > p { margin-bottom: 12px; line-height: 1.8; }
.c-steps__links { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 840px) {
  .c-steps__links { flex-direction: column; align-items: flex-start; gap: 20px; }
}
@media (max-width: 540px) {
  .c-steps__item { flex-direction: column; gap: 12px; }
  .c-steps__title { font-size: 20px; }
  .c-steps__body > p { margin-bottom: 0; }
  .c-steps__links { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* 箇条書き（●） */
.c-dot-list { display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.4; }
.c-dot-list li::before { content: "● "; }

/* 囲み（予約のご案内・問診票・各種案内） */
.c-box { border-radius: 24px; }
.c-box--dotted { border: 2px dotted var(--c-green); }
.c-box--cream { background: #f8f6f0; }
.c-box__title { padding: 24px 24px 6px; font-family: var(--f-ui); font-size: 18px; line-height: 1.4; color: var(--c-green); }
.c-box--dotted .c-box__title { padding: 22px 22px 6px; }
.c-box__body { display: flex; flex-direction: column; gap: 24px; padding: 6px 24px 24px; line-height: 1.8; }
.c-box--dotted .c-box__body { gap: 6px; padding: 6px 22px 22px; }
.c-box__text p + p { margin-top: 1.8em; }
.c-box__btns { display: flex; gap: 20px; padding: 20px 0; }
.c-box__tel { font-family: var(--f-ui); font-size: 20px; }
.c-box__link a { color: var(--c-green); text-decoration: underline; text-underline-offset: 3px; }
.c-box__link a:hover { opacity: .7; }
.c-box > .c-box__body > p + .c-box__link { margin-top: -16px; }
/* 予約・問診票のボタン */
.c-cta {
  display: grid;
  place-items: center;
  flex: 1;
  min-height: 55px;
  padding: 8px 12px;
  background: var(--g-main-hover);
  font-family: var(--f-ui);
  font-size: 20px;
  line-height: 1.4;
  color: #fff;
  text-align: center;
  transition: opacity var(--ease);
}
.c-cta--blue { background: var(--c-blue); }
.c-cta:hover { opacity: .8; }
@media (max-width: 540px) {
  .c-box__title, .c-box--dotted .c-box__title { padding: 20px 20px 6px; }
  .c-box__body, .c-box--dotted .c-box__body { gap: 8px; padding: 6px 20px 20px; }
  .c-box__btns { flex-direction: column; padding: 4px 0; }
  .c-box__tel { font-size: 16px; }
}

/* 診療科の詳細（診療についてページ） */
.c-dept-detail {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 32px;
  border-radius: 40px 0;
  background: #fff;
  box-shadow: var(--shadow);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.c-dept-detail > .c-dept__icon { background: var(--g-beige); }
.c-dept-detail__main { display: flex; flex-direction: column; gap: 16px; flex: 1; min-width: 0; }
.c-dept-detail__head { margin-bottom: 12px; }
.c-dept-detail__title { font-family: var(--f-ui); font-size: 22px; line-height: 1.4; color: var(--c-green); }
.c-dept-detail__title::after { content: ""; display: block; height: 2px; margin: 12px 0; border-radius: 16px; background: var(--c-blue); opacity: .3; }
.c-dept-detail__intro { display: flex; align-items: flex-start; gap: 32px; }
.c-dept-detail__text { flex: 1; line-height: 1.8; }
.c-dept-detail__text p + p { margin-top: 1.8em; }
.c-dept-detail__img { flex: none; width: calc(33% - 21.44px); aspect-ratio: 245 / 160; object-fit: cover; border-radius: 12px; }
@media (max-width: 840px) {
  .c-dept-detail { padding: 24px; }
}
@media (max-width: 540px) {
  .c-dept-detail { flex-direction: column; gap: 16px; padding: 20px; }
  .c-dept-detail > .c-dept__icon { width: 48px; height: 48px; }
  .c-dept-detail > .c-dept__icon .c-icon { font-size: 24px; }
  .c-dept-detail__head { margin-bottom: 0; }
  .c-dept-detail__title { font-size: 20px; }
  .c-dept-detail__intro { flex-direction: column; gap: 16px; }
  .c-dept-detail__img { width: 100%; aspect-ratio: 310 / 180; }
}

/* ==========================================================================
   診療について
   ========================================================================== */
.p-first { max-width: 960px; margin: 0 auto 120px; padding: 120px var(--gutter) 0; box-sizing: content-box; scroll-margin-top: var(--header-h); }
.p-depts {
  margin-left: 40px;
  padding: 120px 80px 0 40px;
  border-radius: 100px 0 0;
  background: linear-gradient(180deg, var(--c-cream) 0%, #fff 100%);
}
.p-depts__inner { display: flex; flex-direction: column; gap: 50px; max-width: 960px; margin: 0 auto; }
.p-depts__sep { width: 100%; height: 1px; margin: 0; border: 0; background: linear-gradient(135deg, #182f2b 0%, var(--c-green) 100%); }
@media (max-width: 840px) {
  .p-first { padding-top: 100px; margin-bottom: 70px; }
  .p-depts { margin-left: 0; padding: 70px var(--gutter) 0; border-radius: 60px 0 0; }
  .p-depts__inner { gap: 18px; }
}

/* ==========================================================================
   児童思春期外来
   ========================================================================== */
.u-nowrap { white-space: nowrap; }
.p-depts--child { margin-top: 48px; padding-top: 120px; }
.p-child__notice { margin-left: 1em; font-family: var(--f-body); font-size: .8em; font-weight: 700; line-height: 1.5; color: #d0021b; vertical-align: middle; }
.p-child__info dt, .p-child__info dd { display: inline; }
.p-child__adult { margin-top: 12px; }
.p-child__adult a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.p-child__adult a:hover { opacity: .7; }
.p-child__monshin { justify-content: center; padding: 16px 0 0; }
.p-child__monshin .c-cta { flex: 0 1 calc(50% - 10px); padding: 12px 0; line-height: 1.6; }
.c-box .c-dot-list > p { margin: 0; }
.p-child__staff-lead { line-height: 1.8; }
.p-child__staff { display: flex; align-items: flex-start; gap: 32px; margin-top: 12px; }
.p-child__staff .c-dept-detail__text { flex: 0 1 580px; }
.p-child__staff h4 { font: inherit; }
.p-child__staff h4 + p { margin-top: 1.8em; }
.p-child__staff-img { flex: none; width: 196px; height: 128px; object-fit: cover; border-radius: 12px; margin-left: auto; }
@media (max-width: 840px) {
  .p-child__notice { display: block; margin: 6px 0 0; }
  .p-child__staff-img { width: 160px; height: 112px; }
}
@media (max-width: 540px) {
  .p-depts--child { padding-top: 70px; }
  .p-child__photo { width: 50vw; height: calc(50vw * 160 / 245); align-self: center; }
  .p-child__monshin .c-cta { flex-basis: 100%; padding: 12px 8px; }
  .p-child__staff { flex-direction: column; gap: 16px; }
  .p-child__staff .c-dept-detail__text { flex: none; }
  .p-child__staff-img { width: 40vw; height: calc(40vw * 160 / 245); align-self: center; margin-left: 0; }
}

/* ==========================================================================
   当院について
   ========================================================================== */
.c-subnav--green .c-subnav__arrow { background: var(--g-main); }

/* 役職＋氏名 */
.c-person { display: flex; align-items: center; gap: 24px; font-family: var(--f-ui); }
.c-person__role { font-size: 14px; line-height: 1.4; }
.c-person__name { font-size: 20px; line-height: 1.4; }

/* 医師のプロフィール（略歴・資格） */
.c-profile {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding: 40px;
  border-radius: 40px;
  background: linear-gradient(180deg, var(--c-sand) 0%, #fff 100%);
  box-shadow: var(--shadow);
}
.c-profile > .c-person { width: 100%; }
.c-profile__col { display: flex; flex-direction: column; gap: 12px; width: calc(50% - 14px); font-size: 14px; line-height: 1.8; }
.c-profile__col p + p { margin-top: 1.8em; }
.c-profile__title { font-family: var(--f-ui); font-size: 20px; line-height: 1.4; color: var(--c-green); }
.c-profile__list li::before { content: "・"; }
@media (max-width: 540px) {
  .c-person { gap: 19px; }
  .c-person__name { font-size: 24px; }
  .c-profile { flex-direction: column; gap: 28px; padding: 20px; border-radius: 16px; }
  .c-profile__col { width: auto; gap: 6px; }
}

.p-about-doctors { max-width: 960px; margin: 0 auto 240px; padding: 120px var(--gutter) 0; box-sizing: content-box; scroll-margin-top: var(--header-h); }
.p-about-greeting { display: flex; align-items: flex-start; gap: 48px; margin-bottom: 32px; }
.p-about-greeting__img { width: calc(50% - 24px); height: 567px; object-fit: cover; border-radius: 40px 0; }
.p-about-greeting__body { display: flex; flex-direction: column; gap: 24px; width: calc(50% - 24px); }
.p-about-greeting__title {
  font-family: var(--f-ui);
  font-size: 32px;
  line-height: 1.4;
  background: var(--g-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.p-about-greeting__text { line-height: 1.5; }
.p-about-greeting__text p + p { margin-top: 1.5em; }
.p-about-vice { margin-top: 70px; }
.p-about-vice__img { display: block; width: calc(50% - 24px); height: 306px; margin: 0 auto 32px; object-fit: cover; border-radius: 40px 0; }
@media (max-width: 540px) {
  .p-about-doctors { padding-top: 70px; margin-bottom: 140px; }
  .p-about-greeting { flex-direction: column; align-items: center; gap: 24px; }
  .p-about-greeting__img { width: calc(70% - 7.2px); height: 458px; }
  .p-about-greeting__body { width: 100%; gap: 19px; }
  .p-about-vice__img { width: 100%; height: 280px; }
}

/* クリニック名の由来 */
.p-about-name {
  margin: -120px 40px 0 0;
  padding: 120px 80px 240px;
  border-radius: 0 100px 0 0;
  background: linear-gradient(180deg, var(--c-sky) 0%, #fff 100%);
  scroll-margin-top: var(--header-h);
}
.p-about-name__inner { max-width: 960px; margin: 0 auto; }
.p-about-name__title { margin-bottom: 12px; font-family: var(--f-ui); font-size: 22px; line-height: 1.4; color: var(--c-green); }
.p-about-name__text { font-size: 14px; line-height: 1.8; }
.p-about-name__text p + p { margin-top: 1.8em; }
.p-about-name__img { display: block; width: 650px; max-width: 100%; height: 446px; margin: 40px auto 0; object-fit: cover; border-radius: 30px 0; }
@media (max-width: 540px) {
  .p-about-name { margin: -70px 0 0; padding: 70px var(--gutter) 140px; border-radius: 0 60px 0 0; }
  .p-about-name__title { margin-bottom: 6px; font-size: 20px; }
  .p-about-name__img { height: 303px; }
}

/* 施設紹介 */
.p-about-facility {
  margin: -120px 0 0 40px;
  padding: 120px 80px 0 40px;
  border-radius: 100px 0 0;
  background: linear-gradient(180deg, var(--c-cream) 0%, #fff 100%);
  scroll-margin-top: var(--header-h);
}
.p-about-facility__lead { margin-bottom: 40px; font-family: var(--f-ui); font-size: 14px; line-height: 1.4; text-align: center; }
.p-about-facility__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1200px; margin: 0 auto; }
.p-about-facility figure { display: flex; flex-direction: column; gap: 12px; }
.p-about-facility img { width: 100%; height: 160px; object-fit: cover; border-radius: 40px 0; }
.p-about-facility figcaption { font-family: var(--f-ui); line-height: 1.4; }
@media (max-width: 540px) {
  .p-about-facility { margin: -70px 0 0; padding: 70px var(--gutter) 0; border-radius: 60px 0 0; }
  .p-about-facility__list { grid-template-columns: 1fr; }
  .p-about-facility img { height: 200px; border-radius: 16px; }
}
/* 当院について: タブレット（541〜840px）は1列・幅600px */
@media (min-width: 541px) and (max-width: 840px) {
  .p-about-doctors { max-width: 600px; padding-top: 80px; margin-bottom: 160px; }
  .p-about-greeting { flex-direction: column; gap: 32px; }
  .p-about-greeting__img { width: 100%; height: 360px; }
  .p-about-greeting__body { width: 100%; gap: 12px; }
  .c-person { gap: 12px; }
  .c-profile { justify-content: center; border-radius: 24px; }
  .p-about-vice { margin-top: 240px; }
  .p-about-vice__img { width: 100%; height: 360px; }
  .p-about-name { margin: -80px 0 0; padding: 80px var(--gutter) 160px; }
  .p-about-name__inner { max-width: 600px; }
  .p-about-name__title { font-size: 20px; }
  .p-about-name__img { max-width: none; margin-left: 50%; transform: translateX(-50%); }
  .p-about-facility { margin: -80px 0 0; padding: 80px var(--gutter) 0; }
  .p-about-facility__list { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   お知らせ・院長コラム（一覧・記事）
   ========================================================================== */
.c-page-title .c-page-title__label { font-family: var(--f-ui); font-size: 36px; line-height: 1.4; }
.c-page-title--small { height: 120px; }
@media (max-width: 840px) {
  .c-page-title .c-page-title__label { font-size: 32px; }
}
@media (max-width: 540px) {
  .c-page-title--small { height: 180px; }
  .c-page-title .c-page-title__label { font-size: 26px; }
}

/* 記事 */
.c-post__head { display: flex; flex-direction: column; }
.c-post a { color: var(--c-green); text-decoration: underline; text-underline-offset: 3px; }
.c-post a:hover { opacity: .7; }
/* お知らせ */
.c-post--news { max-width: 960px; margin: 120px auto 0; padding: 0 32px; box-sizing: content-box; }
.c-post--news::after { content: ""; display: block; height: 2px; margin-top: 24px; background: var(--g-main); }
.c-post--news .c-post__head { gap: 8px; }
.c-post--news .c-post__date { font-family: var(--f-ui); font-size: 12px; line-height: 1; color: var(--c-gray); }
.c-post--news .c-post__title { font-family: var(--f-ui); font-size: 20px; font-weight: 700; line-height: 1.6; color: var(--c-text); }
.c-post--news .c-post__title a { color: inherit; text-decoration: none; }
.c-post--news .c-post__title a:hover { color: var(--c-blue); opacity: 1; }
.c-post--news .c-post__body { margin-top: 8px; padding: 0 10px; line-height: 1.4; }
.c-post--news .c-post__body p { margin: 10px 0; }
.c-post--news .c-post__body .c-post__more { margin-top: 28.8px; }
.p-news { display: flex; flex-direction: column; gap: 32px; margin-top: 120px; }
.p-news .c-post--in-list { margin-top: 0; }
@media (max-width: 540px) { .p-news { margin-top: 80px; } }
/* 院長コラム */
.c-post--blog { max-width: 980px; margin: 120px auto 50px; padding: 0 var(--gutter); box-sizing: content-box; }
.c-post--blog .c-post__date { line-height: 1.4; color: #848484; }
.c-post--blog .c-post__title { margin-top: 10px; font-family: var(--f-ui); font-size: 24px; line-height: 1.4; }
.c-post--blog .c-post__body { line-height: 2; }
.c-post--blog .c-post__body p { margin-top: 10px; }
.c-post--blog .c-post__body p + p { margin-top: 2em; }
.c-post--blog .c-post__body h2 {
  margin: 35px 0 20px;
  padding: 10px;
  border-bottom: 2px solid var(--c-green);
  background: linear-gradient(180deg, var(--c-sand) 0%, #fff 100%);
  font-family: var(--f-ui);
  font-size: 18px;
  line-height: 2;
}
.c-post--blog .c-post__body p:has(> img) { margin: 20px 0; text-align: center; }
.c-post--blog .c-post__body img { width: 600px; aspect-ratio: 5 / 4; object-fit: cover; }
@media (max-width: 540px) {
  .c-post--news { margin-top: 80px; padding: 0 var(--gutter); }
  .c-post--blog { margin-top: 80px; }
  .c-post--blog .c-post__title { font-size: 20px; }
  .c-post--blog .c-post__body img { width: 100%; }
}

/* コラム一覧のカード */
.p-blog { max-width: 896px; margin: 120px auto 0; padding: 0 var(--gutter); box-sizing: content-box; }
.p-blog__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.c-card a { display: block; transition: opacity var(--ease); }
.c-card a:hover { opacity: .7; }
.c-card__img { width: 100%; height: 160px; object-fit: cover; border-radius: 10px 10px 0 0; box-shadow: 0 2px 5px rgba(0, 0, 0, .2); }
.c-card__title { margin-top: 10px; font-family: var(--f-ui); font-size: 18px; line-height: 1.4; }
@media (max-width: 540px) {
  .p-blog { margin-top: 40px; padding: 0 20px; }
  .p-blog__list { grid-template-columns: repeat(2, calc(45% - 11px)); gap: 20px; }
  .c-card__img { height: 130px; }
}

/* 404 */
.p-404 { max-width: 960px; margin: 120px auto 0; padding: 0 var(--gutter); box-sizing: content-box; text-align: center; line-height: 1.8; }
.p-404__title { margin-bottom: 16px; font-family: var(--f-ui); font-size: 22px; line-height: 1.4; color: var(--c-green); }
.p-404__more { margin-top: 32px; }

/* ==========================================================================
   よくあるご質問・症状と病気の解説・検査と治療（FONDE）
   ========================================================================== */
/* 一覧 */
.p-faq { max-width: 960px; margin: 60px auto 0; padding: 0 var(--gutter); box-sizing: content-box; }
.p-faq > .c-subnav { margin-bottom: 56px; padding: 0; }
.p-faq__dept { scroll-margin-top: calc(var(--header-h) + 20px); }
.p-faq__dept + .p-faq__dept { margin-top: 64px; }
.p-faq__dept > .c-heading { margin-bottom: 24px; }
.p-faq__more { margin-top: 48px; text-align: right; }

/* 質問の一覧（Q＋質問文） */
.c-q-list { display: flex; flex-direction: column; }
.c-q-list a {
  display: flex;
  gap: 12px;
  padding: 16px 8px;
  border-bottom: 1px solid var(--c-sand);
  font-family: var(--f-ui);
  font-size: 16px;
  line-height: 1.6;
  transition: color var(--ease);
}
.c-q-list a::before { content: "Q"; flex: none; font-family: var(--f-en); font-weight: 600; color: var(--c-blue); }
.c-q-list a:hover { color: var(--c-blue); }
.c-q-list--box a { padding: 10px 0; border-bottom-color: #e7e4d6; font-size: 15px; }

/* 解説ページへのリンク（カード） */
.c-card-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.c-card-link {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 12px;
  height: 100%;
  padding: 20px 20px 20px 24px;
  border-radius: 24px 0;
  background: var(--g-sky);
  box-shadow: var(--shadow);
  transition: opacity var(--ease);
}
.c-card-link:hover { opacity: .7; }
.c-card-link__label { grid-column: 1; font-family: var(--f-ui); font-size: 12px; color: var(--c-blue); }
.c-card-link__title { grid-column: 1; font-family: var(--f-ui); font-size: 17px; font-weight: 500; line-height: 1.5; color: var(--c-green); }
.c-card-link .c-icon { grid-column: 2; grid-row: 1 / span 2; font-size: 24px; color: var(--c-green); }

/* 解説ページの一覧 */
.c-doc-list { display: flex; flex-direction: column; gap: 24px; }
.c-doc-list__link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 28px 32px;
  border-radius: 40px 0;
  background: #fff;
  box-shadow: var(--shadow);
  transition: opacity var(--ease);
}
.c-doc-list__link:hover { opacity: .7; }
.c-doc-list__title { font-family: var(--f-ui); font-size: 22px; line-height: 1.4; color: var(--c-green); }
.c-doc-list__sub { font-family: var(--f-ui); font-size: 15px; color: var(--c-green); }
.c-doc-list__lead { margin-top: 6px; font-size: 14px; line-height: 1.8; }

/* 診療科のラベル */
.c-faq__dept { font-family: var(--f-ui); font-size: 13px; line-height: 1.4; color: var(--c-blue); }
.c-faq__dept a:hover { text-decoration: underline; }

/* 質問ページ・解説ページの本体 */
.c-faq, .c-doc { max-width: 880px; margin: 64px auto 50px; padding: 0 var(--gutter); box-sizing: content-box; }
.c-faq__head, .c-doc__head { display: flex; flex-direction: column; gap: 10px; }
.c-faq__q { display: flex; gap: 14px; font-family: var(--f-ui); font-size: 26px; line-height: 1.5; color: var(--c-green); }
.c-faq__q::before { content: "Q"; }
.c-faq__mark, .c-faq__q::before {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--g-main);
  font-family: var(--f-en);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  color: #fff;
}
.c-faq__digest .c-faq__mark { background: var(--g-blue); }
.c-faq__digest {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(180deg, var(--c-sand) 0%, #fff 100%);
  box-shadow: var(--shadow);
  line-height: 2;
}
.c-faq__digest p { padding-top: 4px; font-weight: 600; }
.c-faq__back { margin-top: 48px; text-align: right; }
.c-doc__title h1, h1.c-doc__title { font-family: var(--f-ui); font-size: 28px; line-height: 1.5; color: var(--c-green); }
.c-doc__title p { margin-top: 4px; font-family: var(--f-ui); font-size: 18px; line-height: 1.5; color: var(--c-green); }
.c-doc__lead {
  margin-top: 24px;
  padding: 24px 28px;
  border-left: 4px solid var(--c-green);
  background: var(--c-cream-2);
  font-weight: 600;
  line-height: 2;
}

/* Markdown の本文 */
.c-prose { margin-top: 40px; line-height: 2; }
.c-prose > * + * { margin-top: 1em; }
.c-prose h2 {
  margin: 48px 0 16px;
  padding: 10px 14px;
  border-bottom: 2px solid var(--c-green);
  background: linear-gradient(180deg, var(--c-sand) 0%, #fff 100%);
  font-family: var(--f-ui);
  font-size: 19px;
  line-height: 1.6;
  color: var(--c-green);
}
.c-prose h3 { margin-top: 32px; font-family: var(--f-ui); font-size: 17px; color: var(--c-green); }
.c-prose ul > li { position: relative; padding-left: 1.2em; }
.c-prose ul > li::before { content: ""; position: absolute; left: .2em; top: .85em; width: 6px; height: 6px; border-radius: 50%; background: var(--c-blue); }
.c-prose ol { padding-left: 1.6em; list-style: decimal; }
.c-prose li + li { margin-top: 4px; }
.c-prose strong { font-weight: 600; color: var(--c-green); }
.c-prose a { color: var(--c-green); text-decoration: underline; text-underline-offset: 3px; }
.c-prose a:hover { opacity: .7; }
.c-prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.7; }
.c-prose th, .c-prose td { padding: 10px 14px; border: 1px solid #ddd8c6; vertical-align: top; text-align: left; }
.c-prose thead th { background: var(--c-cream); font-family: var(--f-ui); font-weight: 600; color: var(--c-green); }

/* 関連（詳しく知りたい方へ・同じ科の質問・関連するご質問） */
.c-related { margin-top: 56px; }
.c-related__title, .c-sources__title { margin-bottom: 16px; font-family: var(--f-ui); font-size: 19px; line-height: 1.5; color: var(--c-green); }

/* 参考にした資料・監修 */
.c-sources { margin-top: 56px; padding: 24px 28px; border-radius: 24px; background: #f8f6f0; }
.c-sources ul { display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.7; }
.c-sources li { padding-left: 1em; text-indent: -1em; }
.c-sources li::before { content: "・"; }
.c-sources a { color: var(--c-green); text-decoration: underline; text-underline-offset: 3px; word-break: break-all; }
.c-review { margin-top: 24px; font-size: 14px; line-height: 1.8; text-align: right; color: #555; }
.c-review a { color: var(--c-green); text-decoration: underline; text-underline-offset: 3px; }
.c-review__date { display: inline-block; margin-left: 1em; }

@media (max-width: 540px) {
  .p-faq { margin-top: 32px; }
  .p-faq > .c-subnav { margin-bottom: 40px; }
  .c-faq, .c-doc { margin-top: 32px; }
  .c-faq__q { gap: 10px; font-size: 20px; }
  .c-faq__mark, .c-faq__q::before { width: 34px; height: 34px; font-size: 18px; }
  .c-faq__digest { flex-direction: column; gap: 8px; padding: 20px; }
  .c-doc__title h1, h1.c-doc__title { font-size: 22px; }
  .c-doc__title p { font-size: 15px; }
  .c-doc__lead { padding: 18px 20px; }
  .c-prose h2 { font-size: 17px; }
  /* 表は横にスクロール */
  .c-prose table { display: block; overflow-x: auto; font-size: 14px; }
  .c-prose th, .c-prose td { min-width: 7em; padding: 8px 10px; }
  .c-doc-list__link { padding: 22px 20px; border-radius: 28px 0; }
  .c-doc-list__title { font-size: 19px; }
  .c-sources { padding: 20px; }
  .c-review { text-align: left; }
  .c-review__date { margin-left: 0; }
}

/* 確認用ビルドだけの表示（［要確認］の網かけ・院内で確認すること）。本番には出ない */
.u-todo { background: #fff3a0; color: inherit; padding: 0 2px; }
.c-todo { margin-top: 40px; padding: 20px 24px; border: 2px dashed #e0b800; border-radius: 12px; background: #fffbe0; font-size: 14px; line-height: 1.8; }
.c-todo__title { font-weight: 600; }
.c-todo ul { margin-top: 4px; padding-left: 1.4em; list-style: disc; }
