/* ==========================================================
   株式会社 恵比寿建設  — Style Sheet
   ========================================================== */

:root {
  --navy: #0d1b2e;
  --navy-2: #13263f;
  --navy-3: #1c3557;
  --amber: #e39b2f;
  --amber-2: #f1b44a;
  --amber-dark: #bf7f22;
  --ink: #1c2430;
  --ink-2: #4a5566;
  --muted: #7d8794;
  --line: #e2e6ec;
  --bg: #ffffff;
  --bg-2: #f5f6f8;
  --bg-3: #edf0f4;
  --white: #ffffff;

  --font-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --font-head: "Zen Kaku Gothic New", var(--font-ja);
  --font-en: "Outfit", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --radius: 14px;
  --container: 1180px;
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 84px; }
body {
  font-family: var(--font-ja);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  font-size: 16px;
  letter-spacing: .02em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
.pc { display: inline; }
.sp { display: none; }
@media (max-width: 768px) {
  .pc { display: none; }
  .sp { display: inline; }
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}
@media (max-width: 768px) {
  .container { width: min(100% - 32px, var(--container)); }
}

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--navy);
  display: grid; place-items: center;
  transition: opacity .6s var(--ease), visibility .6s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__mark { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.loader__en {
  font-family: var(--font-en); font-weight: 700; letter-spacing: .4em; color: var(--white);
  font-size: 22px; padding-left: .4em;
  animation: loaderText 1s var(--ease) both;
}
.loader__bar {
  width: 120px; height: 2px; background: rgba(255,255,255,.15); position: relative; overflow: hidden;
}
.loader__bar::after {
  content: ""; position: absolute; inset: 0; background: var(--amber);
  transform-origin: left; animation: loaderBar 1s var(--ease-io) both;
}
@keyframes loaderText { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes loaderBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: 15px;
  letter-spacing: .04em; overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), color .3s, background .3s, border-color .3s;
}
.btn--lg { padding: 18px 36px; font-size: 16px; }
.btn--primary { background: var(--amber); color: var(--navy); box-shadow: 0 10px 24px -10px rgba(232,162,59,.6); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--amber-2);
  transform: translateX(-101%); transition: transform .45s var(--ease);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(232,162,59,.75); }
.btn--primary:hover::before { transform: translateX(0); }
.btn--ghost { color: var(--white); border: 1.5px solid rgba(255,255,255,.55); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: var(--white); transform: translateY(-2px); }
.btn--outline { color: var(--navy); border: 1.5px solid var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn .ext::after { content: "↗"; font-family: var(--font-en); font-size: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 14px; font-weight: 700; color: var(--navy);
  font-size: 15px; letter-spacing: .04em;
}
.link-arrow__icon {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--navy);
  position: relative; transition: background .3s, transform .4s var(--ease); flex-shrink: 0;
}
.link-arrow__icon::before {
  content: ""; position: absolute; top: 50%; left: 50%; width: 8px; height: 8px;
  border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
  transform: translate(-60%, -50%) rotate(45deg); transition: transform .4s var(--ease);
}
.link-arrow:hover .link-arrow__icon { background: var(--navy); color: var(--white); transform: translateX(4px); }
.link-arrow:hover .link-arrow__icon::before { transform: translate(-40%, -50%) rotate(45deg); }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  transition: height .4s var(--ease), background .4s, box-shadow .4s, backdrop-filter .4s;
  color: var(--white);
}
.header::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255,255,255,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0; transition: opacity .4s;
  box-shadow: 0 4px 30px -12px rgba(13,27,46,.25);
}
.header.is-scrolled { height: 68px; color: var(--navy); }
.header.is-scrolled::after { opacity: 1; }
.header__inner {
  width: min(100% - 40px, 1320px); margin-inline: auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { display: flex; flex-direction: column; line-height: 1.15; position: relative; padding-left: 14px; }
.logo::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; border-radius: 2px; background: var(--amber); transition: transform .5s var(--ease); transform-origin: bottom; }
.logo:hover::before { transform: scaleY(1.15); }
.logo__ja { font-family: var(--font-head); font-weight: 900; font-size: 19px; letter-spacing: .06em; }
.logo__en { font-family: var(--font-en); font-weight: 600; font-size: 10px; letter-spacing: .3em; color: var(--amber); margin-top: 4px; }
.header.is-scrolled .logo__en { color: var(--amber-dark); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 6px; }
.nav__link {
  display: flex; flex-direction: column; align-items: center; padding: 8px 14px; position: relative;
  line-height: 1.2;
}
.nav__en { font-family: var(--font-en); font-weight: 600; font-size: 14px; letter-spacing: .08em; }
.nav__ja { font-size: 10px; opacity: .7; margin-top: 3px; letter-spacing: .08em; }
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--amber); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__tel { display: flex; align-items: center; gap: 8px; font-family: var(--font-en); font-weight: 700; font-size: 18px; letter-spacing: .04em; }
.nav__tel svg { width: 18px; height: 18px; }
.nav__cta { padding: 12px 24px; font-size: 14px; }

