:root {
  --bg: #f4f7f7;
  --surface: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --brand: #0f766e;
  --brand-strong: #115e59;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Noto Sans JP', 'Hiragino Sans', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8fbfb 0%, #f2f5f7 100%);
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
.site-header {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(10px);
  background: color-mix(in oklab, #ffffff 88%, transparent);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1160px; margin: 0 auto; padding: 14px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { font-weight: 700; letter-spacing: .02em; }
.brand-logo { display: block; height: 40px; max-height: 40px; width: auto; }
.site-header + nav.navbar { padding: 8px 18px; border-top: 1px solid var(--line); background: #fff; }
.nav { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.nav a { font-size: 14px; color: #374151; padding: 6px 10px; border-radius: 999px; }
.nav a:hover { background: #ecfeff; color: var(--brand-strong); text-decoration: none; }
.nav-item { position: relative; }
.nav-submenu {
  display: none; position: absolute; top: 100%; left: 0; z-index: 20;
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px;
  padding: 6px; min-width: 200px; box-shadow: 0 8px 24px rgb(15 23 42 / 12%);
}
.nav-item:hover .nav-submenu { display: flex; flex-direction: column; }
.nav-submenu a { padding: 8px 10px; border-radius: 6px; white-space: nowrap; }
.menu-button { display: none; background: white; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; }
main.site-main { min-height: calc(100vh - 180px); }
.container { max-width: 1160px; margin: 28px auto 64px; padding: 0 18px; }
.container--with-sidebar { display: flex; gap: 32px; align-items: flex-start; flex-wrap: wrap; }
.container--with-sidebar > .page { flex: 1 1 480px; min-width: 0; }
.page-sidebar { flex: 0 0 280px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.page-sidebar__placeholder { color: var(--muted); font-size: 13px; margin: 0; }
.page-featured-image { width: 100%; max-height: 420px; object-fit: cover; border-radius: 14px; margin: 0 0 24px; }
.hero {
  background: radial-gradient(1200px 360px at 10% -5%, #e0f2fe 0%, #ffffff 45%, #ffffff 100%);
  border: 1px solid var(--line); border-radius: 16px; padding: 30px 26px;
}
.hero h1 { margin: 0 0 12px; font-size: clamp(26px, 4vw, 42px); line-height: 1.2; }
.hero p { margin: 0; color: var(--muted); line-height: 1.8; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: 16px; margin-top: 22px; }
.card {
  grid-column: span 12;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px; box-shadow: 0 8px 24px rgb(15 23 42 / 4%);
}
.section-title { margin: 34px 0 8px; font-size: 24px; }
.section-caption { margin: 0; color: var(--muted); }
.card h3 { margin: 0 0 10px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); line-height: 1.75; }
.badge { display: inline-flex; font-size: 12px; padding: 4px 9px; border-radius: 999px; background: #ecfeff; color: #0f766e; border: 1px solid #bae6fd; }
.page { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.breadcrumbs { margin-bottom: 10px; color: var(--muted); font-size: 13px; }
.page-header h1 { margin: 0 0 8px; font-size: clamp(24px, 3vw, 36px); }
.page-header p { margin: 0; color: var(--muted); }
.page-body { margin-top: 16px; line-height: 1.9; }
.page-body h2, .page-body h3 { margin-top: 1.8em; margin-bottom: .55em; }
.page-body ul, .page-body ol { padding-left: 1.3em; }
.page-body img { max-width: 100%; border-radius: 10px; border: 1px solid var(--line); }
html { scroll-behavior: smooth; }
.page-body h2, .page-body h3, .page-body h4 { scroll-margin-top: 90px; }
.highlight-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.highlight-item { background: #f0fdfa; border: 1px solid #ccfbf1; border-radius: 10px; padding: 10px; font-size: 14px; }
.cta { margin-top: 24px; padding: 16px; border-radius: 12px; background: #f0fdfa; border: 1px solid #99f6e4; }
.cta a { display: inline-block; background: var(--brand); color: #fff; padding: 10px 14px; border-radius: 9px; text-decoration: none; font-size: 14px; }
.cta a:hover { background: var(--brand-strong); }
.hp-field { position: absolute; left: -9999px; top: -9999px; }
.form-status { margin-top: 10px; font-size: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.news-list { margin: 0; padding-left: 1.15em; }
.news-list li { margin: 0 0 8px; }
.brand-logo { display: block; height: 32px; width: auto; }
.site-footer { background: #003E8C; color: #ffffff; }
.footer-main { max-width: 1400px; margin: 0 auto; padding: 64px 18px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-logo { display: block; height: 32px; width: auto; margin-bottom: 24px; }
.footer-contact p { font-size: 14px; line-height: 1.6; color: #fff; margin: 0 0 12px; }
.social-links { display: flex; gap: 16px; margin-top: 24px; }
.social-link { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.1); transition: transform .2s ease; }
.social-link:hover { transform: scale(1.1); }
.social-link img { width: 20px; height: 20px; object-fit: contain; }
.footer-section h4 { font-size: 18px; margin: 0 0 20px; color: #fff; }
.footer-section ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.footer-section a { font-size: 14px; color: #fff; opacity: .9; }
.footer-section a:hover { opacity: 1; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); }
.footer-bottom-content { max-width: 1400px; margin: 0 auto; padding: 20px 18px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.copyright { font-size: 12px; opacity: .7; color: #fff; margin: 0; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 12px; opacity: .7; color: #fff; }
.footer-legal a:hover { opacity: 1; text-decoration: underline; }
@media (max-width: 819px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.floating-contact {
  cursor: pointer; position: fixed; right: 30px; bottom: 80px; z-index: 999;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 200px; height: 80px; border-radius: 8px;
  background: #fff; color: #003E8C; text-decoration: none;
  box-shadow: 0 8px 32px rgba(45,47,50,0.1); transition: transform .3s ease;
}
.floating-contact:hover { transform: scale(1.08); }
.floating-contact__title { font-size: 18px; font-weight: 700; color: #003E8C; }
.floating-contact__sub { font-size: 13px; color: #003E8C; }
@media (max-width: 600px) {
  .floating-contact { right: 12px; bottom: 16px; width: 150px; height: 60px; }
  .floating-contact__title { font-size: 15px; }
  .floating-contact__sub { font-size: 11px; }
}
@media (min-width: 820px) {
  .card.span-4 { grid-column: span 4; }
  .card.span-6 { grid-column: span 6; }
}
@media (max-width: 819px) {
  .menu-button { display: inline-flex; }
  .nav { display: none; width: 100%; padding-top: 8px; }
  .nav.is-open { display: flex; }
  .header-inner { flex-wrap: wrap; }
  .highlight-list { grid-template-columns: 1fr; }
}
