:root {
  --color-primary: #d81468;
  --color-primary-dark: #b80f55;
  --color-primary-light: #fce8f1;
  --color-secondary: #00b8d8;
  --color-secondary-light: #e6f8fb;
  --color-accent: #c0d000;
  --color-accent-light: #f5f8d8;
  --color-text: #2b2b2b;
  --color-text-muted: #666666;
  --color-border: #e6eef2;
  --color-bg: #ffffff;
  --color-bg-soft: #f7fcfd;
  --color-bg-warm: #fff7fb;
  --shadow-card: 0 18px 48px rgba(13, 72, 86, 0.1);
  --shadow-card-strong: 0 24px 64px rgba(13, 72, 86, 0.14);
  --shadow-button: 0 8px 20px rgba(216, 20, 104, 0.22);
  --container-wide: 1280px;
  --container-max: 1120px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;

  color: var(--color-text);
  background: var(--color-bg);
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.8;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

.br_pc {
    display: block;
}
.br_sp {
    display: none;
}
@media (max-width: 768px) {
    .br_pc {
        display: none;
    }
    .br_sp {
        display: block;
    }
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--color-bg);
}

body,
button,
input,
textarea {
  font-family: var(--font-family);
}

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

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

#app {
  min-height: 100svh;
  overflow: hidden;
  padding-top: 76px;
  background: linear-gradient(180deg, #fff 0%, var(--color-bg-soft) 100%);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(0, 184, 216, 0.16);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  width: min(100% - 48px, var(--container-wide));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-header__logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.site-header__logo img {
  width: 164px;
  height: auto;
}

.site-header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2vw, 30px);
  flex: 1 1 auto;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.site-header__nav a {
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
}

.site-header__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.site-header__nav a:hover::after,
.site-header__nav a:focus-visible::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  color: #fff;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: var(--shadow-button);
  transition:
    background 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.button::after {
  content: "›";
  font-size: 24px;
  line-height: 1;
  transform: translateY(-1px);
}

.button:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(216, 20, 104, 0.26);
}

.button:focus-visible,
.site-header__nav a:focus-visible,
.site-header__logo:focus-visible {
  outline: 3px solid rgba(0, 184, 216, 0.45);
  outline-offset: 4px;
}

.button--header {
  min-width: 248px;
  min-height: 44px;
  padding: 0 22px;
  font-size: 14px;
  white-space: nowrap;
}

.button--primary {
  width: min(100%, 360px);
  min-height: 56px;
  padding: 0 28px;
  font-size: 16px;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100% - 76px);
  padding: clamp(56px, 7vw, 96px) 0 88px;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 12%, rgba(0, 184, 216, 0.12) 0 78px, transparent 80px),
    linear-gradient(180deg, #fff 0%, var(--color-bg-soft) 100%);
}

.hero__background {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero__background::before,
.hero__background::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.hero__background::before {
  top: 104px;
  left: max(24px, calc((100vw - var(--container-wide)) / 2));
  width: 72px;
  height: 72px;
  border: 2px solid rgba(0, 184, 216, 0.26);
}

.hero__background::after {
  right: max(22px, calc((100vw - var(--container-wide)) / 2 + 12px));
  bottom: 96px;
  width: 86px;
  height: 86px;
  background-image: radial-gradient(rgba(0, 184, 216, 0.35) 2px, transparent 2px);
  background-size: 14px 14px;
}

.hero__inner {
  width: min(100% - 48px, var(--container-wide));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 0.98fr);
  align-items: center;
  gap: clamp(48px, 7vw, 92px);
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  margin: 0 0 18px;
  color: var(--color-primary);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
}

.hero h1 {
  max-width: 690px;
  margin: 0;
  color: var(--color-text);
  font-size: clamp(24px, calc(5vw - 1rem), 48px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero h1::after {
  content: "";
  display: block;
  width: 72px;
  height: 5px;
  margin-top: 24px;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
}

.hero__lead {
  max-width: 600px;
  margin: 28px 0 0;
  color: var(--color-text-muted);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.9;
}

.hero__actions {
  margin-top: 34px;
}

.hero__badges {
  max-width: 660px;
  padding: 0;
  margin: 30px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
}

.hero__badges li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 7px 14px 7px 8px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.86);
  color: var(--color-text);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(13, 72, 86, 0.06);
}

.badge-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex: 0 0 auto;
}

