/* =============================================
   みらいステージプログラム - base.css
   Tailwind ユーティリティを実CSSに変換
   ============================================= */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;500;600;700;900&family=Noto+Sans+JP:wght@400;500;600;700;900&display=swap');

/* ---------- Remixicon ---------- */
@import url('https://cdnjs.cloudflare.com/ajax/libs/remixicon/4.2.0/remixicon.min.css');

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Serif JP', serif;
  color: #2C2C4E;
  background-color: #ffffff;
  overflow-x: hidden;
}

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

a { text-decoration: none; }

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* ---------- Utility ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* =============================================
   NAVBAR
   ============================================= */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
}

.nav-utility-bar {
  width: 100%;
  background-color: #2C2C4E;
  display: none;
}

@media (min-width: 768px) {
  .nav-utility-bar { display: block; }
}

.nav-utility-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 2rem;
}

.nav-utility-text {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  font-family: 'Noto Serif JP', serif;
}

.nav-main {
  width: 100%;
  background-color: #ffffff;
  transition: box-shadow 0.3s;
}

.nav-main.scrolled { box-shadow: 0 1px 4px rgba(0,0,0,0.08); }

.nav-main-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.nav-logo img {
  height: 2.25rem;
  width: auto;
  object-fit: contain;
  cursor: pointer;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
}

.nav-link-btn {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #2C2C4E;
  font-family: 'Noto Serif JP', serif;
  white-space: nowrap;
  transition: opacity 0.15s;
}

.nav-link-btn:hover { opacity: 0.7; }


#site-header .nav-links *,
#site-header .nav-links > * {
  border: none !important;
  box-shadow: none !important;
}
.hero-cta-btn {
  border: none !important;
  box-shadow: none !important;
}



.nav-cta {
  margin-left: 0.75rem;
  padding: 0.5rem 1.25rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  background-color: #5b8bc5;
  font-family: 'Noto Serif JP', serif;
  white-space: nowrap;
  transition: opacity 0.15s;
}

.nav-cta:hover { opacity: 0.85; }

.nav-accent-border {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #5b8bc5 0%, #a3c338 50%, #5b8bc5 100%);
}

/* ハンバーガー */
.nav-hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  color: #2C2C4E;
  font-size: 1.25rem;
}

@media (min-width: 768px) {
  .nav-hamburger { display: none; }
}

/* モバイルメニュー */
.nav-mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  background-color: #ffffff;
  border-top: 1px solid #f3f4f6;
  padding: 1.25rem 2rem;
}

.nav-mobile-menu.is-open { display: flex; }

@media (min-width: 768px) {
  .nav-mobile-menu { display: none !important; }
}

.nav-mobile-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #2C2C4E;
  font-family: 'Noto Serif JP', serif;
  white-space: nowrap;
  transition: opacity 0.15s;
  text-align: left;
}

.nav-mobile-link:hover { opacity: 0.7; }

.nav-mobile-cta {
  align-self: flex-start;
  margin-top: 0.25rem;
  padding: 0.5rem 1.5rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  background-color: #5b8bc5;
  font-family: 'Noto Serif JP', serif;
  white-space: nowrap;
}

/* =============================================
   HERO
   ============================================= */
@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes heroDon {
  0%   { opacity: 0;   transform: scale(1.08); }
  30%  { opacity: 1;   transform: scale(0.85); }
  60%  { transform: scale(0.94); }
  80%  { transform: scale(0.90); }
  100% { transform: scale(0.90); }
}

/* スマホヒーロー */
.hero-mobile {
  display: block;
  width: 100%;
  padding-top: 64px;
}

.hero-mobile img {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 768px) {
  .hero-mobile { display: none; }
}

/* PCヒーロー */
.hero-pc {
  display: none;
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 100vh;
  padding-top: 88px;
}

@media (min-width: 768px) {
  .hero-pc { display: block; }
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img-base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  z-index: 1;
}

