/* ===========================
   農星 ~NOSEI~ Service Site
   =========================== */

:root {
  --color-bg: #0b0b12;
  --color-bg-alt: #10101e;
  --color-surface: #171730;
  --color-text: #ededf4;
  --color-text-muted: #a0a0b8;
  --color-accent: #5aacff;
  --color-accent-green: #3ee0a8;
  --color-accent-glow: rgba(90, 172, 255, 0.15);
  --color-border: rgba(255, 255, 255, 0.12);
  --font-main: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  --header-h: 72px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.8;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Loader ===== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.loader-logo {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  margin-bottom: 4px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.loader-sub {
  font-size: 0.8rem;
  letter-spacing: 0.5em;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}
.loader-bar {
  width: 120px;
  height: 2px;
  background: var(--color-border);
  margin: 0 auto;
  border-radius: 1px;
  overflow: hidden;
}
.loader-bar-fill {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-green));
  animation: loaderFill 1.2s var(--ease) forwards;
}
@keyframes loaderFill { to { width: 100%; } }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.header.scrolled {
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 var(--color-border);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: baseline; gap: 8px; }
.logo-main {
  font-size: 1.4rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--color-text-muted);
  font-weight: 400;
}
.nav { display: flex; gap: 28px; }
.nav-link {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  font-weight: 400;
  color: var(--color-text-muted);
  transition: color 0.3s ease;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--color-accent);
  transition: width 0.3s var(--ease);
}
.nav-link:hover { color: var(--color-text); }
.nav-link:hover::after { width: 100%; }

.hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 28px; height: 20px;
  position: relative; z-index: 1001;
}
.hamburger span {
  display: block; width: 100%; height: 1.5px;
  background: var(--color-text);
  position: absolute; left: 0;
  transition: all 0.3s ease;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }
.hamburger.active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }

.hero-bg-image {
  position: absolute;
  inset: 0;
  opacity: 0.2;
}
.hero-bg-split {
  display: flex;
}
.hero-bg-left,
.hero-bg-right {
  flex: 1;
  background-size: cover;
  background-position: center;
}
.hero-bg-left {
  mask-image: linear-gradient(to right, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
}
.hero-bg-right {
  mask-image: linear-gradient(to left, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 70% 100%, rgba(52, 211, 153, 0.14), transparent),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(74, 158, 255, 0.08), transparent),
    radial-gradient(ellipse 40% 30% at 80% 90%, rgba(34, 139, 34, 0.06), transparent);
}
.hero-content {
  position: relative; z-index: 1;
  text-align: center; padding: 0 24px;
}
.hero-label {
  font-size: 0.72rem;
  letter-spacing: 0.5em;
  color: var(--color-accent);
  margin-bottom: 28px;
  font-weight: 400;
}
.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}
.hero-title-line { display: block; }
.accent-line {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 2;
  margin-bottom: 40px;
  font-weight: 300;
}
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-badge {
  padding: 6px 16px;
  border: 1px solid rgba(74, 158, 255, 0.3);
  border-radius: 100px;
  font-size: 0.72rem;
  color: var(--color-accent);
  letter-spacing: 0.08em;
  background: rgba(74, 158, 255, 0.05);
}
.hero-scroll {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  color: var(--color-text-muted);
  font-size: 0.65rem; letter-spacing: 0.2em;
}
.hero-scroll-line {
  width: 1px; height: 40px;
  background: var(--color-text-muted);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center; justify-content: center;
  padding: 15px 40px;
  font-size: 0.85rem;
  font-family: var(--font-main);
  font-weight: 500;
  letter-spacing: 0.08em;
  border-radius: 6px;
  transition: all 0.3s var(--ease);
  cursor: pointer; border: none;
  position: relative;
  overflow: hidden;
}
.btn span { position: relative; z-index: 1; }
.btn-primary {
  background: linear-gradient(135deg, var(--color-accent), #3a7fd9);
  color: #fff;
  box-shadow: 0 4px 24px rgba(74, 158, 255, 0.3);
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #3a7fd9, var(--color-accent-green));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(74, 158, 255, 0.5);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(74, 158, 255, 0.05);
}
.btn-full { width: 100%; padding: 18px; }

/* ===== Sections Common ===== */
.section {
  padding: 120px 0;
  position: relative;
}
.section-header {
  margin-bottom: 56px;
}
.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  color: var(--color-accent);
  margin-bottom: 16px;
  font-weight: 400;
}
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.section-subtitle {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 2;
}

