/* ========================================
   ライターン 8期生募集LP
   参考: どうだい？ LP
   ======================================== */

:root {
  --primary: #3b82f6;
  --secondary: #60a5fa;
  --accent: #38bdf8;
  --accent-dark: #0ea5e9;
  --functionnav-end: #818cf8;
  --btn-cta: #ff8a4c;
  --btn-cta-dark: #f97316;
  --bg-light: #f0f9ff;
  --bg-white: #ffffff;
  --text: #334155;
  --text-muted: #64748b;
  --marker: #fde68a;
  --green-bg: #d1fae5;
  --green-border: #34d399;
  --pink-bg: #ffe4e6;
  --pink-border: #fb7185;
  --radius: 1.35rem;
  --shadow: 0 0.375rem 0 #bfdbfe;
  --shadow-btn: 0 0.2em 0 var(--btn-cta-dark);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}
html, body {
  margin: 0;
  padding: 0;
  font-size: 16px;
  color: var(--text);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  background: var(--bg-white);
  -webkit-text-size-adjust: 100%;
  line-height: 1.6;
  overflow-x: clip;
}

img { max-width: 100%; vertical-align: bottom; display: block; }
a { color: var(--accent); text-decoration: none; transition: opacity 0.3s; }
a:hover { opacity: 0.7; }
strong { font-weight: 700; }

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

.sp { display: none; }
.pc { display: block; }

/* Placeholder images */
.placeholder {
  background: #c8c8c8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 0.875rem;
  font-weight: 500;
  overflow: hidden;
}

.placeholder--logo { width: 12rem; height: 3rem; border-radius: 0.25rem; }
.placeholder--hero { width: 100%; max-width: 43.75rem; aspect-ratio: 4/3; border-radius: 0.625rem; }
.placeholder--avatar { width: 15rem; height: 15rem; border-radius: 50%; margin: 0 auto; }
.placeholder--feature { width: 27.5rem; height: 18rem; border-radius: 0.625rem; }
.placeholder--screen { width: 23.75rem; height: 15rem; border-radius: 0.625rem; border: 1px solid #fff; box-shadow: 0 0.3125rem 1.125rem rgba(0,0,0,0.2); }
.placeholder--card { width: 18.75rem; height: 12.5rem; border-radius: 0.625rem; }
.placeholder--profile { width: 20rem; height: 20rem; border-radius: 50%; }
.placeholder--icon { width: 5rem; height: 5rem; border-radius: 50%; margin: 0 auto 1.25rem; }
.placeholder--about-eyecatch { width: 100%; aspect-ratio: 16 / 9; border-radius: 0.625rem; }

/* Buttons */
.btn {
  position: relative;
  display: inline-block;
  padding: 0.5em 2.5em;
  color: #fff;
  font-size: 1.375rem;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.35;
  background: var(--btn-cta);
  border-radius: 1.85em;
  box-shadow: 0 0.175em 0 var(--btn-cta-dark);
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: opacity 0.3s;
}
.btn::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  pointer-events: none;
  animation: btnShine 3.5s ease-in-out infinite;
}
@keyframes btnShine {
  0% { left: -75%; }
  18%, 100% { left: 130%; }
}
.btn:hover { opacity: 0.7; text-decoration: none; color: #fff; }
.btn__arrow {
  display: inline-block;
  margin-left: 0.15em;
  animation: btnArrowBounce 1.2s ease-in-out infinite;
}
@keyframes btnArrowBounce {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(0.35em); }
}
.btn--large { font-size: 1.875rem; padding: 0.5em 2.5em; }
.btn--large.js-apply-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.12em;
  white-space: nowrap;
  max-width: 100%;
  padding: 0.55em 1.5em 0.6em;
  line-height: 1.25;
  text-align: center;
}
.btn__main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn .apply-microcopy,
.btn__microcopy {
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-align: center;
}
.btn .apply-microcopy[hidden],
.btn__microcopy[hidden] {
  display: none;
}
/* 料金ボックス（max-width: 36rem）内に収まるサイズに抑える */
@media only screen and (min-width: 1025px) {
  .btn--large.btn--block.js-apply-cta {
    font-size: 1.45rem;
  }
}
.btn--block.js-apply-cta {
  width: fit-content;
  max-width: 100%;
}
.header__nav .btn.js-apply-cta {
  white-space: normal;
  text-align: center;
  padding-left: 0.9em;
  padding-right: 0.9em;
}
.btn--white { color: var(--accent); background: #fff; box-shadow: 0 0.175em 0 rgba(255,255,255,0.3); }
.btn--white::after {
  background: linear-gradient(
    115deg,
    rgba(37, 99, 235, 0) 0%,
    rgba(37, 99, 235, 0.18) 50%,
    rgba(37, 99, 235, 0) 100%
  );
}
.btn--block {
  display: block;
  width: fit-content;
  min-width: min(32rem, 100%);
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}
.btn.btn--closed,
.cv--dark .btn.btn--closed {
  background: #6b7280;
  box-shadow: none;
  cursor: default;
}
.btn.btn--closed::after { content: none; }
.btn.btn--closed:hover { opacity: 1; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1.25rem 0;
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 1px 8px rgba(13,52,128,0.08);
  transition: background-color 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}
.header.is-scrolled {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 10px rgba(13, 52, 128, 0.06);
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  position: relative;
}
.header__logo {
  display: block;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 0;
}
.header__logo img {
  height: 3rem;
  width: auto;
  display: block;
}
.header__logo:hover { opacity: 0.7; }
.header__menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-left: auto;
  padding: 0;
  border: 1px solid rgba(13, 52, 128, 0.16);
  border-radius: 0.75rem;
  background: #fff;
  color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
}
.header__menu-bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.3rem;
  width: 1.15rem;
}
.header__menu-bars span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.header__menu-btn[aria-expanded="true"] .header__menu-bars span:nth-child(1) {
  transform: translateY(0.425rem) rotate(45deg);
}
.header__menu-btn[aria-expanded="true"] .header__menu-bars span:nth-child(2) {
  opacity: 0;
}
.header__menu-btn[aria-expanded="true"] .header__menu-bars span:nth-child(3) {
  transform: translateY(-0.425rem) rotate(-45deg);
}
.header__nav {
  margin-left: auto;
}
.header__nav ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.35rem 0.95rem;
}
.header__nav .btn {
  font-size: 0.875rem;
  padding: 0.65em 1.15em;
  white-space: nowrap;
}
.header__nav .nav-link {
  color: var(--primary);
  font-weight: 500;
  font-size: 0.875rem;
  white-space: nowrap;
}
.header__nav .nav-link:hover { color: var(--accent); opacity: 1; }
body.is-nav-open {
  overflow: hidden;
}

/* Hero / FV */
.hero {
  position: relative;
  padding: 5rem 0 4rem;
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
  overflow: hidden;
}
.hero__anim {
  opacity: 0;
  animation: heroFadeInUp 0.9s ease forwards;
}
.hero__anim--delay1 { animation-delay: 0.2s; }
.hero__anim--delay2 { animation-delay: 0.4s; }

