nav .brand img {
  width: 31px !important;
  height: 31px !important;
  filter: drop-shadow(0 0 6px rgba(156, 255, 87, .18)) !important;
}

nav .brand {
  gap: 11px;
  font-size: 23px;
  letter-spacing: -.055em;
}

.footer .brand img {
  width: 25px;
  height: 25px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(156,255,87,.22));
}

.footer-links { justify-content: center; text-align: center; }

nav .links { gap: 10px; }
nav .links a {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  font-size: 15px;
  font-weight: 700;
  padding: 10px 15px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: color .36s ease, background .36s ease, border-color .36s ease, transform .36s cubic-bezier(.2,.8,.2,1), box-shadow .36s ease;
}
nav .links a::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, rgba(156,255,87,.18), rgba(0,223,171,.11));
  transform: translateX(-108%);
  transition: transform .48s cubic-bezier(.16,1,.3,1);
}
nav .links a::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 5px;
  left: 16px;
  height: 2px;
  border-radius: 99px;
  background: var(--lime);
  box-shadow: 0 0 14px rgba(156,255,87,.75);
  transform: scaleX(0);
  transition: transform .36s cubic-bezier(.16,1,.3,1);
}
nav .links a:hover,
nav .links a:focus-visible,
nav .links a.is-active {
  color: var(--lime);
  border-color: rgba(156,255,87,.28);
  background: rgba(156,255,87,.08);
  box-shadow: 0 8px 20px rgba(0,0,0,.16);
  transform: translateY(-3px);
}
nav .links a:hover::before,
nav .links a:focus-visible::before,
nav .links a.is-active::before { transform: translateX(0); }
nav .links a:hover::after,
nav .links a:focus-visible::after,
nav .links a.is-active::after { transform: scaleX(1); }
nav .links a:active { transform: translateY(0) scale(.96); }

@media(min-width:701px){
  nav .links{height:100%;align-items:stretch;gap:0}
  nav .links a{display:flex;align-items:center;height:100%;padding:0 24px;border-radius:0;border-color:transparent;transform:none}
  nav .links a:hover:not(.is-active),
  nav .links a:focus-visible:not(.is-active){color:var(--lime);background:rgba(156,255,87,.05);border-color:transparent;box-shadow:none;transform:none}
  nav .links a.is-active,
  nav .links a.is-active:hover,
  nav .links a.is-active:focus-visible{color:var(--lime);background:linear-gradient(180deg,rgba(156,255,87,.16),rgba(0,223,171,.06));border-color:rgba(156,255,87,.22);box-shadow:inset 0 0 28px rgba(156,255,87,.05);transform:none}
  nav .links a.is-active::before{transform:translateX(0)}
  nav .links a.is-active::after{right:20px;bottom:0;left:20px;transform:scaleX(1)}
}

.hero-game-visual { position: absolute; z-index: 0; right: -1%; bottom: 14px; width: min(41vw, 640px); height: 560px; pointer-events: none; opacity: 0; animation: heroVisualIn 1.1s .18s cubic-bezier(.2,.8,.2,1) forwards; }
.hero-game-visual img { width: 100%; height: 100%; object-fit: contain; object-position: right bottom; filter: saturate(1.05) contrast(1.02) drop-shadow(0 22px 34px rgba(0,223,171,.16)); }
.business.section { padding: 52px 0 92px !important; }
/* Let the supporting copy land on the same baseline as the headline. */
.business-head { margin-bottom: 32px !important; min-height: 0 !important; align-items: flex-end !important; }
.business-head h2 { font-size: clamp(30px,2.85vw,42px) !important; line-height: 1.18 !important; }
.business-head p { font-size: 18px !important; line-height: 1.8 !important; margin: 0 !important; }
@keyframes heroVisualIn { from { opacity: 0; transform: translate3d(44px, 28px, 0) scale(.96); } to { opacity: .92; transform: translate3d(0, 0, 0) scale(1); } }
@media(max-width:700px){
  nav{position:relative}
  nav .brand{gap:8px;font-size:19px}
  nav .brand img{width:26px!important;height:26px!important}
  nav .links.open{top:calc(100% + 10px)!important;z-index:30;padding:10px!important;gap:5px!important;background:#0b1c37!important;border-color:rgba(156,255,87,.2)!important;box-shadow:0 18px 38px rgba(0,0,0,.34)}
  nav .links.open a{width:100%;padding:11px 13px!important;border-radius:10px!important;font-size:16px!important}
  nav .links.open a::after{right:auto;left:13px;width:34px}
  .hero-game-visual{right:-40%;bottom:-12px;width:122vw;height:460px;opacity:.35!important;animation:none}
}

@media(max-width:700px){ .cards{grid-template-columns:1fr !important} }

/* Four equal service cards: two columns on desktop, one on mobile. */
.cards {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.footer-links {
  align-items: center;
  gap: 0 !important;
}

.footer-links a + a::before {
  content: "｜";
  color: #5f7186;
  margin: 0 14px;
}

.game-notice {
  margin: 22px 0 0;
  color: #718198;
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: .015em;
  text-align: center;
}

.qualifications {
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap !important;
  gap: 0 !important;
}

.copyright { text-align: center; }

.qualifications .cert {
  font-size: 12px !important;
}

.qualifications .cert + .cert::before {
  content: "·";
  color: #516379;
  margin: 0 12px;
}

@media (max-width: 760px) {
  .game-notice { display: none; }
  .qualifications {
    align-items: center;
    flex-direction: column;
    gap: 7px !important;
  }

  .qualifications .cert { text-align: center; }

  .qualifications .cert + .cert::before {
    display: none;
  }
}

.card.more {
  background: linear-gradient(135deg, #155772 0%, #0b7a7b 100%);
  color: #fff;
}

.card.more::after {
  content: "+";
  font-size: 210px;
  opacity: .12;
}

.card.more .card-label,
.card.more p {
  opacity: .78;
}

.card.ip {
  background: linear-gradient(135deg, #176fc4 0%, #2b9ade 100%) !important;
  color: #fff;
}

.card.ip::after {
  color: #d9f1ff;
  opacity: .18;
}

.card.ip .card-label,
.card.ip p {
  opacity: .82;
}

.card.publishing::after { content: "01" !important; }
.card.ip::after { content: "02" !important; }
.card.cooperation::after { content: "03" !important; }
.card.more::after { content: "04" !important; font-size: 160px; }