/* ===== Numbers ===== */
.section-numbers {
  background: var(--color-bg-alt);
  padding: 64px 0;
  border-bottom: 1px solid var(--color-border);
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.number-item {
  text-align: center;
  padding: 20px;
}
.number-value {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  margin-bottom: 8px;
}
.number-label {
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 4px;
}
.number-desc {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* ===== About ===== */
.section-about { background: var(--color-bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: start;
}
.about-text p {
  color: var(--color-text-muted);
  margin-bottom: 20px;
  font-size: 0.95rem; line-height: 2;
}
.about-image {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 28px;
  aspect-ratio: 16 / 9;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.about-image:hover img { transform: scale(1.03); }

.about-visual { display: flex; flex-direction: column; gap: 24px; }
.about-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 32px;
  position: relative;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.about-card:hover {
  border-color: rgba(74, 158, 255, 0.3);
  box-shadow: 0 8px 40px rgba(74, 158, 255, 0.08);
}
.about-card-icon {
  width: 48px; height: 48px;
  color: var(--color-accent); margin-bottom: 16px;
}
.about-card-number {
  position: absolute; top: 24px; right: 28px;
  font-size: 0.7rem; letter-spacing: 0.2em;
  color: var(--color-text-muted);
}
.about-card h3 { font-size: 1.1rem; font-weight: 500; margin-bottom: 8px; }
.about-card p { font-size: 0.85rem; color: var(--color-text-muted); line-height: 1.8; }

/* ===== Brand Story ===== */
.section-brand {
  background: var(--color-bg-alt);
  padding: 80px 0;
}
.brand-grid {
  display: flex;
  align-items: center; justify-content: center;
  gap: 48px; margin-bottom: 48px;
}
.brand-item { text-align: center; }
.brand-kanji {
  font-size: 4.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2; margin-bottom: 12px;
}
.brand-separator {
  font-size: 2rem; color: var(--color-text-muted); font-weight: 300;
}
.brand-meaning {
  font-size: 0.85rem; color: var(--color-text-muted); letter-spacing: 0.1em;
}
.brand-parent {
  text-align: center; padding-top: 40px;
  border-top: 1px solid var(--color-border);
}
.brand-parent-text {
  font-size: 0.9rem; color: var(--color-text-muted); line-height: 2;
}
.brand-parent-logo { color: var(--color-text); font-weight: 500; }

/* ===== For Who ===== */
.section-for-who {
  background: var(--color-bg);
}
.for-who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.for-who-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.4s ease, transform 0.3s var(--ease);
}
.for-who-card:hover {
  border-color: rgba(74, 158, 255, 0.3);
  transform: translateY(-4px);
}
.for-who-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.for-who-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.for-who-card:hover .for-who-image img { transform: scale(1.05); }
.for-who-body { padding: 36px; }
.for-who-icon {
  width: 48px; height: 48px;
  color: var(--color-accent);
  margin-bottom: 20px;
}
.for-who-label {
  font-size: 0.68rem;
  letter-spacing: 0.4em;
  color: var(--color-accent);
  margin-bottom: 12px;
  font-weight: 400;
}
.for-who-card h3 {
  font-size: 1.3rem; font-weight: 700;
  margin-bottom: 12px;
}
.for-who-card > p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.9;
  margin-bottom: 24px;
}
.for-who-list {
  list-style: none;
  margin-bottom: 32px;
}
.for-who-list li {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  padding: 5px 0 5px 16px;
  position: relative;
}
.for-who-list li::before {
  content: '';
  position: absolute; left: 0; top: 50%;
  width: 6px; height: 1px;
  background: var(--color-accent);
}

/* ===== Why ===== */
.section-why { background: var(--color-bg-alt); }

/* Funnel */
.why-funnel {
  margin-bottom: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.funnel-step {
  width: 100%;
  display: flex;
  justify-content: center;
}
.funnel-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  text-align: center;
  transition: transform 0.3s ease;
}
.funnel-bar:hover { transform: scale(1.02); }
.funnel-bar-1 {
  width: 100%;
  background: rgba(74, 158, 255, 0.08);
  border: 1px solid rgba(74, 158, 255, 0.15);
  color: var(--color-text-muted);
}
.funnel-bar-2 {
  width: 72%;
  background: rgba(74, 158, 255, 0.12);
  border: 1px solid rgba(74, 158, 255, 0.25);
  color: var(--color-text);
}
.funnel-bar-3 {
  width: 48%;
  background: linear-gradient(135deg, rgba(74, 158, 255, 0.15), rgba(52, 211, 153, 0.15));
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: var(--color-accent-green);
  font-weight: 700;
}
.funnel-arrow {
  color: var(--color-text-muted);
  font-size: 0.8rem;
  padding: 8px 0;
  opacity: 0.5;
}

.why-steps { margin-top: 16px; }
.why-step { margin-bottom: 56px; }
.why-step:last-child { margin-bottom: 0; }
.why-step-header {
  display: flex; align-items: center;
  gap: 16px; margin-bottom: 28px;
}
.why-step-number {
  font-size: 0.7rem; letter-spacing: 0.3em;
  color: var(--color-accent); font-weight: 500; flex-shrink: 0;
}
.why-step-title { font-size: 1.3rem; font-weight: 600; }
.why-reasons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.why-reason {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px; padding: 28px;
  transition: border-color 0.3s ease, transform 0.3s var(--ease);
}
.why-reason:hover {
  border-color: rgba(74, 158, 255, 0.3);
  transform: translateY(-2px);
}
.why-reason-icon {
  font-size: 0.7rem; letter-spacing: 0.2em;
  color: var(--color-accent); margin-bottom: 10px; font-weight: 500;
}
.why-reason h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 8px; }
.why-reason p { font-size: 0.82rem; color: var(--color-text-muted); line-height: 1.8; }

/* ===== Fields Marquee ===== */
.section-fields {
  background: var(--color-bg);
  padding: 72px 0;
}
.fields-marquee { overflow: hidden; margin-top: -20px; }
.fields-track {
  display: flex; gap: 16px;
  animation: marquee 35s linear infinite;
  width: max-content;
}
.field-tag {
  flex-shrink: 0;
  padding: 10px 24px;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  white-space: nowrap;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.field-tag:hover { border-color: var(--color-accent); color: var(--color-accent); }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== Mid CTA ===== */
.section-mid-cta {
  background: var(--color-bg-alt);
  padding: 80px 0;
}
.mid-cta-box {
  background: linear-gradient(135deg, rgba(74, 158, 255, 0.06), rgba(52, 211, 153, 0.06));
  border: 1px solid rgba(74, 158, 255, 0.15);
  border-radius: 16px;
  padding: 56px;
  text-align: center;
}
.mid-cta-box h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.mid-cta-box p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

/* ===== Visual Break ===== */
.visual-break {
  position: relative;
  height: 50vh;
  min-height: 320px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.visual-break-sm { height: 30vh; min-height: 200px; }
.visual-break-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.visual-break-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,15,0.5), rgba(10,10,15,0.7));
}
.visual-break-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
}
.visual-break-quote {
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.visual-break-sub {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  letter-spacing: 0.1em;
}

/* ===== Services ===== */
.section-services { background: var(--color-bg); }
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.service-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.service-card:hover .service-card-image img { transform: scale(1.05); }
.service-card-body { padding: 36px; }
.service-card-header {
  display: flex; align-items: center;
  gap: 16px; margin-bottom: 24px;
}
.service-number {
  font-size: 0.75rem; letter-spacing: 0.2em;
  color: var(--color-accent); font-weight: 500;
}
.service-line { flex: 1; height: 1px; background: var(--color-border); }
.service-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 4px; }
.service-subtitle {
  font-size: 0.75rem; letter-spacing: 0.15em;
  color: var(--color-text-muted); margin-bottom: 20px;
}
.service-desc {
  font-size: 0.88rem; color: var(--color-text-muted);
  line-height: 1.9; margin-bottom: 24px;
}
.service-list { list-style: none; margin-bottom: 28px; }
.service-list li {
  font-size: 0.84rem; color: var(--color-text-muted);
  padding: 6px 0 6px 16px; position: relative;
}
.service-list li::before {
  content: '';
  position: absolute; left: 0; top: 50%;
  width: 6px; height: 1px; background: var(--color-accent);
}
.service-cta {
  font-size: 0.85rem; color: var(--color-accent);
  font-weight: 500; transition: letter-spacing 0.3s ease;
}
.service-cta:hover { letter-spacing: 0.1em; }

