@charset "UTF-8";

:root {
  --orange: #f58220;
  --orange-light: #ffb15c;
  --yellow: #ffd24a;
  --yellow-light: #fff0a8;
  --blue: #2575ff;
  --blue-light: #5bd6ff;
  --navy: #071425;
  --navy-2: #10243f;
  --white: #ffffff;
  --muted: #aeb9c8;
  --line: rgba(255, 255, 255, 0.14);
  --glass: rgba(255, 255, 255, 0.065);
  --max-width: 1120px;
  --font-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --font-en: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #03070d;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--white);
  background: #03070d;
  font-family: var(--font-ja);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.link-page {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(56px, 8vw, 96px) 20px 34px;
  background:
    radial-gradient(circle at 16% 16%, rgba(245, 130, 32, 0.30), transparent 28%),
    radial-gradient(circle at 84% 8%, rgba(37, 117, 255, 0.24), transparent 28%),
    radial-gradient(circle at 84% 86%, rgba(255, 210, 74, 0.10), transparent 30%),
    linear-gradient(135deg, #03070d 0%, #071425 45%, #0b1b31 100%);
}

.link-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -4;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.042) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.042) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), transparent 94%);
  pointer-events: none;
}

.link-page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.07) 48%, transparent 58%);
  transform: translateX(-62%);
  animation: sweep 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes sweep {
  0%, 62% {
    transform: translateX(-72%);
    opacity: 0;
  }
  72% {
    opacity: 0.65;
  }
  100% {
    transform: translateX(72%);
    opacity: 0;
  }
}

.bg-logo {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

/* 背景ロゴを大きく大胆に見せるレイアウト */
.bg-logo img {
  position: absolute;
  top: -120px;
  right: max(-900px, -47vw);
  width: min(2920px, 232vw);
  max-width: none;
  opacity: 0.06;
  filter: blur(0.25px) drop-shadow(0 0 78px rgba(245, 130, 32, 0.20));
  transform: rotate(0deg);
  transform-origin: center;
}

.bg-logo::after {
  content: "";
  position: absolute;
  left: -140px;
  bottom: -160px;
  width: 560px;
  height: 560px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(245, 130, 32, 0.12), rgba(245, 130, 32, 0.02) 52%, transparent 72%);
  filter: blur(18px);
}

.hero {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  padding: 9px 16px;
  border: 1px solid rgba(245, 130, 32, 0.48);
  border-radius: 999px;
  color: var(--orange-light);
  background: rgba(245, 130, 32, 0.09);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--orange);
  box-shadow:
    0 0 0 5px rgba(245, 130, 32, 0.18),
    0 0 22px rgba(245, 130, 32, 0.75);
}

.hero__logo {
  margin: 0 0 26px;
}

.hero__logo img {
  width: min(600px, 86vw);
  filter: drop-shadow(0 20px 44px rgba(0, 0, 0, 0.44));
}

.hero__copy {
  margin: 0;
  color: var(--white);
  font-family: var(--font-en);
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: 0.035em;
  line-height: 1.2;
  text-transform: lowercase;
}

.hero__copy span {
  display: block;
  margin-top: 12px;
  color: var(--orange-light);
  font-family: var(--font-ja);
  font-size: clamp(17px, 2.5vw, 24px);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero__lead {
  max-width: 720px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.9;
  letter-spacing: 0.03em;
}

.links {
  width: min(100%, var(--max-width));
  margin: clamp(34px, 5vw, 48px) auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.link-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 30px;
  color: var(--white);
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.045)),
    var(--glass);
  box-shadow:
    0 26px 80px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.link-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-8px);
  outline: none;
}

.link-card:hover::before,
.link-card:focus-visible::before {
  opacity: 1;
}

/* 公式サイト：オレンジ系 */
.link-card--corporate::before {
  background:
    radial-gradient(circle at top right, rgba(245, 130, 32, 0.30), transparent 38%),
    linear-gradient(135deg, rgba(245, 130, 32, 0.13), transparent 58%);
}