.hero-img-102 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 3;
  transform-origin: top center;
  animation: heroFadeIn 1s ease-out 1.4s both;
  filter: drop-shadow(0px 8px 24px rgba(0,0,0,0.70));
}

.hero-img-103 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 4;
  transform-origin: top center;
  animation: heroDon 0.7s cubic-bezier(0.25,0.46,0.45,0.94) 3.4s both;
}

/* Hero テキストブロック */
.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  background-color: #ffffff;
}

.hero-content-inner {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.hero-content-inner .hero-inner-wrap { max-width: 42rem; }

.hero-h1 {
  font-family: 'Noto Serif JP', serif;
  font-weight: 900;
  font-size: 1.75rem;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: #2C2C4E;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-h1 { font-size: clamp(36px, 5vw, 62px); }
}

.hero-lead {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.9375rem;
  line-height: 1.9;
  font-weight: 500;
  color: #4a4a6a;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .hero-lead { font-size: 1.0625rem; }
}

.hero-cta-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 0.375rem;
  color: #ffffff;
  font-weight: 700;
  background-color: #5b8bc5;
  font-size: 0.9375rem;
  font-family: 'Noto Serif JP', serif;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.2s;
}

.hero-cta-btn:hover { opacity: 0.85; transform: translateY(-2px); }

/* =============================================
   SLIDER SECTION
   ============================================= */
.hero-slider-wrap {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: none;
  overflow: hidden;
}

.hero-slider-wrap p {
  margin: 0;
}



/* =============================================
   PURPOSE SECTION
   ============================================= */
#purpose {
  padding: 7rem 0;
  background-color: #5b8bc5;
}

.purpose-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 639px) {
  .purpose-inner { padding: 0; }
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 0 2rem;
}

@media (min-width: 640px) {
  .section-eyebrow { padding: 0; }
}

.eyebrow-line {
  width: 2.5rem;
  height: 1px;
  background-color: #a3c338;
}

.eyebrow-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #a3c338;
  font-family: 'Noto Serif JP', serif;
}

.purpose-h2 {
  font-weight: 700;
  font-size: 2rem;
  color: #ffffff;
  font-family: 'Noto Serif JP', serif;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  padding: 0 2rem;
}

@media (min-width: 640px) {
  .purpose-h2 { padding: 0; }
}

.purpose-body {
  max-width: 42rem;
  margin-bottom: 5rem;
  padding: 0 2rem;
}

@media (min-width: 640px) {
  .purpose-body { padding: 0; }
}

.purpose-body p {
  font-size: 0.9375rem;
  color: #ffffff;
  font-family: 'Noto Serif JP', serif;
  line-height: 1.9;
}

/* テープタイトル */
.tape-title { display: flex; flex-direction: column; margin-bottom: 0.75rem; gap: 2px; }

.tape-en {
  display: block;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  background-color: #a3c338;
  padding: 0.125rem 0.5rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.3125rem;
  line-height: 1.4;
}

.tape-ja {
  display: block;
  color: #ffffff;
  background-color: #a3c338;
  padding: 0.125rem 0.5rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
}

.point-desc {
  font-size: 0.8125rem;
  color: #ffffff;
  line-height: 1.7;
  font-family: 'Noto Serif JP', serif;
}

/* モバイル：縦並び */
.purpose-points-mobile {
  display: flex;
  flex-direction: column;
  gap: 0;
}

@media (min-width: 640px) {
  .purpose-points-mobile { display: none; }
}

.purpose-point-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.5rem 2rem;
}

/* Center circle */
.purpose-center-circle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 0;
}

.purpose-circle-outer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 240px;
}

.circle-dashed {
  position: absolute;
  border-radius: 50%;
  width: 240px;
  height: 240px;
  border: 1.5px dashed rgba(255,255,255,0.25);
}

.circle-mid {
  position: absolute;
  border-radius: 50%;
  width: 190px;
  height: 190px;
  border: 2px solid rgba(255,255,255,0.1);
  background: radial-gradient(circle at center, rgba(163,195,56,0.12) 0%, rgba(91,196,209,0.06) 60%, transparent 100%);
}