/* ===== Career Path ===== */
.section-career { background: var(--color-bg-alt); }
.career-grid {
  display: flex; flex-direction: column; gap: 20px;
}
.career-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 180px 1fr;
  transition: border-color 0.3s ease, transform 0.3s var(--ease);
}
.career-card:hover {
  border-color: rgba(74, 158, 255, 0.3);
  transform: translateY(-2px);
}
.career-card-image {
  overflow: hidden;
}
.career-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.career-card:hover .career-card-image img { transform: scale(1.05); }
.career-card-body {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  padding: 28px 32px;
}
.career-label {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--color-text-muted);
  margin-bottom: 8px;
  padding: 3px 10px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
}
.career-label-after {
  color: var(--color-accent-green);
  border-color: rgba(52, 211, 153, 0.3);
  background: rgba(52, 211, 153, 0.05);
}
.career-from h4, .career-to h4 {
  font-size: 1rem; font-weight: 600; margin-bottom: 4px;
}
.career-from p, .career-to p {
  font-size: 0.82rem; color: var(--color-text-muted); line-height: 1.6;
}
.career-arrow {
  width: 32px; height: 32px;
  color: var(--color-accent);
  flex-shrink: 0;
}

/* ===== Strengths ===== */
.section-strengths { background: var(--color-bg); }
.strengths-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.strength-item {
  padding: 36px;
  border-left: 2px solid var(--color-border);
  transition: border-color 0.3s ease;
}
.strength-item:hover { border-color: var(--color-accent); }
.strength-number {
  font-size: 0.7rem; letter-spacing: 0.3em;
  color: var(--color-accent); margin-bottom: 12px; font-weight: 500;
}
.strength-title {
  font-size: 1.15rem; font-weight: 600; margin-bottom: 12px;
}
.strength-desc {
  font-size: 0.85rem; color: var(--color-text-muted); line-height: 1.9;
}

