:root {
  --bg: #04050d;
  --bg-2: #080a18;
  --panel: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.1);
  --text: #eef1ff;
  --muted: #9aa3c7;
  --cyan: #4de8ff;
  --blue: #1e81af;
  --sky: #6cb8e0;
  --navy: #1c2d5f;
  --violet: #8b5cff;
  --indigo: #2a1166;
  --pink: #ff7ac6;
  --yellow: #ffe66d;
  --grad: linear-gradient(100deg, var(--cyan), var(--violet));
  --holo: linear-gradient(120deg, var(--pink), var(--yellow), var(--cyan), var(--violet), var(--pink));
  --font-jp: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-en: "Space Grotesk", var(--font-jp);
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, dl, dd { margin: 0; padding: 0; }
ul { list-style: none; }
::selection { background: var(--violet); color: #fff; }

/* 背景の光とグリッド */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60vw 50vh at 85% -10%, rgba(139, 92, 255, 0.22), transparent 70%),
    radial-gradient(50vw 50vh at -10% 40%, rgba(30, 129, 175, 0.24), transparent 70%),
    radial-gradient(60vw 60vh at 60% 110%, rgba(255, 122, 198, 0.1), transparent 70%),
    var(--bg);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 75%);
  pointer-events: none;
}

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }

/* ヘッダー */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(4, 5, 13, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav__link {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--muted);
  position: relative;
  transition: color 0.2s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--text); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }

/* ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  cursor: pointer;
  border: 0;
  font-family: inherit;
  transition: transform 0.2s, box-shadow 0.3s, background 0.3s, border-color 0.3s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--grad); color: #04050d; box-shadow: 0 10px 40px rgba(77, 232, 255, 0.28); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 50px rgba(139, 92, 255, 0.5); }
.btn--ghost { background: rgba(255, 255, 255, 0.04); color: var(--text); border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--cyan); background: rgba(77, 232, 255, 0.08); }
.btn--sm { padding: 11px 20px; font-size: 13px; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }

/* 英字ラベル */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--cyan);
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ヒーロー */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__inner { position: relative; z-index: 2; padding: 140px 0 120px; }
.hero__copy { max-width: 600px; }
.hero__title {
  margin-top: 22px;
  font-size: clamp(46px, 8.2vw, 108px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0.02em;
}
.hero__title span { display: block; }
.hero__en {
  margin-top: 18px;
  font-family: var(--font-en);
  font-size: clamp(14px, 1.6vw, 20px);
  letter-spacing: 0.42em;
  color: var(--muted);
}
.hero__lead { margin-top: 30px; font-size: 15px; color: #c9d0ee; max-width: 520px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 2;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--muted);
}
.hero__scroll::after { content: ""; width: 1px; height: 44px; background: linear-gradient(var(--cyan), transparent); animation: scrollLine 2s ease-in-out infinite; transform-origin: top; }
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* 流れる帯 */
.tape { border-block: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); overflow: hidden; padding: 18px 0; }
.tape__track { display: flex; width: max-content; animation: tape 36s linear infinite; }
.tape__track span {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.34em;
  color: var(--muted);
  white-space: nowrap;
  padding-right: 28px;
}
.tape__track i { font-style: normal; background: var(--holo); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 28px; }
@keyframes tape { to { transform: translateX(-50%); } }

/* セクション */
.section { padding: 130px 0; position: relative; }
.section__head { margin-bottom: 60px; }
.section__title { margin-top: 16px; font-size: clamp(32px, 4.6vw, 54px); font-weight: 900; line-height: 1.3; letter-spacing: 0.04em; }
.section__lead { margin-top: 18px; color: var(--muted); max-width: 640px; }

/* ビジョン */
.vision { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.vision__big { font-size: clamp(26px, 3.4vw, 42px); font-weight: 900; line-height: 1.6; letter-spacing: 0.04em; }
.vision__text { color: #c9d0ee; }
.vision__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.tag { font-family: var(--font-en); font-size: 12px; letter-spacing: 0.14em; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--panel); }

/* 事業カード */
.biz { display: grid; gap: 26px; }
.card {
  position: relative;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  padding: 46px;
  overflow: hidden;
  transition: transform 0.35s, border-color 0.35s;
}
/* カーソルを追う光 */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(77, 232, 255, 0.14), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
/* ホログラムの縁 */
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--holo);
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  transition: opacity 0.35s;
  animation: holo 6s linear infinite;
  pointer-events: none;
}
.card:hover { transform: translateY(-4px); border-color: transparent; }
.card:hover::before, .card:hover::after { opacity: 1; }
@keyframes holo { to { background-position: 300% 0; } }

