/* ==========================================================================
   GROW-VERSE Inc. — site styles
   Concept: Blueprint. Drafting-paper ground, navy ink, one safety-orange accent.
   ========================================================================== */

:root {
  --paper: #eef1f5;
  --paper-deep: #e3e7ee;
  --white: #ffffff;
  --ink: #0e1a4a;
  --ink-soft: #33427a;
  --mute: #66708a;
  --line: rgba(14, 26, 74, 0.14);
  --line-strong: rgba(14, 26, 74, 0.32);
  --accent: #ff5a1f;
  --accent-deep: #d9430c;
  --grid: rgba(14, 26, 74, 0.055);

  --font-jp: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --font-en: "Bricolage Grotesque", "Zen Kaku Gothic New", sans-serif;

  --gutter: clamp(20px, 4.5vw, 72px);
  --max: 1440px;
  --radius: 4px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.01em;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--ink); color: var(--white); }

.en { font-family: var(--font-en); font-feature-settings: "ss01" 1; letter-spacing: -0.01em; }
.num { font-family: var(--font-en); font-variant-numeric: tabular-nums; }
.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; }

/* ---------- drafting paper grid ---------- */
.paper-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), rgba(0,0,0,0.5) 40%, rgba(0,0,0,0.35));
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), rgba(0,0,0,0.5) 40%, rgba(0,0,0,0.35));
}
.page { position: relative; z-index: 1; }

/* ---------- layout ---------- */
.wrap { width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto; }
.grid12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }
.section { padding-block: clamp(88px, 11vw, 168px); }
.section--tight { padding-block: clamp(56px, 7vw, 104px); }
.section + .section { padding-top: 0; }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--ink); color: var(--white);
  display: grid; place-items: center;
  transition: transform 0.9s var(--ease-in-out), visibility 0s linear 0.9s;
  transform-origin: top;
}
.loader.is-done { transform: scaleY(0); visibility: hidden; }
.loader__inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.loader__mark { width: 56px; height: 56px; opacity: 0; transform: translateY(8px); animation: loaderMark 0.8s var(--ease-out) 0.1s forwards; }
.loader__line { width: 160px; height: 1px; background: rgba(255,255,255,0.18); overflow: hidden; }
.loader__line i { display: block; height: 100%; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; animation: loaderLine 0.9s var(--ease-in-out) 0.2s forwards; }
@keyframes loaderMark { to { opacity: 1; transform: none; } }
@keyframes loaderLine { to { transform: scaleX(1); } }
html.no-js .loader { display: none; }

