/* めぐりば 開所準備サイト — ロゴの3色（ティール・オレンジ・グリーン）を基調にする */
:root {
  --teal: #2a6f7f;
  --teal-dark: #1f5562;
  --orange: #d88a48;
  --orange-soft: #f6e6d6;
  --green: #5f9184;
  --green-soft: #e5efeb;
  --bg: #fbf8f3;
  --card: #ffffff;
  --text: #2f3a3d;
  --muted: #5d6a6d;
  --line: #e6dfd4;
  --radius: 18px;
  --maxw: 960px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;
  font-size: 17px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  -webkit-text-size-adjust: 100%;
  word-break: auto-phrase; /* 日本語を文節で改行する（対応ブラウザのみ） */
  overflow-wrap: anywhere;
}
.info-table td, .mail-box .addr, .note { word-break: normal; }

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

a { color: var(--teal); }
a:hover { color: var(--teal-dark); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ヘッダー */
.site-header {
  background: rgba(251, 248, 243, 0.94);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(6px);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; min-height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text);
}
.brand img { width: 44px; height: 44px; }
.brand-name { font-size: 22px; font-weight: 700; color: var(--teal); letter-spacing: 0.08em; }
.brand-sub { display: block; font-size: 11px; color: var(--muted); line-height: 1.3; letter-spacing: 0.02em; }
.nav { display: flex; gap: 18px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--text); font-weight: 500; }
.nav a:hover { color: var(--teal); }

/* ヒーロー */
.hero { padding: 56px 0 40px; text-align: center; }
.hero-logo { width: 220px; margin: 0 auto 20px; }
.hero-badge {
  display: inline-block;
  background: var(--orange-soft); color: #9a5a22;
  font-weight: 700; font-size: 15px;
  padding: 6px 18px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(26px, 5vw, 38px);
  line-height: 1.5; margin: 0 0 16px; color: var(--teal-dark);
}
.hero p.lead { font-size: 17px; color: var(--muted); margin: 0 auto; max-width: 36em; }

/* セクション共通 */
section { padding: 48px 0; }
.section-title {
  font-size: clamp(22px, 4vw, 28px);
  color: var(--teal-dark); margin: 0 0 8px; text-align: center;
}
.section-title::after {
  content: ""; display: block; width: 48px; height: 4px;
  background: var(--orange); border-radius: 4px; margin: 12px auto 0;
}
.section-lead { text-align: center; color: var(--muted); margin: 16px auto 32px; max-width: 38em; }

.card {
  background: var(--card); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: 0 2px 14px rgba(47, 58, 61, 0.06);
}

/* 専門療育の紹介 */
.intro .card { max-width: 760px; margin: 0 auto; }
.intro .quote {
  font-size: 19px; font-weight: 700; color: var(--teal-dark);
  margin: 0 0 12px;
}

/* 大切にしていること（3つ） */
.values { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.value h3 { margin: 0 0 8px; font-size: 19px; color: var(--teal-dark); }
.value .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--green-soft); color: var(--green);
  font-weight: 700; margin-bottom: 10px;
}
.value p { margin: 0; font-size: 16px; }

/* サービス */
.services { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.service h3 { margin: 0 0 4px; font-size: 20px; color: var(--teal-dark); }
.service .target { color: var(--orange); font-weight: 700; font-size: 15px; margin: 0 0 10px; }
.service p { margin: 0; font-size: 16px; }

/* 概要表 */
.info-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.info-table th, .info-table td { padding: 14px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.info-table th { width: 8.5em; color: var(--teal-dark); font-weight: 700; white-space: nowrap; }

/* 案内バナー（採用・相談） */
.cta-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cta { text-align: center; }
.cta.recruit { background: var(--teal); color: #fff; }
.cta.recruit h3, .cta.recruit p { color: #fff; }
.cta h3 { margin: 0 0 8px; font-size: 21px; color: var(--teal-dark); }
.cta p { margin: 0 0 18px; font-size: 16px; }

.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 12px 28px; border-radius: 999px; font-size: 16px;
  background: var(--orange); color: #fff;
}
.btn:hover { background: #c47a3b; color: #fff; }
.btn.light { background: #fff; color: var(--teal-dark); }
.btn.light:hover { background: var(--orange-soft); color: var(--teal-dark); }

/* 採用ページ */
.page-hero { padding: 48px 0 24px; text-align: center; }
.page-hero h1 { font-size: clamp(26px, 5vw, 34px); color: var(--teal-dark); margin: 0 0 12px; }
.page-hero p { color: var(--muted); margin: 0 auto; max-width: 36em; }

.policy-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.policy-list li { background: var(--card); border-radius: var(--radius); padding: 22px 24px; box-shadow: 0 2px 14px rgba(47, 58, 61, 0.06); }
.policy-list h3 { margin: 0 0 6px; font-size: 18px; color: var(--teal-dark); }
.policy-list p { margin: 0; font-size: 16px; }

.job { margin-bottom: 20px; }
.job h3 { margin: 0 0 4px; font-size: 20px; color: var(--teal-dark); }
.job .tag {
  display: inline-block; font-size: 13px; font-weight: 700;
  background: var(--green-soft); color: var(--green);
  padding: 2px 12px; border-radius: 999px; margin: 0 6px 10px 0;
}
.job p { margin: 0 0 8px; font-size: 16px; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; padding: 0 0 18px 48px; font-size: 16px; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--teal); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.mail-box {
  background: var(--orange-soft); border-radius: var(--radius);
  padding: 24px; text-align: center;
}
.mail-box .addr { font-size: 19px; font-weight: 700; word-break: break-all; }
.mail-box p { margin: 6px 0; }

.note { font-size: 14px; color: var(--muted); }

/* 本文ページ（プライバシーポリシー） */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 19px; color: var(--teal-dark); margin: 28px 0 8px; }
.prose p, .prose li { font-size: 16px; }

/* フッター */
.site-footer {
  background: var(--teal-dark); color: #e8f0f1;
  padding: 36px 0 28px; margin-top: 40px; font-size: 14px;
}
.site-footer a { color: #fff; }
.site-footer .foot-name { font-size: 18px; font-weight: 700; color: #fff; margin: 0 0 6px; }
.site-footer p { margin: 4px 0; }
.site-footer .foot-links { margin-top: 14px; display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer .copy { margin-top: 18px; opacity: 0.8; font-size: 12px; }

/* スマートフォン */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-header .wrap { flex-wrap: wrap; justify-content: center; gap: 2px 12px; padding-top: 8px; padding-bottom: 6px; }
  .nav { gap: 16px; font-size: 14px; width: 100%; justify-content: center; }
  .brand img { width: 36px; height: 36px; }
  .brand-sub { display: none; }
  .hero { padding: 36px 0 24px; }
  .hero-logo { width: 170px; }
  section { padding: 36px 0; }
  .card { padding: 22px 18px; }
  .info-table th { width: 6.5em; }
}