/* ===== Positioning ===== */
.section-positioning {
  background: var(--color-bg-alt);
  padding: 80px 0;
}
.positioning-box {
  background: linear-gradient(135deg, rgba(74, 158, 255, 0.06), rgba(52, 211, 153, 0.06));
  border: 1px solid rgba(74, 158, 255, 0.15);
  border-radius: 12px;
  padding: 56px;
  text-align: center;
}
.positioning-label {
  font-size: 0.7rem; letter-spacing: 0.4em;
  color: var(--color-accent); margin-bottom: 16px;
}
.positioning-title {
  font-size: 1.5rem; font-weight: 700;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.positioning-desc {
  font-size: 0.92rem; color: var(--color-text-muted);
  line-height: 2; max-width: 700px;
  margin: 0 auto 40px;
}
.positioning-comparison {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.positioning-other, .positioning-us {
  flex: 1;
  max-width: 280px;
  padding: 28px;
  border-radius: 10px;
  text-align: center;
}
.positioning-other {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
}
.positioning-us {
  background: rgba(74, 158, 255, 0.08);
  border: 1px solid rgba(74, 158, 255, 0.3);
}
.positioning-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}
.positioning-tag-us {
  background: rgba(74, 158, 255, 0.1);
  color: var(--color-accent);
  border-color: rgba(74, 158, 255, 0.3);
}
.positioning-other p, .positioning-us p {
  font-size: 0.9rem; line-height: 1.6; font-weight: 500;
}
.positioning-other p small, .positioning-us p small {
  display: block;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  font-weight: 300;
  margin-top: 4px;
}
.positioning-vs {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-muted);
  letter-spacing: 0.1em;
}