.badge-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.badge-icon--pink {
  color: var(--color-primary);
  background: var(--color-primary-light);
}

.badge-icon--cyan {
  color: var(--color-secondary);
  background: var(--color-secondary-light);
}

.badge-icon--lime {
  color: #96a400;
  background: var(--color-accent-light);
}

.hero__visual {
  min-width: 0;
}

.hero-photo {
  position: relative;
  margin: 0;
  padding: 22px;
  border: 1px solid rgba(0, 184, 216, 0.22);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-card);
}

.hero-photo::before,
.hero-photo::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: var(--radius-md);
}

.hero-photo::before {
  top: -20px;
  right: 48px;
  width: 120px;
  height: 76px;
  background: rgba(0, 184, 216, 0.12);
}

.hero-photo::after {
  left: -18px;
  bottom: 64px;
  width: 72px;
  height: 72px;
  background: rgba(192, 208, 0, 0.22);
}

.hero-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1.18 / 1;
  object-fit: cover;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(13, 72, 86, 0.1);
}

.hero-photo figcaption {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border: 1px solid rgba(0, 184, 216, 0.18);
  border-radius: var(--radius-md);
  background: var(--color-secondary-light);
  color: var(--color-text);
  font-size: 16px;
  font-weight: 800;
}

.section {
  position: relative;
  isolation: isolate;
  padding: 88px 0;
  overflow: hidden;
  scroll-margin-top: 76px;
  background:
    radial-gradient(circle at 92% 12%, rgba(0, 184, 216, 0.1) 0 78px, transparent 80px),
    linear-gradient(180deg, #fff 0%, var(--color-bg-soft) 100%);
}

.section__inner {
  width: min(100% - 48px, var(--container-max));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-heading {
  max-width: 760px;
}

.section-heading--center {
  margin: 0 auto;
  text-align: center;
}

.section-heading__label {
  margin: 0 0 10px;
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.section-heading h2 {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.24;
  letter-spacing: 0;
}

.section-heading h2 span {
  color: var(--color-primary);
}

.section-heading h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 4px;
  margin: 18px auto 0;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
}

.section-heading p:not(.section-heading__label) {
  margin: 18px auto 0;
  color: var(--color-text-muted);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
}

.section__decor {
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.section__decor--top {
  top: 56px;
  left: max(20px, calc((100vw - var(--container-wide)) / 2));
  width: 72px;
  height: 72px;
  border: 2px solid rgba(0, 184, 216, 0.26);
  border-radius: 50%;
  background: transparent;
}

.section__decor--dots {
  right: max(22px, calc((100vw - var(--container-wide)) / 2 + 24px));
  bottom: 32px;
  width: 92px;
  height: 92px;
  background-image: radial-gradient(rgba(0, 184, 216, 0.35) 2px, transparent 2px);
  background-size: 14px 14px;
}

.problem {
  background:
    radial-gradient(circle at 92% 12%, rgba(0, 184, 216, 0.1) 0 78px, transparent 80px),
    linear-gradient(180deg, #fff 0%, var(--color-bg-soft) 100%);
}

.problem__grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.problem-card {
  min-height: 156px;
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 24px;
  border: 1px solid rgba(0, 184, 216, 0.18);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-card);
}

.problem-card__icon {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
}

.problem-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.problem-card h3 {
  margin: 0;
  color: var(--color-primary);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.45;
}

.problem-card p {
  margin: 10px 0 0;
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.75;
}

.problem__message {
  width: fit-content;
  max-width: 100%;
  margin: 34px auto 0;
  padding: 0 42px;
  position: relative;
  color: var(--color-text);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.6;
  text-align: center;
}

.problem__message::before,
.problem__message::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 20px;
  height: 2px;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
}

.problem__message::before {
  left: 8px;
  transform: translateY(-50%) rotate(28deg);
}

.problem__message::after {
  right: 8px;
  transform: translateY(-50%) rotate(-28deg);
}

.problem__message strong {
  color: var(--color-primary);
}

.about__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(440px, 1fr);
  align-items: center;
  gap: clamp(42px, 7vw, 86px);
}

.about__content .section-heading h2::after {
  margin-left: 0;
  margin-right: 0;
}

.about__catch {
  margin: 26px 0 0;
  color: var(--color-text);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.55;
}

.about__text {
  max-width: 600px;
  margin: 28px 0 0;
  color: var(--color-text-muted);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
}

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

.about__benefits li {
  min-height: 96px;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 14px 10px 16px;
  border: 1px solid rgba(0, 184, 216, 0.18);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 28px rgba(13, 72, 86, 0.08);
  color: var(--color-primary);
  text-align: center;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

.about__benefits li:nth-child(2) {
  color: var(--color-secondary);
}

.about__benefits li:nth-child(3) {
  color: #9aaa00;
}

.about__benefits img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.about-diagram {
  position: relative;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(0, 184, 216, 0.2);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-card);
}

.about-diagram::before,
.about-diagram::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: var(--radius-md);
}

