:root {
  color-scheme: light;
  --ink: #20362c;
  --subtle: #465a4f;
  --forest: #234b39;
  --paper: #fafaf4;
  --rule: #b8c3b2;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "BIZ UDPMincho", "Noto Serif CJK JP", serif;
  --sans: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 5.9rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.85 var(--sans); overflow-wrap: anywhere; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .23em; }
button, input, select { font: inherit; }
button, select, input[type="checkbox"] { cursor: pointer; }
:focus-visible { outline: 3px solid #b95a11; outline-offset: 4px; }
figure, h1, h2, h3, h4, p, dl, dd, pre { margin: 0; }
img { display: block; max-width: 100%; }
.wrap { width: min(1152px, 88%); margin-inline: auto; }
.skip { position: fixed; z-index: 20; top: .5rem; left: .5rem; transform: translateY(-180%); padding: .6rem 1.4rem; background: white; }
.skip:focus { transform: translateY(0); }
.proposal-strip { padding: .32rem .8rem; background: #183a2d; color: white; font-size: .81rem; text-align: center; letter-spacing: .045em; }
.proposal-strip span { margin-inline-start: .7rem; padding-inline-start: .8rem; border-inline-start: 1px solid #8ea494; }
.masthead { position: sticky; z-index: 6; top: 0; background: var(--paper); border-bottom: 1px solid #ccd4c7; }
.header-row { display: flex; align-items: center; gap: clamp(1rem, 3vw, 3rem); min-height: 73px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; flex-shrink: 0; }
.brand span { display: flex; flex-direction: column; font: 700 1.45rem/1.18 var(--serif); letter-spacing: .13em; }
.brand small { font: 600 .7rem/1.45 var(--sans); letter-spacing: .12em; }
.wide-nav { margin-inline-start: auto; display: flex; align-items: center; gap: clamp(1rem, 2.7vw, 2.4rem); }
.wide-nav a, .header-memo { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: .94rem; font-weight: 650; }
.wide-nav a:hover, .mobile-nav a:hover { text-decoration: underline; }
.header-memo { color: var(--forest); border: 1px solid var(--forest); border-radius: 2px; padding-inline: 1.1rem; }
.header-memo:hover, .header-memo:focus-visible { background: #ebefe5; }
.menu-toggle, .mobile-nav { display: none; }

.hero { position: relative; isolation: isolate; width: min(1536px, calc(100% - 2rem)); margin: 1rem auto 0; background: #263a2b; color: white; }
.hero-image, .hero-image img, .hero-image::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { z-index: -1; }
.hero-image img { object-fit: cover; object-position: 55% 57%; }
.hero-image::after { content: ""; background: linear-gradient(90deg, rgba(13,32,24,.88) 0%, rgba(14,33,24,.73) 30%, rgba(15,32,25,.28) 57%, rgba(12,27,20,.05) 80%); }
.hero-image figcaption { position: absolute; z-index: 1; right: .8rem; bottom: .75rem; padding: .12rem .55rem; font-size: .75rem; color: white; background: rgba(22,37,28,.82); }
.hero-inner { min-height: clamp(465px, 39vw, 590px); display: flex; align-items: center; padding-block: 3rem; }
.hero-copy { max-width: 35rem; }
.place, .label { font-weight: 650; font-size: .88rem; letter-spacing: .12em; }
.place { display: flex; align-items: center; gap: .75rem; color: #f4f3da; }
.place::before { content: ""; width: 2rem; height: 1px; background: #e0da9b; }
h1, h2, h3 { font-family: var(--serif); }
.hero h1 { font-size: clamp(3.1rem, 5.25vw, 5.1rem); line-height: 1.26; font-weight: 600; letter-spacing: .02em; margin: .65rem 0 1rem; }
.hero-copy > p:not(.place) { line-height: 1.95; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 47px; border: 1px solid transparent; border-radius: 2px; padding: .55rem 1.35rem; text-decoration: none; font-weight: 700; line-height: 1.65; }
.hero-button { margin-top: 1.45rem; background: #f1f0df; color: #253b2e; }
.hero-button:hover { background: white; }
.primary { background: var(--forest); color: white; }
.primary:hover { background: #153728; }

.section, .season, .company-section { padding-block: clamp(4.25rem, 7.2vw, 7.3rem); }
.section-intro { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(2rem, 3.2vw, 3rem); }
h2 { font-size: clamp(2.15rem, 3.48vw, 3.7rem); font-weight: 600; line-height: 1.4; letter-spacing: .035em; }
.section-intro > p { max-width: 30rem; color: var(--subtle); }
.work-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(1.25rem, 3.15vw, 3.5rem); }
.work-card { display: flex; flex-flow: column; align-items: start; border-top: 2px solid #69806b; padding-top: 1.3rem; }
.work-card h3 { font-size: clamp(1.3rem, 1.76vw, 1.65rem); line-height: 1.55; }
.work-card p { margin-top: .8rem; color: var(--subtle); }
.work-card ul, .notebook ul { padding-inline-start: 1.36em; margin: .9rem 0 1rem; }
.work-card li::marker, .notebook li::marker { color: #61734b; }
.topic-link, .light-link, .to-top, .subtle-button { min-height: 44px; display: inline-flex; align-items: center; font-weight: 650; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .34em; }
.topic-link { color: var(--forest); margin-top: auto; }
.topic-link:hover, .light-link:hover, .to-top:hover, .subtle-button:hover { text-decoration-thickness: 2px; }
.season { background: #e9eee4; }
.season-grid, .company-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.season-photo img { width: 100%; height: auto; aspect-ratio: 1.24; object-fit: cover; object-position: 50% 52%; }
.season-photo figcaption { color: var(--subtle); margin-top: .45rem; font-size: .78rem; }
.label { color: #486247; margin-bottom: .4rem; }
.season-copy > p:not(.label), .company-grid > div > p:not(.label) { margin-top: 1.1rem; }
.winter-points { margin-top: 1.2rem; }
.winter-points div { padding: .8rem 0; border-top: 1px solid #b3c0ae; }
.winter-points dt { font-weight: 700; margin-bottom: .18rem; }
.winter-points dd { color: var(--subtle); }
.season-copy .topic-link { margin-top: .4rem; }

.memo-layout { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(0,1fr); gap: clamp(2rem, 4vw, 4.4rem); align-items: start; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend, .field-heading, .common-fields > label { display: block; font-weight: 700; }
legend { margin-bottom: .65rem; }
#memo-form small { color: #4c6053; margin-left: .45rem; font: 500 .81rem/1.5 var(--sans); }
.choices { display: flex; flex-wrap: wrap; gap: .55rem; }
.choices label, .unsure { display: inline-flex; align-items: center; gap: .45rem; min-height: 46px; cursor: pointer; }
.choices label { border: 1px solid #a7b7a4; border-radius: 2px; padding: .48rem .7rem; background: white; }
.choices label:has(input:checked) { border-color: var(--forest); background: #e4eee0; }
input[type="checkbox"] { width: 1.13em; height: 1.13em; accent-color: var(--forest); margin: 0; flex-shrink: 0; }
.unsure { margin-top: .3rem; }
.detail-block { background: #eef2e9; padding: 1rem 1.1rem; margin-top: 1.15rem; }
#topic-selects label { display: block; margin-top: .8rem; }
.common-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin: 1.45rem 0 1.2rem; }
select { appearance: none; display: block; width: 100%; min-height: 46px; margin-top: .3rem; padding: .5rem 2rem .5rem .65rem; border: 1px solid #98a99a; border-radius: 2px; color: var(--ink); font-weight: 500; line-height: 1.5; background: linear-gradient(45deg, transparent 50%, #3d5646 50%) right .91rem center/5px 5px no-repeat, linear-gradient(135deg,#3d5646 50%, transparent 50%) right .64rem center/5px 5px no-repeat, white; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1.2rem; }
.subtle-button { background: none; border: none; padding: .35rem .15rem; color: var(--forest); }
.error { margin: .4rem 0; font-weight: 650; color: #852f17; }
.notebook { border: 1px solid #adbaa8; border-top: 3px solid #728368; padding: clamp(1.1rem, 2.3vw, 1.8rem); background: #f0f3e9; }
.notebook-head { display: flex; align-items: center; justify-content: space-between; gap: .8rem; border-bottom: 1px solid #b9c5b3; padding-bottom: .7rem; margin-bottom: .9rem; }
.notebook h3, .confirmation h3 { font-size: 1.4rem; line-height: 1.55; }
#topic-count { color: var(--subtle); font-size: .85rem; }
.notebook p, .notebook ul { margin: .6rem 0; }
.photo-hints { margin-top: .9rem; padding-top: 1rem; border-top: 1px solid #b9c5b3; }
.photo-hints h4 { font-size: 1rem; }
.photo-hints p { color: var(--subtle); font-size: .9rem; }
.confirmation { margin-top: 2rem; border: 1px solid #a7bba5; border-inline-start: 4px solid var(--forest); padding: clamp(1rem, 3vw, 2.4rem); background: white; }
.confirmation pre { margin: 1rem 0; white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; }
#copy-status:not(:empty) { margin-top: .7rem; }
.company-section { background: #234938; color: white; }
.company-grid { align-items: start; }
.company-grid .label { color: #d5e1c5; }
.company-grid .light-link { margin-top: 1rem; }
.facts > div { display: grid; grid-template-columns: minmax(5rem, .5fr) 1.4fr; gap: .8rem; padding: .9rem 0; border-top: 1px solid #728a77; }
.facts dt { color: #e0e7d9; font-weight: 650; }
.facts dd small { display: block; font-size: .85rem; color: #e0e7d9; line-height: 1.7; }
footer { background: #edf0e7; }
.footer-row { padding-block: 2rem; display: flex; justify-content: space-between; align-items: start; gap: 2rem; }
.footer-row p { color: var(--subtle); font-size: .85rem; margin-bottom: .35rem; }
.footer-row .footer-title { font-size: 1rem; font-weight: 700; color: var(--ink); }
.credit { display: inline-block; }
.to-top { white-space: nowrap; }
.missing { max-width: 50rem; margin: 12vh auto; padding: 1.5rem; }
.missing h1 { font-size: clamp(1.9rem, 4vw, 3.3rem); }
.missing .button { margin-top: 1.4rem; }

@media (max-width: 900px) {
  .wrap { width: 90%; }
  .memo-layout { grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); gap: 1.6rem; }
  .common-fields { grid-template-columns: 1fr; }
  .season-grid, .company-grid { gap: 2rem; }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 4.9rem; }
  .proposal-strip { font-size: .75rem; }
  .proposal-strip span { display: none; }
  .header-row { gap: .55rem; min-height: 62px; }
  .brand { gap: .4rem; }
  .brand img { width: 32px; height: 32px; }
  .brand span { font-size: 1.2rem; }
  .wide-nav { display: none; }
  .header-memo { margin-left: auto; font-size: .85rem; padding-inline: .65rem; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px; min-width: 46px; min-height: 48px; padding: .25rem; border: 0; color: var(--ink); background: none; }
  .menu-label { font-size: .74rem; line-height: 1; }
  .menu-icon { height: 9px; width: 23px; border-block: 1.5px solid currentColor; }
  .mobile-nav { display: grid; position: absolute; top: 100%; inset-inline: 0; padding: .3rem 5% .85rem; background: var(--paper); border-bottom: 1px solid var(--rule); box-shadow: 0 10px 15px #2439241a; }
  .mobile-nav a { display: flex; align-items: center; min-height: 47px; border-top: 1px solid #d2d9cb; text-decoration: none; }
  .hero { width: 100%; margin-top: 0; }
  .hero-inner { min-height: clamp(465px, 110vw, 560px); align-items: flex-end; padding-block: 3.5rem 2.2rem; }
  .hero-image img { object-position: 62% 52%; }
  .hero-image::after { background: linear-gradient(0deg, rgba(12,30,22,.93) 0%, rgba(15,34,25,.61) 46%, rgba(12,31,22,.12) 85%), linear-gradient(90deg,rgba(18,39,28,.34),transparent 78%); }
  .hero-image figcaption { bottom: auto; top: .7rem; right: .6rem; }
  .hero h1 { font-size: clamp(2.75rem, 9.4vw, 4.3rem); }
  .hero-copy > p:not(.place) { font-size: .97rem; }
  .section-intro { display: block; margin-bottom: 1.8rem; }
  .section-intro > p { margin-top: .8rem; }
  .wide-only { display: none; }
  .work-grid, .season-grid, .memo-layout, .company-grid { grid-template-columns: 1fr; }
  .work-grid { gap: 1.45rem; }
  .work-card { padding-top: 1rem; }
  .work-card h3 { font-size: 1.4rem; }
  .work-card ul { margin-block: .55rem .25rem; }
  .season-photo img { aspect-ratio: 1.48; }
  .common-fields { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .company-grid { gap: 1.65rem; }
  .footer-row { display: block; }
}
@media (max-width: 490px) {
  .common-fields { grid-template-columns: 1fr; }
  .credit { display: block; margin-top: .35rem; }
  .facts > div { grid-template-columns: 4.9rem 1fr; }
}
@media print {
  @page { margin: 14mm; }
  html { scroll-padding-top: 0; }
  body { color: #19271d; background: white; font-size: 10.5pt; }
  .wrap, .hero { width: 100%; }
  .masthead, .proposal-strip, .hero-button, .topic-link, .header-memo, .actions, .to-top, .skip, noscript, #memo-form, #copy-status { display: none !important; }
  .hero { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin: 0; color: var(--ink); background: white; }
  .hero-image, .hero-image img { position: static; width: 100%; height: auto; }
  .hero-image { z-index: auto; }
  .hero-image::after { display: none; }
  .hero-image figcaption { position: static; color: var(--ink); background: white; }
  .hero-inner { min-height: 0; padding: 0; }
  .place, .company-grid .label, .facts dt, .facts dd small { color: var(--ink); }
  .hero h1 { font-size: 28pt; }
  h2 { font-size: 20pt; }
  .section, .season, .company-section { padding-block: 1.3rem; background: white; color: var(--ink); }
  .section-intro { margin-bottom: 1rem; }
  .season-grid, .company-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .season-photo img { max-height: 22rem; }
  .memo-layout { display: block; }
  .confirmation, .notebook, .work-card { break-inside: avoid; }
  .footer-row { padding-block: .7rem; }
}
