/* =========================================================
   設計方針:
   - 8pxベースの共通スペーシングスケール(--space-*)を全セクションで使い回す
     （Figma上の数px単位の差異は同一ルールに統一）
   - 見出し/ボタン/カード/リストなどは共通クラス化し、個別ページ内の値の重複を避ける
   - モバイルファースト。ブレークポイントは 768px、1024px
========================================================= */

/* ---------- 1. Design Tokens ---------- */
:root {
  /* Colors */
  --color-blue: #005DC2;
  --color-green: #00B161;
  --color-yellow: #FFF671;
  --color-bg-soft: #dadada;
  --color-bg-deco: #E5EDF1;
  --color-text: #1A1A1A;
  --color-white: #FFFFFF;
  --color-footer-bg: #0B3A69;
  --color-teal: #105969;
  /* おすすめカードの枠線・ドット色。ハンバーガー/閉じるボタンの背景色 */
  --color-dark: #2b2b2b;
  --gradient-main: linear-gradient(90deg, var(--color-blue) 0%, var(--color-green) 100%);
  --gradient-hero: linear-gradient(135deg, #0B3A69 0%, var(--color-teal) 55%, #004C9B 100%);

  /* Fonts */
  --font-en: 'Oswald', sans-serif;
  --font-accent: 'Outfit', sans-serif;
  --font-jp-heading: 'Zen Kaku Gothic New', sans-serif;
  /* 元デザインの明朝系見出しフォントの代替 */
  --font-jp: 'Noto Sans JP', sans-serif;

  /* Spacing scale (8px base) — 全セクション共通で使用 */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-8: 64px;
  --space-10: 80px;
  --space-12: 96px;
  --space-15: 120px;

  /* Layout */
  --container-max: 1160px;
  --container-pad: 24px;
  --header-h: 64px;
  --radius-pill: 100px;
  --radius-card: 20px;
  --radius-sm: 12px;

  /* セクション共通の縦余白（モバイル / デスクトップで各1値のみ）。 */
  --section-pad-y: var(--space-10);
}

@media (min-width: 1024px) {
  :root {
    --container-pad: 40px;
    --header-h: 88px;
    --section-pad-y: var(--space-15);
  }
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font-jp);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.7;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  /* SPで.hero__cta-bandを画面下部にposition:fixedしている分、
     フッター等がその下に隠れないよう常に余白を確保しておく（1024px側で解除） */
  padding-bottom: 110px;
}

@media (min-width: 1024px) {
  body {
    padding-bottom: 0;
  }
}

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

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}

/* ---------- 3. Layout helpers ---------- */
.l-container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: var(--section-pad-y);
}

.u-nowrap {
  white-space: nowrap;
}

.u-sp-only {
  display: inline !important;
}

.u-pc-only {
  display: none !important;
}

@media (min-width: 1024px) {
  .u-sp-only {
    display: none !important;
  }

  .u-pc-only {
    display: inline-flex !important;
  }
}

/* ---------- 4. 共通コンポーネント ---------- */

/* 見出し（英語アイコテキスト + 日本語見出し）を全セクションで共通利用 */
.section-eyebrow {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-blue);
  text-align: center;
  margin: 0 0 var(--space-1);
}

.section-eyebrow--green {
  color: var(--color-green);
}

.section-title {
  font-family: var(--font-jp-heading);
  font-weight: 700;
  font-size: clamp(26px, 6vw, 40px);
  letter-spacing: 0.2em;
  text-align: center;
  margin: 0 0 var(--space-4);
}

.section-title img {
  display: inline-block;
  height: clamp(26px, 6vw, 40px);
  width: auto;
}

.section-subtitle {
  font-family: var(--font-jp-heading);
  font-weight: 700;
  font-size: clamp(22px, 5vw, 32px);
  letter-spacing: 0.2em;
  text-align: center;
  margin: var(--space-10) 0 var(--space-5);
}

.section-subtitle img {
  display: inline-block;
  height: clamp(22px, 5vw, 32px);
  width: auto;
}

.agenda-section .section-subtitle {
  margin-top: 0;
}

.agenda-section {
  padding-bottom: 0;
}

/* グラデーションボタン（ENTRY）。.hero__cta-bandと同じ */
.btn-gradient {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(90deg,
      var(--color-blue) 0%,
      var(--color-green) 50%,
      var(--color-blue) 100%);
  background-size: 200% 100%;
  background-position: 0% 0%;
  background-repeat: no-repeat;
  color: var(--color-white);
  font-family: var(--font-accent);
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: var(--radius-pill);
  padding: var(--space-2) var(--space-5);
  font-size: 16px;
  transition: background-position .9s ease;
}

.btn-gradient:hover {
  background-position: 100% 0%;
}

.btn-gradient--sm {
  padding: 10px var(--space-4);
  font-size: 18px;
}

/* アウトラインボタン */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  color: var(--color-text);
  font-family: var(--font-jp);
  font-weight: 700;
  border: 1px solid var(--color-text);
  border-radius: var(--radius-pill);
  padding: var(--space-1) var(--space-5);
  font-size: 16px;
  transition: background .2s ease;
  letter-spacing:0.05em
}

.btn-outline:hover {
  background: var(--color-bg-soft);
}

/* アウトラインボタン（開催概要＞マップ） */
.btn-outline--blue {
  background: var(--color-white);
  color: #000;
  border-color: #000;
}

.btn-outline--blue:hover {
  background: var(--color-bg-deco);
}

