:root {
  --ink: #17382f;
  --green: #226853;
  --green-bright: #e7f56a;
  --milk: #fbfcf8;
  --paper: #f1f7ed;
  --line: rgba(23, 56, 47, 0.18);
  --white: #fff;
  --side: clamp(22px, 5vw, 80px);
  --serif: "yu-mincho-pr6n", "Yu Mincho Pr6N", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", "BIZ UDPMincho", "Noto Serif JP", serif;
  --sans: "yu-mincho-pr6n", "Yu Mincho Pr6N", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", "BIZ UDPMincho", "Noto Serif JP", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--milk); font-family: var(--serif); font-size: 16px; font-weight: 500; line-height: 1.9; letter-spacing: .015em; font-feature-settings: "palt" 1; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.sr-only { 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; z-index: 1000; top: 8px; left: 8px; padding: 10px 14px; transform: translateY(-150%); background: var(--white); color: var(--ink); }
.skip-link:focus { transform: none; }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; height: 92px; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--side); color: white; transition: background .35s, color .35s, height .35s, box-shadow .35s; }
.site-header.is-scrolled { height: 72px; background: rgba(255,255,255,.94); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; line-height: 1.2; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid currentColor; border-radius: 50%; font: 700 20px/1 Georgia, serif; }
.brand-copy { display: grid; gap: 3px; }
.brand-copy strong { font-size: 15px; letter-spacing: .04em; }
.brand-copy small { font-size: 11px; letter-spacing: .28em; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 38px); }
.site-nav a { position: relative; text-decoration: none; font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.site-nav a:not(.nav-contact)::after { content: ""; position: absolute; right: 0; bottom: -7px; left: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .25s; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-contact { padding: 11px 18px; border: 1px solid currentColor; border-radius: 100px; }
.menu-button { display: none; }

.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; color: white; background: var(--green); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: brightness(1.09) saturate(1.04); animation: hero-in 1.4s cubic-bezier(.2,.8,.2,1) both; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,39,31,.56) 0%, rgba(8,39,31,.22) 44%, rgba(8,39,31,.01) 76%), linear-gradient(0deg, rgba(8,39,31,.18), transparent 44%); }
.hero-content { position: relative; z-index: 2; width: min(740px, 80vw); margin-left: var(--side); padding-top: 70px; }
.eyebrow { margin: 0 0 18px; font-size: 12px; font-weight: 700; letter-spacing: .22em; }
.hero-eyebrow { opacity: .82; }
.hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(52px, 8vw, 116px); font-weight: 500; line-height: 1.12; letter-spacing: .02em; text-shadow: 0 2px 30px rgba(0,0,0,.14); }
.hero-lead { margin: 30px 0 36px; font-family: var(--serif); font-size: clamp(17px, 1.5vw, 22px); line-height: 2; letter-spacing: .05em; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; padding: 0 28px; border-radius: 100px; text-decoration: none; font-weight: 700; font-size: 14px; letter-spacing: .05em; transition: transform .25s, background .25s, color .25s; }
.button:hover { transform: translateY(-2px); }
.button-light { color: var(--green); background: white; }
.button-light:hover { background: var(--green-bright); }
.button-dark { color: white; background: var(--green); }
.button-dark:hover { color: var(--green); background: var(--green-bright); }
.text-link { display: inline-flex; gap: 12px; align-items: center; text-underline-offset: 6px; font-weight: 700; font-size: 14px; }
.text-link span { font-size: 20px; }
.text-link-light { color: white; }
.scroll-cue { position: absolute; z-index: 2; right: var(--side); bottom: 0; display: flex; align-items: center; gap: 12px; color: white; text-decoration: none; font-size: 10px; letter-spacing: .2em; writing-mode: vertical-rl; }
.scroll-cue i { display: block; width: 1px; height: 80px; background: rgba(255,255,255,.7); transform-origin: bottom; animation: scroll-line 2.4s ease-in-out infinite; }
.image-note { position: absolute; z-index: 2; right: calc(var(--side) + 40px); bottom: 28px; margin: 0; font-size: 9px; letter-spacing: .2em; opacity: .7; }