.circle-inner {
  position: relative;
  z-index: 10;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 150px;
  height: 150px;
  background: #a3c338;
  border: 2px solid #a3c338;
  backdrop-filter: blur(8px);
}

.circle-inner .ci-live {
  display: block;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1.25rem;
  color: #ffffff;
  letter-spacing: 0.05em;
  line-height: 1;
}

.circle-inner .ci-ent {
  display: block;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.6875rem;
  color: #ffffff;
  letter-spacing: 0.08em;
  line-height: 1.4;
  margin-top: 4px;
}

.circle-inner .ci-jobs {
  display: block;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1rem;
  color: #ffffff;
  letter-spacing: 0.1em;
  line-height: 1.2;
  margin-top: 4px;
}

/* PC：3x3 grid */
.purpose-points-desktop {
  display: none;
  position: relative;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 0;
  min-height: 560px;
}

@media (min-width: 640px) {
  .purpose-points-desktop { display: grid; }
}

.purpose-cell { display: flex; flex-direction: column; }

.cell-tl { align-items: flex-start; justify-content: flex-end; padding-bottom: 2.5rem; padding-right: 2.5rem; }
.cell-tc { align-items: center; justify-content: flex-end; padding-bottom: 1rem; }
.cell-tr { align-items: flex-start; justify-content: flex-end; padding-bottom: 2.5rem; padding-right: 2.5rem; }
.cell-ml { align-items: flex-end; justify-content: center; padding-right: 1rem; flex-direction: row; }
.cell-mc { align-items: center; justify-content: center; }
.cell-mr { align-items: flex-start; justify-content: center; padding-left: 1rem; flex-direction: row; }
.cell-bl { align-items: flex-start; justify-content: flex-start; padding-top: 2.5rem; padding-right: 2.5rem; }
.cell-bc { align-items: center; justify-content: flex-start; padding-top: 1rem; }
.cell-br { align-items: flex-start; justify-content: flex-start; padding-top: 2.5rem; padding-right: 2.5rem; }

.arrow-line-v { width: 1px; height: 3rem; opacity: 0.3; background-color: #fff; }
.arrow-line-h { height: 1px; width: 3rem; opacity: 0.3; background-color: #fff; }
.arrow-icon { font-size: 1.125rem; color: rgba(255,255,255,0.4); }

.cell-mc .circle-dashed { width: 300px; height: 300px; }
.cell-mc .circle-mid { width: 240px; height: 240px; }
.cell-mc .circle-inner { width: 180px; height: 180px; }
.cell-mc .ci-live { font-size: 1.375rem; }
.cell-mc .ci-ent  { font-size: 0.8125rem; }
.cell-mc .ci-jobs { font-size: 1.125rem; }

/* =============================================
   PROGRAM SECTION
   ============================================= */
#program {
  padding: 0;
  overflow: hidden;
  background-color: #ffffff;
}

.program-header {
  width: 100%;
  background-color: #ffffff;
}

.program-header-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.program-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.program-eyebrow-line {
  height: 1px;
  width: 3rem;
  background-color: #a3c338;
}

.program-eyebrow-label {
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #a3c338;
  font-family: 'Noto Serif JP', serif;
}

.program-title-row {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .program-title-row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.program-h2 {
  font-weight: 900;
  font-size: clamp(28px, 4vw, 52px);
  color: #2C2C4E;
  font-family: 'Noto Serif JP', serif;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.program-h4 {
  font-weight: 600;
  font-size: clamp(14px, 4vw, 52px);
  color: #2C2C4E;
  font-family: 'Noto Serif JP', serif;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.program-h2 .accent { color: #a3c338; }

.program-subtitle {
  max-width: 28rem;
  font-size: 0.9375rem;
  color: #666666;
  font-family: 'Noto Serif JP', serif;
  line-height: 1.9;
}

/* Cards */
.program-cards {
  max-width: 700px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.program-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  min-height: 260px;
}

.program-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.program-card-overlay {
  position: absolute;
  inset: 0;
}

.program-card-body {
  position: relative;
  z-index: 10;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 260px;
  max-width: 80%;
　white-space: nowrap;
}

.program-card-label {
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.75rem;
}

.program-card-title {
  font-weight: 900;
  font-size: 1.25rem;
  color: #ffffff;
  font-family: 'Noto Serif JP', serif;
  margin-bottom: 1rem;
}

.program-card-list { display: flex; flex-direction: column; gap: 0.5rem; }

.program-card-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  list-style: none;
}

.program-card-list li .icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
}

.program-card-list li span {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.85);
  font-family: 'Noto Serif JP', serif;
  line-height: 1.7;
}

/* Fractalia Banner */
.fractalia-banner {
  width: 100%;
  overflow: hidden;
  position: relative;
  min-height: 460px;
}

.fractalia-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: calc(100% + 80px);
  object-fit: cover;
  object-position: top;
  transform: translateY(-80px);
}

.fractalia-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(11,11,34,0.92) 0%, rgba(11,11,34,0.75) 55%, rgba(11,11,34,0.4) 100%);
}

