/* =========================================
   EMPOWER HP — Style System v2
   Aesthetic: Warm Mineral / Industrial Precision
   ========================================= */

/* ---------- DESIGN TOKENS ---------- */
:root {
  --bg:          #F1EDE3;
  --bg-alt:      #E8E2D4;
  --bg-dark:     #1C1A14;
  --surface:     #FAFAF6;
  --surface-2:   #F5F1E8;
  --ink:         #1C1A14;
  --ink-sub:     #5A5346;
  --ink-muted:   #9A8E7E;
  --accent:      #9A7020;
  --accent-deep: #7A5818;
  --accent-pale: rgba(154, 112, 32, 0.10);
  --accent-line: rgba(154, 112, 32, 0.25);
  --border:      #CFC8B5;
  --border-light:#E4DDD0;
  --white:       #FDFCF8;
  --font-dis:    'Barlow Semi Condensed', 'Noto Sans JP', sans-serif;
  --font-lab:    'Barlow Condensed', sans-serif;
  --font-jp:     'Noto Sans JP', 'Barlow Semi Condensed', sans-serif;
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-jp);
  font-weight: 300;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  letter-spacing: 0.04em;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---------- HEADER ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  transition: background 0.4s ease, box-shadow 0.4s ease, border-bottom 0.4s ease;
}

.header.scrolled {
  background: rgba(241, 237, 227, 0.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

.header__logo a {
  font-family: var(--font-lab);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.22em;
  color: var(--ink);
  text-transform: uppercase;
}

.header__center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.header__tagline {
  font-family: var(--font-lab);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  color: var(--ink-muted);
  text-transform: uppercase;
}

.header__menu-btn {
  width: 44px;
  height: 44px;
  background: var(--ink);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.2s ease;
  position: relative;
  z-index: 1001;
}

.header__menu-btn:hover {
  background: var(--accent);
}

.header__menu-icon {
  position: relative;
  width: 18px;
  height: 18px;
}

.header__menu-icon::before,
.header__menu-icon::after {
  content: '';
  position: absolute;
  background: var(--white);
  transition: transform 0.35s var(--ease-out);
}

.header__menu-icon::before {
  width: 18px;
  height: 1.5px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.header__menu-icon::after {
  width: 1.5px;
  height: 18px;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.header__menu-btn.active .header__menu-icon::before {
  transform: translateY(-50%) rotate(45deg);
}

.header__menu-btn.active .header__menu-icon::after {
  transform: translateX(-50%) rotate(45deg);
}

/* ---------- NAV OVERLAY ---------- */
.nav-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 400px;
  height: 100vh;
  background: var(--bg-dark);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: right 0.55s var(--ease-in-out);
  border-left: 1px solid rgba(154, 112, 32, 0.2);
}

.nav-overlay.active {
  right: 0;
}

.nav-overlay__list {
  list-style: none;
}

.nav-overlay__list li {
  margin: 0 0 6px;
  overflow: hidden;
}

.nav-overlay__list a {
  font-family: var(--font-lab);
  font-weight: 400;
  font-size: 1.9rem;
  color: rgba(253, 252, 248, 0.7);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.25s ease, letter-spacing 0.25s ease;
  display: inline-block;
  padding: 4px 0;
  position: relative;
}

.nav-overlay__list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease-out);
}

.nav-overlay__list a:hover,
.nav-overlay__list a[aria-current="page"] {
  color: var(--white);
  letter-spacing: 0.22em;
}

.nav-overlay__list a:hover::after,
.nav-overlay__list a[aria-current="page"]::after {
  width: 100%;
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 0 40px;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(154, 112, 32, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(154, 112, 32, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, transparent 50%, rgba(241, 237, 227, 0.65) 100%);
  pointer-events: none;
}

.hero__content {
  max-width: 820px;
  position: relative;
  z-index: 1;
}

.hero__title {
  font-family: var(--font-dis);
  font-weight: 300;
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  line-height: 1.35;
  letter-spacing: 0.1em;
  margin-bottom: 52px;
  color: var(--ink);
}

.hero__title-line {
  display: block;
  opacity: 0;
  transform: translateY(32px);
  animation: heroReveal 1.1s var(--ease-out) forwards;
}

.hero__title-line[data-delay="200"] {
  animation-delay: 0.18s;
}

@keyframes heroReveal {
  to { opacity: 1; transform: translateY(0); }
}

.hero__subtitle {
  font-family: var(--font-jp);
  font-size: clamp(0.88rem, 1.5vw, 1.05rem);
  font-weight: 300;
  color: var(--ink-sub);
  line-height: 2.1;
  letter-spacing: 0.06em;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 1;
}

.hero__scroll-indicator span {
  font-family: var(--font-lab);
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  color: var(--ink-muted);
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.8; transform: scaleY(1); }
  50% { opacity: 0.25; transform: scaleY(0.5); }
}

/* ---------- INTRO ---------- */
.intro {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 40px;
  background: var(--surface);
  position: relative;
}

.intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.intro__text {
  font-family: var(--font-dis);
  font-size: clamp(1.15rem, 2.4vw, 1.75rem);
  font-weight: 300;
  line-height: 2.3;
  text-align: center;
  letter-spacing: 0.08em;
  color: var(--ink);
  max-width: 680px;
}

/* ---------- SHARED SECTION STYLES ---------- */
.section-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 140px 48px;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.section-label__num {
  font-family: var(--font-lab);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--accent);
  letter-spacing: 0.14em;
}

