@import url("page-common.css");

.hero {
  position: relative;
  background: transparent;
  border-radius: 32px;
  padding: 0;
  display: grid;
  gap: 32px;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  color: var(--ink-strong);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 10% auto 6% 6%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle at 20% 20%, rgba(123, 199, 255, 0.32), transparent 60%);
  filter: blur(10px);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  text-align: left;
  justify-items: start;
  width: min(1160px, 90vw);
  margin: 0 auto;
  min-height: clamp(320px, 46vw, 520px);
  align-content: center;
  grid-auto-rows: max-content;
  color: #f9fbff;
  padding: clamp(32px, 6vw, 64px);
  background: transparent;
  border-radius: 26px;
}

.hero-title {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(40px, 5vw, 60px);
  margin: 0;
  line-height: 1.15;
  letter-spacing: 1px;
  color: #f9fbff;
}

.hero-title span {
  color: #0051ff;
}

.hero-lead {
  color: rgba(249, 251, 255, 0.85);
  margin: 0;
  line-height: 1.8;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 2px;
}

.hero-actions .button {
  padding: 12px 27px;
  font-size: 13px;
  line-height: 1.5;
}

.hero-media {
  position: absolute;
  inset: -32px -36px;
  border-radius: 40px;
  background: linear-gradient(135deg, rgba(20, 40, 70, 0.35), rgba(33, 87, 214, 0.22));
  overflow: hidden;
  z-index: 0;
  box-shadow: var(--shadow);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(280px 260px at 85% 20%, rgba(33, 87, 214, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(8, 12, 20, 0.55), rgba(8, 12, 20, 0.35));
  pointer-events: none;
}

.hero-content > *:not(.hero-media) {
  position: relative;
  z-index: 2;
}

.hero-media-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.7;
}

.hero-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: #f9fbff;
  font-size: 12px;
  letter-spacing: 0.4px;
}

.pill.soft {
  background: var(--surface-soft);
  border-color: rgba(33, 87, 214, 0.12);
  color: var(--muted);
}

.news-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 16px;
  overflow-x: auto;
  padding: 8px 2px 18px;
  scroll-snap-type: x mandatory;
}

.news-card {
  background: linear-gradient(145deg, #ffffff, #f3f7fc);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  min-height: 240px;
  scroll-snap-align: start;
  display: grid;
  grid-template-rows: 140px 1fr;
  box-shadow: 0 12px 30px rgba(16, 32, 49, 0.08);
}

.news-image {
  background:
    linear-gradient(135deg, rgba(33, 87, 214, 0.12), rgba(123, 199, 255, 0.45)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0.2) 10px, transparent 10px, transparent 20px);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.news-body {
  padding: 16px;
  display: grid;
  gap: 8px;
}

.news-body time {
  font-size: 12px;
  color: var(--muted);
}

.news-body h3 {
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}

.news-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 13px;
}

.news-footer {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
}

.concept-box {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 22px;
  padding: 28px;
  border: 1px solid rgba(33, 87, 214, 0.12);
  backdrop-filter: blur(6px);
}

.concept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.concept-item {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(33, 87, 214, 0.12);
  display: grid;
  gap: 8px;
}

.concept-item strong {
  font-size: 15px;
}

.link-panels {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.link-panel {
  background: rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  padding: 20px;
  text-decoration: none;
  border: 1px solid rgba(33, 87, 214, 0.12);
  display: grid;
  gap: 6px;
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 26px rgba(20, 40, 70, 0.08);
}

.link-panel span {
  color: var(--muted);
  font-size: 13px;
}

main {
  padding: 48px 0 96px;
}

.page-hero {
  position: relative;
  padding: 48px 0 40px;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(33, 87, 214, 0.2), transparent);
}

.page-hero-inner {
  display: grid;
  gap: 16px;
  padding: 32px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(33, 87, 214, 0.08), rgba(123, 199, 255, 0.2));
  border: 1px solid rgba(33, 87, 214, 0.12);
}

.page-title-en {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(36px, 5vw, 54px);
  letter-spacing: 2px;
  margin: 0;
  color: var(--ink-strong);
  text-transform: uppercase;
}

.page-title-jp {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}

.breadcrumb {
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}

.breadcrumb a {
  text-decoration: none;
  color: inherit;
}

.section {
  margin-bottom: 72px;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 0.7s ease forwards;
}

.section:nth-of-type(2) {
  animation-delay: 0.08s;
}

.section:nth-of-type(3) {
  animation-delay: 0.14s;
}

.section:nth-of-type(4) {
  animation-delay: 0.2s;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: var(--accent);
  margin: 0 0 12px;
  font-family: "Barlow Condensed", sans-serif;
}

.section-title {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(28px, 3.2vw, 40px);
  margin: 0 0 12px;
  color: var(--ink-strong);
  letter-spacing: 1px;
}

.section-lead {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.grid {
  display: grid;
  gap: 20px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 22px;
  border-radius: 12px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  line-height: 1;
  font-size: 14px;
}

.button.secondary {
  background: transparent;
  color: var(--accent);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 900px) {
  .hero-content {
    text-align: center;
    justify-items: center;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.2));
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-meta {
    justify-content: center;
  }
}

.hero .eyebrow {
  color: #7bc7ff;
}

.hero .button.secondary {
  color: #f9fbff;
  border-color: rgba(249, 251, 255, 0.7);
}

@media (max-width: 720px) {
  .hero {
    padding: 42px 18px;
  }

  .hero-media {
    inset: -16px -12px;
  }
}

@media (max-width: 900px) {
  main {
    padding-top: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
