:root {
  color-scheme: light dark;
  --bg: #f4f7f3;
  --surface: #fbfdfb;
  --surface-soft: #e5eee8;
  --surface-strong: #d4e3da;
  --text: #173229;
  --muted: #52675f;
  --line: #c7d5cc;
  --accent: #1f6b54;
  --accent-dark: #154c3c;
  --accent-text: #f7fbf8;
  --shadow: 0 24px 60px rgba(28, 77, 61, 0.13);
  --radius: 16px;
  --container: 1180px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111a17;
    --surface: #17231f;
    --surface-soft: #1c3028;
    --surface-strong: #244438;
    --text: #edf5f0;
    --muted: #afc3b8;
    --line: #355247;
    --accent: #65b993;
    --accent-dark: #80c9a8;
    --accent-text: #10231c;
    --shadow: 0 24px 60px rgba(3, 12, 8, 0.3);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: clamp(76px, 9vw, 132px) 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 20; padding: 10px 14px;
  background: var(--accent); color: var(--accent-text); border-radius: 8px;
  transform: translateY(-150%); transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  backdrop-filter: blur(14px);
}
.nav-wrap { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 12px; background: var(--accent); color: var(--accent-text);
  font-size: 23px; font-weight: 800; letter-spacing: -.04em;
}
.brand-copy { display: grid; line-height: 1; gap: 5px; }
.brand-copy strong { font-size: 21px; letter-spacing: .08em; }
.brand-copy small { color: var(--muted); font-size: 10px; letter-spacing: .16em; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { text-decoration: none; font-size: 14px; font-weight: 700; }
.site-nav a:not(.nav-contact):hover { color: var(--accent); }
.nav-contact {
  padding: 9px 17px; border: 1px solid var(--accent); border-radius: 10px;
  color: var(--accent); white-space: nowrap;
}
.nav-contact:hover { background: var(--accent); color: var(--accent-text); }
.menu-button { display: none; border: 0; background: transparent; color: var(--text); padding: 8px; }
.menu-button > span:not(.visually-hidden) { display: block; width: 24px; height: 2px; margin: 5px 0; background: currentColor; }

.hero { min-height: calc(100dvh - 72px); display: grid; align-items: center; padding: clamp(42px, 7vw, 84px) 0; }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: clamp(42px, 6vw, 82px); }
.eyebrow { margin: 0 0 18px; color: var(--accent); font-size: 13px; font-weight: 800; letter-spacing: .16em; }
.hero h1 {
  margin: 0; font-size: clamp(45px, 5.3vw, 68px); line-height: 1.17;
  letter-spacing: -.06em; font-weight: 800;
}
.hero-lead { max-width: 25em; margin: 26px 0 0; color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; margin-top: 34px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px;
  padding: 12px 24px; border-radius: 12px; text-decoration: none; font-weight: 800;
  white-space: nowrap; transition: transform .2s ease, background-color .2s ease;
}
.button-primary { background: var(--accent); color: var(--accent-text); box-shadow: 0 12px 26px color-mix(in srgb, var(--accent) 22%, transparent); }
.button-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.button:active { transform: translateY(1px) scale(.99); }
.text-link { font-weight: 800; color: var(--accent); text-underline-offset: 5px; }
.hero-media { position: relative; padding-bottom: 34px; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-message {
  position: absolute; left: -30px; bottom: 0; width: min(360px, 78%); padding: 20px 22px;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.hero-message strong, .hero-message span { display: block; }
.hero-message strong { font-size: 16px; }
.hero-message span { margin-top: 3px; color: var(--muted); font-size: 13px; }

.contact-highlight { padding: 34px 0; background: var(--accent); color: var(--accent-text); }
.contact-highlight-grid { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.contact-highlight p { margin: 0 0 3px; font-size: 13px; font-weight: 700; letter-spacing: .05em; }
.email-display { font-size: clamp(25px, 4.3vw, 52px); line-height: 1.2; font-weight: 800; letter-spacing: -.035em; text-decoration-thickness: 2px; text-underline-offset: 7px; }
.copy-button {
  position: relative; flex: 0 0 auto; border: 1px solid color-mix(in srgb, var(--accent-text) 54%, transparent);
  background: transparent; color: var(--accent-text); padding: 12px 18px; border-radius: 10px;
  cursor: pointer; font-size: 13px; font-weight: 800;
}
.copy-button:hover { background: color-mix(in srgb, var(--accent-text) 12%, transparent); }
.copy-success { display: none; }
.copy-button.is-copied .copy-label { display: none; }
.copy-button.is-copied .copy-success { display: inline; }

.about-section { background: var(--surface); }
.about-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(44px, 8vw, 120px); align-items: start; }
.about-heading h2, .section-heading h2, .profile-intro h2, .contact-card h2, .story-copy h2 {
  margin: 0; font-size: clamp(34px, 4.5vw, 58px); line-height: 1.25; letter-spacing: -.045em;
}
.about-body { padding-top: 10px; }
.about-body p { margin: 0 0 20px; color: var(--muted); }
.about-body .lead { color: var(--text); font-size: clamp(19px, 2vw, 24px); line-height: 1.75; font-weight: 700; }

.visual-story { padding: clamp(64px, 8vw, 112px) 0; }
.visual-story-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(46px, 8vw, 110px); align-items: center; }
.story-image { margin: 0; }
.story-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.story-copy p { max-width: 38em; color: var(--muted); }
.story-copy blockquote { margin: 42px 0 0; padding: 24px 0 0; border-top: 3px solid var(--accent); }
.story-copy blockquote p { margin: 0; color: var(--text); font-size: clamp(21px, 2.5vw, 30px); line-height: 1.65; font-weight: 800; }

.activities-section { background: var(--surface); }
.section-heading { max-width: 680px; margin-bottom: 48px; }
.section-heading p { margin: 18px 0 0; color: var(--muted); }
.activity-grid { display: grid; grid-template-columns: 1.16fr .84fr; gap: 18px; }
.activity { border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); }
.activity h3 { margin: 16px 0 10px; font-size: clamp(22px, 2.4vw, 31px); line-height: 1.45; }
.activity p { margin: 0; max-width: 34em; }
.activity-number { font-size: 13px; font-weight: 800; letter-spacing: .12em; }
.activity-main { grid-row: span 2; min-height: 450px; display: flex; flex-direction: column; justify-content: flex-end; background: var(--accent); color: var(--accent-text); }
.activity-main .activity-number { margin-bottom: auto; }
.activity-soft { background: var(--surface-strong); }
.activity-soft p { color: var(--muted); }
.activity-line { display: grid; grid-template-columns: 54px 1fr; gap: 12px; align-items: start; border: 1px solid var(--line); background: var(--bg); }
.activity-line h3 { margin-top: 0; }
.activity-line p { color: var(--muted); }
.medical-note { margin: 24px 0 0; color: var(--muted); font-size: 13px; }