.section-label__num::before {
  content: '—';
  margin-right: 6px;
  color: var(--border);
}

.section-label__text {
  font-family: var(--font-lab);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  color: var(--ink-muted);
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-dis);
  font-weight: 300;
  font-size: clamp(1.7rem, 3.8vw, 2.8rem);
  letter-spacing: 0.08em;
  margin-bottom: 28px;
  line-height: 1.4;
  color: var(--ink);
}

.section-lead {
  font-size: 0.97rem;
  color: var(--ink-sub);
  line-height: 2;
  margin-bottom: 60px;
  letter-spacing: 0.04em;
}

/* ---------- SERVICES ---------- */
.services {
  background: var(--bg);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2px;
  margin-bottom: 72px;
  border: 1px solid var(--border);
}

.service-card {
  background: var(--surface);
  padding: 40px 32px;
  border: none;
  transition: background 0.35s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.service-card:hover {
  background: var(--white);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__num {
  font-family: var(--font-lab);
  font-weight: 600;
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}

.service-card__title {
  font-family: var(--font-dis);
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
  color: var(--ink);
}

.service-card__desc {
  font-size: 0.85rem;
  color: var(--ink-sub);
  line-height: 1.85;
}

/* ---------- FLOW ---------- */
.flow__title {
  font-family: var(--font-lab);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 32px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  color: var(--ink-sub);
}

.flow__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.flow__step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border-light);
}

.flow__step-num {
  font-family: var(--font-lab);
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  min-width: 32px;
  padding-top: 2px;
}

.flow__step-content h4 {
  font-family: var(--font-dis);
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.flow__step-content p {
  font-size: 0.875rem;
  color: var(--ink-sub);
  line-height: 1.75;
}

/* ---------- PARALLAX BREAK ---------- */
.parallax-break {
  height: 50vh;
  background-image: url('empower_hero_bg_1773995638938.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.parallax-break__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(28, 26, 20, 0.55) 0%,
    rgba(154, 112, 32, 0.2) 100%
  );
}

/* ---------- STRENGTHS ---------- */
.strengths {
  background: var(--surface);
}

.strengths__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.strength-item {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  padding: 56px 0;
  border-bottom: 1px solid var(--border-light);
  transition: background 0.3s ease;
}

.strength-item__num {
  font-family: var(--font-lab);
  font-weight: 700;
  font-size: 3.5rem;
  color: var(--border);
  line-height: 1;
  min-width: 80px;
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}

.strength-item:hover .strength-item__num {
  color: var(--accent-line);
}

.strength-item__title {
  font-family: var(--font-dis);
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  line-height: 1.55;
  margin-bottom: 16px;
  color: var(--ink);
}

.strength-item__desc {
  font-size: 0.93rem;
  color: var(--ink-sub);
  line-height: 2;
}

/* ---------- TEAM ---------- */
.team {
  background: var(--bg);
}

.team__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-bottom: 80px;
  background: var(--border);
  border: 1px solid var(--border);
}

.team__stat {
  text-align: center;
  background: var(--surface);
  padding: 48px 24px;
}

.team__stat-num {
  font-family: var(--font-lab);
  font-weight: 600;
  font-size: clamp(3rem, 5.5vw, 4.5rem);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
}

.team__stat-unit {
  font-family: var(--font-lab);
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--accent);
  margin-left: 2px;
}

.team__stat-label {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin-top: 14px;
  letter-spacing: 0.04em;
}

.team__structure {
  margin-bottom: 80px;
}

.team__structure-title,
.team__members-title,
.team__coverage-title {
  font-family: var(--font-lab);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 36px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  color: var(--ink-sub);
}

.team__structure-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.team__structure-arrow {
  font-size: 1.4rem;
  color: var(--accent-line);
  padding: 14px 0;
  line-height: 1;
}