.fractalia-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto;
  padding: 5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 460px;
}

.fractalia-inner { max-width: 36rem; }

.fractalia-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.fractalia-eyebrow-line { height: 1px; width: 2rem; background-color: #5bc4d1; }

.fractalia-eyebrow-label {
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #5bc4d1;
}

.fractalia-logo { margin-bottom: 1.5rem; width: clamp(240px, 36vw, 420px); height: auto; }

.fractalia-divider {
  width: 60px;
  height: 4px;
  background-color: #f5a623;
  border-radius: 2px;
  margin-bottom: 1.75rem;
}

.fractalia-text {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.75);
  font-family: 'Noto Serif JP', serif;
  line-height: 2;
  margin-bottom: 2rem;
}

.fractalia-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.fractalia-btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  border-radius: 0.375rem;
  font-weight: 700;
  font-size: 0.875rem;
  color: #ffffff;
  background-color: #f5a623;
  font-family: 'Noto Serif JP', serif;
  white-space: nowrap;
  transition: opacity 0.15s;
}

.fractalia-btn-primary:hover { opacity: 0.8; }

.fractalia-btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  border-radius: 0.375rem;
  font-weight: 700;
  font-size: 0.875rem;
  color: #ffffff;
  background-color: transparent;
  border: 2px solid rgba(255,255,255,0.6);
  font-family: 'Noto Serif JP', serif;
  white-space: nowrap;
  transition: opacity 0.15s;
}

.fractalia-btn-secondary:hover { opacity: 0.8; }

/* Job Types */
.jobs-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.jobs-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.jobs-eyebrow-line { height: 1px; width: 3rem; background-color: #a3c338; }
.jobs-eyebrow-label {
  font-weight: 900;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: #a3c338;
}

.jobs-divider-line {
  height: 1px;
  flex: 1;
  background-color: rgba(0,0,0,0.12);
}

.jobs-h3 {
  font-weight: 700;
  font-size: 1.375rem;
  color: #2C2C4E;
  font-family: 'Noto Serif JP', serif;
  margin-bottom: 2.5rem;
}

.jobs-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 1.5rem;
  padding: 2rem 0;
}

.job-card {
  display: inline-flex;
  overflow: hidden;
  gap: 2px;
  transition: transform 0.15s;
}

.job-card:hover { transform: scale(1.05); }

.job-icon-sq {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background-color: #5b8bc5;
  align-self: stretch;
  aspect-ratio: 1 / 1;
  min-width: 64px;
}

.job-icon-sq img {
  width: 59px;
  height: 59px;
  object-fit: contain;
}