/* ---------- header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: 84px;
  transition: background-color 0.4s, box-shadow 0.4s, height 0.4s;
}
.header.is-scrolled { height: 68px; background: rgba(238,241,245,0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.header.on-dark:not(.is-scrolled) { color: var(--white); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 34px; height: 34px; position: relative; }
.brand__mark img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity 0.3s; }
.brand__mark img.is-white { opacity: 0; }
.header.on-dark:not(.is-scrolled) .brand__mark img.is-white { opacity: 1; }
.header.on-dark:not(.is-scrolled) .brand__mark img.is-navy { opacity: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__en { font-family: var(--font-en); font-weight: 700; font-size: 18px; letter-spacing: 0.04em; }
.brand__jp { font-size: 10.5px; letter-spacing: 0.08em; opacity: 0.7; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav__link { position: relative; font-size: 14px; font-weight: 500; padding: 8px 0; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease-out); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { margin-left: 8px; }

.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px; border-radius: 999px;
  font-weight: 700; font-size: 14px; letter-spacing: 0.02em; line-height: 1;
  background: var(--ink); color: var(--white);
  transition: background-color 0.3s, color 0.3s, transform 0.3s var(--ease-out);
  overflow: hidden; isolation: isolate;
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--accent); transform: translateY(101%); transition: transform 0.45s var(--ease-out); z-index: -1; }
.btn:hover::before { transform: translateY(0); }
.btn svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { color: var(--white); }
.btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost:hover { color: var(--white); box-shadow: inset 0 0 0 1.5px var(--accent); }
.btn--lg { padding: 20px 34px; font-size: 15px; }
.header .btn { padding: 13px 22px; font-size: 13px; }

.nav-toggle { display: none; width: 48px; height: 48px; position: relative; z-index: 61; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; transition: transform 0.4s var(--ease-out), opacity 0.3s, top 0.4s; }
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 29px; }
.nav-toggle[aria-expanded="true"] { color: var(--white); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 23px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 60; background: var(--ink); color: var(--white);
  display: flex; flex-direction: column; justify-content: center; padding: var(--gutter);
  clip-path: inset(0 0 100% 0); transition: clip-path 0.7s var(--ease-in-out); visibility: hidden;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__list { display: flex; flex-direction: column; gap: 6px; }
.menu__link { display: flex; align-items: baseline; gap: 16px; font-size: clamp(30px, 8vw, 44px); font-weight: 700; padding: 8px 0; opacity: 0; transform: translateY(16px); transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); }
.menu.is-open .menu__link { opacity: 1; transform: none; }
.menu.is-open .menu__link:nth-child(1) { transition-delay: 0.25s; }
.menu.is-open .menu__link:nth-child(2) { transition-delay: 0.3s; }
.menu.is-open .menu__link:nth-child(3) { transition-delay: 0.35s; }
.menu.is-open .menu__link:nth-child(4) { transition-delay: 0.4s; }
.menu.is-open .menu__link:nth-child(5) { transition-delay: 0.45s; }
.menu__link small { font-family: var(--font-en); font-size: 13px; font-weight: 500; opacity: 0.6; }
.menu__foot { margin-top: 40px; font-size: 13px; opacity: 0.7; line-height: 1.8; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  padding-top: 120px; padding-bottom: clamp(56px, 8vh, 96px); overflow: hidden;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__inner { position: relative; z-index: 1; }
.hero__kicker { font-size: 14px; font-weight: 500; color: var(--ink-soft); margin-bottom: 28px; display: flex; align-items: center; gap: 14px; }
.hero__kicker::before { content: ""; width: 40px; height: 2px; background: var(--accent); }
.hero__title {
  font-size: clamp(36px, 7.6vw, 112px); font-weight: 700; line-height: 1.15; letter-spacing: -0.005em;
  max-width: 14em;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: block; }
.hero__lead { margin-top: 32px; max-width: 34em; font-size: clamp(15px, 1.2vw, 17px); color: var(--ink-soft); }
.hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__foot { margin-top: clamp(48px, 7vh, 80px); display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.hero__meta { display: flex; gap: 40px; font-size: 12px; color: var(--mute); }
.hero__meta span { display: flex; flex-direction: column; gap: 2px; }
.hero__meta b { color: var(--ink); font-weight: 500; }
.hero__scroll { display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: 0.2em; color: var(--mute); }
.hero__scroll i { width: 1px; height: 44px; background: var(--line-strong); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: var(--accent); animation: scrollLine 2.2s var(--ease-in-out) infinite; }
@keyframes scrollLine { 0% { top: -100%; } 50% { top: 0; } 100% { top: 100%; } }

/* sub page hero */
.page-hero { padding-top: clamp(150px, 20vh, 220px); padding-bottom: clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--line); }
.page-hero__en { font-family: var(--font-en); font-size: 14px; font-weight: 600; color: var(--accent); margin-bottom: 18px; }
.page-hero__title { font-size: clamp(38px, 5.6vw, 76px); font-weight: 700; line-height: 1.15; letter-spacing: -0.005em; }
.page-hero__lead { margin-top: 28px; max-width: 36em; color: var(--ink-soft); font-size: clamp(15px, 1.15vw, 17px); }
.crumbs { display: flex; gap: 10px; font-size: 12px; color: var(--mute); margin-bottom: 28px; }
.crumbs a:hover { color: var(--ink); }

/* ---------- section heading ---------- */
.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: 32px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head__en { grid-column: 1 / span 12; font-family: var(--font-en); font-size: 14px; font-weight: 600; color: var(--accent); margin-bottom: 14px; }
.sec-head__title { grid-column: 1 / span 7; font-size: clamp(30px, 4.2vw, 58px); font-weight: 700; line-height: 1.2; letter-spacing: -0.005em; }
.sec-head__desc { grid-column: 8 / span 5; color: var(--ink-soft); font-size: 15px; max-width: 30em; }
.sec-head--center { text-align: center; }
.sec-head--center .sec-head__title { grid-column: 3 / span 8; }

