/* ===== 変数 ===== */
:root {
  --color-bg: #f7f5f0;
  --color-surface: #ffffff;
  --color-navy: #14213d;
  --color-navy-deep: #0e1830;
  --color-accent: #c8402a;
  --color-text: #1f2937;
  --color-text-sub: #4b5563;
  --color-muted: #5b6573;
  --color-line: #e5e1d8;
  --color-line-strong: #d9d4c7;
  --color-input-border: #b9b3a4;
  --color-on-navy-sub: #c9d1e0;
  --radius: 12px;
  --radius-sm: 8px;
  --container: 1120px;
  --font: "Noto Sans JP", system-ui, -apple-system, "Hiragino Sans", sans-serif;
}

/* ===== ベース ===== */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
}

a { color: var(--color-navy); }
a:hover { color: var(--color-accent); }

h1, h2, h3, p, ul, ol { margin-top: 0; }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 10;
  padding: 12px 20px;
  background: var(--color-navy);
  color: #fff;
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: 16px; color: #fff; }

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* ===== ボタン ===== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary { background: var(--color-navy); color: #fff; }
.btn-primary:hover { background: var(--color-navy-deep); color: #fff; }
.btn-outline { background: var(--color-surface); color: var(--color-navy); border-color: var(--color-navy); }
.btn-outline:hover { background: var(--color-bg); color: var(--color-navy); }
.btn-accent { background: var(--color-accent); color: #fff; }
.btn-accent:hover { background: #a93320; color: #fff; }
.btn-block { display: block; width: 100%; }

/* ===== ユーティリティバー ===== */
.utility-bar { background: var(--color-navy); color: #d5dbe8; font-size: 13px; }
.utility-bar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.utility-bar a { color: #fff; font-weight: 500; text-decoration: none; }
.utility-bar a:hover { text-decoration: underline; color: #fff; }

/* ===== ヘッダー ===== */
.site-header { background: var(--color-surface); border-bottom: 1px solid var(--color-line); }
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--color-navy); }
.brand-mark { flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand-sub { font-size: 12px; color: var(--color-muted); }
.brand-name { font-size: 20px; font-weight: 900; }

.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.nav a:not(.btn) { font-size: 15px; font-weight: 700; text-decoration: none; padding: 4px 0; border-bottom: 3px solid transparent; }
.nav a:not(.btn):hover { color: var(--color-accent); }
.nav a[aria-current="page"] { color: var(--color-accent); border-bottom-color: var(--color-accent); }
.nav .btn { padding: 12px 24px; font-size: 15px; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  border: 1px solid var(--color-line-strong);
  border-radius: var(--radius-sm);
  color: var(--color-navy);
  cursor: pointer;
}

/* ===== セクション共通 ===== */
.eyebrow {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--color-accent);
}
.section-title { margin-bottom: 16px; font-size: 36px; line-height: 1.4; font-weight: 900; color: var(--color-navy); }
.section-lead { max-width: 640px; margin-bottom: 48px; color: var(--color-text-sub); }

.section { padding: 80px 0; }
.section-white { background: var(--color-surface); border-top: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); }

/* ===== ヒーロー ===== */
.hero .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
  padding-top: 72px;
  padding-bottom: 72px;
}
.hero-body { flex: 1 1 460px; min-width: 0; }
.hero-catch { margin-bottom: 16px; font-size: 14px; font-weight: 700; letter-spacing: 0.12em; color: var(--color-accent); }
.hero-title { margin-bottom: 24px; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.3; font-weight: 900; color: var(--color-navy); }
.hero-text { max-width: 520px; margin-bottom: 32px; font-size: 18px; color: #374151; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-note { margin: 20px 0 0; font-size: 14px; color: var(--color-muted); }

.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  font-size: 14px;
  color: var(--color-muted);
  background: repeating-linear-gradient(135deg, #e9e5da 0, #e9e5da 14px, #f1eee6 14px, #f1eee6 28px);
  border: 1px solid #ddd8cb;
  border-radius: 16px;
}
.hero-visual { flex: 1 1 420px; min-width: 0; min-height: 400px; }

/* ===== 入口カード ===== */
.entry { padding-bottom: 80px; }
.entry-list { display: flex; flex-wrap: wrap; gap: 24px; }
.entry-card {
  flex: 1 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  color: var(--color-text);
  text-decoration: none;
}
.entry-card:hover { border-color: var(--color-navy); color: var(--color-text); }
.entry-card strong { font-size: 20px; color: var(--color-navy); }
.entry-card span { color: var(--color-text-sub); }
.entry-card .entry-more { margin-top: auto; font-weight: 700; color: var(--color-accent); }
.icon { flex: none; stroke: var(--color-accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ===== 活動 ===== */
.pillars { display: flex; flex-wrap: wrap; gap: 24px; }
.pillar { flex: 1 1 240px; min-width: 0; padding: 24px; background: var(--color-bg); border-radius: var(--radius); }
.pillar .icon { stroke: var(--color-navy); }
.pillar h3 { margin: 16px 0 8px; font-size: 19px; color: var(--color-navy); }
.pillar p { margin: 0; font-size: 15px; color: var(--color-text-sub); }

/* ===== お知らせ ===== */
.news { display: flex; flex-wrap: wrap; gap: 48px; }
.news-head { flex: 1 1 240px; min-width: 0; }
.news-more { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--color-navy); }
.news-list { flex: 3 1 480px; min-width: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--color-line-strong); }
.news-list li { border-bottom: 1px solid var(--color-line-strong); }
.news-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  padding: 20px 0;
  color: var(--color-text);
  text-decoration: none;
}
.news-item:hover .news-title { color: var(--color-accent); text-decoration: underline; }
.news-date { font-size: 14px; color: var(--color-muted); }
.news-title { flex: 1 1 280px; font-weight: 500; }
.tag { padding: 2px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff; background: var(--color-muted); }
.tag-negotiation { background: var(--color-navy); }
.tag-event { background: var(--color-accent); }

/* ===== 流れ ===== */
.steps { display: flex; flex-wrap: wrap; gap: 24px; margin: 0; padding: 0; list-style: none; }
.step { flex: 1 1 280px; min-width: 0; padding-top: 20px; border-top: 4px solid var(--color-accent); }
.step-num { font-size: 44px; font-weight: 900; line-height: 1; color: var(--color-accent); }
.step h3 { margin: 12px 0 8px; font-size: 20px; color: var(--color-navy); }
.step p { margin: 0; color: var(--color-text-sub); }

/* ===== 相談帯 ===== */
.contact-band { background: var(--color-navy); color: #fff; }
.contact-band .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 72px;
  padding-bottom: 72px;
}
.contact-body { flex: 1 1 400px; min-width: 0; }
.contact-body h2 { margin-bottom: 12px; font-size: 34px; font-weight: 900; line-height: 1.4; }
.contact-body p { margin: 0; color: var(--color-on-navy-sub); }
.contact-card { flex: 0 1 380px; min-width: 0; padding: 28px; background: var(--color-surface); color: var(--color-navy); border-radius: var(--radius); }
.contact-card-label { font-size: 13px; font-weight: 700; color: var(--color-muted); }
.contact-card-tel { font-size: 32px; font-weight: 900; line-height: 1.3; }
.contact-card-hours { margin-bottom: 20px; font-size: 14px; color: var(--color-muted); }

/* ===== フッター ===== */
.site-footer { background: var(--color-navy-deep); color: var(--color-on-navy-sub); font-size: 14px; }
.site-footer a { color: var(--color-on-navy-sub); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-main { display: flex; flex-wrap: wrap; gap: 32px 64px; padding-top: 48px; padding-bottom: 32px; }
.footer-info { flex: 1 1 320px; min-width: 0; }
.footer-name { margin-bottom: 8px; font-size: 18px; font-weight: 900; color: #fff; }
.footer-info p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px 32px; }
.copyright { padding-bottom: 32px; font-size: 12px; color: #9aa6be; }

/* ===== 加入ページ ===== */
.page-title { background: var(--color-navy); color: #fff; }
.page-title .container { padding-top: 56px; padding-bottom: 56px; }
.breadcrumb { margin-bottom: 8px; font-size: 13px; color: var(--color-on-navy-sub); }
.breadcrumb a { color: var(--color-on-navy-sub); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.page-title h1 { margin-bottom: 12px; font-size: 40px; font-weight: 900; }
.page-title p { max-width: 640px; margin: 0; color: var(--color-on-navy-sub); }

.cards { display: flex; flex-wrap: wrap; gap: 24px; }
.card { flex: 1 1 300px; min-width: 0; padding: 28px; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius); }
.card h3 { margin-bottom: 8px; font-size: 20px; color: var(--color-navy); }
.card p { margin: 0; color: var(--color-text-sub); }

.fee-flow { display: flex; flex-wrap: wrap; gap: 32px; }
.fee { flex: 1 1 400px; min-width: 0; padding: 32px; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius); }
.fee h2, .flow h2 { margin-bottom: 20px; font-size: 24px; font-weight: 900; color: var(--color-navy); }
.fee dl { margin: 0; border-bottom: 1px solid var(--color-line); }
.fee-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 14px 0; border-top: 1px solid var(--color-line); }
.fee dt { font-weight: 700; }
.fee dd { margin: 0; }
.fee-note { margin: 16px 0 0; font-size: 14px; color: var(--color-muted); }

.flow { flex: 1 1 400px; min-width: 0; padding: 8px 0; }
.flow ol { display: flex; flex-direction: column; gap: 20px; margin: 0; padding: 0; list-style: none; }
.flow li { display: flex; gap: 16px; }
.flow-num { flex: none; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--color-accent); color: #fff; font-weight: 900; }
.flow li strong { display: block; color: var(--color-navy); }

.faq { display: flex; flex-direction: column; gap: 24px; max-width: 800px; }
.faq h3 { margin-bottom: 4px; font-size: 17px; color: var(--color-navy); }
.faq h3 span { color: var(--color-accent); }
.faq p { margin: 0; color: var(--color-text-sub); }

.apply { display: flex; flex-wrap: wrap; gap: 48px; }
.apply-head { flex: 1 1 320px; min-width: 0; }
.apply-head p { color: var(--color-text-sub); }
.form {
  flex: 2 1 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 700; }
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-input-border);
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--color-text);
  background: #fff;
}
.field input { height: 48px; padding-top: 0; padding-bottom: 0; }
.form-status { margin: 0; min-height: 1.7em; font-size: 14px; color: var(--color-muted); }

/* ===== スマホ ===== */
@media (max-width: 720px) {
  .container { padding: 0 20px; }

  .menu-toggle { display: inline-flex; }
  .nav { display: none; flex: 0 0 100%; flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid var(--color-line); }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--color-line); }
  .nav .btn { margin-top: 16px; }
  .brand-name { font-size: 17px; }
  .brand-mark { width: 36px; height: 36px; }

  .section { padding: 48px 0; }
  .section-title { font-size: 28px; }
  .section-lead { margin-bottom: 32px; }

  .hero .container { gap: 28px; padding-top: 40px; padding-bottom: 32px; }
  .hero-text { font-size: 16px; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { min-height: 200px; flex-basis: 100%; }

  .entry { padding-bottom: 40px; }
  .entry-card { padding: 20px; }

  .news { gap: 24px; }
  .contact-band .container { padding-top: 48px; padding-bottom: 48px; }
  .contact-body h2 { font-size: 24px; }
  .contact-card { flex-basis: 100%; padding: 20px; }
  .contact-card-tel { font-size: 26px; }

  .page-title h1 { font-size: 30px; }
  .fee, .form { padding: 20px; }
  .apply { gap: 24px; }
}