.job-ribbons {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.job-en {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  background-color: #5b8bc5;
  padding: 0.25rem 1.25rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.3125rem;
  line-height: 1.5;
  white-space: nowrap;
}

.job-ja {
  display: block;
  color: #ffffff;
  background-color: #5b8bc5;
  padding: 0.25rem 1.25rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  white-space: nowrap;
}

/* =============================================
   EVENT INFO
   ============================================= */
#event-info {
  padding: 7rem 0;
  background-color: #ffffff;
}

.event-info-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

.event-info-h2 {
  font-weight: 700;
  font-size: 1.375rem;
  color: #2C2C4E;
  font-family: 'Noto Serif JP', serif;
  margin-bottom: 1rem;
}

.table-top-border { border-top: 2px solid #cccccc; }

.table-row {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #cccccc;
}

@media (min-width: 640px) {
  .table-row { flex-direction: row; }
}

.table-label {
  flex-shrink: 0;
  padding-top: 1rem;
  padding-bottom: 0.25rem;
}

@media (min-width: 640px) {
  .table-label {
    padding: 1.25rem 1.5rem 1.25rem 0;
  }
}

.table-label span {
  display: block;
  font-size: 0.8125rem;
  color: #5b8bc5;
  font-family: 'Noto Serif JP', serif;
  font-weight: 600;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .table-label span { width: 140px; }
}

.table-vdivider {
  display: none;
  flex-shrink: 0;
  width: 1px;
  background-color: #cccccc;
}

@media (min-width: 640px) {
  .table-vdivider { display: block; }
}

.table-value {
  flex: 1;
  padding-bottom: 1rem;
}

@media (min-width: 640px) {
  .table-value { padding: 1.25rem 0 1.25rem 2rem; }
}

.table-value p {
  font-size: 0.875rem;
  color: #2C2C4E;
  font-family: 'Noto Serif JP', serif;
  line-height: 1.8;
  margin: 0;
}

/* Map */
.event-map { margin-top: 3rem; }

.event-map h3 {
  font-weight: 700;
  font-size: 1rem;
  color: #2C2C4E;
  font-family: 'Noto Serif JP', serif;
  margin-bottom: 1rem;
}

.map-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: 0.5rem;
  height: 400px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Access */
.access-block { margin-top: 3rem; }

.access-h3 {
  font-weight: 700;
  font-size: 1.375rem;
  color: #2C2C4E;
  font-family: 'Noto Serif JP', serif;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.access-sub {
  font-size: 0.8125rem;
  color: #5b8bc5;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.access-route {
  padding: 1.25rem 0;
  border-bottom: 1px solid #cccccc;
}

.access-route-main {
  font-size: 0.875rem;
  color: #2C2C4E;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 600;
  line-height: 1.7;
  margin-bottom: 4px;
}

.access-route-sub {
  font-size: 0.8125rem;
  color: #555;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  line-height: 1.7;
}

/* =============================================
   APPLICATION
   ============================================= */
#apply {
  padding: 7rem 0;
  background-color: #F7F9FC;
}

.apply-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .apply-inner { grid-template-columns: 1fr 1fr; }
}

/* Left */
.apply-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.apply-eyebrow-line { width: 2.5rem; height: 1px; background-color: #a3c338; }

.apply-eyebrow-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #a3c338;
  font-family: 'Noto Serif JP', serif;
}

.apply-h2 {
  font-weight: 700;
  font-size: 2rem;
  color: #2C2C4E;
  font-family: 'Noto Serif JP', serif;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.apply-desc {
  font-size: 1rem;
  color: #2C2C4E;
  font-family: 'Noto Serif JP', serif;
  line-height: 1.9;
  margin-bottom: 2rem;
}

.apply-info-card {
  border-radius: 0.5rem;
  padding: 1.5rem;
  background-color: #EEF5FF;
  border: 1px solid #C8DDEF;
}

.apply-info-list { display: flex; flex-direction: column; gap: 0.75rem; list-style: none; }

.apply-info-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.apply-info-icon {
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5b8bc5;
  font-size: 0.875rem;
}

.apply-info-text {
  font-size: 0.875rem;
  color: #2C2C4E;
  font-family: 'Noto Serif JP', serif;
}

/* Right: Form */
.apply-form-wrap {
  border-radius: 0.5rem;
  padding: 2rem;
  background-color: #ffffff;
  border: 1px solid #E8EEF6;
}

.apply-form { display: flex; flex-direction: column; gap: 1.25rem; }

.apply-field { display: flex; flex-direction: column; }

.apply-label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 500;
  font-size: 0.8125rem;
  color: #2C2C4E;
  font-family: 'Noto Serif JP', serif;
}

