:root {
  --navy: #061A35;
  --navy-ink: #04112A;
  --blue: #1677D9;
  --sky: #54C7F5;
  --navy-mid: #0B3670;
  --white: #FFFFFF;
  --pale: #EEF4FB;
  --text: #12263F;
  --text-sub: #566A82;
  --line: #D7E3F1;
  --font: "Inter", "Noto Sans JP", Arial, sans-serif;
  --gutter: 32px;
  --section: 96px;
  --gap: 24px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--navy-mid); outline-offset: 2px; }
.on-dark :focus-visible { outline-color: var(--sky); }

.wrap { width: 100%; max-width: calc(1200px + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.arrow { display: inline-block; margin-left: .6em; transition: transform .25s var(--ease); }

.skip {
  position: absolute; left: 8px; top: -60px; z-index: 30;
  padding: 8px 16px; border-radius: 8px;
  background: var(--white); color: var(--navy);
}
.skip:focus { top: 8px; }


/* header */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 20; color: var(--white); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.site-logo img { width: 207px; height: 44px; }
.gnav ul { display: flex; align-items: center; gap: 32px; }
.gnav a { color: var(--white); font-size: 14px; font-weight: 500; text-decoration: none; transition: color .2s; }
.gnav a:hover { color: var(--sky); }
.gnav .gnav__contact {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px;
  border: 1px solid rgba(84, 199, 245, .7); border-radius: 8px;
  background: rgba(22, 119, 217, .55); color: var(--white);
  transition: background-color .2s, box-shadow .2s;
}
.gnav .gnav__contact:hover { background: var(--blue); box-shadow: 0 0 20px rgba(84, 199, 245, .35); color: var(--white); }
.menu-btn {
  display: none; width: 48px; height: 48px; padding: 0;
  border: 1px solid rgba(255, 255, 255, .4); border-radius: 8px;
  background: rgba(6, 26, 53, .5); color: var(--white); cursor: pointer;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 22px; height: 2px; background: currentColor; content: "";
  transition: transform .25s var(--ease), background-color .25s;
}
.menu-btn span { position: relative; margin: 0 auto; }
.menu-btn span::before { position: absolute; top: -7px; }
.menu-btn span::after { position: absolute; top: 7px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { top: 0; background: var(--white); transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { top: 0; background: var(--white); transform: rotate(-45deg); }

/* hero */
.hero { position: relative; overflow: hidden; background: var(--navy-ink); color: var(--white); }
.hero__art { position: absolute; inset: 0; }
.hero__art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(70px); will-change: opacity, transform; }
.hero__glow--a { right: 2%; top: 4%; width: 54vw; height: 54vw; max-width: 900px; max-height: 900px; background: rgba(22, 119, 217, .62); animation: drift 18s ease-in-out infinite alternate; }
.hero__glow--b { right: -12%; bottom: -24%; width: 44vw; height: 44vw; max-width: 760px; max-height: 760px; background: rgba(11, 54, 112, .5); animation: drift 14s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { opacity: .72; transform: translate3d(0, 0, 0) scale(1); } to { opacity: 1; transform: translate3d(-3%, 2%, 0) scale(1.05); } }
.hero__veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 17, 42, .92) 0%, rgba(4, 17, 42, .66) 38%, rgba(4, 17, 42, 0) 68%); }
.hero__inner { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: max(620px, 90svh); padding-top: 112px; padding-bottom: 40px; }
.hero__text { max-width: 760px; }
.hero__eyebrow { color: var(--sky); font-size: 14px; font-weight: 600; letter-spacing: .18em; }
.hero h1 { margin-top: 20px; font-size: clamp(40px, 5.2vw, 72px); font-weight: 700; line-height: 1.25; letter-spacing: .01em; }
.hero h1 span { display: block; }
.hero__lead { margin-top: 28px; max-width: 40em; color: rgba(255, 255, 255, .9); font-size: 17px; }
.hero__cta { margin-top: 36px; }
.hero__index { position: absolute; right: var(--gutter); bottom: 44px; border-left: 1px solid rgba(84, 199, 245, .5); }
.hero__index a {
  display: block; padding: 5px 0 5px 20px;
  color: rgba(255, 255, 255, .86); font-size: 14px; text-decoration: none; transition: color .2s;
}
.hero__index a:hover { color: var(--sky); }
.hero__index span { margin-right: 14px; color: var(--sky); font-weight: 600; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 28px; border-radius: 8px;
  font-weight: 500; text-decoration: none;
  transition: background-color .25s, box-shadow .25s, border-color .25s;
}
.btn--primary { background: var(--blue); color: var(--white); box-shadow: 0 0 0 1px rgba(84, 199, 245, .45); }
.btn--primary:hover { background: #2E8BE8; box-shadow: 0 0 0 1px rgba(84, 199, 245, .7), 0 6px 22px rgba(84, 199, 245, .28); }
.btn--secondary { border: 1px solid var(--navy); background: transparent; color: var(--navy); }
.btn--secondary:hover { background: var(--white); }
.btn--ghost { border: 1px solid rgba(255, 255, 255, .7); color: var(--white); }
.btn--ghost:hover { border-color: var(--sky); background: rgba(84, 199, 245, .12); }

/* heads */
.sec-head__en { color: var(--blue); font-size: 14px; font-weight: 600; letter-spacing: .16em; }
.on-dark .sec-head__en, .contact__head .sec-head__en { color: var(--sky); }
.sec-head h2 { margin-top: 8px; font-size: 40px; font-weight: 700; line-height: 1.35; }
.more { color: var(--blue); font-size: 14px; font-weight: 600; }

/* business */
.business__grid { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }
.business .sec-head { position: sticky; top: 40px; }
.biz-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.biz-card {
  position: relative; display: flex; flex-direction: column; min-height: 440px; padding: 148px 28px 28px;
  overflow: hidden; border: 1px solid var(--line); border-radius: 12px;
  background: var(--white); color: var(--text); text-decoration: none;
}
.biz-card__media {
  position: absolute; left: 0; right: 0; top: 0; height: 210px;
  -webkit-mask-image: linear-gradient(180deg, #000 42%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 42%, transparent 100%);
}
/* 仮の背景。正式素材の受領後に画像へ置き換える */
.biz-card__media--ses { background: radial-gradient(circle at 80% 18%, rgba(11, 54, 112, .55), transparent 58%), repeating-linear-gradient(100deg, rgba(6, 26, 53, .1) 0 2px, transparent 2px 24px), linear-gradient(135deg, #DCE9F8, #F7FAFE); }
.biz-card__media--web { background: radial-gradient(circle at 76% 20%, rgba(22, 119, 217, .5), transparent 60%), repeating-linear-gradient(0deg, rgba(6, 26, 53, .08) 0 1px, transparent 1px 22px), linear-gradient(135deg, #DDEBFA, #F7FAFE); }
.biz-card__media--ai { background: radial-gradient(circle at 74% 24%, rgba(84, 199, 245, .65), transparent 60%), radial-gradient(circle at 40% 46%, rgba(11, 54, 112, .35), transparent 34%), linear-gradient(135deg, #DFE9F7, #F7FAFE); }
.biz-card__no {
  position: absolute; left: 26px; top: 28px;
  color: var(--sky); font-size: 72px; font-style: italic; font-weight: 300; line-height: 1;
}
.biz-card h3 { position: relative; font-size: 21px; font-weight: 700; line-height: 1.45; }
.biz-card p { position: relative; margin-top: 14px; flex: 1; color: var(--text); font-size: 15px; }
.biz-card .more { position: relative; margin-top: 18px; }

/* vision */
.vision { position: relative; overflow: hidden; background: var(--pale); }
.vision__media {
  position: absolute; right: 0; top: 0; bottom: 0; width: 52%;
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
  /* 仮の背景。正式素材の受領後に画像へ置き換える */
  background: radial-gradient(ellipse at 74% 104%, rgba(6, 26, 53, .9), transparent 56%), radial-gradient(circle at 70% 26%, rgba(255, 255, 255, .95), transparent 34%), linear-gradient(165deg, #7FB6EA 0%, #B5D8F5 46%, #2D6FC0 100%);
}
.vision__inner { position: relative; padding-top: 88px; padding-bottom: 88px; }
.vision__text { max-width: 620px; }
.vision__msg { margin-top: 24px; font-size: 32px; font-weight: 700; line-height: 1.5; }
.vision__msg span { display: inline-block; }
.vision__body { margin-top: 16px; max-width: 30em; }
.vision .btn { margin-top: 24px; }
.vision .sec-head__en { color: var(--navy); }

/* challenge */
.challenge { position: relative; overflow: hidden; background: var(--navy-ink); color: var(--white); }
.challenge__art {
  position: absolute; inset: 0;
  /* 仮の背景。正式素材の受領後に画像へ置き換える */
  background:
    radial-gradient(ellipse 34% 22% at 74% 66%, rgba(255, 214, 170, .2), transparent 70%),
    radial-gradient(ellipse 70% 96% at 86% 124%, rgba(84, 199, 245, .55), transparent 62%),
    radial-gradient(ellipse 60% 110% at 104% 30%, rgba(11, 54, 112, .4), transparent 60%);
}
.challenge__inner { position: relative; padding-top: 88px; padding-bottom: 88px; }
.challenge__inner > p { margin-top: 20px; max-width: 34em; }
.challenge .btn { margin-top: 28px; }

/* split */
.split { border-bottom: 1px solid var(--line); }
.split__grid { display: grid; grid-template-columns: 1fr 1.15fr; }
.split__news { padding: 72px 56px 72px 0; border-right: 1px solid var(--line); }
.split__recruit { padding: 72px 0 72px 56px; }
.split .sec-head h2 { font-size: 32px; }
.news-list { margin-top: 28px; border-top: 1px solid var(--line); }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a {
  display: flex; gap: 24px; padding: 14px 4px;
  color: var(--text); font-size: 15px; text-decoration: none;
  transition: color .2s, padding-left .25s var(--ease);
}
.news-list a:hover { padding-left: 10px; color: var(--blue); }
.news-list time { flex: none; color: var(--text-sub); font-size: 14px; font-variant-numeric: tabular-nums; line-height: 1.9; }
.split__more { margin-top: 20px; }
.split__more a { text-decoration: none; }
.recruit-cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: 28px; }
.recruit-card {
  display: flex; flex-direction: column; padding: 24px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--white);
  color: var(--text); text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.recruit-card:hover { transform: translateY(-3px); border-color: var(--sky); box-shadow: 0 10px 26px rgba(6, 26, 53, .1); }
.recruit-card h3 { font-size: 18px; font-weight: 700; line-height: 1.5; }
.recruit-card p { margin-top: 10px; flex: 1; font-size: 15px; }
.recruit-card .more { margin-top: 14px; }

/* contact */
.contact { background: var(--navy); color: var(--white); }
.contact__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.contact__head h2 { margin-top: 6px; font-size: 40px; font-weight: 700; line-height: 1.3; }
.contact__types { display: flex; flex-wrap: wrap; gap: 8px; }
.contact__types li { padding: 4px 14px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; font-size: 14px; }

/* footer */
.site-footer { border-top: 1px solid rgba(255, 255, 255, .14); background: var(--navy); color: var(--white); }
.site-footer__inner { display: flex; justify-content: space-between; gap: 48px; padding: 56px 0 36px; }
.site-footer__logo { width: 207px; height: 44px; margin-bottom: 20px; }
.site-footer address { font-size: 14px; font-style: normal; }
.site-footer address a { color: var(--white); }
.fnav { display: grid; grid-template-columns: repeat(2, auto); gap: 8px 48px; align-content: start; }
.fnav a { color: var(--white); font-size: 14px; text-decoration: none; }
.fnav a:hover { color: var(--sky); text-decoration: underline; }
.copy { padding: 18px 0 26px; border-top: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .74); font-size: 14px; }


@media (max-width: 1099px) {
  .business__grid { grid-template-columns: 1fr; gap: 32px; }
  .business .sec-head { position: static; }
  .contact__inner { grid-template-columns: 1fr auto; }
  .contact__types { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 1023px) {
  .split__grid { grid-template-columns: 1fr; }
  .split__news { padding: 64px 0 40px; border-right: 0; border-bottom: 1px solid var(--line); }
  .split__recruit { padding: 40px 0 64px; }
  .hero__index { position: static; align-self: flex-start; margin-top: 48px; }
}
@media (max-width: 899px) {
  .menu-btn { display: block; }
  .gnav {
    position: absolute; left: 0; right: 0; top: 100%;
    max-height: 0; padding: 0 var(--gutter); overflow: hidden; visibility: hidden;
    background: var(--navy);
    transition: max-height .25s var(--ease), padding .25s var(--ease), visibility .25s;
  }
  .gnav.is-open { max-height: 460px; padding: 8px var(--gutter) 24px; visibility: visible; }
  .gnav ul { display: block; }
  .gnav a { display: block; padding: 12px 0; font-size: 16px; }
  .gnav .gnav__contact { display: flex; justify-content: center; margin-top: 12px; }
  .biz-cards { grid-template-columns: 1fr; }
  .biz-card { min-height: 0; padding: 28px 28px 24px 132px; }
  .biz-card__media { left: 40%; height: 100%; -webkit-mask-image: linear-gradient(270deg, #000 20%, transparent 100%); mask-image: linear-gradient(270deg, #000 20%, transparent 100%); }
  .biz-card__no { left: 24px; top: 28px; font-size: 60px; }
  .vision__media { width: 42%; }
}
@media (max-width: 767px) {
  :root { --gutter: 20px; --section: 64px; --gap: 16px; }
  .site-header__inner { height: 64px; }
  .site-logo img, .site-footer__logo { width: 169px; height: 36px; }
  .hero__veil { background: linear-gradient(180deg, rgba(4, 17, 42, .78) 0%, rgba(4, 17, 42, .58) 62%, rgba(4, 17, 42, .3) 100%); }
  .hero__inner { min-height: 0; padding-top: 104px; padding-bottom: 48px; }
  .hero h1 { font-size: clamp(30px, 9.6vw, 40px); line-height: 1.3; letter-spacing: 0; }
  .hero__lead { font-size: 16px; }
  .btn { width: 100%; }
  .sec-head h2, .contact__head h2 { font-size: 28px; }
  .split .sec-head h2 { font-size: 28px; }
  .biz-card { padding: 20px 20px 20px 96px; }
  .biz-card__no { left: 16px; top: 22px; font-size: 44px; }
  .biz-card h3 { font-size: 19px; }
  .vision__media { top: auto; left: 0; right: 0; width: auto; height: 180px; clip-path: none; }
  .vision__inner { padding-top: 64px; padding-bottom: 212px; }
  .vision__msg { font-size: 26px; }
  .challenge__inner { padding-top: 64px; padding-bottom: 64px; }
  .news-list a { flex-direction: column; gap: 0; }
  .recruit-cards { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; gap: 24px; padding-top: 56px; padding-bottom: 56px; }
  .contact__types { grid-row: auto; }
  .site-footer__inner { flex-direction: column; gap: 32px; padding: 44px 0 28px; }
}

/* ===== Ver.3.1 animation ===== */
:root { --ease-out: cubic-bezier(.22, 1, .36, 1); }

/* scroll reveal: 初期状態は常に表示。.pre は JS が画面外でだけ付ける */
.reveal { transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.pre { opacity: 0; transform: translateY(20px); transition: none; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }
@media print { .reveal.pre { opacity: 1 !important; transform: none !important; } }

/* hero entrance (1回のみ) */
.hero__eyebrow, .hero h1 span, .hero__lead, .hero__cta, .hero__index { animation: rise .75s var(--ease-out) both; }
.hero h1 span:nth-child(1) { animation-delay: .15s; }
.hero h1 span:nth-child(2) { animation-delay: .3s; }
.hero__lead { animation-delay: .45s; }
.hero__cta { animation-delay: .6s; }
.hero__index { animation-delay: .75s; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* hero: light flow */
.hero__art svg { pointer-events: none; }
.hero__lines { animation: lines 22s ease-in-out infinite alternate; will-change: transform, opacity; }
@keyframes lines { from { opacity: .8; transform: translate3d(-10px, -6px, 0); } to { opacity: 1; transform: translate3d(10px, 6px, 0); } }
.beam { fill: none; stroke: #D6F2FF; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 70 930; animation: beam 20s linear infinite; }
.beam--2 { animation-duration: 24s; animation-delay: -7s; }
.beam--3 { animation-duration: 18s; animation-delay: -12s; }
.beam--4 { animation-duration: 22s; animation-delay: -3s; }
.beam--5 { animation-duration: 16s; animation-delay: -9s; }
@keyframes beam { from { stroke-dashoffset: 1000; } to { stroke-dashoffset: 0; } }
.hero__dots { will-change: transform, opacity; }
.hero__dots--1 { animation: dotsA 18s ease-in-out infinite alternate, twinkle 6s ease-in-out infinite alternate; }
.hero__dots--2 { animation: dotsB 14s ease-in-out infinite alternate, twinkle 8s ease-in-out -2s infinite alternate; }
.hero__dots--3 { animation: dotsC 20s ease-in-out infinite alternate, twinkle 4.5s ease-in-out -1s infinite alternate; }
@keyframes dotsA { from { transform: translate3d(0, 12px, 0); } to { transform: translate3d(-14px, -12px, 0); } }
@keyframes dotsB { from { transform: translate3d(-8px, -10px, 0); } to { transform: translate3d(12px, 14px, 0); } }
@keyframes dotsC { from { transform: translate3d(10px, 8px, 0); } to { transform: translate3d(-6px, -16px, 0); } }
@keyframes twinkle { from { opacity: .6; } to { opacity: 1; } }
.is-paused * { animation-play-state: paused !important; }

/* business card hover */
.biz-card { transition: transform .3s ease-out, box-shadow .3s ease-out, border-color .3s ease-out; }
.biz-card.reveal { transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.biz-card__media { transition: transform .3s ease-out; }
.biz-card__no, .biz-card .more { transition: color .3s ease-out; }
.biz-cards .reveal:nth-child(2) { transition-delay: .1s; }
.biz-cards .reveal:nth-child(3) { transition-delay: .2s; }
@media (hover: hover) {
  .biz-card:hover { transform: translateY(-4px); border-color: var(--sky); box-shadow: 0 14px 34px rgba(6, 26, 53, .14); }
  .biz-card:hover .biz-card__media { transform: scale(1.03); }
  .biz-card:hover .biz-card__no { color: var(--blue); }
  .biz-card:hover .more { color: var(--navy); }
  a:hover > .arrow, a:hover .more .arrow { transform: translateX(4px); }
}
@media (hover: none) {
  .biz-card:active, .recruit-card:active { transform: scale(.985); border-color: var(--sky); }
  .recruit-card:hover { transform: none; box-shadow: none; border-color: var(--line); }
}

/* vision */
.vision__media { overflow: hidden; }
.vision__light {
  position: absolute; inset: -24px 0; opacity: .65; will-change: transform, opacity;
  background: radial-gradient(ellipse 60% 46% at 62% 30%, rgba(255, 255, 255, .55), transparent 70%);
}

/* challenge */
.challenge__glow {
  position: absolute; right: -10%; top: -30%; width: 70%; height: 160%; border-radius: 50%; filter: blur(60px);
  background: rgba(22, 119, 217, .5); animation: glow 10s ease-in-out infinite alternate; will-change: opacity;
}
@keyframes glow { from { opacity: .6; } to { opacity: 1; } }
.challenge__net {
  position: absolute; right: 0; top: 0; width: 56%; height: 100%; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 34%);
  mask-image: linear-gradient(90deg, transparent 0, #000 34%);
}
.net-pulse { opacity: .1; animation: netPulse 6s ease-in-out infinite alternate; will-change: opacity; }
.net-pulse--2 { animation-duration: 7s; animation-delay: -2s; }
.net-pulse--3 { animation-duration: 5s; animation-delay: -3s; }
.net-pulse--4 { animation-duration: 8s; animation-delay: -1s; }
@keyframes netPulse { from { opacity: .1; } to { opacity: .9; } }

/* buttons, nav */
.btn--primary { position: relative; overflow: hidden; }
.btn--primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .22), transparent);
  transform: skewX(-18deg); transition: left .3s ease-out; pointer-events: none;
}
.btn--primary:hover::after { left: 110%; }
.btn { transition: background-color .25s ease-out, box-shadow .25s ease-out, border-color .25s ease-out; }
.gnav li a:not(.gnav__contact) { position: relative; padding-bottom: 4px; }
.gnav li a:not(.gnav__contact)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform .25s ease-out;
}
.gnav li a:not(.gnav__contact):hover::after, .gnav li a[aria-current="page"]::after { transform: scaleX(1); }

@media (max-width: 899px) {
  .gnav li a:not(.gnav__contact)::after { display: none; }
  .gnav li a[aria-current="page"] { color: var(--sky); }
}
@media (max-width: 767px) {
  .hero__dots--3, .beam--3, .beam--4, .beam--5, .net-pulse--3, .net-pulse--4 { display: none; }
  .challenge__net { width: 100%; opacity: .45; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero *, .challenge * { animation: none !important; }
  .hero__dots { opacity: .8; }
  .net-pulse { opacity: .5; }
  .beam { display: none; }
  .reveal, .reveal.pre { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ===== Ver.4 navy / dynamic ===== */
/* 暗いセクションのボタンは白文字のコントラストを優先して少し深い青にする */
.btn--primary { background: #1268C2; }
.btn--primary:hover { background: #1677D9; }
.gnav .gnav__contact { background: rgba(22, 119, 217, .6); }

/* hero: 第2の波、ネットワーク、マウス追従の光 */
.hero__lines--b { animation: linesB 26s ease-in-out infinite alternate; will-change: transform, opacity; }
@keyframes linesB { from { opacity: .55; transform: translate3d(26px, 10px, 0); } to { opacity: .95; transform: translate3d(-26px, -10px, 0); } }
.hero__net { will-change: opacity; }
.hero__net .net-pulse { stroke: #A9E4FC; }
.hero__pointer {
  position: absolute; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px;
  border-radius: 50%; opacity: 0; pointer-events: none; will-change: transform, opacity;
  background: radial-gradient(circle, rgba(84, 199, 245, .22), transparent 66%);
  transition: opacity .4s ease-out;
}
.hero.is-pointer .hero__pointer { opacity: 1; }

/* business card: 青い光の縁取り */
@media (hover: hover) {
  .biz-card:hover {
    border-color: var(--sky);
    box-shadow: 0 0 0 1px var(--sky), 0 0 26px rgba(84, 199, 245, .38), 0 16px 36px rgba(6, 26, 53, .14);
  }
  .recruit-card:hover { box-shadow: 0 0 0 1px var(--sky), 0 0 18px rgba(84, 199, 245, .26); }
}

/* vision: 光の帯がゆっくり横切る */
.vision__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .34) 50%, transparent 65%);
  animation: sweep 18s ease-in-out infinite alternate; will-change: transform;
}
@keyframes sweep { from { transform: translate3d(-18%, 0, 0); } to { transform: translate3d(18%, 0, 0); } }

/* challenge: 奥行き */
.challenge__glow--b {
  right: auto; left: 34%; top: 20%; width: 34%; height: 110%;
  background: rgba(11, 54, 112, .7); animation-duration: 14s; animation-direction: alternate-reverse;
}
.challenge__net { animation: netDrift 24s ease-in-out infinite alternate; }
@keyframes netDrift { from { transform: translate3d(-12px, 6px, 0); } to { transform: translate3d(12px, -6px, 0); } }

@media (max-width: 899px) {
  .hero__pointer, .hero__lines--b, .hero__net { display: none; }
  .vision__media::after { animation: none; display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__pointer { display: none; }
  .vision__media::after { animation: none; }
  .challenge__net { animation: none; }
}

/* ===== 下層ページ ===== */
.page-hero { position: relative; overflow: hidden; background: var(--navy-ink); color: var(--white); }
.page-hero__art {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 46% 120% at 92% 0%, rgba(22, 119, 217, .6), transparent 70%),
    radial-gradient(ellipse 36% 90% at 70% 110%, rgba(84, 199, 245, .24), transparent 70%),
    linear-gradient(100deg, var(--navy-ink) 0%, var(--navy) 55%, var(--navy-mid) 100%);
}
.page-hero__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.page-hero__beam {
  fill: none; stroke-width: 1.4; stroke-linecap: round;
  stroke-dasharray: 140 860; animation: pageBeam 24s linear infinite;
}
.page-hero__beam--2 { animation-duration: 32s; animation-delay: -12s; }
@keyframes pageBeam { from { stroke-dashoffset: 1000; } to { stroke-dashoffset: 0; } }
@media (max-width: 767px) {
  .page-hero__lines {
    opacity: .75;
    -webkit-mask-image: linear-gradient(100deg, transparent 52%, #000 92%);
    mask-image: linear-gradient(100deg, transparent 52%, #000 92%);
  }
  .page-hero__beam--2 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero__beam { animation: none; display: none; }
}
.page-hero__inner { position: relative; padding-top: 128px; padding-bottom: 56px; }
.page-hero h1 { margin-top: 8px; font-size: 40px; font-weight: 700; line-height: 1.35; }
.crumbs { margin-bottom: 32px; font-size: 14px; color: rgba(255, 255, 255, .8); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: rgba(255, 255, 255, .5); }
.crumbs a { color: var(--white); }
.page-body { padding: 72px 0 96px; }
.narrow { max-width: calc(860px + var(--gutter) * 2); }
.page-cta { margin-top: 40px; }

.tag {
  display: inline-block; padding: 2px 12px; border-radius: 999px;
  background: var(--navy); color: var(--white); font-size: 14px; font-weight: 500;
}
.tag--new { background: var(--pale); color: var(--navy); }
.tag--small { padding: 0 10px; background: var(--pale); color: var(--navy); text-decoration: none; }

.biz-detail {
  display: grid; grid-template-columns: 180px 1fr; gap: 32px; padding: 56px 0;
  border-bottom: 1px solid var(--line); scroll-margin-top: 24px;
}
.biz-detail:first-child { padding-top: 0; }
.biz-detail__no { color: var(--sky); font-size: 96px; font-style: italic; font-weight: 300; line-height: 1; }
.biz-detail h2 { margin-top: 10px; font-size: 32px; line-height: 1.4; }
.biz-detail p:not(.tag) { margin-top: 14px; max-width: 42em; }

.anchors { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; }
.anchors a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border: 1px solid var(--line); border-radius: 8px; color: var(--navy); text-decoration: none;
  transition: border-color .25s ease-out, background-color .25s ease-out;
}
.anchors a:hover { border-color: var(--sky); background: var(--pale); }
@media (max-width: 767px) {
  .anchors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .anchors a { display: flex; justify-content: center; min-height: 48px; padding: 0 8px; }
}
.block { margin-bottom: 64px; scroll-margin-top: 24px; }
.block h2 { margin-bottom: 20px; padding-left: 14px; border-left: 4px solid var(--blue); font-size: 28px; line-height: 1.4; }
.block > p + p { margin-top: 12px; }
.lead-msg { font-size: 26px; font-weight: 700; line-height: 1.5; color: var(--navy); }
.sign { text-align: right; font-weight: 500; }
.draft-note {
  margin: 16px 0; padding: 10px 14px; border-left: 3px solid var(--sky);
  background: var(--pale); font-size: 14px;
}
.spec { display: grid; grid-template-columns: 180px 1fr; margin: 0; border-top: 1px solid var(--line); }
.spec dt, .spec dd { margin: 0; padding: 14px 8px; border-bottom: 1px solid var(--line); }
.spec dt { color: var(--navy); font-weight: 700; }

.news-cards li { border-bottom: 1px solid var(--line); }
.news-cards a {
  display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: center; padding: 20px 0;
  color: var(--text); text-decoration: none; transition: color .2s ease-out;
}
.news-cards a:hover { color: var(--blue); }
.news-cards img, .news-card__noimg { width: 180px; height: 120px; border-radius: 8px; object-fit: cover; background: var(--pale); }
.news-card__noimg { display: block; }
.news-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--text-sub); font-size: 14px; }
.news-card__title { display: block; margin-top: 6px; font-weight: 500; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; }
.pager .page-numbers {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 8px; color: var(--navy); text-decoration: none;
}
.pager a.page-numbers:hover { border-color: var(--sky); }
.pager .current { background: var(--navy); color: var(--white); }

.single-top { width: 100%; max-height: 420px; margin: 20px 0 32px; border-radius: 12px; object-fit: cover; }
.prose img { height: auto; }
.prose p { margin-top: 14px; }
.prose h1, .prose h2, .prose h3 { margin-top: 32px; line-height: 1.4; }
.prose--privacy #privacyPolicy > h1, .prose--privacy #privacyPolicy > h2 { display: none; }
.prose--privacy .mb4em { margin-bottom: 2em; }
.prose--privacy h3 { margin-top: 20px; font-size: 1rem; }
.prose--privacy ul { margin-top: 10px; padding-left: 1.4em; list-style: disc; }
.prose--privacy ol { margin-top: 10px; padding-left: 1.6em; list-style: decimal; }
.prose--privacy li { margin-top: 4px; }
.prose--privacy table { width: 100%; margin-top: 14px; border-collapse: collapse; font-size: .95em; }
.prose--privacy th, .prose--privacy td { padding: 8px 10px; border: 1px solid #d5dbe5; text-align: left; vertical-align: top; }
.prose--privacy th { background: #f3f6fa; white-space: nowrap; }

.form-box { margin-top: 32px; padding: 32px; border: 1px solid var(--line); border-radius: 12px; }
.form-box label { display: block; font-weight: 500; }
.form-box p { margin-top: 18px; }
.form-box br { display: none; }
.form-box .hissu { margin-left: 8px; color: #B3261E; font-size: 14px; }
.form-box input[type="text"], .form-box input[type="email"], .form-box input[type="tel"], .form-box textarea {
  width: 100%; min-height: 48px; margin: 6px 0 16px; padding: 10px 14px;
  border: 1px solid #8DA1B8; border-radius: 8px; font: inherit; color: var(--text);
}
.form-box .wpcf7-list-item { display: block; margin: 6px 0; }
.form-box .wpcf7-list-item label { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; font-weight: 400; }
.form-box input[type="submit"] {
  min-height: 48px; margin-top: 12px; padding: 0 32px; border: 0; border-radius: 8px;
  background: #1268C2; color: var(--white); font: inherit; font-weight: 500; cursor: pointer;
  transition: background-color .25s ease-out;
}
.form-box input[type="submit"]:hover { background: var(--blue); }

.site-list { columns: 2; margin-bottom: 48px; }
.site-list a { display: block; padding: 8px 0; }

@media (max-width: 767px) {
  .page-hero__inner { padding-top: 96px; padding-bottom: 40px; }
  .page-hero h1 { font-size: 28px; }
  .page-body { padding: 48px 0 64px; }
  .biz-detail { grid-template-columns: 1fr; gap: 8px; padding: 40px 0; }
  .biz-detail__no { font-size: 56px; }
  .biz-detail h2 { font-size: 26px; }
  .spec { grid-template-columns: 1fr; }
  .spec dt { padding-bottom: 0; border-bottom: 0; }
  .spec dd { padding-top: 2px; }
  .lead-msg { font-size: 22px; }
  .news-cards a { grid-template-columns: 112px 1fr; gap: 14px; padding: 14px 0; }
  .news-cards img, .news-card__noimg { width: 112px; height: 76px; }
  .form-box { padding: 20px; }
  .site-list { columns: 1; }
}

/* 代表者挨拶・企業理念 */
.message > p:not(.lead-msg):not(.sign) { max-width: 40em; }
.message .sign { margin-top: 28px; line-height: 1.7; }
.values-title { margin: 40px 0 16px; font-size: 21px; line-height: 1.45; color: var(--navy); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.values li { padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--pale); }
.values__no { display: block; color: var(--blue); font-size: 40px; font-style: italic; font-weight: 300; line-height: 1; }
.values h4 { margin: 12px 0 8px; font-size: 18px; line-height: 1.5; color: var(--navy); }
.values p { font-size: 15px; }
@media (max-width: 767px) {
  .values { grid-template-columns: 1fr; }
  .values li { padding: 20px; }
  .values-title { font-size: 19px; }
}

/* 沿革タイムライン */
.timeline { position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 12px; bottom: 12px; width: 2px;
  background: linear-gradient(180deg, var(--line), var(--blue));
}
.timeline__item { position: relative; display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 14px 0 14px 36px; }
.timeline__item::before {
  content: ""; position: absolute; left: 2px; top: 22px; width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid var(--blue); background: var(--white);
}
.timeline__date { color: var(--navy); font-weight: 700; font-variant-numeric: tabular-nums; }
.timeline__item--major .timeline__date, .timeline__item--major .timeline__text { color: var(--blue); font-weight: 600; }
@media (max-width: 767px) {
  .timeline__item { grid-template-columns: 1fr; gap: 2px; padding: 12px 0 12px 32px; }
}