.section { padding: clamp(92px, 12vw, 180px) var(--side); }
.section-label { display: flex; gap: 14px; align-items: center; margin-bottom: 70px; font-size: 11px; font-weight: 800; letter-spacing: .22em; }
.section-label span { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid currentColor; border-radius: 50%; letter-spacing: 0; }
.section-label-light { color: rgba(255,255,255,.72); }
.statement-section { background: linear-gradient(180deg, #ffffff 0%, var(--milk) 100%); }
.statement-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: clamp(50px, 9vw, 150px); align-items: start; }
.display-heading { margin: 0; font-family: var(--serif); font-size: clamp(40px, 6vw, 84px); font-weight: 500; line-height: 1.28; letter-spacing: -.02em; }
.display-heading em { color: var(--green); font-style: normal; background: linear-gradient(transparent 67%, var(--green-bright) 67%); }
.statement-copy { padding-top: 18px; }
.statement-copy p, .work-content > p, .recruit-message p { margin-top: 0; }
.lead-copy { font-family: var(--serif); font-size: clamp(19px, 1.8vw, 25px); line-height: 1.9; }
.role-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: clamp(80px, 10vw, 150px); background: var(--line); border: 1px solid var(--line); }
.role-card { position: relative; min-height: 320px; padding: 34px; background: #ffffff; }
.role-number { font-size: 11px; letter-spacing: .18em; }
.role-card svg { width: 74px; height: 74px; margin: 52px 0 32px; fill: none; stroke: var(--green); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.role-card h3 { margin: 0 0 14px; font-family: var(--serif); font-size: 22px; }
.role-card p { margin: 0; font-size: 14px; }

.work-section { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); gap: clamp(52px, 8vw, 120px); align-items: center; background: white; }
.work-photo-wrap { position: relative; }
.work-photo-wrap img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 47% center; }
.photo-caption { position: absolute; right: -30px; bottom: 30px; width: min(300px, 70%); padding: 22px 24px; color: white; background: var(--green); }
.photo-caption span { display: block; margin-bottom: 8px; color: var(--green-bright); font-size: 10px; letter-spacing: .2em; }
.photo-caption strong { font-family: var(--serif); font-size: 17px; font-weight: 500; }
.work-content .section-label { margin-bottom: 46px; }
.work-content > p { margin-top: 30px; max-width: 600px; }
.timeline { margin: 45px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 80px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.timeline time { font: italic 18px/1.5 Georgia, serif; color: var(--green); }
.timeline strong, .timeline span { display: block; }
.timeline strong { font-family: var(--serif); font-size: 18px; }
.timeline span { margin-top: 3px; font-size: 13px; color: #60716d; }
.small-note { font-size: 12px !important; color: #687773; }

.yakumo-section { color: white; background: linear-gradient(145deg, #2d7b65 0%, #1e5f4d 100%); overflow: hidden; }
.yakumo-intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(50px, 10vw, 160px); align-items: end; }
.yakumo-intro .section-label { margin-bottom: 45px; }
.yakumo-intro p { margin: 0 0 10px; max-width: 560px; color: rgba(255,255,255,.84); }
.yakumo-window { position: relative; margin-top: 80px; overflow: hidden; }
.yakumo-window img { width: 100%; height: clamp(360px, 56vw, 720px); object-fit: cover; object-position: center 58%; filter: brightness(1.08) saturate(1.05); transform: scale(1.01); }
.yakumo-window::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(2,23,18,.38), transparent 44%); }
.yakumo-window p { position: absolute; z-index: 2; right: 28px; bottom: 18px; margin: 0; text-align: right; font: 28px/1.15 Georgia, serif; letter-spacing: .1em; }
.yakumo-window p span { font: 700 10px/1 var(--sans); letter-spacing: .35em; }
.yakumo-points { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 0; border: 1px solid rgba(255,255,255,.2); border-top: 0; }
.yakumo-points div { display: flex; gap: 24px; align-items: center; min-height: 128px; padding: 24px 30px; border-right: 1px solid rgba(255,255,255,.2); }
.yakumo-points div:last-child { border: 0; }
.yakumo-points strong { color: var(--green-bright); font: italic 22px/1 Georgia, serif; }
.yakumo-points span { font-family: var(--serif); font-size: 16px; line-height: 1.65; }

.recruit-section { background: var(--paper); }
.recruit-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 10vw, 160px); align-items: end; }
.recruit-message { padding-bottom: 8px; }
.recruit-panel { margin-top: 80px; padding: clamp(30px, 5vw, 65px); color: white; background: linear-gradient(135deg, #2c755f 0%, #1e604d 100%); }
.status-line { display: flex; gap: 12px; align-items: center; margin-bottom: 36px; color: var(--green-bright); font-size: 13px; font-weight: 700; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 0 5px rgba(217,240,70,.1); }
.recruit-panel h3 { margin: 0 0 36px; font-family: var(--serif); font-size: clamp(32px, 4vw, 54px); font-weight: 500; }
.recruit-panel dl { margin: 0; border-top: 1px solid rgba(255,255,255,.22); }
.recruit-panel dl div { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.22); }
.recruit-panel dt { font-size: 13px; color: rgba(255,255,255,.65); }
.recruit-panel dd { margin: 0; font-size: 14px; }
.recruit-actions { display: flex; align-items: center; gap: 30px; margin-top: 36px; }
.recruit-panel .button-dark { color: var(--green); background: white; }
.recruit-panel .button-dark:hover { background: var(--green-bright); }
.recruit-panel .text-link { color: white; }
.fit-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(50px, 10vw, 160px); margin-top: 110px; }
.fit-title { margin: 0; font-family: var(--serif); font-size: 24px; line-height: 1.7; }
.fit-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.fit-list li { display: grid; grid-template-columns: 52px 1fr; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 19px; }
.fit-list span { font: italic 14px/1 Georgia, serif; color: var(--green); }

