@charset "utf-8";

/* =========================================================
   まちのかかりつけナース  共通スタイル
   アクセント: #f3981d / ベース: #ffffff / 文字: #333333
   ブレークポイント: 960px / 640px
   ========================================================= */

:root {
  --accent: #f3981d;
  --accent-dark: #d9820c;
  --accent-tint: #fdf1e2;
  --bg: #ffffff;
  --bg-alt: #fdf8f2;
  --text: #333333;
  --text-weak: #6b6b6b;
  --line: #ececec;
  --max: 1080px;
  --radius: 12px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium",
    "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

/* 日本語の改行を自然な文節で折り返す（対応ブラウザのみ。非対応は通常折り返し） */
h1, h2, h3, p, li, td, th, .hero__lead, .section__title, .card h3, .step h3 {
  line-break: strict;
  word-break: auto-phrase;
}
/* 途中で割れると読みにくい語のまとまり */
.nb { white-space: nowrap; }

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

a { color: var(--accent-dark); }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(180%) blur(6px);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  line-height: 1.35;
}
.brand__mark {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.brand__name { font-size: 12px; color: var(--text-weak); }
.brand__main { font-size: 16px; font-weight: 700; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-tel { text-align: right; line-height: 1.3; }
.header-tel a {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.header-tel small { display: block; font-size: 11px; color: var(--text-weak); }

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--accent-dark); }
.btn--ghost {
  background: #fff;
  color: var(--accent-dark);
  border: 2px solid var(--accent);
}
.btn--ghost:hover { background: var(--accent-tint); }

/* ---------- ヒーロー ---------- */
.hero {
  background: linear-gradient(180deg, var(--accent-tint) 0%, #fff 100%);
  padding: 72px 0 64px;
}
.hero__inner {
  display: flex;
  align-items: center;
  gap: 48px;
}
.hero__body { flex: 1 1 auto; }
.hero__figure {
  flex: 0 0 380px;
  max-width: 380px;
  background: #fff;
  border-radius: 24px;
  padding: 12px;
  box-shadow: 0 12px 32px rgba(180, 120, 50, 0.15);
}
.hero__figure svg { width: 100%; height: auto; }
.hero__figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}
@media (max-width: 900px) {
  .hero__inner { flex-direction: column-reverse; align-items: flex-start; gap: 28px; }
  .hero__figure { flex-basis: auto; max-width: 240px; padding: 14px; }
}
.hero__lead {
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--accent-dark);
  margin: 0 0 12px;
}
.hero__title {
  font-size: 34px;
  line-height: 1.55;
  margin: 0 0 20px;
  font-weight: 700;
}
.hero__title span { color: var(--accent-dark); }
.hero__text { max-width: 640px; margin: 0 0 28px; }

/* ---------- セクション ---------- */
.section { padding: 64px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { margin-bottom: 36px; }
.section__en {
  display: block;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 700;
}
.section__title { font-size: 26px; margin: 4px 0 0; font-weight: 700; }

/* ---------- カードグリッド ---------- */
.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--accent-dark);
}
.card p { margin: 0; font-size: 15px; color: var(--text-weak); }

/* ---------- 流れ（ステップ） ---------- */
.steps { counter-reset: step; display: grid; gap: 16px; }
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px 20px 68px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.step h3 { margin: 0 0 4px; font-size: 16px; }
.step p { margin: 0; font-size: 14px; color: var(--text-weak); }

/* ---------- 情報公開 リスト ---------- */
.doc-group { margin-bottom: 40px; }
.doc-group h3 {
  font-size: 18px;
  border-left: 4px solid var(--accent);
  padding-left: 12px;
  margin: 0 0 16px;
}
.doc-list { list-style: none; margin: 0; padding: 0; }
.doc-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.doc-list li:first-child { border-top: 1px solid var(--line); }
.doc-list .doc-name { flex: 1; }
.doc-list .doc-meta { color: var(--text-weak); font-size: 13px; white-space: nowrap; }
.doc-list a.doc-dl {
  font-weight: 700;
  text-decoration: none;
  color: var(--accent-dark);
  white-space: nowrap;
}
.doc-list a.doc-dl::before { content: "\2193 "; }
.doc-list .doc-pending { color: var(--text-weak); font-size: 13px; white-space: nowrap; }

/* ---------- 事務所概要テーブル ---------- */
.info-table { width: 100%; border-collapse: collapse; }
.info-table th,
.info-table td {
  text-align: left;
  vertical-align: top;
  padding: 14px 8px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.info-table th { width: 140px; color: var(--text-weak); font-weight: 700; }

/* ---------- お知らせ ---------- */
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.news-list time { color: var(--text-weak); white-space: nowrap; }

/* ---------- CTA 帯 ---------- */
.cta {
  background: var(--accent-tint);
  text-align: center;
  padding: 56px 0;
}
.cta h2 { margin: 0 0 8px; font-size: 22px; }
.cta p { margin: 0 0 24px; color: var(--text-weak); }
.cta .tel-big {
  font-size: 30px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  display: inline-block;
  letter-spacing: 0.03em;
}
.cta .tel-note { font-size: 13px; color: var(--text-weak); }

/* ---------- 本文ページ ---------- */
.page-header {
  background: var(--accent-tint);
  padding: 48px 0;
}
.page-header h1 { margin: 0; font-size: 26px; }
.page-header .en { font-size: 12px; letter-spacing: 0.18em; color: var(--accent); font-weight: 700; }
.prose { max-width: 760px; }
.prose h2 {
  font-size: 19px;
  margin: 40px 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.prose h3 { font-size: 16px; margin: 24px 0 8px; }
.prose p, .prose li { font-size: 15px; }
.prose ol, .prose ul { padding-left: 1.4em; }

/* ---------- フッター ---------- */
.site-footer {
  background: #2a2a2a;
  color: #d8d8d8;
  padding: 48px 0 28px;
  font-size: 14px;
}
.site-footer a { color: #d8d8d8; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 48px;
  justify-content: space-between;
  margin-bottom: 32px;
}
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin: 6px 0; }
.footer-brand { max-width: 320px; }
.footer-brand .name { font-weight: 700; color: #fff; margin-bottom: 6px; }
.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 20px;
  color: #9a9a9a;
  font-size: 12px;
}

/* ---------- ユーティリティ ---------- */
.center { text-align: center; }
.mt-32 { margin-top: 32px; }
.sp-only { display: none; }
@media (max-width: 640px) { .sp-only { display: inline; } }
.sns-links { display: flex; gap: 14px; margin-top: 12px; }
.sns-links a {
  border: 1px solid #555;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 13px;
}

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .hero__title { font-size: 28px; }
}

@media (max-width: 640px) {
  body { font-size: 15px; line-height: 1.85; }
  .container { padding: 0 18px; }
  .site-header__inner { min-height: 60px; flex-wrap: wrap; gap: 8px; }
  .header-tel a { font-size: 17px; }
  .header-actions { gap: 8px; }
  .brand__main { font-size: 14px; }
  .grid, .grid--2 { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .hero { padding: 48px 0 40px; }
  .hero__title { font-size: 23px; line-height: 1.6; }
  .info-table th { width: 96px; }
  .doc-list li { flex-wrap: wrap; gap: 6px; }
  .cta .tel-big { font-size: 24px; }
}