/* ===== Roadmap ===== */
.section-roadmap { background: var(--color-bg); }
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.roadmap-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 36px;
  transition: border-color 0.3s ease;
  position: relative;
}
.roadmap-item.roadmap-active {
  border-color: var(--color-accent);
  box-shadow: 0 0 40px rgba(74, 158, 255, 0.1);
}
.roadmap-badge {
  position: absolute;
  top: -10px; right: 20px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-green));
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  padding: 4px 14px;
  border-radius: 100px;
}
.roadmap-phase {
  font-size: 0.7rem; letter-spacing: 0.3em;
  color: var(--color-accent); font-weight: 500; margin-bottom: 4px;
}
.roadmap-period {
  font-size: 0.78rem; color: var(--color-text-muted); margin-bottom: 16px;
}
.roadmap-item h3 {
  font-size: 1.05rem; font-weight: 600; margin-bottom: 10px;
}
.roadmap-item p {
  font-size: 0.82rem; color: var(--color-text-muted); line-height: 1.8;
}

/* ===== FAQ ===== */
.section-faq { background: var(--color-bg-alt); }
.faq-list {
  max-width: 800px;
}
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  background: none; border: none;
  color: var(--color-text);
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s ease;
}
.faq-question:hover { color: var(--color-accent); }
.faq-icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--color-accent);
  transition: transform 0.3s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
}
.faq-item.open .faq-answer {
  max-height: 300px;
}
.faq-answer p {
  padding-bottom: 24px;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.9;
}

/* ===== Flow ===== */
.section-flow { background: var(--color-bg); }
.flow-grid {
  display: flex; align-items: flex-start; gap: 0;
}
.flow-item {
  flex: 1; text-align: center; padding: 32px 20px;
}
.flow-step {
  font-size: 0.7rem; letter-spacing: 0.3em;
  color: var(--color-accent); margin-bottom: 16px; font-weight: 500;
}
.flow-item h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 10px; }
.flow-item p { font-size: 0.82rem; color: var(--color-text-muted); line-height: 1.8; }
.flow-connector {
  width: 40px; height: 1px;
  background: var(--color-border);
  margin-top: 70px; flex-shrink: 0;
}