.profile-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(46px, 8vw, 112px); align-items: start; }
.profile-intro { position: sticky; top: 116px; }
.profile-intro p { color: var(--muted); }
.official-links { display: grid; gap: 10px; margin-top: 28px; }
.official-links a { color: var(--accent); font-weight: 800; text-underline-offset: 5px; }
.profile-data { margin: 0; padding: 4px 0; }
.profile-data > div { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.profile-data > div:last-child { border-bottom: 0; }
.profile-data dt { color: var(--muted); font-size: 13px; font-weight: 800; }
.profile-data dd { margin: 0; font-weight: 700; }
.profile-data dd small { color: var(--muted); font-weight: 500; }
.profile-data dd a { color: var(--accent); font-size: 19px; text-underline-offset: 5px; }

.contact-section { padding-top: 30px; }
.contact-card {
  display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 42px;
  padding: clamp(34px, 5vw, 66px); border-radius: var(--radius); background: var(--surface-soft);
}
.contact-card p { margin: 16px 0 0; color: var(--muted); }
.contact-actions { display: grid; justify-items: end; gap: 18px; }
.contact-email { color: var(--accent); font-size: clamp(19px, 2.2vw, 27px); font-weight: 800; text-underline-offset: 6px; }

.site-footer { padding: 52px 0; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .9fr .9fr; gap: 42px; align-items: start; }
.footer-brand { margin-bottom: 18px; }
.site-footer p { max-width: 30em; margin: 0; color: var(--muted); font-size: 13px; }
.footer-contact, .footer-meta { display: grid; gap: 8px; }
.footer-contact span, .footer-meta span, .footer-meta small { color: var(--muted); font-size: 12px; }
.footer-contact a { color: var(--accent); font-size: 18px; font-weight: 800; text-underline-offset: 5px; }
.footer-meta { justify-items: end; text-align: right; }

:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 72%, transparent); outline-offset: 4px; }

@media (max-width: 820px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .menu-button { display: block; cursor: pointer; }
  .site-nav {
    position: absolute; top: 72px; left: 0; right: 0; display: none; align-items: stretch;
    padding: 14px 16px 22px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: grid; gap: 4px; }
  .site-nav a { padding: 11px 8px; }
  .nav-contact { margin-top: 6px; text-align: center; }
  .hero { min-height: auto; padding: 48px 0 64px; }
  .hero-grid, .about-layout, .visual-story-grid, .profile-layout, .contact-card, .footer-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 40px; }
  .hero-media { margin-left: 18px; }
  .hero-message { left: -18px; }
  .contact-highlight-grid { align-items: flex-start; flex-direction: column; gap: 20px; }
  .about-layout, .visual-story-grid, .profile-layout { gap: 34px; }
  .story-image { max-width: 520px; }
  .profile-intro { position: static; }
  .contact-actions { justify-items: start; }
  .footer-meta { justify-items: start; text-align: left; }
}

@media (max-width: 620px) {
  .section { padding: 72px 0; }
  .hero h1 { font-size: clamp(42px, 13vw, 59px); }
  .hero-lead { margin-top: 20px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .button { width: 100%; }
  .hero-media { margin-left: 12px; }
  .hero-message { left: -12px; width: calc(100% - 22px); }
  .copy-button { width: 100%; }
  .activity-grid { grid-template-columns: 1fr; }
  .activity-main { grid-row: auto; min-height: 360px; }
  .activity-line { grid-template-columns: 44px 1fr; }
  .profile-data > div { grid-template-columns: 1fr; gap: 7px; padding: 22px 0; }
  .contact-card { gap: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  .site-header, .menu-button, .copy-button, .hero-actions, .contact-section { display: none !important; }
  body { background: white; color: #172e26; }
  .section { padding: 36px 0; }
}
