/* ============================================================
   zipunk corporate site — styles
   Implemented faithfully from corporate-site.pen
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --accent-blue: #8E9BC4;
  --bg-base: #1D212A;
  --bg-deep: #242A37;
  --bg-elevated: #2A2F3B;
  --bg-seam: #444A59;
  --bg-slate-deep: #2F3543;
  --cta-dark: #0E0E10;
  --cta-light: #F2F3F5;

  --hero-gradient-start: #C4C9D2;
  --hero-gradient-mid: #7B8090;
  --hero-gradient-end: #444A59;

  --stroke-glass: #B7BFD8;
  --stroke-soft: #3F4450;
  --surface-glass: #9AA4C6;
  --surface-slate: #6C7382;

  --text-primary: #FFFFFF;
  --text-secondary: #A2A8B4;
  --text-tertiary: #6E7480;
  --text-on-light: #16161A;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --gutter: 64px;
  --maxw: 1440px;
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: "Zen Kaku Gothic New", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.font-en { font-family: "Chakra Petch", sans-serif; }

/* ---------- Page shell ---------- */
.page {
  width: 100%;
  position: relative;
  overflow: hidden;
}

/* Inner pages share a top-down gradient behind header + body */
.page-shell {
  background: linear-gradient(
    180deg,
    var(--bg-seam) 0%,
    var(--bg-slate-deep) 17%,
    var(--bg-deep) 52%,
    var(--bg-deep) 100%
  );
}

/* ============================================================
   Header / Navigation
   ============================================================ */
.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 34px var(--gutter);
}

.site-header__logo img { height: 28px; width: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.site-nav a {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--text-primary);
  transition: opacity .2s ease;
}
.site-nav a:hover { opacity: .6; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--stroke-soft);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
}
.nav-toggle svg { width: 24px; height: 24px; }

/* ============================================================
   Buttons
   ============================================================ */
.btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 320px;
  max-width: 100%;
  height: 60px;
  border: 3px solid var(--cta-light);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--cta-light);
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: background .2s ease, color .2s ease;
}
.btn-outline-light:hover { background: var(--cta-light); color: var(--text-on-light); }

.btn-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  background: var(--cta-light);
  color: var(--text-on-light);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  white-space: nowrap;
  transition: opacity .2s ease;
}
.btn-apply:hover { opacity: .85; }

/* ============================================================
   HERO  (Home)
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(
    115% 120% at 34% 28%,
    var(--hero-gradient-start) 0%,
    var(--hero-gradient-mid) 52%,
    var(--hero-gradient-end) 100%
  );
}

/* Top gradient: solid bg-seam behind the navbar fading into the dot-matrix below
   — keeps nav text readable and mirrors the bottom fade band */
.hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 30%;
  background: linear-gradient(
    to bottom,
    var(--bg-seam) 0%,
    rgba(68, 74, 89, 0.6) 55%,
    rgba(68, 74, 89, 0) 100%
  );
  z-index: 5;
  pointer-events: none;
}
/* Bottom gradient: fade the dot-matrix into bg-seam so the transition into
   the News section (whose top is also bg-seam) is seamless */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 50%;
  background: linear-gradient(
    to bottom,
    rgba(68, 74, 89, 0) 0%,
    rgba(68, 74, 89, 0.6) 50%,
    var(--bg-seam) 100%
  );
  z-index: 5;
  pointer-events: none;
}

/* 3D background canvas — fills the hero behind the overlay */
.hero #crt-frame {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero #crt-frame canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none;
}
/* keep hero text + header above the canvas */
.hero .site-header { z-index: 20; }
.hero__body { position: relative; z-index: 10; }

.hero__body {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: flex-end;
  gap: 32px;
  padding: 0 var(--gutter);
}

.hero__content {
  width: 560px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 30px;
  padding-bottom: 80px;
}

.hero__title {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 54px;
  font-weight: 700;
  line-height: 1.28;
  color: var(--text-primary);
}

.hero__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-primary);
}

.hero__visual { flex: 1; align-self: stretch; }