/* ===== Contact ===== */
.section-contact { background: var(--color-bg-alt); }
.contact-form { max-width: 640px; }
.form-group { margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label {
  display: block; font-size: 0.8rem; font-weight: 500;
  margin-bottom: 8px; letter-spacing: 0.05em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 14px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  color: var(--color-text);
  font-family: var(--font-main);
  font-size: 0.9rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(74, 158, 255, 0.1);
}
.form-group select {
  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 d='M6 8L1 3h10z' fill='%238888a0'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ===== Company ===== */
.section-company { background: var(--color-bg); }
.company-table { max-width: 720px; }
.company-table table {
  width: 100%;
  border-collapse: collapse;
}
.company-table th,
.company-table td {
  padding: 18px 20px;
  font-size: 0.88rem;
  line-height: 1.8;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}
.company-table th {
  width: 140px;
  color: var(--color-text-muted);
  font-weight: 500;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.company-table td {
  color: var(--color-text);
}
@media (max-width: 768px) {
  .company-table th { width: 100px; font-size: 0.82rem; }
  .company-table td { font-size: 0.82rem; }
  .company-table th,
  .company-table td { padding: 14px 12px; }
}

/* ===== Footer ===== */
.footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: 60px 0 40px;
}
.footer-top {
  display: flex; justify-content: space-between;
  align-items: flex-start; margin-bottom: 40px;
}
.footer-logo {
  display: flex; align-items: baseline;
  gap: 8px; margin-bottom: 8px;
}
.footer-tagline { font-size: 0.8rem; color: var(--color-text-muted); margin-bottom: 4px; }
.footer-company { font-size: 0.72rem; color: var(--color-text-muted); opacity: 0.7; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a {
  font-size: 0.72rem; letter-spacing: 0.15em;
  color: var(--color-text-muted); transition: color 0.3s ease;
}
.footer-nav a:hover { color: var(--color-text); }
.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
}
.footer-bottom p {
  font-size: 0.72rem; color: var(--color-text-muted); letter-spacing: 0.05em;
}

/* ===== Animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav {
    position: fixed; inset: 0;
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center; justify-content: center;
    gap: 24px;
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  .nav.open { opacity: 1; visibility: visible; }
  .nav-link { font-size: 1rem; }
  .hamburger { display: block; }

  .numbers-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .for-who-grid { grid-template-columns: 1fr; }
  .for-who-card { padding: 32px; }
  .services-grid { grid-template-columns: 1fr; }
  .strengths-grid { grid-template-columns: 1fr; gap: 24px; }
  .why-reasons { grid-template-columns: 1fr; }
  .roadmap-grid { grid-template-columns: 1fr; }
  .brand-grid { gap: 24px; }
  .brand-kanji { font-size: 3rem; }
  .positioning-box { padding: 36px 24px; }
  .positioning-comparison { flex-direction: column; gap: 16px; }
  .positioning-other, .positioning-us { max-width: 100%; }
  .career-card {
    grid-template-columns: 1fr;
  }
  .career-card-image { aspect-ratio: 16 / 7; }
  .career-card-body {
    grid-template-columns: 1fr;
    gap: 16px; text-align: center;
  }
  .career-arrow { transform: rotate(90deg); margin: 0 auto; }

  .visual-break-image { background-attachment: scroll; }
  .mid-cta-box { padding: 36px 24px; }

  .funnel-bar-2 { width: 85%; }
  .funnel-bar-3 { width: 70%; }

  .flow-grid { flex-direction: column; align-items: center; }
  .flow-connector { width: 1px; height: 24px; margin: 0; }

  .footer-top { flex-direction: column; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }

  .section { padding: 80px 0; }
  .service-card-body { padding: 28px; }
}

@media (max-width: 480px) {
  .numbers-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .number-value { font-size: 2rem; }
  .hero-title { font-size: 1.8rem; }
  .hero-badges { gap: 8px; }
  .hero-badge { font-size: 0.65rem; padding: 5px 12px; }
}

/* ===========================
   Sub Pages (for-employers / for-jobseekers)
   =========================== */

/* ===== Sub Hero ===== */
.sub-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.sub-hero-bg { position: absolute; inset: 0; }
.sub-hero-image {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}
.sub-hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, var(--color-bg) 0%, transparent 30%, transparent 60%, var(--color-bg) 100%),
    radial-gradient(ellipse 80% 50% at 50% 80%, rgba(74, 158, 255, 0.1), transparent);
}
.sub-hero-content {
  position: relative; z-index: 1;
  text-align: center; padding: 100px 24px 60px;
}

/* ===== Pain Points ===== */
.section-pain { background: var(--color-bg-alt); }
.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.pain-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 36px;
  transition: border-color 0.3s ease, transform 0.3s var(--ease);
}
.pain-item:hover {
  border-color: rgba(255, 120, 100, 0.3);
  transform: translateY(-2px);
}
.pain-icon {
  width: 40px; height: 40px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  opacity: 0.6;
}
.pain-item h3 {
  font-size: 1rem; font-weight: 600;
  margin-bottom: 10px; line-height: 1.6;
}
.pain-item p {
  font-size: 0.84rem; color: var(--color-text-muted);
  line-height: 1.9;
}

/* ===== Solution ===== */
.section-solution { background: var(--color-bg); }
.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.solution-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 36px;
  transition: border-color 0.3s ease, transform 0.3s var(--ease);
}
.solution-card:hover {
  border-color: rgba(74, 158, 255, 0.3);
  transform: translateY(-2px);
}
.solution-number {
  font-size: 0.7rem; letter-spacing: 0.3em;
  color: var(--color-accent); margin-bottom: 12px; font-weight: 500;
}
.solution-card h3 {
  font-size: 1.05rem; font-weight: 600;
  margin-bottom: 10px;
}
.solution-card p {
  font-size: 0.84rem; color: var(--color-text-muted);
  line-height: 1.9;
}

