@charset "utf-8";
/* ==========================================================================
   石川眼科　サイト共通のスタイル
   すべてのページがこの1つを読む。パソコンとスマホで同じHTMLを使い、
   画面の幅が狭いときの並びは、いちばん下の「8. スマホの幅」で切り替える。

   目次
   1. 色と大きさ（ここを直すと全ページに効く）
   2. 土台
   3. 上の帯（ロゴ・メニュー・電話）
   4. 部品（ボタン・箱・表）
   5. トップページ
   6. トップページ以外のページ（病気のページ、医師紹介など）
   7. 下の帯
   8. 画面の幅がせまいとき（タブレット・スマホ）
   9. 印刷
   ========================================================================== */

/* 見出しとロゴの字（Zen Maru Gothic Bold。SIL Open Font License 1.1）。
   このサイトで使う文字だけを抜き出した小さいファイルを、このサーバーに置いている。
   外のサーバーへは取りに行かない。入っていない文字は、端末の字で出る。 */
@font-face {
  font-family: "Zen Maru Gothic";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/zen-maru-gothic-700-subset.woff2?v=c89f4c90) format("woff2");
}

/* --------------------------------------------------------------------------
   1. 色と大きさ
   -------------------------------------------------------------------------- */
:root {
  --green: #1d6b33;          /* ボタン・リンク */
  --green-dark: #124a22;     /* 押したとき・重ねたとき */
  --ink: #333333;            /* 本文 */
  --ink-strong: #1f3a24;     /* 見出し */
  --ink-soft: #4f6b4f;       /* 見出しの上の小さい字 */
  --muted: #555555;          /* 補足 */
  --bg: #f6f9f4;             /* ページの地色 */
  --surface: #ffffff;        /* 箱の地色 */
  --tint: #f3f8f0;           /* うすい緑 */
  --tint-strong: #eaf3e5;    /* 少し濃いうすい緑 */
  --line: #dfe8da;           /* 箱のふち */
  --line-soft: #e4ebe0;      /* 箱の中の区切り */
  --closed: #8a3a1e;         /* 休診の字 */
  --footer: #1f3a24;
  --footer-ink: #e6efe2;
  --focus: #1a5fb4;          /* キーボードで選んだときの枠 */

  --radius: 16px;
  --radius-s: 12px;
  --wrap: 1120px;            /* 中身の最大の幅 */
  --pad: 24px;               /* 左右の余白 */

  --font-body: "BIZ UDPGothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic UI", Meiryo, sans-serif;
  --font-head: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "BIZ UDPGothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
}

/* --------------------------------------------------------------------------
   2. 土台
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  overflow-y: scroll;        /* ページによって全体が左右にずれないよう、スクロールバーの場所をいつも空ける */
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  line-break: strict;        /* 行の頭に「ょ」「。」などが来ないようにする */
}

.site-body { flex: 1 0 auto; }   /* 上の帯と下の帯のあいだ。中身が短いページでも、下の帯が画面の下に付く */

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink-strong);
}
/* 見出しは、行の長さをそろえ、ことばの切れ目で折り返す（対応していないブラウザでは、ふつうの折り返しになる） */
h1, h2, h3, .toc a {
  text-wrap: balance;
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}
.nb { display: inline-block; }   /* このかたまりの途中では折り返さない */
p, ul, ol { margin: 0; }
ul, ol { padding: 0; }
img { max-width: 100%; height: auto; }