.link-card--corporate:hover,
.link-card--corporate:focus-visible {
  border-color: rgba(245, 130, 32, 0.78);
  box-shadow:
    0 34px 100px rgba(0, 0, 0, 0.38),
    0 0 0 5px rgba(245, 130, 32, 0.34),
    0 0 54px rgba(245, 130, 32, 0.16);
}

/* ポケモン事業団：イエロー系 */
.link-card--pokemon::before {
  background:
    radial-gradient(circle at top right, rgba(255, 210, 74, 0.34), transparent 38%),
    linear-gradient(135deg, rgba(255, 210, 74, 0.14), transparent 58%);
}

.link-card--pokemon:hover,
.link-card--pokemon:focus-visible {
  border-color: rgba(255, 210, 74, 0.82);
  box-shadow:
    0 34px 100px rgba(0, 0, 0, 0.38),
    0 0 0 5px rgba(255, 210, 74, 0.36),
    0 0 54px rgba(255, 210, 74, 0.18);
}

/* リクルート：ブルー系 */
.link-card--recruit::before {
  background:
    radial-gradient(circle at top right, rgba(37, 117, 255, 0.34), transparent 38%),
    linear-gradient(135deg, rgba(91, 214, 255, 0.12), transparent 58%);
}

.link-card--recruit:hover,
.link-card--recruit:focus-visible {
  border-color: rgba(91, 214, 255, 0.72);
  box-shadow:
    0 34px 100px rgba(0, 0, 0, 0.38),
    0 0 0 5px rgba(91, 214, 255, 0.30),
    0 0 54px rgba(91, 214, 255, 0.15);
}

.link-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin: 0;
  background: #0d1a2a;
}

.link-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  opacity: 0.96;
  transition:
    transform 0.42s ease,
    opacity 0.3s ease;
}

.link-card:hover .link-card__image img,
.link-card:focus-visible .link-card__image img {
  transform: scale(1.06);
}

.link-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(7, 20, 37, 0.88) 0%, rgba(7, 20, 37, 0.30) 44%, rgba(7, 20, 37, 0.06) 100%);
  pointer-events: none;
}

.link-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 24px 22px;
}

.link-card__label {
  margin: 0 0 14px;
  color: var(--orange-light);
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.link-card--pokemon .link-card__label {
  color: var(--yellow-light);
}

.link-card--recruit .link-card__label {
  color: var(--blue-light);
}

.link-card__title {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0.03em;
}

.link-card__text {
  flex: 1;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.link-card__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.link-card__button span {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.28s ease,
    background 0.28s ease,
    color 0.28s ease;
}

.link-card--corporate:hover .link-card__button span,
.link-card--corporate:focus-visible .link-card__button span {
  transform: translateX(5px);
  color: var(--white);
  background: var(--orange);
}

.link-card--pokemon:hover .link-card__button span,
.link-card--pokemon:focus-visible .link-card__button span {
  transform: translateX(5px);
  color: #071425;
  background: var(--yellow);
}

.link-card--recruit:hover .link-card__button span,
.link-card--recruit:focus-visible .link-card__button span {
  transform: translateX(5px);
  color: var(--white);
  background: var(--blue);
}

.footer {
  width: min(100%, var(--max-width));
  margin: 34px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  text-align: center;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.03em;
}

@media (max-width: 980px) {
  .link-page {
    padding: 72px 18px 32px;
  }

  .links {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .bg-logo img {
    top: -40px;
    right: -760px;
    width: 2240px;
    opacity: 0.055;
  }

  .link-card {
    border-radius: 28px;
  }
}

@media (max-width: 640px) {
  .link-page {
    padding: 58px 16px 28px;
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: 0.10em;
  }

  .hero__logo img {
  width: min(480px, 86vw);
  filter: drop-shadow(0 20px 44px rgba(0, 0, 0, 0.44));
}

@media (hover: none) {
  .link-card:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .link-page::after {
    animation: none;
  }

  .link-card,
  .link-card__image img,
  .link-card__button span {
    transition: none;
  }
}