/* アウトラインタグ（「集合」「会場」など） */
.tag-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-blue);
  color: var(--color-blue);
  font-weight: 700;
  font-size: 13px;
  border-radius: var(--radius-pill);
  padding: 2px var(--space-2);
  margin-right: var(--space-1);
}

/* 緑ドットのリスト */
.dot-list li {
  position: relative;
  padding-left: var(--space-3);
  margin-bottom: var(--space-2);
  font-weight: 500;
}

.dot-list li:last-child {
  margin-bottom: 0;
}

.dot-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-green);
}

/* チェックリスト */
.check-list li {
  position: relative;
  padding-left: var(--space-4);
  margin-bottom: var(--space-2);
  font-weight: 500;
}

.check-list li:last-child {
  margin-bottom: 0;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gradient-main);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 9px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--color-white);
  border-bottom: 2px solid var(--color-white);
  transform: rotate(-45deg);
}

/* 角丸四角の箇条書き */
.square-list li {
  position: relative;
  padding-left: var(--space-4);
  margin-bottom: var(--space-3);
  font-family: var(--font-jp);
  color: var(--color-text);
  font-size: clamp(13px, 2.8vw, 16px);
  line-height: 1.8;
}

.square-list li:last-child {
  margin-bottom: 0;
}

.square-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 10px;
  height: 10px;
  background: var(--color-green);
}

/* スクロール連動の表示アニメーション。script.jsのIntersectionObserverが
   画面内に入った要素に.is-visibleを付ける（3つのSTEP〜おすすめカードで使用）。
   prefers-reduced-motionの場合はアニメーションなしで最初から表示する */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.3s ease-out, transform 1.3s ease-out;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

/* タイトル */
.hero__titlegraphic.reveal {
  transform: none;
  transition-duration: 2.2s;
}

.hero__titlegraphic.reveal.is-visible {
  transform: none;
}

/* カード群 */
.recommend__grid .reveal:nth-child(2) {
  transition-delay: .1s;
}

/* ヒーロー下部の写真2枚 */
.hero__bottom-photo--b.reveal {
  transition-delay: .3s;
}

/* 3つのSTEPカード */
.steps__list .reveal {
  transition-duration: .6s;
}

.steps__list .reveal:nth-child(3) {
  transition-delay: .30s;
}

.steps__list .reveal:nth-child(5) {
  transition-delay: .65s;
}

/* ヒーローのリード文 */
.hero__lead-line {
  display: block;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1.6s ease-out, transform 1.6s ease-out;
}

.hero__lead.is-visible .hero__lead-line {
  opacity: 1;
  transform: none;
}

.hero__lead-line:nth-child(1) {
  transition-delay: 0s;
}

.hero__lead-line:nth-child(2) {
  transition-delay: .25s;
}

.hero__lead-line:nth-child(3) {
  transition-delay: .5s;
}

.hero__lead-line:nth-child(4) {
  transition-delay: .75s;
}

.hero__lead-line:nth-child(5) {
  transition-delay: 1s;
}

