:root {
  color-scheme: light;
  --ink: #17211f;
  --muted: #566763;
  --brand: #087f73;
  --brand-dark: #075f58;
  --wash: #e9f8f5;
  --line: #cbdad6;
  --surface: #ffffff;
  --background: #f5faf8;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.8;
}

a { color: var(--brand-dark); }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid #53cfc3; outline-offset: 3px; }

header {
  background: linear-gradient(135deg, #dff8f4, #f4fffc);
  border-bottom: 1px solid var(--line);
}

.header-inner,
main,
footer {
  width: min(760px, calc(100% - 40px));
  margin-inline: auto;
}

.header-inner { padding: 28px 0 24px; }
.brand { margin: 0; color: var(--brand-dark); font-size: 1rem; font-weight: 800; letter-spacing: .12em; }
h1 { margin: 6px 0 0; font-size: clamp(1.8rem, 6vw, 2.6rem); line-height: 1.3; }
main { padding: 34px 0 56px; }
h2 { margin: 2.2rem 0 .55rem; font-size: 1.25rem; line-height: 1.5; }
p, ul { margin: .6rem 0; }
ul { padding-left: 1.4rem; }
.meta { color: var(--muted); font-size: .92rem; }
.lead { font-size: 1.06rem; }

.notice {
  margin: 1.5rem 0;
  padding: 16px 18px;
  background: var(--wash);
  border-left: 5px solid var(--brand);
  border-radius: 8px;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.link-card {
  display: block;
  min-height: 112px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 7px 24px rgb(19 83 73 / 7%);
}

.link-card strong { display: block; color: var(--brand-dark); font-size: 1.08rem; }
.link-card span { display: block; margin-top: 6px; color: var(--muted); font-size: .92rem; }
.contact-link { font-weight: 700; overflow-wrap: anywhere; }

footer {
  padding: 22px 0 38px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: .9rem;
}

@media (max-width: 560px) {
  .link-grid { grid-template-columns: 1fr; }
  .header-inner, main, footer { width: min(100% - 28px, 760px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