.team__role {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 32px;
  text-align: center;
  width: 270px;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.team__role:hover {
  border-color: var(--accent-line);
  box-shadow: 0 8px 32px rgba(154, 112, 32, 0.08);
}

.team__role--pm {
  border-color: var(--ink);
  border-width: 2px;
}

.team__role-badge {
  display: inline-block;
  font-family: var(--font-lab);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--white);
  background: var(--ink);
  padding: 4px 16px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.team__role h4 {
  font-family: var(--font-dis);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.team__role p {
  font-size: 0.78rem;
  color: var(--ink-muted);
  line-height: 1.7;
}

.team__role-row {
  display: flex;
  gap: 24px;
}

.team__members {
  margin-bottom: 80px;
}

.team__members-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.member-card {
  background: var(--surface);
  padding: 32px 24px;
  text-align: left;
  transition: background 0.3s ease;
}

.member-card:hover {
  background: var(--white);
}

.member-card__photo {
  width: 64px;
  height: 64px;
  border-radius: 2px;
  overflow: hidden;
  margin: 0 0 20px;
  background: var(--bg-alt);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.member-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-card__fallback {
  display: none;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  font-family: var(--font-lab);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--ink-muted);
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.member-card__fallback--icon {
  display: flex;
  font-size: 1.4rem;
}

.member-card__name {
  font-family: var(--font-dis);
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
  color: var(--ink);
}

.member-card__role {
  font-family: var(--font-lab);
  font-size: 0.75rem;
  color: var(--ink-muted);
  display: block;
  margin-bottom: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.member-card__detail {
  margin-bottom: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.member-card__detail-row {
  display: flex;
  gap: 12px;
  padding: 4px 0;
  font-size: 0.77rem;
  line-height: 1.6;
}

.member-card__detail-label {
  color: var(--ink-muted);
  font-weight: 400;
  min-width: 72px;
  flex-shrink: 0;
}

.member-card__detail-value {
  color: var(--ink-sub);
}

.member-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.member-card__tag {
  font-size: 0.67rem;
  color: var(--ink-sub);
  background: var(--bg-alt);
  padding: 3px 10px;
  letter-spacing: 0.03em;
}

.member-card__tag--primary {
  color: var(--accent-deep);
  background: rgba(154, 112, 32, 0.1);
  font-weight: 500;
}

.team__stat-label small {
  font-size: 0.68rem;
  color: var(--ink-muted);
  display: block;
  margin-top: 4px;
}

.team__coverage-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.team__coverage-tags span {
  font-size: 0.83rem;
  color: var(--ink-sub);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 9px 20px;
  letter-spacing: 0.04em;
  transition: all 0.3s ease;
}

.team__coverage-tags span:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

/* ---------- VISION ---------- */
.vision {
  background: var(--bg-alt);
}

.vision__issues {
  margin-bottom: 60px;
}

.vision__issue {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  font-size: 0.98rem;
  color: var(--ink-sub);
  line-height: 1.85;
  border-bottom: 1px solid var(--border-light);
}

.vision__issue:first-child {
  border-top: 1px solid var(--border-light);
}

.vision__issue-icon {
  color: var(--accent);
  font-size: 0.75rem;
  padding-top: 7px;
  flex-shrink: 0;
}

.vision__issue strong {
  font-weight: 500;
  color: var(--ink);
}

.vision__quote {
  background: var(--surface);
  padding: 48px 52px;
  border-left: 3px solid var(--accent);
  margin-bottom: 80px;
  position: relative;
}

.vision__quote::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: var(--font-lab);
  font-size: 5rem;
  font-weight: 700;
  color: var(--accent-pale);
  line-height: 1;
}

.vision__quote p {
  font-family: var(--font-dis);
  font-size: 1.08rem;
  line-height: 2.1;
  color: var(--ink-sub);
  position: relative;
  z-index: 1;
}

.vision__quote-accent {
  display: block;
  margin-top: 14px;
  font-weight: 500;
  color: var(--ink);
  font-size: 1.05rem;
}

.vision__future-title {
  font-family: var(--font-lab);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 36px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  color: var(--ink-sub);
}

.vision__future-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
}

.vision__future-item {
  padding: 40px 36px;
  background: var(--surface);
  transition: background 0.3s ease;
}

.vision__future-item:hover {
  background: var(--white);
}

.vision__future-num {
  font-family: var(--font-lab);
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--border);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1;
}

.vision__future-item h4 {
  font-family: var(--font-dis);
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.vision__future-item p {
  font-size: 0.87rem;
  color: var(--ink-sub);
  line-height: 1.9;
}

/* ---------- MESSAGE ---------- */
.message {
  background: var(--surface);
}

.message__wrapper {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 80px;
  align-items: start;
}

.message__body p {
  font-size: 0.95rem;
  line-height: 2.2;
  margin-bottom: 24px;
  color: var(--ink-sub);
}

.message__highlight {
  font-family: var(--font-dis);
  font-size: 1.12rem !important;
  font-weight: 400 !important;
  color: var(--ink) !important;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  line-height: 2.1;
  letter-spacing: 0.06em;
}

.message__profile {
  padding: 40px 36px;
  background: var(--bg);
  border: 1px solid var(--border);
}

.message__photo {
  width: 112px;
  height: 112px;
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto 24px;
  background: var(--bg-alt);
}

.message__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.message__photo-fallback {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-family: var(--font-lab);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--ink-muted);
  letter-spacing: 0.06em;
}

.message__name {
  font-family: var(--font-dis);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
  text-align: center;
  color: var(--ink);
}

.message__name-en {
  font-family: var(--font-lab);
  font-weight: 400;
  font-size: 0.72rem;
  color: var(--ink-muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: block;
  text-align: center;
  margin-bottom: 24px;
}

.message__profile-details dl {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 6px 12px;
}

.message__profile-details dt {
  font-size: 0.72rem;
  color: var(--ink-muted);
  font-weight: 400;
  padding-top: 2px;
}

.message__profile-details dd {
  font-size: 0.82rem;
  color: var(--ink-sub);
  line-height: 1.6;
}

/* ---------- COMPANY ---------- */
.company {
  background: var(--bg);
}

.company__table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
}

.company__table tr {
  border-bottom: 1px solid var(--border-light);
  transition: background 0.25s ease;
}

.company__table tr:hover {
  background: var(--surface);
}

.company__table th,
.company__table td {
  padding: 20px 28px;
  font-size: 0.93rem;
  text-align: left;
  vertical-align: top;
}

.company__table th {
  width: 130px;
  font-family: var(--font-lab);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  text-transform: uppercase;
  background: var(--bg-alt);
}

.company__table td {
  color: var(--ink-sub);
}

/* ---------- CONTACT ---------- */
.contact {
  background: var(--surface);
}

.contact__form {
  max-width: 600px;
}

.form-group {
  margin-bottom: 32px;
}

.form-group label {
  display: block;
  font-family: var(--font-lab);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--ink-muted);
}

.required {
  font-size: 0.65rem;
  color: #C0392B;
  letter-spacing: 0;
  margin-left: 4px;
  text-transform: none;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 0;
  font-size: 0.97rem;
  font-family: var(--font-jp);
  font-weight: 300;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s ease;
  letter-spacing: 0.04em;
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: var(--accent);
}

.form-group textarea {
  resize: vertical;
  border: 1px solid var(--border);
  padding: 16px;
  border-radius: 0;
  background: var(--bg);
}

.form-group textarea:focus {
  border-color: var(--accent);
  background: var(--surface);
}

.contact__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 64px;
  background: var(--ink);
  color: var(--white);
  border: 2px solid var(--ink);
  font-family: var(--font-lab);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  margin-top: 16px;
  border-radius: 0;
}

