@charset "UTF-8";

@import url("https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@500;700;800;900&family=Mochiy+Pop+One&family=RocknRoll+One&family=Yusei+Magic&family=Zen+Maru+Gothic:wght@500;700;900&display=swap");

:root {
  --ag-ink: #111723;
  --ag-ink-soft: #4c5563;
  --ag-white: #ffffff;
  --ag-ice: #eef7ff;
  --ag-pale: #f5faff;
  --ag-navy: #121c2b;
  --ag-blue: #006de5;
  --ag-blue-deep: #004da8;
  --ag-green: #00a85d;
  --ag-green-deep: #00763e;
  --ag-mint: #9beed7;
  --ag-yellow: #ffe24b;
  --ag-yellow-soft: #fff3a6;
  --ag-line: #dce7ef;
  --ag-shadow: 0 18px 40px rgba(17, 28, 43, 0.12);
  --ag-font: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", Meiryo, system-ui, sans-serif;
  --ink: #05070b;
  --paper: #ffffff;
  --soft-paper: #fffdf2;
  --blue: #006de5;
  --blue-deep: #004da8;
  --blue-light: rgba(0, 77, 168, 0.5);
  --green: #00a85d;
  --green-deep: #00763e;
  --mint: #c8fff1;
  --mint-light: #ebfff8;
  --sky: #87edff;
  --yellow: #ffe24b;
  --yellow-soft: #fff4a6;
  --pink: #ff6fa5;
  --line: #0872dc;
  --shadow: 3px 4px 0 var(--blue-deep);
  --card-border: 1px solid var(--ink);
  --card-shadow: 3px 4px 0 var(--blue-light);
  --font-base: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", Meiryo, system-ui, sans-serif;
  --font-pop: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", Meiryo, system-ui, sans-serif;
  --font-display: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", Meiryo, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.ag-lp {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 9% 24%, transparent 0 78px, rgba(0, 109, 229, 0.18) 80px 102px, transparent 104px),
    radial-gradient(circle at 91% 47%, transparent 0 92px, rgba(155, 238, 215, 0.32) 94px 120px, transparent 122px),
    radial-gradient(circle at 14% 82%, transparent 0 86px, rgba(0, 109, 229, 0.2) 88px 114px, transparent 116px),
    var(--ag-white);
  color: var(--ag-ink);
  font-family: var(--ag-font);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0;
}

body:not(.ag-lp) {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: var(--font-base);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: 0;
}

body.modal-open {
  overflow: hidden;
}

section {
  position: relative;
}

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

button,
input,
select {
  font: inherit;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-family: var(--font-pop);
  font-weight: 500;
  line-height: 1.15;
}

.brand-logo {
  width: clamp(180px, 18vw, 300px);
  height: auto;
  max-height: 70px;
  object-fit: contain;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: var(--card-border);
  border-radius: 8px;
  background: var(--yellow);
  color: var(--blue);
  box-shadow: 3px 3px 0 var(--blue-light);
  font-size: 20px;
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text small {
  font-size: 13px;
}

.brand-text strong {
  color: var(--blue);
  font-size: 22px;
  text-shadow: 2px 2px 0 var(--paper);
}

.section-kicker,
.section-heading p,
.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  margin: 0;
  border-radius: 4px;
  font-weight: 900;
  line-height: 1.35;
  padding: 8px 16px;
  background: var(--ag-yellow-soft);
  color: var(--ag-green-deep);
  font-size: 13px;
  font-family: var(--font-pop);
  font-weight: 500;
  box-shadow: 1px 2px 1px var(--blue-light);
}

p.section-kicker {
  margin: 0 0 10px;
}

.button,
.line-follow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  min-height: 48px;
  border: var(--card-border);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: var(--card-shadow);
  color: var(--ink);
  font-family: var(--font-pop);
  font-weight: 500;
  cursor: pointer;
}

.button-primary,
.button-form {
  background: linear-gradient(180deg, #15d877 0%, var(--green) 62%, var(--green-deep) 100%);
  color: var(--paper);
}

.button-secondary {
  background: var(--yellow);
}

.button:hover,
.button:focus-visible,
.line-follow:hover,
.line-follow:focus-visible {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--blue-deep);
  transition: all 0.2s ease;
}

.lp-page .site-header .brand {
  display: inline-flex;
  justify-self: start;
  pointer-events: auto;
}

.hero-topline .sr-only {
  width: 1px;
  margin: -1px;
  transform: none;
}

.hero-topline .sr-only::after {
  display: none;
}

.form-preview {
  display: none;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.form-preview span {
  padding: 4px 12px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  background: var(--yellow-soft);
  box-shadow: 2px 2px 0 var(--blue-deep);
  font-weight: 500;
  font-size: 14px;
}

.ag-lp a {
  color: inherit;
  text-decoration: none;
}

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

.ag-container {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
}

.ag-header {
  display: none;
}

.ag-brand {
  display: inline-flex;
  width: 214px;
  align-items: center;
}

.ag-brand img,
.ag-footer__brand img {
  width: 100%;
  height: auto;
}

.ag-nav,
.ag-header-cta {
  display: none;
}

.ag-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  overflow: hidden;
  min-height: 92px;
  border-radius: 999px;
  padding: 0 56px;
  border: 0;
  font-weight: 900;
  line-height: 1.18;
  isolation: isolate;
  text-align: center;
  transition:
    transform 180ms ease,
    box-shadow 260ms ease;
}

.ag-button::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, #1686f2 0%, var(--ag-blue) 60%, var(--ag-blue-deep) 100%);
  content: "";
  opacity: 0;
  transition: opacity 260ms ease;
}

.ag-button:hover,
.ag-button:focus-visible {
  transform: translateY(-2px);
}

.ag-button:hover::before,
.ag-button:focus-visible::before {
  opacity: 1;
}