@media (prefers-reduced-motion: reduce) {
  .hero__lead-line {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.reveal-group.reveal-group > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.reveal-group.is-visible > * {
  opacity: 1;
  transform: none;
}

.reveal-group > *:nth-child(1) {
  transition-delay: 0s;
}

.reveal-group > *:nth-child(2) {
  transition-delay: .15s;
}

.reveal-group > *:nth-child(3) {
  transition-delay: .3s;
}

.reveal-group > *:nth-child(4) {
  transition-delay: .45s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-group > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- 5. Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: var(--color-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
  z-index: 100;
}

.header__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  height: 100%;
  padding-inline: var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}

/* ロゴ画像＋テキストロックアップをまとめる（nav-overlay__brandと同じ考え方） */
.header__brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-width: 0;
}

.header__logo-mark {
  flex: none;
  height: 35px;
  width: auto;
}

.header__logo {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.15;
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .header__logo {
    font-size: 38px;
  }
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.hamburger {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.hamburger span {
  width: 18px;
  height: 2px;
  background: var(--color-white);
}

/* ---------- 6. Nav Overlay ---------- */
.nav-overlay {
  position: fixed;
  inset: 0;
  height: 100vh;
  height: 100dvh;
  background: var(--color-white);
  z-index: 200;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s ease;
}

.nav-overlay.is-open {
  transform: translateX(0);
}

.nav-overlay__header {
  height: var(--header-h);
  flex: none;
  padding-inline: var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-bg-deco);
}

.nav-overlay__brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.nav-overlay__logo-mark {
  height: 32px;
  width: auto;
}

.nav-overlay__close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-dark);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-overlay__nav {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: var(--color-bg-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(8px, 4vh, 64px) var(--container-pad);
  gap: clamp(4px, 2vh, 24px);
}


.nav-overlay__nav a:hover {
  opacity: 0.6;
}

.nav-overlay__link {
  width: 100%;
  max-width: 340px;
  text-align: center;
  padding-bottom: clamp(4px, 2vh, 24px);
  border-bottom: 1px solid #d6d6d6;
  display: flex;
  flex-direction: column;
  gap: clamp(0px, 0.5vh, 8px);
}


.nav-overlay__link:last-child {
  border-bottom: none;
}

.nav-overlay__en {
  font-family: var(--font-en);
  color: var(--color-blue);
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: 0.35em;
}

.nav-overlay__jp {
  font-family: var(--font-jp-heading);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
}

.nav-overlay__jp img {
  display: inline-block;
  height: 20px;
  width: auto;
}

.nav-overlay__cta {
  flex: none;
  background-image: linear-gradient(90deg,
      var(--color-blue) 0%,
      var(--color-green) 50%,
      var(--color-blue) 100%);
  background-size: 200% 100%;
  background-position: 0% 0%;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-1) var(--space-2);
  gap: var(--space-2);
  transition: background-position .9s ease;
}

.nav-overlay__cta:hover {
  background-position: 100% 0%;
}

.nav-overlay__entry {
  font-family: var(--font-accent);
  font-weight: 700;
  color: var(--color-white);
  font-size: clamp(28px, 8vw, 56px);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.deadline {
  background: #000;
  border-radius: 4px;
  color: var(--color-white);
  text-align: center;
  padding: var(--space-1);
  line-height: 1.3;
}

.deadline__count {
  font-size: 10px;
  margin-bottom: 2px;
}

.deadline__date {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  display: inline-flex;
  align-items: flex-end;
}

.deadline__day {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 10px;
  height: 10px;
  margin-left: 2px;
  border: 1px solid var(--color-white);
  border-radius: 50%;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 6px;
  line-height: 1;
}

/* 「申込締切」のラベル */
.deadline__label {
  font-size: 12px;
  padding-left: 4px;
}

@media (min-width: 1024px) {
  .deadline__label {
    font-size: 18px;
  }
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero__bgtext {
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: clamp(90px, calc(87.6px + 3.6vw), 240px);
  line-height: 1.05;
  text-align: left;
  white-space: nowrap;
  background: linear-gradient(to bottom, rgba(0, 93, 194, .6), rgba(0, 177, 97, .6));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  pointer-events: none;
  z-index: 0;
}

@media (min-width: 450px) {
  .hero__bgtext {
    font-size: clamp(90px, calc(53.2px + 12.62vw), 240px);
  }
}

@media (min-width: 768px) {
  .hero__bgtext {
    /* 768px以上は変更なし。450〜768px用のcalcを使わず元の拡大率に戻す */
    font-size: clamp(90px, 15vw, 240px);
  }
}

.hero__bgtext-break {
  display: inline;
}

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

/* 地球儀の装飾
   180秒で1周するさらにゆっくりした自転（linear・無限ループ）を常時 */
.hero__globe {
  position: absolute;
  bottom: -10%;
  right: -20%;
  width: 75vw;
  height: auto;
  z-index: 0;
  pointer-events: none;
  animation: hero-globe-spin 180s linear infinite;
}

@keyframes hero-globe-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__globe {
    animation: none;
  }
}

.hero__photo-decor {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  z-index: 0;
  pointer-events: none;
}

.hero__topband {
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: var(--color-footer-bg);
  padding-top: var(--space-2);
  padding-bottom: calc(13px + 37.6vw);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  max-width: none;
}

.hero__top-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.hero__titlegraphic {
  margin: 0;
  line-height: 0;
}

.hero__titlegraphic img {
  width: 100%;
  max-width: 480px;
  height: auto;
}

.hero__meta {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: var(--space-3);
  align-items: start;
}

.hero__desc {
  grid-column: 2;
  grid-row: 1 / 3;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-jp-heading);
  font-weight: 500;
  font-size: clamp(16px, 4vw, 22px);
  line-height: 1.5;
  color: var(--color-white);
  letter-spacing: .2em;
}

.hero__date {
  grid-column: 1;
  grid-row: 1;
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: none;
}

.hero__date-row {
  display: flex;
  align-items: flex-end;
}

.hero__date-y {
  font-size: clamp(26px, 5vw, 28px);
  line-height: 1;
}

.hero__date-md {
  font-size: clamp(50px, 8vw, 48px);
  line-height: 1;
}

.hero__date-slash,
.hero__date-arrow {
  font-weight: 100;
  line-height: 1;
  margin-inline: 2px;
}

.hero__date-arrow {
  align-self: center;
  display: inline-block;
  width: clamp(20px, 3vw, 30px);
  height: clamp(3px, .4vw, 6px);
  overflow: hidden;
  text-indent: -9999px;
  background: currentColor;
  vertical-align: middle;
}

.hero__date-day {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  border: 1px solid var(--color-white);
  border-radius: 50%;
  font-family: var(--font-jp);
  font-weight: 700;
  width: clamp(20px, 4vw, 24px);
  height: clamp(20px, 4vw, 24px);
  font-size: clamp(10px, 2vw, 12px);
  margin-left: 2px;
}

.badge-row {
  grid-column: 1;
  grid-row: 2;
  position: relative;
  z-index: 1;
  display: flex;
  gap: var(--space-1);
  justify-content: flex-start;
  margin-top: 20px;
}

.badge-circle {
  width: clamp(70px, 15vw, 88px);
  height: clamp(70px, 15vw, 88px);
}

/* =========================================================
   Hero
========================================================= */
@media (min-width: 768px) {

  /* 1280pxでの見た目を基準に、間隔・画像・文字サイズをすべてvw指定に揃えて
     768px以上では同じ比率で拡大・縮小し続ける（=帯の縦幅も含めて丸ごと変化する） */
  .hero__topband {
    padding-block: 3.75vw;
    /* 48px / 1280px */
  }

  .hero__inner {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 5vw;
    row-gap: 1.875vw;
    align-items: start;
  }

  .hero__globe {
    top: 5%;
    right:-5%;
    bottom: auto;
    width: 55vw;
  }

  .hero__photo-decor {
    left: -3%;
    width: 59.6vw;
  }

  .hero__top-row {
    display: contents;
  }

  .hero__titlegraphic {
    grid-column: 1;
    grid-row: 1 / -1;
  }

  .hero__titlegraphic img {
    width: 48vw;
    /* 620px / 1280px */
    max-width: none;
  }

  .hero__meta {
    display: contents;
  }

  .hero__desc {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    margin-right: calc(-1 * var(--container-pad));
    writing-mode: horizontal-tb;
    font-size: 2.66vw;
    /* 34px / 1280px */
  }

  .hero__desc-break {
    display: none;
  }

  .hero__date {
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
    margin-right: calc(-1 * var(--container-pad));
  }

  /* 2027を単独行にした分、2行目(2/20ー21)の実効幅いっぱいまで拡大（実測して逆算） */
  .hero__date-y {
    font-size: 4.8vw;
  }

  .hero__date-md {
    font-size: 7.3vw;
  }

  .hero__date-day {
    width: 3.35vw;
    height: 3.35vw;
    font-size: 1.75vw;
  }

  .badge-row {
    grid-column: 2 / -1;
    grid-row: 3;
    margin-top: 1.25vw;
    margin-right: calc(-1 * var(--container-pad));
    justify-content: flex-start;
    gap: 1.875vw;
    /* 24px / 1280px */
  }

  .badge-circle {
    /* 3個+gap2つが2列目の実効幅(約457px)に1行で収まる最大値から逆算 */
    width: 10.5vw;
    height: 10.5vw;
  }
}

/* ENTRY + カウントダウン帯（ヒーロー内・全幅グラデーション） */
.hero__cta-band {
  position: relative;
  z-index: 1;
  width: 100%;
  background-image: linear-gradient(90deg,
      var(--color-blue) 0%,
      var(--color-green) 50%,
      var(--color-blue) 100%);
  background-size: 200% 100%;
  background-position: 0% 0%;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-2);
  transition: background-position .9s ease;
}