@keyframes heroFadeInUp {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__anim {
    animation: none;
    opacity: 1;
  }
  .section-divider__chevron,
  .section-divider__chevron::after {
    animation: none;
  }
  .fit__arrow {
    animation: none;
  }
  .btn__arrow {
    animation: none;
  }
  .btn::after {
    animation: none;
    display: none;
  }
  .reveal-up,
  .reveal-card,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .reveal-ba .function__ba--before,
  .reveal-ba .function__ba--after {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .functionnav__card,
  .functionnav__card-icon,
  .functionnav__card-num,
  .functionnav__card dt,
  .functionnav__card dd,
  .functionnav__card .placeholder--icon {
    transition: none;
  }
  .functionnav__card:hover {
    transform: none;
  }
}
.hero__lead {
  text-align: center;
  margin-bottom: 3.75rem;
}
.hero__lead p {
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
}
.hero__lead h1 {
  display: inline;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.05em;
  background: linear-gradient(transparent 62%, var(--marker) 62%, var(--marker) 88%, transparent 88%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.hero__title-line {
  display: inline-block;
  white-space: nowrap;
}
.hero__content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}
.hero__cv {
  flex: 0 1 40rem;
  text-align: center;
}
.hero__subcopy {
  margin-bottom: 2.5rem;
  font-size: 1.25rem;
  line-height: 1.7;
  letter-spacing: 0.04em;
}
.hero__deadline {
  margin: 0.5rem 0 1.75rem;
  color: var(--accent);
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  letter-spacing: 0.04em;
  text-align: center;
}
.hero__deadline-label {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.35;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.hero__countdown {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  width: 100%;
  max-width: 36rem;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}
.hero__countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  min-width: 4.25rem;
  padding: 0.7rem 0.55rem 0.55rem;
  border-radius: 0.75rem;
  background: linear-gradient(180deg, #fff 0%, #eef4ff 100%);
  border: 1.5px solid rgba(30, 91, 230, 0.22);
  box-shadow:
    0 6px 16px rgba(13, 52, 128, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.hero__countdown-num {
  display: block;
  min-width: 2.2em;
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--accent);
}
.hero__countdown-label-unit {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-muted, #64748b);
}
.hero__countdown-sep {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1;
  color: var(--accent);
  opacity: 0.55;
  margin: 0 2.5% 0.85rem;
  flex: 0 0 auto;
  animation: countdown-blink 1s steps(1, end) infinite;
}
@keyframes countdown-blink {
  0%, 49% { opacity: 0.55; }
  50%, 100% { opacity: 0.15; }
}
.hero__deadline.is-ended .hero__deadline-label {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
}
.hero__deadline.is-ended .hero__countdown {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .hero__countdown-sep { animation: none; opacity: 0.45; }
}
.hero__visual { flex: 0 1 50%; }
.hero__visual img {
  width: 100%;
  max-width: 43.75rem;
  height: auto;
  margin: 0 auto;
  display: block;
  border-radius: 0.625rem;
}

/* Section common */
.section { padding: 5rem 0 6rem; }
.section__title {
  margin-bottom: 3rem;
  font-size: 2.25rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.06em;
  color: var(--primary);
}
/* Marker highlight (underline style) */
.marker {
  display: inline;
  background: linear-gradient(transparent 62%, var(--marker) 62%, var(--marker) 88%, transparent 88%);
  padding: 0 0.15em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.section__title .num { font-size: 1.3em; color: var(--accent); }

/* Section triangle arrow dividers
   三角 = 上のセクションの色 / 背景 = 下のセクションの色 */
.section-divider {
  position: relative;
  height: 4.5rem;
  margin-top: -1px;
  overflow: visible;
  z-index: 3;
}
.section-divider::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.section-divider--from-white-to-light {
  background: var(--bg-light);
}
.section-divider--from-white-to-light::before {
  background: var(--bg-white);
}
.section-divider--from-light-to-white {
  background: var(--bg-white);
}
.section-divider--from-light-to-white::before {
  background: var(--bg-light);
}
.section-divider--from-white-to-primary {
  background: var(--primary);
}
.section-divider--from-white-to-primary::before {
  background: var(--bg-white);
}
.section-divider--from-primary-to-white {
  background: var(--bg-white);
}
.section-divider--from-primary-to-white::before {
  background: var(--functionnav-end);
}
.section-divider--from-primary-to-light {
  background: var(--bg-light);
}
.section-divider--from-primary-to-light::before {
  background: var(--functionnav-end);
}

.section-divider__chevron {
  position: absolute;
  left: 50%;
  bottom: 0.75rem;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 1rem solid transparent;
  border-right: 1rem solid transparent;
  border-top: 1.125rem solid var(--accent);
  filter: drop-shadow(0 2px 6px rgba(37, 99, 235, 0.35));
  animation: dividerChevronBounce 1.6s ease-in-out infinite;
}
.section-divider__chevron::after {
  content: "";
  position: absolute;
  top: -1.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 0.75rem solid transparent;
  border-right: 0.75rem solid transparent;
  border-top: 0.875rem solid rgba(37, 99, 235, 0.45);
  animation: dividerChevronBounce 1.6s ease-in-out 0.2s infinite;
}
.section-divider__chevron--light {
  border-top-color: #fff;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}
.section-divider__chevron--light::after {
  border-top-color: rgba(255, 255, 255, 0.55);
}

.section--has-top-arrow {
  padding-top: 5rem;
}

@keyframes dividerChevronBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(0.625rem); opacity: 0.65; }
}

/* Scroll reveal animations */
.reveal-up,
.reveal-card {
  opacity: 0;
  transform: translateY(2.5rem);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.85s ease, transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}
.reveal-left { transform: translateX(-4.5rem); }
.reveal-right { transform: translateX(4.5rem); }
.reveal-up.is-visible,
.reveal-card.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}
.reveal-card[data-reveal-delay="1"] { transition-delay: 0.15s; }
.reveal-card[data-reveal-delay="2"] { transition-delay: 0.3s; }
.reveal-up[data-reveal-delay="1"] { transition-delay: 0.12s; }
.reveal-left[data-reveal-delay="1"],
.reveal-right[data-reveal-delay="1"] { transition-delay: 0.12s; }
.reveal-left[data-reveal-delay="2"],
.reveal-right[data-reveal-delay="2"] { transition-delay: 0.24s; }

/* Before/After: slide in from sides and meet */
.reveal-ba .function__ba--before,
.reveal-ba .function__ba--after {
  opacity: 0;
  transition:
    opacity 0.7s ease,
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}
.reveal-ba .function__ba--before {
  transform: translateX(-55%);
}
.reveal-ba .function__ba--after {
  transform: translateX(55%);
}
.reveal-ba.is-visible .function__ba--before,
.reveal-ba.is-visible .function__ba--after {
  opacity: 1;
  transform: translateX(0);
}
.reveal-ba.is-visible .function__ba--before {
  transition-delay: 0s;
}
.reveal-ba.is-visible .function__ba--after {
  transition-delay: 0.18s;
}
.reveal-ba[data-ba-delay="1"].is-visible .function__ba--before {
  transition-delay: 0.38s;
}
.reveal-ba[data-ba-delay="1"].is-visible .function__ba--after {
  transition-delay: 0.56s;
}
.reveal-ba[data-ba-delay="2"].is-visible .function__ba--before {
  transition-delay: 0.76s;
}
.reveal-ba[data-ba-delay="2"].is-visible .function__ba--after {
  transition-delay: 0.94s;
}

@media (hover: hover) {
  .functionnav__card:hover {
    transform: translateY(-0.75rem) scale(1.03);
    box-shadow: 0 0.5rem 0 #1a4fa0, 0 1.5rem 3rem rgba(37, 99, 235, 0.25);
  }
  .functionnav__card:hover::before { opacity: 1; }
  .functionnav__card:hover .functionnav__card-num {
    color: rgba(37, 99, 235, 0.15);
    transform: scale(1.1);
  }
  .functionnav__card:hover .functionnav__card-icon {
    transform: translateY(-0.375rem) scale(1.12);
  }
  .functionnav__card:hover .placeholder--icon {
    background: #dbeafe;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
  }
  .functionnav__card:hover dt {
    color: var(--accent);
    border-bottom-color: var(--primary);
  }
  .functionnav__card:hover dd { color: #444; }
}

/* CV band */
.cv {
  padding: 3.5rem 0;
  text-align: center;
  background: var(--bg-light);
}
.cv__text {
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  line-height: 1.75;
  word-break: keep-all;
  line-break: strict;
  overflow-wrap: anywhere;
}
.cv--dark {
  background: linear-gradient(155deg, #38bdf8 0%, #60a5fa 50%, #818cf8 100%);
  color: #fff;
}
.cv--dark .cv__text { color: #fff; }
.cv--dark .btn { background: var(--btn-cta); }
.cv--mid {
  width: 100vw;
  max-width: 100vw;
  margin: 3rem 0 3.5rem;
  margin-left: calc(50% - 50vw);
  padding: 2.75rem 1.5rem;
  background: var(--bg-light);
  border-radius: 0;
  box-sizing: border-box;
}
.cv--mid .cv__text {
  margin-bottom: 1.5rem;
}
.cv--mid .btn--large {
  margin-left: auto;
  margin-right: auto;
}
.cv__text--note {
  margin-top: 1.5rem;
  font-size: 1rem;
}
.cv .hero__deadline {
  margin: 1.75rem auto 0;
}
.cv .hero__deadline--on-dark {
  color: #fff;
}
.cv .hero__deadline--on-dark .hero__deadline-label {
  color: #fff;
  letter-spacing: 0.12em;
}
.cv .hero__deadline--on-dark .hero__countdown-unit {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.08) 100%);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.cv .hero__deadline--on-dark .hero__countdown-num,
.cv .hero__deadline--on-dark .hero__countdown-sep {
  color: #fff;
}
.cv .hero__deadline--on-dark .hero__countdown-label-unit {
  color: rgba(255, 255, 255, 0.72);
}
.cv__trust {
  margin: 0.85rem 0 0;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.85);
}

/* Nayami / 共感 */
.nayami { background: var(--bg-light); }
.nayami__title {
  margin: 0 0 3rem;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  letter-spacing: 0.04em;
  color: var(--text);
}

.nayami__panel {
  position: relative;
  max-width: 56rem;
  margin: 0 auto 3.5rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  border: 2px solid rgba(13, 52, 128, 0.12);
  border-radius: 1.5rem;
  box-shadow: 0 0.75rem 2rem rgba(13, 52, 128, 0.06);
  overflow: visible;
}
.nayami__panel-body {
  position: relative;
  z-index: 1;
}
.nayami__list {
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
  z-index: 1;
}
.nayami__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.95rem 0;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.65;
  border-bottom: 1px dashed rgba(13, 52, 128, 0.14);
  word-break: keep-all;
  line-break: strict;
  overflow-wrap: anywhere;
}
.nayami__list li:nth-last-child(-n + 2) {
  padding-right: 11rem;
}
.nayami__list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.nayami__list li::before {
  content: "";
  flex: 0 0 1.875rem;
  width: 1.875rem;
  height: 1.875rem;
  margin-top: 0.2em;
  background: url("../image/worries.webp") no-repeat center / contain;
}
.nayami__illust {
  position: absolute;
  right: 0.25rem;
  bottom: -0.35rem;
  z-index: 2;
  width: 10.5rem;
  margin: 0;
  pointer-events: none;
  text-align: center;
}
.nayami__illust img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 8px 16px rgba(13, 52, 128, 0.12));
}

.nayami__closing {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--primary);
  word-break: keep-all;
  line-break: strict;
}
.nayami__closing-line {
  display: inline-block;
  white-space: nowrap;
}

