@font-face {
  font-family: "Zen Kaku Gothic New";
  src: url("./fonts/ZenKakuGothicNew-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Zen Kaku Gothic New";
  src: url("./fonts/ZenKakuGothicNew-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Zen Kaku Gothic New";
  src: url("./fonts/ZenKakuGothicNew-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Zen Kaku Gothic New";
  src: url("./fonts/ZenKakuGothicNew-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #3495cf;
  --sky: #7ad7f6;
  --pink: #fca0a0;
  --navy: #085585;
  --ink: #454a4d;
  --muted: #747e85;
  --line: #d8e6ec;
  --pale-blue: #eaf4ff;
  --soft: #f5f5f5;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(8, 85, 133, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: "Zen Kaku Gothic New", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header,
.entry-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 48px));
  height: 84px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--navy);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--blue);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  place-items: center;
  font-size: 23px;
  font-weight: 900;
  box-shadow: inset -9px 0 0 var(--sky);
}

.header-entry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  color: var(--white);
  background: var(--navy);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(8, 85, 133, 0.2);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.header-entry:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(8, 85, 133, 0.26);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  gap: 54px;
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  min-height: 650px;
  margin: 0 auto;
  padding: 48px 0 84px;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: -84px;
  left: calc(50% - 50vw);
  width: 100vw;
  height: calc(100% + 84px);
  background:
    radial-gradient(circle at 73% 38%, rgba(122, 215, 246, 0.24), transparent 34%),
    linear-gradient(145deg, #ffffff 0%, #ffffff 53%, #eaf4ff 53%, #f4fbff 100%);
  content: "";
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(44px, 5.3vw, 78px);
  line-height: 1.16;
  letter-spacing: -0.04em;
}

.hero h1 strong {
  position: relative;
  display: inline-block;
  margin-right: 4px;
  color: var(--blue);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 1.2em;
  line-height: 0.9;
}

.hero h1 strong::after {
  position: absolute;
  right: -2px;
  bottom: -4px;
  left: 2px;
  height: 8px;
  background: var(--pink);
  border-radius: 999px;
  content: "";
  opacity: 0.82;
}

.hero-subtitle {
  margin: 22px 0 0;
  color: var(--blue);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.hero-description {
  margin: 22px 0 30px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.9;
}

.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 350px);
  min-height: 68px;
  padding: 0 24px 0 30px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--navy));
  border-radius: 14px;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(8, 85, 133, 0.25);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.primary-cta span {
  display: grid;
  width: 34px;
  height: 34px;
  color: var(--navy);
  background: var(--white);
  border-radius: 50%;
  place-items: center;
}

.primary-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(8, 85, 133, 0.32);
}

.cta-note {
  width: min(100%, 350px);
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.hero-visual {
  position: relative;
  min-height: 470px;
}

.hero-ring {
  position: absolute;
  border: 1px solid rgba(52, 149, 207, 0.18);
  border-radius: 50%;
}

.hero-ring-large {
  top: 14px;
  right: 3%;
  width: 430px;
  height: 430px;
}

.hero-ring-small {
  top: 70px;
  right: 60px;
  width: 320px;
  height: 320px;
  border-width: 48px;
  border-color: rgba(122, 215, 246, 0.16);
}

.hero-symbol-wrap {
  position: absolute;
  top: 105px;
  right: 94px;
  display: grid;
  width: 252px;
  height: 252px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  place-items: center;
}

.hero-symbol-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: hero-spin 20s linear infinite;
}

.floating-card {
  position: absolute;
  min-width: 170px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(216, 230, 236, 0.86);
  border-radius: 14px;
  box-shadow: 0 16px 38px rgba(8, 85, 133, 0.13);
  backdrop-filter: blur(12px);
}