.ag-button--primary {
  width: min(720px, 100%);
  background: linear-gradient(180deg, #19dd80 0%, var(--ag-green) 60%, var(--ag-green-deep) 100%);
  box-shadow: 0 18px 32px rgba(0, 118, 62, 0.24);
  color: var(--ag-white) !important;
  font-size: 32px;
}

.ag-button--light {
  min-height: 72px;
  background: linear-gradient(180deg, #19dd80 0%, var(--ag-green) 60%, var(--ag-green-deep) 100%);
  box-shadow: 0 16px 28px rgba(0, 118, 62, 0.22);
  color: var(--ag-white) !important;
  font-size: 22px;
}

.ag-button--primary span,
.ag-button--light span {
  position: relative;
  z-index: 1;
  color: var(--ag-white) !important;
}

.ag-button--primary:hover,
.ag-button--primary:focus-visible,
.ag-button--light:hover,
.ag-button--light:focus-visible {
  box-shadow: 0 18px 32px rgba(0, 77, 168, 0.26);
  color: var(--ag-white) !important;
}

.ag-hero {
  position: relative;
  overflow: hidden;
  padding: 50px 0;
  background:
    linear-gradient(156deg, rgba(0, 109, 229, 0.18) 0 27%, transparent 27%),
    linear-gradient(18deg, transparent 0 70%, rgba(155, 238, 215, 0.22) 70% 100%),
    var(--ag-white);
}

.ag-hero::after {
  position: absolute;
  right: 6%;
  top: 40px;
  width: 126px;
  height: 126px;
  border: 30px solid rgba(0, 109, 229, 0.16);
  border-left-color: rgba(155, 238, 215, 0.26);
  border-radius: 50%;
  content: "";
}

.ag-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto 30px;
  padding-bottom: 100px;
  grid-template-columns: 2fr 3fr;
  gap: 10px;
  align-items: end;
}

.ag-hero__inner::before {
  position: absolute;
  right: min(calc((100vw - 1080px) / -2), -16px);
  bottom: 0;
  color: rgba(17, 28, 43, 0.055);
  content: "open the gate, discover your career";
  font-size: 76px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

.ag-hero__copy {
  display: grid;
  gap: 18px;
  padding-top: 34px;
}

.ag-eyebrow,
.ag-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  margin: 0;
  border-radius: 4px;
  font-weight: 900;
  line-height: 1.35;
  box-shadow: 1px 2px 1px var(--blue-light);
}

.ag-eyebrow {
  padding: 6px 12px;
  border: 2px solid var(--ag-ink);
  background: var(--ag-white);
  color: var(--ag-ink);
  font-size: 18px;
}

.ag-kicker {
  padding: 8px 16px;
  background: var(--ag-yellow-soft);
  color: var(--ag-green-deep);
  font-size: 13px;
}

.ag-kicker--light {
  background: rgba(255, 255, 255, 0.16);
  color: var(--ag-white);
}

.ag-hero h1,
.ag-section h2,
.ag-final-cta h2 {
  margin: 0;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.28;
}

.ag-hero h1 {
  font-size: 43px;
}

.ag-hero h1 span {
  background-image: linear-gradient(90deg, rgba(0, 109, 229, 0.18) 0%, rgba(155, 238, 215, 0.62) 100%);
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: 100% 30%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.ag-hero__logo {
  width: 310px;
  height: auto;
}

.ag-hero__lead {
  max-width: 560px;
  margin: 0;
  color: var(--ag-ink-soft);
  font-size: 18px;
  font-weight: 700;
}

.ag-hero__chips {
  display: none;
}

.ag-hero__media {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 3fr;
  align-items: end;
}

.ag-hero__media::before {
  position: absolute;
  inset: -5% 0%;
  width: auto;
  height: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(180deg, rgba(0, 109, 229, 0.1), rgba(145, 244, 211, 0.26));
  clip-path: polygon(30% 0, 100% 0, 70% 100%, 0% 100%);
  content: "";
}

.ag-hero__media img {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  clip-path: polygon(30% 0, 100% 0, 70% 100%, 0% 100%);
  box-shadow: 0 18px 36px rgba(17, 28, 43, 0.13);
}

.ag-hero__photo-main {
  right: -10%;
}

.ag-hero__photo-sub {
  left: -10%;
}

.ag-hero__badge {
  position: absolute;
  right: 24px;
  bottom: 10px;
  z-index: 2;
  display: grid;
  width: 168px;
  min-height: 116px;
  place-items: center;
  padding: 16px;
  border: 4px solid var(--ag-white);
  border-radius: 8px;
  background: var(--ag-blue);
  box-shadow: 0 16px 28px rgba(17, 28, 43, 0.2);
  color: var(--ag-white);
  text-align: center;
}

.ag-hero__badge strong {
  font-size: 42px;
  line-height: 1;
}

.ag-hero__badge span {
  font-size: 12px;
  font-weight: 900;
  line-height: 1.45;
}

.ag-stats {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(520px, 100%);
  margin: 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.ag-stats div {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  align-content: center;
  gap: 4px;
  min-width: 0;
  border: 2px solid var(--ag-blue-deep);
  border-bottom-color: var(--ag-green);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 10px rgba(0, 109, 229, 0.05);
  text-align: center;
}

.ag-stats dt {
  color: var(--ag-ink);
  font-size: 13px;
  font-weight: 900;
}

.ag-stats dd {
  display: flex;
  margin: 0;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  color: var(--ag-blue-deep);
  font-weight: 900;
  line-height: 1;
}

.ag-stats div:first-child .ag-stat-unit {
  margin-top: -1px;
  font-size: 13px;
  line-height: 1.15;
}

.ag-stat-main {
  font-size: 34px;
  letter-spacing: 0;
}

.ag-stat-unit {
  font-size: 16px;
}

.ag-hero__actions {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  gap: 12px;
  justify-items: center;
  text-align: center;
}

.ag-hero__actions p {
  margin: 0;
  color: var(--ag-ink-soft);
  font-size: 13px;
  font-weight: 700;
}

.ag-cta-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.ag-cta-sub a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border: 2px solid rgba(0, 109, 229, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ag-blue-deep);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
}

.ag-cta-sub a:first-child {
  border-color: rgba(0, 168, 93, 0.22);
  background: rgba(235, 255, 248, 0.95);
  color: var(--ag-green-deep);
}

.ag-section {
  position: relative;
  padding: 96px 0;
  overflow-x: hidden;
}

.ag-section > .ag-container,
.ag-final-cta .ag-container {
  position: relative;
  z-index: 1;
}

.ag-service-intro {
  overflow: hidden;
  padding-top: 42px;
  background: var(--ag-white);
}

.ag-service-intro::before,
.ag-section--white::before,
.ag-compare-section::before {
  position: absolute;
  z-index: 0;
  width: 210px;
  height: 210px;
  border: 32px solid rgba(0, 109, 229, 0.12);
  border-left-color: rgba(155, 238, 215, 0.24);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.ag-service-intro::before {
  left: -90px;
  top: 36px;
}

.ag-outline-box {
  display: grid;
  margin: 0 auto;
  gap: 18px;
  justify-items: center;
  padding: 48px 58px;
  border: 4px solid transparent;
  border-radius: 0;
  background:
    linear-gradient(var(--ag-white), var(--ag-white)) padding-box,
    linear-gradient(90deg, var(--ag-mint), var(--ag-blue)) border-box;
  text-align: center;
}

.ag-outline-box__logo {
  width: 300px;
}

.ag-outline-box h2 {
  font-size: 29px;
}

.ag-outline-box p:not(.ag-kicker) {
  margin: 0;
  color: var(--ag-ink);
  font-size: 18px;
  font-weight: 800;
}

.ag-outline-box span {
  text-decoration-line: underline;
  text-decoration-thickness: 0.33em;
  text-decoration-color: rgba(255, 226, 75, 0.3);
  text-underline-offset: -0.16em;
  text-decoration-skip-ink: none;
}

.ag-section--white {
  overflow: hidden;
  background: var(--ag-white);
}

.ag-section--white::before {
  right: -96px;
  bottom: 80px;
}

.ag-section--mint {
  background:
    linear-gradient(90deg, rgba(0, 109, 229, 0.055) 0 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(180deg, #f4fbff 0%, #eff9ff 100%);
}

.ag-worries {
  padding-top: 110px;
  background:
    linear-gradient(rgba(0, 109, 229, 0.4), rgba(155, 238, 215, 0.4)),
    url("./assets/images/lp-photo-consult.jpg?v=20260707-redesign") center / cover;
}

.ag-worries::before {
  position: absolute;
  z-index: 0;
  right: 8%;
  top: 54px;
  width: 148px;
  height: 148px;
  border: 26px solid rgba(255, 255, 255, 0.2);
  border-left-color: rgba(0, 109, 229, 0.18);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.ag-section--deep {
  overflow: hidden;
  background: var(--ag-navy);
  color: var(--ag-white);
}

.ag-section--deep::before {
  position: absolute;
  inset: 0 auto auto 0;
  width: 20%;
  height: 100%;
  background: linear-gradient(145deg, rgba(0, 109, 229, 0.36), transparent 62%);
  clip-path: polygon(0 0, 100% 0, 35% 100%, 0% 100%);
  content: "";
}

.ag-section--pale {
  background: #f4fbff;
}

.ag-split {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 54px;
  align-items: center;
}

.ag-split--reverse {
  grid-template-columns: 0.96fr 1.04fr;
}

.ag-section__copy {
  display: grid;
  gap: 18px;
}

.ag-section__copy h2,
.ag-section-heading h2 {
  font-size: 34px;
}

.ag-section-heading h2#worry-title {
  color: #fff;
}

.ag-section__copy > p:not(.ag-kicker),
.ag-section-heading p:not(.ag-kicker) {
  margin: 0;
  color: var(--ag-ink-soft);
  font-weight: 700;
}

.ag-section--deep .ag-section__copy > p:not(.ag-kicker) {
  color: rgba(255, 255, 255, 0.86);
}

.ag-photo-card {
  position: relative;
  z-index: 1;
}

.ag-photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0;
  box-shadow: var(--ag-shadow);
}

.ag-photo-card::after {
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 46%;
  height: 46%;
  border-right: 7px solid var(--ag-blue);
  border-bottom: 7px solid var(--ag-blue);
  content: "";
}

.ag-photo-card--dark::after {
  border-color: var(--ag-mint);
}

.ag-section-heading {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: 820px;
  gap: 12px;
  margin: 0 auto 42px;
  justify-items: center;
  text-align: center;
}

.ag-section-heading::before {
  position: absolute;
  z-index: -1;
  top: -50px;
  left: 50%;
  color: rgba(0, 109, 229, 0.05);
  content: "SUPPORT";
  font-size: 76px;
  font-weight: 900;
  line-height: 1;
  transform: translateX(-50%);
  white-space: nowrap;
}

.ag-worries .ag-section-heading::before {
  content: "WORRIES";
  color: rgba(255, 255, 255, 0.2);
}

section[aria-labelledby="problem-title"] .ag-section-heading::before {
  content: "ISSUES";
}

#strength .ag-section-heading::before {
  content: "STRENGTH";
}

.ag-compare-section .ag-section-heading::before {
  content: "COMPARE";
}

.ag-section-heading.ag-section__copy::before {
  content: "SUCCESS";
}

#flow .ag-section-heading::before {
  content: "FLOW";
}

.ag-worry-panel {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 0 auto;
  padding: 34px 38px 40px;
  border: 1px solid rgba(17, 28, 43, 0.16);
  border-radius: 8px;
  background: var(--ag-white);
  box-shadow: 0 18px 38px rgba(17, 28, 43, 0.12);
}

.ag-worry-panel::after {
  position: absolute;
  bottom: -33px;
  left: 50%;
  width: 72px;
  height: 34px;
  background: var(--ag-white);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  content: "";
  transform: translateX(-50%);
}

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

.ag-worry-illustrations figure {
  display: grid;
  grid-template-rows: 172px minmax(82px, auto);
  gap: 0;
  align-items: end;
  justify-items: center;
  margin: 0;
}

.ag-worry-illustrations img {
  width: 100%;
  height: 172px;
  object-fit: contain;
  object-position: center bottom;
}

.ag-worry-illustrations figcaption {
  display: grid;
  min-height: 82px;
  width: 100%;
  place-items: center;
  padding: 14px 16px;
  border-radius: 8px;
  background: #f3f8ff;
  color: var(--ag-ink);
  font-weight: 900;
  line-height: 1.55;
  text-align: center;
}

.ag-worry-panel__resolve {
  width: fit-content;
  padding: 5px 20px;
  margin: 34px auto 0;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(0, 109, 229, 0.12) 0%, rgba(155, 238, 215, 0.66) 100%);
  font-size: 29px;
  font-weight: 900;
  line-height: 1.45;
  text-align: center;
}

.ag-problem-grid,
.ag-strength-grid,
.ag-case-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.ag-problem-grid article,
.ag-strength-grid article,
.ag-case-grid article {
  border: 1px solid var(--ag-line);
  border-radius: 8px;
  background: var(--ag-white);
  box-shadow: 0 12px 26px rgba(17, 28, 43, 0.08);
}

.ag-problem-grid article {
  position: relative;
  display: grid;
  gap: 14px;
  height: max-content;
  padding: 30px;
  background: linear-gradient(180deg, rgba(0, 109, 229, 0.1), rgba(145, 244, 211, 0.26));
}

.ag-strength-grid article {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 30px;
  background: linear-gradient(180deg, rgba(0, 109, 229, 0.1), rgba(145, 244, 211, 0.26));
}

section[aria-labelledby="problem-title"]::before {
  right: -92px;
  bottom: 92px;
}

.ag-problem-grid article:nth-child(2) {
  margin-top: 42px;
}

.ag-problem-grid article:nth-child(3) {
  margin-top: 84px;
}

.ag-problem-grid span,
.ag-number {
  position: absolute;
  display: inline-flex;
  top: 0;
  left: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  border: 4px solid var(--ag-ice);
  border-radius: 50%;
  background: var(--ag-white);
  color: var(--ag-blue-deep);
  transform: translate(-50%, -50%);
}

.ag-problem-grid h3,
.ag-strength-grid h3,
.ag-case-grid h3,
.ag-flow h3,
.ag-industry-block h3 {
  margin: 0;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.45;
}

.ag-problem-grid p,
.ag-strength-grid p,
.ag-case-grid p,
.ag-flow p {
  margin: 0;
  color: var(--ag-ink-soft);
  font-weight: 700;
  font-size: 14px;
}

.ag-section--deep .ag-button {
  justify-self: start;
  margin-top: 8px;
}

.ag-strength-grid {
  max-width: 980px;
  margin: 0 auto;
}

.ag-strength-grid article {
  position: relative;
  box-shadow: none;
}

#strength::before {
  left: -96px;
  top: 144px;
  right: auto;
  bottom: auto;
}

