/* 医療法人専用サイト 共通スタイル */
:root {
  --navy: #1b3a5c;
  --navy-dark: #12283f;
  --teal: #1f8a86;
  --teal-light: #e6f4f3;
  --gray-bg: #f5f7f9;
  --gray-line: #dde3e9;
  --text: #2b3440;
  --text-sub: #5b6672;
  --white: #fff;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(18, 40, 63, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
  background: var(--white);
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; }
a { color: var(--teal); }
h1, h2, h3 { line-height: 1.45; color: var(--navy); }
h2 { font-size: 1.6rem; margin: 0 0 1rem; }
h3 { font-size: 1.2rem; margin: 0 0 .5rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section-gray { background: var(--gray-bg); }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title .en { display: block; font-size: .8rem; letter-spacing: .15em; color: var(--teal); font-weight: 700; }
.lead { font-size: 1.05rem; color: var(--text-sub); }

/* ボタン */
.btn { display: inline-block; text-decoration: none; font-weight: 700; border-radius: 999px; padding: .75em 1.6em; text-align: center; transition: opacity .2s, background .2s; }
.btn:hover { opacity: .88; }
.btn-primary { background: var(--teal); color: var(--white); }
.btn-outline { border: 2px solid var(--navy); color: var(--navy); background: var(--white); }
.btn-sm { padding: .45em 1.2em; font-size: .9rem; }
.btn-lg { padding: 1em 2em; font-size: 1.05rem; }

/* ヘッダー */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--gray-line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1.3; }
.logo-sub { font-size: .72rem; color: var(--teal); font-weight: 700; }
.logo-main { font-size: 1.15rem; color: var(--navy); font-weight: 700; }
.global-nav { display: flex; align-items: center; gap: 24px; }
.global-nav a:not(.btn) { color: var(--text); text-decoration: none; font-size: .95rem; }
.global-nav a:not(.btn):hover { color: var(--teal); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); margin: 5px 0; transition: transform .2s, opacity .2s; }

/* ヒーロー */
.hero { background: linear-gradient(135deg, var(--navy) 0%, #24557f 60%, var(--teal) 100%); color: var(--white); padding: 80px 0 72px; }
.hero-target { display: inline-block; font-weight: 700; font-size: .95rem; background: rgba(255,255,255,.16); padding: .2em .9em; border-radius: 4px; margin: 0 0 14px; }
.hero h1 { color: var(--white); font-size: 2.1rem; margin: 0 0 1rem; }
.hero .hero-lead { font-size: 1.1rem; opacity: .95; max-width: 720px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 32px; padding: 0; list-style: none; }
.hero-points li { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: .3em 1em; font-size: .9rem; }
.hero .btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

/* ページ見出し（下層） */
.page-hero { background: var(--navy); color: var(--white); padding: 48px 0; }
.page-hero h1 { color: var(--white); margin: 0; font-size: 1.8rem; }
.page-hero p { margin: .5rem 0 0; opacity: .9; }

/* カード */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--gray-line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); }
.card .icon { width: 48px; height: 48px; border-radius: 12px; background: var(--teal-light); color: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 700; margin-bottom: 14px; }
.card p:last-child { margin-bottom: 0; }
.card a.more { font-weight: 700; text-decoration: none; }

/* 悩みリスト */
.worries { list-style: none; padding: 0; margin: 0 auto; max-width: 760px; display: grid; gap: 12px; }
.worries li { background: var(--white); border-left: 4px solid var(--teal); padding: 14px 18px; border-radius: 6px; box-shadow: var(--shadow); }

/* 理由 */
.reasons { display: grid; gap: 24px; }
.reason { display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start; background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.reason .num { font-size: 2rem; font-weight: 700; color: var(--teal); line-height: 1; }

/* 流れ */
.flow { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 16px; max-width: 760px; margin: 0 auto; }
.flow li { counter-increment: step; position: relative; padding: 18px 20px 18px 72px; background: var(--white); border: 1px solid var(--gray-line); border-radius: var(--radius); }
.flow li::before { content: counter(step); position: absolute; left: 20px; top: 18px; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.flow li strong { display: block; color: var(--navy); }

/* 表 */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--white); }
th, td { border: 1px solid var(--gray-line); padding: 14px 16px; text-align: left; vertical-align: top; }
th { background: var(--teal-light); color: var(--navy); white-space: nowrap; }
.note { font-size: .88rem; color: var(--text-sub); }