.apply-label .required { color: #ee0055; }

.apply-input,
.apply-select,
.apply-textarea {
  width: 100%;
  border: 1px solid #DDE6EF;
  border-radius: 0.375rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #2C2C4E;
  font-family: 'Noto Serif JP', serif;
  outline: none;
  transition: border-color 0.2s;
  background: #fff;
}

.apply-input:focus,
.apply-select:focus,
.apply-textarea:focus { border-color: #93c5fd; }

.apply-textarea { resize: none; }

.apply-char-count {
  text-align: right;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: #999;
  font-family: 'Noto Serif JP', serif;
}

.apply-submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  border-radius: 0.375rem;
  color: #ffffff;
  font-weight: 500;
  background-color: #5b8bc5;
  font-size: 1rem;
  font-family: 'Noto Serif JP', serif;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
  border: none;
}

.apply-submit-btn:hover { opacity: 0.8; }

.apply-note {
  text-align: center;
  font-size: 0.8125rem;
  color: #999;
  font-family: 'Noto Serif JP', serif;
}

/* Success */
.apply-success {
  text-align: center;
  padding: 2rem 0;
}

.apply-success-icon {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background-color: #EEF5FF;
  color: #5b8bc5;
  font-size: 1.5rem;
}

.apply-success-title {
  font-weight: 700;
  font-size: 1.125rem;
  color: #2C2C4E;
  font-family: 'Noto Serif JP', serif;
  margin-bottom: 0.5rem;
}

.apply-success-desc {
  font-size: 0.875rem;
  color: #666;
  font-family: 'Noto Serif JP', serif;
  line-height: 1.7;
}

/* =============================================
   SPONSOR
   ============================================= */
#sponsor {
  padding: 7rem 0;
  background-color: #ffffff;
}

.sponsor-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.sponsor-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.sponsor-eyebrow-line { width: 2.5rem; height: 1px; background-color: #a3c338; }

.sponsor-eyebrow-label {
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #a3c338;
  font-family: 'Noto Serif JP', serif;
  font-size: 2.25rem;
}

.sponsor-h2 {
  font-weight: 700;
  font-size: 1.3125rem;
  color: #2C2C4E;
  font-family: 'Noto Serif JP', serif;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  text-align: center;
}

.sponsor-desc {
  max-width: 36rem;
  font-size: 1rem;
  color: #2C2C4E;
  font-family: 'Noto Serif JP', serif;
  line-height: 1.9;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .sponsor-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .sponsor-grid { grid-template-columns: repeat(4, 1fr); }
}

.sponsor-item {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  height: 5rem;
  padding: 0 1rem;
  border: 1px solid #E8EEF6;
  text-decoration: none;
  transition: opacity 0.2s;
}

.sponsor-item:hover { opacity: 0.7; }

.sponsor-item span {
  font-size: 0.8125rem;
  color: #2C2C4E;
  font-family: 'Noto Serif JP', serif;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}

/* =============================================
   PRE-FOOTER / FOOTER
   ============================================= */
.pre-footer {
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
  background-color: #2C2C4E;
}

.pre-footer-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.pre-footer-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.pre-footer-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(44,44,78,0.82);
}