/* ============================================================
   Section primitives
   ============================================================ */
.section { padding: 80px var(--gutter); }

.eyebrow-jp {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.eyebrow-jp__en {
  font-family: "Chakra Petch", sans-serif;
  font-size: 64px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1;
  color: var(--text-primary);
}
.eyebrow-jp__jp {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 5px;
  color: var(--accent-blue);
}

/* dash + caps eyebrow (OVERVIEW / OPEN ROLES …) */
.eyebrow-dash {
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow-dash::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent-blue);
}
.eyebrow-dash span {
  font-family: "Chakra Petch", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--text-secondary);
}

/* small accent-blue label eyebrow (MISSION / 存在意義 …) */
.eyebrow-label {
  font-family: "Chakra Petch", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--accent-blue);
}

/* ============================================================
   NEWS  (Home)
   ============================================================ */
.news {
  background: linear-gradient(
    180deg,
    var(--bg-seam) 0%,
    var(--bg-slate-deep) 17%,
    var(--bg-deep) 52%,
    var(--bg-deep) 100%
  );
  display: flex;
  gap: 80px;
}
.news__heading { width: 300px; flex-shrink: 0; }
.news__list { flex: 1; min-width: 0; }

.news-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding: 30px 4px;
  border-top: 1px solid var(--stroke-soft);
}
.news-item__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.news-item__date {
  font-family: "Chakra Petch", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--accent-blue);
}
.news-item__tag {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--text-secondary);
}
.news-item__title {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--text-primary);
}

/* ============================================================
   PRODUCT  (Home)
   ============================================================ */
.product {
  background: var(--bg-deep);
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 64px;
  padding-bottom: 64px;
}

.product__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.product-card__visual {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 628 / 360;
  border-radius: var(--radius-lg);
  border: 1px solid var(--stroke-soft);
  overflow: hidden;
  text-decoration: none;
  transition: border-color .25s ease, box-shadow .25s ease;
  /* Static gradient frame (reproduces the Zb26I/gy31e radial fill from .pen).
     Always visible — only the mocks inside animate. */
  background: radial-gradient(
    ellipse 65% 75% at 50% 35%,
    var(--cta-light) 0%,
    var(--hero-gradient-start) 55%,
    var(--hero-gradient-mid) 100%
  );
}
/* hover lift for clickable variants (Quden — currently the only linked one) */
a.product-card__visual:hover {
  border-color: var(--stroke-glass);
  box-shadow: 0 14px 36px -8px rgba(0, 0, 0, 0.45);
}

/* Inner UI mocks — absolutely positioned inside the frame, animated by GSAP */
.product-card__mock {
  position: absolute;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  background: rgba(154, 164, 198, 0.3);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

/* Hicco: single tablet-style screenshot inside a glass-bordered panel */
.product-card__mock--hicco {
  left: 10.5%;
  top: 4.2%;
  width: 78.8%;
  height: 91.7%;
  border: 2.5px solid rgba(183, 191, 216, 0.9);
  border-radius: 12px;
}

/* Quden: two screenshots peeking from the sides (slightly overlapping look) */
.product-card__mock--quden1,
.product-card__mock--quden2 {
  top: 19.2%;
  height: 80%;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
}
.product-card__mock--quden1 { left: -8.3%; width: 54.6%; }
.product-card__mock--quden2 { left: 52.7%; width: 59.7%; }

.product-card__logo-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.product-card__logo {
  font-family: "Chakra Petch", sans-serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-primary);
}
.product-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--stroke-soft);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.product-card__link:hover { background: rgba(255,255,255,0.06); color: var(--text-primary); }
.product-card__link svg { width: 16px; height: 16px; }

.product-card__tagline {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-primary);
  /* reserve 2 lines so the desc starts at the same Y across cards */
  min-height: calc(1.5em * 2);
}
.product-card__desc {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-secondary);
  /* halve the visual gap between tagline and desc (offsets half of the flex gap) */
  margin-top: -7px;
}

/* ============================================================
   RECRUIT CTA  (Home)
   ============================================================ */