.menu-btn {
  display: none; width: 48px; height: 48px; position: relative; z-index: 110;
  flex-direction: column; justify-content: center; align-items: center; gap: 6px;
}
.menu-btn span { width: 26px; height: 2px; background: currentColor; transition: transform .4s var(--ease), opacity .3s, width .3s; border-radius: 2px; }
.menu-btn.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn.is-open span:nth-child(2) { opacity: 0; width: 0; }
.menu-btn.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  color: var(--white); overflow: hidden; padding: calc(var(--header-h) + 40px) 0 0;
  background: var(--navy);
}
.hero__bg { position: absolute; inset: -10% 0; z-index: 0; will-change: transform; }
.hero__img {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #1c3557 0%, #0d1b2e 60%, #0a1322 100%);
  background-image:
    linear-gradient(160deg, rgba(28,53,87,.35), rgba(13,27,46,.2)),
    url("https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&w=2000&q=80");
  background-size: cover; background-position: center;
  animation: heroZoom 14s var(--ease) both;
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(13,27,46,.9) 0%, rgba(13,27,46,.62) 45%, rgba(13,27,46,.2) 100%),
    linear-gradient(0deg, rgba(13,27,46,.95) 0%, rgba(13,27,46,0) 40%);
}
.hero__grid {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
}
.hero__inner { position: relative; z-index: 2; width: min(100% - 40px, var(--container)); margin-inline: auto; padding-bottom: 60px; }
.hero__label {
  display: flex; align-items: center; gap: 14px; font-size: 14px; letter-spacing: .18em; font-weight: 500;
  color: var(--amber-2); margin-bottom: 28px;
  opacity: 0; animation: fadeUp 1s var(--ease) .9s forwards;
}
.hero__label-line { width: 48px; height: 1px; background: var(--amber); transform-origin: left; animation: lineGrow .9s var(--ease) 1s both; }
@keyframes lineGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__title {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(40px, 6.4vw, 84px); line-height: 1.22; letter-spacing: .04em; margin-bottom: 32px;
}
.hero__title em { font-style: normal; color: var(--amber); }
.hero__title-row { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__word { display: block; transform: translateY(110%); animation: wordUp 1.2s var(--ease) forwards; }
.hero__title-row:nth-child(1) .hero__word { animation-delay: 1.05s; }
.hero__title-row:nth-child(2) .hero__word { animation-delay: 1.2s; }
@keyframes wordUp { to { transform: translateY(0); } }
.hero__lead {
  font-size: clamp(14px, 1.2vw, 16px); line-height: 2.1; color: rgba(255,255,255,.85); max-width: 640px; margin-bottom: 40px;
  opacity: 0; animation: fadeUp 1s var(--ease) 1.5s forwards;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; opacity: 0; animation: fadeUp 1s var(--ease) 1.7s forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.hero__bottom {
  position: relative; z-index: 2; width: min(100% - 40px, var(--container)); margin-inline: auto;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: 36px;
  opacity: 0; animation: fadeUp 1s var(--ease) 2s forwards;
}
.scroll-hint { display: flex; flex-direction: column; align-items: center; gap: 10px; color: rgba(255,255,255,.7); }
.scroll-hint__text { font-family: var(--font-en); font-size: 11px; letter-spacing: .3em; writing-mode: vertical-rl; }
.scroll-hint__line { width: 1px; height: 56px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.scroll-hint__line::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: var(--amber); animation: scrollLine 2s var(--ease-io) infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 50% { transform: translateY(0); } 100% { transform: translateY(100%); } }
.hero__facts { display: flex; gap: 0; border-top: 1px solid rgba(255,255,255,.2); }
.hero__facts li { padding: 20px 36px 0 0; margin-right: 36px; border-right: 1px solid rgba(255,255,255,.15); display: flex; flex-direction: column; }
.hero__facts li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero__fact-num { font-family: var(--font-en); font-weight: 700; font-size: 34px; line-height: 1; letter-spacing: .02em; }
.hero__fact-num small { font-size: 14px; font-weight: 600; margin-left: 4px; opacity: .8; font-family: var(--font-ja); }
.hero__fact-label { font-size: 12px; letter-spacing: .1em; opacity: .7; margin-top: 8px; }

/* ---------- Marquee ---------- */
.marquee { background: var(--navy); color: rgba(255,255,255,.55); overflow: hidden; border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; }
.marquee__track { display: flex; gap: 0; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span { font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: .2em; padding: 0 28px; position: relative; white-space: nowrap; }
.marquee__track span::after { content: ""; position: absolute; right: -3px; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); transform: translateY(-50%); opacity: .8; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section common ---------- */
.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.sec-head { margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head--center { text-align: center; }
.sec-head__en {
  display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-en); font-weight: 600; font-size: 13px;
  letter-spacing: .3em; text-transform: uppercase; color: var(--amber-dark); margin-bottom: 14px;
}
.sec-head__en::before { content: ""; width: 28px; height: 2px; background: var(--amber); }
.sec-head--center .sec-head__en::after { content: ""; width: 28px; height: 2px; background: var(--amber); }
.sec-head__en--light { color: var(--amber-2); }
.sec-head__ja { font-family: var(--font-head); font-weight: 900; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.3; letter-spacing: .05em; color: var(--navy); }
.sec-head__lead { margin-top: 22px; color: var(--ink-2); font-size: 15px; line-height: 2.1; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * .12s); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- About ---------- */
.about { background: var(--bg); overflow: hidden; }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about__catch { font-family: var(--font-head); font-weight: 700; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.7; letter-spacing: .04em; color: var(--navy); margin-bottom: 28px; }
.about__body { color: var(--ink-2); font-size: 15px; margin-bottom: 20px; }
.about__text .link-arrow { margin-top: 12px; }
.about__visual { position: relative; aspect-ratio: 1 / 1.05; }
.about__photo { position: absolute; border-radius: var(--radius); background-size: cover; background-position: center; box-shadow: 0 30px 60px -30px rgba(13,27,46,.45); overflow: hidden; }
.about__photo--main {
  top: 0; right: 0; width: 78%; height: 76%;
  background-color: var(--navy-3);
  background-image: url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1200&q=80");
}
.about__photo--sub {
  bottom: 0; left: 0; width: 48%; height: 46%;
  background-color: var(--amber-dark);
  background-image: url("https://images.unsplash.com/photo-1429497419816-9ca5cfb4571a?auto=format&fit=crop&w=800&q=80");
  border: 6px solid var(--white);
}
.about__photo::after { content: ""; position: absolute; inset: 0; background: var(--navy); transform-origin: right; transition: transform 1.2s var(--ease) .2s; }
.about__photo--sub::after { transition-delay: .45s; }
.reveal.is-visible .about__photo::after { transform: scaleX(0); }
.about__badge {
  position: absolute; right: 6%; bottom: 10%; width: 124px; height: 124px; border-radius: 50%;
  background: var(--amber); color: var(--navy); display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 20px 40px -16px rgba(232,162,59,.7);
  animation: float 5s ease-in-out infinite;
}
.about__badge-num { font-family: var(--font-en); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; }
.about__badge-year { font-family: var(--font-en); font-weight: 700; font-size: 34px; line-height: 1; margin-top: 4px; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(64px, 8vw, 110px); }
.values__item {
  position: relative; padding: 40px 32px 36px; background: var(--bg-2); border-radius: var(--radius);
  border: 1px solid transparent; transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .4s, border-color .4s;
  overflow: hidden;
}
.values__item::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--amber), var(--amber-2)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.values__item:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -28px rgba(13,27,46,.35); background: var(--white); border-color: var(--line); }
.values__item:hover::before { transform: scaleX(1); }
.values__num { position: absolute; right: 24px; top: 20px; font-family: var(--font-en); font-weight: 700; font-size: 44px; color: rgba(13,27,46,.06); line-height: 1; }
.values__icon { width: 56px; height: 56px; color: var(--amber-dark); margin-bottom: 22px; transition: transform .5s var(--ease); }
.values__item:hover .values__icon { transform: translateY(-4px) scale(1.05); }
.values__item h3 { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--navy); margin-bottom: 12px; letter-spacing: .04em; }
.values__item p { color: var(--ink-2); font-size: 14px; line-height: 1.95; }