/* About / 解決策 */
.about { background: var(--bg-white); }
.about__eyecatch {
  max-width: 52rem;
  margin: 0 auto 2.5rem;
}
.about__eyecatch .placeholder {
  margin: 0 auto;
}
.about__eyecatch img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 0.625rem;
}
.about__body {
  max-width: 52rem;
  margin: 0 auto 2.5rem;
  font-size: 1.125rem;
  line-height: 1.8;
  text-align: center;
}
.about__badge {
  display: inline;
  margin: 0;
  padding: 0 0.12em;
  background: linear-gradient(transparent 62%, var(--marker) 62%, var(--marker) 88%, transparent 88%);
  color: inherit;
  border-radius: 0;
  font-size: inherit;
  font-weight: 700;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.about__body .about__badge {
  margin: 0;
  vertical-align: baseline;
}
.about__stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 3rem 0;
}
.about__stat {
  text-align: center;
  padding: 1.5rem 2rem;
  background: var(--bg-light);
  border-radius: var(--radius);
  min-width: 10rem;
}
.about__stat-num {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
}
.about__stat-label {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* Function nav / 3つの価値 */
.functionnav {
  background: linear-gradient(160deg, #38bdf8 0%, #60a5fa 45%, var(--functionnav-end) 100%);
  padding: 5rem 0 6rem;
  position: relative;
  overflow: hidden;
}
.functionnav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.18) 0%, transparent 45%),
              radial-gradient(circle at 80% 70%, rgba(147, 197, 253, 0.12) 0%, transparent 40%);
  pointer-events: none;
}
.functionnav .container { position: relative; z-index: 1; }
.functionnav .section__title { color: #fff; margin-bottom: 2.5rem; }
.functionnav .section__title strong,
.functionnav .section__title .num { color: #fff; }
.functionnav__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 72rem;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}
.functionnav__card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 0.375rem 0 #1a4fa0, 0 1rem 2rem rgba(0, 0, 0, 0.08);
  padding: 1.35rem 1.15rem 1.25rem;
  text-align: center;
  cursor: default;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s ease,
              background 0.4s ease;
  overflow: hidden;
}
.functionnav__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.functionnav__card-num {
  position: absolute;
  top: 0.5rem;
  left: 0.85rem;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(13, 52, 128, 0.08);
  font-family: Arial, Helvetica, sans-serif;
  transition: color 0.4s ease, transform 0.4s ease;
}
.functionnav__card-icon {
  margin-bottom: 0.65rem;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.functionnav__card-icon img {
  width: 4.25rem;
  height: 4.25rem;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}
.functionnav__card .placeholder--icon {
  background: var(--bg-light);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.functionnav__card dl {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin: 0;
}
.functionnav__card dt {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--accent);
  transition: color 0.3s ease, border-color 0.3s ease;
}
.functionnav__card dd {
  flex: 1;
  font-size: 0.9375rem;
  line-height: 1.55;
  margin: 0;
  text-align: left;
  transition: color 0.3s ease;
}

/* Voice / メンバーの声 */
.voice .section__title .base {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.voice__panels { padding: 0 3rem; }
.voice__panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5625rem 1.25rem;
  background: #fff;
  border-radius: var(--radius);
  gap: 1.75rem;
}
.voice__panel + .voice__panel { margin-top: 2.5rem; }
.voice__panel:nth-child(odd) {
  margin-right: 12rem;
  border: 2px solid #29acb7;
}
.voice__panel:nth-child(even) {
  flex-direction: row-reverse;
  margin-left: 12rem;
  border: 2px solid var(--accent);
}
.voice__figure { flex: 0 0 20rem; text-align: center; }
.voice__avatar {
  width: 18.75rem;
  height: 18.75rem;
  display: block;
  margin: 0 auto;
  border-radius: 50%;
  object-fit: cover;
}
.voice__meta {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.voice__before-after {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}
.voice__before-after span { display: block; }
.voice__content {
  flex: 1;
  text-align: center;
}
.voice__content > .voice__stars:first-child {
  margin-top: 0;
}
.voice__content dt {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: none;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.voice__panel:nth-child(odd) .voice__content dt { color: #29acb7; }
.voice__panel:nth-child(even) .voice__content dt { color: var(--accent); }
.voice__content dd { font-size: 1.0625rem; line-height: 1.7; margin: 0; }
.voice__stars { color: #fbbf24; margin: 0 0 0.35rem; letter-spacing: 0.1em; }
.voice-gallery {
  margin: 2.5rem 0 0;
  overflow: hidden;
  border-radius: 0.875rem;
  border: 1px solid #dbe8ff;
  background: #f8fbff;
}
#function03.function {
  padding-bottom: 2.5rem;
}
#voice.section.voice {
  padding-top: 2.5rem;
}
.voice-gallery__track {
  display: flex;
  gap: 1rem;
  width: max-content;
  padding: 1rem;
  animation: voiceGalleryScroll 32s linear infinite;
}
.voice-gallery__track img {
  width: clamp(14rem, 28vw, 20rem);
  height: clamp(8rem, 15.5vw, 11.25rem);
  object-fit: cover;
  object-position: center top;
  border-radius: 0.625rem;
  box-shadow: 0 0.375rem 1rem rgba(13, 52, 128, 0.16);
  flex: 0 0 auto;
}
@keyframes voiceGalleryScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Function detail sections */
.function { padding: 5rem 0; }
.function__ttl {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  margin: 1.25rem 2.5rem 4rem;
  padding: 0 2rem 1.5rem;
  border-top: 2px solid #f5f5f5;
  border-bottom: 2px solid #f5f5f5;
}
.function__ttl-fig { flex: 0 0 22rem; margin-top: -2rem; }
.function__ttl-fig img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0.625rem;
}
.function__ttl-text { flex: 0 0 34rem; padding: 1rem 0; }
.function__ttl-text dt {
  display: flex;
  align-items: flex-end;
  min-height: 1.2em;
  margin-bottom: 1.25rem;
  color: var(--accent);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.1;
}
.function__ttl-text dt .num {
  margin-right: 0.125em;
  font-size: 1.35em;
  line-height: 1;
}
.function__ttl-text dd { font-size: 1.125rem; line-height: 1.6; margin: 0; }
.function__growth {
  display: grid;
  gap: 1.25rem;
  max-width: 56rem;
  margin: 0 auto 3rem;
  padding: 0 1rem;
}
.function__growth-stories {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
  width: 100%;
}
.function__ba-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  border-radius: 1rem;
  min-height: 12rem;
  width: 100%;
  box-shadow: 0 0.4rem 1.25rem rgba(13, 52, 128, 0.08);
}
.function__ba {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: 6.5rem minmax(3.2em, auto);
  align-content: center;
  justify-items: center;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  max-width: 100%;
  padding: 2rem 1.15rem 1.35rem;
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}
.function__ba-icon {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 11rem;
  height: 6.5rem;
  margin: 0;
  object-fit: contain;
  object-position: center;
  transform-origin: center center;
}
.function__ba-card:nth-child(1) .function__ba--after .function__ba-icon {
  transform: scale(1.09);
}
.function__ba-card:nth-child(2) .function__ba--after .function__ba-icon {
  transform: scale(1.06);
}
.function__ba-watermark {
  position: absolute;
  top: 0.35rem;
  left: 0.65rem;
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.function__ba--before {
  background: #e8eaed;
}
.function__ba--before .function__ba-watermark {
  color: rgba(255, 255, 255, 0.72);
}
.function__ba--after {
  background: #fff4e8;
}
.function__ba--after .function__ba-watermark {
  left: auto;
  right: 0.65rem;
  color: rgba(255, 186, 120, 0.55);
}
.function__ba-text {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 22em;
  min-height: 3.2em;
  margin: 0;
  padding: 0 0.25rem;
  font-size: clamp(0.84rem, 1.35vw, 1rem);
  font-weight: 700;
  line-height: 1.45;
  color: #334155;
  text-align: center;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.function__ba--after .function__ba-text {
  color: var(--primary);
}
.function__growth-closing {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.7;
  color: var(--primary);
  text-align: center;
}

.function__content { max-width: 72rem; margin: 0 auto; }
.function__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.function__grid-item {
  padding: 1.25rem;
  background: var(--bg-light);
  border-radius: 0.625rem;
  text-align: center;
  font-size: 1rem;
}
.function__grid-item strong { display: block; color: var(--primary); margin-bottom: 0.5rem; }

.function__learn {
  position: relative;
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
  align-items: center;
  column-gap: 3rem;
  margin-top: 2rem;
  padding: 2.25rem 3rem 0;
  background: var(--bg-light);
  border-radius: var(--radius);
  overflow: hidden;
}
.function__learn-teacher {
  grid-column: 2;
  align-self: end;
  justify-self: center;
  width: 17rem;
  max-width: 100%;
  height: auto;
  margin: 0;
  pointer-events: none;
}
.function__learn-lead {
  grid-column: 1 / -1;
  margin: 0 0 1.75rem;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
}
.function__learn-lead::before { content: "＼ "; color: var(--accent); }
.function__learn-lead::after { content: " ／"; color: var(--accent); }
.function__learn-tags {
  grid-column: 1;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0 0 0 2.5rem;
  max-width: none;
}
.function__learn-tags li {
  position: relative;
  padding: 0 0 0 2rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}
.function__learn-tags li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.75rem;
  height: 0.4rem;
  border-left: 0.2rem solid var(--accent);
  border-bottom: 0.2rem solid var(--accent);
  transform: rotate(-45deg);
}
.function__learn-tags li.function__learn-tags-etc {
  padding: 0;
  color: var(--text-muted);
  font-style: italic;
  font-weight: 400;
}
.function__learn-tags li.function__learn-tags-etc::before {
  display: none;
}

.function__carousel {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 2rem;
}
.function__carousel .placeholder { margin: 0 auto; }
.function__carousel-item {
  margin: 0;
  flex: 0 1 22rem;
  max-width: 100%;
  overflow: hidden;
  border-radius: 0.625rem;
  background: var(--bg-white);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}
.function__carousel-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}
.function__feature-img {
  display: block;
  width: 100%;
  max-width: 36rem;
  height: auto;
  margin: 0 auto;
  border-radius: 0.625rem;
}
.function__media-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 2rem;
}
.function__media-item {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
}
.function__media-item .function__feature-img {
  max-width: 100%;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: cover;
  object-position: center;
  background: transparent;
  box-shadow: 0 0.5rem 1.5rem rgba(13, 52, 128, 0.08);
}
.function__feature-caption {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
}

.function__benefit-title {
  margin: 0 auto 2.25rem;
  text-align: center;
}
.function__benefit-bubble {
  position: relative;
  display: inline-block;
  margin: 0 auto 1.1rem;
  padding: 0.45em 1.15em 0.55em;
  border-radius: 999px;
  background: var(--btn-cta);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  box-shadow: 0 0.2em 0 var(--btn-cta-dark);
}
.function__benefit-bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.55em;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 0.55em solid transparent;
  border-right: 0.55em solid transparent;
  border-top: 0.65em solid var(--btn-cta);
}
.function__benefit-main {
  display: block;
  width: fit-content;
  margin: 0 auto;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--primary);
  background: linear-gradient(transparent 60%, rgba(255, 107, 53, 0.2) 60%, rgba(255, 107, 53, 0.2) 90%, transparent 90%);
  padding: 0 0.25em;
}

.function__benefit-img {
  margin: 0 auto 2rem;
  text-align: center;
}
.function__benefit-img img {
  display: block;
  width: 100%;
  max-width: 36rem;
  height: auto;
  margin: 0 auto;
  border-radius: 0.625rem;
}