.recruit-cta {
  background: var(--bg-deep);
  padding-top: 64px;
  padding-bottom: 64px;
}

.recruit-card {
  position: relative;
  z-index: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(183, 191, 216, 0.4);
  background-color: #0F131B;
  padding: 64px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}
/* Static CSS dot-matrix — same accent-blue dots as the hero 3D scene
   but pure CSS so there's no extra GPU/JS cost. Dark base keeps text readable. */
.recruit-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(
    circle,
    rgba(142, 155, 196, 0.28) 1px,
    transparent 1.4px
  );
  background-size: 7px 7px;
  /* fade the dots near the edges so the pattern doesn't feel boxy */
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 1) 35%,
    rgba(0, 0, 0, 0.55) 75%,
    rgba(0, 0, 0, 0.25) 100%
  );
  mask-image: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 1) 35%,
    rgba(0, 0, 0, 0.55) 75%,
    rgba(0, 0, 0, 0.25) 100%
  );
}
.recruit-card__heading { width: 100%; }
.recruit-card__en {
  display: block;
  font-family: "Chakra Petch", sans-serif;
  font-size: 64px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1;
  color: var(--cta-light);
}
.recruit-card__jp {
  display: block;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--cta-light);
}
.recruit-card__text {
  font-size: 20px;
  line-height: 1.8;
  color: var(--cta-light);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-base);
  border-top: 1px solid var(--stroke-soft);
  padding: 56px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.footer-top__logo img { height: 28px; width: auto; }
.footer-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}
.footer-nav a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  transition: opacity .2s ease;
}
.footer-nav a:hover { opacity: .6; }

.footer-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.footer-badge {
  width: 80px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  background: rgba(255, 254, 254, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius-md);
  box-shadow: 0 14px 36px -6px rgba(0, 0, 0, 0.3);
}
.footer-badge img { height: 40px; width: auto; object-fit: contain; }
.footer-meta {
  display: flex;
  align-items: center;
  gap: 32px;
}
.footer-meta a,
.footer-meta span { color: var(--text-tertiary); }
.footer-meta__policy { font-size: 13px; }
.footer-meta__policy:hover { color: var(--text-secondary); }
.footer-meta__copy {
  font-family: "Chakra Petch", sans-serif;
  font-size: 12px;
  letter-spacing: 0.5px;
}

/* ============================================================
   PAGE BODY  (inner pages)
   ============================================================ */
.page-body {
  padding: 80px var(--gutter) 120px;
  display: flex;
  flex-direction: column;
  gap: 96px;
}
.page-body--contact { padding-left: 120px; }

.page-title {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.page-title__en {
  font-family: "Chakra Petch", sans-serif;
  font-size: 64px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-primary);
}
.page-title__jp {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 5px;
  color: var(--accent-blue);
}

/* ============================================================
   CAREERS PAGE
   ============================================================ */
.section-block {
  display: flex;
  flex-direction: column;
}

.mission-values { gap: 80px; }

.mission-block { display: flex; flex-direction: column; gap: 32px; }
.mission-block__title {
  margin: 0;
  font-size: 54px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--cta-light);
  white-space: pre-line;
}
.mission-block__text {
  margin: 0;
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.values-block { display: flex; flex-direction: column; gap: 40px; }
.values-block__header { display: flex; flex-direction: column; gap: 24px; }
.values-block__heading {
  margin: 0;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--cta-light);
  white-space: pre-line;
}

.value-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--stroke-soft);
  background: var(--bg-elevated);
}
.value-card__emoji {
  color: var(--text-primary);
  line-height: 0;
}
.value-card__emoji svg { width: 48px; height: 48px; }
.value-card__title {
  font-family: "Chakra Petch", sans-serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-primary);
}
.value-card__subtitle {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}
.value-card__desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-secondary);
}

/* Open positions */
.positions { gap: 48px; }
.positions__header { display: flex; flex-direction: column; gap: 14px; }
.positions__title {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-primary);
}
.positions__list { border-bottom: 1px solid var(--stroke-soft); }

