/* I-SAP 2026 — Design 01
   Research-forward navy + Ikoma green accent
   Reference: 資料/TOPイメージ_1.png
*/

:root {
  --navy: #0a1e36;
  --navy-2: #122a45;
  --ink: #152033;
  --muted: #5a6678;
  --line: #d8dee8;
  --surface: #f4f7fb;
  --white: #ffffff;
  --blue: #1a6ef0;
  --blue-hover: #0f5ad1;
  --green: #1f8a5b;
  --green-deep: #167a4f;
  --green-hover: #1a7d52;
  --green-soft: #e8f5ef;
  --gold: #c9a45c;
  --radius: 4px;
  --header-h: 72px;
  --font: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  --font-en: "Outfit", "Zen Kaku Gothic New", sans-serif;
  --max: 1080px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-rise: 12px;
  --motion-rise-hero: 18px;
  --motion-duration: 0.48s;
  --motion-duration-hero: 0.72s;
  --motion-stagger-step: 0.06s;
  --gutter: 16px;
  --gutter-wide: 20px;
  --section-space: 56px;
  --section-space-md: 72px;
  --section-space-lg: 88px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 12px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font-family: inherit;
}

.container {
  width: min(calc(100% - 2 * var(--gutter)), var(--max));
  margin-inline: auto;
}

@media (min-width: 768px) {
  .container {
    width: min(calc(100% - 2 * var(--gutter-wide)), var(--max));
  }
}

.en {
  font-family: var(--font-en);
  letter-spacing: 0.06em;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-h);
  padding-top: env(safe-area-inset-top, 0);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(calc(100% - 2 * var(--gutter)), 1180px);
}