.function__panel {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 3rem;
  background: var(--bg-light);
  border-radius: var(--radius);
}
.function__panel-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.function__panel-block:nth-child(even) {
  flex-direction: row-reverse;
}
.function__panel-block + .function__panel-block { margin-top: 2.5rem; }
.function__panel-block figure { flex: 0 0 20rem; margin: 0; }
.function__panel-block figure img,
.function__panel-block .placeholder--card {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 0.625rem;
  box-shadow: 0 8px 20px rgba(13, 52, 128, 0.1);
  background: transparent;
}
.benefit-icon {
  flex: 0 0 20rem;
  width: 100%;
  max-width: 20rem;
  aspect-ratio: 3 / 2;
  margin: 0;
  border-radius: 0.75rem;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 0.45rem 1.1rem rgba(13, 52, 128, 0.18);
}
.benefit-icon span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 6.5rem;
  min-height: 2.4rem;
  padding: 0.25rem 0.9rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.2);
}
.benefit-icon--membership { background: linear-gradient(135deg, #4f46e5, #22c55e); }
.benefit-icon--archive { background: linear-gradient(135deg, #f97316, #ef4444); }
.benefit-icon--qa { background: linear-gradient(135deg, #0ea5e9, #3b82f6); }
.benefit-icon--priority { background: linear-gradient(135deg, #ec4899, #f59e0b); }
.benefit-icon--gift { background: linear-gradient(135deg, #8b5cf6, #06b6d4); }
.function__panel-block dl { flex: 1; }
.function__panel-block dt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  color: var(--accent);
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.45;
}
.function__panel-block dd { font-size: 1rem; line-height: 1.6; margin: 0; }
.function__panel-block .badge {
  display: inline-block;
  padding: 0.25em 0.75em;
  background: var(--primary);
  color: #fff;
  border-radius: 0.25rem;
  font-size: 0.8125rem;
  margin: 0;
}
.function__panel-block .badge--later { background: var(--secondary); }
.function__panel-block .price-strike {
  text-decoration: none;
  color: #ef4444;
  font-size: 0.9375rem;
}

.function__schedule {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.function__schedule-group h4 {
  color: var(--primary);
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  padding: 0.5rem 1rem;
  background: var(--bg-light);
  border-left: 4px solid var(--accent);
}
.function__schedule-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.function__schedule-group li {
  padding: 0.5rem 0;
  font-size: 1rem;
  border-bottom: 1px dotted rgba(0,0,0,0.1);
}

.function__highlight {
  text-align: center;
  margin-top: 2rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

/* Profile */
.profile__inner {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  max-width: 56rem;
  margin: 0 auto;
}
.profile__photo { flex: 0 0 20rem; }
.profile__photo-img {
  width: 100%;
  max-width: 20rem;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 50%;
  object-fit: cover;
  aspect-ratio: 1;
  border: 0.4rem solid #fff;
  box-shadow: 0 0.35rem 1.25rem rgba(13, 52, 128, 0.12);
}
.profile__info { flex: 1; }
.profile__info h4 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.profile__achievements {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}
.profile__achievements li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.profile__achievements li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.profile__message {
  position: relative;
  width: 60%;
  max-width: 52rem;
  margin: 2.5rem auto 0;
  padding: 2rem 2.5rem 2rem 3.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  border: 3px solid var(--btn-cta);
  border-radius: 0.75rem;
  box-shadow: 0 0.5rem 1.5rem rgba(13, 52, 128, 0.08);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.9;
  text-align: center;
  overflow: hidden;
}
.profile__message::before {
  content: "";
  position: absolute;
  left: -1.5rem;
  bottom: -1rem;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.profile__message-line {
  margin: 0;
}
.profile__message-line + .profile__message-line {
  margin-top: 1.25rem;
}
.profile__message-em {
  display: inline;
  padding: 0.1em 0.45em;
  background: var(--btn-cta);
  color: #fff;
  border-radius: 0.25rem;
  box-shadow: 0 2px 0 var(--btn-cta-dark);
}
.profile__message-mark {
  background: linear-gradient(transparent 62%, rgba(255, 221, 87, 0.7) 62%, rgba(255, 221, 87, 0.7) 88%, transparent 88%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Fit / 向いている方 */
.fit__compare {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 2rem;
  max-width: 40rem;
  margin: 0 auto;
}
.fit__card {
  position: relative;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem 2.25rem;
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 0.5rem 1.5rem rgba(13, 52, 128, 0.06);
}
.fit__card--yes {
  border: 2px solid var(--btn-cta);
  background: linear-gradient(180deg, #fff8f4 0%, #ffffff 100%);
}
.fit__card--no {
  border: 2px solid var(--primary);
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}
.fit__card-title {
  margin: 0 0 1.5rem;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  color: var(--text);
  letter-spacing: 0.03em;
}
.fit__card-visual {
  display: flex;
  justify-content: center;
  margin-bottom: 1.75rem;
}
.fit__card-icon {
  width: 9rem;
  height: 9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e5e7eb;
  color: #9ca3af;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  overflow: hidden;
}
.fit__card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.fit__card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-top: auto;
}
.fit__card-list li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.75rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  border-top: 1px solid rgba(13, 52, 128, 0.08);
}
.fit__card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(0.65rem + 0.8em);
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: #d1d5db;
  transform: translateY(-50%);
}
.fit__card--yes .fit__card-list li::before {
  background: var(--btn-cta);
}
.fit__card--yes .fit__card-list li::after {
  content: "";
  position: absolute;
  left: 0.575rem;
  top: calc(0.65rem + 0.8em);
  width: 0.32rem;
  height: 0.56rem;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translate(-50%, -65%) rotate(45deg);
}
.fit__card--no .fit__card-list li::before {
  background: var(--primary);
}
.fit__card--no .fit__card-list li::after {
  content: "×";
  position: absolute;
  left: 0.15rem;
  top: 0.82rem;
  width: 1rem;
  height: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1rem;
  text-align: center;
  color: #fff;
}
.fit__card-closing {
  margin: 1.25rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 107, 53, 0.2);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.75;
  text-align: center;
  color: var(--text);
}
.fit__arrows {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1.25rem;
  margin: 2rem auto 0;
}
.fit__arrow {
  position: relative;
  display: block;
  width: 2.75rem;
  height: 3.5rem;
  background: var(--btn-cta);
  clip-path: polygon(28% 0, 72% 0, 72% 52%, 100% 52%, 50% 100%, 0 52%, 28% 52%);
  animation: fitArrowBounce 1.6s ease-in-out infinite;
}
.fit__arrow:nth-child(2) { animation-delay: 0.12s; }
.fit__arrow:nth-child(3) { animation-delay: 0.24s; }
@keyframes fitArrowBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(0.45rem); opacity: 0.75; }
}

/* Pricing */
.pricing { background: var(--bg-light); }
.pricing__box {
  max-width: 36rem;
  margin: 0 auto 2rem;
  padding: 2.5rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(13,52,128,0.1);
  text-align: center;
}
.pricing__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.15em 0.2em;
  margin: 0;
  padding: 0;
  width: auto;
  max-width: 100%;
  font-weight: 700;
  line-height: 1;
  color: var(--btn-cta);
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.pricing__price-label {
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: var(--btn-cta);
}
.pricing__price-num {
  font-size: 4.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--btn-cta);
  font-variant-numeric: tabular-nums;
  line-height: 0.95;
}
.pricing__price-unit {
  font-size: 1.5rem;
  color: var(--btn-cta);
  align-self: baseline;
  padding-bottom: 0;
}
.pricing__price-unit small {
  display: inline;
  margin-left: 0.15em;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--btn-cta);
}
.pricing__note {
  margin: 1rem 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.pricing__note .strike { text-decoration: line-through; color: #ef4444; }
.pricing__info {
  margin: 1.5rem 0;
  font-size: 1rem;
  line-height: 1.8;
}
.pricing__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
  list-style: none;
  padding: 0;
}
.pricing__trust li {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.pricing__trust li::before { content: "✓ "; color: var(--accent); font-weight: 700; }

/* FAQ */
.faq { max-width: 48rem; margin: 0 auto; }
.faq__item {
  border-bottom: 1px solid rgba(13,52,128,0.12);
}
.faq__question {
  width: 100%;
  padding: 1.25rem 2.5rem 1.25rem 0;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  position: relative;
  font-family: inherit;
  line-height: 1.5;
}
.faq__question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 0.3s;
}
.faq__item.is-open .faq__question::after {
  content: "−";
}
.faq__answer {
  display: none;
  padding: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
}
.faq__item.is-open .faq__answer { display: block; }

/* Footer */
.footer {
  padding: 4rem 0;
  background: var(--bg-light);
  text-align: center;
}
.footer__catch {
  margin-bottom: 2rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}
.footer__logo {
  margin-bottom: 1.5rem;
}
.footer__logo img {
  width: 12rem;
  height: auto;
  margin: 0 auto;
}
.footer__links {
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}
.footer__links a { color: var(--primary); margin: 0 0.5rem; }
.footer__copy {
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.footer__operator {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* To top */
.toheader {
  position: fixed;
  bottom: 2.5rem;
  right: 2rem;
  z-index: 90;
  display: none;
}
.toheader a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.toheader a:hover { opacity: 0.8; color: #fff; }

/* Responsive
   PC: default
   Tablet: ≤1200 header / ≤1100 layout / ≤1024 detail
   SP: ≤768
*/
@media only screen and (max-width: 1200px) {
  .header__menu-btn { display: flex; }
  .header__nav {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    right: 0;
    margin: 0;
    padding: 0.75rem 1rem 1rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(13, 52, 128, 0.1);
    border-radius: 1rem;
    box-shadow: 0 12px 32px rgba(13, 52, 128, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.4rem);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 120;
  }
  .header__nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .header__nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .header__nav .nav-link {
    display: block;
    padding: 0.9rem 0.35rem;
    border-bottom: 1px solid rgba(13, 52, 128, 0.1);
    font-size: 0.9375rem;
    white-space: normal;
  }
  .header__nav .btn {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: none;
    margin-top: 0.85rem;
    white-space: normal;
    text-align: center;
  }
  .header.is-scrolled .header__nav {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
}

@media only screen and (max-width: 1400px) and (min-width: 769px) {
  html, body { font-size: clamp(14px, 1.15vw, 16px); }
}

/* Tablet layout */
@media only screen and (max-width: 1100px) {
  .container { padding: 0 1.5rem; }
  .sp { display: block; }
  .pc { display: none; }
  br.pc { display: none; }

  .section__title {
    font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  }
  .hero__lead h1 {
    font-size: clamp(1.65rem, 3.8vw, 2.6rem);
  }
  .hero__lead p {
    font-size: clamp(1rem, 2.2vw, 1.35rem);
  }
  .hero__content {
    flex-direction: column;
    gap: 2rem;
  }
  .hero__visual {
    order: 1;
    flex: none;
    width: 100%;
    max-width: 28rem;
    margin: 0 auto;
  }
  .hero__cv {
    order: 2;
    flex: none;
    width: 100%;
  }
  .hero__countdown-unit {
    min-width: 0;
    flex: 1 1 0;
  }
  .btn--large {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(0.95rem, 2.1vw, 1.35rem);
    padding: 0.7em 1.2em;
    box-sizing: border-box;
    white-space: nowrap;
  }

  .nayami__list li:nth-last-child(-n + 2) {
    padding-right: 0;
  }
  .nayami__illust {
    position: static;
    width: 8.5rem;
    margin: 1.5rem auto 0;
  }
  .nayami__closing-line {
    display: block;
    white-space: nowrap;
  }

  .functionnav__cards {
    grid-template-columns: 1fr;
    max-width: 28rem;
    gap: 1.15rem;
  }
  .functionnav__card dt { font-size: 1.5rem; }

  .voice,
  .section.voice {
    overflow-x: clip;
  }
  .voice__panels { padding: 0; }
  .voice__panel,
  .voice__panel:nth-child(odd),
  .voice__panel:nth-child(even) {
    flex-direction: column;
    margin-left: 0;
    margin-right: 0;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
  }
  .voice__figure { flex: none; width: 100%; }
  .voice__avatar {
    width: min(12rem, 42vw);
    height: auto;
    aspect-ratio: 1;
  }
  .voice__content {
    width: 100%;
    text-align: left;
  }
  .voice__before-after {
    font-size: 0.875rem;
    line-height: 1.65;
  }
  .voice-gallery__track {
    animation-duration: 28s;
  }
  .reveal-left { transform: translateX(-2rem); }
  .reveal-right { transform: translateX(2rem); }
  .reveal-left.is-visible,
  .reveal-right.is-visible {
    transform: translate(0, 0);
  }

  .wait__survey,
  .wait__guide {
    padding: 1.5rem 1.25rem;
  }
  .wait__hero h1 {
    font-size: 1.5rem;
  }
}

@media only screen and (max-width: 1024px) {
  .function__ttl {
    flex-direction: column;
    align-items: center;
    margin-left: 1rem;
    margin-right: 1rem;
    text-align: center;
  }
  .function__ttl-fig {
    flex: none;
    width: 100%;
    max-width: 22rem;
    margin: 0 auto 1.5rem;
  }
  .function__ttl-text {
    flex: none;
    width: 100%;
    max-width: 36rem;
  }
  .function__ttl-text dt { justify-content: center; }
  .function__ttl-text dd { text-align: center; }
  .function__ba-card {
    min-height: 11rem;
  }
  .function__ba {
    padding: 1.5rem 1rem 1.25rem;
  }
  .function__ba-icon {
    max-width: 9.5rem;
  }
  .function__ba-card:nth-child(1) .function__ba--after .function__ba-icon {
    transform: scale(1.09);
  }
  .function__ba-card:nth-child(2) .function__ba--after .function__ba-icon {
    transform: scale(1.06);
  }
  .function__ba-text {
    font-size: clamp(0.8rem, 1.6vw, 0.95rem);
    max-width: none;
  }
  .function__media-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .function__media-item .function__feature-img {
    max-height: none;
  }

  .function__learn {
    display: block;
    position: relative;
    padding: 2rem 1.5rem 1.25rem;
  }
  .function__learn-teacher {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 10rem;
    grid-column: auto;
  }
  .function__learn-lead {
    grid-column: auto;
  }
  .function__learn-tags {
    grid-column: auto;
    padding: 0 11rem 1rem 0;
    margin: 0;
  }

  .function__panel { padding: 2rem 1.5rem; }
  .function__panel-block {
    display: grid;
    grid-template-areas:
      "title"
      "image"
      "desc";
    align-items: stretch;
    gap: 1.25rem;
  }
  .function__panel-block:nth-child(even) {
    flex-direction: column;
  }
  .function__panel-block figure {
    grid-area: image;
    flex: none;
    width: 100%;
    max-width: 28rem;
    margin: 0 auto;
  }
  .function__panel-block dl {
    display: contents;
  }
  .function__panel-block dt {
    grid-area: title;
    margin-bottom: 0;
  }
  .function__panel-block dd {
    grid-area: desc;
  }

  .profile__inner {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .profile__photo {
    flex: none;
    width: min(16rem, 55%);
  }
  .profile__info h4 { text-align: center; }
  .profile__message {
    width: 100%;
    padding: 1.5rem 1.5rem;
  }

  .fit__compare { max-width: 90%; }

  .function__schedule {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .pricing__box { padding: 2rem 1.5rem; }
  .pricing__price-label { font-size: 1.25rem; }
  .pricing__price-num { font-size: clamp(2.75rem, 8vw, 3.75rem); }
  .pricing__price-unit { font-size: 1.25rem; }
  .pricing__trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

@media only screen and (max-width: 768px) {
  html, body { font-size: 4.5vw; overflow-x: hidden; }
  .sp { display: block; }
  .pc { display: none; }
  .container { padding: 0 5vw; }

  /* Header */
  .header { padding: 3vw 0; }
  .header__logo img {
    height: auto;
    width: 32vw;
    max-width: 9rem;
  }
  .header__menu-btn {
    width: 11vw;
    height: 11vw;
    max-width: 2.75rem;
    max-height: 2.75rem;
    border-radius: 2vw;
  }
  .header__nav {
    top: calc(100% + 2vw);
    padding: 3vw 4vw 4vw;
    border-radius: 3vw;
  }
  .header__nav .nav-link {
    font-size: 3.8vw;
    padding: 3.5vw 1vw;
  }
  .header__nav .btn {
    font-size: 3.5vw;
    padding: 0.85em 1em;
    max-width: none;
    line-height: 1.4;
  }

  /* Hero */
  .hero { padding: 8vw 0 10vw; }
  .hero__lead { margin-bottom: 6vw; }
  .hero__lead p {
    font-size: clamp(0.7rem, 3.4vw, 1.15rem);
    margin-bottom: 3vw;
    letter-spacing: -0.02em;
    white-space: normal;
    padding: 0 1vw;
  }
  .hero__lead h1 {
    font-size: clamp(1.05rem, 5.1vw, 1.55rem);
    line-height: 1.45;
    letter-spacing: 0.02em;
  }
  .hero__title-line {
    display: block;
    white-space: nowrap;
  }
  .hero__content {
    flex-direction: column;
    gap: 6vw;
  }
  .hero__visual {
    order: 1;
    flex: none;
    width: 100%;
    margin-bottom: 0;
  }
  .hero__visual img {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }
  .hero__cv {
    order: 2;
    flex: none;
    width: 100%;
  }
  .hero__subcopy {
    font-size: 3.8vw;
    margin-bottom: 5vw;
    line-height: 1.7;
  }
  .hero__deadline {
    margin: 2vw 0 5vw;
    gap: 3vw;
  }
  .hero__deadline-label {
    font-size: 4.8vw;
    letter-spacing: 0.06em;
  }
  .hero__countdown {
    gap: 0;
    width: 100%;
    max-width: 100%;
    padding: 0;
    box-sizing: border-box;
  }
  .hero__countdown-unit {
    flex: 1 1 0;
    min-width: 0;
    padding: 2.4vw 1vw 2vw;
    border-radius: 2vw;
  }
  .hero__countdown-num {
    font-size: 5.8vw;
    min-width: 0;
  }
  .hero__countdown-label-unit {
    font-size: 2vw;
    letter-spacing: 0.06em;
  }
  .hero__countdown-sep {
    font-size: 4vw;
    margin: 0 2.5% 3vw;
    padding: 0;
  }

  /* Buttons */
  .btn { font-size: 4vw; }
  .btn--large {
    display: block;
    width: fit-content;
    max-width: 100%;
    font-size: clamp(3.2vw, 3.6vw, 4vw);
    padding: 0.75em 1em;
    line-height: 1.35;
    white-space: nowrap;
  }
  .btn--block { max-width: 100%; }

  /* Section common */
  .section { padding: 12vw 0; }
  .section__title {
    font-size: 5.8vw;
    margin-bottom: 8vw;
    line-height: 1.45;
  }

  /* Nayami */
  .nayami__title {
    font-size: 5.5vw;
    line-height: 1.45;
    margin-bottom: 8vw;
  }
  .nayami__panel {
    padding: 6vw 5vw;
    margin-bottom: 10vw;
  }
  .nayami__list li {
    font-size: 3.8vw;
    gap: 2.5vw;
    padding: 3vw 0;
    line-height: 1.65;
  }
  .nayami__list li::before {
    flex: 0 0 5vw;
    width: 5vw;
    height: 5vw;
    margin-top: 0.35em;
    background: url("../image/worries.webp") no-repeat center / contain;
  }
  .nayami__list li:nth-last-child(-n + 2) {
    padding-right: 0;
  }
  .nayami__illust {
    position: static;
    right: auto;
    bottom: auto;
    width: 42vw;
    max-width: 10rem;
    margin: 5vw auto 0;
  }
  .nayami__closing {
    font-size: 4.2vw;
    line-height: 1.6;
    padding: 0 2vw;
  }
  .nayami__closing-line {
    display: block;
    white-space: nowrap;
  }

  /* About */
  .about__eyecatch {
    max-width: 100%;
    margin: 0 auto 8vw;
  }
  .about__body {
    font-size: 3.8vw;
    line-height: 1.75;
    text-align: left;
  }
  .about__badge {
    font-size: inherit;
    margin: 0;
    padding: 0 0.08em;
  }
  .about__body .about__badge {
    margin: 0;
  }
  .about__stats {
    flex-direction: column;
    align-items: center;
    gap: 4vw;
    margin: 8vw 0;
  }
  .about__stat {
    width: 100%;
    max-width: 80vw;
    min-width: 0;
    padding: 5vw;
  }
  .about__stat-num { font-size: 8vw; }
  .about__stat-label { font-size: 3.2vw; }

  /* Functionnav / 3つの理由 */
  .functionnav { padding: 12vw 0; }
  .functionnav .section__title { margin-bottom: 8vw; }
  .functionnav__cards {
    grid-template-columns: 1fr;
    gap: 4vw;
  }
  .functionnav__card {
    padding: 5vw 4vw 4.5vw;
  }
  .functionnav__card-num {
    font-size: 12vw;
    left: 3.5vw;
    top: 2.5vw;
  }
  .functionnav__card-icon { margin-bottom: 3vw; }
  .functionnav__card-icon img {
    width: 16vw;
    height: 16vw;
  }
  .functionnav__card dt {
    font-size: 5.5vw;
    text-align: center;
    padding-bottom: 2.5vw;
    margin-bottom: 2.5vw;
  }
  .functionnav__card dd {
    font-size: 3.6vw;
    line-height: 1.6;
    text-align: left;
  }

  /* Section divider */
  .section-divider { height: 10vw; }
  .section-divider__chevron {
    border-left-width: 3vw;
    border-right-width: 3vw;
    border-top-width: 3.5vw;
    bottom: 2vw;
  }
  .section-divider__chevron::after {
    border-left-width: 2.2vw;
    border-right-width: 2.2vw;
    border-top-width: 2.5vw;
    top: -4.5vw;
  }
  .section--has-top-arrow { padding-top: 10vw; }

  /* Voice */
  .voice__panels { padding: 0; }
  .voice__panel,
  .voice__panel:nth-child(odd),
  .voice__panel:nth-child(even) {
    flex-direction: column;
    margin: 0;
    align-items: center;
    padding: 5vw;
    gap: 2.5vw;
  }
  .voice__panel + .voice__panel { margin-top: 5vw; }
  .voice__figure { flex: none; margin-bottom: 0; }
  .voice__meta {
    font-size: 3.2vw;
    margin-top: 2vw;
  }
  .voice__content {
    text-align: left;
    width: 100%;
    padding-top: 0;
  }
  .voice__content dt {
    font-size: 4.2vw;
    line-height: 1.5;
    margin-bottom: 3vw;
    padding-bottom: 3vw;
  }
  .voice__content dd {
    font-size: 3.6vw;
    line-height: 1.7;
  }
  .voice__before-after {
    font-size: 3.2vw;
    line-height: 1.55;
  }
  .voice__stars { font-size: 3.5vw; margin-bottom: 2vw; }
  .voice__avatar {
    width: 64vw;
    height: 64vw;
    max-width: 18.75rem;
    max-height: 18.75rem;
  }

  /* CV */
  .cv { padding: 10vw 0; }
  .cv--mid {
    margin: 8vw 0 10vw;
    margin-left: calc(50% - 50vw);
    padding: 8vw 5vw;
  }
  .cv__text {
    font-size: 3.8vw;
    line-height: 1.7;
    margin-bottom: 5vw;
  }
  .cv--dark .section__title {
    font-size: 5.8vw;
    line-height: 1.45;
  }
  .cv p.cv__text--note {
    font-size: 3.2vw;
    margin-top: 4vw;
  }
  .cv .hero__deadline {
    margin-top: 5vw;
    gap: 3vw;
  }
  .cv .hero__deadline--on-dark .hero__deadline-label {
    font-size: 4.4vw;
  }
  .cv__trust {
    font-size: 3.2vw;
    margin-top: 3vw;
  }

  /* Function detail */
  .function { padding: 12vw 0; }
  .function__ttl {
    flex-direction: column;
    align-items: center;
    margin: 0 0 8vw;
    padding: 5vw 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
  }
  .function__ttl-fig {
    width: 100%;
    max-width: 75vw;
    margin: 0 auto 5vw;
  }
  .function__ttl-fig img { width: 100%; }
  .function__ttl-text {
    flex: none;
    width: 100%;
    padding: 0;
    text-align: left;
  }
  .function__ttl-text dt {
    justify-content: flex-start;
    font-size: 7vw;
    margin-bottom: 4vw;
  }
  .function__ttl-text dd {
    font-size: 3.6vw;
    line-height: 1.7;
    text-align: left;
  }
  .function__growth {
    gap: 4vw;
    margin-bottom: 8vw;
    padding: 0 2vw;
    max-width: none;
  }
  .function__growth-stories { gap: 3vw; }
  .function__ba-card {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    border-radius: 3vw;
  }
  .function__ba {
    padding: 5vw 4vw 4.5vw;
    gap: 2.5vw;
    grid-template-rows: 22vw minmax(3.2em, auto);
  }
  .function__ba-icon {
    width: 100%;
    max-width: 20vw;
    height: 22vw;
    max-height: none;
    margin: 0;
  }
  .function__ba-card:nth-child(1) .function__ba--after .function__ba-icon {
    max-width: 23vw;
    transform: scale(1.12);
  }
  .function__ba-card:nth-child(2) .function__ba--after .function__ba-icon {
    max-width: 22vw;
    transform: scale(1.08);
  }
  .function__ba-watermark {
    font-size: 8vw;
    top: 1.5vw;
    left: 2.5vw;
  }
  .function__ba--after .function__ba-watermark {
    right: 2.5vw;
  }
  .function__ba-text {
    font-size: 3.3vw;
    line-height: 1.45;
    max-width: none;
    min-height: 3.2em;
    white-space: normal;
  }
  .function__growth-closing {
    font-size: 3.6vw;
    line-height: 1.7;
    text-align: center;
  }
  .function__content { padding: 0 2vw; }
  .function__media-row {
    gap: 5vw;
    margin-bottom: 6vw;
  }
  .function__media-item .function__feature-img {
    border-radius: 2vw;
  }
  .function__feature-caption {
    font-size: 3.2vw;
    margin-top: 2vw;
  }
  .function__carousel {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 3vw;
    padding-bottom: 4vw;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin: 0 -5vw;
    padding-left: 5vw;
    padding-right: 5vw;
    scrollbar-width: none;
  }
  .function__carousel::-webkit-scrollbar { display: none; }
  .function__carousel .placeholder,
  .function__carousel-item {
    margin: 0;
    scroll-snap-align: center;
    flex: 0 0 72vw;
  }
  .function__grid {
    grid-template-columns: 1fr;
    gap: 3vw;
  }
  .function__grid-item { font-size: 3.5vw; padding: 4vw; }
  .function__learn {
    display: block;
    position: relative;
    padding: 6vw 4vw;
  }
  .function__learn-teacher {
    position: absolute;
    width: 38vw;
    max-width: none;
    right: 0;
    bottom: 0;
  }
  .function__learn-lead {
    font-size: 4.5vw;
    margin-bottom: 5vw;
  }
  .function__learn-tags {
    align-items: flex-start;
    gap: 3vw;
    margin: 0;
    padding: 0 36vw 2vw 2vw;
    max-width: none;
  }
  .function__learn-tags li {
    font-size: 4vw;
    padding: 0 0 0 6vw;
  }
  .function__learn-tags li::before {
    top: 0.5em;
    width: 2.8vw;
    height: 1.5vw;
    border-left-width: 0.6vw;
    border-bottom-width: 0.6vw;
  }
  .function__learn-tags li.function__learn-tags-etc {
    padding: 0;
  }
  .function__highlight {
    font-size: 4vw;
    line-height: 1.6;
    padding: 0 2vw;
  }
  .function__highlight small { font-size: 3vw; }
  .function__schedule { grid-template-columns: 1fr; gap: 4vw; }
  .function__schedule-group h4 { font-size: 3.8vw; }
  .function__schedule-group li { font-size: 3.5vw; }

  .function__benefit-title { margin-bottom: 8vw; }
  .function__benefit-bubble {
    font-size: 3.4vw;
    padding: 0.5em 1.2em 0.6em;
    margin-bottom: 4vw;
  }
  .function__benefit-main { font-size: 5.8vw; }
  .function__benefit-img { margin-bottom: 6vw; }
  .function__benefit-img img { max-width: 100%; }

  .function__panel {
    padding: 5vw;
    border-radius: 3vw;
  }
  .function__panel-block {
    display: grid;
    grid-template-areas:
      "title"
      "image"
      "desc";
    align-items: center;
    text-align: left;
    gap: 4vw;
  }
  .function__panel-block:nth-child(even) {
    flex-direction: column;
  }
  .function__panel-block + .function__panel-block { margin-top: 8vw; }
  .function__panel-block figure {
    grid-area: image;
    flex: none;
    width: 100%;
  }
  .function__panel-block dl {
    display: contents;
  }
  .function__panel-block dt {
    grid-area: title;
    margin-bottom: 0;
  }
  .function__panel-block dd {
    grid-area: desc;
  }
  .benefit-icon {
    width: 100%;
    max-width: none;
  }
  .function__panel-block .placeholder--card {
    width: 100%;
    max-width: 70vw;
    height: auto;
    aspect-ratio: 4 / 3;
    margin: 0 auto;
  }
  .function__panel-block dt {
    font-size: 4vw;
    line-height: 1.5;
    text-align: left;
    gap: 2vw;
  }
  .function__panel-block dd {
    font-size: 3.5vw;
    line-height: 1.65;
    text-align: left;
  }
  .function__panel-block .badge {
    font-size: 2.8vw;
    display: inline-block;
    margin: 0;
  }
  .placeholder--screen {
    flex: 0 0 80vw;
    width: 80vw;
    max-width: 80vw;
    height: auto;
    aspect-ratio: 380 / 240;
  }
  .placeholder--feature {
    width: 100%;
    max-width: 75vw;
    height: auto;
    aspect-ratio: 440 / 288;
  }

  /* Profile */
  .profile__inner {
    flex-direction: column;
    align-items: center;
    gap: 6vw;
  }
  .profile__photo { flex: none; width: 100%; }
  .profile__photo-img {
    max-width: 55vw;
    margin: 0 auto;
  }
  .profile__info { width: 100%; }
  .profile__info h4 {
    font-size: 5vw;
    text-align: center;
    margin-bottom: 4vw;
  }
  .profile__achievements li {
    font-size: 3.4vw;
    line-height: 1.6;
    padding-left: 4vw;
  }
  .profile__message {
    width: 100%;
    margin-top: 8vw;
    padding: 6vw 5vw;
    font-size: 3.6vw;
    line-height: 1.75;
  }
  .profile__message-line + .profile__message-line { margin-top: 4vw; }
  .profile__message-em { padding: 0.15em 0.4em; }

  /* Fit */
  .fit__compare {
    max-width: 100%;
    gap: 0;
  }
  .fit__card {
    width: 100%;
    padding: 6vw 5vw;
  }
  .fit__card-visual { margin-bottom: 5vw; }
  .fit__card-icon {
    width: 32vw;
    height: 32vw;
    font-size: 3.2vw;
  }
  .fit__card-list li {
    font-size: 3.5vw;
    padding: 3vw 0 3vw 6vw;
    line-height: 1.65;
  }
  .fit__card-list li::before {
    width: 4.5vw;
    height: 4.5vw;
    top: calc(3vw + 0.825em);
  }
  .fit__card--yes .fit__card-list li::after {
    left: 2.25vw;
    top: calc(3vw + 0.825em);
    width: 1.3vw;
    height: 2.3vw;
    transform: translate(-50%, -65%) rotate(45deg);
  }
  .fit__card-closing {
    font-size: 3.4vw;
    margin-top: 4vw;
    padding-top: 4vw;
    line-height: 1.65;
  }
  .fit__arrows {
    gap: 4vw;
    margin-top: 6vw;
  }
  .fit__arrow {
    width: 10vw;
    height: 13vw;
  }

  /* Pricing */
  .pricing__box { padding: 6vw 5vw; }
  .pricing__price {
    gap: 1vw;
  }
  .pricing__price-label { font-size: 4.5vw; }
  .pricing__price-num { font-size: 14vw; }
  .pricing__price-unit {
    font-size: 4.5vw;
  }
  .pricing__price-unit small { font-size: 3vw; }
  .pricing__note { font-size: 3.2vw; }
  .pricing__info { font-size: 3.5vw; }
  .pricing__trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 2vw;
  }
  .pricing__trust li { font-size: 3.2vw; }

  /* FAQ */
  .faq__question {
    font-size: 3.8vw;
    padding: 4vw 8vw 4vw 0;
    line-height: 1.55;
  }
  .faq__question::after { font-size: 5vw; }
  .faq__answer {
    font-size: 3.5vw;
    line-height: 1.7;
    padding-bottom: 4vw;
  }

  /* Footer */
  .footer { padding: 10vw 0; }
  .footer__catch { font-size: 4.5vw; line-height: 1.5; }
  .footer__logo { margin-bottom: 5vw; }
  .footer__logo img { width: 40vw; }
  .footer__links { font-size: 3.2vw; }
  .footer__copy,
  .footer__operator { font-size: 3vw; }

  .toheader { bottom: 5vw; right: 5vw; }
  .toheader a {
    width: 12vw;
    height: 12vw;
    font-size: 2.5vw;
  }
}

/* ========================================
   募集開始前・お待ちくださいページ
   ======================================== */
.wait-page {
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(37, 99, 235, 0.12), transparent 60%),
    linear-gradient(180deg, #f7f9ff 0%, #fff 40%, #f0f4ff 100%);
  min-height: 100vh;
}
.wait-page .header .container {
  justify-content: space-between;
}
.wait-back {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  padding: 0.4em 0.75em 0.4em 0.45em;
  color: var(--primary);
  background: #fff;
  border: 1.5px solid var(--primary);
  border-radius: 999px;
  box-shadow: 0 0.15em 0 #bfdbfe;
  font-weight: 700;
  font-size: 0.6875rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.3s, transform 0.15s;
}
.wait-back:hover {
  opacity: 0.85;
  color: var(--primary);
  text-decoration: none;
}
.wait-back:active {
  transform: translateY(1px);
  box-shadow: 0 0.05em 0 #bfdbfe;
}
.wait-back__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.25em;
  height: 1.25em;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--primary);
}
.wait-back__icon svg {
  display: block;
  width: 12px;
  height: 12px;
}
.wait-back__label {
  display: block;
}
.wait__inner {
  max-width: 42rem;
  padding: 3rem 0 5rem;
}
.wait__hero {
  text-align: center;
  margin-bottom: 2.5rem;
}
.wait__eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.25em 0.9em;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(37, 99, 235, 0.1);
  border-radius: 999px;
}
.wait__hero h1 {
  margin: 0 0 1rem;
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--primary);
}
.wait__lead {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
}
.wait__countdown {
  margin: 0 auto;
  max-width: 28rem;
}
.wait__period {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--text-muted);
  text-align: center;
}
.wait__period-label {
  display: inline-block;
  font-weight: 700;
}
.wait__period-dates {
  display: inline-block;
  white-space: nowrap;
}
.wait__survey,
.wait__guide {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 0.5rem 1.5rem rgba(13, 52, 128, 0.08);
  padding: 2rem 1.75rem;
  margin-bottom: clamp(1.75rem, 5vw, 2.75rem);
}
.wait__survey.is-done > h2,
.wait__survey.is-done > .wait__survey-lead {
  display: none;
}
.wait__survey.is-done {
  padding-top: 1.35rem;
  padding-bottom: 1.35rem;
}
.wait__survey h2,
.wait__guide h2 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  color: var(--primary);
  text-align: center;
}
.wait__survey-lead,
.wait__guide > p {
  margin: 0 0 1.5rem;
  text-align: center;
  line-height: 1.75;
  color: var(--text);
}
.wait__form {
  display: grid;
  gap: 1.75rem;
}
.wait__form[hidden] {
  display: none !important;
}
.wait__q {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.wait__q > legend {
  display: block;
  width: 100%;
  margin: 0 0 0.75rem;
  padding: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--primary);
}
.wait__q-num {
  margin-right: 0.35em;
  color: var(--accent);
}
.wait__choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}
.wait__choice {
  position: relative;
  display: block;
  cursor: pointer;
  margin: 0;
  min-width: 0;
}
.wait__choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}
.wait__choice span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  height: 100%;
  padding: 0.7rem 0.65rem;
  border: 2px solid rgba(13, 52, 128, 0.16);
  border-radius: 1rem;
  background: #fafbff;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  word-break: keep-all;
  line-break: strict;
  overflow-wrap: normal;
  text-wrap: balance;
  transition: border-color 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.wait__choice:hover span {
  border-color: rgba(37, 99, 235, 0.45);
  background: #fff;
}
.wait__choice input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}
.wait__choice input:checked + span {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 0.15em 0 var(--accent-dark);
}
.wait__q--text {
  display: grid;
  gap: 0.55rem;
}
.wait__q-label {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--primary);
}
.wait__text-input {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border: 2px solid rgba(13, 52, 128, 0.16);
  border-radius: 999px;
  background: #fafbff;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.wait__text-input:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.wait__field-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}
.wait__form .btn {
  margin-top: 0.25rem;
}
.wait__form .btn:disabled {
  opacity: 0.65;
  cursor: wait;
}
.wait__form-note,
.wait__guide-note {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;
}
.wait__form-error {
  margin: 0.5rem 0 0;
  padding: 0.75rem 1rem;
  border-radius: 0.65rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 0.9rem;
  text-align: center;
  line-height: 1.5;
}
.wait__thanks {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--green-bg);
  border: 1px solid var(--green-border);
  border-radius: 0.85rem;
  margin: 0;
}
.wait__thanks-title {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #047857;
  white-space: nowrap;
}
.wait__thanks p {
  margin: 0;
  line-height: 1.7;
}
.wait__actions {
  display: grid;
  gap: 0.85rem;
  justify-items: stretch;
}
.wait__actions .btn {
  text-align: center;
  width: 100%;
  max-width: none;
}
.btn--line {
  background: #06c755;
  box-shadow: 0 0.175em 0 #05a847;
}
.btn--x {
  background: #111;
  box-shadow: 0 0.175em 0 #000;
}
.wait__guide.is-highlight {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  animation: waitHighlight 1.2s ease;
}
@keyframes waitHighlight {
  0% { transform: scale(1); }
  40% { transform: scale(1.015); }
  100% { transform: scale(1); }
}
.wait__footer-link {
  text-align: center;
  margin: 2rem 0 0;
  font-size: 0.95rem;
}
.wait__footer-link a {
  color: var(--primary);
  font-weight: 500;
}

@media only screen and (max-width: 768px) {
  .wait-page .container {
    padding-left: 5vw;
    padding-right: 5vw;
  }
  .wait__inner { padding: 8vw 0 12vw; }
  .wait__hero h1 {
    font-size: 5.4vw;
    line-height: 1.45;
    word-break: keep-all;
    line-break: strict;
    overflow-wrap: normal;
  }
  .wait__lead { font-size: 3.8vw; }
  .wait__countdown {
    width: 100%;
    max-width: 100%;
    padding: 0;
    box-sizing: border-box;
  }
  .wait__countdown .hero__countdown {
    gap: 0;
    padding: 0;
  }
  .wait__countdown .hero__countdown-unit {
    padding: 2.6vw 1.2vw 2.2vw;
  }
  .wait__countdown .hero__countdown-sep {
    margin: 0 2.5% 3.2vw;
    padding: 0;
  }
  .wait__period {
    font-size: 3.2vw;
    line-height: 1.7;
    padding: 0 1vw;
  }
  .wait__period-dates {
    font-size: 2.9vw;
    letter-spacing: -0.03em;
    white-space: normal;
  }
  .wait__survey,
  .wait__guide {
    padding: 6vw 4.5vw;
    margin-bottom: 5vw;
  }
  .wait__thanks {
    padding: 4.5vw 3vw;
  }
  .wait__thanks-title {
    font-size: 4.2vw;
    white-space: nowrap;
  }
  .wait__survey h2,
  .wait__guide h2 { font-size: 5.2vw; }
  .wait__q > legend,
  .wait__q-label { font-size: 4vw; }
  .wait__choices { gap: 2vw; }
  .wait__choice span {
    min-height: 16vw;
    font-size: 3.1vw;
    padding: 2.4vw 1.8vw;
    border-radius: 3vw;
  }
  .wait__text-input {
    border-radius: 3vw;
    font-size: 3.8vw;
    padding: 3.2vw 4vw;
  }
  .wait__actions .btn { font-size: 4vw; padding: 0.7em 1.2em; }
}

@media (max-width: 1460px) and (min-width: 1201px) {
  .voice__panel:nth-child(odd) {
    margin-right: 5rem;
  }
  .voice__panel:nth-child(even) {
    margin-left: 5rem;
  }
  .voice__content dt {
    font-size: 1.25rem;
    letter-spacing: 0.02em;
  }
  .voice__content dd {
    font-size: 1rem;
    line-height: 1.75;
  }
}

/* 募集中CTA（ボタン内マイクロコピー） */
.apply-microcopy[hidden] {
  display: none;
}

/* 8期応募ページ */
.application__hero {
  margin-bottom: 2rem;
}
.application__form-card {
  max-width: 42rem;
  margin-right: auto;
  margin-left: auto;
}
.application__form {
  gap: 1.5rem;
}
.application__textarea {
  min-height: 7rem;
  resize: vertical;
  font-family: inherit;
  line-height: 1.7;
  text-align: left;
  border-radius: 0.85rem;
}
.application__form .wait__text-input:not(textarea):not(select) {
  text-align: left;
}
.application__select {
  appearance: none;
  -webkit-appearance: none;
  text-align: left;
  text-align-last: left;
  cursor: pointer;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--primary) 50%),
    linear-gradient(135deg, var(--primary) 50%, transparent 50%);
  background-position:
    calc(100% - 1.35rem) calc(50% - 0.18rem),
    calc(100% - 0.95rem) calc(50% - 0.18rem);
  background-size: 0.4rem 0.4rem, 0.4rem 0.4rem;
  background-repeat: no-repeat;
  padding-right: 2.4rem;
}
.application__x-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: stretch;
}
.application__x-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  padding: 0 1.1rem;
  border: 2px solid rgba(13, 52, 128, 0.18);
  border-radius: 999px;
  background: #f0f7ff;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s, background 0.2s, border-color 0.2s;
}
.application__x-icon {
  width: 1.15em;
  height: 1.15em;
  border-radius: 0.28em;
  object-fit: cover;
  flex-shrink: 0;
}
.application__x-open:hover {
  opacity: 0.9;
  background: #e8f2ff;
  border-color: rgba(59, 130, 246, 0.45);
}
.application__form .wait__field-hint {
  margin: 0;
  text-align: left;
  line-height: 1.65;
}
.application__consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: -0.25rem 0 0;
  padding: 0.85rem 1rem;
  color: var(--text);
  background: #f8fafc;
  border: 1px solid rgba(13, 52, 128, 0.12);
  border-radius: 0.85rem;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.65;
  text-align: left;
  cursor: pointer;
}
.application__consent input {
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  accent-color: var(--primary);
  cursor: pointer;
}
.application__consent-note {
  display: block;
  margin-top: 0.35rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 400;
}
.application__consent a,
.application__consent-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.application__consent a:hover,
.application__consent-link:hover {
  opacity: 0.8;
}

