:root {
  color-scheme: light;
  --ink: #173042;
  --muted: #5d7180;
  --line: #d9e5eb;
  --pale: #f3f8fa;
  --blue: #1871a3;
  --blue-dark: #0f547d;
  --orange: #e67d22;
  --white: #fff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--pale);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Noto Sans JP", "Yu Gothic", sans-serif;
  line-height: 1.8;
}

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

.site-header {
  min-height: 76px;
  padding: 14px max(20px, calc((100% - 1040px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.15;
}

.brand-main {
  color: var(--blue-dark);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: .04em;
}

.brand-sub {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .18em;
}

.site-header nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 22px;
}

.site-header nav a,
.site-footer nav a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.page-shell {
  width: min(880px, calc(100% - 40px));
  margin: 56px auto;
  padding: clamp(28px, 5vw, 64px);
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(25, 63, 82, .10);
}

.page-shell h1 {
  margin: 0 0 30px;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.35;
  letter-spacing: .02em;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
}

.lead {
  margin: 0 0 24px;
  color: var(--muted);
}

.notice {
  margin: 24px 0;
  padding: 14px 16px;
  color: #395565;
  background: #edf7fb;
  border-left: 4px solid var(--blue);
  border-radius: 6px;
  font-size: 14px;
}

.article-shell { max-width: 880px; }

.article-body {
  color: #263c4a;
  font-size: 16px;
}

.article-body p { margin: 0 0 1.4em; }
.article-body h2,
.article-body h3,
.article-body h4 { margin: 2em 0 .8em; line-height: 1.45; }
.article-body ul,
.article-body ol { padding-left: 1.4em; }
.article-body a { overflow-wrap: anywhere; }

.video {
  position: relative;
  margin: 32px 0;
  padding-top: 56.25%;
  overflow: hidden;
  background: #000;
  border-radius: 10px;
}

.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.back-link { margin: 36px 0 0; }

.back-link a,
button {
  display: inline-flex;
  min-height: 48px;
  padding: 12px 24px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--blue);
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.back-link a:hover,
button:hover { color: var(--white); background: var(--blue-dark); }

.news-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.news-list li { border-bottom: 1px solid var(--line); }

.news-list a {
  display: grid;
  grid-template-columns: 110px 82px 1fr;
  gap: 14px;
  padding: 20px 6px;
  align-items: start;
  color: var(--ink);
  text-decoration: none;
}

.news-list a:hover { background: #f8fbfc; }
.news-date { color: var(--muted); font-size: 14px; }
.news-label { color: var(--blue); font-size: 12px; font-weight: 750; }
.news-title { font-weight: 650; line-height: 1.6; }

#contact-form { margin-top: 34px; }

.form-row { margin: 0 0 22px; }

.form-row label {
  display: block;
  margin-bottom: 7px;
  font-weight: 700;
}

.required {
  margin-left: 6px;
  padding: 2px 7px;
  color: var(--white);
  background: var(--orange);
  border-radius: 4px;
  font-size: 11px;
  vertical-align: 2px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #bfcfd7;
  border-radius: 8px;
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(24, 113, 163, .18);
  border-color: var(--blue);
}

.consent {
  display: flex;
  margin: 8px 0 24px;
  align-items: flex-start;
  gap: 10px;
}

.consent input { margin-top: .45em; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-message { min-height: 1.8em; color: #a84418; font-weight: 650; }

.status-shell { text-align: center; }

.site-footer {
  padding: 30px 20px 40px;
  color: var(--muted);
  text-align: center;
}

.site-footer p { margin: 18px 0 0; font-size: 12px; }

@media (max-width: 700px) {
  .site-header { align-items: flex-start; }
  .site-header nav { justify-content: flex-end; gap: 8px 14px; }
  .site-header nav a { font-size: 12px; }
  .page-shell { width: min(100% - 24px, 880px); margin: 24px auto; padding: 30px 22px; border-radius: 12px; }
  .news-list a { grid-template-columns: 1fr auto; gap: 5px 12px; }
  .news-title { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