.hero__cta-band:hover {
  background-position: 100% 0%;
}

/* #heroCtaBand（本来の帯）と同じ見た目を複製
本来の帯(#heroCtaBand)の画面外スクロールを検知したら.is-visibleを付けてスライドイン */
.hero__cta-band--sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding-bottom: calc(var(--space-1) + env(safe-area-inset-bottom));
  /* translateZ(0)でコンポジターレイヤーに昇格させ、Android Chromeでツールバーの
     表示/非表示アニメーション中にfixed要素の追従が遅れて下に隙間が出る不具合を防ぐ */
  transform: translateY(100%) translateZ(0);
  will-change: transform;
  transition: transform .25s ease, background-position .9s ease;
  pointer-events: none;
}

.hero__cta-band--sticky.is-visible {
  transform: translateY(0) translateZ(0);
  pointer-events: auto;
}

@media (min-width: 1024px) {
  .hero__cta-band--sticky {
    display: none;
  }
}

.hero__cta-entry {
  font-family: var(--font-accent);
  font-weight: 700;
  color: var(--color-white);
  font-size: clamp(28px, 8vw, 56px);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.deadline--hero {
  background: #000;
  border-radius: 4px;
  color: var(--color-white);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.deadline--hero .deadline__count {
  font-size: 12px;
}

.deadline--hero .deadline__date {
  font-size: 14px;
}

.deadline--hero .deadline__day {
  width: 12px;
  height: 12px;
  font-size: 7px;
}

@media (min-width: 1024px) {
  .deadline--hero .deadline__count {
    font-size: 16px;
  }

  .deadline--hero .deadline__date {
    font-size: 24px;
  }

  .deadline--hero .deadline__day {
    width: 18px;
    height: 18px;
    font-size: 11px;
  }
}

.hero__bottom {
  position: relative;
  z-index: 1;
  padding-top: var(--space-2);
  overflow: hidden;
}

.hero__bottom-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center top;
  z-index: 0;
  pointer-events: none;
}

.hero__bottom-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: var(--space-4);
  align-items: center;
  margin-bottom:24px;
}

.hero__bottom-photo {
  overflow: hidden;
}

.hero__bottom-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__bottom-photo--a {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  width: 75%;
  aspect-ratio: 1000 / 685;
  border-radius: var(--radius-card) 0 0 var(--radius-card);
  margin-right: calc(-1 * var(--container-pad));
}

.hero__bottom-photo--b {
  grid-column: 1;
  grid-row: 3;
  justify-self: start;
  width: 75%;
  aspect-ratio: 3 / 2;
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  margin-left: calc(-1 * var(--container-pad));
}

.hero__lead {
  grid-column: 1 / -1;
  grid-row: 2;
  position: relative;
  z-index: 2;
  text-align: center;
  font-family: var(--font-jp-heading);
  font-weight: 700;
  font-size: clamp(13px, 3.6vw, 20px);
  line-height: 2.2;
}

.news {
  background: var(--color-white);
  padding-block: var(--space-6);
}

.news__list {
  display: flex;
  flex-direction: column;
  max-width: 840px;
  margin-inline: auto;
  background: var(--color-white);
  border: 1px solid #000;
  padding-block: var(--space-4);
  padding-inline: var(--space-4);
}

.news__item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  padding-block: var(--space-3);
}

.news__item:not(:last-child) {
  border-bottom: 1px solid #ddd;
}

.news__item:first-child {
  padding-top: 0;
}