/* プライバシーポリシー等 */
.legal {
  max-width: 42rem;
  margin: 0 auto 3rem;
  padding: 2rem 1.5rem 2.5rem;
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 0.75rem 2rem rgba(13, 52, 128, 0.08);
}
.legal h1 {
  margin: 0.35rem 0 1rem;
  color: var(--primary);
  font-size: clamp(1.5rem, 4vw, 2rem);
  text-align: center;
  line-height: 1.4;
}
.legal__lead {
  margin: 0 0 0.75rem;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.8;
}
.legal__updated {
  margin: 0 0 1.75rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: right;
}
.legal__section {
  margin: 0 0 1.5rem;
}
.legal__section h2 {
  margin: 0 0 0.65rem;
  color: var(--primary);
  font-size: 1.05rem;
  line-height: 1.5;
}
.legal__section p,
.legal__section li {
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.8;
}
.legal__section p {
  margin: 0 0 0.75rem;
}
.legal__section ul {
  margin: 0 0 0.75rem;
  padding-left: 1.25rem;
}
.legal__section li + li {
  margin-top: 0.35rem;
}
.legal__actions {
  margin: 2rem 0 0;
  text-align: center;
}
.footer__legal {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.85rem;
}
.footer__legal a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  opacity: 0.85;
}
.footer__legal a:hover {
  opacity: 1;
}
.application__status {
  margin: 0 0 1.5rem;
  padding: 0.9rem 1rem;
  color: #9a3412;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: clamp(0.72rem, 3.2vw, 0.95rem);
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
}
.application__thanks {
  padding: 1rem 0;
  text-align: center;
}
.application__thanks .btn {
  margin-top: 1rem;
  font-size: 1rem;
}
.application__welcome {
  display: inline-block;
  margin-left: 0.45em;
  padding: 0.15em 0.55em;
  color: #c2410c;
  background: #fff7ed;
  border: 1px solid #fdba74;
  border-radius: 999px;
  font-size: 0.72em;
  font-weight: 700;
  letter-spacing: 0.02em;
  vertical-align: middle;
  white-space: nowrap;
  flex-shrink: 0;
}
.wait__q-label {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.35rem 0.15rem;
}