.pre-footer-content {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.pre-footer-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.pf-line { width: 3rem; height: 1px; background-color: #a3c338; }

.pf-label {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #a3c338;
  font-family: 'Noto Serif JP', serif;
}

.pre-footer-h2 {
  font-weight: 700;
  font-size: 2rem;
  color: #ffffff;
  font-family: 'Noto Serif JP', serif;
  line-height: 1.6;
  max-width: 40rem;
  margin: 0 auto 2rem;
}

.pre-footer-text {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  font-family: 'Noto Serif JP', serif;
  line-height: 2;
  max-width: 33.75rem;
  margin: 0 auto 3rem;
}

.pre-footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  border-radius: 0.375rem;
  color: #ffffff;
  font-weight: 500;
  background-color: #5b8bc5;
  font-size: 1rem;
  font-family: 'Noto Serif JP', serif;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.pre-footer-cta:hover { opacity: 0.8; }

/* Footer */
#site-footer {
  background-color: #F0F5FB;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 2rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .footer-top { flex-direction: row; }
}

/* Logo area */
.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo-wrap img {
  height: 2.5rem;
  width: auto;
  object-fit: contain;
}

.footer-logo-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: #2C2C4E;
  font-family: 'Noto Serif JP', serif;
}

.footer-brand-desc {
  font-size: 0.8125rem;
  color: #666;
  font-family: 'Noto Serif JP', serif;
  line-height: 1.8;
}

/* Links */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

@media (min-width: 640px) {
  .footer-links { flex-direction: row; }
}

.footer-col-title {
  font-weight: 600;
  font-size: 0.8125rem;
  color: #5b8bc5;
  font-family: 'Noto Serif JP', serif;
  margin-bottom: 0.75rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
}

.footer-col ul li button {
  font-size: 0.8125rem;
  color: #555;
  font-family: 'Noto Serif JP', serif;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.15s;
  white-space: nowrap;
}

.footer-col ul li button:hover { opacity: 0.7; }

.footer-col ul li span {
  font-size: 0.8125rem;
  color: #666;
  font-family: 'Noto Serif JP', serif;
}

/* Bottom bar */
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #DDE6EF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; }
}

.footer-copyright,
.footer-note {
  font-size: 0.75rem;
  color: #999;
  font-family: 'Noto Serif JP', serif;
}

/* =============================================
   404
   ============================================= */
.error-404-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: 1rem;
}

.error-404-bg {
  position: absolute;
  bottom: 0;
  font-size: 9rem;
  font-weight: 900;
  color: #f9fafb;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  line-height: 1;
}

@media (min-width: 768px) {
  .error-404-bg { font-size: 12rem; }
}

.error-404-content {
  position: relative;
  z-index: 10;
}

.error-404-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.5rem;
  color: #2C2C4E;
  font-family: 'Noto Serif JP', serif;
}

@media (min-width: 768px) {
  .error-404-title { font-size: 1.5rem; }
}

.error-404-desc {
  margin-top: 1rem;
  font-size: 1rem;
  color: #6b7280;
  font-family: 'Noto Serif JP', serif;
}

.error-404-back {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  background-color: #5b8bc5;
  color: #ffffff;
  font-weight: 600;
  font-family: 'Noto Serif JP', serif;
  transition: opacity 0.2s;
}

.error-404-back:hover { opacity: 0.8; }

/* =============================================
   CONTACT FORM 7 スタイル上書き
   （.apply-form-wrap 内の wpcf7 要素に適用）
   ============================================= */
.apply-form-wrap .wpcf7 {
    width: 100%;
}

.apply-form-wrap .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* ラベル */
.apply-form-wrap .wpcf7-form label,
.apply-form-wrap .wpcf7-form .cf7-label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 500;
    font-size: 0.8125rem;
    color: #2C2C4E;
    font-family: 'Noto Serif JP', serif;
}

/* テキスト・メール・電話入力 */
.apply-form-wrap .wpcf7-form input[type="text"],
.apply-form-wrap .wpcf7-form input[type="email"],
.apply-form-wrap .wpcf7-form input[type="tel"],
.apply-form-wrap .wpcf7-form input[type="number"],
.apply-form-wrap .wpcf7-form input[type="url"] {
    width: 100%;
    border: 1px solid #DDE6EF;
    border-radius: 0.375rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: #2C2C4E;
    font-family: 'Noto Serif JP', serif;
    outline: none;
    transition: border-color 0.2s;
    background: #fff;
    box-sizing: border-box;
}