.biz__card { display: grid; grid-template-columns: 1.25fr 1fr; gap: 50px; align-items: center; }
.biz__no { font-family: var(--font-en); font-size: 13px; font-weight: 600; letter-spacing: 0.3em; color: var(--cyan); }
.biz__title { margin-top: 10px; font-size: clamp(22px, 2.6vw, 30px); font-weight: 900; letter-spacing: 0.04em; line-height: 1.5; }
.biz__text { margin-top: 16px; color: #c9d0ee; font-size: 15px; }
.biz__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.chip::after { content: "↗"; font-family: var(--font-en); color: var(--cyan); transition: transform 0.2s; }
.chip:hover { border-color: var(--cyan); background: rgba(77, 232, 255, 0.1); }
.chip:hover::after { transform: translate(2px, -2px); }
.biz__visual { position: relative; display: grid; place-items: center; min-height: 220px; }
/* ロゴは元の画像のまま、白いプレートに載せる */
.plate { background: #fff; border-radius: 18px; padding: 10px 18px; width: min(100%, 380px); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(139, 92, 255, 0.25); transform: rotate(-2deg); transition: transform 0.4s; }
.card:hover .plate { transform: rotate(0deg) scale(1.03); }

/* コンサルティングの支援メニュー */
.biz__card--stack { grid-template-columns: 1fr; gap: 34px; }
.biz__card--stack .biz__text { max-width: 720px; }
.menu { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.menu__item { position: relative; padding: 30px 40px 6px 0; }
.menu__item + .menu__item { padding-left: 40px; padding-right: 0; border-left: 1px solid var(--line); }
.menu__item::before { content: ""; position: absolute; top: -1px; left: 0; width: 56px; height: 2px; background: var(--grad); box-shadow: 0 0 14px rgba(77, 232, 255, 0.6); }
.menu__item + .menu__item::before { left: 40px; background: linear-gradient(100deg, var(--violet), var(--pink)); box-shadow: 0 0 14px rgba(255, 122, 198, 0.6); }
.menu__label { font-family: var(--font-en); font-size: 11px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--sky); }
.menu__title { margin-top: 10px; font-weight: 900; font-size: clamp(18px, 1.9vw, 22px); letter-spacing: 0.04em; line-height: 1.5; }
.menu__text { margin-top: 10px; font-size: 14px; color: var(--muted); line-height: 1.8; }

/* 越境 EC の図（軌道） */
.orbit { position: relative; width: 240px; height: 240px; }
.orbit__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(77, 232, 255, 0.35); animation: spin 18s linear infinite; }
.orbit__ring:nth-child(2) { inset: 34px; border-color: rgba(139, 92, 255, 0.45); animation-duration: 12s; animation-direction: reverse; }
.orbit__ring:nth-child(3) { inset: 68px; border-color: rgba(255, 122, 198, 0.4); animation-duration: 8s; }
.orbit__ring::before { content: ""; position: absolute; top: -5px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 16px 4px rgba(77, 232, 255, 0.7); }
.orbit__ring:nth-child(2)::before { background: var(--violet); box-shadow: 0 0 16px 4px rgba(139, 92, 255, 0.7); }
.orbit__ring:nth-child(3)::before { background: var(--pink); box-shadow: 0 0 16px 4px rgba(255, 122, 198, 0.7); }
.orbit__core { position: absolute; inset: 96px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 60px rgba(77, 232, 255, 0.6); display: grid; place-items: center; font-family: var(--font-en); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: #04050d; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 代表 */
.ceo { display: grid; grid-template-columns: 380px 1fr; gap: 70px; align-items: center; }
.ceo__photo { position: relative; border-radius: 24px; padding: 2px; background: var(--holo); background-size: 300% 300%; animation: holo 8s linear infinite; box-shadow: 0 30px 90px rgba(77, 232, 255, 0.16); }
.ceo__photo img { border-radius: 22px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.ceo__role { font-family: var(--font-en); font-size: 12px; letter-spacing: 0.3em; color: var(--cyan); }
.ceo__name { margin-top: 8px; font-size: clamp(30px, 4vw, 44px); font-weight: 900; letter-spacing: 0.1em; line-height: 1.3; }
.ceo__en { font-family: var(--font-en); letter-spacing: 0.3em; color: var(--muted); font-size: 14px; }
.timeline { margin-top: 34px; position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 10px; bottom: 10px; width: 1px; background: linear-gradient(var(--cyan), var(--violet), var(--pink)); }
.timeline li { position: relative; padding: 9px 0; display: grid; grid-template-columns: 96px 1fr; gap: 14px; font-size: 15px; line-height: 1.7; }
.timeline li::before { content: ""; position: absolute; left: -28px; top: 17px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 2px solid var(--cyan); box-shadow: 0 0 12px rgba(77, 232, 255, 0.7); }
.timeline time { font-family: var(--font-en); font-weight: 600; color: var(--cyan); letter-spacing: 0.06em; white-space: nowrap; }

/* 問い合わせへの誘導 */
.cta { padding: 0 0 130px; }
.cta__box {
  position: relative;
  border-radius: 32px;
  padding: 90px 40px;
  text-align: center;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(60% 120% at 50% 120%, rgba(139, 92, 255, 0.5), transparent 70%),
    radial-gradient(40% 80% at 15% 0%, rgba(77, 232, 255, 0.25), transparent 70%),
    linear-gradient(135deg, rgba(42, 143, 176, 0.3), rgba(42, 17, 102, 0.6));
}
.cta__title { margin-top: 16px; font-size: clamp(24px, 3.6vw, 40px); font-weight: 900; letter-spacing: 0.06em; line-height: 1.5; }
.cta__box .btn { margin-top: 34px; }

/* フッター */
.footer { border-top: 1px solid var(--line); padding: 54px 0 40px; }
.footer__inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; }
.footer__brand img { height: 34px; width: auto; }
.footer__links { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--muted); }
.footer__links a:hover { color: var(--cyan); }
.footer__copy { margin-top: 40px; font-family: var(--font-en); font-size: 12px; letter-spacing: 0.14em; color: #6b7399; }

/* 下層ページ */
.page-hero { padding: 180px 0 60px; }
.page-hero__title { margin-top: 16px; font-size: clamp(32px, 5.4vw, 60px); font-weight: 900; letter-spacing: 0.06em; line-height: 1.3; }
.page-hero__lead { margin-top: 18px; color: var(--muted); max-width: 640px; }
.crumbs { display: flex; gap: 10px; font-size: 12px; color: var(--muted); margin-top: 26px; }
.crumbs a:hover { color: var(--cyan); }
.page-body { padding: 0 0 120px; }
.spec { border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)); padding: 14px 46px; }
.spec__row { display: grid; grid-template-columns: 220px 1fr; gap: 30px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.spec__row:last-child { border-bottom: 0; }
.spec dt { font-weight: 700; color: var(--cyan); letter-spacing: 0.08em; font-size: 14px; }
.spec dd { color: #dfe4fb; font-size: 15px; }
.spec dd p + p { margin-top: 14px; }
.spec a { text-decoration: underline; text-underline-offset: 4px; }
.spec a:hover { color: var(--cyan); }
.note { color: var(--muted); margin-bottom: 30px; font-size: 15px; }

/* フォーム */
.form { border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)); padding: 46px; max-width: 820px; }
.field { margin-bottom: 28px; border: 0; padding: 0; min-width: 0; }
.field__label { display: block; font-size: 14px; font-weight: 700; letter-spacing: 0.06em; margin-bottom: 10px; padding: 0; }
.req { color: var(--pink); margin-left: 6px; }
.input {
  width: 100%;
  padding: 15px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(4, 5, 13, 0.6);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input::placeholder { color: #5b6388; }
.input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(77, 232, 255, 0.14); }
textarea.input { min-height: 180px; resize: vertical; line-height: 1.7; }
.radios { display: flex; flex-wrap: wrap; gap: 10px; }
.radio input { position: absolute; opacity: 0; }
.radio span { display: inline-block; padding: 11px 20px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); font-size: 14px; cursor: pointer; transition: all 0.2s; }
.radio input:checked + span { border-color: transparent; background: var(--grad); color: #04050d; font-weight: 700; }
.radio input:focus-visible + span { box-shadow: 0 0 0 4px rgba(77, 232, 255, 0.25); }
.agree { display: flex; align-items: center; gap: 12px; font-size: 14px; cursor: pointer; }
.agree input { width: 20px; height: 20px; accent-color: var(--cyan); flex: none; }
.form__status { margin-top: 20px; font-size: 14px; min-height: 1.9em; }
.form__status.is-error { color: var(--pink); }
.form__done { text-align: center; padding: 40px 0; }
.form__done h2 { font-size: 26px; font-weight: 900; letter-spacing: 0.06em; }
.form__done p { margin-top: 14px; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* スクロールで現れる動き（JS が動くときだけ隠す） */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .section { padding: 90px 0; }
  .vision, .ceo, .biz__card { grid-template-columns: 1fr; gap: 36px; }
  .ceo__photo { max-width: 340px; }
  .card { padding: 32px 26px; }
  .menu { grid-template-columns: 1fr; }
  .menu__item { padding: 26px 0; }
  .menu__item + .menu__item { padding: 26px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .menu__item + .menu__item::before { left: 0; }
  .biz__visual { min-height: 0; order: -1; }
  .orbit { width: 190px; height: 190px; }
  .orbit__ring:nth-child(2) { inset: 26px; }
  .orbit__ring:nth-child(3) { inset: 52px; }
  .orbit__core { inset: 74px; font-size: 9px; }
  .hero { align-items: flex-start; }
  .hero__inner { padding: 120px 0 0; }
  .hero__lead { font-size: 14px; }
  .spec { padding: 6px 26px; }
  .spec__row { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }
  .form { padding: 30px 22px; }
  .cta { padding-bottom: 90px; }
  .cta__box { padding: 64px 24px; border-radius: 24px; }
  .page-hero { padding-top: 140px; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 40px); }
  .nav { gap: 18px; }
  .nav__link { display: none; }
  .header__inner { height: 66px; }
  .brand img { height: 25px; }
  .timeline li { grid-template-columns: 1fr; gap: 0; }
  .hero__scroll { display: none; }
  .hero { min-height: 0; padding-bottom: 92vw; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