body.is-preview-open {
  overflow: hidden;
}
.application-preview {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.48);
}
.application-preview[hidden] {
  display: none;
}
.application-preview__dialog {
  display: flex;
  flex-direction: column;
  width: min(100%, 36rem);
  max-height: min(90vh, 44rem);
  overflow: hidden;
  background: #fff;
  border-radius: 1.1rem;
  box-shadow: 0 1.25rem 3rem rgba(15, 23, 42, 0.22);
}
.application-preview__top {
  position: relative;
  flex-shrink: 0;
  padding: 1rem 1.1rem 0.85rem;
  border-bottom: 1px solid rgba(13, 52, 128, 0.1);
}
.application-preview__back {
  position: absolute;
  top: 0.95rem;
  left: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.2em;
  padding: 0.35em 0.65em;
  color: var(--primary);
  background: #f0f7ff;
  border: 1px solid rgba(59, 130, 246, 0.28);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}
.application-preview__back:hover {
  opacity: 0.85;
}
.application-preview__top h2 {
  margin: 0;
  padding: 0.15rem 0 0;
  color: var(--primary);
  font-size: 1.1rem;
  text-align: center;
}
.application-preview__body {
  flex: 1 1 auto;
  overflow: auto;
  padding: 1rem 1.15rem 0.5rem;
  -webkit-overflow-scrolling: touch;
}
.application-preview__list {
  display: grid;
  gap: 1rem;
  margin: 0;
}
.application-preview__list > div {
  padding-bottom: 0.9rem;
  border-bottom: 1px dashed rgba(13, 52, 128, 0.12);
}
.application-preview__list > div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.application-preview__list dt {
  margin: 0 0 0.35rem;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
}
.application-preview__list dd {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
}
.application-preview__actions {
  flex-shrink: 0;
  padding: 0.85rem 1.15rem 1.15rem;
  border-top: 1px solid rgba(13, 52, 128, 0.1);
}
.application-preview__actions .btn {
  width: 100%;
}