.ag-industry-block {
  display: grid;
  max-width: 980px;
  margin: 46px auto 0;
  gap: 22px;
}

.ag-industry-block > div {
  display: grid;
  justify-items: center;
  text-align: center;
}

.ag-industry-block h3 {
  max-width: 620px;
  color: var(--ag-ink-soft);
  font-size: 18px;
  font-weight: 800;
}

.ag-industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.ag-industry-grid li {
  position: relative;
  display: grid;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  place-items: center;
  padding: 30px 10px;
  background: var(--ag-white);
  box-shadow: 0 12px 26px rgba(17, 28, 43, 0.08);
  text-align: center;
}

.ag-industry-grid span {
  position: absolute;
  top: 0;
  left: 0;
  color: rgba(0, 109, 229, 0.1);
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
}

.ag-industry-grid strong {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  font-size: 23px;
  font-weight: 900;
  text-align: center;
}

.ag-industry-grid em {
  position: absolute;
  right: -3px;
  bottom: -5px;
  left: 10px;
  color: rgba(0, 168, 93, 0.2);
  font-size: 24px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.05;
  overflow-wrap: anywhere;
  text-align: right;
  white-space: normal;
}

.ag-compare-section {
  padding-top: 120px;
  background: var(--ag-white);
}

.ag-compare-section::before {
  right: -78px;
  top: 140px;
}