.contact__submit:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--bg-dark);
  color: var(--white);
  padding: 64px 40px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.footer__inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__logo {
  font-family: var(--font-lab);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.22em;
  color: var(--white);
}

.footer__copy {
  font-size: 0.68rem;
  color: rgba(253, 252, 248, 0.35);
  letter-spacing: 0.1em;
}

/* =========================================
   ANIMATIONS (scroll-triggered via JS)
   ========================================= */
.anim-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}

.anim-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* prefers-reduced-motion / JS無効時は全要素を即表示 */
@media (prefers-reduced-motion: reduce) {
  .anim-fade,
  .anim-slide-left,
  .anim-slide-right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* JS無効フォールバック */
.no-js .anim-fade,
.no-js .anim-slide-left,
.no-js .anim-slide-right {
  opacity: 1 !important;
  transform: none !important;
}

.anim-slide-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}

.anim-slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.anim-slide-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}

.anim-slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
  .header {
    padding: 16px 20px;
  }

  .header__tagline {
    display: none;
  }

  .nav-overlay {
    width: 100%;
    border-left: none;
  }

  .hero {
    padding: 0 24px;
  }

  .hero__title {
    letter-spacing: 0.07em;
  }

  .section-container {
    padding: 96px 24px;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .strength-item {
    flex-direction: column;
    gap: 14px;
    padding: 40px 0;
  }

  .strength-item__num {
    font-size: 2.8rem;
    min-width: auto;
  }

  .team__stats {
    grid-template-columns: 1fr;
  }

  .team__role-row {
    flex-direction: column;
    gap: 16px;
  }

  .team__role {
    width: 100%;
  }

  .team__members-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
  }

  .vision__quote {
    padding: 32px 28px;
  }

  .vision__future-items {
    grid-template-columns: 1fr;
  }

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

  .parallax-break {
    background-attachment: scroll;
    height: 40vh;
  }

  .footer__inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .sp-hide {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .contact__submit {
    width: 100%;
  }
}

/* =========================================
   SUB-PAGE STYLES
   ========================================= */

/* ---------- HEADER (SUB) ---------- */
.header--sub {
  background: rgba(28, 26, 20, 0.96);
  backdrop-filter: blur(10px);
}

.header--sub .header__logo a {
  color: var(--white);
}

.header--sub .header__tagline {
  color: rgba(253, 252, 248, 0.45);
}

.header--sub.scrolled {
  background: rgba(28, 26, 20, 0.98);
  box-shadow: 0 1px 0 rgba(154, 112, 32, 0.2);
}