.news__item:last-child {
  padding-bottom: 0;
}

.news__date {
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 14px;
  width: 72px;
  flex: none;
}

.news__text {
  flex: 1 1 240px;
  font-size: 14px;
  font-weight: 500;
}

.news__tag {
  /* 背景色・文字色はJS側でスプレッドシートのD列(色)に応じてinlineで設定。
     タグの有無・文字数に関わらず本文の行頭位置を揃えるため、表示中の一番長いタグの幅に
     JS側（syncNewsTagWidth）で揃えている。JS実行前・未対応時は80pxにフォールバック */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--news-tag-width, 80px);
  flex: none;
  box-sizing: border-box;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 4px var(--space-1);
}

.news__item--empty {
  justify-content: center;
  color: #888;
  font-size: 13px;
}

@media (min-width: 1024px) {
  .news {
  padding-block: var(--space-6) 0;
  }
}

/* ---------- 8. 3つのSTEP ---------- */
.steps {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.steps>.l-container {
  position: relative;
  z-index: 1;
}

.steps__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  max-width: 1016px;
  margin-inline: auto;
}

.step-wrap {
  position: relative;
  min-width: 0;
  max-width: 420px;
  margin-inline: auto;
}

.step__arrow {
  position: relative;
  justify-self: center;
  width: 24px;
  height: 24px;
}

.step__arrow svg {
  position: absolute;
  inset: 0;
  display: block;
  width: 24px;
  height: 24px;
  transform: rotate(90deg);
}

.step {
  position: relative;
  z-index: 1;
  overflow: hidden;
  text-align: center;
  background: var(--color-bg-deco);
  border: 3px solid var(--color-green);
  border-radius: 10px;
  margin-top: 70px;
  height: auto;
  padding: 86px var(--space-2) var(--space-3);
}

/* =========================================================
   3つのSTEP
========================================================= */
@media (min-width: 768px) {

  .steps__list {
    display: flex;
    align-items: stretch;
    gap: clamp(16px, 6.897vw - 36.97px, 32px);
  }

  .step-wrap {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
  }

  .step__arrow {
    flex: none;
    height: auto;
  }

  .step__arrow svg {
    inset: auto;
    left: 0;
    width: 24px;
    height: 24px;
    top: calc(35px + 50%);
    transform: translateY(-50%) rotate(0deg);
  }

  .step {
    height: calc(100% - 70px);
  }
}

.step__watermark {
  position: absolute;
  top: 0;
  left: 0;
  writing-mode: vertical-rl;
  text-orientation: sideways;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 44px;
  line-height: 1;
  color: #F4F9FD;
  white-space: nowrap;
  z-index: -1;
  pointer-events: none;
}

.step__icon {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 140px;
  border-radius: 50%;
}

.step__sub {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
  color: var(--color-green);
  margin-bottom: var(--space-2);
}

.step__detail {
  text-align: left;
  max-width: 320px;
  margin-inline: auto;
  font-size: 15px;
}

.step__detail li {
  margin-bottom: var(--space-1);
}

/* 交渉のテーブルにのる議題 */
.agenda {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 800px;
  margin-inline: auto;
  background: var(--color-bg-deco);
  border: 3px solid var(--color-blue);
  border-radius: 10px;
  padding: var(--space-3) var(--space-3);
}

.agenda::before,
.agenda::after {
  content: "";
  position: absolute;
  width: 72px;
  height: 72px;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

.agenda::before {
  top: -24px;
  left: -16px;
  background-image: url("images/agenda_1.png");
}

.agenda::after {
  bottom: -24px;
  right: -16px;
  background-image: url("images/agenda_2.png");
}


.agenda__main {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  text-align: left;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.04em;
  line-height: 1.6;
  margin-bottom: var(--space-1);
}

.agenda__main::before {
  content: "";
  flex: none;
  align-self: center;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-blue);
}

.agenda__sub {
  display: flex;
  align-items: flex-start;
  gap: var(--space-1);
  /* 丸(12px)+main側のgap(space-2)、質問のテキスト書き出しに合わせてインデント */
  padding-left: calc(12px + var(--space-2));
  text-align: left;
  font-weight: 500;
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.6;
}

.agenda__sub::before {
  content: "→";
  flex: none;
  color: var(--color-blue);
  font-weight: 700;
}

@media (min-width: 1024px) {
  .agenda {
    max-width: 1016px;
    padding: var(--space-5) var(--space-5);
  }

  .agenda__main {
    font-size: 22px;
  }

  .agenda__sub {
    font-size: 18px;
  }

  .agenda::before,
  .agenda::after {
    width: 110px;
    height: 110px;
  }

  .agenda::before {
    top: -32px;
    left: -24px;
  }

  .agenda::after {
    bottom: -32px;
    right: -24px;
  }



}

/* ---------- 9. おすすめ / 得られること ---------- */
.recommend__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  max-width: 450px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .recommend__grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 1016px;
  }
}

.recommend__card {
  position: relative;
  min-width: 0;
  background: var(--color-bg-deco);
  border: 3px solid var(--color-teal);
  border-radius: 8px;
  padding: var(--space-3);
  text-align: left;
}

.recommend__icon {
  position: absolute;
  top: -14px;
  right: var(--space-1);
  height: clamp(56px, 15vw, 72px);
  width: auto;
}

.recommend__title {
  margin: 0 70px var(--space-3) 0;
}

.recommend__title img {
  display: block;
  height: 18px;
  width: auto;
  max-width: none;
}

