:root {
  color-scheme: light;
  --ink: #222c26;
  --forest: #23382f;
  --forest-dark: #1b2c24;
  --muted: #505d54;
  --paper: #f8f7f3;
  --linen: #efeee7;
  --line: #d4d8cf;
  --accent: #d9bb92;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif CJK JP", serif;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans CJK JP", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.85; }
a { color: inherit; text-underline-offset: .25em; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, blockquote, ol, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.4; }
h1, h2 { font-family: var(--serif); font-weight: 600; }
h2 { font-size: clamp(1.75rem, 4vw, 2.85rem); }
button { font: inherit; }
:focus-visible { outline: 3px solid #a46b29; outline-offset: 5px; }
[id] { scroll-margin-top: 1rem; }
.wrap { width: min(100% - 3rem, 1190px); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 8vw, 7.25rem); }
.section-head { margin-bottom: clamp(1.7rem, 4vw, 3rem); }
.section-head p { margin-top: .65rem; color: var(--muted); }
.skip { position: absolute; top: -8rem; left: 1rem; padding: .5rem 1rem; background: white; z-index: 3; }
.skip:focus { top: 1rem; }
.notice { text-align: center; color: #f7f4ec; background: var(--forest-dark); padding: .5rem 1rem; font-size: .8125rem; }
.header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: .85rem 2rem; min-height: 5rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font-size: 1.15rem; font-family: var(--serif); font-weight: 600; line-height: 1.25; }
.brand small { display: block; font: 500 .78rem/1.45 "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif; color: var(--muted); }
nav { display: flex; gap: clamp(.65rem, 2.7vw, 2.5rem); }
nav a { white-space: nowrap; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; font-size: .9375rem; }
nav a:hover { text-decoration: underline; }
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--forest); color: var(--paper); }
.hero-copy { padding: clamp(2.5rem, 6vw, 6.8rem) clamp(1.5rem, 4.4vw, 4.8rem); align-self: center; }
.eyebrow { color: #f1d8b9; font-size: .875rem; letter-spacing: .1em; }
.hero h1 { font-size: clamp(2.15rem, 4.35vw, 4.15rem); letter-spacing: .025em; margin-block: .9rem 1.2rem; }
.hero-copy > p:last-of-type { max-width: 25rem; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.hero-actions { display: flex; gap: .65rem; flex-wrap: wrap; margin-top: 1.7rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 49px; border: 1px solid transparent; padding: .62rem 1rem; border-radius: 3px; font-weight: 700; text-decoration: none; text-align: center; cursor: pointer; background: var(--forest); color: white; transition: background-color .2s, color .2s; }
.button-light { background: #f4e5cf; color: #24362c; }
.button-light:hover { background: #fff3df; }
.button-outline { border-color: #adbaab; background: transparent; }
.button-outline:hover { background: #ffffff22; }
.job { display: grid; grid-template-columns: 1fr 1.25fr; gap: 1.4rem 4rem; align-items: center; }
.role { font: 600 clamp(2rem, 4.5vw, 3.6rem)/1.3 var(--serif); margin-top: .6rem; color: var(--forest); }
.role small { font: 500 1rem/1.5 sans-serif; }
.people { background: var(--linen); }
.profiles { display: grid; gap: .95rem; }
.profile { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); background: var(--paper); }
.profile > img { width: 100%; height: 100%; max-height: 680px; object-fit: cover; object-position: center 38%; }
.profile:nth-child(even) { grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); }
.profile:nth-child(even) > img { order: 2; }
.profile-copy { padding: clamp(1.35rem, 4.3vw, 4rem); align-self: center; }
.profile-meta { color: var(--muted); font-size: .875rem; }
.profile h3 { font-family: var(--serif); margin: .1rem 0 .25rem; font-size: clamp(1.65rem, 3.4vw, 2.5rem); }
.profile h3 small { font: 500 .95rem/1.5 sans-serif; margin-left: .4rem; }
.previous { color: var(--muted); font-size: .9rem; }
blockquote { margin-block: .85rem 1.25rem; font-size: 1.0625rem; font-weight: 650; }
details { border-top: 1px solid var(--line); }
summary { position: relative; list-style: none; cursor: pointer; padding: .8rem 2.25rem .8rem 0; min-height: 48px; font-weight: 700; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "＋"; position: absolute; top: .8rem; right: .15rem; }
details[open] > summary::after { content: "−"; }
.day { border-bottom: 1px solid var(--line); }
.day ol { list-style: none; padding: 0 0 .9rem; }
.day li { display: grid; grid-template-columns: 3.65rem 1fr; gap: .55rem; padding-block: .23rem; }
.day time { font-variant-numeric: tabular-nums; color: var(--forest); font-weight: 700; }
.after { border-left: 2px solid #a98a63; padding-left: .8rem; margin-top: 1.1rem; }
.after h4 { font-size: .9375rem; color: var(--forest); }
.after h4 span { font-weight: 500; padding-left: .3rem; }
.training { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.5rem clamp(2.25rem, 6vw, 6rem); align-items: center; }
.training img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.training ul { padding-left: 1.2rem; margin: 1rem 0 0; }
.training li { padding-block: .3rem; }
.training li::marker { color: #7a522a; }
.conditions { background: var(--forest); color: var(--paper); }
.conditions .section-head p { color: #e4e8df; }
.conditions dl { border-top: 1px solid #849389; }
.conditions dl > div { display: grid; grid-template-columns: minmax(8rem, .47fr) 1fr; gap: .3rem 1.25rem; padding-block: .9rem; border-bottom: 1px solid #849389; }
.conditions dt { color: #e4e8df; }
.conditions dd strong { font-size: 1.15rem; color: #f4dcb9; }
.faq { display: grid; grid-template-columns: 1fr 2fr; gap: 1.2rem; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq details p { padding: 0 1.4rem 1rem 0; }
.entry { background: var(--linen); }
.entry-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: #6b7b70; }
.entry-options article { background: var(--forest); color: var(--paper); padding: 1.6rem clamp(1.4rem, 4vw, 3.2rem); }
.entry-options article:target { box-shadow: inset 0 0 0 3px var(--accent); }
.entry-options h3 { margin-bottom: .85rem; font-size: 1.3rem; }
.footer { background: var(--forest-dark); color: var(--paper); padding: 1.6rem 0 5rem; }
.footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .9rem; align-items: center; }
.footer small { display: block; margin-top: .3rem; font-size: .875rem; }
.portfolio { position: fixed; left: max(.65rem, env(safe-area-inset-left)); bottom: calc(.65rem + env(safe-area-inset-bottom)); z-index: 2; font-size: .8125rem; background: #1b2c24f2; color: white; padding: .58rem .85rem; border: 1px solid #ffffff55; border-radius: 999px; text-decoration: none; }
.portfolio:hover { background: #314e3e; }
dialog { width: min(28rem, 100% - 2rem); border: 1px solid var(--line); padding: 0; color: var(--ink); background: var(--paper); }
dialog::backdrop { background: #17231dc9; }
.dialog-body { padding: 1.6rem; }
.dialog-body h2 { font-size: 1.55rem; }
.dialog-body p { margin-block: .65rem 1rem; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr 1fr; }
  .hero-copy { padding-inline: 1.55rem; }
  .desktop-break { display: none; }
}
@media (max-width: 660px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { display: block; padding-top: .7rem; }
  .brand img { width: 30px; height: 30px; }
  nav { justify-content: space-between; gap: .4rem; }
  nav a { padding-inline: .3rem; font-size: .875rem; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 1.65rem 1rem 1.4rem; }
  .hero h1 { font-size: clamp(1.85rem, 7.5vw, 2.7rem); margin: .5rem 0 .7rem; }
  .hero h1 br:nth-of-type(2) { display: none; }
  .hero-actions { margin-top: .95rem; display: grid; grid-template-columns: 1fr 1fr; }
  .hero-actions .button { padding-inline: .38rem; font-size: .9rem; }
  .hero-photo { height: auto; aspect-ratio: 16/10; object-position: center; }
  .job, .training, .faq { grid-template-columns: 1fr; }
  .profile, .profile:nth-child(even) { grid-template-columns: 1fr; }
  .profiles { gap: 1.6rem; }
  .profile > img, .profile:nth-child(even) > img { order: 0; aspect-ratio: 5/4; height: auto; object-position: center 34%; }
  .profile-copy { padding: 1.2rem 1rem 1.4rem; }
  .conditions dl > div { grid-template-columns: 1fr; }
  .conditions dt { font-size: .875rem; }
  .entry-options { grid-template-columns: 1fr; }
  .entry-options .button { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