/* ---------- statement ---------- */
.statement { border-top: 1px solid var(--line); }
.statement__text { grid-column: 2 / span 9; font-size: clamp(24px, 3vw, 42px); font-weight: 700; line-height: 1.6; letter-spacing: 0.01em; }
.statement__text .w { display: inline-block; }
.statement__body { grid-column: 2 / span 7; margin-top: 48px; color: var(--ink-soft); font-size: 16px; max-width: 40em; }
.pillars { grid-column: 2 / span 10; margin-top: 56px; display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line-strong); }
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pillar { padding: 28px 28px 32px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 900px) { .pillar { border-bottom: 0; border-right: 1px solid var(--line); } .pillar + .pillar { padding-left: 28px; } .pillar:last-child { border-right: 0; padding-right: 0; } }
.pillar__en { font-family: var(--font-en); font-size: 13px; font-weight: 600; color: var(--accent); }
.pillar__title { font-size: 24px; font-weight: 700; line-height: 1.3; }
.pillar__body { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- service index ---------- */
.svc-list { border-top: 1px solid var(--line-strong); }
.svc {
  display: grid; grid-template-columns: 1fr; align-items: center; gap: 12px;
  padding: clamp(26px, 3vw, 40px) 0; border-bottom: 1px solid var(--line);
  position: relative; transition: padding-left 0.5s var(--ease-out);
}
@media (min-width: 900px) { .svc { grid-template-columns: 100px minmax(0, 1.1fr) minmax(0, 1fr) 60px; gap: 28px; } }
.svc::before { content: ""; position: absolute; inset: 0; background: var(--white); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease-out); z-index: -1; }
.svc:hover::before { transform: scaleX(1); }
.svc:hover { padding-left: 20px; }
.svc__en { font-family: var(--font-en); font-size: 13px; font-weight: 600; color: var(--mute); }
.svc__name { font-size: clamp(24px, 2.6vw, 36px); font-weight: 700; line-height: 1.3; }
.svc__desc { font-size: 14px; color: var(--ink-soft); max-width: 30em; }
.svc__arrow { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; justify-self: end; transition: background-color 0.3s, border-color 0.3s, color 0.3s; }
.svc__arrow svg { width: 16px; height: 16px; }
.svc:hover .svc__arrow { background: var(--accent); border-color: var(--accent); color: var(--white); }

/* ---------- strengths ---------- */
.strength-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 1000px) { .strength-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.strength { background: var(--paper); padding: clamp(28px, 3vw, 44px) clamp(22px, 2.4vw, 36px); display: flex; flex-direction: column; gap: 18px; min-height: 320px; transition: background-color 0.4s; }
.strength:hover { background: var(--white); }
.strength__icon { width: 44px; height: 44px; color: var(--accent); }
.strength__icon svg { width: 100%; height: 100%; }
.strength__title { font-size: 20px; font-weight: 700; line-height: 1.45; margin-top: auto; }
.strength__body { font-size: 14px; color: var(--ink-soft); }

/* ---------- facts strip ---------- */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 32px 24px; border-top: 1px solid var(--line-strong); padding-top: 40px; }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.fact__val { font-family: var(--font-en); font-size: clamp(40px, 5vw, 72px); font-weight: 600; line-height: 1; letter-spacing: -0.02em; }
.fact__val small { font-family: var(--font-jp); font-size: 0.32em; font-weight: 500; margin-left: 6px; letter-spacing: 0; }
.fact__label { margin-top: 12px; font-size: 13px; color: var(--mute); }

/* ---------- dark band (mission / recruit) ---------- */
.band { background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.band--grid::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}
.band .sec-head__desc, .band .strength__body { color: rgba(255,255,255,0.7); }
.band .sec-head__en { color: var(--accent); }
.band-line { position: absolute; left: 0; right: 0; height: 1px; background: rgba(255,255,255,0.12); }