.recommend__card .check-list {
  text-align: left;
  margin-inline: 0;
}

.recommend__card .check-list li {
  padding-left: var(--space-3);
  font-size: 15px;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.recommend__card .check-list li::before {
  top: 8px;
  width: 12px;
  height: 12px;
  background: var(--color-teal);
}

.recommend__card .check-list li::after {
  content: none;
}

@media (min-width: 1024px) {
  .recommend__card {
    border-width: 3px;
    border-radius: 10px;
  }

  .recommend__icon {
    top: -20px;
    right: var(--space-5);
    height: 90px;
  }

  .recommend__title {
    margin-right: 110px;
  }

  .recommend__title img {
    height: 24px;
  }

  .recommend__card .check-list li {
    font-size: 20px;
    line-height: 1.75;
  }

  .recommend__card .check-list li::before {
    top: 11px;
  }
}

/* ---------- 10. 開催概要 ---------- */
.detail-table__row {
  display: flex;
  flex-direction: column;
  padding-block: var(--space-2);
  gap: var(--space-1);
}

.overview-card > .detail-table:first-of-type > .detail-table__row:first-child {
  padding-top: var(--space-4);
}

.detail-table__row dt {
  flex: none;
  background: var(--color-blue);
  color: var(--color-white);
  font-weight: 700;
  text-align: center;
  padding: var(--space-1) var(--space-2);
  letter-spacing: 0.3em;
  width: fit-content;
  line-height: 1.3;
}

.detail-table__row dd {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
}


.overview-card > .detail-table:first-of-type > .detail-table__row:first-child dt {
  font-size: 18px;
}

.overview-card > .detail-table:first-of-type > .detail-table__row:first-child dd {
  font-size: 22px;
}

.overview__note {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  margin-top: calc(-1 * var(--space-1));
}

.overview {
  position: relative;
  overflow: hidden;
  background-color: var(--color-bg-deco);
  background-image:
    linear-gradient(to right, var(--color-white) 1px, transparent 1px),
    linear-gradient(to bottom, var(--color-white) 1px, transparent 1px);
  background-size: 40px 40px;
}

.overview-card__head {
  position: relative;
  border-bottom: 1px solid var(--color-text);
}

/* タイトル背後の英字 */
.overview__ghost {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(78px, 12vw, 140px);
  line-height: 0.86;
  color: var(--color-bg-deco);
  white-space: nowrap;
  z-index: 2;
  pointer-events: none;
}

.overview-card {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-text);
  padding: var(--space-2) var(--space-3) var(--space-3);
}

.overview-card__head > .section-title {
  position: relative;
  z-index: 3;
  margin-bottom: 0;
}

.access__place + .detail-table {
  margin-top: var(--space-4);
}

.access__collect {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-1);
  margin: var(--space-2) 0;
}

.text-note {
  font-weight: 400;
  font-size: 0.8em;
}


.access__title {
  font-family: var(--font-jp-heading);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: var(--space-1);
  color:var(--color-blue)
}

.access__routes {
  margin-bottom: var(--space-3);
  text-align: justify;
  word-break: break-all;
}

.access__routes li {
  font-size: 14px;
  line-height: 1.4;
}

.access__routes li::before {
  background: var(--color-blue);
}

.access__map {
  overflow: hidden;
  margin-bottom: var(--space-4);
}

.access__map-btn {
  margin-bottom: var(--space-4);
}

.access__map-btn::after {
  content: "↗";
  margin-left: var(--space-1);
}

.access__map iframe {
  display: block;
  width: 100%;
}

.access__place {
  font-size: 18px;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-1);
}

.access__collect .tag-outline,
.access__place .tag-outline {
  margin-right: 0;
}

@media (min-width: 1024px) {
  .overview-card {
  padding: var(--space-3) var(--space-8) var(--space-8);
}

  .access__collect,
  .access__place {
    font-size: 24px;
  }

}

/* ---------- 11. Q&A アコーディオン ---------- */
.accordion__item {
  border-bottom: 1px solid var(--color-bg-deco);
}

.accordion__item:first-child {
  border-top: 1px solid var(--color-bg-deco);
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  padding-block: var(--space-3);
  text-align: left;
}

.accordion__q {
  font-family: var(--font-accent);
  font-weight: 700;
  color: var(--color-green);
  font-size: 24px;
  line-height: 1.4;
  flex: none;
}

.accordion__question {
  flex: 1;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.6;
}

.accordion__toggle {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-green);
  position: relative;
  margin-top: 4px;
}

.accordion__toggle::before,
.accordion__toggle::after {
  content: "";
  position: absolute;
  background: var(--color-white);
  top: 50%;
  left: 50%;
}

.accordion__toggle::before {
  width: 12px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.accordion__toggle::after {
  width: 2px;
  height: 12px;
  transform: translate(-50%, -50%);
  transition: transform .25s ease;
}

.accordion__trigger[aria-expanded="true"] .accordion__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.accordion__answer {
  padding: 0 var(--space-2) var(--space-3) calc(24px + var(--space-2));
  font-size: 14px;
  line-height: 1.9;
  color: #444;
}

/* ---------- 12. APPLY ---------- */
.apply {
  padding-top: 0;
  padding-bottom: 0;
}

.grid-band {
  position: relative;
  overflow: hidden;
  background-color: var(--color-white);
  background-image:
    linear-gradient(to right, var(--color-bg-deco) 1px, transparent 1px),
    linear-gradient(to bottom, var(--color-bg-deco) 1px, transparent 1px);
  background-size: 40px 40px;
}

.grid-band__card {
  position: relative;
  margin-inline: auto;
  background: var(--color-bg-deco);
  border: 1px solid var(--color-text);
  padding: var(--space-2) var(--space-3) var(--space-6);
    text-align: justify;
  word-break: break-all;
}

#apply-flow {
  padding-top: var(--section-pad-y);
}