/* ===== Services Detail (Employer page) ===== */
.services-detail-list {
  display: flex; flex-direction: column; gap: 40px;
}
.service-detail-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 44px;
  transition: border-color 0.3s ease;
}
.service-detail-item:hover {
  border-color: rgba(74, 158, 255, 0.2);
}
.service-detail-header {
  display: flex; align-items: center;
  gap: 16px; margin-bottom: 24px;
}
.service-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 24px;
}
.service-feature h4 {
  font-size: 0.82rem; font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

/* ===== Target Companies ===== */
.target-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.target-item {
  padding: 32px;
  border-left: 2px solid var(--color-border);
  transition: border-color 0.3s ease;
}
.target-item:hover { border-color: var(--color-accent); }
.target-number {
  font-size: 0.7rem; letter-spacing: 0.3em;
  color: var(--color-accent); margin-bottom: 10px; font-weight: 500;
}
.target-item h3 {
  font-size: 1.05rem; font-weight: 600; margin-bottom: 8px;
}
.target-item p {
  font-size: 0.84rem; color: var(--color-text-muted); line-height: 1.8;
}

/* ===== Appeal (Jobseeker page) ===== */
.appeal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.appeal-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 36px;
  transition: border-color 0.3s ease, transform 0.3s var(--ease);
}
.appeal-item:hover {
  border-color: rgba(52, 211, 153, 0.3);
  transform: translateY(-2px);
}
.appeal-number {
  font-size: 0.7rem; letter-spacing: 0.3em;
  color: var(--color-accent-green); margin-bottom: 12px; font-weight: 500;
}
.appeal-item h3 {
  font-size: 1.05rem; font-weight: 600; margin-bottom: 10px;
}
.appeal-item p {
  font-size: 0.84rem; color: var(--color-text-muted); line-height: 1.9;
}

/* ===== Positions (Jobseeker page) ===== */
.positions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.position-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 36px;
  transition: border-color 0.3s ease;
}
.position-card:hover {
  border-color: rgba(74, 158, 255, 0.25);
}
.position-category {
  font-size: 0.75rem; letter-spacing: 0.3em;
  color: var(--color-accent); font-weight: 500;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}
.position-list {
  list-style: none;
}
.position-list li {
  font-size: 0.88rem; color: var(--color-text-muted);
  padding: 7px 0 7px 16px; position: relative;
}
.position-list li::before {
  content: '';
  position: absolute; left: 0; top: 50%;
  width: 6px; height: 1px;
  background: var(--color-accent);
}

/* ===== Support (Jobseeker page) ===== */
.support-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.support-item {
  text-align: center;
  padding: 28px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  transition: border-color 0.3s ease, transform 0.3s var(--ease);
}
.support-item:hover {
  border-color: rgba(74, 158, 255, 0.25);
  transform: translateY(-2px);
}
.support-step {
  font-size: 0.7rem; letter-spacing: 0.3em;
  color: var(--color-accent); margin-bottom: 14px; font-weight: 500;
}
.support-item h3 {
  font-size: 0.92rem; font-weight: 600; margin-bottom: 10px;
}
.support-item p {
  font-size: 0.78rem; color: var(--color-text-muted); line-height: 1.8;
}

/* ===== Sub Page Responsive ===== */
@media (max-width: 768px) {
  .sub-hero { min-height: 60vh; }
  .sub-hero-content { padding: 80px 24px 40px; }
  .pain-grid { grid-template-columns: 1fr; }
  .solution-grid { grid-template-columns: 1fr; }
  .service-detail-item { padding: 28px; }
  .service-features { grid-template-columns: 1fr; gap: 24px; }
  .target-grid { grid-template-columns: 1fr; }
  .appeal-grid { grid-template-columns: 1fr; }
  .positions-grid { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .support-grid { grid-template-columns: 1fr; }
}