.about-diagram::before {
  top: -22px;
  right: -22px;
  width: 118px;
  height: 76px;
  background: rgba(0, 184, 216, 0.12);
}

.about-diagram::after {
  left: -18px;
  bottom: -18px;
  width: 74px;
  height: 74px;
  background: rgba(192, 208, 0, 0.2);
}

.about-diagram__head h3 {
  margin: 0;
  color: var(--color-text);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.4;
}

.about-diagram__head p {
  margin: 10px 0 0;
  color: var(--color-text-muted);
  font-size: 15px;
  font-weight: 500;
}

.about-flow {
  margin-top: 34px;
  display: grid;
  justify-items: center;
  gap: 16px;
}

.about-flow__row {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}

.about-flow-card {
  width: 100%;
  min-height: 150px;
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(0, 184, 216, 0.18);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.95);
  text-align: center;
}

.about-flow-card img {
  width: 74px;
  height: 74px;
  border-radius: 22px;
  object-fit: cover;
}

.about-flow-card h4 {
  margin: 0;
  color: var(--color-text);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.35;
}

.about-flow-card--pass {
  border-color: rgba(216, 20, 104, 0.22);
  background: rgba(252, 232, 241, 0.55);
}

.about-flow-card--pass h4 {
  color: var(--color-primary);
}

.about-flow-card--result {
  width: min(100%, 360px);
  min-height: 128px;
  grid-template-columns: 82px minmax(0, 1fr);
  justify-items: start;
  gap: 18px;
  border-color: rgba(192, 208, 0, 0.3);
  background: rgba(245, 248, 216, 0.55);
  text-align: left;
}

.about-flow-card--result h4 {
  color: var(--color-primary);
  font-size: 19px;
}

.about-flow__operator {
  display: inline-grid;
  place-items: center;
  color: var(--color-primary);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.about-flow__operator--equal {
  color: var(--color-secondary);
}

.about-diagram__note {
  margin: 22px 0 0;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--color-secondary-light);
  color: #1a6f7d;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.45;
  text-align: center;
}

.points .section-heading__label {
  color: var(--color-primary);
}

.points .section-heading h2 span {
  color: var(--color-primary);
  font-size: 1.35em;
}

.points__grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.point-card {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 100%;
  padding: 24px;
  border: 1px solid rgba(0, 184, 216, 0.18);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-card);
}

.point-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 18px;
  background: var(--color-bg-soft);
}

.point-card__body {
  display: grid;
  gap: 10px;
}

.point-card h3 {
  margin: 0;
  color: var(--color-primary);
  font-size: 19px;
  font-weight: 900;
  line-height: 1.45;
  text-align: center;
}

.point-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.75;
  text-align: center;
}

.points-cta {
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
  border: 1px solid rgba(0, 184, 216, 0.18);
  border-radius: var(--radius-md);
  background: rgba(230, 248, 251, 0.8);
}

.points-cta p {
  margin: 0;
  color: var(--color-text);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.55;
}

.points-cta .button {
  min-width: 292px;
}

.courses .section-heading__label {
  color: var(--color-primary);
}

.courses .section-heading h2 span {
  color: var(--color-primary);
}

.course-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.course-card {
  min-height: 100%;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(0, 184, 216, 0.18);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-card);
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.course-card:hover,
.course-card:focus-visible {
  border-color: rgba(216, 20, 104, 0.28);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-strong);
}

.course-card:focus-visible {
  outline: 3px solid rgba(0, 184, 216, 0.45);
  outline-offset: 4px;
}

.course-card img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  border-radius: 22px;
  background: var(--color-bg-soft);
}

.course-card h3 {
  margin: 0;
  color: var(--color-text);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.45;
}

.course-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.7;
}

.course-card span {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 900;
}

.course-card span::after {
  content: "›";
  font-size: 20px;
  line-height: 1;
}