.grid-band__head {
  position: relative;
  border-bottom: 1px solid var(--color-text);
  margin-bottom: var(--space-5);
}

.grid-band__head>.section-title {
  position: relative;
  z-index: 3;
  margin-bottom: 0;
}

.grid-band__ghost {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-en);
  font-weight: 500;
  font-size: clamp(78px, 12vw, 140px);
  line-height: 0.86;
  color: var(--color-white);
  white-space: nowrap;
  z-index: 2;
  pointer-events: none;
}


.flow__cta {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: var(--space-2);
}

#apply-flow .apply__entry {
  background-image: linear-gradient(90deg,
      var(--color-blue) 0%,
      var(--color-green) 50%,
      var(--color-blue) 100%);
  background-size: 200% 100%;
  background-position: 0% 0%;
  background-repeat: no-repeat;
  transition: background-position .9s ease;
}

#apply-flow .apply__entry:hover {
  background-position: 100% 0%;
  opacity: 1;
}

.apply__transition {
  background: var(--gradient-main);
  padding-block: var(--space-6);
  text-align: center;
}

.apply__transition-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.apply__message {
  color: var(--color-white);
  font-family: var(--font-jp-heading);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.apply__message-main {
  display: block;
  font-weight: 700;
  font-size: clamp(20px, 5vw, 38px);
  line-height: 1.3;
  margin-bottom: var(--space-2);
}

.apply__message-sub {
  display: block;
  font-weight: 500;
  font-size: clamp(18px, 4.5vw, 30px);
  line-height: 1.2;
}

.apply__hint {
  color: var(--color-white);
  font-weight: 700;
  font-size: clamp(14px, 4vw, 28px);
  margin-bottom: var(--space-3);
}


.apply__entry {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 164px;
  height: 46px;
  background-color: var(--color-text);
  color: var(--color-white);
  font-family: var(--font-accent);
  font-weight: 600;
  letter-spacing: 0.1em;
  border-radius: var(--radius-pill);
  font-size: 22px;
  margin-bottom: var(--space-4);
}

.apply__entry::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(90deg,
      var(--color-blue) 0%,
      var(--color-green) 50%,
      var(--color-blue) 100%);
  background-size: 200% 100%;
  background-position: 0% 0%;
  opacity: 0;
  transition: opacity .9s ease, background-position .9s ease;
}

.apply__entry:hover::before {
  opacity: 1;
  background-position: 100% 0%;
}

/* 締切カウントダウン枠 */
.apply__deadline {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  border: 1px solid var(--color-white);
  border-radius: 4px;
  padding: var(--space-2) var(--space-4);
  color: var(--color-white);
}

.apply__deadline-count {
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: clamp(13px, 3vw, 22px);
  letter-spacing: 0.1em;
}

.apply__deadline-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
}

.apply__deadline-date {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
}

.apply__deadline-date-y {
  font-size: clamp(17px, 4.8vw, 34px);
}

.apply__deadline-date-md {
  font-size: clamp(26px, 7vw, 52px);
}

.apply__deadline-date-slash {
  font-weight: 200;
  opacity: .8;
  margin-inline: 1px;
}

.apply__deadline-day {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: clamp(20px, 5vw, 28px);
  height: clamp(20px, 5vw, 28px);
  margin-left: 4px;
  border: 1px solid var(--color-white);
  border-radius: 50%;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: clamp(10px, 2.4vw, 15px);
}

.apply__deadline-label {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: clamp(15px, 3.6vw, 24px);
  line-height: 1.3;
}

.flow {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  text-align: justify;
  word-break: break-all;
}

.flow__item {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: var(--space-3);
  align-items: start;
}

.flow__num {
  flex: none;
  width: 34px;
  height: 34px;
  background: var(--color-blue);
  color: var(--color-white);
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow__num--green {
  background: var(--color-green);
}

.flow__text {
  padding-top: 6px;
  font-family: var(--font-jp);
  font-weight: 500;
  color: var(--color-text);
  font-size: clamp(16px, 3.2vw, 24px);
  line-height: 1.7;
}

.apply__send {
  text-align: center;
  margin-top: var(--space-8);
}

.apply__notes {
  text-align: left;
  font-size: 12px;
  color: #666;
  margin-top: var(--space-3);
  line-height: 1.9;
}

/* ---------- 13. 応募用紙 ---------- */
.form-guide__steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-bottom: var(--space-8);
}

.form-guide__step {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}