/* ---------- PAGE HEADER ---------- */
.page-header {
  padding: 110px 0 40px;
  background: var(--bg-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(154, 112, 32, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(154, 112, 32, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.page-header--simple {
  padding: 110px 0 48px;
}

.page-header--recruit {
  background: linear-gradient(135deg, #1C1A14 0%, #1a2a1a 100%);
}

.page-header__inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
  z-index: 1;
}

.page-header__breadcrumb {
  font-family: var(--font-lab);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 28px;
  color: rgba(253, 252, 248, 0.35);
}

.page-header__breadcrumb a {
  color: rgba(253, 252, 248, 0.35);
  transition: color 0.3s;
}

.page-header__breadcrumb a:hover {
  color: var(--white);
}

.page-header__breadcrumb span {
  margin: 0 8px;
}

.page-header .section-label__num,
.page-header .section-label__text {
  color: rgba(154, 112, 32, 0.8);
}

.page-header .section-label__num::before {
  color: rgba(154, 112, 32, 0.3);
}

.page-header .section-title {
  color: var(--white);
}

.page-header .section-lead {
  color: rgba(253, 252, 248, 0.7);
}

/* ---------- PAGE CTA ---------- */
.page-cta {
  text-align: center;
  padding: 64px 0;
}

.page-cta--inline {
  padding: 40px 0 0;
}

.page-cta__text {
  font-size: 0.97rem;
  color: var(--ink-sub);
  margin-bottom: 28px;
  line-height: 1.85;
}

.page-cta__btn {
  display: inline-block;
  padding: 16px 48px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-lab);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 2px solid var(--ink);
  transition: all 0.3s ease;
  text-decoration: none;
}

.page-cta__btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.page-cta__btn--large {
  padding: 20px 64px;
  font-size: 0.88rem;
}

/* ---------- SERVICE CARD DETAIL ---------- */
.service-card--detail {
  text-align: left;
}

.service-card__detail {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  font-size: 0.85rem;
  color: var(--ink-sub);
  line-height: 1.75;
}

/* ---------- CONTACT LAYOUT ---------- */
.contact__layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  align-items: start;
}

.contact__info {
  padding: 40px;
  background: var(--bg);
  border: 1px solid var(--border);
}

.contact__info-block {
  margin-bottom: 32px;
}

.contact__info-block:last-child {
  margin-bottom: 0;
}

.contact__info-block h3 {
  font-family: var(--font-lab);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.contact__info-block dl {
  font-size: 0.88rem;
}

.contact__info-block dt {
  font-weight: 500;
  color: var(--ink);
  margin-top: 12px;
}

.contact__info-block dt:first-child {
  margin-top: 0;
}

.contact__info-block dd {
  color: var(--ink-sub);
  margin-left: 0;
}

.contact__info-block p {
  font-size: 0.88rem;
  color: var(--ink-sub);
  line-height: 1.85;
}

/* Checkbox in form */
.form-group--checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-group--checkbox label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0.04em;
}

.form-group--checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--accent);
}

.form-group--checkbox a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Select dropdown */
.contact__form select {
  width: 100%;
  padding: 14px 16px;
  font-size: 0.93rem;
  font-family: inherit;
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--surface);
  color: var(--ink);
  transition: border-color 0.3s;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239A7020' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.contact__form select:focus {
  outline: none;
  border-color: var(--accent);
}

/* ---------- CONTACT CTA SECTION ---------- */
.contact-cta {
  padding: 100px 0;
  background: var(--bg-alt);
  text-align: center;
  position: relative;
}

.contact-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--border);
}

/* ---------- RECRUIT STYLES ---------- */
.recruit-message {
  padding: 64px 0;
  background: var(--surface);
}

.recruit-message__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.recruit-message__title {
  font-family: var(--font-dis);
  font-size: 1.7rem;
  font-weight: 300;
  line-height: 1.55;
  margin-bottom: 32px;
  color: var(--ink);
  letter-spacing: 0.06em;
}

.recruit-message__inner p {
  font-size: 0.95rem;
  color: var(--ink-sub);
  margin-bottom: 16px;
  line-height: 2;
}

.recruit-positions {
  padding: 80px 0;
  background: var(--bg);
}

.recruit-positions__heading,
.recruit-style__heading,
.recruit-flow__heading {
  text-align: center;
  font-family: var(--font-dis);
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  margin-bottom: 52px;
  color: var(--ink);
}

.recruit-positions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
}

.recruit-card {
  background: var(--surface);
  padding: 40px 32px;
  transition: background 0.3s ease;
  position: relative;
}

.recruit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--accent);
  transition: height 0.4s var(--ease-out);
}

.recruit-card:hover {
  background: var(--white);
}

.recruit-card:hover::before {
  height: 100%;
}

.recruit-card__badge {
  display: inline-block;
  padding: 4px 14px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-lab);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.recruit-card__badge--accent {
  background: var(--accent);
}

.recruit-card__title {
  font-family: var(--font-dis);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--ink);
  letter-spacing: 0.04em;
}

.recruit-card__desc {
  font-size: 0.85rem;
  color: var(--ink-sub);
  margin-bottom: 20px;
  line-height: 1.75;
}