/* ---------- Service ---------- */
.service { background: var(--bg-2); }
.service::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(13,27,46,.08) 1px, transparent 1px); background-size: 24px 24px;
  mask-image: linear-gradient(180deg, #000, transparent 30%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 30%);
}
.service__list { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 72px); }
.service-card {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center;
  background: var(--white); border-radius: 22px; padding: clamp(20px, 2.4vw, 32px);
  box-shadow: 0 30px 60px -40px rgba(13,27,46,.3); border: 1px solid var(--line);
}
.service-card--reverse .service-card__visual { order: 2; }
.service-card__visual { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; }
.service-card__img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 1.2s var(--ease); }
.service-card:hover .service-card__img { transform: scale(1.06); }
.service-card__img--civil {
  background-color: var(--navy-3);
  background-image: linear-gradient(180deg, rgba(13,27,46,0) 50%, rgba(13,27,46,.5)), url("https://images.unsplash.com/photo-1503708928676-1cb796a0891e?auto=format&fit=crop&w=1200&q=80");
}
.service-card__img--waste {
  background-color: var(--navy-2);
  background-image: linear-gradient(180deg, rgba(13,27,46,0) 50%, rgba(13,27,46,.5)), url("https://images.unsplash.com/photo-1532996122724-e3c354a0b15b?auto=format&fit=crop&w=1200&q=80");
}
.service-card__num {
  position: absolute; left: 20px; bottom: 16px; font-family: var(--font-en); font-weight: 700; font-size: 56px; color: var(--white); line-height: 1;
  text-shadow: 0 6px 24px rgba(0,0,0,.4);
}
.service-card__body { padding: 12px clamp(4px, 1.5vw, 20px); }
.service-card__en { font-family: var(--font-en); font-weight: 600; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--amber-dark); display: block; margin-bottom: 10px; }
.service-card__title { font-family: var(--font-head); font-weight: 900; font-size: clamp(24px, 2.4vw, 32px); color: var(--navy); letter-spacing: .04em; margin-bottom: 18px; line-height: 1.4; }
.service-card__body p { color: var(--ink-2); font-size: 15px; margin-bottom: 22px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 12px; font-weight: 700; letter-spacing: .06em; padding: 6px 14px; border-radius: 999px; background: var(--bg-3); color: var(--navy); border: 1px solid var(--line); transition: background .3s, color .3s, border-color .3s; }
.service-card:hover .tags li { background: rgba(232,162,59,.14); border-color: rgba(232,162,59,.4); }

