:root {
  --bg: #f3f0e9;
  --ink: #111;
  --muted: #6b6963;
  --line: #d8d3c8;
  --dark: #101010;
  --light: #fff;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, .button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
section[id] { scroll-margin-top: 92px; }
.section-shell { width: min(calc(100% - 40px), var(--max)); margin: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px max(20px, calc((100vw - var(--max)) / 2));
  background: rgba(243, 240, 233, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; flex-direction: column; line-height: 1.1; flex: 0 0 auto; }
.brand-ja { font-weight: 800; letter-spacing: .08em; }
.brand-en { font-size: .72rem; letter-spacing: .12em; color: var(--muted); margin-top: 4px; }
.nav { display: flex; gap: 22px; align-items: center; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.nav a { transition: opacity .18s ease, background-color .18s ease, color .18s ease; }
.nav a:hover { opacity: .58; }
.nav [aria-current="page"] { font-weight: 800; text-decoration: underline; text-underline-offset: 5px; }
.nav-cta { padding: 9px 14px; border: 1px solid var(--ink); }
.nav-cta:hover { opacity: 1 !important; background: var(--ink); color: var(--light); }

.hero {
  min-height: 66vh;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: clamp(34px, 4.5vw, 56px);
  padding: clamp(56px, 6vw, 76px) 0 clamp(48px, 5vw, 68px);
}
.hero-copy { max-width: 700px; }
.eyebrow, .section-label { font-size: .73rem; letter-spacing: .18em; font-weight: 700; color: var(--muted); }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(3.5rem, 7vw, 7rem); line-height: .88; letter-spacing: -.055em; margin: 16px 0 26px; }
h1 span { display: block; font-size: .19em; letter-spacing: .08em; margin-top: 18px; }
.hero-message { max-width: 650px; font-size: clamp(1.65rem, 3vw, 2.75rem); line-height: 1.3; letter-spacing: -.025em; margin-bottom: 22px; }
.hero-lead { max-width: 680px; color: #3c3a35; font-size: .98rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  font-weight: 700;
  font-size: .9rem;
  transition: transform .18s ease, background-color .18s ease, color .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--ink); color: var(--light); }
.button.secondary { background: transparent; }
.button.secondary:hover { background: var(--ink); color: var(--light); }
.hero-portrait {
  position: relative;
  width: min(100%, 460px);
  justify-self: end;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #ddd7cb;
  border: 1px solid var(--line);
}
.hero-portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 22%;
  filter: saturate(.92) contrast(1.02);
}
.hero-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.42), rgba(0,0,0,0) 42%);
  pointer-events: none;
}
.hero-portrait figcaption {
  position: absolute;
  z-index: 1;
  left: 22px;
  right: 22px;
  bottom: 18px;
  display: flex;
  align-items: baseline;
  gap: 9px;
  color: #fff;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero-portrait figcaption strong { font-size: 1.45rem; letter-spacing: -.02em; }
.hero-portrait figcaption span { font-size: .62rem; }

.section { padding: clamp(76px, 7vw, 96px) 0; }
.split-heading { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(42px, 6vw, 80px); align-items: start; }
.split-heading h2, .section h2 { font-size: clamp(2.3rem, 5vw, 4.7rem); line-height: 1.06; letter-spacing: -.045em; }
.split-heading p { font-size: 1.02rem; }
.split-heading > div:last-child { max-width: 620px; padding-top: 36px; }

.dark-section { background: var(--dark); color: var(--light); }
.dark-section .section-label { color: #999; }
.career-grid, .activity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #3a3a3a;
  border: 1px solid #3a3a3a;
  margin-top: 38px;
}
.career-grid article { background: var(--dark); padding: 24px; min-height: 190px; display:flex; flex-direction:column; }
.career-grid span { font-size: .68rem; letter-spacing: .15em; color: #888; }
.career-grid h3 { font-size: 1.2rem; margin: 30px 0 8px; }
.career-grid p { color: #bbb; font-size: .9rem; margin-bottom:18px; }
.career-links { margin-top:auto; display:flex; flex-direction:column; align-items:flex-start; gap:8px; }
.career-links .career-link { margin-top:0; }
.career-link { margin-top:auto; align-self:flex-start; display:inline-flex; align-items:center; min-height:44px; padding:0 14px; border:1px solid #666; color:#fff; font-size:.68rem; font-weight:800; letter-spacing:.12em; transition:background-color .18s ease,color .18s ease,border-color .18s ease; }
.career-link:hover { background:#fff; color:#111; border-color:#fff; }
.career-link:focus-visible { outline:2px solid #fff; outline-offset:3px; }
.activity-grid { background: var(--line); border-color: var(--line); }
.activity-grid article { background: var(--bg); padding: 26px; min-height: 225px; }
.number { font-size: .72rem; color: var(--muted); }
.activity-grid h3 { font-size: 1.28rem; margin: 28px 0 12px; }
.activity-grid p:last-child { color: #4a4843; font-size: .94rem; }

.media-section { background: #e6e1d7; }
.link-list { margin-top: 32px; border-top: 1px solid #bbb4a7; }
.media-link {
  display: grid;
  grid-template-columns: 48px minmax(88px, .55fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 82px;
  padding: 16px 0;
  border-bottom: 1px solid #bbb4a7;
}
.media-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #b7b0a2;
  border-radius: 50%;
  color: var(--ink);
  transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
.media-icon svg { width: 21px; height: 21px; display: block; }
.media-type { color: var(--muted); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.media-link strong { justify-self: end; text-align: right; }
.media-link:hover .media-icon { transform: translateY(-1px); background: var(--ink); color: var(--light); border-color: var(--ink); }
.media-link:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.media-link:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }

.contact-section { background: #1a1a1a; color: #fff; }
.contact-inner { max-width: 920px; text-align: center; }
.contact-inner .section-label { color: #999; }
.contact-inner p { max-width: 760px; margin: 0 auto 26px; color: #c9c9c9; }
.button.light { background: #fff; color: #111; border-color: #fff; }
.button.light:hover { background: transparent; color: #fff; }
.footer { padding: 30px 0; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
.footer div { display: flex; gap: 12px; }
.footer strong { color: var(--ink); }

@media (max-width: 900px) {
  .site-header { gap: 18px; }
  .nav {
    max-width: 66vw;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { flex: 0 0 auto; min-height:44px; display:inline-flex; align-items:center; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 58px; }
  .hero-copy { max-width: none; }
  .hero-portrait { width: min(76vw, 430px); justify-self: center; margin: 4px auto 0; }
  .split-heading { grid-template-columns: 1fr; gap: 18px; }
  .split-heading > div:last-child { max-width: none; padding-top: 0; }
  .career-grid, .activity-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  section[id] { scroll-margin-top: 118px; }
  .section-shell { width: min(calc(100% - 28px), var(--max)); }
  .site-header { padding: 12px 14px; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
  .brand-en { font-size: .62rem; }
  .nav { order: 3; width: 100%; max-width: none; gap: 18px; padding: 5px 1px 3px; border-top: 1px solid var(--line); }
  .nav-cta { position: sticky; right: 0; z-index: 2; padding: 6px 10px; background: rgba(243, 240, 233, .98); box-shadow: -12px 0 12px rgba(243, 240, 233, .98); }
  .hero { padding: 48px 0 42px; gap: 26px; }
  h1 { margin-bottom: 22px; }
  .hero-message { font-size: 1.72rem; }
  .hero-lead { font-size: .94rem; }
  .hero-actions { display: grid; margin-top: 24px; }
  .button { width: 100%; }
  .hero-portrait { width: 100%; max-width: none; aspect-ratio: 4 / 5; }
  .hero-portrait figcaption { left: 16px; right: 16px; bottom: 14px; }
  .section { padding: 66px 0; }
  .career-grid, .activity-grid { grid-template-columns: 1fr; }
  .career-grid article, .activity-grid article { min-height: auto; }
  .career-link { margin-top:6px; }
  .career-links { margin-top:6px; }
  .media-link { grid-template-columns: 42px 1fr; gap: 4px 12px; min-height: 78px; }
  .media-icon { grid-row: 1 / span 2; width: 38px; height: 38px; }
  .media-icon svg { width: 19px; height: 19px; }
  .media-type { align-self: end; }
  .media-link strong { grid-column: 2; justify-self: start; align-self: start; text-align: left; }
  .footer { flex-direction: column; }
  .footer div { flex-direction: column; gap: 2px; }
}