.recruit-card__details {
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.recruit-card__row {
  display: flex;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 0.8rem;
  line-height: 1.55;
}

.recruit-card__label {
  min-width: 80px;
  color: var(--ink-muted);
  font-family: var(--font-lab);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.recruit-card__value {
  color: var(--ink-sub);
}

/* Recruit Work Style */
.recruit-style {
  padding: 80px 0;
  background: var(--surface);
}

.recruit-style__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
}

.recruit-style__item {
  text-align: center;
  padding: 40px 20px;
  background: var(--bg);
  transition: background 0.3s ease;
}

.recruit-style__item:hover {
  background: var(--white);
}

.recruit-style__icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.recruit-style__item h3 {
  font-family: var(--font-dis);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--ink);
  letter-spacing: 0.04em;
}

.recruit-style__item p {
  font-size: 0.82rem;
  color: var(--ink-sub);
  line-height: 1.75;
}

/* Recruit Application Flow */
.recruit-flow {
  padding: 80px 0;
  background: var(--bg-alt);
}

.recruit-flow__steps {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  border: 1px solid var(--border);
  background: var(--border);
}

.recruit-flow__step {
  text-align: center;
  padding: 36px 20px;
  flex: 1;
  background: var(--surface);
  transition: background 0.3s ease;
}

.recruit-flow__step:hover {
  background: var(--white);
}

.recruit-flow__step-num {
  font-family: var(--font-lab);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--border);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  line-height: 1;
}

.recruit-flow__step h4 {
  font-family: var(--font-dis);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--ink);
}

.recruit-flow__step p {
  font-size: 0.78rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

.recruit-flow__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  font-size: 1rem;
  color: var(--accent-line);
  background: var(--bg-alt);
  min-width: 28px;
  font-weight: 300;
}

/* Recruit CTA */
.recruit-cta {
  padding: 60px 0;
  background: var(--surface);
}

/* ---------- TEAM QA & SECURITY ---------- */
.team__qa {
  margin-top: 64px;
}

.team__qa-title,
.team__security-title {
  font-family: var(--font-lab);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  color: var(--ink-sub);
  margin-bottom: 16px;
}

.team__qa-lead {
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin-bottom: 40px;
  line-height: 1.8;
}

.team__qa-flow {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  border: 1px solid var(--border);
  background: var(--border);
}

.team__qa-step {
  flex: 1;
  max-width: 220px;
  text-align: center;
  padding: 28px 16px;
  background: var(--surface);
  transition: background 0.3s ease;
}

.team__qa-step:hover {
  background: var(--white);
}

.team__qa-step-badge {
  display: inline-block;
  padding: 4px 14px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-lab);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.team__qa-step h4 {
  font-family: var(--font-dis);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}

.team__qa-step p {
  font-size: 0.76rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

.team__qa-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-line);
  font-size: 1rem;
  background: var(--bg-alt);
  min-width: 24px;
  flex-shrink: 0;
}

.team__security {
  margin-top: 64px;
  margin-bottom: 32px;
}

.team__security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 28px;
}

.team__security-item {
  text-align: center;
  padding: 36px 28px;
  background: var(--surface);
  transition: background 0.3s ease;
}

.team__security-item:hover {
  background: var(--white);
}

.team__security-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.team__security-item h4 {
  font-family: var(--font-dis);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.team__security-item p {
  font-size: 0.82rem;
  color: var(--ink-sub);
  line-height: 1.75;
}

/* ---------- RECRUIT GROWTH & FIELDS ---------- */
.recruit-growth {
  padding: 80px 0;
  background: var(--bg);
}

.recruit-growth__heading,
.recruit-fields__heading {
  text-align: center;
  font-family: var(--font-dis);
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  margin-bottom: 52px;
  color: var(--ink);
}

.recruit-growth__timeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
}

.recruit-growth__step {
  text-align: center;
  padding: 40px 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: background 0.3s ease;
}

.recruit-growth__step:hover {
  background: var(--white);
}

.recruit-growth__year {
  font-family: var(--font-lab);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.recruit-growth__num {
  font-family: var(--font-lab);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.recruit-growth__num span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink-muted);
}

.recruit-growth__step p {
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.recruit-growth__connector {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, var(--border), var(--accent));
  flex-shrink: 0;
}

.recruit-growth__note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-sub);
  line-height: 1.85;
}

.recruit-fields {
  padding: 64px 0;
  background: var(--surface);
}

.recruit-fields__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 640px;
  margin: 0 auto;
  list-style: none;
}

.recruit-fields__grid li {
  padding: 10px 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--ink-sub);
  font-weight: 400;
  letter-spacing: 0.03em;
  transition: all 0.3s ease;
  cursor: default;
}

.recruit-fields__grid li:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

/* ---------- PRIVACY STYLES ---------- */
.privacy {
  padding: 80px 0;
  background: var(--surface);
}

.privacy__content {
  max-width: 720px;
  margin: 0 auto;
}