.service__other {
  margin-top: clamp(40px, 5vw, 64px); display: flex; gap: 24px; align-items: flex-start;
  background: var(--navy); color: var(--white); border-radius: 18px; padding: clamp(28px, 3vw, 40px);
  position: relative; overflow: hidden;
}
.service__other::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(232,162,59,.35), transparent 65%); }
.service__other-icon { width: 56px; height: 56px; flex-shrink: 0; color: var(--amber); }
.service__other h3 { font-family: var(--font-head); font-weight: 700; font-size: 20px; margin-bottom: 8px; letter-spacing: .04em; }
.service__other p { color: rgba(255,255,255,.8); font-size: 15px; }

/* ---------- Flow ---------- */
.flow { background: var(--white); }
.flow__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; counter-reset: step; }
.flow__item {
  position: relative; padding: 36px 26px 32px; border-radius: var(--radius); background: var(--bg-2);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .4s;
}
.flow__item::after {
  content: ""; position: absolute; right: -16px; top: 50%; width: 12px; height: 12px;
  border-top: 2px solid var(--amber); border-right: 2px solid var(--amber); transform: translateY(-50%) rotate(45deg);
}
.flow__item:last-child::after { display: none; }
.flow__item:hover { transform: translateY(-6px); background: var(--white); box-shadow: 0 30px 50px -28px rgba(13,27,46,.35); }
.flow__step { display: inline-block; font-family: var(--font-en); font-weight: 700; font-size: 12px; letter-spacing: .24em; color: var(--white); background: var(--navy); padding: 5px 12px; border-radius: 6px; margin-bottom: 18px; }
.flow__item h3 { font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--navy); margin-bottom: 10px; letter-spacing: .04em; }
.flow__item p { font-size: 14px; color: var(--ink-2); line-height: 1.9; }


.flow__list--3 { grid-template-columns: repeat(3, 1fr); max-width: 960px; margin-inline: auto; }
.recruit-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 48px; }

/* ---------- Recruit ---------- */
.recruit { color: var(--navy); overflow: hidden; background: var(--navy); }
.recruit__bg {
  position: absolute; inset: -12% 0; z-index: 0;
  background-color: var(--navy-2);
  background-image: linear-gradient(90deg, rgba(13,27,46,.6), rgba(13,27,46,.2)), url("https://images.unsplash.com/photo-1517581177682-a085bb7ffb15?auto=format&fit=crop&w=2000&q=80");
  background-size: cover; background-position: center; will-change: transform;
}
.recruit .container { position: relative; z-index: 1; }
.recruit__card {
  max-width: 640px; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-radius: 22px;
  padding: clamp(32px, 4vw, 56px); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6);
}
.recruit__card .sec-head { margin-bottom: 24px; }
.recruit__catch { font-family: var(--font-head); font-weight: 700; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.6; letter-spacing: .04em; margin-bottom: 20px; }
.recruit__body { color: var(--ink-2); font-size: 15px; margin-bottom: 26px; }
.recruit__points { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin-bottom: 32px; }
.recruit__points li { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; }
.check { width: 22px; height: 22px; border-radius: 50%; background: var(--amber); flex-shrink: 0; position: relative; }
.check::after { content: ""; position: absolute; left: 7px; top: 4px; width: 5px; height: 10px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg); }
.recruit__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Company ---------- */
.company { background: var(--white); }
.company__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.company__table { border-top: 1px solid var(--line); }
.company__table > div { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 20px 8px; border-bottom: 1px solid var(--line); font-size: 15px; transition: background .3s; }
.company__table > div:hover { background: var(--bg-2); }
.company__table dt { font-weight: 700; color: var(--navy); position: relative; padding-left: 16px; }
.company__table dt::before { content: ""; position: absolute; left: 0; top: .85em; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.company__table dd { color: var(--ink-2); }
.company__table dd a { color: var(--navy); font-weight: 700; font-family: var(--font-en); font-size: 17px; }
.sponsor {
  margin-top: 28px; display: inline-flex; flex-direction: column; gap: 4px; padding: 18px 24px; border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--navy-3)); color: var(--white); border-left: 4px solid var(--amber);
}
.sponsor__label { font-family: var(--font-en); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--amber-2); }
.sponsor__name { font-family: var(--font-head); font-weight: 700; font-size: 18px; letter-spacing: .04em; }

