:root {
  --forest: #173f32;
  --deep: #0f2f26;
  --logo-green: #12301b;
  --moss: #6f806a;
  --cream: #f4f3ec;
  --paper: #fbfbf7;
  --ink: #193029;
  --line: #cdd4cc;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif; line-height: 1.8; }
a { color: inherit; }
img { display: block; width: 100%; }

.site-header { position: fixed; inset: 0 0 auto 0; z-index: 20; height: 84px; display: flex; align-items: center; justify-content: space-between; padding: 0 4vw; color: var(--white); transition: .3s ease; }
.site-header.scrolled { height: 70px; color: var(--ink); background: rgba(251,251,247,.96); border-bottom: 1px solid rgba(23,63,50,.12); backdrop-filter: blur(12px); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; line-height: 1.05; }
.brand strong { display: block; font: italic 800 22px/1.05 Arial, sans-serif; letter-spacing: .01em; }
.brand small { display: block; margin-top: 5px; font-size: 9px; letter-spacing: .11em; }
nav { display: flex; align-items: center; gap: 28px; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
nav a { text-decoration: none; }
.nav-contact { padding: 10px 18px; border: 1px solid currentColor; }
.menu-button { display: none; }

.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; }
.hero { position: relative; min-height: 720px; height: 100svh; color: var(--white); overflow: hidden; background: var(--logo-green); }
.hero::before, .hero::after { content: ""; position: absolute; background: rgba(255,255,255,.11); }
.hero::before { width: 1px; height: 100%; left: 12vw; top: 0; }
.hero::after { width: 100%; height: 1px; left: 0; bottom: 108px; }
.hero-content { position: relative; z-index: 2; display: grid; grid-template-rows: auto 1fr auto; justify-items: center; align-items: center; max-width: 1280px; height: 100%; margin: 0 auto; padding: 118px 5vw 38px; }
.eyebrow { margin: 0 0 20px; font: 700 11px/1.2 Arial, sans-serif; letter-spacing: .28em; }
.eyebrow::before { content: ""; display: inline-block; width: 36px; height: 1px; margin: 0 12px 3px 0; background: currentColor; }
.hero .eyebrow { justify-self: start; margin: 0; color: rgba(255,255,255,.7); }
.hero-logo { width: min(43vw, 520px); max-height: 55vh; object-fit: contain; }
.hero-bottom { align-self: end; width: 100%; display: flex; align-items: end; justify-content: space-between; padding-top: 28px; }
.hero-copy { margin: 0; font: 500 19px/1.75 "Yu Mincho", serif; letter-spacing: .08em; }
.text-link { width: fit-content; padding-bottom: 5px; text-decoration: none; border-bottom: 1px solid currentColor; font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.text-link span, .button-light span, .contact a span { display: inline-block; margin-left: 20px; transition: transform .2s; }
.text-link:hover span, .button-light:hover span, .contact a:hover span { transform: translateX(5px); }
.hero-note { position: absolute; z-index: 2; right: 4vw; top: 50%; margin: 0; color: rgba(255,255,255,.48); font: 700 9px Arial, sans-serif; letter-spacing: .2em; writing-mode: vertical-rl; transform: translateY(-50%); }

/* Motion is enabled by JavaScript so the page remains fully visible without it. */
.motion-ready .site-header { opacity: 0; transform: translateY(-14px); animation: header-in .8s .15s ease-out forwards; }
.motion-ready .hero::before { transform: scaleY(0); transform-origin: top; animation: line-y 1.2s .2s cubic-bezier(.22,.75,.25,1) forwards; }
.motion-ready .hero::after { transform: scaleX(0); transform-origin: left; animation: line-x 1.3s .35s cubic-bezier(.22,.75,.25,1) forwards; }
.motion-ready .hero .eyebrow { opacity: 0; transform: translateX(-16px); animation: hero-copy-in .8s .55s ease-out forwards; }
.motion-ready .hero-logo { opacity: 0; transform: translateY(18px) scale(.97); animation: logo-in 1.1s .35s cubic-bezier(.22,.75,.25,1) forwards; }
.motion-ready .hero-bottom { opacity: 0; transform: translateY(14px); animation: hero-copy-in .8s .85s ease-out forwards; }
.motion-ready .hero-note { opacity: 0; animation: note-in .8s 1.05s ease-out forwards; }

.reveal { opacity: 0; transform: translateY(32px); transition: opacity .85s ease, transform .85s cubic-bezier(.22,.75,.25,1); }
.reveal.from-left { transform: translateX(-32px); }
.reveal.from-right { transform: translateX(32px); }
.reveal.is-visible { opacity: 1; transform: translate(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

.values article, .service-item { transition: color .35s ease; }
.values article h3, .values article p { transition: transform .35s cubic-bezier(.22,.75,.25,1); }
.values article:hover h3, .values article:hover p { transform: translateX(8px); }
.service-item:hover { background: rgba(255,255,255,.035); }
.place-list span { transition: color .25s ease, background-color .25s ease, border-color .25s ease; }
.place-list span:hover { color: var(--white); background: var(--forest); border-color: var(--forest); }

@keyframes header-in { to { opacity: 1; transform: translateY(0); } }
@keyframes line-y { to { transform: scaleY(1); } }
@keyframes line-x { to { transform: scaleX(1); } }
@keyframes logo-in { to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes hero-copy-in { to { opacity: 1; transform: translate(0); } }
@keyframes note-in { to { opacity: 1; } }

.section { max-width: 1280px; margin: 0 auto; padding: 120px 5vw; }
.section-label { display: flex; align-items: center; gap: 14px; margin-bottom: 70px; color: var(--forest); font: 700 11px/1.2 Arial, sans-serif; letter-spacing: .22em; }
.section-label span { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid currentColor; border-radius: 50%; font-size: 9px; }
.intro-grid, .area-grid, .company-grid { display: grid; grid-template-columns: minmax(280px, .85fr) 1.15fr; gap: 10vw; }
.intro-grid { grid-template-columns: minmax(430px, .95fr) 1.05fr; gap: 7vw; }
.area-grid { grid-template-columns: minmax(430px, .95fr) 1.05fr; gap: 7vw; }
h2 { margin: 0; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(36px, 4vw, 58px); line-height: 1.55; font-weight: 500; letter-spacing: .04em; }
.intro-grid > h2 { font-size: 48px; white-space: nowrap; }
.area-grid h2 { font-size: 48px; white-space: nowrap; }
.intro-body { max-width: 590px; }
.intro-body p { margin: 0 0 24px; font-size: 15px; }
.intro-body .lead { margin-bottom: 28px; color: var(--forest); font: 600 20px/1.8 "Yu Mincho", serif; }
.values { display: grid; grid-template-columns: minmax(240px,.72fr) 1.28fr; gap: 8vw; margin-top: 120px; padding-top: 36px; border-top: 1px solid var(--forest); }
.values-intro { padding-top: 8px; }
.values-intro > p { margin: 0 0 30px; color: var(--moss); font: 700 10px Arial, sans-serif; letter-spacing: .24em; }
.values-intro h3 { margin: 0; font: 500 clamp(27px,2.5vw,38px)/1.65 "Yu Mincho", serif; letter-spacing: .04em; }
.values-list { border-top: 1px solid var(--line); }
.values article { display: grid; grid-template-columns: 52px minmax(150px,.8fr) 1.2fr; gap: 24px; align-items: baseline; padding: 30px 0 32px; border-bottom: 1px solid var(--line); }
.values article > span { color: var(--moss); font: 700 10px Arial, sans-serif; }
.values article h3 { margin: 0; font: 600 21px "Yu Mincho", serif; }
.values article p { margin: 0; color: #53655d; font-size: 13px; }

.service-band { display: grid; grid-template-columns: 48% 52%; min-height: 760px; background: var(--forest); color: var(--white); }
.service-visual { position: relative; min-height: 680px; overflow: hidden; color: var(--forest); background: #e9ede7; }
.service-visual::before { content: ""; position: absolute; top: 0; right: 11%; width: 1px; height: 100%; background: rgba(23,63,50,.17); }
.service-visual::after { content: ""; position: absolute; top: 22%; left: 0; width: 100%; height: 1px; background: rgba(23,63,50,.23); }
.field-lines { position: absolute; inset: 22% 11% 18% 9%; overflow: hidden; }
.field-lines span { position: absolute; left: -8%; bottom: 4%; width: 116%; height: 1px; background: rgba(23,63,50,.32); transform-origin: left center; }
.field-lines span:nth-child(1) { transform: rotate(-8deg); }
.field-lines span:nth-child(2) { transform: translateY(-58px) rotate(-4deg); }
.field-lines span:nth-child(3) { transform: translateY(-122px); }
.field-lines span:nth-child(4) { transform: translateY(-192px) rotate(4deg); }
.field-lines span:nth-child(5) { transform: translateY(-268px) rotate(8deg); }
.service-visual p { position: absolute; z-index: 2; left: 9%; bottom: 8%; margin: 0; font: 500 27px/1.7 "Yu Mincho", serif; letter-spacing: .08em; }
.service-visual p::before { content: ""; display: block; width: 58px; height: 1px; margin-bottom: 22px; background: currentColor; }
.service-visual p small { display: block; margin-bottom: 10px; color: var(--moss); font: 700 8px/1.2 Arial, sans-serif; letter-spacing: .24em; }
.service-content { padding: 60px 7vw 64px; }
.light-label { color: #c9dbd2; margin-bottom: 36px; }
.service-content h2 { margin-bottom: 32px; font-size: 44px; line-height: 1.45; }
.service-list { border-bottom: 1px solid rgba(255,255,255,.25); }
.service-item { display: grid; grid-template-columns: 45px 1fr; gap: 20px; align-items: center; min-height: 64px; padding: 11px 0; border-top: 1px solid rgba(255,255,255,.25); }
.service-item > span { font: 700 10px Arial, sans-serif; color: #b8c9c0; }
.service-item h3 { margin: 0; font: 500 21px "Yu Mincho", serif; }
.service-item p { margin: 0; max-width: 520px; color: #dbe5df; font-size: 13px; }
.service-title-row { display: flex; align-items: center; justify-content: flex-start; gap: 18px; }
.service-item .status { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 7px; padding: 5px 9px 5px 8px; color: var(--forest); background: #dce39c; font: 700 8px/1 Arial, sans-serif; letter-spacing: .15em; }
.service-item .status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; animation: status-pulse 1.8s ease-in-out infinite; }
.upcoming { opacity: .84; }

@keyframes status-pulse { 50% { opacity: .3; } }

.area { padding-top: 140px; padding-bottom: 140px; }
.eyebrow.dark { color: var(--moss); }
.area-copy { padding-top: 55px; }
.area-copy > p { margin: 0 0 10px; font-size: 16px; }
.place-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.place-list span { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; }

.recruit { color: var(--white); background: var(--deep); }
.recruit-inner { max-width: 1280px; margin: 0 auto; padding: 110px 5vw 120px; background-image: linear-gradient(rgba(15,47,38,.3) 1px, transparent 1px), linear-gradient(90deg, rgba(15,47,38,.3) 1px, transparent 1px); background-size: 64px 64px; }
.recruit-kicker { margin: 0 0 20px; color: #adc2b7; font: 700 10px Arial, sans-serif; letter-spacing: .3em; }
.recruit h2 { margin-bottom: 24px; }
.recruit h2 + p { max-width: 670px; margin: 0 0 40px; color: #d9e1dc; font-size: 14px; }
.button-light { display: inline-flex; align-items: center; padding: 15px 20px; border: 1px solid rgba(255,255,255,.7); text-decoration: none; font-size: 13px; }

.company-grid dl { margin: 0; border-top: 1px solid var(--line); }
.company-grid dl div { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.company-grid dt { color: var(--moss); font-size: 12px; }
.company-grid dd { margin: 0; font-size: 14px; }
.company-grid dd small { margin-left: 12px; color: #78847e; }

.contact { padding: 120px 5vw 130px; color: var(--white); background: var(--forest); }
.contact-inner { display: grid; grid-template-columns: 1fr .75fr; gap: 10vw; align-items: end; max-width: 1160px; margin: 0 auto; }
.contact .eyebrow { color: #b9cbc1; }
.contact h2 { margin: 0; }
.contact-action { padding-bottom: 10px; }
.contact-action p { margin: 0 0 34px; color: #dbe5df; font-size: 14px; }
.contact-action a { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-top: 1px solid rgba(255,255,255,.5); border-bottom: 1px solid rgba(255,255,255,.5); text-decoration: none; font: 500 17px Arial, sans-serif; letter-spacing: .06em; }

.site-footer { position: relative; overflow: hidden; padding: 82px 5vw 34px; color: #dbe5df; background: #09231b; }
.footer-main { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr .55fr .7fr; gap: 8vw; max-width: 1280px; margin: 0 auto 90px; }
.footer-identity img { width: 178px; height: auto; }
.footer-identity > p { margin: 25px 0 0; color: #adc0b6; font: 500 13px/1.9 "Yu Mincho", serif; letter-spacing: .08em; }
.footer-label { margin: 0 0 24px; color: #789187; font: 700 9px Arial, sans-serif; letter-spacing: .25em; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; }
.footer-links a { position: relative; padding: 6px 0; color: #e7ede9; text-decoration: none; font-size: 12px; }
.footer-links a::after { content: ""; position: absolute; left: 0; bottom: 4px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .3s ease; }
.footer-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.footer-info > p:not(.footer-label) { margin: 0; color: #bdcbc4; font-size: 11px; line-height: 2; }
.back-top { display: inline-flex; gap: 20px; margin-top: 34px; padding-bottom: 5px; border-bottom: 1px solid #789187; text-decoration: none; font: 700 9px Arial, sans-serif; letter-spacing: .18em; }
.back-top span { transition: transform .25s ease; }
.back-top:hover span { transform: translateY(-4px); }
.footer-bottom { position: relative; z-index: 1; display: flex; justify-content: space-between; max-width: 1280px; margin: 0 auto; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); }
.footer-bottom p, .footer-bottom small { margin: 0; color: #789187; font-size: 9px; letter-spacing: .13em; }
.footer-word { position: absolute; left: 50%; bottom: -6.2vw; margin: 0; color: rgba(255,255,255,.028); font: 900 clamp(110px,18vw,290px)/.8 Arial, sans-serif; letter-spacing: 0; transform: translateX(-50%); white-space: nowrap; pointer-events: none; }

@media (max-width: 900px) {
  .site-header { height: 68px; padding: 0 22px; }
  .site-header .brand strong { font-size: 17px; }
  .menu-button { display: grid; gap: 7px; padding: 12px 0 12px 12px; border: 0; color: inherit; background: transparent; }
  .menu-button span { display: block; width: 26px; height: 1px; background: currentColor; }
  nav { position: fixed; inset: 68px 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 20px 24px 30px; color: var(--ink); background: var(--paper); border-bottom: 1px solid var(--line); }
  nav.open { display: flex; }
  nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav-contact { margin-top: 12px; text-align: center; border: 1px solid var(--forest); }
  .hero { min-height: 680px; }
  .hero::before { left: 24px; }
  .hero::after { bottom: 126px; }
  .hero-content { padding: 100px 25px 34px; }
  .hero-logo { width: min(66vw, 340px); max-height: 42vh; }
  .hero-bottom { padding-top: 26px; }
  .hero-copy { font-size: 14px; }
  .hero-bottom .text-link { font-size: 11px; }
  .hero-note { display: none; }
  .section { padding: 85px 24px; }
  .section-label { margin-bottom: 42px; }
  .intro-grid, .area-grid, .company-grid { grid-template-columns: 1fr; gap: 38px; }
  .intro-grid > h2 { font-size: 31px; }
  .area-grid h2 { font-size: 31px; }
  .values { grid-template-columns: 1fr; gap: 45px; margin-top: 80px; }
  .values article { grid-template-columns: 38px 1fr; gap: 14px; padding: 25px 0 27px; }
  .values article p { grid-column: 2; }
  .values article p br { display: none; }
  .service-band { grid-template-columns: 1fr; }
  .service-visual { min-height: 420px; }
  .service-visual::before { right: 24px; }
  .field-lines { inset: 22% 24px 16% 24px; }
  .service-visual p { left: 24px; bottom: 38px; font-size: 19px; }
  .service-content { padding: 70px 24px 80px; }
  .service-content h2 { margin-bottom: 35px; font-size: 34px; }
  .service-item { grid-template-columns: 32px 1fr; gap: 12px; }
  .service-title-row { flex-wrap: nowrap; gap: 8px; }
  .service-item .status { padding-inline: 7px; font-size: 7px; }
  .area { padding-top: 90px; padding-bottom: 90px; }
  .area-copy { padding-top: 0; }
  .recruit-inner { padding: 80px 24px 90px; }
  .company-grid dl div { grid-template-columns: 110px 1fr; }
  .contact { padding: 85px 24px 95px; }
  .contact-inner { grid-template-columns: 1fr; gap: 50px; }
  .site-footer { padding: 65px 24px 30px; }
  .footer-main { grid-template-columns: 1.15fr .85fr; gap: 55px 30px; margin-bottom: 65px; }
  .footer-identity { grid-column: 1 / -1; }
  .footer-identity img { width: 150px; }
  .footer-bottom { gap: 20px; }
  .footer-word { bottom: -18px; font-size: 26vw; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .motion-ready .site-header,
  .motion-ready .hero::before,
  .motion-ready .hero::after,
  .motion-ready .hero .eyebrow,
  .motion-ready .hero-logo,
  .motion-ready .hero-bottom,
  .motion-ready .hero-note,
  .reveal { opacity: 1; transform: none; animation: none; }
  .service-item .status::before { animation: none; }
}