a { color: var(--green); }
a:hover { color: var(--green-dark); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

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

/* キーボードで最初に出る「本文へ進む」 */
.skip {
  position: absolute; left: 8px; top: -80px; z-index: 10;
  background: var(--surface); color: var(--green);
  padding: 10px 14px; border-radius: 8px; font-weight: 700;
}
.skip:focus { top: 8px; }

/* --------------------------------------------------------------------------
   3. 上の帯（ロゴ・メニュー・電話）
   -------------------------------------------------------------------------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 14px var(--pad);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}

.logo { display: flex; align-items: center; gap: 12px; color: var(--green); text-decoration: none; }
.logo:hover { color: var(--green); }
.logo__mark { flex: none; width: 56px; height: 35px; }
.logo__name {
  font-family: var(--font-head); font-weight: 700; font-size: 28px;
  letter-spacing: 0.3em; line-height: 1.4; white-space: nowrap;
}

.site-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-nav a { display: block; padding: 10px 0; color: var(--ink); text-decoration: none; font-size: 16px; }
.site-nav a:hover { color: var(--green); text-decoration: underline; }
.site-nav a[aria-current="page"] { color: var(--green); font-weight: 700; }
.site-nav__home { display: none; }   /* パソコンの幅では出さない（ロゴがトップページへのリンク） */

.tel-button {
  display: flex; align-items: center; gap: 8px;
  background: var(--green); color: #ffffff; text-decoration: none;
  font-weight: 700; font-size: 18px; min-height: 44px; padding: 12px 18px; border-radius: 999px; white-space: nowrap;
}
.tel-button:hover { background: var(--green-dark); color: #ffffff; }
.tel-button svg { flex: none; }

/* --------------------------------------------------------------------------
   4. 部品（ボタン・箱・表）
   -------------------------------------------------------------------------- */
.button {
  display: inline-block; text-align: center; text-decoration: none; font-weight: 700;
  background: var(--green); color: #ffffff;
  padding: 12px 22px; border: 1px solid var(--green); border-radius: 10px;
}
.button:hover { background: var(--green-dark); border-color: var(--green-dark); color: #ffffff; }
.button--ghost { background: var(--surface); color: var(--green); }
.button--ghost:hover { background: var(--tint); border-color: var(--green-dark); color: var(--green-dark); }
.button--icon { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.button--icon svg { flex: none; }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 12px;
}
.card > h2 { font-size: 22px; line-height: 1.5; }
.card--tint { background: var(--tint-strong); border-color: var(--tint-strong); }
.card__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.card__head h2 { font-size: 22px; line-height: 1.5; }

.note { font-size: 16px; color: var(--muted); }
.updated { font-size: 15px; color: var(--muted); }

/* 診療時間の表 */
.hours { width: 100%; border-collapse: collapse; text-align: center; }
.hours th, .hours td { padding: 12px 6px; }
.hours thead tr { background: var(--tint-strong); }
.hours tbody tr + tr { border-top: 1px solid var(--line-soft); }
.hours__time { text-align: left; }
.hours tbody .hours__time { font-weight: 400; }
.hours__time span { display: inline-block; }   /* 幅が狭いと「午前」と時刻のあいだで折り返す */
.hours__open { color: var(--green); font-weight: 700; }
.hours__closed { color: var(--closed); font-weight: 700; }

/* 点つきの箇条書き */
.bullets { padding-left: 1.4em; display: flex; flex-direction: column; gap: 10px; }

/* --------------------------------------------------------------------------
   5. トップページ
   -------------------------------------------------------------------------- */
.hero {
  max-width: var(--wrap); margin: 0 auto; padding: 56px var(--pad) 48px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 40px;
}
.hero__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.hero__eyebrow { font-size: 16px; color: var(--ink-soft); }
.hero h1 { font-size: 40px; line-height: 1.45; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__media { flex: 1 1 360px; min-width: 0; display: flex; justify-content: center; }
.hero__media img { display: block; width: 440px; max-width: 100%; border-radius: var(--radius); }

.section { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad) 56px; }
.section > h2, .band__inner > h2 { font-size: 26px; line-height: 1.5; }
.section--stack { display: flex; flex-direction: column; gap: 16px; }

.pair { display: flex; flex-wrap: wrap; gap: 24px; }
.pair > * { flex: 1 1 340px; min-width: 0; }
.pair > .pair__wide { flex: 1.5 1 520px; }

/* お知らせ */
.news { list-style: none; display: flex; flex-direction: column; }
.news li { padding: 12px 0; border-top: 1px solid var(--line-soft); }
.news li:first-child { border-top: 0; padding-top: 0; }
.news li:last-child { padding-bottom: 0; }
.news a { padding: 10px 0; }   /* 指で押せる範囲を上下に広げる（行の高さは変わらない） */

/* 白い帯（目の病気と診療） */
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 56px; }
.band__inner { max-width: var(--wrap); margin: 0 auto; padding: 48px var(--pad); display: flex; flex-direction: column; gap: 20px; }

.tiles { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.tiles a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 60px;
  background: var(--tint); color: var(--ink-strong); text-decoration: none; font-weight: 700;
  padding: 14px 18px; border-radius: var(--radius-s);
}
.tiles a::after { content: "›"; flex: none; }
.tiles a:hover { background: var(--tint-strong); color: var(--ink-strong); }

.access { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.access__text { display: flex; flex-direction: column; gap: 4px; }
.access__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.tel-link { display: inline-block; padding: 8px 0; font-weight: 700; }

/* --------------------------------------------------------------------------
   6. トップページ以外のページ（病気のページ、医師紹介など）
   -------------------------------------------------------------------------- */
.page { max-width: var(--wrap); margin: 0 auto; padding: 16px var(--pad) 64px; display: flex; flex-direction: column; gap: 16px; }

.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 15px; color: var(--muted); }
.breadcrumb li + li::before { content: "›"; margin-right: 10px; }
.breadcrumb a { display: inline-block; padding: 10px 0; }

.columns { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px; }
.columns__main { flex: 999 1 560px; min-width: 0; max-width: 760px; display: flex; flex-direction: column; gap: 24px; }
.columns__side { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }

.page-title { display: flex; flex-direction: column; gap: 4px; }
.page-title__eyebrow { font-size: 16px; color: var(--ink-soft); }
.page-title h1 { font-size: 38px; line-height: 1.4; }

.columns__main > .card { padding: 24px; }

/* よくあるご質問 */
.faq { display: flex; flex-direction: column; gap: 16px; padding-top: 16px; }
.faq > h2 { font-size: 26px; line-height: 1.5; }

.toc { list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 4px 20px; }
.toc li + li { border-top: 1px solid var(--line-soft); }
.toc a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; text-decoration: none; font-weight: 700; }
.toc a::after {              /* 下向きの印 */
  content: ""; flex: none; width: 9px; height: 9px; margin: 0 6px 4px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
}

.qa {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 16px;
}
.qa h3 { display: flex; align-items: flex-start; gap: 12px; font-size: 20px; line-height: 1.5; }
.qa h3::before {             /* 「Q」の丸印 */
  content: "Q"; flex: none; width: 36px; height: 36px; margin-top: -3px; border-radius: 50%;
  background: var(--green); color: #ffffff; font-size: 20px; line-height: 36px; text-align: center;
}
.qa p { line-height: 1.8; }

/* 右の「目の病気と診療」 */
.side-nav { display: flex; flex-direction: column; gap: 12px; }
.side-nav h2 { font-size: 20px; line-height: 1.5; }
.side-nav ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.side-nav a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink-strong);
  text-decoration: none; font-weight: 700; font-size: 16px; padding: 10px 16px; border-radius: var(--radius-s);
}
.side-nav a::after { content: "›"; flex: none; }
.side-nav a:hover { background: var(--tint); color: var(--ink-strong); }
.side-nav a[aria-current="page"] { background: var(--green); border-color: var(--green); color: #ffffff; }
.side-nav a[aria-current="page"]::after { content: "表示中"; font-size: 14px; font-weight: 400; }

.side-link { display: inline-flex; align-items: center; gap: 10px; padding: 10px 0; font-weight: 700; }
.side-link svg { flex: none; }

/* 人の名前 */
.person { font-family: var(--font-head); font-weight: 700; font-size: 26px; line-height: 1.5; color: var(--ink-strong); letter-spacing: 0.08em; }
.person small { font-family: var(--font-body); font-weight: 400; font-size: 16px; letter-spacing: 0; color: var(--muted); margin-left: 6px; }

/* 年と出来事のような、2列の表 */
.facts { width: 100%; border-collapse: collapse; }
.facts th, .facts td { text-align: left; vertical-align: top; padding: 10px 0; border-top: 1px solid var(--line-soft); }
.facts tr:first-child th, .facts tr:first-child td { border-top: 0; }
.facts th { width: 1%; white-space: nowrap; padding-right: 20px; font-weight: 700; }

/* 写真と文を横に並べる（幅がせまいと縦に並ぶ） */
.media { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px 24px; }
.media__photo { flex: 0 1 300px; min-width: 0; }
.media__photo img { display: block; width: 100%; border-radius: var(--radius-s); }
.media__text { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }

/* 文の右に小さい写真を置く */
.with-photo { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 24px; }
.with-photo > :first-child { flex: 1 1 300px; min-width: 0; }
.with-photo img { flex: none; border-radius: var(--radius-s); }

/* 取扱メーカーのロゴ */
.logos { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.logos li {
  display: flex; align-items: center; justify-content: center; min-height: 96px; padding: 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s);
  font-weight: 700; letter-spacing: 0.08em;
}
.logos img { width: auto; max-width: 100%; max-height: 56px; }

/* 箱の中の小見出し（オルソケラトロジーのページなど） */
.card h3 { font-size: 19px; line-height: 1.5; margin-top: 8px; }

/* 箇条書きの中の段落と表 */
.bullets li > p, .bullets li > .facts, .bullets .bullets { margin-top: 8px; }
.bullets .facts { width: auto; }
.bullets .facts th { width: auto; }
.bullets .facts td { white-space: nowrap; }

/* 文の中のリンク: 行の高さは変えずに、指で押せる範囲を上下に広げる */
.qa p a, .card p > a:not(.button):not(.tel-link), .bullets a { padding: 10px 0; }

/* 本文の中の図や写真（元の大きさより大きくはしない） */
.figure { margin: 4px 0; }
.figure img { display: block; max-width: 100%; height: auto; border-radius: var(--radius-s); }

/* 地図 */
.map { display: block; width: 100%; height: 420px; border: 0; border-radius: var(--radius-s); background: var(--tint); }

/* --------------------------------------------------------------------------
   7. 下の帯
   -------------------------------------------------------------------------- */
.site-footer { background: var(--footer); color: var(--footer-ink); }
.site-footer__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 28px var(--pad);
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; font-size: 15px;
}
.site-footer a { color: inherit; display: inline-block; padding: 12px 0; }
.site-footer a:hover { color: #ffffff; }
.site-footer__contact { display: flex; flex-wrap: wrap; gap: 0 24px; }
.site-footer__name { font-family: var(--font-head); font-weight: 700; font-size: 18px; letter-spacing: 0.2em; }
.site-footer__links { flex-basis: 100%; }
.site-footer__copy { flex-basis: 100%; font-size: 13px; color: #c9d6c5; }

/* まだ決まっていない所（プライバシーポリシーの下書き）。公開の前に消す */
.todo {
  border: 2px dashed var(--closed); border-radius: var(--radius-s); background: #fff7f2;
  padding: 14px 16px; color: var(--ink); font-size: 16px;
}
.todo::before { content: "未定"; display: inline-block; margin-right: 8px; padding: 0 8px; border-radius: 6px; background: var(--closed); color: #ffffff; font-weight: 700; font-size: 14px; }
.todo--check::before { content: "要確認"; }
.todo > .bullets { margin-top: 8px; }
.todo-inline { border-bottom: 2px dashed var(--closed); background: #fff7f2; padding: 0 4px; }

/* 個人情報の取り扱いのページ: 院内掲示の全文を載せていて長いので、このページだけ字を少し小さくする */
.legal { font-size: 15px; line-height: 1.75; }
.columns__main.legal > .card > h2 { font-size: 20px; }
.legal .card h3 { font-size: 17px; margin-top: 4px; }
.legal .card h4 { margin: 0; font-size: 15px; font-weight: 700; color: var(--ink-strong); }
.legal .bullets { gap: 6px; }
.legal .todo { font-size: 15px; }
.legal .note { font-size: 14px; }
.legal .bullets a, .legal .card p > a { padding: 12px 0; }
.legal__date { text-align: right; }

/* --------------------------------------------------------------------------
   8. 画面の幅がせまいとき（タブレット・スマホ）
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  /* 上の帯: 1段目にロゴと電話、2段目にメニュー */
  .tel-button { order: 2; }
  .site-nav { order: 3; flex-basis: 100%; }
  .site-nav ul { gap: 4px 28px; }

  /* 病気のページ: 右の「目の病気と診療」を本文の下へ回す */
  .columns__main { max-width: none; flex-basis: 100%; }
  .columns__side { flex-basis: 100%; padding-top: 12px; }
}

@media (max-width: 720px) {
  :root { --pad: 16px; }

  /* 上の帯: 2段目のメニューを、押しやすいボタン6つ（3列×2段）にする */
  .site-header__inner { padding-top: 12px; padding-bottom: 12px; gap: 12px; }
  .logo { gap: 10px; padding: 8px 0; }
  .logo__mark { width: 45px; height: 28px; }
  .logo__name { font-size: 21px; letter-spacing: 0.16em; }
  .tel-button { font-size: 15px; padding: 10px 12px; gap: 6px; }
  .tel-button svg { width: 18px; height: 18px; }
  .site-nav ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .site-nav__home { display: block; }
  .site-nav a {
    display: flex; align-items: center; justify-content: center; text-align: center; min-height: 44px;
    padding: 6px 2px; background: var(--tint); border-radius: 10px;
    color: var(--ink-strong); font-weight: 700; font-size: 15px; line-height: 1.3;
  }
  .site-nav a:hover { text-decoration: none; background: var(--tint-strong); }
  .site-nav a[aria-current="page"] { background: var(--surface); color: var(--green); box-shadow: inset 0 0 0 2px var(--green); }

  .card { padding: 20px; }
  .columns__main > .card { padding: 20px; }
  .button--icon { padding-left: 14px; padding-right: 14px; }

  /* トップページ */
  .hero { padding: 28px var(--pad) 24px; gap: 20px; }
  .hero__text { gap: 16px; }
  .hero__eyebrow { font-size: 15px; }
  .hero h1 { font-size: 32px; }
  .hero__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hero__actions .button { padding: 12px 8px; }
  .section { padding-bottom: 32px; }
  .section > h2, .band__inner > h2 { font-size: 24px; }
  .pair { gap: 16px; }
  .hours { font-size: 16px; line-height: 1.5; }
  .hours th, .hours td { padding: 10px 2px; }
  .hours .hours__time { padding-left: 6px; padding-right: 6px; }
  .hours__time span { display: block; }   /* 「午前」と時刻を2行に分ける */
  .band { margin-bottom: 32px; }
  .band__inner { padding: 32px var(--pad); gap: 16px; }
  .tiles { grid-template-columns: 1fr; gap: 8px; }
  .access__actions .button { flex: 1 1 100%; }

  /* 病気のページ */
  .page { padding: 8px var(--pad) 32px; gap: 12px; }
  .columns { gap: 20px; }
  .columns__main { gap: 20px; }
  .page-title__eyebrow { font-size: 15px; }
  .page-title h1 { font-size: 34px; }
  .columns__main > .card > h2 { font-size: 21px; }
  .faq { gap: 14px; padding-top: 12px; }
  .faq > h2 { font-size: 24px; }
  .toc { padding: 4px 16px; font-size: 16px; }
  .qa { padding: 20px; }
  .qa h3 { gap: 8px; font-size: 18px; line-height: 1.55; }
  .qa h3::before { width: 30px; height: 30px; margin-top: -1px; font-size: 17px; line-height: 30px; }
  .side-nav h2 { font-size: 21px; }
  .person { font-size: 24px; }
  .media__photo { flex-basis: 100%; }
  .map { height: 320px; }
  .bullets .facts th { white-space: normal; min-width: 7em; }

  /* 下の帯 */
  .site-footer__inner { padding-top: 24px; padding-bottom: 24px; flex-direction: column; gap: 6px; }
  .site-footer__contact { flex-direction: column; }
}

@media (max-width: 380px) {
  /* 幅のせまいスマホ: ロゴと電話が1段に収まるように少し小さくする */
  .logo__name { font-size: 19px; letter-spacing: 0.1em; }
  .tel-button { font-size: 14px; padding: 10px; }
  .site-nav a { font-size: 14px; }
  .hero h1 { font-size: 28px; }
  .page-title h1 { font-size: 30px; }
}

/* --------------------------------------------------------------------------
   9. 印刷
   -------------------------------------------------------------------------- */
@media print {
  html { overflow: visible; }
  body { background: #ffffff; font-size: 12pt; }
  .skip, .site-nav, .hero__actions, .side-nav, .side-link, .toc, .access__actions { display: none; }
  .site-header, .band, .card, .qa { border-color: #999999; }
  .card, .qa { break-inside: avoid; }
  .site-footer { background: #ffffff; color: #000000; border-top: 1px solid #999999; }
  .site-footer__copy { color: #000000; }
}