@media (max-width: 767px) {
  .btn--large.js-apply-cta {
    gap: 0.25em;
    padding-top: 0.7em;
    padding-bottom: 0.75em;
  }
  .btn .apply-microcopy,
  .btn__microcopy {
    font-size: 2.85vw;
  }
  .application__form {
    gap: 6vw;
  }
  .application__textarea {
    min-height: 30vw;
    font-size: 3.8vw;
  }
  .application__consent {
    font-size: 3.3vw;
    padding: 3.2vw 3.5vw;
    border-radius: 3vw;
    gap: 2.5vw;
  }
  .application__consent input {
    width: 4.2vw;
    height: 4.2vw;
  }
  .application__consent-note {
    font-size: 3vw;
  }
  .legal {
    padding: 6vw 5vw 8vw;
    border-radius: 4vw;
  }
  .legal__section h2 {
    font-size: 4vw;
  }
  .legal__section p,
  .legal__section li {
    font-size: 3.5vw;
  }
  .application__status {
    margin-bottom: 5vw;
    padding: 3vw 2.5vw;
    border-radius: 3vw;
    font-size: 3.2vw;
  }
  .application__welcome {
    font-size: 3vw;
    margin-left: 0.2em;
  }
  .application__x-row {
    grid-template-columns: 1fr;
    gap: 2.5vw;
  }
  .application__x-open {
    min-height: 11vw;
    font-size: 3.6vw;
  }
  .application__select {
    padding-right: 10vw;
    background-position:
      calc(100% - 5.2vw) calc(50% - 0.6vw),
      calc(100% - 3.6vw) calc(50% - 0.6vw);
    background-size: 1.6vw 1.6vw, 1.6vw 1.6vw;
  }
  .application-preview {
    padding: 3vw;
    align-items: flex-end;
  }
  .application-preview__dialog {
    width: 100%;
    max-height: 88vh;
    border-radius: 4vw 4vw 0 0;
  }
  .application-preview__top h2 {
    font-size: 4.2vw;
  }
  .application-preview__back {
    font-size: 3.2vw;
  }
  .application-preview__list dt {
    font-size: 3.4vw;
  }
  .application-preview__list dd {
    font-size: 3.8vw;
  }
}
