/* ═══════════════════════════════════
   TOP PAGE — Hero
═══════════════════════════════════ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--navyD);
}
.hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 45%, transparent 0%, rgba(9,26,51,.5) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 2; text-align: center;
  padding: 0 40px; max-width: 860px;
}
.hero-eyebrow {
  font-size: 12px; font-weight: 500; letter-spacing: .22em;
  color: var(--cyan); margin-bottom: 32px;
  opacity: 0; animation: fade-in .8s ease .3s forwards;
}
.hero-h1 {
  font-size: clamp(38px, 5.5vw, 64px);
  font-weight: 700; color: #fff; line-height: 1.3;
  margin-bottom: 28px; letter-spacing: -.02em;
  opacity: 0; animation: slide-up .9s ease .5s forwards;
}
.hero-h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--cyan), #4dd9ec);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 17px; color: rgba(255,255,255,.55); line-height: 2;
  max-width: 500px; margin: 0 auto 44px;
  opacity: 0; animation: slide-up .9s ease .7s forwards;
}
.hero-btns {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  opacity: 0; animation: slide-up .9s ease .9s forwards;
}
.btn-hero {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 34px; font-size: 14px; font-weight: 600;
  border-radius: 980px; transition: all .25s; letter-spacing: .03em;
}
.btn-hero--primary { background: var(--cyan); color: var(--navy); }
.btn-hero--primary:hover {
  background: #fff; color: var(--navy);
  transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,194,224,.3);
}
.btn-hero--ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.25); }
.btn-hero--ghost:hover { border-color: var(--cyan); color: var(--cyan); }

.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.25); font-size: 10px; letter-spacing: .15em;
  opacity: 0; animation: fade-in 1s ease 1.4s forwards;
}
.hero-scroll-line {
  width: 1px; height: 36px; position: relative; overflow: hidden;
}
.hero-scroll-line::after {
  content: ''; position: absolute; top: -100%; left: 0; width: 1px; height: 100%;
  background: var(--cyan);
  animation: scroll-line 2s ease infinite;
}
@keyframes scroll-line {
  0% { top: -100%; }
  50% { top: 0; }
  100% { top: 100%; }
}

/* ═══════════════════════════════════
   TOP PAGE — Mission
═══════════════════════════════════ */
.mission {
  position: relative; overflow: hidden;
  min-height: clamp(400px, 42vw, 520px);
  display: flex; align-items: center;
}
.mission-bg { position: absolute; inset: 0; }
.mission-bg img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 40%;
  transition: transform 6s ease;
}
.mission-bg.visible img { transform: scale(1.04); }
.mission-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,34,64,.82) 0%, rgba(13,34,64,.6) 40%, rgba(13,34,64,.25) 100%);
}
.mission-content {
  position: relative; z-index: 1;
  padding: 80px 64px; max-width: 680px;
}
.mission-content::before {
  content: 'MISSION'; position: absolute; top: 50%; right: -40px;
  transform: translateY(-50%) rotate(90deg);
  font-size: 100px; font-weight: 900;
  color: #fff; opacity: .035; letter-spacing: .1em;
  white-space: nowrap; pointer-events: none;
}
.mission-content::after {
  content: ''; position: absolute; left: 40px; top: 20%; bottom: 20%; width: 3px;
  background: linear-gradient(180deg, transparent, var(--cyan), transparent);
}
.mission .sec-label { color: var(--cyan); margin-bottom: 18px; }
.mission-statement {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 300; color: #fff; line-height: 1.7;
  margin-bottom: 28px;
}
.mission-statement strong { font-weight: 700; }
.mission-body {
  font-size: 15px; line-height: 2.2; color: rgba(255,255,255,.85);
}

/* ═══════════════════════════════════
   TOP PAGE — Services
═══════════════════════════════════ */
.services { padding: 100px 0; background: var(--light); }
.service-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 36px;
}
.service-card {
  display: block;
  background: #fff; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .35s cubic-bezier(.25,.46,.45,.94), box-shadow .35s;
  cursor: pointer; position: relative;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 64px rgba(13,34,64,.1);
}
.service-card-visual {
  height: 180px; position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.service-card-visual::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 50%;
  background: linear-gradient(transparent, rgba(13,34,64,.15));
}
.sv-koom { background: #111; }
.sv-logo {
  position: relative; z-index: 2; display: block;
  width: 75%; max-width: 240px; height: auto; margin: 0 auto;
}
.sv-repeat { background: linear-gradient(135deg, #24B7ED 0%, #2F6EED 46%, #8C69ED 81%, #FD8099 100%); }
.sv-navi { background: #111; }
.grid-pattern {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: grid-drift 20s linear infinite;
}
@keyframes grid-drift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(40px, 40px); }
}
.service-card-visual .sv-name {
  position: relative; z-index: 2;
  font-size: 32px; font-weight: 900; color: #fff; letter-spacing: .04em;
  text-shadow: 0 2px 20px rgba(0,0,0,.2);
}
.service-card-visual .sv-name-jp {
  position: relative; z-index: 2;
  font-size: 22px; font-weight: 800; color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,.2);
}
.service-card-visual .sv-sub {
  position: absolute; bottom: 14px; left: 0; right: 0; z-index: 2;
  font-size: 11px; color: rgba(255,255,255,.5); font-weight: 500;
  letter-spacing: .08em; text-align: center;
}
.service-card-badge {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  font-size: 10px; font-weight: 700; letter-spacing: .1em;
  color: #fff; background: rgba(0,194,224,.8);
  padding: 3px 10px; border-radius: 980px;
  backdrop-filter: blur(4px);
}
.service-card-body { padding: 24px 24px 28px; }
.service-card-title { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.service-card-desc { font-size: 13px; color: var(--sub); line-height: 1.9; margin-bottom: 16px; }
.service-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--cyan2);
  transition: gap .2s;
}
.service-card-link:hover { gap: 10px; }
.service-card-link svg { width: 14px; height: 14px; }