.privacy__intro {
  font-size: 0.95rem;
  color: var(--ink-sub);
  margin-bottom: 48px;
  line-height: 1.95;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.privacy__content h2 {
  font-family: var(--font-dis);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  margin-top: 40px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
  letter-spacing: 0.04em;
}

.privacy__content p {
  font-size: 0.9rem;
  color: var(--ink-sub);
  margin-bottom: 12px;
  line-height: 1.85;
}

.privacy__content ul {
  list-style: none;
  margin-bottom: 16px;
}

.privacy__content li {
  font-size: 0.9rem;
  color: var(--ink-sub);
  margin-bottom: 6px;
  line-height: 1.75;
  padding-left: 16px;
  position: relative;
}

.privacy__content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 1px;
  background: var(--accent);
}

.privacy__contact {
  padding: 24px 28px;
  background: var(--bg);
  border-left: 3px solid var(--accent);
  margin: 16px 0;
}

.privacy__contact p {
  font-size: 0.9rem;
  color: var(--ink-sub);
}

.privacy__date {
  margin-top: 40px;
  font-size: 0.82rem;
  color: var(--ink-muted);
  text-align: right;
  font-family: var(--font-lab);
  letter-spacing: 0.08em;
}

/* ---------- FOOTER NAV ---------- */
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 16px;
}

.footer__nav a {
  font-family: var(--font-lab);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(253, 252, 248, 0.35);
  transition: color 0.3s;
}

.footer__nav a:hover {
  color: var(--white);
}

/* ---------- SERVICE PAGE (RESTRUCTURED) ---------- */

/* Service Nav (sticky) */
.svc-nav {
  position: sticky;
  top: 70px;
  z-index: 90;
  background: rgba(241, 237, 227, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.svc-nav .section-container {
  padding: 0 48px;
}

.svc-nav__inner {
  display: flex;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.svc-nav__link {
  flex-shrink: 0;
  padding: 14px 28px;
  font-family: var(--font-lab);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.svc-nav__link:hover,
.svc-nav__link--active {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

/* Service Section */
.svc-section {
  padding: 8px 0 48px;
  background: var(--surface);
}

.svc-section .section-container {
  padding-top: 52px;
  padding-bottom: 40px;
}

.svc-section--alt {
  background: var(--bg);
}

.svc-section__header {
  text-align: center;
  margin-bottom: 12px;
}

.svc-section__label {
  margin-bottom: 8px;
}

.svc-section__label-en {
  font-family: var(--font-lab);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--ink-muted);
  text-transform: uppercase;
}

.svc-section__title {
  font-family: var(--font-dis);
  font-size: 1.9rem;
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: 0.06em;
}

.svc-section__lead {
  font-size: 0.93rem;
  color: var(--ink-sub);
  line-height: 1.95;
  max-width: 640px;
  margin: 0 auto;
}

/* Field Cards */
.svc-field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-bottom: 60px;
  background: var(--border);
  border: 1px solid var(--border);
}

.svc-field-card {
  background: var(--surface);
  padding: 32px 36px;
  transition: background 0.3s ease;
  position: relative;
}

.svc-field-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.4s var(--ease-out);
}

.svc-field-card:hover {
  background: var(--white);
}

.svc-field-card:hover::before {
  width: 100%;
}

.svc-field-card__body {
  padding: 0;
}

.svc-field-card__title {
  font-family: var(--font-dis);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.svc-field-card__title::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.svc-field-card__desc {
  font-size: 0.85rem;
  color: var(--ink-sub);
  line-height: 1.85;
  margin-bottom: 16px;
}

.svc-field-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.svc-field-card__tags span {
  display: inline-block;
  padding: 4px 12px;
  background: var(--bg-alt);
  font-size: 0.7rem;
  color: var(--ink-muted);
  letter-spacing: 0.03em;
}

/* Supplement Info */
.svc-supplement {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
}

.svc-supplement__item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  padding: 32px;
  background: var(--bg);
  transition: background 0.3s ease;
}

.svc-supplement__item:hover {
  background: var(--surface);
}

.svc-supplement__icon {
  font-size: 1.4rem;
  width: 40px;
  text-align: center;
}

.svc-supplement__content h4 {
  font-family: var(--font-dis);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}

.svc-supplement__content p {
  font-size: 0.82rem;
  color: var(--ink-sub);
  line-height: 1.75;
}

/* Survey Grid */
.svc-survey-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}

.svc-survey-card {
  border-radius: 0;
  overflow: hidden;
  border: 1px solid var(--border);
}

.svc-survey-card__img {
  width: 100%;
  overflow: hidden;
}

.svc-survey-card__img img {
  width: 100%;
  height: auto;
  display: block;
}

.svc-survey-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  background: var(--surface);
  margin-bottom: 2px;
  border-bottom: 1px solid var(--border-light);
  transition: background 0.3s ease;
}

.svc-survey-detail:hover {
  background: var(--white);
}

.svc-survey-detail:last-child {
  margin-bottom: 0;
  border-bottom: none;
}

.svc-survey-detail__icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  width: 36px;
  text-align: center;
  padding-top: 2px;
}

.svc-survey-detail h3 {
  font-family: var(--font-dis);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}

.svc-survey-detail p {
  font-size: 0.85rem;
  color: var(--ink-sub);
  line-height: 1.8;
}