/* ---------- Access ---------- */
.access { background: var(--bg-2); }
.access__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -40px rgba(13,27,46,.35); background: var(--white); border: 1px solid var(--line); }
.access__map { min-height: 420px; position: relative; }
.access__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85); }
.access__info { padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.access__info h3 { font-family: var(--font-head); font-weight: 700; font-size: 22px; color: var(--navy); letter-spacing: .04em; }
.access__addr { color: var(--ink-2); font-size: 15px; }
.access__tel { display: flex; align-items: center; gap: 14px; font-family: var(--font-en); font-weight: 700; font-size: 20px; color: var(--navy); }
.access__tel span { font-size: 11px; letter-spacing: .2em; background: var(--navy); color: var(--white); padding: 3px 10px; border-radius: 4px; }
.access__info .link-arrow { margin-top: 10px; }

/* ---------- Contact ---------- */
.contact { background: var(--navy); color: var(--white); overflow: hidden; }
.contact::before { content: ""; position: absolute; left: -10%; top: -40%; width: 60%; height: 180%; background: radial-gradient(ellipse, rgba(232,162,59,.18), transparent 60%); pointer-events: none; }
.contact::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 80px 80px; pointer-events: none; }
.contact .container { position: relative; z-index: 1; }
.contact__inner { text-align: center; }
.contact__title { font-family: var(--font-head); font-weight: 900; font-size: clamp(30px, 3.6vw, 46px); letter-spacing: .05em; margin-bottom: 20px; }
.contact__lead { color: rgba(255,255,255,.8); font-size: 15px; margin-bottom: 44px; }
.contact__boxes { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 20px; }
.contact__box {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 36px 24px;
  border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  transition: transform .5s var(--ease), background .4s, border-color .4s, box-shadow .5s;
}
.contact__box--tel { background: var(--amber); color: var(--navy); border-color: var(--amber); }
.contact__box--tel:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -24px rgba(232,162,59,.7); background: var(--amber-2); }
.contact__box-label { font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.contact__box-num { font-family: var(--font-en); font-weight: 700; font-size: clamp(30px, 3.4vw, 40px); line-height: 1.1; letter-spacing: .02em; }
.contact__box-note { font-size: 12px; opacity: .8; letter-spacing: .06em; }

/* ---------- Footer ---------- */
.footer { background: #0a1424; color: rgba(255,255,255,.75); }
.footer__inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding: 64px 0 48px; flex-wrap: wrap; }
.logo--footer { color: var(--white); margin-bottom: 20px; align-self: flex-start; }
.footer__brand p { font-size: 13px; line-height: 1.9; }
.footer__nav { display: grid; grid-template-columns: repeat(2, auto); gap: 12px 40px; font-size: 14px; }
.footer__nav a { position: relative; padding-left: 16px; transition: color .3s; }
.footer__nav a::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 1px; background: var(--amber); transition: width .3s; }
.footer__nav a:hover { color: var(--white); }
.footer__nav a:hover::before { width: 10px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; font-family: var(--font-en); font-size: 12px; letter-spacing: .08em; color: rgba(255,255,255,.45); }