.contact-section { padding: clamp(100px, 14vw, 190px) var(--side); color: white; text-align: center; background: linear-gradient(145deg, #246652 0%, #174d40 100%); }
.contact-section h2 { margin: 0; font-family: var(--serif); font-size: clamp(48px, 7vw, 96px); font-weight: 500; line-height: 1.3; }
.contact-lead { margin: 26px 0 56px; color: rgba(255,255,255,.7); }
.contact-links { width: min(860px, 100%); margin: auto; border-top: 1px solid rgba(255,255,255,.24); }
.contact-links a { display: grid; grid-template-columns: 100px 1fr 30px; gap: 20px; align-items: center; min-height: 92px; text-decoration: none; text-align: left; border-bottom: 1px solid rgba(255,255,255,.24); transition: color .25s; }
.contact-links a:hover { color: var(--green-bright); }
.contact-links span { font-size: 12px; color: rgba(255,255,255,.58); }
.contact-links strong { overflow-wrap: anywhere; font-family: var(--serif); font-size: clamp(18px, 2.5vw, 30px); font-weight: 500; }
.contact-links i { font-size: 22px; font-style: normal; }
.contact-section address { margin-top: 38px; font-size: 13px; font-style: normal; color: rgba(255,255,255,.6); }

.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px; align-items: end; padding: 55px var(--side); color: white; background: #103d33; }
.footer-brand { justify-self: start; }
.site-footer p { margin: 0; font-family: var(--serif); font-size: 14px; }
.site-footer > small { justify-self: end; color: rgba(255,255,255,.45); font-size: 10px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes hero-in { from { opacity: 0; transform: scale(1.035); } to { opacity: 1; transform: scale(1); } }
@keyframes scroll-line { 0%,100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }

@media (max-width: 900px) {
  .site-header { height: 72px; }
  .site-nav { position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 26px; padding: 90px var(--side) 50px; color: white; background: var(--green); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: .3s; }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .site-nav a { font-family: var(--serif); font-size: 26px; }
  .site-header.menu-active { color: white; background: var(--green); }
  .menu-button { position: relative; display: grid; gap: 5px; width: 42px; height: 42px; place-content: center; color: inherit; border: 0; background: transparent; }
  .menu-button span:not(.sr-only) { display: block; width: 23px; height: 1px; background: currentColor; transition: .25s; }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .statement-grid, .work-section, .yakumo-intro, .recruit-head { grid-template-columns: 1fr; }
  .role-card { min-height: 290px; }
  .work-section { gap: 85px; }
  .work-photo-wrap { width: calc(100% - 24px); }
  .work-photo-wrap img { aspect-ratio: 4 / 3; }
  .yakumo-points div { padding: 20px; }
}

@media (max-width: 650px) {
  .brand-copy strong { font-size: 13px; }
  .brand-copy small { font-size: 9px; }
  .brand-mark { width: 36px; height: 36px; }
  .hero { min-height: 800px; align-items: flex-end; }
  .hero-image { object-position: 65% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(8,39,31,.72) 0%, rgba(8,39,31,.24) 64%, rgba(8,39,31,.04) 100%); }
  .hero-content { width: auto; margin: 0 var(--side); padding: 0 0 110px; }
  .hero h1 { font-size: clamp(50px, 15vw, 68px); }
  .hero-lead { margin: 22px 0 30px; font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .scroll-cue { display: none; }
  .image-note { right: var(--side); bottom: 25px; }
  .section-label { margin-bottom: 44px; }
  .role-cards { grid-template-columns: 1fr; }
  .role-card { min-height: auto; }
  .role-card svg { margin: 35px 0 22px; }
  .work-photo-wrap img { aspect-ratio: 3 / 4; }
  .photo-caption { right: -24px; bottom: -36px; }
  .yakumo-window { width: calc(100% + 2 * var(--side)); margin-left: calc(-1 * var(--side)); }
  .yakumo-window img { height: 510px; object-position: 66% center; }
  .yakumo-points { grid-template-columns: 1fr; border-left: 0; border-right: 0; }
  .yakumo-points div { min-height: 100px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .yakumo-points div:last-child { border: 0; }
  .recruit-panel { margin-right: calc(-1 * var(--side)); margin-left: calc(-1 * var(--side)); }
  .recruit-panel dl div { grid-template-columns: 1fr; gap: 5px; }
  .recruit-actions { align-items: flex-start; flex-direction: column; }
  .fit-grid { grid-template-columns: 1fr; gap: 35px; }
  .contact-links a { grid-template-columns: 70px 1fr 20px; gap: 10px; }
  .site-footer { grid-template-columns: 1fr; align-items: start; }
  .site-footer p, .site-footer > small { justify-self: start; }
}

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