﻿:root {
  --navy: #000260;
  --navy-soft: #10136f;
  --accent: #ff7a00;
  --accent-dark: #f37500;
  --ink: #1a1e24;
  --muted: #6b7684;
  --line: rgba(26, 30, 36, 0.12);
  --paper: #ffffff;
  --wash: #f5f7fb;
  --shadow: 0 24px 70px rgba(0, 2, 96, 0.12);
  --max: 1180px;
  --header: 88px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Pretendard", "Noto Sans SC", "Microsoft YaHei", "Apple SD Gothic Neo", sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

body.no-scroll {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: var(--header);
  padding: 0 44px;
  color: #fff;
  background: var(--navy);
  box-shadow: 0 12px 34px rgba(0, 2, 96, 0.22);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-mark {
  font-size: 25px;
}

.brand-name {
  font-size: 15px;
  opacity: 0.95;
}

.primary-nav {
  display: flex;
  justify-content: center;
  gap: 1px;
}

.primary-nav a,
.site-footer a {
  position: relative;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.92;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.primary-nav a::after,
.site-footer a::after {
  position: absolute;
  right: 14px;
  bottom: 5px;
  left: 14px;
  height: 2px;
  content: "";
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.primary-nav a:hover,
.primary-nav a.is-active,
.site-footer a:hover {
  color: #fff;
  opacity: 1;
}

.primary-nav a.is-active::after,
.primary-nav a:hover::after,
.site-footer a:hover::after {
  transform: scaleX(1);
}

.language-switch {
  display: flex;
  gap: 6px;
  align-items: center;
}

.language-switch button,
.menu-toggle {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.language-switch button {
  padding: 7px 10px;
  font-size: 12px;
}

.language-switch button:hover,
.language-switch button.is-active,
.menu-toggle:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  padding: 8px 14px;
  justify-self: end;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.page {
  display: none;
  animation: pageIn 0.45s ease both;
}

.page.is-active {
  display: block;
}

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

.container {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
}

.narrow {
  width: min(100% - 48px, 860px);
}

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

.hero,
.page-hero,
.image-band,
.feature-strip article {
  position: relative;
  overflow: hidden;
  color: #fff;
  background-position: center;
  background-size: cover;
}

.hero {
  min-height: calc(100vh - var(--header));
  display: grid;
  place-items: center;
  background-image: var(--hero-bg);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 7, 7, 0.22);
}

.hero-overlay.strong {
  background: rgba(0, 0, 0, 0.45);
}

.hero-content,
.page-hero-content,
.band-content,
.feature-strip article > * {
  position: relative;
  z-index: 1;
}

.hero-content {
  width: min(100% - 40px, 980px);
  text-align: center;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.38);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow,
.image-band .eyebrow {
  color: #fff;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  margin-bottom: 10px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.hero-subtitle {
  margin-bottom: 34px;
  font-size: clamp(18px, 2.4vw, 30px);
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  font-weight: 850;
  border-radius: 2px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--accent);
}

.button-primary:hover {
  background: var(--accent-dark);
}

.button-light {
  color: var(--navy);
  background: #fff;
}

.section-block {
  padding: 104px 0;
}

.intro-block {
  background: #fff;
}

.section-emblem {
  width: auto;
  height: 40px;
  margin: 0 auto 28px;
  object-fit: contain;
}

.title-icon {
  width: auto;
  height: 60px;
  margin: 0 auto 18px;
}

.intro-block h2,
.about-summary h2,
.matching-intro h1,
.gallery-section h1 {
  margin-bottom: 22px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.copy-lines p {
  margin-bottom: 5px;
}

.copy-lines.italic {
  font-style: italic;
}

.lead {
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 72px;
}

.stat-card {
  min-height: 180px;
  padding: 34px 22px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.stat-card strong {
  display: inline-block;
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.stat-card img {
  display: inline-block;
  width: auto;
  height: 52px;
  margin: 0 0 -5px 8px;
}

.stat-card span {
  display: block;
  margin-top: 16px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 850;
}

.about-summary {
  background: linear-gradient(180deg, #fff 0%, #f9fafb 100%);
}

.about-summary p {
  max-width: 970px;
  margin-right: auto;
  margin-left: auto;
  font-size: 18px;
}

.image-band {
  min-height: 430px;
  display: grid;
  align-items: center;
  background-image: linear-gradient(90deg, rgba(0, 2, 96, 0.82), rgba(0, 2, 96, 0.12)), var(--band-bg);
}

.band-content p {
  margin-bottom: 12px;
  font-size: 24px;
}

.band-content h2 {
  max-width: 870px;
  margin-bottom: 30px;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.16;
  letter-spacing: -0.04em;
}

.band-content span {
  background: rgba(206, 186, 243, 0.9);
}

.page-hero {
  min-height: 490px;
  display: grid;
  align-items: center;
  background-image: var(--hero-bg);
}

.page-hero-content {
  max-width: 950px;
  padding: 72px 0;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.42);
}

.page-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: 900px;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 1.05fr);
  gap: 48px;
  align-items: center;
}

.image-stack {
  display: grid;
  gap: 18px;
}

.image-stack img,
.registration-grid > img,
.schedule-image {
  width: 100%;
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.content-card,
.timeline-card,
.notice-board {
  padding: clamp(28px, 5vw, 52px);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.content-card h2,
.timeline-card h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.13;
  letter-spacing: -0.04em;
}

.content-card p {
  color: var(--muted);
  font-size: 18px;
}

.info-card {
  margin-top: 28px;
  padding: 28px;
  color: #fff;
  background: var(--navy);
}

.info-card h3 {
  margin-bottom: 18px;
  font-size: 28px;
}

.info-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.info-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  align-items: baseline;
}

.info-list.vertical li {
  grid-template-columns: 1fr;
  gap: 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(26, 30, 36, 0.1);
}

.info-card .info-list.vertical li,
.info-card .info-list li {
  border-color: rgba(255, 255, 255, 0.16);
}

.info-list strong {
  font-weight: 900;
}

.matching-intro {
  padding-top: 124px;
  background: #fff;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.feature-strip article {
  min-height: 370px;
  display: grid;
  place-items: center;
  padding: 32px;
  text-align: center;
  background-image: linear-gradient(rgba(0, 2, 96, 0.45), rgba(0, 2, 96, 0.35)), var(--feature-bg);
}

.feature-strip h2 {
  margin: 0;
  font-size: clamp(22px, 2vw, 32px);
  font-style: italic;
  line-height: 1.25;
  text-shadow: 0 5px 24px rgba(0, 0, 0, 0.45);
}

.partners-section,
.gallery-section {
  background: var(--wash);
}

.section-heading {
  margin-bottom: 34px;
  text-align: center;
}

.section-heading h2,
.section-heading h1 {
  margin-bottom: 0;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.partners-grid img {
  width: 100%;
  aspect-ratio: 1.35;
  padding: 16px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(26, 30, 36, 0.06);
}

.registration-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.registration-card .button {
  margin-top: 24px;
}

.schedule-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.accent-card {
  color: #fff;
  background: var(--navy);
}

.accent-card .info-list.vertical li {
  border-color: rgba(255, 255, 255, 0.18);
}

.schedule-image {
  grid-column: 1 / -1;
  max-height: 680px;
  object-fit: cover;
}

.notice-board {
  max-width: 950px;
}

.board-headline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--ink);
}

.board-headline h2 {
  margin: 0;
  font-size: 30px;
}

.board-headline span {
  color: var(--accent);
  font-weight: 900;
}

.notice-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.notice-kicker {
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.notice-item h3 {
  margin: 0;
  font-size: 22px;
}

.notice-item time {
  color: var(--muted);
  white-space: nowrap;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.gallery-grid button {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: none;
  border: 0;
  cursor: zoom-in;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.gallery-grid button:hover img {
  filter: brightness(0.78);
  transform: scale(1.06);
}

.site-footer {
  padding: 46px 24px 58px;
  color: #fff;
  text-align: center;
  background: var(--navy);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin-bottom: 22px;
}

.site-footer p {
  margin-bottom: 6px;
  opacity: 0.9;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 30px;
  background: rgba(0, 0, 0, 0.88);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(100%, 1200px);
  max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 24px;
  width: 44px;
  height: 44px;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  cursor: pointer;
}

.reveal {
  animation: reveal 0.75s ease both;
}

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

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto 1fr;
    gap: 14px;
    padding: 0 22px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: fixed;
    top: var(--header);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    padding: 18px 24px 28px;
    background: var(--navy);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .language-switch {
    justify-self: end;
  }

  .partners-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .feature-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  :root {
    --header: 72px;
  }

  .site-header {
    min-height: var(--header);
    padding: 0 14px;
  }

  .brand-name {
    display: none;
  }

  .language-switch button {
    padding: 6px 7px;
    font-size: 11px;
  }

  .hero {
    min-height: calc(100vh - var(--header));
    background-image: var(--hero-mobile);
  }

  .section-block {
    padding: 70px 0;
  }

  .container,
  .narrow {
    width: min(100% - 28px, var(--max));
  }

  .stats-grid,
  .split-layout,
  .registration-grid,
  .schedule-layout {
    grid-template-columns: 1fr;
  }

  .stat-card {
    min-height: 150px;
  }

  .image-band {
    min-height: 360px;
    background-image: linear-gradient(90deg, rgba(0, 2, 96, 0.86), rgba(0, 2, 96, 0.36)), var(--band-bg);
  }

  .page-hero {
    min-height: 380px;
  }

  .feature-strip {
    grid-template-columns: 1fr;
  }

  .feature-strip article {
    min-height: 260px;
  }

  .partners-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .notice-item {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Categorized company showcase */
.section-subtitle {
  max-width: 720px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 17px;
}

.partner-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: -8px auto 34px;
}

.partner-filter {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(0, 2, 96, 0.12);
  border-radius: 999px;
  box-shadow: 0 12px 34px rgba(0, 2, 96, 0.06);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.partner-filter strong {
  display: inline-grid;
  min-width: 25px;
  height: 25px;
  place-items: center;
  color: var(--navy);
  font-size: 12px;
  background: var(--wash);
  border-radius: 50%;
}

.partner-filter:hover,
.partner-filter.is-active {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-2px);
}

.partner-filter:hover strong,
.partner-filter.is-active strong {
  color: #fff;
  background: var(--accent);
}

.partners-grid.enhanced {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.partner-card {
  position: relative;
  min-height: 174px;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 22px 18px 18px;
  color: var(--ink);
  text-align: center;
  background: #fff;
  border: 1px solid rgba(0, 2, 96, 0.12);
  box-shadow: 0 14px 38px rgba(0, 2, 96, 0.06);
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.partner-card::before {
  position: absolute;
  inset: auto 18px 0;
  height: 3px;
  content: "";
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.24s ease;
}

.partner-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: radial-gradient(circle at 50% 0%, rgba(255, 122, 0, 0.12), transparent 44%), linear-gradient(180deg, rgba(0, 2, 96, 0.05), transparent 54%);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.partner-card:hover,
.partner-card:focus-visible {
  border-color: rgba(255, 122, 0, 0.65);
  box-shadow: 0 24px 54px rgba(0, 2, 96, 0.16);
  transform: translateY(-7px);
  outline: none;
}

.partner-card:hover::before,
.partner-card:focus-visible::before {
  transform: scaleX(1);
}

.partner-card:hover::after,
.partner-card:focus-visible::after {
  opacity: 1;
}

.partner-category {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 8px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 900;
  background: rgba(0, 2, 96, 0.06);
  border-radius: 999px;
}

.partner-logo {
  min-height: 86px;
  display: grid;
  place-items: center;
  padding-top: 16px;
}

.partners-grid.enhanced .partner-logo img {
  width: min(100%, 128px);
  height: 76px;
  padding: 0;
  object-fit: contain;
  background: transparent;
  border: 0;
  box-shadow: none;
  aspect-ratio: auto;
  transition: transform 0.24s ease;
}

.partner-card:hover .partner-logo img,
.partner-card:focus-visible .partner-logo img {
  transform: scale(1.08);
}

.partner-name {
  min-height: 40px;
  display: grid;
  align-items: center;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.partner-hint {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.partner-card:hover .partner-hint,
.partner-card:focus-visible .partner-hint {
  color: var(--accent);
}

.partner-card.is-filtered-out {
  display: none;
}

.company-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(0, 2, 96, 0.78);
  backdrop-filter: blur(10px);
}

.company-modal[hidden] {
  display: none;
}

.company-panel {
  position: relative;
  width: min(100%, 960px);
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.36);
}

.company-visual {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: 40px;
  background: linear-gradient(135deg, var(--navy), #07148f 62%, var(--accent));
}

.company-visual::after {
  position: absolute;
  inset: 22px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.company-visual img {
  position: relative;
  z-index: 1;
  width: min(78%, 260px);
  max-height: 180px;
  padding: 28px;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.company-badge {
  position: absolute;
  top: 28px;
  left: 28px;
  z-index: 1;
  padding: 7px 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}

.company-copy {
  padding: clamp(30px, 5vw, 56px);
}

.company-copy .eyebrow {
  margin-bottom: 12px;
}

.company-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.company-summary {
  color: var(--muted);
  font-size: 18px;
}

.company-meta {
  display: grid;
  gap: 14px;
  margin: 30px 0 0;
}

.company-meta div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.company-meta dt {
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

.company-meta dd {
  margin: 0;
  color: var(--ink);
  font-weight: 750;
}

.company-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 42px;
  height: 42px;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  cursor: pointer;
}

@media (max-width: 1120px) {
  .partners-grid.enhanced {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .partners-grid.enhanced {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .partner-card {
    min-height: 164px;
    padding: 24px 12px 16px;
  }

  .partner-category {
    font-size: 10px;
  }

  .partner-name {
    font-size: 13px;
  }

  .partner-hint {
    font-size: 11px;
  }

  .company-modal {
    padding: 16px;
  }

  .company-panel {
    max-height: calc(100vh - 32px);
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .company-visual {
    min-height: 230px;
  }

  .company-copy {
    padding: 28px 22px 34px;
  }
}