.position-row {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 22px 0;
  border-top: 1px solid var(--stroke-soft);
}
.position-row__title {
  flex: 1;
  min-width: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.5;
  color: var(--text-primary);
}
.position-row__type {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--text-secondary);
  white-space: nowrap;
}

/* Work style */
.workstyle { gap: 40px; }
.workstyle__header { display: flex; flex-direction: column; gap: 12px; }
.workstyle__heading {
  margin: 0;
  font-size: 36px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--cta-light);
}
.workstyle__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.workstyle-card {
  display: flex;
  gap: 32px;
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--stroke-soft);
  background: var(--bg-elevated);
}
.workstyle-card__icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}
.workstyle-card__icon svg { width: 36px; height: 36px; }
.workstyle-card__body { display: flex; flex-direction: column; gap: 14px; }
.workstyle-card__title {
  font-family: "Chakra Petch", sans-serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-primary);
}
.workstyle-card__subtitle {
  margin-top: 6px;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-secondary);
}
.workstyle-card__desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
}

/* Casual interview */
.casual { gap: 32px; }
.casual__header { display: flex; flex-direction: column; gap: 14px; }
.casual__title {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-primary);
}
.casual-card {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 44px 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--stroke-soft);
  background: var(--bg-elevated);
}
.casual-card__content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.casual-card__heading {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.6;
  color: var(--text-primary);
}
.casual-card__lead,
.casual-card__notes {
  margin: 0;
  font-size: 15px;
  letter-spacing: 1px;
  line-height: 1.9;
  white-space: pre-line;
}
.casual-card__lead { color: var(--cta-light); }
.casual-card__notes { color: var(--text-secondary); }

/* ============================================================
   COMPANY PAGE
   ============================================================ */
.company-section { gap: 44px; }

.company-section__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.company-section__title {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-primary);
}

.company-table { border-bottom: 1px solid var(--stroke-soft); }
.company-row {
  display: flex;
  gap: 60px;
  padding: 22px 0;
  border-top: 1px solid var(--stroke-soft);
}
.company-row__label {
  width: 180px;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.8;
  color: var(--text-secondary);
}
.company-row__value {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--text-primary);
}
.company-row__value p { margin: 0; }
.company-row__value p + p { margin-top: 6px; }
.company-row__value a {
  color: var(--accent-blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(142, 155, 196, 0.4);
}
.company-row__value a:hover { border-bottom-color: var(--accent-blue); }

.company-badges {
  display: flex;
  gap: 28px;
  padding-top: 28px;
}
.company-badge {
  width: 160px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 36px -6px rgba(0, 0, 0, 0.3);
}
.company-badge img { max-height: 100%; max-width: 100%; object-fit: contain; }

/* Founder */
.founder { display: flex; gap: 48px; }
.founder__photo {
  width: 160px;
  height: 200px;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  object-fit: cover;
}
.founder__body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
  gap: 20px;
}
.founder__role {
  align-self: flex-start;
  padding: 8px 16px;
  border: 1px solid var(--stroke-soft);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--text-secondary);
}
.founder__name-row {
  display: flex;
  align-items: center;
  gap: 24px;
}
.founder__name {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-primary);
}
.founder__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--stroke-soft);
  border-radius: var(--radius-sm);
  font-family: "Chakra Petch", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  transition: background .2s ease;
}
.founder__social:hover { background: rgba(255, 255, 255, 0.06); }
.founder__bio {
  margin: 0;
  font-size: 15px;
  letter-spacing: 1px;
  line-height: 1.9;
  color: var(--text-secondary);
}

/* ============================================================
   PROSE / Privacy Policy
   ============================================================ */
.page-body--prose { gap: 56px; }

.prose {
  width: 100%;
  max-width: 880px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.9;
}

.prose__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 36px;
  font-size: 13px;
  color: var(--text-tertiary);
  letter-spacing: 1px;
}

.prose__lead {
  margin: 0 0 24px;
  color: var(--text-primary);
}
.prose__lead:last-of-type { margin-bottom: 0; }