.mission { padding-block: clamp(96px, 12vw, 180px); }
.mission__title { grid-column: 1 / span 9; font-size: clamp(30px, 4.3vw, 60px); font-weight: 700; line-height: 1.25; }
.mission__body { grid-column: 1 / span 6; margin-top: 40px; color: rgba(255,255,255,0.72); font-size: 16px; max-width: 36em; }
.mission__aside { grid-column: 9 / span 4; align-self: end; display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: rgba(255,255,255,0.6); border-left: 1px solid rgba(255,255,255,0.18); padding-left: 24px; }
.mission__aside b { color: var(--white); font-weight: 500; font-size: 15px; }
.mission__mark { position: absolute; right: -4vw; bottom: -6vw; width: 42vw; max-width: 620px; opacity: 0.07; pointer-events: none; }

/* ---------- flow (process) ---------- */
.flow { counter-reset: step; display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line-strong); }
@media (min-width: 900px) { .flow { grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr)); } }
.flow__step { counter-increment: step; padding: 28px 24px 32px 0; border-bottom: 1px solid var(--line); position: relative; }
@media (min-width: 900px) { .flow__step { border-bottom: 0; border-right: 1px solid var(--line); padding-right: 24px; padding-left: 0; } .flow__step + .flow__step { padding-left: 24px; } .flow__step:last-child { border-right: 0; } }
.flow__step::before { content: counter(step, decimal-leading-zero); font-family: var(--font-en); font-weight: 600; font-size: 13px; color: var(--accent); display: block; margin-bottom: 14px; }
.flow__title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.flow__body { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- recruit teaser ---------- */
.recruit-teaser { padding-block: clamp(88px, 11vw, 160px); }
.recruit-teaser__title { grid-column: 1 / span 8; font-size: clamp(30px, 4.3vw, 60px); font-weight: 700; line-height: 1.25; }
.recruit-teaser__body { grid-column: 1 / span 6; margin-top: 32px; color: rgba(255,255,255,0.72); max-width: 34em; }
.recruit-teaser__cta { grid-column: 9 / span 4; align-self: end; justify-self: end; }
.job-tags { grid-column: 1 / span 12; margin-top: 48px; display: flex; flex-wrap: wrap; gap: 10px; }
.job-tags li { padding: 10px 18px; border: 1px solid rgba(255,255,255,0.25); border-radius: 999px; font-size: 13px; }

/* ---------- contact CTA ---------- */
.cta { padding-block: clamp(96px, 12vw, 180px); border-top: 1px solid var(--line); }
.cta__title { grid-column: 1 / span 10; font-size: clamp(32px, 4.8vw, 68px); font-weight: 700; line-height: 1.2; }
.cta__body { grid-column: 1 / span 6; margin-top: 28px; color: var(--ink-soft); max-width: 34em; }
.cta__actions { grid-column: 1 / span 12; margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.cta__tel { display: flex; flex-direction: column; line-height: 1.3; }
.cta__tel b { font-family: var(--font-en); font-size: 30px; font-weight: 600; letter-spacing: 0.01em; }
.cta__tel small { font-size: 12px; color: var(--mute); }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--white); padding: clamp(56px, 7vw, 96px) 0 32px; }
.footer__top { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.14); }
@media (min-width: 900px) { .footer__top { grid-template-columns: 1.2fr 1fr 1fr; } }
.footer .brand__jp { opacity: 0.6; }
.footer__addr { margin-top: 20px; font-size: 13px; line-height: 1.9; color: rgba(255,255,255,0.7); font-style: normal; }
.footer__col h4 { font-family: var(--font-en); font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.footer__col ul { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer__col a { opacity: 0.85; transition: opacity 0.3s; } .footer__col a:hover { opacity: 1; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 12px; color: rgba(255,255,255,0.5); }

/* ---------- content blocks (sub pages) ---------- */
.service-block { padding-block: clamp(72px, 9vw, 128px); border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.service-block:last-of-type { border-bottom: 0; }
.service-block__head { grid-column: 1 / span 5; position: sticky; top: 110px; align-self: start; }
.service-block__en { font-family: var(--font-en); font-size: 14px; font-weight: 600; color: var(--accent); margin-bottom: 14px; }
.service-block__title { font-size: clamp(30px, 3.6vw, 48px); font-weight: 700; line-height: 1.25; }
.service-block__lead { margin-top: 20px; color: var(--ink-soft); font-size: 15px; max-width: 26em; }
.service-block__body { grid-column: 7 / span 6; display: flex; flex-direction: column; gap: 48px; }
.pain { background: var(--white); padding: 28px 30px; border-left: 3px solid var(--accent); }
.pain h4 { font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.pain ul { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--ink-soft); }
.pain li { padding-left: 18px; position: relative; }
.pain li::before { content: ""; position: absolute; left: 0; top: 0.85em; width: 8px; height: 1.5px; background: var(--accent); }
.detail h4 { font-size: 15px; font-weight: 700; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line-strong); }
.detail-list { display: grid; grid-template-columns: 1fr; gap: 0; }
.detail-list li { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 700px) { .detail-list li { grid-template-columns: 180px 1fr; gap: 20px; } }
.detail-list b { font-weight: 700; font-size: 15px; }
.detail-list span { font-size: 14px; color: var(--ink-soft); }

/* company */
.company-table { border-top: 1px solid var(--line-strong); }
.company-table div { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 22px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 700px) { .company-table div { grid-template-columns: 200px 1fr; gap: 24px; } }
.company-table dt { font-size: 14px; font-weight: 700; color: var(--ink); }
.company-table dd { font-size: 15px; color: var(--ink-soft); }
.message { grid-column: 2 / span 9; }
.message__title { font-size: clamp(28px, 3.6vw, 46px); font-weight: 700; line-height: 1.4; }
.message__body { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; color: var(--ink-soft); max-width: 40em; }
.message__sign { margin-top: 40px; display: flex; flex-direction: column; gap: 4px; }
.message__sign small { font-size: 12px; color: var(--mute); }
.message__sign b { font-size: 20px; font-weight: 700; }
.map { width: 100%; aspect-ratio: 16 / 7; border: 1px solid var(--line-strong); background: var(--paper-deep); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }
.values { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 900px) { .values { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.value { background: var(--paper); padding: 40px 32px; display: flex; flex-direction: column; gap: 16px; min-height: 300px; }
.value__en { font-family: var(--font-en); font-size: 28px; font-weight: 600; letter-spacing: -0.01em; }
.value__title { font-size: 20px; font-weight: 700; margin-top: auto; }
.value__body { font-size: 14px; color: var(--ink-soft); }

/* recruit */
.jobs { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 900px) { .jobs { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.job { background: var(--paper); padding: 36px 32px 40px; display: flex; flex-direction: column; gap: 18px; transition: background-color 0.4s; }
.job:hover { background: var(--white); }
.job__type { font-size: 12px; color: var(--mute); }
.job__title { font-size: 24px; font-weight: 700; line-height: 1.35; }
.job__body { font-size: 14px; color: var(--ink-soft); }
.job__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.job__tags li { font-size: 12px; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; }
.persona { grid-column: 1 / span 12; display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 900px) { .persona { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 32px 48px; } }
.persona li { display: grid; grid-template-columns: 28px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.persona li svg { width: 24px; height: 24px; color: var(--accent); margin-top: 6px; }
.persona b { display: block; font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.persona span { font-size: 14px; color: var(--ink-soft); }
.notice { background: var(--white); border-left: 3px solid var(--accent); padding: 20px 24px; font-size: 14px; color: var(--ink-soft); }

/* faq */
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 40px; align-items: center; gap: 20px; padding: 24px 0; font-size: 16px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line-strong); position: relative; justify-self: end; transition: transform 0.4s var(--ease-out), background-color 0.3s, border-color 0.3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.3s; }
.faq details[open] summary i { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: var(--white); }
.faq__a { padding: 0 60px 24px 0; font-size: 14.5px; color: var(--ink-soft); max-width: 46em; }

/* contact form */
.form-wrap { grid-column: 1 / span 7; }
.form-aside { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: 32px; align-self: start; position: sticky; top: 110px; }
.form-aside h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.form-aside p { font-size: 14px; color: var(--ink-soft); }
.form-aside .cta__tel b { font-size: 26px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 26px; }
.field label { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.req { font-size: 10px; font-weight: 700; color: var(--white); background: var(--accent); padding: 3px 7px; border-radius: 3px; line-height: 1; }
.opt { font-size: 10px; font-weight: 700; color: var(--mute); background: var(--paper-deep); padding: 3px 7px; border-radius: 3px; line-height: 1; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; padding: 16px 18px; background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--radius);
  transition: border-color 0.3s, box-shadow 0.3s; -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230e1a4a' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.field textarea { min-height: 180px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(14,26,74,0.1); }
.field__hint { font-size: 12px; color: var(--mute); }
.field__error { font-size: 12px; color: var(--accent-deep); display: none; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--accent); }
.field.is-invalid .field__error { display: block; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13.5px; font-weight: 500; cursor: pointer; background: var(--white); transition: background-color 0.3s, border-color 0.3s, color 0.3s; }
.checks input { position: absolute; opacity: 0; width: 0; height: 0; }
.checks label:has(input:checked) { background: var(--ink); border-color: var(--ink); color: var(--white); }
.checks label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.agree { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; margin-bottom: 32px; }
.agree input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--ink); }
.agree a { text-decoration: underline; text-underline-offset: 3px; }
.form-status { margin-top: 20px; font-size: 14px; }
.form-status.is-error { color: var(--accent-deep); }
.hp { position: absolute; left: -9999px; }

/* privacy / plain text page */
.prose { grid-column: 2 / span 8; display: flex; flex-direction: column; gap: 36px; }
.prose h2 { font-size: 22px; font-weight: 700; padding-top: 8px; }
.prose p, .prose li { font-size: 15px; color: var(--ink-soft); }
.prose ul { padding-left: 1.2em; list-style: disc; display: flex; flex-direction: column; gap: 6px; }
.prose .date { font-size: 13px; color: var(--mute); }

/* thanks */
.thanks { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-top: 120px; }

/* ---------- reveals ---------- */
html.js .rv { opacity: 0; transform: translateY(24px); }
html.js .rv.is-in { opacity: 1; transform: none; transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
html.js .rv-stagger > * { opacity: 0; transform: translateY(20px); }
html.js .rv-stagger.is-in > * { opacity: 1; transform: none; transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
html.js .rv-stagger.is-in > *:nth-child(2) { transition-delay: 0.08s; }
html.js .rv-stagger.is-in > *:nth-child(3) { transition-delay: 0.16s; }
html.js .rv-stagger.is-in > *:nth-child(4) { transition-delay: 0.24s; }
html.js .rv-stagger.is-in > *:nth-child(5) { transition-delay: 0.32s; }
html.js .rv-stagger.is-in > *:nth-child(6) { transition-delay: 0.40s; }
html.js .rule { transform: scaleX(0); transform-origin: left; }
html.js .rule.is-in { transform: scaleX(1); transition: transform 1.2s var(--ease-out); }

/* ---------- page transitions ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 0.25s ease-out both vtOut; }
::view-transition-new(root) { animation: 0.4s var(--ease-out) both vtIn; }
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; transform: translateY(10px); } }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .nav { display: none; }
  .nav-toggle { display: block; }
  .sec-head__title { grid-column: 1 / span 12; }
  .sec-head__desc { grid-column: 1 / span 12; margin-top: 16px; }
  .sec-head--center .sec-head__title { grid-column: 1 / span 12; }
  .statement__text, .statement__body, .pillars, .message, .prose { grid-column: 1 / span 12; }
  .mission__title, .mission__body, .mission__aside, .recruit-teaser__title, .recruit-teaser__body, .recruit-teaser__cta, .cta__title, .cta__body { grid-column: 1 / span 12; }
  .mission__aside { margin-top: 40px; }
  .recruit-teaser__cta { justify-self: start; margin-top: 32px; }
  .service-block__head, .service-block__body, .form-wrap, .form-aside { grid-column: 1 / span 12; position: static; }
  .service-block__body { margin-top: 40px; }
  .form-aside { margin-top: 56px; }
  .hero__meta { display: none; }
  .hero__title { max-width: none; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .hero { padding-top: 110px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .facts { grid-template-columns: 1fr 1fr; }
  .strength-grid { grid-template-columns: 1fr; }
  .strength { min-height: 0; }
  .cta__actions { flex-direction: column; align-items: flex-start; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html.js .rv, html.js .rv-stagger > * { opacity: 1; transform: none; }
  html.js .rule { transform: none; }
  .loader { display: none; }
}