/* サービス詳細 */
.service-block { padding: 40px 0; border-bottom: 1px solid var(--gray-line); scroll-margin-top: 80px; }
.service-block:last-child { border-bottom: 0; }
.service-block ul { padding-left: 1.2em; }

/* 専門家 */
.member { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 28px 0; border-bottom: 1px solid var(--gray-line); }
.member .role { color: var(--teal); font-weight: 700; font-size: .9rem; }
.member h3 { margin: 0; }

/* FAQ */
.faq details { background: var(--white); border: 1px solid var(--gray-line); border-radius: var(--radius); margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 48px 18px 20px; font-weight: 700; color: var(--navy); position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 14px; font-size: 1.4rem; color: var(--teal); }
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 20px 18px; }

/* コラム */
.column-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.column-list a { display: block; padding: 20px 24px; background: var(--white); border: 1px solid var(--gray-line); border-radius: var(--radius); text-decoration: none; color: var(--text); box-shadow: var(--shadow); }
.column-list a:hover { border-color: var(--teal); }
.column-date { display: block; font-size: .85rem; color: var(--text-sub); }
.column-title { display: block; font-weight: 700; color: var(--navy); font-size: 1.1rem; margin: 4px 0; }
.column-summary { display: block; font-size: .92rem; color: var(--text-sub); }
.draft-badge { display: inline-block; background: #fde2e1; color: #b3261e; font-size: .75rem; font-weight: 700; padding: 0 .6em; border-radius: 4px; margin-left: .5em; }
.article { max-width: 760px; margin: 0 auto; }
.article h2 { margin-top: 2.2em; padding-bottom: .3em; border-bottom: 2px solid var(--teal-light); }
.article .points { background: var(--teal-light); border-radius: var(--radius); padding: 20px 24px 8px; margin: 24px 0; }
.article .points h3 { margin-top: 0; }
.article .sources { font-size: .85rem; color: var(--text-sub); border-top: 1px solid var(--gray-line); margin-top: 40px; padding-top: 16px; }

/* フォーム */
.form-box { max-width: 720px; margin: 0 auto; background: var(--white); border: 1px solid var(--gray-line); border-radius: var(--radius); padding: 32px; }
.contact-form { display: block; width: 100%; height: 2300px; border: 0; }
.placeholder-box { border: 2px dashed var(--teal); background: var(--teal-light); padding: 24px; border-radius: var(--radius); }

/* CTA */
.cta { background: var(--teal-light); padding: 56px 0; text-align: center; }
.cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 20px 0 12px; }
.cta-note { font-size: .88rem; color: var(--text-sub); margin: 0; }

/* フッター */
.site-footer { background: var(--navy-dark); color: #cdd6df; padding: 40px 0 16px; font-size: .9rem; }
.site-footer a { color: #cdd6df; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.footer-name { color: var(--white); font-weight: 700; font-size: 1.05rem; }
.footer-inner p { margin: 0 0 .3em; }
.footer-nav { display: grid; grid-template-columns: repeat(2, auto); gap: 6px 28px; align-content: start; }
.footer-nav a { text-decoration: none; }
.copyright { text-align: center; margin: 32px 0 0; font-size: .8rem; opacity: .7; }

/* スマホ */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .global-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--gray-line); padding: 8px 20px 20px; }
  .global-nav.open { display: flex; }
  .global-nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--gray-line); }
  .global-nav .btn { margin-top: 14px; }
  .hero { padding: 56px 0 48px; }
  .hero h1 { font-size: 1.6rem; }
  h2 { font-size: 1.35rem; }
  .section { padding: 48px 0; }
  .reason { grid-template-columns: 1fr; gap: 8px; padding: 22px; }
  .hero-buttons .btn, .cta-buttons .btn { width: 100%; }
  .form-box { padding: 20px 8px; }
  .contact-form { height: 2900px; }
  th, td { padding: 10px 8px; font-size: .88rem; }
  th { white-space: normal; }
}