#cases::before {
  right: -88px;
  bottom: 136px;
  top: auto;
}

#flow::before {
  right: auto;
  bottom: 60px;
  left: -82px;
  top: auto;
}

section[aria-labelledby="faq-title"]::before {
  right: -94px;
  bottom: auto;
  top: 84px;
}

.ag-compare-wrap {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  overflow-x: auto;
  border-radius: 8px;
  box-shadow: var(--ag-shadow);
}

.ag-compare {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: var(--ag-white);
}

.ag-compare__normal {
  width: 30%;
}

.ag-compare__ag {
  width: 70%;
}

.ag-compare th {
  padding: 20px;
  background: #a6aeb8;
  color: var(--ag-white);
  font-size: 20px;
  font-weight: 900;
  text-align: center;
}

.ag-compare th + th {
  background: var(--ag-blue);
}

.ag-compare td {
  padding: 20px;
  border-right: 1px solid var(--ag-line);
  border-bottom: 1px solid var(--ag-line);
  color: var(--ag-ink-soft);
  font-size: 16px;
  font-weight: 800;
  text-align: center;
}

.ag-compare td + td {
  color: var(--ag-ink);
}

.ag-compare tbody tr:last-child td {
  border-bottom: 0;
}

.ag-case-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: center;
}

.ag-case-layout .ag-section__copy {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  justify-items: center;
}

.ag-case-grid {
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, 1fr);
}

.ag-case-grid article {
  display: grid;
  overflow: hidden;
  gap: 10px;
  padding: 0 0 24px;
  background: linear-gradient(180deg, rgba(0, 109, 229, 0.1), rgba(145, 244, 211, 0.26));
}

.ag-case-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.ag-case-grid span {
  width: fit-content;
  margin: 5px 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0, 109, 229, 0.1);
  color: var(--ag-blue-deep);
  font-size: 12px;
  font-weight: 900;
}

.ag-case-grid strong {
  color: var(--ag-ink);
  text-decoration-line: underline;
  text-decoration-thickness: 0.33em;
  text-decoration-color: rgba(255, 226, 75, 0.3);
  text-underline-offset: -0.16em;
  text-decoration-skip-ink: none;
}

.ag-case-grid h3,
.ag-case-grid p {
  padding: 0 20px;
}

.ag-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.ag-flow li {
  position: relative;
  display: grid;
  gap: 12px;
  min-height: 250px;
  padding: 25px 18px;
  border: 1px solid var(--ag-line);
  border-radius: 8px;
  background: var(--ag-white);
  box-shadow: 0 10px 22px rgba(17, 28, 43, 0.08);
}

.ag-flow li:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -15px;
  width: 20px;
  height: 40px;
  background: rgba(0, 77, 168, 0.5);
  clip-path: polygon(0 0, 100% 50%, 0 100%, 24% 50%);
  content: "";
  transform: translateY(-50%);
}

.ag-flow span {
  color: var(--ag-blue);
  font-size: 13px;
  font-weight: 900;
}

.ag-faq-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 42px;
  align-items: start;
}

.ag-faq-list {
  display: grid;
  gap: 12px;
}

.ag-faq-list details {
  overflow: hidden;
  border: 1px solid var(--ag-line);
  border-radius: 8px;
  background: var(--ag-white);
  box-shadow: 0 10px 20px rgba(17, 28, 43, 0.06);
}

.ag-faq-list summary {
  position: relative;
  padding: 20px 50px 20px 20px;
  cursor: pointer;
  font-weight: 900;
  line-height: 1.5;
  list-style: none;
}

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

.ag-faq-list summary::after {
  content: ">";
  position: absolute;
  top: 50%;
  right: 0;
  width: 50px;
  height: 50px;
  color: var(--ag-blue-deep);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  align-content: center;
  transform: translateY(-50%) rotate(90deg);
  transition: all ease 0.2s;
}

.ag-faq-list details[open] summary::after {
  transform: translateY(-50%) rotate(-90deg);
}

.ag-faq-panel {
  overflow: hidden;
  transition:
    height 260ms ease,
    opacity 260ms ease;
}

.ag-faq-panel[hidden] {
  display: block;
  height: 0;
  opacity: 0;
}

.ag-faq-panel p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--ag-ink-soft);
  font-weight: 700;
}

/* Form, legal, and thanks pages */
.form-page,
.legal-page,
.thanks-page {
  min-height: 100vh;
  padding: 28px 20px;
}

.form-page-shell,
.thanks-shell,
.legal-shell {
  width: min(100%, 1120px);
  margin: 0 auto;
}

.form-page-shell {
  width: min(100%, 640px);
  display: grid;
  min-height: calc(100vh - 56px);
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: center;
}

.form-page-copy h1,
.thanks-hero h1,
.legal-card h1 {
  font-size: clamp(20px, 2vw, 32px);
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0;
  color: var(--blue-deep);
  filter: drop-shadow(2px 3px 0 var(--paper));
}

.form-page-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-page-title-inner {
  display: block;
  width: auto;
}

.form-page-title-row h1 {
  width: auto;
}

.form-page-title-visual {
  width: 150px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(3px 4px 0 var(--blue-light));
}

.form-page-copy p:not(.section-kicker) {
  font-weight: 500;
}

.form-page-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.form-page-points li {
  padding: 5px 10px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  background: var(--yellow);
  box-shadow: 2px 2px 0 var(--blue-deep);
  font-size: 14px;
  font-family: var(--font-pop);
  font-weight: 500;
}

.form-page-card,
.legal-card {
  border: var(--card-border);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.76), var(--card-shadow);
}

.form-page-card {
  position: relative;
  padding: 34px;
}

.form-page .form-page-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.form-wizard-card {
  overflow: visible;
}

.wizard-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.wizard-brand .brand-logo {
  width: clamp(170px, 28vw, 240px);
}

.wizard-status .section-kicker,
.wizard-count {
  margin: 0;
}

.wizard-count {
  min-width: 74px;
  padding: 6px 12px;
  border: var(--card-border);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 2px 2px 0 var(--blue-light);
  color: var(--blue);
  font-family: var(--font-pop);
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}

.wizard-progress {
  height: 16px;
  margin-bottom: 26px;
  padding: 3px;
  border: var(--card-border);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 2px 2px 0 var(--blue-light);
}

.wizard-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--yellow) 0%, #42e68f 55%, var(--green) 100%);
  transition: width 240ms ease;
}

.wizard-step {
  display: grid;
  gap: 18px;
  min-height: 430px;
  align-content: start;
}

