@charset "UTF-8";
/* ============================================================
   GROW UP SYSTEMS — index.css
   TOPページ専用スタイル
   ============================================================ */

/* ---- HERO ------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-message {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  padding: clamp(110px, 18vh, 150px) var(--pad) 80px clamp(20px, 6vw, 96px);
}
.hero-message-inner { max-width: 580px; }
.hero h1 { font-size: clamp(36px, 4.6vw, 58px); margin-bottom: 26px; }
.hero h1 .quote { color: var(--accent); }
.hero p.lead { font-size: 18px; color: var(--ink-soft); max-width: 480px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-actions .btn { font-size: 15px; padding: 17px 30px; }

.hero-code {
  position: relative;
  background: var(--editor-bg);
  border-left: 1px solid var(--line);
  overflow: hidden;
}
.hero-code::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--editor-fade) 0%, var(--editor-fade-mid) 12%, transparent 30%);
  pointer-events: none;
  z-index: 1;
}
.code-editor {
  position: absolute; inset: 0;
  padding: 80px 36px 36px;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.9;
  color: var(--editor-text);
  overflow: hidden;
  white-space: pre;
}
.code-editor .ln { display: inline-block; width: 28px; color: var(--editor-lineno); user-select: none; }
.code-editor .tok-key { color: var(--editor-key); }
.code-editor .tok-str { color: var(--editor-str); }
.code-editor .tok-fn  { color: var(--editor-fn); }
.code-editor .tok-com { color: var(--editor-com); }
.code-editor .tok-num { color: var(--editor-num); }
.code-editor .cursor {
  display: inline-block; width: 7px; height: 16px; background: var(--accent);
  vertical-align: -3px; animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-message { padding: 120px var(--pad) 48px; }
  .hero-code { height: 380px; border-left: none; border-top: 1px solid var(--line); }
  .hero-code::after { background: linear-gradient(180deg, var(--editor-fade) 0%, transparent 18%); }
  .code-editor { padding: 28px 24px; font-size: 12.5px; }
}

/* スマホではFVのコーディングアニメーションを非表示 */
@media (max-width: 600px) {
  .hero-code { display: none; }
}

/* ---- Business section（事業内容：中央寄せ） --------------- */
.biz h2 { text-align: center; }
.biz .section-lead { text-align: center; max-width: none; margin-left: auto; margin-right: auto; }
.biz .feature-card .num { font-size: 22px; margin-bottom: 18px; }
.biz .feature-icon { width: 72px; height: 72px; }

/* ---- Feature cards ---------------------------------------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--bg-raised); border: 1px solid var(--line); border-radius: 8px; padding: 32px 26px;
}
.feature-card .num { font-family: var(--font-mono); font-size: 13px; color: var(--accent); margin-bottom: 20px; display: block; }
.feature-icon { display: block; width: 60px; height: 60px; margin: 0 auto 22px; }
.feature-icon img { width: 100%; height: 100%; object-fit: contain; }
.feature-icon .icon-light { display: none; }
html[data-theme="light"] .feature-icon .icon-dark { display: none; }
html[data-theme="light"] .feature-icon .icon-light { display: block; }
.feature-card h3 { font-size: 17px; margin-bottom: 10px; font-weight: 700; }
.feature-card p { font-size: 14px; color: var(--ink-soft); }
@media (max-width: 760px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---- Tech tags -------------------------------------------- */
.tag-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.tag {
  font-family: var(--font-mono); font-size: 13px; color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: 4px; padding: 8px 16px; background: var(--bg-raised);
}

/* ---- Representative message ------------------------------- */
.message-box { display: flex; gap: 28px; align-items: flex-start; max-width: 720px; }
.avatar-circle {
  width: 64px; height: 64px; border-radius: 50%; background: var(--accent-soft); color: var(--accent);
  border: 1px solid var(--accent-glow);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 22px;
  flex-shrink: 0;
}
.message-box .name { font-size: 14px; color: var(--ink-soft); margin-bottom: 14px; }
.message-box blockquote {
  font-family: var(--font-display); font-size: clamp(19px, 2.2vw, 24px); font-weight: 500; line-height: 1.7; margin-bottom: 20px;
}
@media (max-width: 600px) { .message-box { flex-direction: column; } }

/* ---- Recruit band ----------------------------------------- */
.recruit-section { background: var(--recruit-bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.recruit-section .wrap { text-align: center; }
.recruit-section .eyebrow { color: var(--accent); justify-content: center; }
.recruit-section .eyebrow::before { background: var(--accent); }
.recruit-section h2 { color: var(--ink); }
.recruit-section p.lead { color: var(--ink-soft); margin-left: auto; margin-right: auto; }
.recruit-section .btn-primary { background: var(--accent); color: var(--btn-primary-ink); }
.recruit-section .btn-primary:hover { background: var(--accent-deep); }