/* ---------- To top ---------- */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 52px; height: 52px; border-radius: 50%;
  background: var(--navy); color: var(--white); display: grid; place-items: center; box-shadow: 0 16px 30px -12px rgba(13,27,46,.6);
  opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .4s, visibility .4s, transform .4s var(--ease), background .3s;
}
.to-top svg { width: 22px; height: 22px; }
.to-top.is-show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--amber); color: var(--navy); }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1080px) {
  .nav__tel { display: none; }
  .nav__list { gap: 0; }
  .nav__link { padding: 8px 10px; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .menu-btn { display: flex; }
  .nav {
    position: fixed; inset: 0; z-index: 105; background: var(--navy); color: var(--white);
    flex-direction: column; justify-content: center; align-items: flex-start; gap: 20px; padding: 100px 40px 40px;
    clip-path: circle(0 at calc(100% - 44px) 34px); transition: clip-path .7s var(--ease);
    overflow-y: auto;
  }
  .nav.is-open { clip-path: circle(150% at calc(100% - 44px) 34px); }
  .nav__list { flex-direction: column; gap: 4px; width: 100%; }
  .nav__link { flex-direction: row; align-items: baseline; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); width: 100%; opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .nav.is-open .nav__link { opacity: 1; transform: none; }
  .nav.is-open .nav__list li:nth-child(1) .nav__link { transition-delay: .25s; }
  .nav.is-open .nav__list li:nth-child(2) .nav__link { transition-delay: .3s; }
  .nav.is-open .nav__list li:nth-child(3) .nav__link { transition-delay: .35s; }
  .nav.is-open .nav__list li:nth-child(4) .nav__link { transition-delay: .4s; }
  .nav.is-open .nav__list li:nth-child(5) .nav__link { transition-delay: .45s; }
  .nav__en { font-size: 24px; }
  .nav__ja { font-size: 13px; margin: 0; }
  .nav__link::after { display: none; }
  .nav__tel { display: flex; font-size: 24px; margin-top: 12px; }
  .nav__cta { width: 100%; padding: 16px; font-size: 16px; }
  .header.is-scrolled { color: var(--navy); }
  .header.menu-open { color: var(--white); }
  .header.menu-open::after { opacity: 0; }

  .about__grid { grid-template-columns: 1fr; }
  .about__visual { max-width: 520px; margin-inline: auto; width: 100%; }
  .values { grid-template-columns: 1fr; gap: 16px; }
  .service-card { grid-template-columns: 1fr; }
  .service-card--reverse .service-card__visual { order: 0; }
  .flow__list { grid-template-columns: 1fr 1fr; }
  .flow__item:nth-child(2)::after { display: none; }
  .company__grid { grid-template-columns: 1fr; }
  .access__grid { grid-template-columns: 1fr; }
  .access__map { min-height: 320px; }
  .contact__boxes { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; }
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  .logo__ja { font-size: 16px; }
  .logo__en { font-size: 9px; }
  .hero { padding-top: calc(var(--header-h) + 24px); min-height: 100svh; }
  .hero__title { font-size: clamp(34px, 10vw, 44px); margin-bottom: 24px; }
  .hero__lead { font-size: 14px; line-height: 2; margin-bottom: 30px; }
  .hero__actions .btn { width: 100%; }
  .hero__bottom { flex-direction: column; align-items: stretch; padding-bottom: 28px; }
  .scroll-hint { display: none; }
  .hero__facts { justify-content: space-between; }
  .hero__facts li { padding: 16px 12px 0 0; margin-right: 12px; }
  .hero__fact-num { font-size: 24px; }
  .hero__fact-label { font-size: 11px; }
  .flow__list { grid-template-columns: 1fr; }
  .flow__item::after { display: none; }
  .recruit__points { grid-template-columns: 1fr; }
  .recruit__catch { font-size: 19px; }
  .recruit__actions .btn { width: 100%; }
  .company__table > div { grid-template-columns: 1fr; gap: 4px; }
  .footer__nav { grid-template-columns: 1fr; }
  .to-top { right: 16px; bottom: 16px; width: 46px; height: 46px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero__word { transform: none; }
  .hero__label, .hero__lead, .hero__actions, .hero__bottom { opacity: 1; }
  .marquee__track { animation: none; }
}


/* ==========================================================
   Sub pages
   ========================================================== */

/* ---------- Page hero ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--navy); color: var(--white); padding: calc(var(--header-h) + clamp(56px, 8vw, 110px)) 0 clamp(56px, 7vw, 96px); }
.page-hero__bg { position: absolute; inset: -15% 0; z-index: 0; background-size: cover; background-position: center; opacity: .35; will-change: transform; }
.page-hero--service .page-hero__bg { background-image: url("https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&w=2000&q=70"); }
.page-hero--works .page-hero__bg { background-image: url("https://images.unsplash.com/photo-1429497419816-9ca5cfb4571a?auto=format&fit=crop&w=2000&q=70"); }
.page-hero--recruit .page-hero__bg { background-image: url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=2000&q=70"); }
.page-hero--company .page-hero__bg { background-image: url("https://images.unsplash.com/photo-1565008447742-97f6f38c985c?auto=format&fit=crop&w=2000&q=70"); }
.page-hero--contact .page-hero__bg { background-image: url("https://images.unsplash.com/photo-1503708928676-1cb796a0891e?auto=format&fit=crop&w=2000&q=70"); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(13,27,46,.85), rgba(13,27,46,.45)), linear-gradient(0deg, rgba(13,27,46,.9), transparent 60%); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 100px 100px; mask-image: radial-gradient(ellipse at 80% 50%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 80% 50%, #000 10%, transparent 70%); }
.page-hero__inner { position: relative; z-index: 2; }
.page-hero__en { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-en); font-weight: 600; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--amber-2); margin-bottom: 14px; opacity: 0; animation: fadeUp .9s var(--ease) .1s forwards; }
.page-hero__en::before { content: ""; width: 36px; height: 1px; background: var(--amber); }
.page-hero__title { font-family: var(--font-head); font-weight: 900; font-size: clamp(34px, 5vw, 60px); letter-spacing: .05em; line-height: 1.25; overflow: hidden; }
.page-hero__title { opacity: 0; animation: fadeUp 1s var(--ease) .25s forwards; }
.page-hero__lead { margin-top: 18px; max-width: 640px; color: rgba(255,255,255,.82); font-size: 15px; opacity: 0; animation: fadeUp 1s var(--ease) .45s forwards; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-top: 28px; font-size: 12px; letter-spacing: .08em; color: rgba(255,255,255,.6); opacity: 0; animation: fadeUp 1s var(--ease) .6s forwards; }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; opacity: .5; }
.breadcrumb a { transition: color .3s; }
.breadcrumb a:hover { color: var(--amber-2); }
.breadcrumb [aria-current] { color: var(--white); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: var(--white); position: relative; overflow: hidden; padding: clamp(56px, 7vw, 96px) 0; }
.cta-band::before { content: ""; position: absolute; left: -10%; top: -40%; width: 60%; height: 180%; background: radial-gradient(ellipse, rgba(227,155,47,.18), transparent 60%); pointer-events: none; }
.cta-band__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.cta-band__text h2 { font-family: var(--font-head); font-weight: 900; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: .04em; line-height: 1.5; margin: 6px 0 12px; }
.cta-band__text p { color: rgba(255,255,255,.78); font-size: 15px; }
.cta-band__actions { display: flex; flex-direction: column; gap: 14px; align-items: stretch; }
.cta-band__tel { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 22px 24px; border-radius: 16px; background: var(--amber); color: var(--navy); transition: transform .5s var(--ease), box-shadow .5s, background .3s; }
.cta-band__tel:hover { transform: translateY(-4px); background: var(--amber-2); box-shadow: 0 30px 50px -24px rgba(227,155,47,.7); }
.cta-band__tel-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.cta-band__tel-num { font-family: var(--font-en); font-weight: 700; font-size: clamp(28px, 3vw, 36px); line-height: 1.1; }
.cta-band__tel-note { font-size: 12px; opacity: .8; }
.cta-band .btn--primary { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.6); box-shadow: none; }
.cta-band .btn--primary::before { background: var(--white); }
.cta-band .btn--primary:hover { color: var(--navy); border-color: var(--white); }

/* ---------- Service teaser (home) ---------- */
.service-teaser { background: var(--bg-2); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc a { display: flex; flex-direction: column; height: 100%; background: var(--white); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 60px -45px rgba(13,27,46,.35); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.svc a:hover { transform: translateY(-8px); box-shadow: 0 40px 60px -36px rgba(13,27,46,.4); }
.svc__img { display: block; aspect-ratio: 16 / 10; background-size: cover; background-position: center; background-color: var(--navy-3); transition: transform 1.2s var(--ease); }
.svc a { isolation: isolate; }
.svc__img-wrap { overflow: hidden; }
.svc a:hover .svc__img { transform: scale(1.06); }
.svc__body { display: flex; flex-direction: column; gap: 8px; padding: 26px 26px 28px; flex: 1; position: relative; background: var(--white); z-index: 1; }
.svc__num { font-family: var(--font-en); font-weight: 700; font-size: 13px; letter-spacing: .2em; color: var(--amber-dark); }
.svc__title { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--navy); letter-spacing: .04em; }
.svc__text { font-size: 14px; color: var(--ink-2); line-height: 1.9; flex: 1; }
.svc__more { margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--navy); display: inline-flex; align-items: center; gap: 8px; }
.svc__more::after { content: ""; width: 22px; height: 1px; background: var(--amber); transition: width .4s var(--ease); }
.svc a:hover .svc__more::after { width: 38px; }

/* ---------- Works ---------- */
.works-teaser { background: var(--white); }
.works-teaser__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 8px; }
.works-teaser__head .sec-head { margin-bottom: 0; }
.works-teaser__head .link-arrow { margin-bottom: 8px; }
.works { background: var(--bg-2); }
.works__note { font-size: 13px; color: var(--muted); text-align: center; margin-bottom: 28px; }
.filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 40px; }
.filter__btn { padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font-weight: 700; font-size: 13px; letter-spacing: .06em; color: var(--ink-2); transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease); }
.filter__btn:hover { border-color: var(--navy); color: var(--navy); transform: translateY(-2px); }
.filter__btn.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.works-grid--teaser { margin-top: 32px; }
.work { transition: opacity .5s var(--ease), transform .5s var(--ease); }
.work.is-hidden { display: none; }
.work.is-fading { opacity: 0; transform: scale(.96); }
.work__btn { display: block; width: 100%; text-align: left; position: relative; border-radius: 16px; overflow: hidden; background: var(--white); border: 1px solid var(--line); box-shadow: 0 30px 60px -45px rgba(13,27,46,.35); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.work__btn:hover { transform: translateY(-6px); box-shadow: 0 40px 60px -36px rgba(13,27,46,.4); }
.work__img { display: block; aspect-ratio: 4 / 3; background-size: cover; background-position: center; background-color: var(--navy-3); transition: transform 1.2s var(--ease); }
.work__btn:hover .work__img { transform: scale(1.06); }
.work__sample { position: absolute; top: 14px; left: 14px; font-size: 11px; font-weight: 700; letter-spacing: .1em; padding: 4px 10px; border-radius: 4px; background: rgba(13,27,46,.75); color: var(--white); backdrop-filter: blur(4px); }
.work__body { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px 20px; position: relative; background: var(--white); }
.work__cat { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--amber-dark); }
.work__title { font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--navy); letter-spacing: .03em; }
.work__meta { font-size: 12px; color: var(--muted); }
.work__body::after { content: "+"; position: absolute; right: 18px; bottom: 18px; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font-family: var(--font-en); font-size: 18px; color: var(--navy); transition: background .3s, color .3s, border-color .3s; }
.work__btn:hover .work__body::after { background: var(--navy); color: var(--white); border-color: var(--navy); }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10,20,36,.92); display: grid; place-items: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__figure { max-width: min(1100px, 100%); transform: translateY(20px) scale(.97); transition: transform .5s var(--ease); }
.lightbox.is-open .lightbox__figure { transform: none; }
.lightbox__img { width: 100%; max-height: 72vh; object-fit: contain; border-radius: 12px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.lightbox__cap { color: var(--white); margin-top: 16px; display: flex; flex-direction: column; gap: 4px; }
.lightbox__cap strong { font-family: var(--font-head); font-size: 20px; letter-spacing: .04em; }
.lightbox__cap span { font-size: 13px; opacity: .7; }
.lightbox__close { position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.1); transition: background .3s, transform .4s var(--ease); }
.lightbox__close::before, .lightbox__close::after { content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 2px; background: var(--white); transform: translate(-50%, -50%) rotate(45deg); }
.lightbox__close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.lightbox__close:hover { background: var(--amber); transform: rotate(90deg); }