.wizard-step[hidden] {
  display: none;
}

.wizard-step h2 {
  margin-bottom: 0;
  color: var(--blue);
  font-size: clamp(20px, 2vw, 32px);
}

.wizard-lead {
  margin: -6px 0 0;
  font-weight: 700;
}

.tap-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.tap-options.major-prefecture-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(max-content, 150px));
  gap: 12px;
}

.tap-options-compact {
  max-width: none;
}

.triple-options {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.location-picker {
  display: grid;
  gap: 18px;
}

.location-group {
  display: grid;
  gap: 10px;
}

.location-label {
  width: fit-content;
  margin: 0;
  padding: 4px 10px;
  border-radius: 5px;
  background: var(--mint-light);
  box-shadow: 2px 2px 0 var(--blue-light);
  color: var(--blue-deep);
  font-family: var(--font-pop);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
}

.prefecture-select-field span {
  color: var(--blue-deep);
  font-family: var(--font-pop);
  font-size: 14px;
}

.tap-option,
.inline-option {
  position: relative;
  padding: 12px 16px;
  border: var(--card-border);
  border-radius: 14px;
  background: var(--soft-paper);
  box-shadow: 2px 3px 0 var(--blue-light);
  color: var(--ink);
  font-family: var(--font-pop);
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.inline-option::after {
  position: absolute;
  top: 50%;
  right: 16px;
  color: var(--blue);
  content: "›";
  font-size: 24px;
  line-height: 1;
  transform: translateY(-54%);
}

.tap-option:hover,
.tap-option:focus-visible,
.inline-option:hover,
.inline-option:focus-visible {
  transform: translate(2px, 3px);
  box-shadow: none;
  outline: none;
}

.tap-option.is-selected,
.inline-option.is-selected {
  background: var(--blue);
  color: var(--paper);
  box-shadow: 1px 2px 0 var(--blue-deep);
  transform: translate(2px, 2px);
}

.inline-choice-field {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.inline-choice-field legend {
  padding: 0;
  font-weight: 700;
}

.inline-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.inline-option {
  min-width: 132px;
  min-height: 48px;
  padding-right: 40px;
}

.wizard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin: auto;
}

.wizard-actions .button {
  border-color: rgba(0, 109, 229, 0.28);
  box-shadow: 2px 3px 0 rgba(0, 77, 168, 0.22);
}

.wizard-actions .button:hover {
  box-shadow: none;
  transform: translate(2px, 3px);
}

.button-back,
.button-next {
  min-width: 120px;
}

.form-page .button-back,
.form-page .button-next {
  min-width: auto;
  aspect-ratio: 1 / 1;
}

.form-page .button-confirm-check {
  width: 100%;
  min-width: 0;
  min-height: 56px;
  aspect-ratio: auto;
}

.wizard-actions .button-form {
  flex: 1 1 240px;
}

.form-helper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 14px;
  align-items: end;
  margin-bottom: 18px;
}

.form-helper .speech {
  position: relative;
  min-height: 120px;
  margin: 0;
  padding: 28px 30px 34px;
  border: var(--card-border);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: var(--card-shadow);
  font-family: var(--font-pop);
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
}

.form-helper .speech::after {
  position: absolute;
  right: -10px;
  bottom: 24px;
  width: 20px;
  height: 20px;
  border-right: var(--card-border);
  border-bottom: var(--card-border);
  background: var(--paper);
  content: "";
  transform: rotate(-18deg) skew(12deg);
}

.form-helper img {
  width: 150px;
  filter: drop-shadow(3px 4px 0 var(--blue-deep));
}

.form-page-card h2,
.legal-card h2 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: 0;
}

.lead-form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.lead-form label,
.chip-field,
.consent {
  display: grid;
  gap: 8px;
  font-weight: 500;
}

.lead-form input[type="text"],
.lead-form input[type="email"],
.lead-form input[type="tel"],
.lead-form input[type="number"],
.lead-form input[type="password"],
.lead-form select {
  width: 100%;
  min-height: 54px;
  padding: 10px 14px;
  border: 1px solid var(--blue-deep);
  border-radius: 12px;
  background: var(--soft-paper);
}

.lead-form input:focus,
.lead-form select:focus {
  outline: 4px solid rgba(0, 109, 229, 0.22);
}

.age-row,
.contact-row {
  grid-template-columns: minmax(0, 1fr);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.required-badge,
.optional-badge {
  display: inline;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 12px;
  line-height: 1.2;
}

.required-badge {
  background: var(--pink);
  color: var(--paper);
}

.optional-badge {
  background: var(--yellow-soft);
}

.chip-field {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--ink);
  border-radius: 16px;
  background: var(--paper);
}

.chip-field legend {
  padding: 0 8px;
  font-weight: 500;
}

.chip-field label {
  display: inline-flex;
}

.chip-field input {
  position: absolute;
  opacity: 0;
}

.chip-field span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--soft-paper);
  box-shadow: 2px 2px 0 var(--blue-deep);
  cursor: pointer;
}

.chip-field input:checked + span {
  background: var(--blue);
  color: var(--paper);
}

.chip-field input:focus-visible + span {
  outline: 4px solid rgba(0, 109, 229, 0.24);
}

.consent {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  padding: 14px;
  border: 1px dashed var(--blue);
  border-radius: 14px;
  background: var(--mint-light);
}

.consent input {
  width: 22px;
  height: 22px;
  margin-top: 4px;
}

.consent a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.confirm-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.confirm-list div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px 12px;
  border: var(--card-border);
  border-radius: 12px;
  background: var(--soft-paper);
  box-shadow: 2px 3px 0 rgba(0, 77, 168, 0.22);
}

.confirm-list dt {
  color: var(--blue);
  font-family: var(--font-pop);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

.confirm-list dd {
  min-width: 0;
  margin: 0;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.form-note,
.form-error {
  margin: 0;
  font-weight: 500;
}

.form-note-strong {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--yellow-soft);
}

.form-error {
  color: #cf114a;
}

.thanks-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.48);
}

.thanks-modal[hidden] {
  display: none;
}

.thanks-panel {
  width: min(100%, 560px);
  padding: 30px;
  border: var(--card-border);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--card-shadow);
}

.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.modal-close {
  float: right;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: 2px 2px 0 var(--blue-deep);
  font-weight: 500;
  cursor: pointer;
}

.legal-shell {
  max-width: 920px;
}

.legal-card {
  margin-top: 24px;
  padding: 36px;
}

.legal-card h2 {
  margin-top: 30px;
  color: var(--blue);
}

.thanks-shell {
  display: grid;
  width: min(100%, 640px);
  min-height: calc(100vh - 56px);
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 18px;
  align-content: start;
  background: transparent;
}

.thanks-brand {
  width: fit-content;
}

.thanks-brand .brand-logo {
  width: clamp(170px, 28vw, 240px);
}

.thanks-content {
  display: grid;
  width: 100%;
  max-width: 100%;
  gap: 26px;
  align-self: start;
  justify-self: center;
  padding: 0;
}

.thanks-complete-header {
  display: grid;
  background: var(--blue);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(16px, 3vw, 24px);
  font-weight: 500;
  line-height: 1.35;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
}