.floating-card span {
  display: block;
  margin-bottom: 4px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.floating-card strong {
  color: var(--navy);
  font-size: 14px;
}

.floating-card-top {
  top: 54px;
  left: 0;
}

.floating-card-bottom {
  right: 0;
  bottom: 54px;
}

@keyframes hero-spin {
  to {
    transform: rotate(360deg);
  }
}

.logo-belt {
  overflow: hidden;
  padding: 28px 0 24px;
  color: var(--white);
  background: var(--navy);
  text-align: center;
}

.logo-belt > p {
  margin: 0 0 20px;
  color: var(--sky);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.logo-marquee {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.logo-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.logo-track span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  height: 56px;
  margin-right: 18px;
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.logo-belt small {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.placeholder-section {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
  padding: 110px 0;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading h2,
.bottom-cta h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.4;
}

.section-heading > p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.value-card {
  min-height: 230px;
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(8, 85, 133, 0.06);
}

.value-card > span {
  color: var(--sky);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 38px;
  font-weight: 900;
}

.value-card h3 {
  margin: 20px 0 10px;
  color: var(--navy);
  font-size: 22px;
}

.value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.bottom-cta {
  position: relative;
  overflow: hidden;
  padding: 90px 24px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--navy));
  text-align: center;
}

.bottom-cta::before,
.bottom-cta::after {
  position: absolute;
  width: 320px;
  height: 320px;
  border: 64px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  content: "";
}

.bottom-cta::before {
  top: -190px;
  left: -100px;
}

.bottom-cta::after {
  right: -100px;
  bottom: -190px;
}

.bottom-cta > img {
  width: 54px;
  height: 54px;
  margin-bottom: 14px;
  border: 4px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
}

.bottom-cta > p {
  margin: 0 0 12px;
  color: var(--sky);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.bottom-cta h2 {
  position: relative;
  z-index: 1;
  color: var(--white);
}

.primary-cta-light {
  position: relative;
  z-index: 1;
  margin-top: 34px;
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
}

.primary-cta-light span {
  color: var(--white);
  background: var(--blue);
}

.bottom-cta > small {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
  padding: 42px 0;
}

.brand-footer {
  font-size: 16px;
}

.site-footer nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 12px;
}

.site-footer > small {
  grid-column: 1 / -1;
  color: #9e9e9e;
  font-size: 10px;
}

/* Entry form */
.entry-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 22%, rgba(122, 215, 246, 0.28), transparent 25%),
    radial-gradient(circle at 88% 76%, rgba(252, 160, 160, 0.14), transparent 22%),
    var(--pale-blue);
}

.entry-header {
  height: 76px;
}

.entry-back-link {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.entry-back-link:hover {
  color: var(--navy);
}

.entry-shell {
  width: min(760px, calc(100% - 32px));
  min-height: calc(100vh - 146px);
  margin: 0 auto;
  padding: 40px 0 72px;
}

.entry-intro {
  margin-bottom: 26px;
  text-align: center;
}

.entry-intro .eyebrow {
  margin-bottom: 8px;
}

.entry-intro h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 5vw, 42px);
}

.entry-intro > p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* ---- エントリーで受け取れるもの（離脱抑止） ---- */
.entry-benefits-block {
  margin: 0 0 22px;
  padding: 22px 24px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(8, 85, 133, 0.07);
}

.entry-benefits-title {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 17px;
  font-weight: 900;
  text-align: center;
}

.entry-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.entry-benefits li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  background: var(--pale-blue);
  border-radius: 16px;
  text-align: left;
}

.entry-benefits .benefit-figure {
  color: var(--navy);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.5;
}

.entry-benefits .benefit-text {
  color: var(--ink);
  font-size: 12px;
  line-height: 1.7;
}

.form-closing {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}

.form-reassure {
  margin: 0 0 22px;
  padding: 14px 16px;
  background: var(--pale-blue);
  border-radius: 14px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.7;
}

.form-reassure strong {
  color: var(--navy);
}