.prose__divider {
  border: 0;
  border-top: 1px solid var(--stroke-soft);
  margin: 56px 0;
}

.prose__policies {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.prose__policy {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}
.prose__policy-num {
  flex-shrink: 0;
  width: 72px;
  font-family: "Chakra Petch", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent-blue);
  padding-top: 2px;
}
.prose__policy p {
  margin: 0;
  flex: 1;
  min-width: 0;
  color: var(--text-primary);
  font-weight: 500;
}

.prose__section {
  margin: 0;
}
.prose__section + .prose__section { margin-top: 48px; }

.prose__section h2 {
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-primary);
  line-height: 1.5;
}

.prose__section p { margin: 0 0 16px; }
.prose__section p:last-child { margin-bottom: 0; }

.prose__section ol,
.prose__section ul {
  margin: 16px 0;
  padding-left: 1.4em;
}
.prose__section li { margin: 8px 0; }
.prose__section li::marker { color: var(--accent-blue); }

.prose__table {
  width: 100%;
  margin: 16px 0 0;
  border-collapse: collapse;
  border-top: 1px solid var(--stroke-soft);
  border-bottom: 1px solid var(--stroke-soft);
}
.prose__table th,
.prose__table td {
  padding: 16px 20px;
  text-align: left;
  font-weight: normal;
  border-top: 1px solid var(--stroke-soft);
  vertical-align: top;
}
.prose__table tr:first-child th,
.prose__table tr:first-child td { border-top: 0; }
.prose__table th {
  width: 200px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.02);
}
.prose__table td {
  font-size: 15px;
  color: var(--text-primary);
}

.prose__link {
  color: var(--accent-blue);
  font-weight: 600;
}
.prose__link:hover { text-decoration: underline; }

.prose__end {
  margin: 40px 0 0;
  text-align: right;
  color: var(--text-tertiary);
  font-size: 13px;
}

/* numbered principles (security policy "基本方針 1〜6") */
.prose__principles {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.prose__principle {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}
.prose__principle-num {
  flex-shrink: 0;
  width: 60px;
  font-family: "Chakra Petch", sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent-blue);
  line-height: 1.3;
}
.prose__principle-body {
  flex: 1;
  min-width: 0;
}
.prose__principle-title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-primary);
}
.prose__principle-body p {
  margin: 0;
  color: var(--text-secondary);
}

/* definition-style list ("**term**：desc") */
.prose__defs li strong {
  color: var(--text-primary);
  font-weight: 700;
}

/* signature block at the end of a doc */
.prose__sign {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--text-primary);
  font-size: 15px;
}

@media (max-width: 600px) {
  .prose__policy,
  .prose__principle {
    flex-direction: column;
    gap: 4px;
  }
  .prose__policy-num,
  .prose__principle-num { width: auto; padding-top: 0; font-size: 18px; }
  .prose__principle-title { font-size: 16px; }
  .prose__section h2 { font-size: 19px; }
  .prose__table { border: 0; }
  .prose__table th,
  .prose__table td {
    display: block;
    width: auto;
    padding: 10px 0;
    border-top: 0;
    background: transparent;
  }
  .prose__table tr { display: block; padding: 12px 0; border-top: 1px solid var(--stroke-soft); }
  .prose__table tr:first-child { border-top: 0; }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-body { gap: 64px; }

.contact-form {
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}
.contact-note {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.form-fields {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* required / optional badges */
.badge-required,
.badge-optional {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.badge-required {
  padding: 3px 9px;
  border-radius: 4px;
  background: #DC2626;
  color: #FFFFFF;
  font-size: 10px;
  letter-spacing: 1.5px;
}
.badge-optional {
  padding: 3px 9px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  font-size: 10px;
  letter-spacing: 1.5px;
}
.badge-required--pill {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: #E5484D;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #FFFFFF;
}

/* radio section */
.radio-section { display: flex; flex-direction: column; gap: 24px; }
.radio-section__heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
}
.radio-group { display: flex; flex-direction: column; gap: 14px; }
.radio-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 0;
  cursor: pointer;
}
.radio-option input { position: absolute; opacity: 0; pointer-events: none; }
.radio-mark {
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--stroke-glass);
  transition: border-color .15s ease;
}
.radio-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-blue);
  transform: scale(0);
  transition: transform .15s ease;
}
.radio-option__label {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-secondary);
  transition: color .15s ease;
}
.radio-option input:checked ~ .radio-mark { border-color: var(--accent-blue); }
.radio-option input:checked ~ .radio-mark::after { transform: scale(1); }
.radio-option input:checked ~ .radio-option__label { color: var(--text-primary); }