.thanks-complete-header p {
  margin: 0;
}

.thanks-intro {
  display: grid;
  gap: 10px;
  padding-top: 0;
  text-align: center;
}

.thanks-intro h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 4.8vw, 30px);
  font-weight: 500;
  line-height: 1.4;
}

.thanks-intro p {
  margin: 0;
  font-weight: 500;
  line-height: 1.7;
}

.thanks-info-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: var(--card-border);
  border-radius: 14px;
  background: var(--soft-paper);
  box-shadow: var(--card-shadow);
}

.thanks-info-card h2 {
  margin: 0;
  color: var(--blue-deep);
  font-family: var(--font-pop);
  font-size: clamp(18px, 3vw, 24px);
  line-height: 1.4;
  font-weight: 500;
}

.thanks-check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.thanks-check-list li {
  position: relative;
  padding-left: 36px;
  font-weight: 500;
  line-height: 1.55;
}

.thanks-check-list li::before {
  position: absolute;
  top: 0.2em;
  left: 0;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--paper);
  content: "✓";
  font-size: 14px;
  line-height: 1;
}

.thanks-check-list strong {
  color: var(--blue);
}

.thanks-phone {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  min-height: 78px;
  padding: 14px;
  border-radius: 12px;
  background: var(--mint-light);
  color: var(--ink);
  font-family: var(--font-pop);
  font-size: clamp(20px, 5vw, 30px);
  line-height: 1.2;
}

.thanks-phone span {
  color: var(--blue);
  font-size: 22px;
}

.thanks-phone strong {
  letter-spacing: 0;
}

.thanks-line {
  display: grid;
  gap: 14px;
  justify-items: center;
  padding: 30px 0 18px;
  text-align: center;
}

.thanks-line p {
  margin: 0;
  color: var(--green);
  font-family: var(--font-pop);
  font-size: clamp(18px, 3vw, 24px);
  line-height: 1.6;
}

.thanks-line-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(50%, 200px);
  border-radius: 10px;
  transition: all 0.2s ease;
  box-shadow: 3px 4px 0 var(--green-deep);
}

.thanks-line-button:hover,
.thanks-line-button:focus-visible {
  transform: translate(2px, 3px);
  box-shadow: 1px 1px 0 var(--green-deep);
  outline: none;
}

.thanks-line-button img {
  width: 100%;
  height: auto;
}

.thanks-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
  gap: clamp(24px, 6vw, 72px);
  align-items: center;
}

.thanks-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  height: 100%;
}

.thanks-copy p:not(.section-kicker) {
  margin: 18px 0 0;
  font-weight: 500;
  line-height: 1.9;
}

.thanks-hero img {
  width: 100%;
  max-height: 390px;
  object-fit: contain;
  filter: drop-shadow(4px 5px 0 var(--blue-light));
}

.thanks-next {
  margin: 0;
  color: var(--blue-deep);
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 500;
  line-height: 1.25;
}

.thanks-follow {
  display: grid;
  gap: 16px;
  width: 100%;
}

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

.thanks-flow-steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 5px 12px;
  align-items: start;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 3px 3px 0 var(--blue-light);
}

.thanks-flow-steps span {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: var(--card-border);
  border-radius: 50%;
  background: var(--yellow);
  color: var(--blue-deep);
  font-family: var(--font-pop);
  font-weight: 500;
  line-height: 1;
}

.thanks-flow-steps strong {
  color: var(--blue);
  font-family: var(--font-pop);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
}

.thanks-flow-steps p {
  grid-column: 2;
  margin: 0;
  font-weight: 500;
  line-height: 1.65;
}

.thanks-mail-note {
  margin: 0;
  padding: 12px 14px;
  border-left: 6px solid var(--yellow);
  border-radius: 0 12px 12px 0;
  background: rgba(255, 255, 255, 0.56);
  font-weight: 500;
  line-height: 1.7;
}

.admin-page {
  min-height: 100vh;
  padding: 28px 20px;
}

.admin-shell {
  display: grid;
  gap: 24px;
  width: min(100%, 1180px);
  margin: 0 auto;
}

.admin-brand {
  width: fit-content;
}

.admin-card {
  border: var(--card-border);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.76), var(--card-shadow);
}

.admin-login-card {
  width: min(100%, 520px);
  margin: 8vh auto 0;
  padding: 34px;
}

.admin-login-card h1,
.admin-list-card h1 {
  margin: 0;
  color: var(--blue-deep);
  font-family: var(--font-display);
  font-size: clamp(28px, 2.5vw, 42px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0;
  filter: drop-shadow(2px 3px 0 var(--paper));
}

.admin-login-form {
  margin-top: 22px;
}

.admin-list-card {
  padding: clamp(22px, 4vw, 36px);
}

.admin-header {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}

.admin-header p:not(.section-kicker) {
  margin: 12px 0 0;
  font-weight: 700;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.admin-empty {
  margin: 0;
  padding: 18px;
  border-radius: 12px;
  background: var(--mint-light);
  font-weight: 700;
}

.admin-table-wrap {
  overflow-x: auto;
  padding-bottom: 2px;
}

.admin-table {
  width: 100%;
  min-width: 900px;
  border-collapse: separate;
  border-spacing: 0 10px;
}

.admin-table th {
  padding: 0 12px 6px;
  color: var(--blue);
  font-family: var(--font-pop);
  font-size: 13px;
  font-weight: 500;
  text-align: left;
}

.admin-table td {
  padding: 14px 12px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--soft-paper);
  font-weight: 700;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.admin-table td:first-child {
  border-left: 1px solid var(--ink);
  border-radius: 12px 0 0 12px;
}

.admin-table td:last-child {
  border-right: 1px solid var(--ink);
  border-radius: 0 12px 12px 0;
}

.admin-row {
  cursor: pointer;
  outline: none;
}

.admin-row td {
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.admin-row:hover td,
.admin-row:focus-visible td {
  background: #fff;
}

.admin-row:focus-visible td:first-child {
  box-shadow: inset 4px 0 0 var(--blue);
}

.admin-status-badge {
  display: inline-flex;
  width: fit-content;
  min-width: 76px;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border: var(--card-border);
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: 2px 2px 0 var(--blue-light);
  color: var(--blue-deep);
  font-family: var(--font-pop);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}

.admin-status-badge.is-done {
  background: var(--green);
  color: var(--paper);
}

.admin-status-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0;
}

.admin-status-select {
  padding: 6px 12px;
  border: var(--card-border);
  border-radius: 10px;
  background: var(--soft-paper);
  box-shadow: 2px 2px 0 var(--blue-light);
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}

.admin-detail-list {
  display: grid;
  gap: 0;
  margin: 18px 0 0;
}

.admin-detail-list div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px dashed rgba(0, 109, 229, 0.32);
  align-items: center;
}

.admin-detail-list div:last-child {
  border-bottom: none;
}

.admin-detail-list dt {
  color: var(--blue);
  font-family: var(--font-pop);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

.admin-detail-list dd {
  min-width: 0;
  margin: 0;
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.admin-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.48);
}

.admin-modal[hidden] {
  display: none;
}

.admin-modal-panel {
  position: relative;
  width: min(100%, 680px);
  max-height: calc(100vh - 40px);
  padding: 30px;
  overflow: auto;
  border: var(--card-border);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--card-shadow);
}