.courses-cta {
  margin-top: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
  border: 1px solid rgba(0, 184, 216, 0.18);
  border-radius: var(--radius-md);
  background: rgba(230, 248, 251, 0.8);
}

.courses-cta p {
  margin: 0;
  color: var(--color-text);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.55;
}

.courses-cta .button {
  min-width: 292px;
}

.classroom__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(430px, 1fr);
  align-items: center;
  gap: clamp(42px, 7vw, 86px);
}

.classroom-photo {
  position: relative;
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(0, 184, 216, 0.2);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-card);
}

.classroom-photo::before,
.classroom-photo::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: var(--radius-md);
}

.classroom-photo::before {
  top: -18px;
  right: 38px;
  width: 112px;
  height: 70px;
  background: rgba(0, 184, 216, 0.12);
}

.classroom-photo::after {
  left: -18px;
  bottom: 52px;
  width: 72px;
  height: 72px;
  background: rgba(192, 208, 0, 0.2);
}

.classroom-photo img {
  width: 100%;
  aspect-ratio: 1.16 / 1;
  object-fit: cover;
  border-radius: 22px;
}

.classroom__content .section-heading h2::after {
  margin-left: 0;
  margin-right: 0;
}

.classroom-finder {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid rgba(0, 184, 216, 0.18);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-card);
}

.classroom-finder h3 {
  margin: 0;
  color: var(--color-text);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.45;
}

.classroom-finder p {
  margin: 8px 0 0;
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.75;
}

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

.prefecture-grid a {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid rgba(0, 184, 216, 0.22);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-text);
  font-size: 14px;
  font-weight: 900;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.prefecture-grid a::after {
  content: "›";
  color: var(--color-primary);
  font-size: 20px;
  line-height: 1;
}

.prefecture-grid a:hover,
.prefecture-grid a:focus-visible {
  border-color: rgba(216, 20, 104, 0.3);
  color: var(--color-primary);
  transform: translateY(-1px);
}

.prefecture-grid a:focus-visible {
  outline: 3px solid rgba(0, 184, 216, 0.45);
  outline-offset: 3px;
}

.classroom-cta {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.classroom-cta p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.classroom-cta .button {
  width: min(100%, 360px);
}

.flow .section-heading__label {
  color: var(--color-primary);
}

.flow .section-heading h2 span {
  color: var(--color-primary);
}

.flow-steps {
  position: relative;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.flow-steps::before {
  content: "";
  position: absolute;
  top: 33px;
  left: 10%;
  right: 10%;
  height: 3px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  opacity: 0.32;
}

.flow-card {
  position: relative;
  min-height: 100%;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 13px;
  padding: 0 18px 22px;
  border: 1px solid rgba(0, 184, 216, 0.18);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.flow-card__number {
  width: 66px;
  height: 66px;
  margin-top: -33px;
  display: grid;
  place-items: center;
  border: 6px solid #fff;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  box-shadow: var(--shadow-button);
}

.flow-card img {
  width: 100%;
  max-width: 138px;
  aspect-ratio: 1 / 1;
  margin-top: 2px;
  border-radius: 22px;
  object-fit: contain;
  background: var(--color-bg-soft);
}

.flow-card h3 {
  margin: 0;
  color: var(--color-primary);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.45;
}

.flow-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.75;
}

.flow-card:nth-child(even) .flow-card__number {
  background: var(--color-secondary);
  box-shadow: 0 8px 20px rgba(0, 184, 216, 0.18);
}

.flow-card:nth-child(3) .flow-card__number {
  background: var(--color-primary);
}

.flow-card:nth-child(4) .flow-card__number {
  background: #9aaa00;
  box-shadow: 0 8px 20px rgba(154, 170, 0, 0.18);
}

.flow-cta {
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
  border: 1px solid rgba(0, 184, 216, 0.18);
  border-radius: var(--radius-md);
  background: rgba(230, 248, 251, 0.8);
}

.flow-cta p {
  margin: 0;
  color: var(--color-text);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.55;
}

.flow-cta .button {
  min-width: 292px;
}

.rule .section-heading__label {
  color: var(--color-primary);
}

.rule .section-heading h2 span {
  color: var(--color-primary);
}

.rule-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.rule-card {
  min-height: 100%;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 30px;
  border: 1px solid rgba(0, 184, 216, 0.18);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-card);
}

.rule-card img {
  width: 150px;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  background: var(--color-bg-soft);
  object-fit: contain;
}

.rule-card__body {
  display: grid;
  gap: 9px;
}

.rule-card__label {
  width: fit-content;
  margin: 0;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--color-secondary-light);
  color: #1a6f7d;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.rule-card h3 {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 900;
  line-height: 1.22;
}