.apply-form-wrap .wpcf7-form input[type="text"]:focus,
.apply-form-wrap .wpcf7-form input[type="email"]:focus,
.apply-form-wrap .wpcf7-form input[type="tel"]:focus {
    border-color: #93c5fd;
}

/* セレクト */
.apply-form-wrap .wpcf7-form select {
    width: 100%;
    border: 1px solid #DDE6EF;
    border-radius: 0.375rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: #2C2C4E;
    font-family: 'Noto Serif JP', serif;
    outline: none;
    background: #fff;
    cursor: pointer;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.apply-form-wrap .wpcf7-form select:focus {
    border-color: #93c5fd;
}

/* テキストエリア */
.apply-form-wrap .wpcf7-form textarea {
    width: 100%;
    border: 1px solid #DDE6EF;
    border-radius: 0.375rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: #2C2C4E;
    font-family: 'Noto Serif JP', serif;
    outline: none;
    resize: none;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.apply-form-wrap .wpcf7-form textarea:focus {
    border-color: #93c5fd;
}

/* 送信ボタン */
.apply-form-wrap .wpcf7-form input[type="submit"] {
    width: 100%;
    padding: 1rem;
    border-radius: 0.375rem;
    color: #ffffff;
    font-weight: 500;
    background-color: #5b8bc5;
    font-size: 1rem;
    font-family: 'Noto Serif JP', serif;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s;
    border: none;
    box-sizing: border-box;
}


.apply-form-wrap .wpcf7-form input[type="submit"]:hover {
    opacity: 0.8;
}

.apply-form-wrap .wpcf7-form input[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}


/* バリデーションエラーメッセージ */
.apply-form-wrap .wpcf7-not-valid-tip {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: #e05;
    font-family: 'Noto Serif JP', serif;
}

/* 入力エラー時の枠線 */
.apply-form-wrap .wpcf7-not-valid {
    border-color: #e05 !important;
}

/* 送信結果メッセージ */
.apply-form-wrap .wpcf7-response-output {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-family: 'Noto Serif JP', serif;
    border: none;
}

/* 送信成功 */
.apply-form-wrap .wpcf7-mail-sent-ok {
    background-color: #EEF5FF;
    color: #2C2C4E;
    border-left: 3px solid #5b8bc5;
}

/* 送信失敗 */
.apply-form-wrap .wpcf7-mail-sent-ng,
.apply-form-wrap .wpcf7-aborted {
    background-color: #FFF0F3;
    color: #cc0033;
    border-left: 3px solid #cc0033;
}

/* スパムフィルター */
.apply-form-wrap .wpcf7-spam-blocked {
    background-color: #FFF8EE;
    color: #996600;
    border-left: 3px solid #f5a623;
}

/* 送信中のローダー非表示調整 */
.apply-form-wrap .wpcf7-spinner {
    margin-left: 0.5rem;
    vertical-align: middle;
}

/* =============================================
   LOADING ANIMATION OVERLAY
   ============================================= */

/* オーバーレイ全体 */
#mirai-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Canvasはフルスクリーン */
#mirai-loader-canvas {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: block;
}

/* ロゴファイナル表示（パーティクル収束後） */
#mirai-loader-logo {
  position: fixed;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 1.2s ease;
  pointer-events: none;
}

#mirai-loader-logo.show {
  opacity: 1;
}

#mirai-loader-logo img {
  width: min(88vw, 820px);
  height: auto;
  display: block;
}

/* ローディングテキスト */
#mirai-loader-text {
  position: fixed;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-family: 'Courier New', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(163, 195, 56, 0.5);
  white-space: nowrap;
  animation: loaderPulse 1.5s ease-in-out infinite;
}

@keyframes loaderPulse {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1; }
}


.sponcer_flex {
    display: flex;
    gap: 2rem;
    justify-content: center;
}