.admin-modal-panel .modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  float: none;
  padding: 6px 18px;
}

.admin-modal-panel h2 {
  margin: 0;
  color: var(--blue-deep);
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0;
}

.error-list {
  display: grid;
  gap: 8px;
  margin: 20px 0;
  padding-left: 1.3em;
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .ag-faq-panel {
    transition: none;
  }
}

.ag-final-cta {
  position: relative;
  overflow: hidden;
  padding: 82px 0;
  background: var(--ag-navy);
  color: var(--ag-white);
  text-align: center;
}

.ag-final-cta::before {
  position: absolute;
  inset: 0 auto auto 0;
  width: 20%;
  height: 100%;
  background: linear-gradient(145deg, rgba(0, 109, 229, 0.36), transparent 62%);
  clip-path: polygon(0 0, 100% 0, 35% 100%, 0% 100%);
  content: "";
}

.ag-final-cta .ag-container {
  display: grid;
  max-width: 900px;
  gap: 20px;
  justify-items: center;
}

.ag-final-cta h2 {
  font-size: 36px;
}

.ag-final-cta .ag-note {
  max-width: 760px;
  color: rgba(17, 28, 43, 0.62);
  font-size: 12px;
  line-height: 1.7;
}

.ag-cta-sub--final a {
  background: rgba(255, 255, 255, 0.9);
}

.ag-footer {
  padding: 34px 0;
  background: linear-gradient(90deg, var(--ag-blue-deep) 0%, var(--ag-blue) 68%, #0b8974 100%);
  color: rgba(255, 255, 255, 0.88);
}

.ag-footer .ag-container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}

.ag-footer__brand {
  width: 190px;
}

.ag-footer__brand img {
  filter: brightness(0) invert(1);
}

.ag-footer nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 13px;
  font-weight: 700;
}

.ag-footer small {
  font-size: 12px;
}

@media (max-width: 1040px) {
  .ag-hero__inner,
  .ag-split,
  .ag-split--reverse,
  .ag-case-layout,
  .ag-faq-layout,
  .ag-industry-block {
    grid-template-columns: 1fr;
  }

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

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

  .ag-flow li:not(:last-child)::after {
    top: auto;
    bottom: -15px;
    left: 50%;
    width: 30px;
    height: 15px;
    clip-path: polygon(0 0, 50% 24%, 100% 0, 50% 100%);
    transform: translateX(-50%);
  }

  .ag-problem-grid article:nth-child(2),
  .ag-problem-grid article:nth-child(3) {
    margin-top: 0;
  }
}