/* ---------- Recruit page ---------- */
.recruit-intro { background: var(--white); }
.recruit-intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.recruit-intro__catch { font-family: var(--font-head); font-weight: 700; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.6; letter-spacing: .04em; color: var(--navy); margin-bottom: 22px; }
.recruit-intro__text p:not(.recruit-intro__catch) { color: var(--ink-2); font-size: 15px; margin-bottom: 16px; }
.recruit-points { display: grid; gap: 16px; }
.recruit-points li { position: relative; padding: 24px 24px 24px 76px; background: var(--bg-2); border-radius: var(--radius); transition: transform .5s var(--ease), background .4s, box-shadow .5s; }
.recruit-points li:hover { transform: translateX(6px); background: var(--white); box-shadow: 0 24px 40px -28px rgba(13,27,46,.35); }
.recruit-points__num { position: absolute; left: 24px; top: 24px; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--amber-2); font-family: var(--font-en); font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.recruit-points h3 { font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--navy); margin-bottom: 4px; letter-spacing: .04em; }
.recruit-points p { font-size: 14px; color: var(--ink-2); line-height: 1.9; }
.requirements { background: var(--bg-2); }
.req-table { max-width: 900px; margin-inline: auto; background: var(--white); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 60px -45px rgba(13,27,46,.35); }
.req-table > div { display: grid; grid-template-columns: 180px 1fr; border-bottom: 1px solid var(--line); }
.req-table > div:last-child { border-bottom: 0; }
.req-table dt { background: var(--bg-3); padding: 20px 24px; font-weight: 700; color: var(--navy); font-size: 15px; }
.req-table dd { padding: 20px 28px; font-size: 15px; color: var(--ink-2); }
.req-note { max-width: 900px; margin: 18px auto 0; font-size: 13px; color: var(--muted); }
.todo { display: inline-block; background: #fff3cd; color: #8a5a00; font-size: 11px; font-weight: 700; letter-spacing: .08em; padding: 2px 8px; border-radius: 4px; border: 1px dashed #e0b84c; vertical-align: middle; margin-left: 6px; }

/* ---------- Contact page ---------- */
.contact-page { background: var(--white); }
.contact__boxes--page { margin-bottom: clamp(60px, 8vw, 100px); }
.contact-page .contact__box--fax { background: var(--navy); color: var(--white); border-color: var(--navy); }
.form-wrap { max-width: 820px; margin-inline: auto; }
.form { background: var(--bg-2); border-radius: 22px; padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); }
.form__row { margin-bottom: 24px; }
.form__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form__label { display: block; font-weight: 700; font-size: 14px; color: var(--navy); margin-bottom: 8px; }
.req { display: inline-block; font-size: 10px; letter-spacing: .1em; background: var(--amber); color: var(--navy); padding: 2px 7px; border-radius: 4px; margin-left: 6px; vertical-align: middle; }
.form__input { width: 100%; padding: 14px 16px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--white); font: inherit; font-size: 15px; color: var(--ink); transition: border-color .3s, box-shadow .3s; }
.form__input::placeholder { color: #a7afba; }
.form__input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(13,27,46,.08); }
.form__input.is-invalid { border-color: #d64545; background: #fff7f7; }
.form__textarea { resize: vertical; min-height: 150px; line-height: 1.8; }
.radio-group { display: flex; flex-wrap: wrap; gap: 10px; }
.radio { position: relative; }
.radio input { position: absolute; opacity: 0; inset: 0; }
.radio span { display: inline-block; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font-size: 14px; font-weight: 700; color: var(--ink-2); cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.radio input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.radio input:focus-visible + span { box-shadow: 0 0 0 4px rgba(13,27,46,.15); }
.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.checkbox input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--navy); flex-shrink: 0; }
.form__error { color: #d64545; font-weight: 700; font-size: 14px; margin-bottom: 16px; text-align: center; }
.form__submit { text-align: center; }
.form__btn { min-width: 260px; position: relative; }
.form__btn-loading { display: none; width: 18px; height: 18px; border: 2px solid rgba(13,27,46,.3); border-top-color: var(--navy); border-radius: 50%; animation: spin .8s linear infinite; }
.form__btn.is-loading .form__btn-text { opacity: .6; }
.form__btn.is-loading .form__btn-loading { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-done { text-align: center; padding: clamp(40px, 6vw, 72px) 24px; background: var(--bg-2); border-radius: 22px; border: 1px solid var(--line); animation: fadeUp .8s var(--ease) both; }
.form-done__icon { display: inline-block; width: 72px; height: 72px; margin-bottom: 20px; }
.form-done__icon svg { width: 100%; height: 100%; stroke: var(--amber-dark); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.form-done__icon circle { stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw 1s var(--ease) .2s forwards; }
.form-done__icon path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s var(--ease) .9s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form-done h3 { font-family: var(--font-head); font-weight: 900; font-size: 24px; color: var(--navy); margin-bottom: 12px; letter-spacing: .04em; }
.form-done p { color: var(--ink-2); font-size: 15px; margin-bottom: 28px; }

/* ---------- Sub page responsive ---------- */
@media (max-width: 900px) {
  .cta-band__inner { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr 1fr; }
  .flow__list--3 { grid-template-columns: 1fr; }
  .flow__list--3 .flow__item::after { display: none; }
  .recruit-intro__grid { grid-template-columns: 1fr; }
  .req-table > div { grid-template-columns: 1fr; }
  .req-table dt { padding: 12px 20px; }
  .req-table dd { padding: 14px 20px 18px; }
}
@media (max-width: 600px) {
  .works-grid { grid-template-columns: 1fr; }
  .form__row--2 { grid-template-columns: 1fr; }
  .form__btn { width: 100%; min-width: 0; }
  .recruit-cta .btn { width: 100%; }
  .cta-band .btn { width: 100%; }
  .page-hero { padding-top: calc(var(--header-h) + 44px); }
}