.form-guide__title {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: clamp(18px, 4.4vw, 32px);
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.form-guide__text {
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: clamp(15px, 3.2vw, 24px);
  color: var(--color-text);
  line-height: 1.7;
}

.form-guide__subnote {
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: clamp(13px, 2.6vw, 18px);
  color: var(--color-text);
  line-height: 1.6;
  margin-top: var(--space-2);
}

.form-guide__notes {
  margin-top: var(--space-4);
}

.form-guide__notes-title {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: clamp(16px, 3.6vw, 26px);
  color: var(--color-green);
  text-align: center;
  margin-bottom: var(--space-3);
}

/* ---------- 14. Footer ---------- */
.footer {
  position: relative;
}

.footer__navy {
  position: relative;
  overflow: hidden;
  background: var(--color-footer-bg);
  color: var(--color-white);
}

.footer__info {
  margin-top: var(--space-4);
  padding-bottom: var(--space-4);
}


.footer__ghost {
  position: absolute;
  right: 0;
  bottom: 0;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: clamp(56px, 24vw, 220px);
  line-height: 0.86;
  color: var(--color-bg-deco);
  mix-blend-mode: color-burn;
  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
}

.footer__org,
.footer__address {
  position: relative;
  z-index: 1;
}

.footer__org {
  font-size:clamp(16px, 2.5vw, 24px);
  margin-bottom: var(--space-1);
  opacity: .9;
  line-height: 1.4;
}

.footer__address {
  font-size: 13px;
  line-height: 2;
  margin-top: var(--space-4);
  opacity: .85;
}

.footer__address a {
  text-decoration: underline;
}

.footer__bottom {
  background: var(--color-white);
  padding-block: var(--space-4);
  text-align: center;
}

.footer__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: var(--space-2);
  padding-inline: var(--container-pad);
}

.footer__logo {
  width: auto;
}

/* 2段に折り返す幅では「tuatのみ1段目」「tufs・gtieが2段目」に固定する
   ブレイカー要素（flex-basis:100%で強制的に次の行へ送る） */
.footer__logos::after {
  content: "";
  order: 1;
  flex-basis: 100%;
  height: 0;
}

.footer__logo--tuat {
  height: 45px;
  order: 0;
}

.footer__logo--tufs {
  height: 60px;
  order: 2;
}

.footer__logo--gtie {
  height: 35px;
  order: 2;
}

.footer__copyright {
  font-size: 13px;
  color: #3E3E3E;
  opacity: .8;
  margin-top: var(--space-3);
  line-height:1.4;
}

@media (min-width: 1024px) {
  .footer__logos {
    gap: var(--space-6);
  }

  /* デスクトップ幅では3点とも1段に収まるため、強制改行のブレイカーを解除する */
  .footer__logos::after {
    display: none;
  }

  .footer__logo--tuat {
    height: 68px;
  }

  .footer__logo--tufs {
    height: 84px;
  }

    .footer__logo--gtie {
    height: 55px;
  }
}

/* =========================================================
   Desktop (>=1024px)
========================================================= */
@media (min-width: 1024px) {

  .header__actions {
    gap: var(--space-3);
  }

  /* ナビオーバーレイ：中央寄せカード風 */
  .nav-overlay__nav {
    padding-block: var(--space-12);
  }

  .nav-overlay__link {
    max-width: 420px;
  }

  .nav-overlay__jp {
    font-size: 24px;
  }

  .hero__bottom {
    padding-top: 2.5vw;
    /* 32px / 1280px。地図の上の余白を狭めるため縮小 */
  }

  .hero__bottom-inner {
    row-gap: 7.5vw;
    /* 96px / 1280px */
    position: absolute;
    inset: 0;
  }

  .hero__bottom-photo--a {
    grid-row: 1 / 3;
    width: 42%;
    margin-right: -3.125vw;
    /* 40px / 1280px。container-padの実測値をvw化 */
    margin-top: -150px;
  }

  .hero__bottom-photo--b {
    grid-row: 2 / 4;
    width: 46%;
    margin-left: -3.125vw;
    margin-top: 150px;
  }

  .hero__bottom-map {
    position: static;
    width: 100%;
    height: auto;
    display: block;
  }

  .hero__lead {
    font-size: 2.1875vw;
    /* 28px / 1280px */
    letter-spacing: 0.05em;
  }

  .news__item {
    flex-wrap: nowrap;
  }

  /* 議題（agenda）はPCでも1カラムのまま。フォントサイズのみ上で拡大済み */

  /* 開催概要：ラベル+値を横並び */
  .detail-table__row {
    flex-direction: row;
    align-items: center;
    gap: var(--space-5);
  }

  .detail-table__row dt {
    width: 140px;
  }

  .detail-table__row dd {
    font-size: 24px;
  }

  .overview-card > .detail-table:first-of-type > .detail-table__row:first-child dt {
    font-size: 20px;
  }

  .overview-card > .detail-table:first-of-type > .detail-table__row:first-child dd {
    font-size: 30px;
  }

  .access__collect,
  .access__title,
  .access__routes,
  .access__map,
  .access__map-btn,
  .access__place,
  .overview__note {
    margin-left: 180px;
  }

  .accordion__question {
    font-size: 18px;
  }

  .accordion__answer {
    font-size: 15px;
  }

  .apply__transition {
    padding-block: var(--space-8);
  }

  .apply__entry {
    width: 256px;
    height: 72px;
    font-size: 40px;
  }

  .apply__deadline-day {
    width: 30px;
    height: 30px;
  }

  .apply__deadline {
    border-radius: 6px;
  }

  .apply__deadline-row {
    flex-direction: row;
    align-items: flex-end;
    gap: var(--space-2);
  }

  .flow__num {
    width: 65px;
    height: 65px;
    font-size: 30px;
  }

  .grid-band__card {
    padding: var(--space-3) var(--space-8) var(--space-8);
  }

  /* 応募用紙・ファイルを送るボタン */
  #apply-flow .btn-outline {
    padding: var(--space-1) var(--space-5);
    font-size: 24px;
  }
}