/* generic field */
.field { display: flex; flex-direction: column; gap: 14px; }
.field__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-primary);
}
.field__input,
.field__textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 15px;
  transition: border-color .15s ease;
}
.field__input {
  height: 56px;
  padding: 16px 18px;
}
.field__textarea {
  min-height: 200px;
  padding: 18px;
  line-height: 1.7;
  resize: vertical;
}
.field__input::placeholder,
.field__textarea::placeholder { color: var(--text-tertiary); }
.field__input:focus,
.field__textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
}

/* file field */
.file-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.file-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.file-button svg { width: 14px; height: 14px; }
.file-name {
  font-size: 13px;
  color: var(--text-tertiary);
}

/* privacy consent */
.consent { display: flex; flex-direction: column; gap: 18px; }
.consent__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-blue);
}
.consent__link svg { width: 14px; height: 14px; }
.consent__link:hover { text-decoration: underline; }
.consent__text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-secondary);
}
.consent__checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 6px;
  cursor: pointer;
}
.consent__checkbox input { position: absolute; opacity: 0; pointer-events: none; }
.checkbox-mark {
  position: relative;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  border: 1.5px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.04);
}
.checkbox-mark::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 11px;
  border: solid var(--accent-blue);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform .15s ease;
}
.consent__checkbox input:checked ~ .checkbox-mark { border-color: var(--accent-blue); }
.consent__checkbox input:checked ~ .checkbox-mark::after { transform: rotate(45deg) scale(1); }
.consent__checkbox-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

/* recaptcha wrapper keeps the design's left alignment */
.recaptcha-block { min-height: 78px; }

/* submit */
.form-submit { padding-top: 16px; }
.btn-submit {
  width: 100%;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--cta-dark);
  border: 1px solid var(--stroke-soft);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  transition: opacity .2s ease;
}
.btn-submit:hover { opacity: .85; }
.btn-submit svg { width: 18px; height: 18px; }

.form-error {
  display: none;
  margin-top: 12px;
  font-size: 13px;
  color: #E5484D;
}
.form-error.is-visible { display: block; }
.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(142, 155, 196, 0.15);
  border: 1px solid var(--accent-blue);
  font-size: 14px;
  color: var(--text-primary);
}
.form-success.is-visible { display: block; }

/* ============================================================
   Responsive — Tablet (<= 960px)
   ============================================================ */
@media (max-width: 960px) {
  :root { --gutter: 40px; }

  .site-header { padding: 28px var(--gutter); }

  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: var(--gutter);
    right: var(--gutter);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    background: var(--bg-elevated);
    border: 1px solid var(--stroke-soft);
    border-radius: var(--radius-md);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 14px; border-radius: var(--radius-sm); }
  .site-nav a:hover { background: rgba(255, 255, 255, 0.06); opacity: 1; }

  .hero__body { min-height: 0; padding: 96px var(--gutter) 80px; }
  .hero__content { width: 100%; padding-bottom: 0; }
  .hero__title { font-size: 40px; }
  .hero__visual { display: none; }

  .section { padding: 64px var(--gutter); }

  .news { flex-direction: column; gap: 36px; }
  .news__heading { width: auto; }

  .product__grid { grid-template-columns: 1fr; gap: 48px; }

  .recruit-card { padding: 48px 40px; }

  .value-cards { grid-template-columns: 1fr; }

  .page-body { padding: 56px var(--gutter) 80px; gap: 80px; }
  .page-body--contact { padding-left: var(--gutter); }

  .eyebrow-jp__en,
  .page-title__en,
  .recruit-card__en { font-size: 52px; }

  .mission-block__title { font-size: 40px; }
  .values-block__heading { font-size: 26px; }
  .workstyle-card { gap: 24px; }

  .founder { gap: 32px; }
}