.rule-card h3 span {
  color: var(--color-primary);
}

.rule-card p:not(.rule-card__label) {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.75;
}

.rule-note {
  margin-top: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
  border: 1px solid rgba(0, 184, 216, 0.18);
  border-radius: var(--radius-md);
  background: rgba(230, 248, 251, 0.8);
}

.rule-note p {
  margin: 0;
  color: var(--color-text);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.55;
}

.rule-note .button {
  min-width: 292px;
}

.faq .section-heading__label {
  color: var(--color-primary);
}

.faq .section-heading h2 span {
  color: var(--color-primary);
}

.faq-list {
  width: min(100%, 860px);
  margin: 42px auto 0;
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid rgba(0, 184, 216, 0.18);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.faq-item summary {
  position: relative;
  min-height: 68px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 28px;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.55;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "-";
  background: var(--color-primary);
  color: #fff;
}

.faq-item__q {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.faq-item__answer {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  padding: 0 22px 20px;
  color: var(--color-text-muted);
}

.faq-item__answer span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-secondary-light);
  color: #1a6f7d;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.faq-item__answer p {
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
}

.faq-item summary:focus-visible {
  outline: 3px solid rgba(0, 184, 216, 0.45);
  outline-offset: -3px;
}

.final-cta {
  position: relative;
  isolation: isolate;
  padding: 72px 0;
  background:
    radial-gradient(circle at 10% 18%, rgba(0, 184, 216, 0.12) 0 72px, transparent 74px),
    linear-gradient(180deg, var(--color-bg-soft) 0%, #fff 100%);
  overflow: hidden;
}

.final-cta::before,
.final-cta::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.final-cta::before {
  top: 36px;
  right: max(16px, calc((100vw - var(--container-wide)) / 2));
  width: 92px;
  height: 92px;
  background-image: radial-gradient(rgba(0, 184, 216, 0.32) 2px, transparent 2px);
  background-size: 14px 14px;
}

.final-cta::after {
  left: max(18px, calc((100vw - var(--container-wide)) / 2 + 20px));
  bottom: 44px;
  width: 72px;
  height: 72px;
  border: 2px solid rgba(192, 208, 0, 0.34);
  border-radius: 50%;
}

.final-cta__inner {
  width: min(100% - 48px, var(--container-max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(0, 184, 216, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-card);
}

.final-cta__content {
  min-width: 0;
}

.final-cta__label {
  width: fit-content;
  margin: 0 0 14px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.final-cta h2 {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: 0;
}

.final-cta h2::after {
  content: "";
  display: block;
  width: 58px;
  height: 4px;
  margin-top: 18px;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
}

.final-cta__content > p:not(.final-cta__label) {
  max-width: 640px;
  margin: 22px 0 0;
  color: var(--color-text-muted);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.85;
}

.final-cta .button {
  margin-top: 28px;
}

.final-cta__points {
  padding: 0;
  margin: 22px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.final-cta__points li {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(0, 184, 216, 0.18);
  border-radius: var(--radius-pill);
  background: rgba(230, 248, 251, 0.76);
  color: var(--color-text);
  font-size: 13px;
  font-weight: 900;
}

.final-cta__points li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--color-secondary);
}

.final-cta__photo {
  position: relative;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(0, 184, 216, 0.2);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
}

.final-cta__photo::after {
  content: "";
  position: absolute;
  right: -14px;
  bottom: 28px;
  z-index: -1;
  width: 62px;
  height: 62px;
  border-radius: var(--radius-md);
  background: rgba(192, 208, 0, 0.22);
}

.final-cta__photo img {
  width: 100%;
  aspect-ratio: 1.24 / 1;
  object-fit: cover;
  border-radius: 22px;
}

.site-footer {
  border-top: 1px solid rgba(0, 184, 216, 0.18);
  background: #fff;
}

.site-footer__inner {
  width: min(100% - 48px, var(--container-max));
  margin: 0 auto;
  padding: 38px 0 26px;
}

.site-footer__brand {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.site-footer__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-footer__logo img {
  width: 164px;
  height: auto;
}

.site-footer__brand p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 700;
}

.site-footer__links {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 28px;
}

.site-footer__links a {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--color-text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.site-footer__links a::after {
  content: "›";
  color: var(--color-primary);
  font-size: 20px;
  line-height: 1;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
  color: var(--color-primary);
}

.site-footer__links a:focus-visible,
.site-footer__logo:focus-visible {
  outline: 3px solid rgba(0, 184, 216, 0.45);
  outline-offset: 4px;
}

.site-footer__copyright {
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  text-align: center;
  font-size: 11px;
  font-weight: 500;
}

@media (max-width: 1080px) {
  .site-header__nav {
    display: none;
  }

  .site-header__inner {
    width: min(100% - 32px, var(--container-wide));
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero__visual {
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
  }

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

  .about-diagram {
    max-width: 720px;
    width: 100%;
    margin: 0 auto;
  }

  .points__grid {
    grid-template-columns: 1fr;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }

  .point-card {
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: center;
  }

  .point-card h3,
  .point-card p {
    text-align: left;
  }

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

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

  .classroom-photo,
  .classroom__content {
    max-width: 720px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .flow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 46px;
  }

  .flow-steps::before {
    display: none;
  }

  .rule-card {
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 20px;
    padding: 24px;
  }

  .rule-card img {
    width: 128px;
  }

  .final-cta__inner {
    grid-template-columns: 1fr;
  }

  .final-cta__photo {
    max-width: 620px;
    width: 100%;
    margin: 0 auto;
  }

  .site-footer__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .site-header__inner {
    min-height: 64px;
  }

  #app {
    padding-top: 64px;
  }

  .site-header__logo img {
    width: 128px;
  }

  .button--header {
    min-width: 96px;
    min-height: 38px;
    padding: 0 14px;
    font-size: 13px;
  }

  .button--header::after {
    display: none;
  }

  .button--header {
    font-size: 0;
  }

  .button--header::before {
    content: "無料相談";
    font-size: 13px;
    transform: translateX(10%);
  }

  .hero {
    min-height: auto;
    padding: 42px 0 56px;
  }

  .hero__inner {
    width: min(100% - 40px, 560px);
    gap: 32px;
  }

  .hero__eyebrow {
    margin-bottom: 14px;
    font-size: 13px;
  }

  .hero h1 {
    font-size: clamp(26px, calc(10vw - 1rem), 34px);
    line-height: 1.22;
  }

  .hero h1::after {
    width: 54px;
    height: 4px;
    margin-top: 18px;
  }

  .hero__lead {
    margin-top: 22px;
    font-size: 15px;
    line-height: 1.8;
  }

  .hero__actions {
    margin-top: 26px;
  }

  .button--primary {
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
    font-size: 15px;
  }

  .hero__badges {
    margin-top: 22px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero__badges li {
    width: 100%;
    min-height: 40px;
    justify-content: flex-start;
    font-size: 13px;
  }

  .hero-photo {
    padding: 14px;
    border-radius: 22px;
  }

  .hero-photo img {
    aspect-ratio: 1.16 / 1;
    border-radius: 18px;
  }

  .hero-photo figcaption {
    min-height: 48px;
    padding: 0 16px;
    font-size: 14px;
    text-align: center;
  }

  .section {
    padding: 56px 0;
    scroll-margin-top: 64px;
  }

  .section__inner {
    width: min(100% - 40px, 560px);
  }

  .section-heading__label {
    margin-bottom: 8px;
    font-size: 11px;
  }

  .section-heading h2 {
    font-size: clamp(25px, 8vw, 34px);
    line-height: 1.28;
  }

  .section-heading h2::after {
    width: 48px;
    height: 4px;
    margin-top: 14px;
  }

  .section-heading p:not(.section-heading__label) {
    margin-top: 14px;
    font-size: 14px;
  }

  .section__decor--top {
    top: 36px;
    width: 54px;
    height: 54px;
  }

  .section__decor--dots {
    right: 16px;
    bottom: 20px;
    width: 72px;
    height: 72px;
    background-size: 13px 13px;
  }

  .problem__grid {
    margin-top: 28px;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .problem-card {
    min-height: 0;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
    border-radius: 14px;
  }

  .problem-card__icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
  }

  .problem-card h3 {
    font-size: 15px;
    line-height: 1.45;
  }

  .problem-card p {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.65;
  }

  .problem__message {
    margin-top: 24px;
    padding: 0 26px;
    font-size: 14px;
  }

  .problem__message::before,
  .problem__message::after {
    width: 14px;
  }

  .about__catch {
    margin-top: 22px;
    font-size: clamp(24px, 7.4vw, 30px);
    line-height: 1.55;
  }

  .about__text {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.85;
  }

  .about__benefits {
    margin-top: 26px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .about__benefits li {
    min-height: 112px;
    padding: 6px 12px;
    font-size: 16px;
  }

  .about__benefits img {
    width: 80px;
    height: 80px;
  }

  .about-diagram {
    padding: 22px 16px;
    border-radius: 22px;
  }

  .about-diagram__head {
    display: none;
  }

  .about-flow {
    margin-top: 0;
    gap: 12px;
  }

  .about-flow__row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .about-flow-card,
  .about-flow-card--result {
    min-height: 96px;
    grid-template-columns: 74px minmax(0, 1fr);
    justify-items: start;
    gap: 16px;
    padding: 14px 16px;
    text-align: left;
  }

  .about-flow-card img {
    width: 66px;
    height: 66px;
    border-radius: 20px;
  }

  .about-flow-card h4,
  .about-flow-card--result h4 {
    font-size: 21px;
    line-height: 1.35;
  }

  .about-flow__operator {
    width: 42px;
    height: 42px;
    justify-self: center;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-size: 30px;
    /*box-shadow: var(--shadow-button);*/
  }

  .about-flow__operator--equal {
    background: var(--color-secondary);
  }

  .about-diagram__note {
    margin-top: 18px;
    border-radius: var(--radius-md);
    font-size: 13px;
  }

  .points__grid {
    margin-top: 28px;
    gap: 16px;
  }

  .point-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
    border-radius: 14px;
  }

  .point-card img {
    border-radius: 16px;
  }

  .point-card h3,
  .point-card p {
    text-align: center;
  }

  .point-card h3 {
    font-size: 17px;
  }

  .point-card p {
    font-size: 13px;
  }

  .points-cta {
    margin-top: 20px;
    grid-template-columns: 1fr;
    justify-items: stretch;
    gap: 14px;
    padding: 16px;
  }

  .points-cta p {
    text-align: center;
    font-size: 13px;
  }

  .points-cta .button {
    min-width: 0;
    width: 100%;
  }

  .course-grid {
    margin-top: 28px;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .course-card {
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 18px;
    border-radius: 14px;
  }

  .course-card img {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    width: 100% !important;
  }

  .course-card h3 {
    font-size: 15px;
    width: 100% !important;
  }

  .course-card p {
    font-size: 12px;
    width: 100% !important;
  }

  .course-card span {
    font-size: 12px;
  }

  .courses-cta {
    margin-top: 20px;
    grid-template-columns: 1fr;
    justify-items: stretch;
    gap: 14px;
    padding: 16px;
  }

  .courses-cta p {
    text-align: center;
    font-size: 13px;
  }

  .courses-cta .button {
    min-width: 0;
    width: 100%;
  }

  .classroom__layout {
    gap: 30px;
  }

  .classroom-photo {
    padding: 14px;
    border-radius: 22px;
  }

  .classroom-photo img {
    aspect-ratio: 1.16 / 1;
    border-radius: 18px;
  }

  .classroom-finder {
    margin-top: 22px;
    padding: 18px;
    border-radius: 14px;
  }

  .classroom-finder h3 {
    font-size: 17px;
  }

  .classroom-finder p,
  .classroom-cta p {
    font-size: 13px;
  }

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

  .prefecture-grid a {
    min-height: 40px;
    font-size: 13px;
  }

  .classroom-cta .button {
    width: 100%;
  }

  .flow-steps {
    margin-top: 54px;
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .flow-card {
    grid-template-columns: 78px minmax(0, 1fr);
    justify-items: start;
    align-items: center;
    gap: 14px 16px;
    padding: 18px;
    border-radius: 14px;
    text-align: left;
  }

  .flow-card__number {
    position: absolute;
    top: -30px;
    left: 18px;
    width: 56px;
    height: 56px;
    margin-top: 0;
    border-width: 5px;
    font-size: 16px;
  }

  .flow-card img {
    grid-row: 1 / span 2;
    width: 76px;
    max-width: none;
    border-radius: 20px;
  }

  .flow-card h3 {
    align-self: end;
    padding-top: 14px;
    font-size: 16px;
  }

  .flow-card p {
    align-self: start;
    font-size: 13px;
  }

  .flow-cta {
    margin-top: 20px;
    grid-template-columns: 1fr;
    justify-items: stretch;
    gap: 14px;
    padding: 16px;
  }

  .flow-cta p {
    text-align: center;
    font-size: 13px;
  }

  .flow-cta .button {
    min-width: 0;
    width: 100%;
  }

  .rule-grid {
    margin-top: 28px;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .rule-card {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
    border-radius: 14px;
  }

  .rule-card img {
    width: 78px;
    border-radius: 20px;
  }

  .rule-card__body {
    gap: 7px;
  }

  .rule-card__label {
    padding: 4px 10px;
    font-size: 12px;
  }

  .rule-card h3 {
    font-size: 27px;
  }

  .rule-card p:not(.rule-card__label) {
    font-size: 13px;
  }

  .rule-note {
    margin-top: 20px;
    grid-template-columns: 1fr;
    justify-items: stretch;
    gap: 14px;
    padding: 16px;
  }

  .rule-note p {
    text-align: center;
    font-size: 13px;
  }

  .rule-note .button {
    min-width: 0;
    width: 100%;
  }

  .faq-list {
    margin-top: 28px;
    gap: 10px;
  }

  .faq-item {
    border-radius: 14px;
  }

  .faq-item summary {
    min-height: 60px;
    grid-template-columns: auto minmax(0, 1fr) 26px;
    gap: 10px;
    padding: 14px 14px;
    font-size: 14px;
  }

  .faq-item summary::after {
    width: 26px;
    height: 26px;
    font-size: 18px;
  }

  .faq-item__q,
  .faq-item__answer span {
    width: 34px;
    height: 34px;
    font-size: 12px;
  }

  .faq-item__answer {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    padding: 0 14px 16px;
  }

  .faq-item__answer p {
    margin-top: 2px;
    font-size: 13px;
  }

  .final-cta {
    padding: 56px 0;
  }

  .final-cta__inner {
    width: min(100% - 40px, 560px);
    gap: 24px;
    padding: 22px 16px;
    border-radius: 22px;
  }

  .final-cta__label {
    margin-left: auto;
    margin-right: auto;
    font-size: 12px;
  }

  .final-cta__content {
    text-align: center;
  }

  .final-cta h2 {
    font-size: clamp(26px, 7.8vw, 34px);
  }

  .final-cta h2::after {
    margin-left: auto;
    margin-right: auto;
  }

  .final-cta__content > p:not(.final-cta__label) {
    margin-top: 18px;
    font-size: 14px;
  }

  .final-cta .button {
    margin-top: 22px;
  }

  .final-cta__points {
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
  }

  .final-cta__points li {
    min-height: 32px;
    padding: 0 11px;
    font-size: 12px;
  }

  .final-cta__photo {
    padding: 12px;
    border-radius: 22px;
  }

  .final-cta__photo img {
    border-radius: 18px;
  }

  .site-footer__inner {
    width: min(100% - 40px, 560px);
    padding: 32px 0 22px;
  }

  .site-footer__logo img {
    width: 142px;
  }

  .site-footer__links {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .site-footer__links a {
    min-height: 44px;
    border-bottom: 1px solid var(--color-border);
    font-size: 13px;
  }
}

@media (max-width: 390px) {
  .site-header__inner {
    width: calc(100% - 24px);
    gap: 10px;
  }

  .site-header__logo img {
    width: 118px;
  }

  .button--header {
    min-width: 88px;
    padding: 0 12px;
  }

  .hero__inner {
    width: calc(100% - 32px);
  }

  .section__inner {
    width: calc(100% - 32px);
  }

  .problem-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 18px 16px;
  }

  .problem-card__icon {
    width: 68px;
    height: 68px;
  }

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

  .about__benefits li {
    min-height: 82px;
    grid-template-columns: 58px minmax(0, 1fr);
    justify-items: start;
    gap: 12px;
    text-align: left;
  }

  .about-flow-card,
  .about-flow-card--result {
    grid-template-columns: 64px minmax(0, 1fr);
    padding: 13px 14px;
  }

  .about-flow-card img {
    width: 58px;
    height: 58px;
  }

  .about-flow-card h4,
  .about-flow-card--result h4 {
    font-size: 18px;
  }

  .course-card {
    grid-template-columns: 100%;
    justify-items: center;
    text-align: center;
  }

  .rule-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .rule-card__label {
    justify-self: center;
  }

}