.form-card {
  padding: 38px 54px 30px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(216, 230, 236, 0.9);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.step-progress {
  max-width: 510px;
  margin: 0 auto 42px;
  padding: 30px 28px 0;
}

.progress-track {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4px;
  background: var(--line);
  border-radius: 999px;
}

.progress-line-filled {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--blue);
  border-radius: 999px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-dot {
  position: relative;
  z-index: 2;
  display: grid;
  width: 28px;
  height: 28px;
  color: var(--muted);
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 50%;
  place-items: center;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 11px;
  font-weight: 900;
  transition: all 0.3s ease;
}

.progress-dot.is-active {
  color: var(--blue);
  border-color: var(--blue);
}

.moving-grit-symbol {
  position: absolute;
  z-index: 4;
  top: 50%;
  width: 54px;
  height: 54px;
  padding: 3px;
  background: var(--white);
  border: 2px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 7px 18px rgba(8, 85, 133, 0.24);
  transition:
    left 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.moving-grit-symbol img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 25px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.progress-labels span {
  width: 80px;
  text-align: center;
}

.progress-labels span:first-child {
  transform: translateX(-28px);
}

.progress-labels span:last-child {
  transform: translateX(28px);
}

.form-copy {
  margin-bottom: 30px;
  text-align: center;
}

.form-copy > span {
  color: var(--blue);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.form-copy h2 {
  margin: 8px 0 9px;
  color: var(--navy);
  font-size: clamp(22px, 4vw, 28px);
  line-height: 1.45;
}

.form-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.form-step-panel {
  animation: panel-in 0.38s ease both;
}

.form-step-section[hidden],
.form-card[hidden],
.suggestion-list[hidden],
.field-error[hidden],
.back-button[hidden],
.next-button[hidden],
.form-actions[hidden] {
  display: none;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.field-group {
  position: relative;
  margin-bottom: 20px;
}

.field-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.field-group label span {
  padding: 2px 6px;
  color: var(--white);
  background: var(--pink);
  border-radius: 4px;
  font-size: 9px;
  font-weight: 900;
}

.field-group input {
  width: 100%;
  height: 58px;
  padding: 0 18px;
  color: var(--ink);
  background: #fbfdff;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  outline: none;
  font-size: 16px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.field-group input::placeholder {
  color: #aab5bb;
}

.field-group input:focus {
  background: var(--white);
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(52, 149, 207, 0.14);
}

.field-group input[aria-invalid="true"] {
  border-color: #e46868;
  box-shadow: 0 0 0 4px rgba(252, 160, 160, 0.18);
}

.field-help,
.field-error {
  margin: 7px 2px 0;
  font-size: 11px;
  line-height: 1.5;
}

.field-help {
  color: var(--muted);
}

.field-error {
  color: #c74545;
  font-weight: 700;
}

.combobox-wrap {
  position: relative;
}

.combobox-wrap input {
  padding-right: 48px;
}

.search-icon {
  position: absolute;
  top: 14px;
  right: 16px;
  color: var(--blue);
  font-size: 27px;
  pointer-events: none;
  transform: rotate(-20deg);
}

.suggestion-list {
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  overflow-y: auto;
  max-height: 278px;
  margin: 0;
  padding: 7px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 16px 38px rgba(8, 85, 133, 0.16);
  list-style: none;
}

.suggestion-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 12px;
  border-radius: 9px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

.suggestion-list li:hover,
.suggestion-list li.is-highlighted {
  color: var(--navy);
  background: var(--pale-blue);
}

.suggestion-list small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.contact-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
  animation: panel-in 0.38s ease both;
}

.consent-note {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 2px 0 6px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.consent-error {
  grid-column: 1 / -1;
  margin-top: -2px;
}

.consent-note input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--blue);
}

.consent-note a {
  color: var(--blue);
  text-decoration: underline;
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.next-button,
.back-button {
  min-height: 60px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 900;
}

.next-button {
  display: inline-flex;
  flex: 1;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 0 26px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--navy));
  box-shadow: 0 12px 28px rgba(8, 85, 133, 0.22);
  font-size: 16px;
  white-space: nowrap;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.next-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 34px rgba(8, 85, 133, 0.28);
}

.next-button.is-final {
  min-height: 70px;
  padding-left: 28px;
  background: linear-gradient(135deg, #ff8b7e, var(--pink));
  box-shadow:
    0 16px 34px rgba(252, 160, 160, 0.42),
    0 0 0 6px rgba(252, 160, 160, 0.13);
  font-size: 18px;
  animation: final-cta-pulse 2.2s ease-in-out infinite;
}

.next-button.is-final:hover {
  box-shadow:
    0 19px 40px rgba(252, 160, 160, 0.5),
    0 0 0 8px rgba(252, 160, 160, 0.16);
}

@keyframes final-cta-pulse {
  0%,
  100% {
    box-shadow:
      0 16px 34px rgba(252, 160, 160, 0.36),
      0 0 0 4px rgba(252, 160, 160, 0.1);
  }
  50% {
    box-shadow:
      0 19px 42px rgba(252, 160, 160, 0.5),
      0 0 0 9px rgba(252, 160, 160, 0.17);
  }
}

.next-button span {
  display: grid;
  width: 30px;
  height: 30px;
  color: var(--navy);
  background: var(--white);
  border-radius: 50%;
  place-items: center;
}

.next-button .button-label {
  display: block;
  width: auto;
  height: auto;
  color: inherit;
  background: transparent;
  border-radius: 0;
  white-space: nowrap;
}

.choice-field {
  margin-bottom: 0;
}

.field-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.field-label b {
  padding: 2px 6px;
  color: var(--white);
  background: var(--pink);
  border-radius: 4px;
  font-size: 9px;
}

.choice-grid {
  display: grid;
  gap: 12px;
}

.graduation-grid {
  grid-template-columns: repeat(3, 1fr);
}

.category-grid {
  grid-template-columns: repeat(2, 1fr);
}

.choice-button {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  padding: 12px 10px;
  color: var(--ink);
  background: #fbfdff;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.graduation-grid .choice-button {
  flex-direction: column;
  gap: 3px;
}

.choice-button small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.choice-button:hover,
.choice-button:focus-visible {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 4px rgba(52, 149, 207, 0.12);
}

.choice-button.is-selected {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--navy));
  border-color: var(--blue);
  box-shadow: 0 10px 24px rgba(8, 85, 133, 0.2);
  transform: translateY(-1px);
}

.choice-button.is-selected small {
  color: rgba(255, 255, 255, 0.76);
}

.school-search-status {
  margin: 8px 2px 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.school-search-status[data-state="found"],
.school-search-status[data-state="selected"] {
  color: var(--blue);
  font-weight: 900;
}

.school-search-status[data-state="empty"] {
  color: #a56d2c;
}

.email-only-field {
  max-width: 520px;
  margin-right: auto;
  margin-left: auto;
}

.name-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 520px;
  margin: 0 auto;
}

.line-ticket-cta {
  display: flex;
  width: 100%;
  min-height: 128px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  margin: 32px auto 0;
  padding: 22px;
  color: var(--white);
  background: #06c755;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(6, 199, 85, 0.24);
  text-align: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.line-ticket-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(6, 199, 85, 0.3);
}

.line-ticket-cta strong {
  font-size: 19px;
  line-height: 1.5;
}

.line-ticket-cta img {
  flex: 0 0 auto;
  height: 44px;
}

.summary-heading {
  margin: 34px 0 10px !important;
  color: var(--navy) !important;
  font-size: 13px !important;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.back-button {
  min-width: 108px;
  color: var(--muted);
  background: var(--soft);
  border: 1px solid #e8e8e8;
}

.form-security {
  margin-top: 18px;
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}

.form-security span {
  margin-right: 5px;
  color: var(--blue);
  font-size: 8px;
}

.entry-footer {
  display: flex;
  justify-content: space-between;
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 28px;
  color: var(--muted);
  font-size: 11px;
}

.complete-card {
  text-align: center;
}

.complete-symbol {
  width: 82px;
  height: 82px;
  margin: 0 auto 18px;
  padding: 5px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 10px 26px rgba(8, 85, 133, 0.18);
  animation: complete-pop 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
}

.complete-symbol img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

@keyframes complete-pop {
  from {
    opacity: 0;
    transform: scale(0.5) rotate(-90deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

.complete-card h2 {
  margin: 4px 0 12px;
  color: var(--navy);
  font-size: 28px;
}

.complete-card > p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.entry-summary {
  margin: 28px 0;
  padding: 6px 22px;
  background: var(--pale-blue);
  border-radius: 14px;
  text-align: left;
}

.entry-summary div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(8, 85, 133, 0.09);
}

.entry-summary div:last-child {
  border-bottom: 0;
}

.entry-summary dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.entry-summary dd {
  overflow-wrap: anywhere;
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.restart-button {
  width: 100%;
  justify-content: center;
}

.complete-home-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-bottom: 62px;
  }

  .hero-copy {
    max-width: 650px;
    padding-top: 24px;
  }

  .hero-visual {
    min-height: 400px;
  }

  .hero-ring-large {
    right: calc(50% - 210px);
  }

  .hero-ring-small {
    right: calc(50% - 160px);
  }

  .hero-symbol-wrap {
    right: calc(50% - 126px);
  }

  .floating-card-top {
    left: calc(50% - 260px);
  }

  .floating-card-bottom {
    right: calc(50% - 260px);
  }
}

@media (max-width: 700px) {
  .site-header,
  .entry-header {
    width: min(100% - 28px, 1180px);
    height: 68px;
  }

  .brand {
    gap: 8px;
    font-size: 16px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 19px;
  }

  .brand small {
    font-size: 7px;
  }

  .header-entry {
    min-height: 42px;
    padding: 0 15px;
    font-size: 12px;
  }

  .hero {
    width: min(100% - 36px, 1180px);
    gap: 20px;
    padding: 48px 0 44px;
  }

  .hero::before {
    top: -68px;
    height: calc(100% + 68px);
    background:
      radial-gradient(circle at 70% 48%, rgba(122, 215, 246, 0.24), transparent 32%),
      linear-gradient(155deg, #ffffff 0%, #ffffff 58%, #eaf4ff 58%, #f4fbff 100%);
  }

  .eyebrow {
    font-size: 11px;
  }

  .hero h1 {
    font-size: clamp(40px, 13.2vw, 58px);
  }

  .hero-subtitle {
    margin-top: 18px;
    font-size: 19px;
  }

  .hero-description {
    margin: 16px 0 26px;
    font-size: 13px;
  }

  .primary-cta {
    width: 100%;
    min-height: 62px;
    font-size: 16px;
  }

  .cta-note {
    width: 100%;
  }

  .hero-visual {
    min-height: 310px;
  }

  .hero-ring-large {
    top: 4px;
    right: calc(50% - 155px);
    width: 310px;
    height: 310px;
  }

  .hero-ring-small {
    top: 45px;
    right: calc(50% - 114px);
    width: 228px;
    height: 228px;
    border-width: 38px;
  }

  .hero-symbol-wrap {
    top: 70px;
    right: calc(50% - 89px);
    width: 178px;
    height: 178px;
    padding: 20px;
  }

  .floating-card {
    min-width: 137px;
    padding: 11px 13px;
  }

  .floating-card strong {
    font-size: 11px;
  }

  .floating-card-top {
    top: 16px;
    left: 0;
  }

  .floating-card-bottom {
    right: 0;
    bottom: 15px;
  }

  .logo-track span {
    min-width: 150px;
    height: 48px;
    font-size: 12px;
  }

  .placeholder-section {
    width: min(100% - 36px, 1100px);
    padding: 72px 0;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }

  .value-card {
    min-height: 0;
    padding: 28px;
  }

  .bottom-cta {
    padding: 72px 20px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    width: min(100% - 36px, 1100px);
  }

  .site-footer nav {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .entry-back-link {
    font-size: 11px;
  }

  .entry-shell {
    width: min(100% - 20px, 760px);
    padding: 24px 0 48px;
  }

  .entry-intro {
    margin-bottom: 18px;
  }

  .entry-intro > p:last-child {
    font-size: 12px;
  }

  .entry-benefits-block {
    margin-bottom: 18px;
    padding: 18px 16px 20px;
    border-radius: 16px;
  }

  .entry-benefits-title {
    margin-bottom: 12px;
    font-size: 15px;
  }

  .entry-benefits {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .entry-benefits li {
    gap: 4px;
    padding: 13px 14px;
  }

  .entry-benefits .benefit-figure {
    font-size: 14px;
  }

  .entry-benefits .benefit-text {
    font-size: 12px;
  }

  .form-reassure {
    margin-bottom: 18px;
    font-size: 12px;
  }

  .form-card {
    padding: 28px 18px 24px;
    border-radius: 19px;
  }

  .step-progress {
    margin-bottom: 34px;
    padding: 29px 22px 0;
  }

  .moving-grit-symbol {
    width: 50px;
    height: 50px;
  }

  .progress-labels {
    font-size: 9px;
  }

  .progress-labels span:first-child {
    transform: translateX(-22px);
  }

  .progress-labels span:last-child {
    transform: translateX(22px);
  }

  .form-copy {
    margin-bottom: 24px;
  }

  .form-copy h2 {
    font-size: 21px;
  }

  .form-copy p {
    font-size: 11px;
  }

  .field-group input {
    height: 56px;
    font-size: 16px;
  }

  .contact-fields {
    grid-template-columns: 1fr;
  }

  .form-actions {
    align-items: stretch;
  }

  .back-button {
    min-width: 82px;
  }

  .next-button {
    padding: 0 14px 0 18px;
    font-size: 14px;
  }

  .next-button.is-final {
    min-height: 68px;
    padding-left: 20px;
    font-size: 17px;
  }

  .form-actions {
    gap: 8px;
  }

  .graduation-grid {
    gap: 8px;
  }

  .graduation-grid .choice-button {
    min-height: 66px;
    padding: 10px 5px;
    font-size: 13px;
  }

  .category-grid {
    gap: 9px;
  }

  .category-grid .choice-button {
    min-height: 56px;
    font-size: 14px;
  }

  .name-fields {
    gap: 8px;
  }

  .name-fields .field-group input {
    padding: 0 12px;
  }

  .line-ticket-cta {
    min-height: 138px;
    justify-content: center;
    padding: 22px 16px;
    text-align: center;
  }

  .line-ticket-cta strong {
    font-size: 18px;
  }

  .line-ticket-cta img {
    height: 42px;
  }

  .entry-footer {
    width: min(100% - 28px, 760px);
  }

  .entry-summary {
    padding: 4px 14px;
  }

  .entry-summary div {
    grid-template-columns: 76px 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
