/* ==========================================================================
   neucreed corporate site
   依存ライブラリなし。カスタムプロパティでトークンを管理する。
   ========================================================================== */

:root {
  --navy: #022261;
  --navy-deep: #01163f;
  --blue: #1a5fd0;
  --cyan: #4fc3ff;
  --ink: #0f172a;
  --muted: #5b6474;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --line: #e3e8f0;
  --radius: 14px;
  --header-h: 72px;
  --container: 1100px;
  --font: "Noto Sans JP", system-ui, -apple-system, "Hiragino Sans", "Yu Gothic", sans-serif;
  --shadow: 0 10px 30px rgba(2, 34, 97, 0.08);
  --shadow-lg: 0 24px 60px rgba(2, 34, 97, 0.14);
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.pc-only { display: none; }
@media (min-width: 768px) { .pc-only { display: inline; } }

.skip-link {
  position: absolute; left: 8px; top: -100px; z-index: 100;
  padding: 8px 14px; background: var(--navy); color: #fff; border-radius: 8px;
}
.skip-link:focus { top: 8px; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 28px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: 0.02em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--navy); box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.btn--light:hover { box-shadow: 0 14px 32px rgba(0, 0, 0, .24); }
.btn--ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, .55); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn--lg { min-height: 56px; padding: 0 40px; font-size: 16px; }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(2, 34, 97, .06); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; }
.brand img { height: 52px; width: auto; }
@media (max-width: 767px) { .brand img { height: 44px; } }

.site-nav ul { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  display: inline-block; padding: 8px 14px; border-radius: 8px;
  color: var(--ink); font-weight: 500; font-size: 15px;
  transition: background .2s ease, color .2s ease;
}
.site-nav a:hover { background: var(--bg-soft); color: var(--navy); text-decoration: none; }
.site-nav__cta, .site-nav a.site-nav__cta {
  margin-left: 8px; padding: 9px 20px; border-radius: 999px;
  background: var(--navy); color: #fff;
}
.site-nav a.site-nav__cta:hover { background: var(--blue); color: #fff; }

.nav-toggle {
  display: none; position: relative; width: 44px; height: 44px;
  padding: 0; border: 0; background: transparent; cursor: pointer;
}
.nav-toggle span {
  position: absolute; left: 10px; width: 24px; height: 2px; border-radius: 2px;
  background: var(--navy); transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 767px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(2, 34, 97, .12);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform .25s ease, opacity .2s ease, visibility 0s linear .25s;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 20px; }
  .site-nav a { display: block; padding: 14px 8px; font-size: 16px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav li:last-child a { border-bottom: 0; }
  .site-nav a.site-nav__cta { margin: 12px 0 0; text-align: center; border-radius: 999px; }
}

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 96px) 0 112px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 50%, #0b3a8c 100%);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__bg::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
}
.hero__bg::after {
  content: ""; position: absolute; width: 720px; height: 720px; right: -200px; top: -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 195, 255, .35) 0%, rgba(79, 195, 255, 0) 65%);
}
/* ロゴマークのストライプを抽象化した斜めのバー */
.hero__bar {
  position: absolute; top: -20%; height: 140%; width: 56px;
  transform: skewX(-22deg);
  background: linear-gradient(180deg, rgba(79, 195, 255, 0) 0%, rgba(79, 195, 255, .55) 50%, rgba(79, 195, 255, 0) 100%);
  opacity: .5;
}
.hero__bar--1 { right: 26%; width: 28px; }
.hero__bar--2 { right: 20%; }
.hero__bar--3 { right: 11%; width: 36px; opacity: .35; }
.hero__bar--4 { right: 4%; width: 18px; opacity: .7; }