@media (min-width: 768px) {
  .site-header .container {
    gap: 24px;
    width: min(calc(100% - 2 * var(--gutter-wide)), 1180px);
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-img {
  display: block;
  width: auto;
  height: 34px;
  max-width: min(200px, 48vw);
  object-fit: contain;
  object-position: left center;
}

@media (min-width: 900px) {
  .logo-img {
    height: 40px;
    max-width: 240px;
  }
}

.logo-img--footer {
  height: 36px;
  max-width: 220px;
}

.logo-mark {
  width: 28px;
  height: 28px;
}

.logo-text {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--navy);
  line-height: 1;
}

.logo-sub {
  display: none;
}

@media (min-width: 900px) {
  .logo-sub {
    display: block;
    font-size: 10px;
    color: var(--muted);
    line-height: 1.3;
    max-width: 160px;
    margin-left: 4px;
    padding-left: 12px;
    border-left: 1px solid var(--line);
  }
}

.nav {
  display: none;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--green);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  background: #e4e7ec;
  color: #3e4654 !important;
  font-weight: 700;
  font-size: 13px;
  border-radius: 999px;
  border: 0;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover {
  background: #d5dae2;
  color: #2f3642 !important;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  min-width: 44px;
  min-height: 44px;
  background: none;
  border: 0;
  padding: 10px;
  margin-right: -6px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
}

@media (min-width: 860px) {
  .nav {
    display: flex;
    gap: 20px;
  }
  .nav a {
    font-size: 13px;
  }
  .menu-toggle {
    display: none;
  }
  .nav-mobile {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .nav {
    gap: 28px;
  }
  .nav a {
    font-size: 14px;
  }
}

.nav-mobile {
  display: flex;
  position: fixed;
  inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 auto 0;
  max-height: calc(100dvh - var(--header-h) - env(safe-area-inset-top, 0px));
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 16px var(--gutter) max(24px, env(safe-area-inset-bottom));
  z-index: 99;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    transform 0.32s var(--ease),
    opacity 0.32s var(--ease),
    visibility 0.32s;
}

.nav-mobile.is-open {
  transform: none;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-mobile a {
  font-size: 16px;
  font-weight: 600;
  padding: 12px 4px;
  opacity: 0;
  transform: translateX(-6px);
  transition:
    opacity 0.28s var(--ease),
    transform 0.28s var(--ease);
}

.nav-mobile-cta {
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 14px 20px !important;
  background: #e4e7ec !important;
  color: #3e4654 !important;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700 !important;
  cursor: pointer;
  opacity: 0;
  transform: translateY(6px);
}

.nav-mobile.is-open .nav-mobile-cta {
  opacity: 1;
  transform: none;
  transition-delay: 0.36s;
}

.nav-mobile-cta:hover,
.nav-mobile-cta:focus-visible {
  background: #d5dae2 !important;
  color: #2f3642 !important;
}

.nav-mobile.is-open a {
  opacity: 1;
  transform: none;
}

.nav-mobile.is-open a:nth-child(1) {
  transition-delay: 0.04s;
}
.nav-mobile.is-open a:nth-child(2) {
  transition-delay: 0.08s;
}
.nav-mobile.is-open a:nth-child(3) {
  transition-delay: 0.12s;
}
.nav-mobile.is-open a:nth-child(4) {
  transition-delay: 0.16s;
}
.nav-mobile.is-open a:nth-child(5) {
  transition-delay: 0.2s;
}
.nav-mobile.is-open a:nth-child(6) {
  transition-delay: 0.24s;
}
.nav-mobile.is-open a:nth-child(7) {
  transition-delay: 0.28s;
}
.nav-mobile.is-open a:nth-child(8) {
  transition-delay: 0.32s;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 0;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.2s, box-shadow 0.25s;
}

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

.btn:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 28px rgba(31, 138, 91, 0.32);
}

.btn-primary:hover {
  background: var(--green-hover);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--line);
  box-shadow: none;
}

.btn-secondary:hover {
  border-color: rgba(31, 138, 91, 0.35);
  color: var(--green-deep);
}

.btn-on-dark {
  background: #fff;
  color: var(--green-deep);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.btn-on-dark:hover {
  background: var(--green-soft);
  color: var(--green-deep);
}

.btn-muted {
  background: #e4e7ec;
  color: #3e4654;
  box-shadow: none;
  font-family: inherit;
}

.btn-muted:hover,
.btn-muted:focus-visible,
.btn-muted:active {
  background: #d8dde5;
  color: #2f3642;
  transform: none;
}

.btn-row--center {
  justify-content: center;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-green {
  background: var(--green);
  color: #fff;
}

.btn-outline {
  background: #fff;
  color: var(--green-deep);
  border: 2px solid var(--green);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  min-height: max(560px, calc(100svh - var(--header-h)));
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 合成FV（naist-gate-2）：正門の三角シンボルが見える位置 */
  object-position: 28% 20%;
  transform: scale(0.97);
  transform-origin: 26% 20%;
  animation: heroZoom 22s var(--ease) forwards;
}

@keyframes heroZoom {
  from {
    transform: scale(0.99);
  }
  to {
    transform: scale(0.97);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      105deg,
      rgba(7, 18, 34, 0.68) 0%,
      rgba(7, 18, 34, 0.52) 42%,
      rgba(7, 18, 34, 0.18) 68%,
      rgba(7, 18, 34, 0.06) 100%
    ),
    linear-gradient(to top, rgba(7, 18, 34, 0.3), transparent 40%);
}

.hero-inner {
  width: min(calc(100% - 2 * var(--gutter)), 1180px);
  max-width: 640px;
  margin-inline: auto;
  padding: 44px 0 56px;
}

@media (min-width: 768px) {
  .hero-inner {
    padding: 56px 0 96px;
  }
}

@media (min-width: 1024px) {
  .hero-inner {
    margin-left: max(20px, calc((100% - 1180px) / 2 + 20px));
    margin-right: auto;
    padding: 64px 0 104px;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 20px;
}

.hero-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--green);
}

.hero-title {
  margin: 0;
  font-size: clamp(26px, 6.5vw, 44px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-wrap: balance;
}

.hero-title .em {
  color: #fff;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  border-bottom: 3px solid var(--green);
}

.hero-lead {
  margin: 22px 0 0;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  max-width: 36em;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.hero-facts li {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.hero-lead span {
  display: block;
}

.hero-audience {
  margin-top: 20px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-left: 3px solid var(--green);
  border-radius: 10px;
  backdrop-filter: blur(8px);
}

.hero-audience-label {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
}

.hero-audience-text {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
}

.hero .btn-row {
  margin-top: 22px;
}

.btn-row--stack {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  max-width: 280px;
}

.hero-actions .btn {
  width: 100%;
  justify-content: center;
}

@media (min-width: 768px) {
  .btn-row--stack {
    max-width: 320px;
  }
}

@media (min-width: 768px) {
  .hero-audience {
    margin-top: 22px;
    padding: 16px 18px;
  }

  .hero-audience-text {
    font-size: 15px;
    line-height: 1.75;
  }
}

.hero-scroll {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.hero-scroll::after {
  content: "";
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.45);
  animation: scrollLine 2.4s ease-in-out infinite;
}

@keyframes scrollLine {
  0%,
  100% {
    transform: scaleY(0.4);
    transform-origin: top;
    opacity: 0.4;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* —— Motion system —— */
html:not(.js-enabled) .motion-el,
html:not(.js-enabled) .motion-stagger > *,
html:not(.js-enabled) .motion-hero__el {
  opacity: 1;
  transform: none;
}

/* Hero: keyframes only (no transition conflict) */
html.js-enabled .motion-hero:not(.is-in) .motion-hero__el {
  opacity: 0;
}

.motion-hero .motion-hero__el {
  opacity: 1;
}

.motion-hero.is-in .motion-hero__el {
  animation: motion-hero-in var(--motion-duration-hero) var(--ease) backwards;
}

.motion-hero.is-in .motion-hero__el.motion-delay-1 {
  animation-delay: calc(var(--motion-stagger-step) * 1);
}

.motion-hero.is-in .motion-hero__el.motion-delay-2 {
  animation-delay: calc(var(--motion-stagger-step) * 2.5);
}

.motion-hero.is-in .motion-hero__el.motion-delay-3 {
  animation-delay: calc(var(--motion-stagger-step) * 4);
}

@keyframes motion-hero-in {
  from {
    opacity: 0;
    transform: translateY(var(--motion-rise-hero));
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Scroll: one IO per section, transition on enter */
html.js-enabled .motion-section:not(.is-in) .motion-el {
  opacity: 0;
  transform: translateY(var(--motion-rise));
}

html.js-enabled .motion-section:not(.is-in) .motion-stagger > * {
  opacity: 0;
  transform: translateY(10px);
}

html.js-enabled .motion-section:not(.is-in) .timeline--animate .timeline-item {
  opacity: 0;
  transform: translateY(8px);
}

html.js-enabled .motion-section:not(.is-in) .timeline--animate .timeline-item::before {
  transform: scale(0);
  opacity: 0;
}

.motion-section.is-in .motion-el {
  opacity: 1;
  transform: none;
  transition:
    opacity var(--motion-duration) var(--ease),
    transform var(--motion-duration) var(--ease);
}

.motion-section.is-in .motion-el.motion-delay-1 {
  transition-delay: calc(var(--motion-stagger-step) * 2);
}

.motion-section.is-in .motion-el.motion-delay-2 {
  transition-delay: calc(var(--motion-stagger-step) * 4);
}

.motion-section.is-in .motion-stagger > * {
  opacity: 1;
  transform: none;
  transition:
    opacity var(--motion-duration) var(--ease),
    transform var(--motion-duration) var(--ease);
}

.motion-section.is-in .motion-stagger > *:nth-child(1) {
  transition-delay: calc(var(--motion-stagger-step) * 1);
}
.motion-section.is-in .motion-stagger > *:nth-child(2) {
  transition-delay: calc(var(--motion-stagger-step) * 2);
}
.motion-section.is-in .motion-stagger > *:nth-child(3) {
  transition-delay: calc(var(--motion-stagger-step) * 3);
}
.motion-section.is-in .motion-stagger > *:nth-child(4) {
  transition-delay: calc(var(--motion-stagger-step) * 4);
}
.motion-section.is-in .motion-stagger > *:nth-child(5) {
  transition-delay: calc(var(--motion-stagger-step) * 5);
}
.motion-section.is-in .motion-stagger > *:nth-child(6) {
  transition-delay: calc(var(--motion-stagger-step) * 6);
}
.motion-section.is-in .motion-stagger > *:nth-child(7) {
  transition-delay: calc(var(--motion-stagger-step) * 7);
}
.motion-section.is-in .motion-stagger > *:nth-child(8) {
  transition-delay: calc(var(--motion-stagger-step) * 8);
}

.section-head .section-title {
  position: relative;
}

.section-head .section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 14px;
  background: var(--green);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  transition:
    transform 0.52s var(--ease),
    opacity 0.35s var(--ease);
}

.motion-section.is-in .section-head .section-title::after {
  transform: scaleX(1);
  opacity: 1;
  transition-delay: 0.1s;
}

/* Timeline (single line, synced to section) */
.timeline--animate::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 0;
  z-index: 0;
  width: 2px;
  height: 0;
  background: linear-gradient(180deg, var(--green), rgba(31, 138, 91, 0.25));
  pointer-events: none;
}

.motion-section.is-in .timeline--animate::before {
  animation: timeline-draw 0.95s var(--ease) forwards;
}

.motion-section.is-in .timeline--animate .timeline-item {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.4s var(--ease),
    transform 0.4s var(--ease);
}

.motion-section.is-in .timeline--animate .timeline-item::before {
  transform: scale(1);
  opacity: 1;
  transition:
    transform 0.38s var(--ease),
    opacity 0.38s var(--ease);
}

.motion-section.is-in .timeline--animate .timeline-item:nth-child(1),
.motion-section.is-in .timeline--animate .timeline-item:nth-child(1)::before {
  transition-delay: 0.08s;
}
.motion-section.is-in .timeline--animate .timeline-item:nth-child(2),
.motion-section.is-in .timeline--animate .timeline-item:nth-child(2)::before {
  transition-delay: 0.14s;
}
.motion-section.is-in .timeline--animate .timeline-item:nth-child(3),
.motion-section.is-in .timeline--animate .timeline-item:nth-child(3)::before {
  transition-delay: 0.2s;
}
.motion-section.is-in .timeline--animate .timeline-item:nth-child(4),
.motion-section.is-in .timeline--animate .timeline-item:nth-child(4)::before {
  transition-delay: 0.26s;
}
.motion-section.is-in .timeline--animate .timeline-item:nth-child(5),
.motion-section.is-in .timeline--animate .timeline-item:nth-child(5)::before {
  transition-delay: 0.32s;
}
.motion-section.is-in .timeline--animate .timeline-item:nth-child(6),
.motion-section.is-in .timeline--animate .timeline-item:nth-child(6)::before {
  transition-delay: 0.38s;
}
.motion-section.is-in .timeline--animate .timeline-item:nth-child(7),
.motion-section.is-in .timeline--animate .timeline-item:nth-child(7)::before {
  transition-delay: 0.44s;
}
.motion-section.is-in .timeline--animate .timeline-item:nth-child(8),
.motion-section.is-in .timeline--animate .timeline-item:nth-child(8)::before {
  transition-delay: 0.5s;
}

@keyframes timeline-draw {
  to {
    height: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-hero .motion-hero__el,
  .motion-section:not(.is-in) .motion-el,
  .motion-section:not(.is-in) .motion-stagger > *,
  .motion-section:not(.is-in) .timeline--animate .timeline-item {
    opacity: 1;
    transform: none;
  }

  .motion-hero.is-in .motion-hero__el {
    animation: none;
  }

  .motion-section.is-in .motion-el,
  .motion-section.is-in .motion-stagger > *,
  .motion-section.is-in .timeline--animate .timeline-item,
  .motion-section.is-in .timeline--animate .timeline-item::before {
    transition: none;
  }

  .section-head .section-title::after {
    transform: none;
    opacity: 1;
    transition: none;
  }

  .motion-section.is-in .timeline--animate::before {
    animation: none;
    height: 100%;
  }

  .motion-section:not(.is-in) .timeline--animate .timeline-item::before {
    transform: none;
    opacity: 1;
  }

  .hero-media img {
    animation: none;
    transform: scale(0.97);
    transform-origin: 26% 20%;
  }

  @media (max-width: 767px) {
    .hero-media img {
      object-position: 50% 18%;
      transform: scale(0.94);
      transform-origin: 44% 18%;
    }
  }

  .hero-scroll::after {
    animation: none;
  }

  html.js-enabled .motion-section:not(.is-in) .adoptee-photo,
  html.js-enabled .motion-section:not(.is-in) .adoptee-photo img,
  html.js-enabled .motion-section:not(.is-in) .adoptee > :not(.adoptee-photo),
  .motion-section.is-in .adoptee-photo,
  .motion-section.is-in .adoptee-photo img,
  .motion-section.is-in .adoptee > :not(.adoptee-photo),
  .motion-section.is-in .adoptee-photo-link:hover img,
  .motion-section.is-in .adoptee-photo-link:focus-visible img {
    clip-path: none;
    transform: none;
    filter: none;
    opacity: 1;
    transition: none;
    animation: none;
  }

  .adoptee-photo:hover,
  .adoptee-photo:focus-within {
    box-shadow:
      0 0 0 1px rgba(31, 138, 91, 0.22),
      0 8px 22px rgba(31, 138, 91, 0.12);
    transition: none;
  }

  .disclosure-panel,
  .disclosure-panel-inner,
  .disclosure-chevron,
  .disclosure-hint {
    transition: none !important;
    animation: none !important;
  }

  .disclosure-panel {
    height: auto !important;
  }

  .disclosure[open] .disclosure-panel-inner {
    opacity: 1;
    transform: none;
  }

  .btn:hover,
  .btn:active {
    transform: none;
  }

  .nav-mobile,
  .nav-mobile a {
    transition: none;
  }
}

/* —— Sections —— */
.section {
  padding: var(--section-space) 0;
}

@media (min-width: 768px) {
  .section {
    padding: var(--section-space-md) 0;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: var(--section-space-lg) 0;
  }
}

.section-alt {
  background: var(--surface);
}

.section-head {
  margin-bottom: 40px;
}

.section-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--green);
  margin: 0 0 10px;
}

.section-title {
  margin: 0;
  font-size: clamp(26px, 5vw, 34px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy);
}

.section-lead {
  margin: 14px 0 0;
  color: var(--muted);
  max-width: 100%;
  font-size: 15px;
}

/* Partners (Ikoma × NAIST) */
.partners {
  margin: 0 0 48px;
  padding: 32px 28px 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.partners-kicker {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--green);
  text-align: center;
}

.partners-figure {
  margin: 0 auto 18px;
  max-width: 920px;
}

.partners-figure picture {
  display: block;
}

.partners-figure img {
  width: 100%;
  height: auto;
  display: block;
  padding: 15px;
  border-radius: 12px;
  background: #fff;
  box-sizing: border-box;
}

.partners-lead {
  margin: 0 auto;
  max-width: 100%;
  text-align: center;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.past-programs-bar {
  padding: 16px 0 8px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

/* NEWS */
.news-section {
  padding: 48px 0 40px;
  background: var(--white);
}

.news-title {
  margin: 0 0 28px;
  text-align: center;
  font-family: var(--font-en);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--navy);
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 920px;
  margin-inline: auto;
}

.news-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.news-item:last-child {
  border-bottom: 1px solid var(--line);
}

@media (min-width: 640px) {
  .news-item {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
  }
}

.news-item-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
}

.news-inline-link {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

.news-inline-link:hover {
  color: var(--green-deep);
}

.news-item-date {
  flex-shrink: 0;
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
}

.past-programs {
  margin: 0 auto;
  max-width: 920px;
  text-align: center;
  font-size: 15px;
  color: var(--ink);
}

.past-programs a {
  color: var(--green-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.past-programs a:hover {
  color: var(--green-hover);
}

.section-ecosystem {
  background: var(--white);
}

.ecosystem-panel {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  max-width: 960px;
  margin-inline: auto;
}

.ecosystem-panel .partners-figure {
  margin: 0;
  max-width: 100%;
}

.ecosystem-panel .partners-figure picture {
  display: block;
  width: 100%;
}

.ecosystem-panel .partners-figure img {
  width: 100%;
  max-width: 100%;
  height: auto;
  min-width: 0;
}

#ecosystem .partners {
  margin-bottom: 0;
}

.partners-lockup {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 20px;
  margin-bottom: 18px;
}

.partners-logo {
  display: block;
  width: auto;
  height: 44px;
  max-width: min(220px, 42vw);
  object-fit: contain;
}

.partners-x {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.partners-lead {
  margin: 0 auto 18px;
  max-width: 100%;
  text-align: center;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.partners-ecosystem {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.partners-ecosystem li {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
}

/* About */
.about-section {
  position: relative;
  overflow: hidden;
}

.about-section-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(31, 138, 91, 0.07), transparent 60%);
}

.about-section-inner {
  position: relative;
  z-index: 1;
}

.about-header {
  margin-bottom: 28px;
  max-width: 100%;
}

@media (min-width: 768px) {
  .about-header {
    margin-bottom: 32px;
  }
}

.about-intro-lead {
  margin-top: 12px;
}

.about-panel {
  position: relative;
  margin-bottom: 32px;
  padding: 28px 24px 30px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.about-panel::before {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--green);
}

.about-lead {
  margin: 0 0 1em;
  font-size: clamp(16px, 2vw, 17px);
  font-weight: 500;
  line-height: 1.85;
  color: var(--ink);
}

.about-lead strong {
  color: var(--green-deep);
  font-weight: 700;
}

.about-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

.about-pillars {
  display: grid;
  gap: 12px;
}

@media (min-width: 768px) {
  .about-pillars {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .about-panel {
    padding: 32px 36px 34px 40px;
  }
}

.about-pillar {
  padding: 20px 20px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.about-pillar-title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--navy);
}

.about-pillar-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

/* Support — image + text cards */
.support-overview {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .support-overview {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 28px;
  }

  .support-overview li {
    padding: 12px 14px;
    font-size: 13px;
  }
}

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

.support-overview li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.support-overview-num {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
}
.support-cards {
  display: grid;
  gap: 28px;
}

.support-card {
  display: grid;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(10, 30, 54, 0.04);
}

.support-card-media {
  position: relative;
  min-height: 200px;
  background: var(--navy-2);
}

.support-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 768px) {
  .support-card-media {
    min-height: 220px;
  }

  .support-card-media img {
    min-height: 220px;
  }
}

.support-card-num {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  padding: 6px 12px;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--green);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.support-card-body {
  padding: 24px 22px 28px;
}

.support-card-body h3 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.45;
  color: var(--navy);
}

.support-card-index {
  margin: 0 0 6px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--green);
}

.support-card-summary {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

/* —— Disclosure (支援・FAQ) —— */
.disclosure-summary {
  list-style: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
}

.disclosure-summary::-webkit-details-marker {
  display: none;
}

.disclosure-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  background: var(--green-soft);
  border: 1px solid rgba(31, 138, 91, 0.28);
  border-radius: 10px;
  transition:
    background 0.25s var(--ease),
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    transform 0.2s var(--ease);
}

.disclosure-trigger-text {
  flex: 1 1 auto;
  min-width: min-content;
}

.disclosure-summary:hover .disclosure-trigger,
.disclosure-summary:focus-visible .disclosure-trigger {
  background: #dff3ea;
  border-color: rgba(31, 138, 91, 0.5);
  box-shadow: 0 0 0 3px rgba(31, 138, 91, 0.14);
}

.disclosure-summary:active .disclosure-trigger {
  transform: none;
}

.disclosure[open] .disclosure-trigger {
  background: var(--white);
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(31, 138, 91, 0.1);
}

.disclosure-hints {
  display: grid;
  margin-top: 4px;
  width: max-content;
  max-width: 100%;
}

.disclosure-hint {
  grid-area: 1 / 1;
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  writing-mode: horizontal-tb;
  word-break: keep-all;
  overflow-wrap: normal;
  transition: opacity 0.22s var(--ease);
}

.disclosure-hint--open {
  opacity: 0;
  pointer-events: none;
}

.disclosure-hint--closed {
  opacity: 1;
}

.disclosure[open] .disclosure-hint--closed {
  opacity: 0;
}

.disclosure[open] .disclosure-hint--open {
  opacity: 1;
}

.disclosure-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--green-deep);
}

.disclosure-hint {
  margin-top: 0;
}

.disclosure-chevron {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid rgba(31, 138, 91, 0.35);
  position: relative;
  transition:
    background 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.disclosure-chevron::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  margin: 0;
  border-right: 2px solid var(--green-deep);
  border-bottom: 2px solid var(--green-deep);
  transform: translate(-50%, -40%) rotate(45deg);
  transform-origin: center;
  transition: transform 0.42s var(--ease);
}

.disclosure[open] .disclosure-chevron {
  background: var(--green-soft);
  border-color: var(--green);
}

.disclosure[open] .disclosure-chevron::after {
  transform: translate(-50%, -40%) rotate(225deg);
}

.disclosure-panel {
  overflow: hidden;
  height: 0;
  transition: height 0.45s var(--ease);
}

.disclosure-panel-inner {
  overflow: hidden;
  min-height: 0;
  padding-top: 14px;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    opacity 0.36s var(--ease),
    transform 0.45s var(--ease);
}

.disclosure[open] .disclosure-panel-inner {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.06s;
}

.disclosure-panel.is-closing .disclosure-panel-inner {
  opacity: 0;
  transform: translateY(-4px);
  transition-delay: 0s;
}

html:not(.js-enabled) .disclosure:not([open]) .disclosure-panel {
  display: none;
}

html:not(.js-enabled) .disclosure[open] .disclosure-panel {
  height: auto;
}

html:not(.js-enabled) .disclosure[open] .disclosure-panel-inner {
  opacity: 1;
  transform: none;
}

.support-details {
  margin-top: 4px;
}

.support-card-body .req-list {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink);
}

.support-card-body .req-list li + li {
  margin-top: 0.75em;
}

@media (min-width: 860px) {
  .support-cards {
    gap: 36px;
  }

  .support-card {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: stretch;
  }

  .support-card:nth-child(even) .support-card-media {
    order: 2;
  }

  .support-card:nth-child(even) .support-card-body {
    order: 1;
  }

  .support-card-media {
    min-height: 100%;
  }

  .support-card-media img {
    min-height: 280px;
  }

  .support-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px 36px;
  }

  .support-card:nth-child(even) .support-card-num {
    left: auto;
    right: 16px;
  }
}

/* CTA band */
.cta-band {
  padding: 40px 0;
  background: var(--green-soft);
  border-block: 1px solid rgba(31, 138, 91, 0.12);
}

@media (min-width: 768px) {
  .cta-band {
    padding: 48px 0;
  }
}

.cta-band-inner {
  display: grid;
  gap: 24px;
  align-items: center;
}

@media (min-width: 768px) {
  .cta-band-inner {
    grid-template-columns: 1fr auto;
    gap: 32px;
  }
}

.cta-band-label {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
}

.cta-band-title {
  margin: 0 0 8px;
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.45;
}

.cta-band-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 40em;
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cta-band-actions .btn-row {
  margin: 0;
}

/* Requirements */
.req-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.req-card .req-table th,
.req-card .req-table td {
  padding: 16px 20px;
}

.req-card .req-table th {
  background: var(--surface);
  width: 26%;
}

@media (max-width: 767px) {
  .req-card .req-table,
  .req-card .req-table tbody,
  .req-card .req-table tr,
  .req-card .req-table th,
  .req-card .req-table td {
    display: block;
    width: 100%;
  }

  .req-card .req-table tr {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }

  .req-card .req-table tr:first-child th,
  .req-card .req-table tr:first-child td {
    border-top: none;
  }

  .req-card .req-table th {
    border-bottom: none;
    padding: 0 16px 8px;
    font-size: 12px;
    letter-spacing: 0.04em;
    color: var(--green-deep);
    background: transparent;
  }

  .req-card .req-table td {
    padding: 0 16px 4px;
    border-bottom: none;
    font-size: 15px;
    line-height: 1.75;
  }

  .req-card .req-table td:last-child {
    padding-bottom: 0;
  }
}

.req-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.req-table th,
.req-table td {
  padding: 18px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.req-table th {
  width: 28%;
  font-weight: 700;
  color: var(--navy);
  background: transparent;
}

.req-table td {
  color: var(--muted);
}

.req-table tr:first-child th,
.req-table tr:first-child td {
  border-top: 1px solid var(--line);
}

.note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}

.req-list {
  margin: 0;
  padding-left: 1.2em;
}

.req-list li + li {
  margin-top: 0.35em;
}

.req-addition {
  color: inherit;
}

@media (max-width: 767px) {
  .req-addition {
    display: block;
    margin-top: 0.5em;
    font-size: 13px;
    line-height: 1.65;
    color: var(--muted);
  }
}

.req-tentative-note {
  margin: 0.5em 0 0;
  font-size: 13px;
  color: var(--muted);
}

.req-policy-links {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.req-policy-links li {
  margin-top: 6px;
}

.req-policy-links li::before {
  content: "｜";
  margin-right: 2px;
}

.req-table a {
  color: var(--green-deep);
  text-decoration: underline;
  text-decoration-color: rgba(31, 138, 91, 0.45);
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
  word-break: normal;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.req-table a:hover {
  color: var(--green-hover);
  text-decoration-color: var(--green);
}

.req-form-link {
  display: inline-block;
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 700;
  color: var(--green-deep);
  text-decoration: underline;
  text-decoration-color: rgba(31, 138, 91, 0.45);
  text-underline-offset: 3px;
  cursor: pointer;
}

.req-form-link:hover {
  color: var(--green-hover);
  text-decoration-color: var(--green);
}

/* —— Briefing —— */
.briefing-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 28px 24px;
  margin-bottom: 36px;
}

.briefing-meta {
  display: grid;
  gap: 16px;
  margin: 0 0 20px;
}

@media (min-width: 768px) {
  .briefing-meta {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.briefing-meta dt {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.briefing-meta dd {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.45;
}

.briefing-lead {
  margin: 0 0 18px;
  color: var(--ink-2, var(--ink));
  line-height: 1.8;
}

.briefing-note {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.briefing-movie-title {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 700;
}

.briefing-movie-lead {
  margin: 0 0 18px;
  color: var(--ink-2, var(--ink));
  line-height: 1.8;
}

.briefing-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0b1220;
  border-radius: 12px;
  overflow: hidden;
}

.briefing-video video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}

/* Schedule */
.timeline {
  position: relative;
  padding-left: 28px;
  margin-left: 8px;
  border-left: none;
}

.timeline-item {
  position: relative;
  padding-bottom: 32px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -35px;
  top: 6px;
  z-index: 1;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
}

.timeline-date {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--green);
  margin: 0 0 4px;
}

.timeline-item h3 {
  margin: 0 0 6px;
  font-size: 18px;
  color: var(--navy);
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  padding: 15px;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 0;
  font-weight: 700;
  color: var(--navy);
  position: relative;
}

.faq-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 0;
  transition: background 0.25s var(--ease);
}

.faq-summary:hover,
.faq-summary:focus-visible {
  background: rgba(31, 138, 91, 0.04);
}

.faq-item[open] .faq-summary {
  background: rgba(31, 138, 91, 0.06);
}

.faq-summary-text {
  flex: 1 1 auto;
  min-width: min-content;
}

.faq-hints {
  display: grid;
  margin-top: 6px;
  width: max-content;
  max-width: 100%;
}

.faq-summary .faq-q-hint {
  grid-area: 1 / 1;
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  writing-mode: horizontal-tb;
  word-break: keep-all;
  overflow-wrap: normal;
  transition: opacity 0.22s var(--ease);
}

.faq-q-hint--open {
  opacity: 0;
  pointer-events: none;
}

.faq-q-hint--closed {
  opacity: 1;
}

.faq-item[open] .faq-q-hint--closed {
  opacity: 0;
}

.faq-item[open] .faq-q-hint--open {
  opacity: 1;
}

.faq-summary .disclosure-chevron {
  margin-top: 2px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  display: none;
}

.faq-item .disclosure-panel-inner {
  padding: 12px 0 0;
}

.faq-item[open] .disclosure-panel-inner {
  padding-top: 12px;
}

.faq-item .faq-a {
  padding: 0;
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

/* Interview coming soon */
.interview-soon {
  display: grid;
  gap: 16px;
}

@media (min-width: 768px) {
  .interview-soon {
    grid-template-columns: 1fr 1fr;
  }
}

.soon-panel {
  min-height: 220px;
  background: #fff;
  border: 1px dashed var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px;
  color: var(--muted);
}

.soon-panel .tag {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--green);
  margin-bottom: 10px;
}

.soon-panel strong {
  display: block;
  color: var(--navy);
  font-size: 16px;
  margin-bottom: 6px;
}

.reassure {
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--green-soft);
  color: var(--navy);
  font-size: 14px;
  font-weight: 500;
}

/* Apply */
.apply-section {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 64px 0;
}

@media (min-width: 768px) {
  .apply-section {
    padding: 80px 0;
  }
}

@media (min-width: 1024px) {
  .apply-section {
    padding: 96px 0;
  }
}

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

.apply-section .section-title {
  color: #fff;
}

.apply-section .section-lead {
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.78);
}

.apply-lead {
  max-width: 36em;
}

.apply-note {
  margin: 24px auto 0;
  max-width: 36em;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
}

.apply-section .btn-on-dark {
  margin-top: 8px;
}

/* Footer */
.site-footer {
  background: #071422;
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 32px;
  font-size: 13px;
}

.footer-grid {
  display: grid;
  gap: 28px;
  margin-bottom: 36px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.site-footer h3 {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 700;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 12px;
}

.footer-past {
  margin: 0 0 12px;
}

.footer-past a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-past a:hover {
  color: #fff;
}

.footer-contact {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.footer-contact a:hover {
  color: #fff;
}

.site-footer p {
  margin: 0;
  line-height: 1.7;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-size: 12px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding: 10px max(16px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom))
    max(16px, env(safe-area-inset-left));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transform: translateY(110%);
  transition: transform 0.4s var(--ease);
}

.sticky-cta.is-visible {
  transform: none;
}

.sticky-cta__copy {
  flex: 1;
  min-width: 0;
}

.sticky-cta p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.sticky-cta strong {
  display: block;
  color: var(--navy);
  font-size: 13px;
  line-height: 1.35;
}

.sticky-cta .btn {
  padding: 12px 20px;
  font-size: 13px;
  flex-shrink: 0;
}

@media (max-width: 859px) {
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
}

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

  .sticky-cta {
    display: none;
  }
}

/* —— Mobile polish (<768px) —— */
@media (max-width: 767px) {
  .hero {
    min-height: max(460px, calc(100svh - var(--header-h) - env(safe-area-inset-top, 0px)));
  }

  .hero-media img {
    /* 合成FV：人物は右寄せしつつ、左の正門シンボル（三角）が見える位置 */
    object-position: 50% 18%;
    transform: scale(0.94);
    transform-origin: 44% 18%;
    animation: none;
  }

  .hero-overlay {
    background:
      linear-gradient(
        105deg,
        rgba(7, 18, 34, 0.7) 0%,
        rgba(7, 18, 34, 0.56) 38%,
        rgba(7, 18, 34, 0.24) 62%,
        rgba(7, 18, 34, 0.06) 100%
      ),
      linear-gradient(to top, rgba(7, 18, 34, 0.28), transparent 42%);
  }

  .hero-scroll {
    display: none;
  }

  .section-head {
    margin-bottom: 28px;
  }

  .section-lead {
    font-size: 15px;
    line-height: 1.75;
  }

  .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-row .btn {
    width: 100%;
  }

  .cta-band-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-band-actions .btn {
    width: 100%;
  }

  .support-card-body {
    padding: 20px 18px 24px;
  }

  /* iOS Safari: flex 子が潰れてヒントが1文字折り返しになるのを防ぐ */
  .support-details .disclosure-trigger {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: start;
    column-gap: 12px;
    row-gap: 4px;
  }

  .support-details .disclosure-trigger-text {
    display: contents;
  }

  .support-details .disclosure-label {
    grid-column: 1;
    grid-row: 1;
  }

  .support-details .disclosure-hints {
    grid-column: 1;
    grid-row: 2;
    width: auto;
    max-width: none;
  }

  .support-details .disclosure-chevron {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }

  .faq-item .faq-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: start;
    column-gap: 14px;
    row-gap: 6px;
  }

  .faq-item .faq-summary-text {
    display: contents;
  }

  .faq-item .faq-q {
    grid-column: 1;
    grid-row: 1;
  }

  .faq-item .faq-hints {
    grid-column: 1;
    grid-row: 2;
    width: auto;
    max-width: none;
  }

  .faq-item .disclosure-chevron {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    margin-top: 0;
  }

  .support-card-body h3 {
    font-size: 18px;
  }

  .briefing-card {
    padding: 22px 18px 20px;
  }

  .partners {
    padding: 24px 16px 20px;
  }

  .partners-figure img {
    padding: 8px;
  }

  .timeline {
    margin-left: 4px;
    padding-left: 24px;
  }

  .timeline-item::before {
    left: -31px;
  }
}

