:root {
  --navy: #070b18;
  --navy-2: #0d1428;
  --navy-3: #141d38;
  --text: #0f1424;
  --text-sub: #5b6378;
  --text-inv: #e8ecf7;
  --text-inv-sub: #9aa4bf;
  --line: #e4e7ef;
  --line-inv: rgba(255, 255, 255, 0.08);
  --bg-sub: #f4f6fb;
  --blue: #3366ff;
  --cyan: #22d3ee;
  --grad: linear-gradient(120deg, #3366ff 0%, #22d3ee 100%);
  --max: 1160px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.nw { white-space: nowrap; }
.en { font-family: "Inter", sans-serif; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s;
  border-bottom: 1px solid transparent;
  color: #fff;
}
.header.is-scrolled, .header--solid {
  background: rgba(7, 11, 24, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--line-inv);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { font-family: "Inter", sans-serif; font-weight: 800; font-size: 24px; letter-spacing: .12em; display: flex; align-items: center; gap: 10px; }
.logo__mark { width: 30px; height: 30px; border-radius: 8px; background: var(--grad); position: relative; }
.logo__mark::after { content: ""; position: absolute; inset: 8px; border: 2px solid #fff; border-radius: 3px; transform: rotate(45deg); }
.nav { display: flex; align-items: center; gap: 34px; font-size: 14px; }
.nav a { color: var(--text-inv-sub); transition: color .2s; }
.nav a:hover { color: #fff; }
.nav .nav__cta {
  color: #fff; padding: 10px 22px; border-radius: 999px;
  background: var(--grad); font-weight: 600;
  box-shadow: 0 8px 24px -8px rgba(51, 102, 255, .7);
}
.nav .nav__cta:hover { color: #fff; filter: brightness(1.1); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: var(--navy); color: #fff; overflow: hidden; padding: 140px 0 120px;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__grid {
  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: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 80%);
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.hero__glow--1 { width: 560px; height: 560px; background: #2747ff; top: -160px; right: -120px; animation: float 14s ease-in-out infinite; }
.hero__glow--2 { width: 420px; height: 420px; background: #0fb5d6; bottom: -180px; left: 10%; opacity: .35; animation: float 18s ease-in-out infinite reverse; }
.hero__bigtext {
  position: absolute; right: -2vw; bottom: -6vw; font-family: "Inter", sans-serif; font-weight: 800;
  font-size: 30vw; line-height: 1; letter-spacing: -.04em; color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.06); user-select: none;
}
@keyframes float { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-40px, 30px); } }

.hero__inner { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.hero__label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Inter", sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .22em;
  color: var(--cyan); padding: 8px 16px; border: 1px solid rgba(34, 211, 238, .3); border-radius: 999px;
  background: rgba(34, 211, 238, .06);
}
.hero__label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.hero__title { margin-top: 28px; font-size: clamp(26px, 4.2vw, 54px); font-weight: 900; line-height: 1.32; letter-spacing: .01em; }
.hero__lead { margin-top: 28px; max-width: 540px; color: var(--text-inv-sub); font-size: 16px; }
.hero__actions { margin-top: 44px; display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 16px 32px; border-radius: 999px;
  font-weight: 700; font-size: 15px; transition: transform .25s var(--ease), box-shadow .25s, background .25s;
}
.btn__arrow { transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 14px 36px -12px rgba(51, 102, 255, .8); }
.btn--primary:hover { transform: translateY(-2px); }
.btn--ghost { color: #fff; border: 1px solid rgba(255,255,255,.2); }
.btn--ghost:hover { background: rgba(255,255,255,.06); }

/* hero visual */
.hero__visual { position: relative; }
.dash {
  position: relative; border-radius: 20px; padding: 24px;
  background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
}
.dash__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.dash__title { font-family: "Inter", sans-serif; font-size: 12px; letter-spacing: .14em; color: var(--text-inv-sub); }
.dash__dots { display: flex; gap: 6px; }
.dash__dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.18); }
.dash svg { width: 100%; height: auto; display: block; }
.dash__line { stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 2.4s var(--ease) .4s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.dash__bars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.dash__bar { padding: 14px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); }
.dash__bar span { display: block; font-size: 11px; color: var(--text-inv-sub); }
.dash__bar b { display: block; margin-top: 8px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.08); position: relative; overflow: hidden; }
.dash__bar b::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--grad); border-radius: 3px; animation: grow 1.8s var(--ease) .8s both; }
@keyframes grow { from { width: 0; } }
.chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 14px; font-size: 13px; font-weight: 700;
  background: rgba(13, 20, 40, .85); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -16px rgba(0,0,0,.7);
  animation: bob 6s ease-in-out infinite;
}
.chip i { width: 28px; height: 28px; border-radius: 8px; background: var(--grad); display: grid; place-items: center; font-style: normal; font-size: 13px; }
.chip--1 { top: -22px; left: -28px; }
.chip--2 { bottom: -24px; right: -18px; animation-delay: -3s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.scroll-hint {
  position: absolute; left: 50%; bottom: 32px; transform: translateX(-50%);
  font-family: "Inter", sans-serif; font-size: 11px; letter-spacing: .3em; color: var(--text-inv-sub);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-hint::after { content: ""; width: 1px; height: 40px; background: linear-gradient(var(--cyan), transparent); animation: hint 2s ease-in-out infinite; }
@keyframes hint { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--navy-2); color: #fff; border-top: 1px solid var(--line-inv); border-bottom: 1px solid var(--line-inv); overflow: hidden; padding: 22px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span { font-family: "Inter", sans-serif; font-weight: 800; font-size: 28px; letter-spacing: .04em; padding: 0 28px; white-space: nowrap; color: rgba(255,255,255,.85); }
.marquee__track span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.35); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section ---------- */
.section { padding: 130px 0; position: relative; }
.section--sub { background: var(--bg-sub); }
.section--dark { background: var(--navy); color: #fff; overflow: hidden; }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 64px; flex-wrap: wrap; }
.section__en { font-family: "Inter", sans-serif; font-size: clamp(44px, 7vw, 88px); font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.section--dark .section__en { color: #fff; }
.section__title { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-size: 15px; font-weight: 700; color: var(--blue); }
.section--dark .section__title { color: var(--cyan); }
.section__title::before { content: ""; width: 28px; height: 2px; background: var(--grad); }
.section__desc { max-width: 440px; color: var(--text-sub); font-size: 15px; }
.section--dark .section__desc { color: var(--text-inv-sub); }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service {
  position: relative; padding: 44px 40px 40px; border-radius: 24px; background: #fff;
  border: 1px solid var(--line); overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.service::before {
  content: ""; position: absolute; inset: 0; background: var(--grad); opacity: 0; transition: opacity .4s var(--ease);
}
.service > * { position: relative; }
.service:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(51, 102, 255, .45); border-color: transparent; }
.service:hover::before { opacity: 1; }
.service:hover, .service:hover .service__text, .service:hover .service__num { color: #fff; }
.service:hover .service__icon { background: rgba(255,255,255,.18); color: #fff; }
.service:hover .service__tags li { background: rgba(255,255,255,.16); color: #fff; }
.service__top { display: flex; justify-content: space-between; align-items: flex-start; }
.service__icon { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: #eef2ff; color: var(--blue); transition: background .4s, color .4s; }
.service__icon svg { width: 28px; height: 28px; }
.service__num { font-family: "Inter", sans-serif; font-weight: 800; font-size: 40px; line-height: 1; color: #e6eaf4; transition: color .4s; }
.service__title { margin-top: 28px; font-size: 22px; font-weight: 700; }
.service__text { margin-top: 12px; color: var(--text-sub); font-size: 15px; transition: color .4s; }
.service__tags { margin-top: 22px; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.service__tags li { font-size: 12px; font-weight: 500; padding: 5px 14px; border-radius: 999px; background: var(--bg-sub); color: var(--text-sub); transition: background .4s, color .4s; }

/* ---------- Strength ---------- */
.section--dark .hero__grid { opacity: .6; }
.strengths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.strength {
  padding: 40px 34px; border-radius: 24px;
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.08);
  transition: border-color .4s, transform .4s var(--ease);
}
.strength:hover { border-color: rgba(34, 211, 238, .4); transform: translateY(-4px); }
.strength__num { font-family: "Inter", sans-serif; font-weight: 800; font-size: 64px; line-height: 1; }
.strength__title { margin-top: 26px; font-size: 20px; font-weight: 700; }
.strength__text { margin-top: 12px; color: var(--text-inv-sub); font-size: 15px; }
.strength__visual { margin-top: 28px; height: 64px; }
.strength__visual svg { width: 100%; height: 100%; }

/* ---------- Flow ---------- */
.flow { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.flow::before {
  content: ""; position: absolute; top: 36px; left: 36px; right: 36px; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan)); opacity: .3;
}
.flow li { position: relative; }
.flow__num {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 2px solid transparent;
  background-image: linear-gradient(#fff, #fff), var(--grad); background-origin: border-box; background-clip: padding-box, border-box;
  font-family: "Inter", sans-serif; font-weight: 800; font-size: 20px; color: var(--blue);
  box-shadow: 0 12px 30px -14px rgba(51, 102, 255, .6);
}
.flow h3 { margin-top: 26px; font-size: 19px; }
.flow p { margin-top: 8px; font-size: 14px; color: var(--text-sub); }

/* ---------- Company ---------- */
.company-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.company-card {
  position: relative; padding: 40px; border-radius: 24px; background: var(--navy); color: #fff; overflow: hidden; min-height: 300px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.company-card::before { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; background: #2747ff; filter: blur(80px); opacity: .5; top: -120px; right: -120px; }
.company-card > * { position: relative; }
.company-card__name { font-family: "Inter", sans-serif; font-weight: 800; font-size: 72px; line-height: 1; letter-spacing: .06em; }
.company-card__sub { color: var(--text-inv-sub); font-size: 14px; margin-top: 12px; }
.company-card__msg { font-size: 18px; font-weight: 700; line-height: 1.7; margin-top: 48px; }
.company { width: 100%; border-collapse: collapse; }
.company th, .company td { text-align: left; padding: 24px 4px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15px; }
.company tr:first-child th, .company tr:first-child td { border-top: 1px solid var(--line); }
.company th { width: 150px; font-weight: 700; }
.company td { color: var(--text-sub); }
.company ol { padding-left: 1.2em; }
.company a { color: var(--blue); }

/* ---------- Contact ---------- */
.contact { padding: 0 0 120px; background: var(--bg-sub); }
.contact__box {
  position: relative; overflow: hidden; border-radius: 32px; padding: 80px 64px; color: #fff;
  background: var(--navy);
}
.contact__box::before, .contact__box::after { content: ""; position: absolute; border-radius: 50%; filter: blur(90px); }
.contact__box::before { width: 480px; height: 480px; background: #2747ff; opacity: .6; left: -120px; top: -200px; }
.contact__box::after { width: 380px; height: 380px; background: #0fb5d6; opacity: .4; right: -100px; bottom: -200px; }
.contact__box > * { position: relative; }
.contact__en { font-family: "Inter", sans-serif; font-weight: 800; font-size: clamp(44px, 7vw, 88px); line-height: 1; letter-spacing: -.02em; }
.contact__title { margin-top: 16px; font-size: 15px; font-weight: 700; color: var(--cyan); }
.contact__desc { margin: 28px auto 0; max-width: 520px; color: var(--text-inv-sub); }
.contact__mail { margin-top: 44px; }
.contact__mail .btn { font-size: 18px; padding: 20px 40px; }
.contact__note { margin-top: 18px; font-size: 13px; color: var(--text-inv-sub); }

.contact__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
.contact__desc { margin: 24px 0 0; }
.contact__alt { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line-inv); font-size: 13px; color: var(--text-inv-sub); }
.contact__alt a { color: #fff; font-size: 16px; font-weight: 600; }
.contact__alt a:hover { color: var(--cyan); }

/* Form */
.form { display: grid; gap: 18px; padding: 36px; border-radius: 24px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__field { display: grid; gap: 8px; }
.form__label { font-size: 13px; font-weight: 700; color: var(--text-inv); display: flex; align-items: center; gap: 8px; }
.form__label em { font-style: normal; font-size: 10px; padding: 2px 8px; border-radius: 999px; background: var(--grad); color: #fff; }
.form input[type="text"], .form input[type="email"], .form select, .form textarea {
  width: 100%; font: inherit; font-size: 15px; color: #fff; padding: 13px 16px; border-radius: 12px;
  background: rgba(7, 11, 24, .55); border: 1px solid rgba(255,255,255,.12);
  transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.form select { background-image: linear-gradient(45deg, transparent 50%, #9aa4bf 50%), linear-gradient(135deg, #9aa4bf 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.form select option { color: #0f1424; }
.form textarea { resize: vertical; min-height: 140px; line-height: 1.7; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34, 211, 238, .18); }
.form .is-invalid { border-color: #ff6b81 !important; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__agree { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-inv-sub); cursor: pointer; }
.form__agree input { width: 18px; height: 18px; accent-color: var(--blue); }
.form__agree a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.form__captcha:empty { display: none; }
.form__submit { justify-content: center; border: none; cursor: pointer; font-family: inherit; width: 100%; }
.form__submit:disabled { opacity: .6; cursor: wait; transform: none; }
.form__status { font-size: 14px; min-height: 1.5em; }
.form__status.is-ok { color: #5eead4; }
.form__status.is-error { color: #ff8fa0; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: var(--text-inv-sub); font-size: 13px; padding: 56px 0 40px; }
.footer__top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; padding-bottom: 32px; border-bottom: 1px solid var(--line-inv); }
.footer .logo { color: #fff; }
.footer__nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer__nav a:hover { color: #fff; }
.footer__bottom { padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer__bottom a:hover { color: #fff; }

/* ---------- Policy page ---------- */
.page-hero { background: var(--navy); color: #fff; padding: 170px 0 80px; position: relative; overflow: hidden; }
.page-hero .section__en { color: #fff; }
.policy { padding: 80px 0 120px; }
.policy .container { max-width: 860px; }
.policy > .container > p:first-child { color: var(--text-sub); }
.policy h2 { font-size: 18px; margin: 48px 0 12px; padding-left: 16px; border-left: 3px solid var(--blue); line-height: 1.5; }
.policy p, .policy li { color: var(--text-sub); font-size: 15px; }
.policy ul { padding-left: 1.4em; margin-top: 8px; }
.policy a { color: var(--blue); }
.policy .date { margin-top: 56px; text-align: right; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .dash__line { stroke-dashoffset: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; margin-top: 24px; }
  .strengths { grid-template-columns: 1fr; }
  .company-wrap { grid-template-columns: 1fr; gap: 40px; }
  .flow { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .flow::before { display: none; }
}
@media (max-width: 760px) {
  .container { padding: 0 20px; }
  .nav a:not(.nav__cta) { display: none; }
  .header__inner { height: 64px; }
  .hero { padding: 120px 0 100px; min-height: auto; }
  .chip--1 { left: -6px; } .chip--2 { right: -6px; }
  .services { grid-template-columns: 1fr; }
  .service { padding: 34px 28px 30px; }
  .section { padding: 90px 0; }
  .section__head { margin-bottom: 44px; }
  .contact__box { padding: 56px 20px; border-radius: 24px; }
  .contact__grid { grid-template-columns: 1fr; gap: 36px; }
  .form { padding: 24px 18px; }
  .form__row { grid-template-columns: 1fr; }
  .scroll-hint { display: none; }
}
@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .flow { grid-template-columns: 1fr; }
  .company th, .company td { display: block; width: 100%; padding: 4px 0; border: none !important; }
  .company tr { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .company tr:first-child { border-top: 1px solid var(--line); }
  .company-card__name { font-size: 56px; }
  .marquee__track span { font-size: 22px; }
}
