/* =========================================================
   EVENT BRIDGE — Landing Page
   ========================================================= */

:root {
  /* brand */
  --c-blue:      #2474c9;
  --c-blue-dk:   #185fb0;
  --c-blue-soft: #dce9fb;
  --c-pink:      #e9537d;
  --c-pink-dk:   #d43f6c;
  --c-pink-soft: #fce8ef;
  --c-purple:    #9b59c9;

  /* ink / surfaces */
  --c-ink:       #001125;
  --c-ink-soft:  #5b6172;
  --c-ink-mute:  #8a90a2;
  --c-line:      #e7e9f0;
  --c-bg:        #ffffff;
  --c-bg-soft:   #f5f8ff;
  --c-bg-blue:   #eef4fd;

  /* gradients */
  --grad-pink: linear-gradient(135deg, #ee6090 0%, #e34e76 100%);
  --grad-blue: linear-gradient(135deg, #119ad6 0%, #0379c8 100%);
  --grad-band: linear-gradient(112deg, #0b529c 0%, #00a0e7 22%, #5b95d2 41%, #d189b9 52%, #e674aa 73%, #e9537d 100%);
  --grad-mark: linear-gradient(135deg, #1366c8 0%, #3a9fe0 45%, #ff4d8d 100%);

  /* effects */
  --sh-sm: 0 4px 14px rgba(31, 41, 80, .06);
  --sh-md: 0 12px 34px rgba(31, 41, 80, .09);
  --sh-lg: 0 26px 64px rgba(31, 41, 80, .14);
  --sh-pink: 0 14px 34px rgba(242, 79, 135, .32);
  --sh-blue: 0 14px 34px rgba(47, 108, 246, .30);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 30px;

  --maxw: 1120px;
  --header-h: 80px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: opacity .2s, color .2s; }
ul, ol { list-style: none; }
em { font-style: normal; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.4; font-weight: 800; letter-spacing: .01em; }

.container { width: 100%; max-width: calc(var(--maxw) + 48px); margin: 0 auto; padding: 0 24px; }
.c-blue { color: var(--c-blue); }
.c-pink { color: var(--c-pink); }
.pc-only { display: inline; }
.sp-only { display: none; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 28px; border-radius: 999px;
  font-weight: 700; font-size: 15px; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), opacity .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn .arrow { width: 18px; height: 18px; position: relative; flex: none; }
.btn .arrow::before {
  content: ""; position: absolute; inset: 0; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
}
.btn--primary { background: var(--grad-pink); color: #fff; box-shadow: var(--sh-pink); }
.btn--primary:hover { box-shadow: 0 18px 40px rgba(242,79,135,.42); }
.btn--lg { height: 60px; padding: 0 36px; font-size: 16px; }
.btn--ghost {
  background: #fff; color: var(--c-ink); border: 1.5px solid var(--c-line);
  box-shadow: var(--sh-sm); height: 56px; padding: 0 40px;
}
.btn--ghost:hover { border-color: var(--c-blue); color: var(--c-blue); }
.btn--ghost .arrow { width: 16px; }

/* =========================================================
   Header
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: linear-gradient(180deg, rgba(255,255,255,.985) 0%, rgba(255,255,255,.83) 52%, rgba(255,255,255,.06) 100%);
  backdrop-filter: saturate(140%) blur(14px);
  transition: box-shadow .3s, background .3s;
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(31,41,80,.07); background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.94) 100%); }
.header__inner {
  height: 100%; max-width: 1328px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { display: inline-flex; align-items: center; }
.logo__full { height: 32px; width: auto; display: block; }
/* legacy fallback (if the lockup SVG is unavailable) */
.logo__mark { width: 46px; height: 23px; flex: none; object-fit: contain; }
.logo__text { font-family: "Inter", sans-serif; font-weight: 700; font-size: 21px; letter-spacing: .02em; color: #24274a; }
.logo--lg .logo__mark { width: 50px; height: 25px; }
.logo--lg .logo__text { font-size: 23px; }

.nav { display: flex; align-items: center; gap: 40px; }
.nav__list { display: flex; align-items: center; gap: 34px; }
.nav__list a { font-size: 15px; font-weight: 600; color: #41475a; }
.nav__list a:hover { color: var(--c-blue); }
.nav__cta { background: #0483cb; color: #fff; box-shadow: none; height: 44px; padding: 0 24px; font-size: 14px; border-radius: 8px; }
.nav__cta:hover { background: #0379c8; transform: translateY(-2px); }

.menu-toggle { display: none; width: 44px; height: 44px; position: relative; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--c-ink); border-radius: 2px; transition: .3s var(--ease); }
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-toggle.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  background: url("../images/hero_bg.png") top center / 100% 900px no-repeat, #f6f9ff;
}
.cap-mode .hero__inner { min-height: 900px; }
.cap-mode .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
.hero__inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 1328px; margin: 0 auto;
  display: flex; align-items: center; min-height: max(860px, 100vh);
  padding: calc(var(--header-h) + 36px) 24px 64px;
}
.hero__copy { max-width: 1000px; position: relative; z-index: 2; }
.hero__mark { width: 220px; height: auto; margin-bottom: 43px; }
.hero__title {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: clamp(20px, 3.9vw, 56px); font-weight: 600; line-height: 1.2;
  letter-spacing: 0; color: #24274a;
}
.hero__line { background: #fff; padding: 12px 16px; }
.grad-blue, .grad-pink { -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.grad-blue { background-image: linear-gradient(113.149deg, #0a5aa4 0%, #01a0e7 100%); }
.grad-pink { background-image: linear-gradient(113.355deg, #e179ad 0%, #e95580 100%); }
.hero__cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  margin-top: 43px; height: 64px; padding: 0 32px; min-width: 286px;
  background: #0483cb; color: #fff; border-radius: 8px; font-weight: 700; font-size: 18px; letter-spacing: -0.44px;
  box-shadow: 0 14px 30px rgba(4,131,203,.26); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.hero__cta:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(4,131,203,.4); }
.hero__cta .arrow { width: 20px; height: 20px; position: relative; flex: none; }
.hero__cta .arrow::before {
  content: ""; position: absolute; inset: 0; background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* hero photo cluster — full-bleed, sized & positioned to match Figma (1440×900):
   TGC 480 / fireworks 376 (bleeds off the right edge) / fes 198 — % of the hero box */
/* visual = 900px reference band (circles positioned % of 1440x900 → matches Figma).
   Vertically centered in the 100vh hero so on tall screens the cluster aligns with the
   centered title instead of clinging to the top (which left a gap below the bottom circle). */
/* center the 900px circle band in the 100vh hero, but never let its top go above 0
   (otherwise on viewports <900px tall the top circle rises into the header/nav). */
.hero__visual { position: absolute; top: max(-10px, calc(50% - 460px)); left: 0; right: 0; height: 900px; z-index: 1; pointer-events: none; }
.cap-mode .hero__visual { top: -10px; }
.hero__circle { position: absolute; border-radius: 50%; overflow: hidden; aspect-ratio: 1; }
.hero__circle img { width: 100%; height: 100%; object-fit: cover; }
/* circle positions match Figma hero; z-order = stage(front) > crowd > expo(back) per Figma layering */
.hero__circle--tgc  { width: 31.6%;  max-width: 480px; top: 11.4%; right: 21.3%; z-index: 4; box-shadow: 0 24px 56px rgba(31,41,80,.18); }
.hero__circle--fire { width: 26.1%;  max-width: 392px; top: 45.7%; right: 6.4%;  z-index: 3; box-shadow: 0 20px 48px rgba(31,41,80,.15); }
.hero__circle--fes  { width: 13.75%; max-width: 206px; top: 20.4%; right: 9.3%;  z-index: 2; box-shadow: 0 16px 36px rgba(31,41,80,.16); }

/* =========================================================
   Section heads (shared)
   ========================================================= */
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head__tag {
  display: inline-block; font-family: "Inter", sans-serif; font-weight: 700; font-size: 13px;
  letter-spacing: .14em; color: var(--c-blue); padding: 5px 16px; border-radius: 999px;
  background: var(--c-blue-soft); margin-bottom: 18px;
}
.section-head__title { font-size: clamp(25px, 3.2vw, 34px); font-weight: 900; color: var(--c-ink); }
.section-head__lead { margin-top: 18px; color: var(--c-ink-soft); font-size: 15.5px; }

/* big left-aligned section heading */
.service__h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 600; color: var(--c-ink); margin-bottom: 36px; }

/* =========================================================
   Intro / EVENT BRIDGEとは
   ========================================================= */
.intro { padding: 80px 0; }
.intro__inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.intro__title { font-size: 32px; font-weight: 600; line-height: 1.6; margin-bottom: 17px; color: var(--c-ink); }
.intro__text p { color: var(--c-ink); font-size: 18px; line-height: 1.6; max-width: 520px; }
.intro__visual { justify-self: end; max-width: 520px; }

/* =========================================================
   協賛募集中のイベント
   ========================================================= */
.events { padding: 80px 0; background: #f6f9ff; }
.events__head { margin-bottom: 40px; }
.events__head .service__h2 { margin-bottom: 12px; }
.events__lead { color: var(--c-ink-soft); font-size: 15px; max-width: 820px; }
/* left-aligned, data-driven: 1 card sits left, more wrap rightward */
.events__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.events__head .service__h2 { color: #001125; line-height: 1.6; }
.events__empty { color: var(--c-ink-soft); font-size: 15px; padding: 8px 2px; }
.ev-card__ph { width: 100%; height: 100%; background: linear-gradient(135deg, #e8edf6, #f3f5fa); }
.ev-card {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 1px 4px 0 rgba(0,0,0,.06), 0 1px 1px 0 rgba(0,0,0,.04); border: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex; flex-direction: column;
}
.ev-card { cursor: pointer; }
.ev-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.ev-card:focus-visible { outline: 3px solid var(--c-blue); outline-offset: 3px; }
.ev-card__thumb { position: relative; aspect-ratio: 378 / 227; overflow: hidden; }
.ev-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ev-card__cat {
  position: absolute; left: 12px; top: 12px; font-size: 12px; font-weight: 600; color: #fff;
  background: #e9537d; padding: 4px 10px; border-radius: 999px;
}
.ev-card__body { padding: 20px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.ev-card__areas { display: flex; flex-wrap: wrap; gap: 8px; }
.ev-card__area { display: inline-block; font-size: 13px; font-weight: 600; color: #44506a; background: #fff; border: 1px solid #d7dce4; border-radius: 999px; padding: 4px 13px; line-height: 1.4; }
.ev-card__head { display: flex; flex-direction: column; gap: 8px; }
.ev-card__title { font-size: 20px; font-weight: 600; color: #000; line-height: 1.6; }
.ev-card__meta { display: flex; flex-direction: column; gap: 6px; }
.ev-card__meta li { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: #666; }
.ev-card__meta .ic { width: 18px; height: 18px; color: #666; }
.ev-card__desc { font-size: 16px; font-weight: 300; color: #000; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ev-card__period {
  margin-top: auto; font-size: 11px; font-weight: 600; color: #0b529c;
  background: #f6f7fd; border: 1px solid #d0d3eb; border-radius: 12px; padding: 8px 14px;
  display: flex; flex-direction: row; align-items: center; gap: 10px;
}
.ev-card__period > span:first-child {
  font-weight: 600; color: #9094af; font-size: 10.5px; letter-spacing: .02em;
  padding-right: 10px; border-right: 1px solid #d9d8e6; white-space: nowrap; flex: none;
}
.ev-card__period-val { white-space: nowrap; }
.events__more { text-align: center; margin-top: 48px; }
.events__more-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 286px; max-width: 100%; height: 60px;
  background: #fff; border: 2px solid #0483cb; border-radius: 8px;
  font-family: "Inter", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  font-weight: 700; font-size: 18px; letter-spacing: -0.44px; color: #0483cb;
  transition: background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.events__more-btn:hover { background: #0483cb; color: #fff; box-shadow: 0 12px 26px rgba(4,131,203,.22); }
.events__grid.is-collapsed .ev-card:nth-child(n+7) { display: none; }

/* =========================================================
   課題 / Challenges
   ========================================================= */
.challenge { padding: 80px 0; }
.challenge__title { text-align: center; font-size: clamp(24px, 3vw, 32px); font-weight: 600; color: #161617; margin-bottom: 40px; }
.challenge__title em { color: inherit; }
.challenge__panel {
  position: relative; width: 900px; max-width: 100%; margin: 0 auto; min-height: 340px;
  background: #f6f9ff; border-radius: 24px; padding: 24px; overflow: hidden;
}
.challenge__list { display: flex; flex-direction: column; gap: 20px; max-width: 600px; }
.challenge__list li { display: flex; align-items: center; gap: 16px; }
.challenge__icon {
  flex: none; width: 80px; height: 80px; border-radius: 12px; background: #d8eaff; border: 2px solid #fff;
  display: grid; place-items: center; color: var(--c-blue);
}
.challenge__icon svg, .challenge__icon img { width: 56px; height: 56px; display: block; }
.challenge__list h3 { font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -0.4492px; color: #161617; margin-bottom: 8px; }
.challenge__list p { font-size: 14px; color: #161617; line-height: 26px; }
.challenge__person { position: absolute; right: 24px; bottom: 8px; width: 212px; pointer-events: none; }
.challenge__person img { width: 100%; height: auto; display: block; }

/* =========================================================
   Service
   ========================================================= */
.service { padding: 80px 0; background: var(--c-bg-soft); }
.service .container { max-width: 1328px; }

.service__panel { background: #fff; border-radius: 16px; box-shadow: var(--sh-md); padding: 80px; }
.portal { background: none; border-radius: 0; box-shadow: none; padding: 0; }
.portal .service__h2 { margin-bottom: 24px; }
.portal__lead { color: #173354; font-size: 20px; line-height: 2; max-width: none; margin-bottom: 24px; letter-spacing: -0.31px; }
.portal__diagram { background: #f8faff; border-radius: var(--r-lg); padding: 60px 60px 40px; }
.portal__diagram img { width: 100%; max-width: 1000px; margin: 0 auto; }

.value { background: none; border-radius: 0; box-shadow: none; padding: 40px 0 0; margin-top: 40px; border-top: 1px solid var(--c-line); }
.value__head { font-size: 32px; font-weight: 600; color: #001125; margin-bottom: 24px; }
.value__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.value__col { border-radius: 8px; padding: 40px; }
.value__col:nth-child(1) { background: #eef6ff; }
.value__col:nth-child(2) { background: #ffeef5; }
.value__col h4 { font-size: 20px; font-weight: 600; color: #001125; margin-bottom: 16px; }
.value__col p { font-size: 16px; color: #173354; line-height: 26px; letter-spacing: -0.31px; }

/* features 01/02/03 */
.features { background: #fff; border-radius: 16px; box-shadow: var(--sh-md); padding: 0 80px; margin-top: 40px; }
.feature { display: grid; grid-template-columns: 1fr 400px; align-items: center; gap: 40px; padding: 48px 0; }
.feature + .feature { border-top: 1px solid var(--c-line); }
.feature__eyebrow { font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif; font-weight: 600; font-size: 14px; color: #001125; letter-spacing: 0; }
.feature__eyebrow em { color: inherit; font-weight: 600; font-style: normal; }
.feature__eyebrow .c-pink { color: #e1527d; }
.feature__eyebrow .c-blue { color: #0073ce; }
.feature__text h3 { font-size: 32px; font-weight: 600; color: #001125; margin: 24px 0; line-height: 1.6; }
.feature__text > p { color: #173354; font-size: 16px; line-height: 26px; letter-spacing: -0.31px; }
.feature__tags { display: grid; grid-template-columns: repeat(3, minmax(0, 180px)); column-gap: 12px; row-gap: 6px; margin-top: 18px; }
.feature__tags li { font-size: 16px; color: #8896a3; background: none; border-radius: 0; padding: 0; font-weight: 600; white-space: nowrap; }
.feature__img { display: grid; place-items: center; }
.feature__img img { max-height: 220px; width: auto; }

/* =========================================================
   お問い合わせフロー
   ========================================================= */
.flow { padding: 80px 0; background: var(--c-bg-soft); }
.flow .service__h2 { color: #161617; }
.flow__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.flow-card { background: #fff; border-radius: 8px; padding: 0; border: 1px solid #d8e5ff; overflow: hidden; }
.flow-card__head { display: flex; align-items: center; gap: 16px; padding: 20px; border-bottom: 1px solid #d8e5ff; }
.flow-card__badge { font-size: 16px; font-weight: 600; color: #fff; padding: 8px 40px; border-radius: 999px; }
.flow-card__head h3 { font-size: 20px; font-weight: 600; }
.flow-card--blue .flow-card__badge { background: #3274c7; }
.flow-card--blue .flow-card__head { background: #f5faff; }
.flow-card--blue .flow-card__head h3 { color: #3274c7; }
.flow-card--pink .flow-card__badge { background: #d7637c; }
.flow-card--pink .flow-card__head { background: #fffafc; }
.flow-card--pink .flow-card__head h3 { color: #d7637c; }

.flow-steps { padding: 0; }
.flow-step { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 61px; padding: 40px 56px; min-height: 140px; box-sizing: border-box; align-items: center; }
.flow-step + .flow-step { border-top: 1px solid #d8e5ff; }
.flow-step__num { font-family: "Inter", sans-serif; font-weight: 700; font-size: 18px; letter-spacing: -0.31px; }
.flow-card--blue .flow-step__num { color: #3274c7; }
.flow-card--pink .flow-step__num { color: #d7637c; }
.flow-step__body h4 { font-size: 18px; font-weight: 700; color: #161617; letter-spacing: -0.31px; margin-bottom: 8px; }
.flow-step__body p { font-size: 16px; font-weight: 300; color: #3b3b47; line-height: 1.42; letter-spacing: -0.15px; }
/* down connector */
.flow-step + .flow-step::before {
  content: ""; position: absolute; left: 57px; top: -24px; width: 48px; height: 48px;
  border-radius: 50%; background: #fff; border: 1px solid #d8e5ff;
}
.flow-step + .flow-step::after {
  content: ""; position: absolute; left: 69px; top: -12px; width: 24px; height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%238a90a2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M12 5v14M6 13l6 6 6-6'/%3E%3C/svg%3E") center/13px no-repeat;
}
.flow-card--blue .flow-step + .flow-step::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%233274c7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M12 5v14M6 13l6 6 6-6'/%3E%3C/svg%3E"); }
.flow-card--pink .flow-step + .flow-step::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23d7637c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M12 5v14M6 13l6 6 6-6'/%3E%3C/svg%3E"); }

/* =========================================================
   Contact CTA band
   ========================================================= */
.cta {
  background:
    linear-gradient(112.4deg, rgba(11,82,156,.9) 0%, rgba(0,160,231,.9) 22%, rgba(91,149,210,.9) 41%, rgba(209,137,185,.9) 52%, rgba(216,129,179,.9) 65%, rgba(230,116,170,.9) 73%, rgba(235,112,167,.9) 79%, rgba(233,93,140,.9) 88%, rgba(233,83,125,.9) 100%),
    #001125;
  color: #fff; padding: 60px 0;
}
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta__title { font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif; font-size: clamp(40px, 4vw, 52px); font-weight: 600; line-height: 1.6; letter-spacing: .01em; margin-bottom: 10px; }
.cta__copy p { font-family: "Inter", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif; font-size: 16px; line-height: 2; font-weight: 700; opacity: .96; }
.cta__btn { background: #fff; color: #d36192; width: 286px; height: 60px; padding: 0; border-radius: 8px; font-size: 18px; font-weight: 700; letter-spacing: -0.44px; flex: none; }
.cta__btn:hover { transform: translateY(-2px); }
.arrow--dark { color: var(--c-ink); }

/* =========================================================
   FAQ
   ========================================================= */
.faq { position: relative; padding: 80px 0; background: var(--c-bg-soft); overflow: hidden; }
.faq .service__h2 { color: #161617; }
.faq__glow { position: absolute; right: -120px; top: 40px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(160,120,235,.20), transparent 70%); filter: blur(20px); }
.faq .container { position: relative; z-index: 1; }
.faq__group { margin-bottom: 40px; }
.faq__label { display: flex; align-items: center; gap: 12px; font-size: 16px; line-height: 24px; font-weight: 600; color: #46464f; letter-spacing: -0.3125px; margin-bottom: 16px; }
.faq__label--blue { color: #3274c7; }
.faq__label--pink { color: #d7637c; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot--gray { background: var(--c-ink-mute); }
.dot--blue { background: var(--c-blue); }
.dot--pink { background: var(--c-pink); }

.acc { background: #fff; border-radius: 8px; border: 1px solid #d8e5ff; margin-bottom: 16px; overflow: hidden; }
.acc__q {
  width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 80px; box-sizing: border-box;
  padding: 16px 20px; font-size: 18px; font-weight: 600; color: #0a0a0a; line-height: 24px; letter-spacing: -0.3125px;
}
.acc__ico { position: relative; width: 40px; height: 40px; flex: none; border-radius: 50%; background: #f2f4f5; }
.acc__ico::before, .acc__ico::after { content: ""; position: absolute; background: #46464f; border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.acc__ico::before { left: 9px; right: 9px; top: 19px; height: 2px; }
.acc__ico::after { top: 9px; bottom: 9px; left: 19px; width: 2px; }
.acc.is-open .acc__ico::after { transform: scaleY(0); opacity: 0; }
.acc__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.acc__a p { padding: 0 20px 22px; font-size: 16px; color: #0a0a0a; line-height: 26px; letter-spacing: -0.3125px; }

/* =========================================================
   Partners
   ========================================================= */
.partners { padding: 80px 0; background: var(--c-bg-soft); position: relative; }
.partners::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px; background: var(--grad-band); }
.partners__title { font-size: clamp(22px, 2.6vw, 32px); font-weight: 600; margin-bottom: 40px; }
.partners__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.partner-card { background: #fff; border-radius: 12px; box-shadow: var(--sh-sm); padding: 40px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.partner-card__logo { height: 80px; display: grid; place-items: center; margin-bottom: 32px; }
.partner-card__logo img { max-height: 72px; width: auto; }
.partner-card p { font-size: 18px; color: #5f6975; line-height: 2; text-align: left; width: 100%; }
.partner-card__products { margin-top: 32px; }
.partner-card__products img { max-height: 20px; width: auto; margin: 0 auto; }
.partner-card__link { display: inline-flex; align-items: center; gap: 4px; margin-top: 32px; font-size: 14px; font-weight: 700; color: #0483cb; }
.partner-card__link .ic { width: 24px; height: 24px; }
.partner-card__link:hover { color: var(--c-blue-dk); opacity: 1; }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: #fff; padding: 60px 0; }
.footer__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer__nav { display: flex; gap: 48px; flex-wrap: wrap; }
.footer__nav a { font-size: 14px; font-weight: 600; color: #001125; }
.footer__nav a:hover { color: var(--c-blue); }
.footer__copy { display: block; margin-top: 120px; font-size: 14px; font-weight: 700; color: rgba(0,0,0,.45); font-family: "Inter", sans-serif; letter-spacing: .04em; }
.footer .logo--lg .logo__full { height: 55px; }
.footer .logo--lg .logo__mark { width: 92px; height: 46px; }
.footer .logo--lg .logo__text { font-size: 42px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .hero__circle--tgc { max-width: 420px; }
  .hero__circle--fire { max-width: 330px; }
  .challenge__panel { padding: 44px 240px 44px 40px; }
  .challenge__person { width: 170px; right: 28px; }
  .portal, .value, .features { padding-left: 36px; padding-right: 36px; }
  .feature { grid-template-columns: 1fr 320px; gap: 32px; }
}

@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0;
    background: #fff; padding: 14px 24px 28px; border-bottom: 1px solid var(--c-line);
    box-shadow: var(--sh-md); transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: .3s var(--ease); align-items: stretch;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__list { flex-direction: column; gap: 0; align-items: stretch; }
  .nav__list a { display: block; padding: 15px 4px; border-bottom: 1px solid var(--c-line); font-size: 16px; }
  .nav__cta { margin-top: 18px; height: 50px; }

  .hero__inner { flex-direction: column; align-items: stretch; min-height: 0; padding-top: calc(var(--header-h) + 32px); padding-bottom: 8px; }
  .hero__copy { max-width: none; }
  .hero__visual { position: relative; top: auto; right: auto; bottom: auto; width: 100%; max-width: 420px; margin: 16px auto 0; aspect-ratio: 1/0.9; }
  .hero__circle--tgc  { width: 58%; top: 4%;  right: 18%; }
  .hero__circle--fire { width: 46%; top: 42%; right: 2%; }
  .hero__circle--fes  { width: 27%; top: 0;   right: 4%; }
  .hero__mark { width: 150px; margin-bottom: 24px; }

  .intro__inner { grid-template-columns: 1fr; gap: 36px; }
  .intro__visual { justify-self: center; }
  .intro__text p { max-width: none; }

  .events__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  .challenge__panel { padding: 40px 28px; }
  .challenge__person { position: static; width: 150px; margin: 24px auto 0; }
  .challenge__list { max-width: none; }

  .value__grid { grid-template-columns: 1fr; gap: 28px; }
  .feature { grid-template-columns: 1fr; gap: 22px; text-align: left; }
  .feature__img { order: -1; justify-self: start; }

  .flow__grid { grid-template-columns: 1fr; gap: 24px; }

  .cta__inner { flex-direction: column; align-items: flex-start; gap: 28px; }
  .partners__grid { grid-template-columns: 1fr; gap: 24px; max-width: 520px; margin: 0 auto; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .container { padding: 0 18px; }
  .intro, .challenge, .service, .flow, .faq, .partners { padding: 64px 0; }
  .events { padding: 64px 0 72px; }
  .hero__title { line-height: 1.4; }
  .events__grid { grid-template-columns: 1fr; gap: 20px; }
  .portal, .value, .features { padding-left: 22px; padding-right: 22px; }
  .portal { padding-top: 36px; }
  .value { padding: 32px 22px; }
  .cta__title { font-size: 44px; }
  .cta__btn { width: 100%; }
  .footer__top { flex-direction: column; align-items: flex-start; gap: 24px; }
  .hero__cta { width: 100%; }
  .pc-only { display: none; }
  .cform__submit { width: 100%; }
  .cform { padding: 24px 18px; }
  .contact-page__inner > * { min-width: 0; }
}

/* =========================================================
   Event detail modal
   ========================================================= */
.modal { position: fixed; inset: 0; z-index: 200; display: none; }
.modal.is-open { display: block; }
.modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.5); backdrop-filter: blur(3px); animation: fade .25s var(--ease); }
.modal__dialog {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(1040px, calc(100vw - 40px)); max-height: calc(100vh - 64px);
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  overflow: hidden; display: flex; flex-direction: column; animation: pop .3s var(--ease-out);
}
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translate(-50%, -46%) scale(.98); } }
.modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: var(--sh-sm);
  display: grid; place-items: center; color: var(--c-ink);
}
.modal__close svg { width: 20px; height: 20px; }
.modal__close:hover { background: var(--c-bg-soft); }

.evm { padding: 28px 36px 0; overflow-y: auto; flex: 1; min-height: 0; }
.evm__top { display: grid; grid-template-columns: 440px 1fr; gap: 24px; align-items: start; background: #f6f9ff; margin: -28px -36px 0; padding: 24px; }
.evm__media { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 440/264; box-shadow: var(--sh-sm); }
.evm__media img { width: 100%; height: 100%; object-fit: cover; }
.evm__cat { position: absolute; left: 12px; top: 12px; font-size: 12px; font-weight: 700; color: #fff; background: var(--grad-pink); padding: 5px 13px; border-radius: 999px; }
.evm__titlerow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.evm__titlerow h2 { font-size: 20px; font-weight: 600; }
.evm__official { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 700; color: #0483cb; }
.evm__official .ic { width: 15px; height: 15px; }
.evm__meta { display: flex; flex-direction: column; gap: 11px; list-style: none; padding: 0; margin: 0; }
.evm__meta li { display: grid; grid-template-columns: 18px 64px 1fr; gap: 8px; align-items: center; }
.evm__meta .ic { width: 16px; height: 16px; color: #7a8290; }
.evm__metalabel { font-size: 12.5px; font-weight: 600; color: #5f6975; }
.evm__metaval { font-size: 14px; font-weight: 600; color: #132237; }
.evm__chip { display: inline-block; font-size: 12.5px; font-weight: 600; color: #44506a; background: #fff; border: 1px solid #d7dce4; border-radius: 999px; padding: 2px 11px; margin: 0 6px 4px 0; }
.evm__addr { display: block; font-size: 12.5px; color: var(--c-ink-mute); margin-top: 2px; }
.evm__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.evm__tags li { font-size: 11.5px; color: #697376; background: #eceef1; border-radius: 4px; padding: 4px 10px; font-weight: 600; white-space: nowrap; }
.evm__types { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 16px 0 0; padding-top: 0; border-top: none; }
.evm__types-label { font-size: 12px; font-weight: 600; color: #6c7072; }
.evm__types ul { display: flex; flex-wrap: wrap; gap: 12px; }
.evm__types li { font-size: 12px; font-weight: 600; color: #fff; border-radius: 4px; padding: 4px 10px; }
.evm__desc { padding: 22px 0; }
.evm__catch { font-size: 16px; font-weight: 300; color: #001125; margin-bottom: 14px; }
.evm__desc p { font-size: 16px; font-weight: 300; color: #001125; line-height: 1.6; }
.evm__desc p + p { margin-top: 14px; }
.evm__footer {
  position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px 0; margin-top: 4px; background: linear-gradient(180deg, rgba(255,255,255,0), #fff 28%);
  border-top: 1px solid var(--c-line); flex-wrap: wrap;
}
.evm__period { display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 14px; background: #f6f7fd; border-radius: 12px; font-size: 14px; font-weight: 600; color: #132237; white-space: nowrap; }
.evm__period span { font-weight: 600; color: #9094af; font-size: 12px; white-space: nowrap; padding-right: 12px; border-right: 1px solid #d9d8e6; }
.evm__cta { height: 48px; padding: 0 32px; font-size: 16px; background: #0483cb; }

@media (max-width: 680px) {
  .evm { padding: 20px 20px 0; }
  .evm__top { grid-template-columns: 1fr; gap: 18px; }
  .evm__footer { flex-direction: column; align-items: stretch; gap: 14px; }
  .evm__cta { width: 100%; padding: 0 16px; }
  .evm__titlerow h2 { font-size: 20px; }
}

/* =========================================================
   Contact page
   ========================================================= */
.contact-page { background: var(--c-bg-soft); padding: calc(var(--header-h) + 64px) 0 96px; min-height: 100vh; }
.contact-page__inner { display: grid; grid-template-columns: minmax(0, 409px) 631px; gap: 80px; justify-content: center; align-items: start; }
.contact-page__eyebrow { font-weight: 600; font-size: 18px; color: rgba(0,17,37,.5); }
.contact-page__title { font-size: clamp(26px, 3.4vw, 32px); font-weight: 600; color: #001125; margin: 8px 0; }
.contact-page__copy > p { font-size: 16px; font-weight: 300; color: #001125; line-height: 1.6; }
.contact-page__copy > p + p { margin-top: 0; }
.contact-page__ref { margin-top: 24px; padding: 14px 18px; background: var(--c-blue-soft); border-radius: var(--r-sm); font-size: 13.5px; color: var(--c-ink); }
.contact-page__ref strong { color: var(--c-blue); }

.cform { position: relative; background: #fff; border-radius: 8px; box-shadow: 0 1px 2px rgba(0,0,0,.08); padding: 32px; overflow: hidden; max-width: 720px; }
.cform::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 8px; background: var(--grad-band); }
.cform__field { display: block; margin-bottom: 24px; }
.cform__label { display: block; font-size: 16px; font-weight: 500; color: #0a0a0a; letter-spacing: -0.31px; margin-bottom: 8px; }
.req { display: inline-block; font-size: 10px; font-weight: 400; color: #fff; background: #de3039; border-radius: 2px; padding: 2px 5px; margin-left: 6px; vertical-align: 1px; }
.cform input, .cform textarea {
  width: 100%; min-width: 0; font: inherit; font-size: 16px; color: #0a0a0a; letter-spacing: -0.31px;
  background: #fff; border: 1px solid #d1d5dc; border-radius: 10px; padding: 12px 16px;
  transition: border-color .2s, box-shadow .2s;
}
.cform input { height: 48px; }
.cform input::placeholder, .cform textarea::placeholder { color: rgba(10,10,10,.5); }
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--c-blue); box-shadow: 0 0 0 4px rgba(47,108,246,.12); }
.cform textarea { resize: vertical; min-height: 120px; line-height: 1.7; }
.cform__stack { display: flex; flex-direction: column; gap: 10px; }
.cform__radios { display: flex; flex-direction: column; gap: 12px; }
.cradio { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14.5px; color: var(--c-ink); }
.cradio input { width: 20px; height: 20px; accent-color: var(--c-blue); flex: none; }
.cform__submit { background: #0483cb; color: #fff; box-shadow: 0 13px 4px rgba(0,0,0,.02), 0 6px 3px rgba(0,0,0,.03), 0 1px 1.5px rgba(0,0,0,.04); border-radius: 8px; width: 320px; max-width: 100%; height: 48px; margin: 8px auto 0; display: flex; }
.cform__submit:hover { background: #0379c8; }
.cform__submit:disabled { opacity: .6; cursor: default; transform: none; }
.cform__error { color: var(--c-pink-dk); font-size: 13.5px; font-weight: 600; margin-bottom: 14px; }
.cform__done { margin-top: 18px; text-align: center; font-weight: 700; color: var(--c-blue); background: var(--c-blue-soft); border-radius: var(--r-sm); padding: 16px; }

@media (max-width: 860px) {
  .contact-page { padding-top: calc(var(--header-h) + 40px); }
  .contact-page__inner { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
  .contact-page__copy, .cform { width: 100%; max-width: calc(100vw - 36px); min-width: 0; }
  .contact-page__copy > * { max-width: 100%; }
}
@media (max-width: 560px) {
  .cform { padding: 32px 20px 28px; }
}