/* Output Tags */
.svc-output {
  text-align: center;
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.svc-output__title {
  font-family: var(--font-lab);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--ink-muted);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.svc-output__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.svc-output__tags span {
  padding: 8px 20px;
  background: var(--bg);
  font-size: 0.82rem;
  color: var(--ink-sub);
  font-weight: 400;
  border: 1px solid var(--border);
}

/* Tech Grid */
.svc-tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 28px;
}

.svc-tech-card {
  position: relative;
  padding: 32px 32px 32px 36px;
  background: var(--surface);
  border-left: 3px solid var(--border);
  transition: all 0.3s ease;
  overflow: hidden;
}

.svc-tech-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--accent);
  transition: height 0.4s var(--ease-out);
}

.svc-tech-card:hover {
  background: var(--white);
  border-left-color: var(--accent);
}

.svc-tech-card:hover::before {
  height: 100%;
}

.svc-tech-card__body h3 {
  font-family: var(--font-dis);
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.svc-tech-card__body h3::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 6px;
  flex-shrink: 0;
}

.svc-tech-card__body p {
  font-size: 0.82rem;
  color: var(--ink-sub);
  line-height: 1.85;
}

.svc-tech-note {
  padding: 28px 32px;
  background: var(--bg);
  border-left: 3px solid var(--accent);
}

.svc-tech-note p {
  font-size: 0.88rem;
  color: var(--ink-sub);
  line-height: 1.85;
}

.svc-tech-note strong {
  color: var(--ink);
  font-weight: 500;
}

/* Service Flow (vertical timeline) */
.svc-flow {
  max-width: 600px;
  margin: 0 auto;
}

.svc-flow__step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.svc-flow__step-num {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: var(--ink);
  color: var(--white);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-lab);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: background 0.3s ease;
}

.svc-flow__step:hover .svc-flow__step-num {
  background: var(--accent);
}

.svc-flow__step-content {
  padding-top: 6px;
}

.svc-flow__step-content h4 {
  font-family: var(--font-dis);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}

.svc-flow__step-content p {
  font-size: 0.85rem;
  color: var(--ink-sub);
  line-height: 1.75;
  margin-bottom: 8px;
}

.svc-flow__step-time {
  display: inline-block;
  padding: 3px 12px;
  background: var(--accent-pale);
  color: var(--accent-deep);
  font-family: var(--font-lab);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.svc-flow__connector {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--border), transparent);
  margin-left: 25px;
}

/* Service CTA section */
.svc-cta {
  padding: 80px 0;
  background: var(--bg-alt);
  position: relative;
}

.svc-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--border);
}

/* ---------- SUB-PAGE RESPONSIVE ---------- */
@media (max-width: 768px) {
  .page-header {
    padding: 90px 0 36px;
  }

  .page-header__inner {
    padding: 0 24px;
  }

  .contact__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .recruit-positions__grid {
    grid-template-columns: 1fr;
  }

  .recruit-style__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .recruit-flow__steps {
    flex-direction: column;
    gap: 2px;
  }

  .recruit-flow__arrow {
    transform: rotate(90deg);
    min-width: auto;
    min-height: 24px;
    padding: 4px 0;
  }

  .footer__nav {
    gap: 14px;
  }

  .page-cta__btn--large {
    padding: 16px 40px;
    font-size: 0.85rem;
  }

  .svc-field-grid {
    grid-template-columns: 1fr;
  }

  .svc-supplement {
    grid-template-columns: 1fr;
  }

  .svc-survey-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .svc-tech-grid {
    grid-template-columns: 1fr;
  }

  .svc-section {
    padding: 32px 0 48px;
  }

  .svc-section__title {
    font-size: 1.5rem;
  }

  .svc-nav__link {
    padding: 14px 18px;
    font-size: 0.72rem;
  }

  .team__qa-flow {
    flex-direction: column;
    gap: 2px;
  }

  .team__qa-arrow {
    transform: rotate(90deg);
    min-height: 24px;
    min-width: auto;
    padding: 4px 0;
  }

  .team__qa-step {
    max-width: 100%;
  }

  .team__security-grid {
    grid-template-columns: 1fr;
  }

  .recruit-growth__timeline {
    flex-direction: column;
    gap: 2px;
    background: var(--border);
    border: 1px solid var(--border);
  }

  .recruit-growth__connector {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--border), var(--accent));
  }

  .recruit-growth__step {
    padding: 24px 20px;
    width: 100%;
  }

  .recruit-growth__num {
    font-size: 2.6rem;
  }

  .team__members-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .recruit-style__grid {
    grid-template-columns: 1fr;
  }

  .svc-field-card {
    padding: 24px 28px;
  }

  .svc-tech-card {
    padding: 28px;
  }

  .svc-supplement__item {
    padding: 24px;
  }

  .svc-flow__step-num {
    width: 44px;
    height: 44px;
    font-size: 0.88rem;
  }

  .svc-flow__connector {
    margin-left: 21px;
  }

  .vision__quote {
    padding: 32px 24px;
  }

  .vision__quote::before {
    font-size: 3rem;
  }
}