/* ============================================================
   Responsive — Mobile (<= 600px)
   ============================================================ */
@media (max-width: 600px) {
  :root { --gutter: 24px; }

  .site-header { padding: 20px var(--gutter); }
  .site-header__logo img,
  .footer-top__logo img { height: 24px; }

  .hero__body { padding: 72px var(--gutter) 64px; }
  .hero__title { font-size: 30px; }
  .hero__lead { font-size: 15px; }

  .section { padding: 48px var(--gutter); }

  .eyebrow-jp__en,
  .page-title__en { font-size: 44px; }
  .recruit-card__en { font-size: 40px; }

  .news-item { flex-direction: column; gap: 0; }
  .news-item__title { font-size: 16px; }

  .product-card__tagline { font-size: 20px; }

  .recruit-card { padding: 36px 24px; }
  .recruit-card__text { font-size: 17px; }
  .btn-outline-light { width: 100%; }

  .page-body { padding: 48px var(--gutter) 64px; gap: 64px; }
  .page-title__jp { letter-spacing: 3px; }

  .mission-values { gap: 56px; }
  .mission-block__title { font-size: 30px; }
  .values-block__heading { font-size: 22px; }
  .value-card { padding: 28px; }

  .position-row {
    flex-wrap: wrap;
    gap: 14px;
  }
  .position-row__title { flex-basis: 100%; font-size: 18px; }
  .position-row .btn-apply { margin-left: auto; }

  .workstyle__heading { font-size: 28px; }
  .workstyle-card {
    flex-direction: column;
    gap: 20px;
    padding: 28px;
  }

  .casual-card { padding: 32px 24px; }

  .company-row {
    flex-direction: column;
    gap: 8px;
  }
  .company-row__label { width: auto; }
  .company-badges { flex-wrap: wrap; }

  .founder { flex-direction: column; }
  .founder__body { min-height: 0; }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ============================================================
   GSAP reveal — initial hidden states
   (Only applied when JS is active so non-JS users still see content)
   ============================================================ */
html.js .hero__title span,
html.js .hero__lead,
html.js .news__heading,
html.js .news-item,
html.js .product__head,
html.js .recruit-card > *,
html.js .page-title,
html.js .mission-block > *,
html.js .values-block__header,
html.js .value-card,
html.js .positions__header,
html.js .position-row,
html.js .workstyle__header,
html.js .workstyle-card,
html.js .casual__header,
html.js .casual-card,
html.js .company-section__head,
html.js .company-row,
html.js .company-badge,
html.js .founder,
html.js .contact-note,
html.js .form-fields > * {
  opacity: 0;
  will-change: transform, opacity;
}

/* product card mocks: start invisible; JS positions them below the frame and slides up */
html.js .product-card__mock {
  opacity: 0;
  will-change: transform, opacity;
}

/* respect reduced-motion: skip hide so GSAP no-op shows everything */
@media (prefers-reduced-motion: reduce) {
  html.js .hero__title span,
  html.js .hero__lead,
  html.js .news__heading,
  html.js .news-item,
  html.js .product__head,
  html.js .recruit-card > *,
  html.js .page-title,
  html.js .mission-block > *,
  html.js .values-block__header,
  html.js .value-card,
  html.js .positions__header,
  html.js .position-row,
  html.js .workstyle__header,
  html.js .workstyle-card,
  html.js .casual__header,
  html.js .casual-card,
  html.js .company-section__head,
  html.js .company-row,
  html.js .company-badge,
  html.js .founder,
  html.js .contact-note,
  html.js .form-fields > *,
  html.js .product-card__mock {
    opacity: 1;
    transform: none;
  }
}