@media (max-width: 720px) {
  body.ag-lp {
    background:
      radial-gradient(circle at -8% 24%, transparent 0 58px, rgba(0, 109, 229, 0.16) 60px 76px, transparent 78px),
      radial-gradient(circle at 112% 50%, transparent 0 70px, rgba(155, 238, 215, 0.28) 72px 92px, transparent 94px),
      var(--ag-white);
  }

  .ag-container,
  .ag-hero__inner,
  .ag-hero__actions {
    width: calc(100vw - 32px);
    max-width: 358px;
    min-width: 0;
    margin: auto;
  }

  .ag-header {
    display: none;
  }

  .ag-brand {
    width: 168px;
  }

  .ag-hero::before {
    display: none;
  }

  .ag-hero::after {
    right: -48px;
    top: 18px;
    width: 96px;
    height: 96px;
    border-width: 22px;
  }

  .ag-hero__inner {
    padding: 0;
    margin-bottom: 30px;
  }

  .ag-hero__copy {
    min-width: 0;
    padding-top: 0;
  }

  .ag-eyebrow {
    max-width: 100%;
    font-size: 14px;
    text-align: center;
    white-space: normal;
  }

  .ag-hero h1 {
    font-size: 32px;
    overflow-wrap: anywhere;
  }

  .ag-hero__logo {
    width: 240px;
    margin-bottom: 50px;
  }

  .ag-hero__lead {
    font-size: 16px;
  }

  .ag-hero__media {
    position: absolute;
    z-index: -1;
    width: 100%;
    right: -25%;
    bottom: 10px;
  }

  .ag-hero__badge {
    right: 8px;
    bottom: 2px;
    width: 132px;
    min-height: 92px;
    padding: 10px;
  }

  .ag-hero__badge strong {
    font-size: 32px;
  }

  .ag-hero__badge span {
    font-size: 10px;
  }

  .ag-stats {
    width: 100%;
    max-width: 300px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .ag-stats div {
    width: 100%;
  }

  .ag-stats dd {
    line-height: 1;
  }

  .ag-stats dt {
    font-size: 10px;
  }

  .ag-stat-main {
    font-size: 20px;
  }

  .ag-stat-unit {
    font-size: 10px;
  }

  .ag-stats div:first-child .ag-stat-main {
    font-size: 22px;
  }

  .ag-stats div:first-child .ag-stat-unit {
    font-size: 9px;
  }

  .ag-button {
    min-height: 64px;
    padding: 0 22px;
  }

  .ag-button--primary {
    font-size: 20px;
  }

  .ag-button--light {
    width: 100%;
    min-height: 60px;
    font-size: 17px;
  }

  .ag-section {
    padding: 50px 0;
  }

  .ag-section--deep {
    font-size: 14px;
  }

  .ag-section--deep::before {
    width: 50%;
  }

  .ag-section--deep .ag-split {
    gap: 30px;
  }

  .ag-section--deep .ag-section__copy {
    order: 2;
  }

  .ag-section--deep .ag-photo-card {
    order: 1;
  }

  .ag-service-intro {
    padding-top: 0;
  }

  .ag-outline-box {
    width: 100%;
    max-width: 342px;
    min-width: 0;
    padding: 34px 18px;
  }

  .ag-outline-box__logo {
    width: 228px;
  }

  .ag-outline-box h2,
  .ag-section__copy h2,
  .ag-section-heading h2,
  .ag-final-cta h2 {
    font-size: 20px;
  }

  .ag-section__copy > p:not(.ag-kicker),
  .ag-outline-box p:not(.ag-kicker) {
    font-size: 14px;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .ag-section-heading {
    margin-bottom: 28px;
  }

  .ag-section-heading::before {
    top: -30px;
    font-size: 36px;
  }

  .ag-kicker {
    padding: 4px 12px;
    font-size: 12px;
  }

  .ag-problem-grid,
  .ag-strength-grid,
  .ag-case-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .ag-flow {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ag-flow li {
    gap: 10px;
  }

  .ag-industry-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .ag-industry-grid li {
    padding: 10px;
    font-size: 12px;
  }

  .ag-industry-grid span {
    font-size: 28px;
  }

  .ag-industry-grid strong {
    font-size: 14px;
  }

  .ag-industry-grid em {
    font-size: 16px;
    overflow-wrap: normal;
    word-break: keep-all;
  }

  .ag-problem-grid h3,
  .ag-strength-grid h3,
  .ag-case-grid h3,
  .ag-flow h3,
  .ag-industry-block h3 {
    font-size: 18px;;
  }

  .ag-worry-illustrations {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ag-worry-panel {
    padding: 20px 10px;
    font-size: 14px;
  }

  .ag-worry-illustrations figure {
    display: flex;
    align-items: center;
  }

  .ag-worry-illustrations figure:nth-child(even) {
    flex-direction: row-reverse;
  }

  .ag-worry-illustrations img {
    width: 80px;
    height: auto;
  }

  .ag-worry-illustrations figcaption {
    padding: 10px;
    place-items: center left;
    text-align: left;
  }

  .ag-worry-panel__resolve {
    font-size: 18px;
  }

  .ag-worry-panel::after {
    bottom: -23px;
    width: 48px;
    height: 24px;
  }

  .ag-problem-grid article,
  .ag-strength-grid article,
  .ag-flow li,
  .ag-industry-block {
    padding: 20px 10px;
  }

  .ag-flow li {
    min-height: auto;
  }

  .ag-photo-card::after {
    right: -8px;
    bottom: -8px;
  }

  .ag-compare {
    min-width: auto;
  }

  .ag-compare__normal {
    width: 120px;
  }

  .ag-compare__ag {
    width: auto;
  }

  .ag-compare th {
    padding: 10px;
    font-size: 14px;
  }

  .ag-compare td {
    padding: 10px;
    font-size: 12px;
  }

  .ag-faq-layout {
    gap: 30px;
  }

  .ag-faq-list summary {
    padding: 20px 30px 20px 10px;
    font-size: 14px;
  }

  .ag-faq-panel p {
    padding: 0 10px 20px;
    font-size: 14px;
  }

  .ag-final-cta {
    padding: 30px 0;
  }

  .ag-final-cta::before {
    width: 50%;
  }

  .ag-footer .ag-container {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .ag-footer nav {
    flex-wrap: wrap;
  }

  .form-page,
  .legal-page,
  .thanks-page {
    padding: 16px 12px;
  }

  .form-page-shell {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
  }

  .form-page-copy h1 {
    font-size: clamp(24px, 10vw, 32px);
  }

  .form-page-title-visual {
    width: 100px;
  }

  .form-page-points {
    gap: 5px;
    margin: 20px 0 0;
  }

  .form-page-points li {
    padding: 4px 8px;
    font-size: 12px;
}

  .form-page-card,
  .legal-card {
    padding: 22px;
    border-radius: 18px;
  }

  .thanks-shell {
    min-height: auto;
    gap: 24px;
  }

  .thanks-content {
    align-self: start;
    gap: 24px;
  }

  .thanks-hero {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .thanks-hero img {
    display: none;
  }

  .thanks-flow-steps {
    grid-template-columns: 1fr;
  }

  .form-row {
    gap: 8px;
  }

  .wizard-status {
    align-items: flex-start;
  }

  .wizard-progress {
    margin-bottom: 20px;
  }

  .wizard-step {
    min-height: 0;
  }

  .wizard-step h2 {
    font-size: clamp(18px, 5vw, 24px);
  }

  .tap-options.major-prefecture-options {
    grid-template-columns: repeat(auto-fit, minmax(max-content, 100px));
    gap: 6px;
  }

  .tap-option {
    padding: 10px;
    box-shadow: 2px 2px 0 var(--blue-light);
  }

  .inline-options {
    display: grid;
    grid-template-columns: 1fr;
  }

  .inline-option {
    width: 100%;
  }

  .form-helper {
    grid-template-columns: 1fr;
  }

  .form-helper img {
    display: none;
  }

  .thanks-actions {
    display: grid;
  }

  .section-kicker,
  .section-heading p,
  .eyebrow {
    padding: 4px 12px;
    font-size: 12px;
  }

  .legal-card h2 {
    font-size: 16px;
    margin: auto;
  }

  .legal-card p {
    font-size: 12px;
  }
}

/* Color sync for the redesigned LP. Layout is intentionally unchanged. */
.form-page,
.legal-page,
.thanks-page {
  background:
    radial-gradient(circle at 10% 18%, transparent 0 72px, rgba(0, 109, 229, 0.15) 74px 96px, transparent 98px),
    radial-gradient(circle at 92% 52%, transparent 0 86px, rgba(155, 238, 215, 0.26) 88px 112px, transparent 114px),
    linear-gradient(180deg, #f5faff 0%, #eef7ff 100%);
}

.form-page-copy h1,
.thanks-hero h1,
.thanks-next {
  color: var(--blue-deep);
  filter: drop-shadow(2px 3px 0 #ffffff);
}

.form-page-points li {
  background: var(--yellow);
  box-shadow: 2px 2px 0 rgba(0, 77, 168, 0.55);
}

.legal-card {
  border-color: rgba(0, 109, 229, 0.28);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 40px rgba(0, 77, 168, 0.12);
}

.legal-card h1,
.legal-card h2 {
  color: var(--blue-deep);
}

.legal-card a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wizard-count,
.wizard-progress,
.tap-option,
.inline-option,
.thanks-info-card {
  border-color: rgba(0, 109, 229, 0.28);
  background: #ffffff;
  box-shadow: 2px 3px 0 rgba(0, 77, 168, 0.22);
}

.wizard-progress span {
  background: linear-gradient(90deg, var(--blue-deep) 0%, var(--blue) 58%, #64dfbd 100%);
}

.wizard-step h2,
.wizard-count,
.prefecture-select-field span,
.thanks-info-card h2,
.thanks-check-list strong,
.thanks-flow-steps strong {
  color: var(--blue-deep);
}

.location-label {
  background: #eef7ff;
  box-shadow: 2px 2px 0 rgba(0, 77, 168, 0.22);
  color: var(--blue-deep);
}

.tap-option.is-selected,
.inline-option.is-selected,
.thanks-complete-header,
.thanks-check-list li::before {
  background: var(--blue);
  color: #ffffff;
}

.button-form {
  background: linear-gradient(180deg, #19dd80 0%, var(--green) 60%, var(--green-deep) 100%);
  color: #ffffff;
}

.button-form:hover,
.button-form:focus-visible {
  background: linear-gradient(180deg, #1686f2 0%, var(--blue) 60%, var(--blue-deep) 100%);
}

.thanks-phone {
  background: #eef7ff;
  color: var(--blue-deep);
}

.thanks-phone span,
.thanks-line p {
  color: var(--blue-deep);
}

.thanks-line-button {
  box-shadow: 3px 4px 0 rgba(0, 77, 168, 0.42);
}

.thanks-line-button:hover,
.thanks-line-button:focus-visible {
  box-shadow: 1px 1px 0 rgba(0, 77, 168, 0.5);
}

.thanks-flow-steps li {
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 3px 3px 0 rgba(0, 77, 168, 0.2);
}

.thanks-flow-steps span {
  border-color: rgba(0, 109, 229, 0.32);
  background: #eef7ff;
  color: var(--blue-deep);
}

.thanks-mail-note {
  border-left-color: var(--blue);
  background: rgba(255, 255, 255, 0.7);
}

@media (max-width: 720px) {
  .site-footer .brand {
    display: block;
    margin: auto;
    width: max-content;
  }

  .admin-actions .button {
    width: 100%;
    min-width: 0;
    padding-inline: 10px;
    font-size: 13px;
  }
}