/* ═══════════════════════════════════
   TOP PAGE — News header
═══════════════════════════════════ */
.news { padding: 100px 0; }
.news-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 32px;
}
.news-more {
  font-size: 13px; font-weight: 600; color: var(--cyan2);
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap .2s; white-space: nowrap; flex-shrink: 0;
}
.news-more:hover { gap: 10px; }

/* ═══════════════════════════════════
   TOP PAGE — Company
═══════════════════════════════════ */
.company { padding: 100px 0; background: var(--light); }
.company-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  margin-top: 40px; align-items: start;
}
.company-table { width: 100%; border-collapse: collapse; }
.company-table tr { border-bottom: 1px solid var(--line); }
.company-table th {
  font-size: 12px; font-weight: 600; color: var(--navy);
  padding: 16px 0; width: 120px; vertical-align: top; letter-spacing: .04em;
}
.company-table td { font-size: 14px; color: var(--text); padding: 16px 0; line-height: 1.8; }
.company-map {
  background: var(--navy); border-radius: 12px; overflow: hidden;
  min-height: 340px; display: flex; align-items: center; justify-content: center;
}
.company-map-inner { color: rgba(255,255,255,.25); font-size: 13px; text-align: center; }
.company-map-inner svg { margin-bottom: 10px; opacity: .35; }

/* ═══════════════════════════════════
   TOP PAGE — Recruit CTA
═══════════════════════════════════ */
.recruit { padding: 80px 0 60px; background: #fff; }
.recruit-header { text-align: center; margin-bottom: 36px; }
.recruit-headline {
  font-size: clamp(26px, 3.2vw, 38px); font-weight: 800;
  color: var(--navy); line-height: 1.6; margin-bottom: 20px;
}
.recruit-desc {
  font-size: 15px; color: var(--sub); line-height: 2;
  max-width: 600px; margin: 0 auto 32px;
}
.recruit-cta-buttons {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}
.btn-recruit {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--cyan); color: var(--navy);
  padding: 18px 44px; font-size: 15px; font-weight: 700;
  border-radius: 980px; transition: all .3s cubic-bezier(.25,.46,.45,.94);
  letter-spacing: .03em; white-space: nowrap;
  border: 2px solid var(--cyan);
  box-shadow: 0 4px 20px rgba(0,194,224,.3);
  animation: recruit-pulse 2.4s ease-in-out infinite;
}
@keyframes recruit-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(0,194,224,.3); }
  50% { box-shadow: 0 6px 32px rgba(0,194,224,.5); }
}
.btn-recruit:hover {
  background: var(--navy); color: #fff; border-color: var(--navy);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(13,34,64,.25);
  animation: none;
}
.btn-recruit svg {
  width: 14px; height: 14px; flex-shrink: 0;
  transition: transform .3s;
}
.btn-recruit:hover svg { transform: translateX(4px); }

/* Photo strip */
.recruit-photos {
  display: flex; gap: 0; overflow: hidden;
  margin-top: 40px;
}
.recruit-photos .rp-item {
  flex: 0 0 auto; width: 220px; height: 220px; overflow: hidden;
  border-radius: 50%;
  margin: 0 -10px;
  border: 4px solid #fff;
  box-shadow: 0 4px 20px rgba(13,34,64,.08);
}
.recruit-photos .rp-item:nth-child(even) { margin-top: 40px; }
.recruit-photos .rp-item img {
  width: 100%; height: 100%; object-fit: cover;
  filter: contrast(1.04) saturate(.9) brightness(1.03) sepia(.06);
  transition: transform .6s cubic-bezier(.25,.46,.45,.94), filter .4s;
}
.recruit-photos .rp-item:hover img {
  transform: scale(1.08);
  filter: contrast(1) saturate(1) brightness(1.05) sepia(0);
}
.recruit-photos-track {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  margin: 0 auto;
}

/* ═══════════════════════════════════
   TOP PAGE — Responsive
═══════════════════════════════════ */
@media (max-width: 960px) {
  .mission-content { padding: 56px 32px; max-width: 100%; }
  .mission-content::after { left: 16px; }
  .service-grid { grid-template-columns: 1fr; }
  .company-layout { grid-template-columns: 1fr; }
  .recruit-photos .rp-item { width: 160px; height: 160px; }
}
@media (max-width: 640px) {
  .hero-h1 { font-size: 32px; }
  .hero-sub { font-size: 15px; }
  .service-grid { margin-top: 28px; }
  .company-layout { gap: 28px; }
  .recruit { padding: 56px 0 40px; }
  .recruit-photos .rp-item { width: 130px; height: 130px; }
  .recruit-photos-track { gap: 12px; }
}