.hero__inner { position: relative; max-width: 760px; }
.hero__eyebrow {
  display: inline-block; margin-bottom: 20px; padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan); border: 1px solid rgba(79, 195, 255, .4); background: rgba(79, 195, 255, .08);
}
.hero__title {
  font-size: clamp(38px, 7vw, 72px); font-weight: 700; line-height: 1.2; letter-spacing: .02em;
  margin-bottom: 24px;
}
.hero__accent {
  background: linear-gradient(90deg, #8fdcff 0%, var(--cyan) 50%, #bfe9ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { font-size: clamp(15px, 1.6vw, 17px); color: rgba(255, 255, 255, .82); margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Sections --------------------------------------------------------------- */
.section { padding: 104px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark {
  color: #fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(79, 195, 255, .18) 0%, rgba(79, 195, 255, 0) 45%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
}
.section__head { max-width: 680px; margin-bottom: 56px; }
.section__label {
  font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 10px;
}
.section--dark .section__label, .section__label--light { color: var(--cyan); }
.section__title {
  font-size: clamp(28px, 4vw, 40px); font-weight: 700; line-height: 1.3; letter-spacing: .02em;
  position: relative; padding-bottom: 18px; margin-bottom: 18px;
}
.section__title::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}
.section__lead { color: var(--muted); }

/* Business cards --------------------------------------------------------- */
.cards { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
  position: relative; padding: 36px 32px 32px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card::before {
  content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 4px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--navy), var(--cyan));
  opacity: 0; transition: opacity .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { opacity: 1; }
.card__icon {
  width: 56px; height: 56px; margin-bottom: 22px; border-radius: 14px; display: grid; place-items: center;
  color: #fff; background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  box-shadow: 0 10px 24px rgba(26, 95, 208, .3);
}
.card__icon svg { width: 28px; height: 28px; }
.card__title { font-size: 20px; font-weight: 700; margin-bottom: 12px; letter-spacing: .02em; }
.card__title small { font-size: 13px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.card__text { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  font-size: 12px; font-weight: 500; padding: 5px 12px; border-radius: 999px;
  color: var(--navy); background: var(--bg-soft); border: 1px solid var(--line);
}

/* Company ---------------------------------------------------------------- */
.company {
  border-top: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .03);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
}
.company__row {
  display: grid; grid-template-columns: 160px 1fr; gap: 16px;
  padding: 20px 28px; border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.company__row:last-child { border-bottom: 0; }
.company dt { font-weight: 700; color: var(--cyan); font-size: 14px; letter-spacing: .04em; padding-top: 2px; }
.company dd { color: rgba(255, 255, 255, .9); font-size: 15px; }
.company dd a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .4); }
.company dd a:hover { text-decoration-color: #fff; }
.company__sub { display: block; font-size: 13px; color: rgba(255, 255, 255, .6); }
@media (max-width: 600px) {
  .company__row { grid-template-columns: 1fr; gap: 4px; padding: 16px 20px; }
}

/* Recruit ---------------------------------------------------------------- */
.notice {
  max-width: 640px; padding: 32px 36px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  border-left: 5px solid var(--navy);
}
.notice__title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.notice__text { color: var(--muted); }

/* Contact ---------------------------------------------------------------- */
.section--cta {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 60%, #2d8de8 100%);
}
.section--cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, transparent 70%);
}
.cta { position: relative; max-width: 640px; }
.cta__title { font-size: clamp(26px, 4vw, 36px); font-weight: 700; margin-bottom: 14px; letter-spacing: .02em; }
.cta__text { color: rgba(255, 255, 255, .85); margin-bottom: 32px; }

/* Footer ----------------------------------------------------------------- */
.site-footer { padding: 36px 0; border-top: 1px solid var(--line); background: #fff; }
.site-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer__logo { width: 120px; }
.site-footer__copy { font-size: 13px; color: var(--muted); }

/* Reveal on scroll ------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.cards .card:nth-child(2) { transition-delay: .08s; }
.cards .card:nth-child(3) { transition-delay: .16s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}

/* Small screens ---------------------------------------------------------- */
@media (max-width: 767px) {
  .hero { padding: calc(var(--header-h) + 64px) 0 80px; }
  .section { padding: 72px 0; }
  .section__head { margin-bottom: 36px; }
  .card { padding: 28px 24px 24px; }
  .notice { padding: 24px; }
}
