/* VENTRA Recruit — independent styles */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: #e8e8e8;
  background: #0a0a0a;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: #d4ff00; }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid #d4ff00;
  outline-offset: 3px;
}
.container { width: min(1140px, 92vw); margin-inline: auto; }
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px 20px;
  background: #d4ff00;
  color: #0a0a0a;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* Header */
.recruit-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 20px 0;
  mix-blend-mode: difference;
}
.recruit-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.recruit-header__start {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 20px);
  min-width: 0;
}
.demo-hub-back {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.02em;
  opacity: 0.75;
  white-space: nowrap;
}
.demo-hub-back:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.demo-hub-back:focus-visible {
  outline: 2px solid #d4ff00;
  outline-offset: 3px;
}
.recruit-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.recruit-nav { display: flex; gap: clamp(12px, 2vw, 24px); flex-wrap: wrap; }
.recruit-nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: 0.82rem; white-space: nowrap; }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 15%;
  right: -10%;
  width: 55%;
  height: 70%;
  background: #d4ff00;
  opacity: 0.12;
  transform: rotate(-8deg);
  z-index: 0;
}
.hero__inner { position: relative; z-index: 1; }
.hero__tag {
  font-size: clamp(0.85rem, 2vw, 1rem);
  font-weight: 700;
  color: #d4ff00;
  margin: 0 0 20px;
  letter-spacing: 0.05em;
}
.hero h1 {
  font-size: clamp(2rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.08;
  margin: 0 0 24px;
  color: #fff;
  white-space: pre-line;
  overflow-wrap: anywhere;
  overflow-wrap: break-word;
}
.hero__lead {
  max-width: 28em;
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  color: #aaa;
  margin: 0 0 32px;
  white-space: pre-line;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-weight: 700;
  font-size: 0.9rem;
  font-family: inherit;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s;
}
.btn--lime { background: #d4ff00; color: #0a0a0a; }
.btn--lime:hover { transform: scale(1.02); text-decoration: none; color: #0a0a0a; }
.btn--ghost { background: transparent; color: #fff; border: 2px solid #fff; }
.btn--ghost:hover { background: rgba(255,255,255,0.08); text-decoration: none; color: #fff; }
.btn--sm { padding: 10px 20px; font-size: 0.82rem; }

/* Sections */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section__kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #666;
  margin: 0 0 12px;
}
.section__title {
  font-size: clamp(1.75rem, 4.5vw, 3.5rem);
  font-weight: 800;
  margin: 0 0 32px;
  line-height: 1.12;
  color: #fff;
  overflow-wrap: anywhere;
}
.section__title--accent { color: #d4ff00; }
.section__intro { max-width: 640px; color: #999; margin: -16px 0 40px; }

/* Business */
.section--business { position: relative; }
.section--business::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -5%;
  width: 40%;
  height: 1px;
  background: linear-gradient(90deg, #d4ff00, transparent);
  transform: rotate(-2deg);
}
.business__lead {
  max-width: 720px;
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: #bbb;
  margin: 0 0 32px;
  line-height: 1.8;
}
.business__services {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 0 0 56px;
  padding: 0;
}
.business__services li {
  padding: 8px 16px;
  border: 1px solid #333;
  font-size: 0.88rem;
  color: #ccc;
}
.business-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: bizstep;
}
.business-steps li {
  position: relative;
  padding: 32px 28px 28px;
  background: #141414;
  border-top: 3px solid #d4ff00;
  transform: skewY(-1deg);
}
.business-steps h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  color: #fff;
}
.business-steps p { margin: 0; color: #999; font-size: 0.92rem; }
.business-steps__num {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: #d4ff00;
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 16px;
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.value-card {
  padding: 32px;
  border: 1px solid #333;
  background: #141414;
  transform: skewY(-1deg);
}
.value-card h3 { margin: 0 0 8px; color: #d4ff00; font-size: 1.15rem; }
.value-card p { margin: 0; color: #999; font-size: 0.92rem; }

/* Project story */
.section--project { background: #0e0e0e; }
.project-story { display: grid; gap: 48px; }
.project-story__visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  max-height: 520px;
}
.project-story__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-story__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(212,255,0,0.15));
  pointer-events: none;
}
.project-story__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  font-size: 0.88rem;
  color: #888;
  margin-bottom: 8px;
}
.project-story__meta dt { font-weight: 700; color: #d4ff00; display: inline; }
.project-story__meta dd { display: inline; margin: 0; }
.project-story__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.project-block h3 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d4ff00;
  margin: 0 0 12px;
}
.project-block p, .project-block ul { margin: 0; color: #bbb; }
.project-block ul { padding-left: 1.2em; }
.project-block li { margin-bottom: 4px; }
.project-story__comment {
  padding: 32px;
  border-left: 4px solid #d4ff00;
  background: #141414;
  font-style: italic;
  color: #ccc;
}
.project-story__comment cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-size: 0.88rem;
  color: #888;
}

/* Members */
.member-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.member-card {
  position: relative;
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: inherit;
  overflow: hidden;
  aspect-ratio: 3/4;
}
.member-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.member-card:hover .member-card__img,
.member-card:focus-visible .member-card__img { transform: scale(1.03); }
.member-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(transparent 40%, rgba(0,0,0,0.85));
}
.member-card__name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px;
}
.member-card__role {
  font-size: 0.82rem;
  color: #d4ff00;
  margin: 0;
}
.member-card__hint {
  font-size: 0.72rem;
  color: #888;
  margin-top: 8px;
}

/* Day timeline */
.section--schedule { background: linear-gradient(180deg, #0a0a0a, #111); }
.day-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 640px;
  position: relative;
}
.day-timeline::before {
  content: "";
  position: absolute;
  left: 72px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: #333;
}
.day-timeline li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  padding: 0 0 28px;
  position: relative;
}
.day-timeline li:last-child { padding-bottom: 0; }
.day-timeline__time {
  font-size: 0.88rem;
  font-weight: 700;
  color: #d4ff00;
  text-align: right;
  padding-top: 2px;
  white-space: nowrap;
}
.day-timeline__task {
  position: relative;
  padding-left: 20px;
  color: #ccc;
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}
.day-timeline__task::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d4ff00;
  box-shadow: 0 0 0 4px #0a0a0a;
}

/* Jobs accordion */
.jobs-accordion { display: flex; flex-direction: column; gap: 0; }
.job-item { border-bottom: 1px solid #333; }
.job-item__heading { margin: 0; }
.job-item__btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  background: none;
  border: none;
  color: #fff;
  font-family: inherit;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.job-item__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
}
.job-item__icon::before,
.job-item__icon::after {
  content: "";
  position: absolute;
  background: #d4ff00;
  transition: transform 0.2s;
}
.job-item__icon::before { width: 14px; height: 2px; top: 9px; left: 3px; }
.job-item__icon::after { width: 2px; height: 14px; top: 3px; left: 9px; }
.job-item__btn[aria-expanded="true"] .job-item__icon::after { transform: scaleY(0); }
.job-item__panel {
  padding: 0 0 32px;
  color: #bbb;
}
.job-item__panel[hidden] { display: none; }
.job-detail__desc { margin: 0 0 24px; max-width: 720px; }
.job-detail__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.job-detail__grid h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #d4ff00;
  margin: 0 0 8px;
  text-transform: uppercase;
}
.job-detail__grid ul { margin: 0; padding-left: 1.2em; }
.job-detail__grid li { margin-bottom: 4px; font-size: 0.92rem; }
.job-detail__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
  padding: 20px;
  background: #141414;
  border: 1px solid #2a2a2a;
}
.job-detail__meta dt { font-size: 0.72rem; color: #888; margin-bottom: 4px; }
.job-detail__meta dd { margin: 0; font-weight: 600; color: #fff; font-size: 0.92rem; }

/* Benefits */
.section--benefits { background: #0e0e0e; }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.benefit-item {
  padding: 24px;
  background: #141414;
  border: 1px solid #2a2a2a;
  transform: skewY(-0.5deg);
}
.benefit-item h3 {
  margin: 0 0 8px;
  font-size: 0.95rem;
  color: #fff;
}
.benefit-item p { margin: 0; font-size: 0.85rem; color: #999; line-height: 1.6; }

/* Stats */
.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 5vw, 48px);
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}
.stat__num {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #d4ff00;
  line-height: 1;
  margin: 0;
}
.stat__label { color: #888; margin: 8px 0 0; font-size: 0.88rem; }

/* Flow — ul only, no ol to avoid double numbering */
.section--flow { background: #0e0e0e; }
.flow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.flow-list li {
  padding: 24px 20px;
  background: #141414;
  border-top: 2px solid #333;
  position: relative;
}
.flow-list li::before {
  content: attr(data-step);
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #d4ff00;
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 12px;
}
.flow-list h3 {
  margin: 0 0 8px;
  font-size: 0.95rem;
  color: #fff;
}
.flow-list p { margin: 0; font-size: 0.82rem; color: #999; line-height: 1.55; }

/* Entry */
.section--entry { text-align: center; }
.entry-block__lead { color: #999; margin: -16px auto 32px; max-width: 480px; }

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0,0,0,0.75);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}
.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.modal-overlay[hidden] { display: none; }
.modal-overlay.is-open[hidden] { display: flex; }
.modal {
  position: relative;
  width: min(720px, 100%);
  max-height: min(90vh, 900px);
  overflow-y: auto;
  background: #141414;
  border: 1px solid #333;
  padding: 40px 32px 32px;
  outline: none;
}
.modal--entry { width: min(560px, 100%); }
.modal--thanks { text-align: center; width: min(480px, 100%); }
.modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}
.modal__title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 24px;
}
.modal__member-header {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.modal__member-photo {
  width: 120px;
  flex-shrink: 0;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.modal__member-info h2 { margin: 0 0 4px; font-size: 1.5rem; color: #fff; }
.modal__member-info p { margin: 0; color: #d4ff00; font-size: 0.9rem; }
.modal-detail { margin-bottom: 24px; }
.modal-detail h3 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #d4ff00;
  margin: 0 0 8px;
  text-transform: uppercase;
}
.modal-detail p { margin: 0; color: #bbb; }
.modal-schedule {
  list-style: none;
  margin: 0;
  padding: 0;
}
.modal-schedule li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #2a2a2a;
  font-size: 0.88rem;
}
.modal-schedule__time { color: #d4ff00; font-weight: 700; white-space: nowrap; }
.modal-schedule__task { color: #ccc; margin: 0; overflow-wrap: anywhere; }

/* Form */
.entry-form { display: flex; flex-direction: column; gap: 20px; }
.form-field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #ccc;
  margin-bottom: 8px;
}
.required { font-size: 0.72rem; color: #d4ff00; font-weight: 700; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 1rem;
  color: #fff;
  background: #0a0a0a;
  border: 1px solid #444;
}
.form-field input:invalid:not(:focus),
.form-field select:invalid:not(:focus) { border-color: #444; }
.form-error {
  margin: 6px 0 0;
  font-size: 0.82rem;
  color: #ff6b6b;
  min-height: 1.2em;
}
.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* Reveal */
.reveal-text {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-text.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal-text { opacity: 1; transform: none; transition: none; }
}

/* Footer */
.site-footer {
  padding: 48px 0;
  border-top: 1px solid #222;
  text-align: center;
  color: #666;
  font-size: 0.82rem;
}
.site-footer a { color: #888; }
.site-footer__demo { font-size: 0.72rem; margin-top: 12px; }

/* Responsive */
@media (max-width: 1024px) {
  .business-steps { grid-template-columns: 1fr; }
  .business-steps li { transform: none; }
  .project-story__grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-list { grid-template-columns: repeat(3, 1fr); }
  .job-detail__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .values-grid, .member-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .flow-list { grid-template-columns: 1fr; }
  .value-card, .benefit-item { transform: none; }
  .recruit-header__inner { flex-wrap: wrap; }
  .recruit-header__start { width: 100%; }
  .recruit-nav { gap: 10px; }
  .recruit-nav a { font-size: 0.72rem; }
  .day-timeline::before { left: 56px; }
  .day-timeline li { grid-template-columns: 56px 1fr; gap: 16px; }
  .day-timeline__time { font-size: 0.8rem; }
  .modal { padding: 32px 20px 24px; }
  .modal__member-header { flex-direction: column; }
}

@media (max-width: 390px) {
  .hero h1 { font-size: clamp(1.75rem, 9vw, 2.25rem); }
  .section__title { font-size: clamp(1.5rem, 8vw, 2rem); }
  .btn { padding: 14px 24px; font-size: 0.85rem; }
  .day-timeline li { grid-template-columns: 52px 1fr; gap: 12px; }
  .day-timeline::before { left: 48px; }
  .day-timeline__time { font-size: 0.75rem; }
  .form-actions { flex-direction: column; }
  .form-actions .btn { width: 100%; }
}