/* —— 2026 adoptees（2025年度「採択者情報」の並びを踏襲） —— */
.adoptee-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.adoptee-photo {
  margin: 0 0 14px;
  aspect-ratio: 230 / 311;
  overflow: hidden;
  background: var(--surface);
  box-shadow:
    0 0 0 1px rgba(31, 138, 91, 0.22),
    0 8px 22px rgba(31, 138, 91, 0.12);
  transition: box-shadow 0.45s var(--ease);
}

.adoptee-photo-link {
  display: block;
  height: 100%;
  position: relative;
  color: inherit;
}

.adoptee-photo-link:focus-visible {
  outline: none;
}

.adoptee-photo:focus-within {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.adoptee-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.adoptee-photo-label {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: #fff;
  background: rgba(10, 30, 54, 0.62);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

html.js-enabled .motion-section:not(.is-in) .adoptee-photo {
  clip-path: inset(100% 0 0 0);
}

html.js-enabled .motion-section:not(.is-in) .adoptee-photo img {
  transform: scale(1.08);
}

html.js-enabled .motion-section:not(.is-in) .adoptee > :not(.adoptee-photo) {
  opacity: 0;
  transform: translateY(10px);
}

.motion-section.is-in .adoptee-photo {
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.7s var(--ease);
}

.motion-section.is-in .adoptee-photo img {
  transform: none;
  filter: none;
  transition:
    transform 0.45s var(--ease),
    filter 0.45s var(--ease);
}

.motion-section.is-in .adoptee > :not(.adoptee-photo) {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}

.motion-section.is-in .adoptee:nth-child(1) .adoptee-photo {
  transition-delay: 0.06s;
}

.motion-section.is-in .adoptee:nth-child(1) > :not(.adoptee-photo) {
  transition-delay: 0.22s;
}

.motion-section.is-in .adoptee:nth-child(2) .adoptee-photo {
  transition-delay: 0.2s;
}

.motion-section.is-in .adoptee:nth-child(2) > :not(.adoptee-photo) {
  transition-delay: 0.36s;
}

.motion-section.is-in .adoptee:nth-child(3) .adoptee-photo {
  transition-delay: 0.34s;
}

.motion-section.is-in .adoptee:nth-child(3) > :not(.adoptee-photo) {
  transition-delay: 0.5s;
}

@media (hover: hover) and (pointer: fine) {
  .motion-section.is-in .adoptee:nth-child(n) .adoptee-photo-link:hover img,
  .motion-section.is-in .adoptee:nth-child(n) .adoptee-photo-link:focus-visible img {
    transform: scale(1.045);
    filter: brightness(1.12);
    transition:
      transform 0.45s var(--ease),
      filter 0.45s var(--ease);
    transition-delay: 0s;
  }

  .adoptee-photo:hover,
  .adoptee-photo:focus-within {
    box-shadow:
      0 0 0 1px rgba(31, 138, 91, 0.7),
      0 0 22px rgba(31, 138, 91, 0.45),
      0 12px 28px rgba(31, 138, 91, 0.28);
  }

  .adoptee-photo-link:hover .adoptee-photo-label,
  .adoptee-photo-link:focus-visible .adoptee-photo-label {
    background: var(--green);
    box-shadow: 0 0 16px rgba(31, 138, 91, 0.7);
  }
}

.adoptee-name {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy);
}

.adoptee-role {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.adoptee-lab {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.6;
  text-wrap: pretty;
}

.adoptee-hp {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink);
}

.adoptee-hp a {
  color: var(--green-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
}

.adoptee-hp a:hover {
  color: var(--green);
}

.adoptee-theme {
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.65;
  color: var(--navy);
  text-wrap: pretty;
}

@media (max-width: 767px) {
  .adoptee-photo {
    aspect-ratio: auto;
    width: min(100%, 360px);
    height: 300px;
  }

  .adoptee:nth-child(2) .adoptee-photo img {
    object-position: center 8%;
  }
}

@media (min-width: 768px) {
  .adoptee-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 28px;
  }
}

/* —— Apply closed toast —— */
.apply-closed-toast {
  position: fixed;
  inset: auto 16px calc(16px + env(safe-area-inset-bottom, 0px)) 16px;
  z-index: 110;
  display: flex;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.28s var(--ease),
    transform 0.28s var(--ease);
}

.apply-closed-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.apply-closed-toast[hidden] {
  display: none !important;
}

.apply-closed-toast__panel {
  position: relative;
  width: min(100%, 480px);
  padding: 18px 44px 18px 18px;
  border-radius: 14px;
  border: 1px solid rgba(10, 30, 54, 0.08);
  background: #fff;
  box-shadow:
    0 16px 40px rgba(10, 30, 54, 0.14),
    0 2px 8px rgba(10, 30, 54, 0.06);
}

.apply-closed-toast__panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--green);
}

.apply-closed-toast__lead--primary {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--navy);
}

.apply-closed-toast__thanks {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

.apply-closed-toast__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.apply-closed-toast__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 11px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.apply-closed-toast__btn--primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 6px 18px rgba(31, 138, 91, 0.28);
}

.apply-closed-toast__btn--primary:hover {
  background: var(--green-hover);
}

.apply-closed-toast__btn--secondary {
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--line);
  box-shadow: none;
}

.apply-closed-toast__btn--secondary:hover {
  border-color: rgba(31, 138, 91, 0.35);
  color: var(--green-deep);
}

.apply-closed-toast__btn:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.apply-closed-toast__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.apply-closed-toast__close:hover {
  background: rgba(10, 30, 54, 0.06);
  color: var(--navy);
}

.apply-closed-toast__close:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

@media (max-width: 859px) {
  .apply-closed-toast {
    inset: auto 16px calc(80px + env(safe-area-inset-bottom, 0px)) 16px;
  }
}

@media (min-width: 860px) {
  .apply-closed-toast {
    inset: auto 24px 24px auto;
    justify-content: flex-end;
  }

  .apply-closed-toast__panel {
    width: min(460px, calc(100vw - 48px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .apply-closed-toast {
    transition: none;
  }
}
