/* ==================================================================
   ステライングリッシュ — メインスタイル
   モバイルファースト。SP レイアウトは後続で詳細実装予定。
================================================================== */

/* ------------------------------------------------------------------
   Design Tokens
------------------------------------------------------------------ */
:root {
  /* Colors */
  --color-primary:    #012081;
  --color-accent:     #AD1E2D;
  --color-navy-dark:  #1B2B54;
  --color-navy:       #3C4A70;
  --color-white:      #FFFFFF;
  --color-line:       #03AE49;
  --color-instagram:  #E4405F;
  --color-bg-soft:    #E1E9FE;
  --color-bg-cream:   #FBF7EC;
  --color-bg-sky:     #D8E3FF;

  /* Typography */
  --font-ja: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", sans-serif;
  --font-en: "Caveat", cursive;

  /* Layout */
  --container-max: 1240px;
  --container-gutter: 24px;
  --header-height: 80px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ------------------------------------------------------------------
   Base
------------------------------------------------------------------ */
html {
  font-size: 16px;
}

body {
  font-family: var(--font-ja);
  font-weight: 400;
  color: var(--color-navy-dark);
  background: var(--color-white);
  overflow-x: hidden;
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  padding: 8px 16px;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
  z-index: 1000;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 0;
}

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

/* ------------------------------------------------------------------
   Shared components
------------------------------------------------------------------ */
.en-title {
  font-family: var(--font-en);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}

.section-heading {
  position: relative;
  text-align: center;
  margin-bottom: 64px;
}

.section-heading__jp {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-navy-dark);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.section-heading__en {
  font-size: 72px;
  color: var(--color-primary);
}

.sp-only {
  display: none;
}

/* ------------------------------------------------------------------
   Hover primitives (per project rules)
------------------------------------------------------------------ */
.u-hover-line {
  position: relative;
  display: inline-block;
}
.u-hover-line::after {
  position: absolute;
  left: 0;
  bottom: -1px;
  content: "";
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform 0.3s var(--ease);
}
.u-hover-line:hover::after,
.u-hover-line:focus-visible::after {
  transform: scale(1, 1);
}

.u-hover-opacity {
  transition: opacity 0.3s var(--ease);
}
.u-hover-opacity:hover,
.u-hover-opacity:focus-visible {
  opacity: 0.7;
}

body.is-mobile-nav-open {
  overflow: hidden;
}

.site-header__menu-toggle,
.mobile-nav,
.hero-mobile-cta,
.concept__title-mobile {
  display: none;
}

.site-header__menu-toggle {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--color-accent);
  cursor: pointer;
}

.site-header__menu-line {
  display: block;
  width: 26px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transform-origin: center;
  /* Safari: opacity 0 でも中央バーの端が残ることがあるため合成を安定させる */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.mobile-nav[hidden] {
  display: none;
}

/* ==================================================================
   Site Header
================================================================== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: var(--color-white);
  z-index: 100;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.site-header.is-fixed {
  position: fixed;
  transform: translateY(-100%);
}
.site-header.is-fixed.is-visible {
  transform: translateY(0);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 24px;
  color: var(--color-navy-dark);
  transition: opacity 0.3s var(--ease);
}
.site-header__brand:hover,
.site-header__brand:focus-visible {
  opacity: 0.7;
}

.site-header__logo {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
}

.site-header__name {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.3;
}

.site-header__name-ja {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-header__name-sub {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-navy);
}

.global-nav {
  display: flex;
  align-items: center;
  height: 100%;
  margin: 0;
  padding: 0;
}

.global-nav__menu {
  display: flex;
  gap: 40px;
  align-items: center;
  margin: 0;
  padding: 0 24px 0 0;
}

.global-nav__menu li {
  margin: 0;
  padding: 0;
}

.global-nav__menu a {
  position: relative;
  display: inline-block;
  /* アンダーライン用に下のみ余白。上余白は付けない */
  padding: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-navy-dark);
}
.global-nav__menu a::after {
  position: absolute;
  left: 0;
  bottom: -1px;
  content: "";
  width: 100%;
  height: 2px;
  background: var(--color-accent);
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform 0.3s var(--ease);
}
.global-nav__menu a:hover::after,
.global-nav__menu a:focus-visible::after {
  transform: scale(1, 1);
}

.btn-line-header {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  width: 221px;
  background: var(--color-line);
  color: var(--color-white);
  font-size: 18px;
  font-weight: 700;
  transition: opacity 0.3s var(--ease);
}
.btn-line-header:hover,
.btn-line-header:focus-visible {
  opacity: 0.7;
}

/* ==================================================================
   Hero
   Figma: Desktop 1440px 基準（Hero_Section 630:8 ＋ 同階層の画像・キャッチ）
   座標は viewport 上端 0 とし、ヘッダー 80px 分を引いた hero__inner 内の top 値
================================================================== */
.hero {
  position: relative;
  padding-top: var(--header-height);
  background: linear-gradient(180deg, #ffffff 0%, var(--color-bg-soft) 100%);
  overflow: hidden;
}

.hero__inner {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  /* Hero_Section 下端 y=843 − ヘッダー 80px = 763px */
  min-height: 763px;
  height: 800px;
  padding: 0;
}

.hero__subtitle {
  position: absolute;
  z-index: 2;
  /* キャッチ画像（.hero__title-box）と左揃え、その直上 */
  left: 118px;
  top: 58px;
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-navy-dark);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.hero__title {
  position: absolute;
  z-index: 3; /* 人物画像レイヤー（.hero__visuals: z-index 2）より前面 */
  inset: 0;
  margin: 0;
  padding: 0;
  font-size: 46px;
  font-weight: 900;
  color: var(--color-navy-dark);
  letter-spacing: 0.02em;
  pointer-events: none;
}

/* キャッチ画像と「で」を下揃え */
.hero__title-catch-row {
  position: absolute;
  left: 118px;
  top: 102px;
  display: flex;
  align-items: flex-end;
  gap: 2px;
}

.hero__title-box {
  flex-shrink: 0;
  width: 686px;
  line-height: 0;
}

.hero__catchphrase-img {
  display: block;
  width: 686px;
  max-width: 100%;
  height: auto;
}

.hero__title-de {
  flex-shrink: 0;
  width: 47px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-navy-dark);
}

.hero__title-sub {
  position: absolute;
  left: 118px;
  top: 174px;
  width: max-content;
  height: 48px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--color-navy-dark);
}

/* Visuals — 人物写真ブロックはクラスター1つ＋gap で間隔調整 */
.hero__visuals {
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* ヒーロー人物画像は地球背景より前面 */
  z-index: 2;
}

.hero__visuals-cluster {
  position: absolute;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 20px;
  left: 250px;
  top: -28px;
  /* Safari: flex の order / 重なりで小さい円が背面扱いになるのを防ぐ */
  isolation: isolate;
}

.hero__visual {
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 50%;
}

.hero__rotator {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__rotator img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.15s ease-in-out;
  z-index: 0;
}

.hero__rotator img.is-active {
  opacity: 1;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero__rotator img {
    transition: none;
  }
}

/* 630:532 ellipse — クラスター左上は旧 note 基準。大きい円との縦関係は margin-top */
.hero__visual--main {
  width: 774px;
  height: 774px;
  z-index: 1;
}

.hero__visual--note {
  width: 322px;
  height: 322px;
  margin-top: 418px;
  box-shadow: 0 10px 30px rgba(27, 43, 84, 0.12);
  z-index: 2;
}

.earth-bg-area {
  position: relative;
  z-index: 1;
  margin-top: -186px;
  padding: 180px 0 96px;
  background: url("../images/bg/earth-blue.png") center top / 100% 100% no-repeat;
}

/* ==================================================================
   Course quick-nav
================================================================== */
.course-nav {
  position: relative;
  background: transparent;
  padding: 44px 0 80px;
}

.course-nav__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-gutter);
}

.course-nav__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 848px;
  margin-inline: auto;
}

.course-card__panel {
  position: relative;
  display: block;
  overflow: visible;
  cursor: default;
}

.course-card__tag {
  position: absolute;
  top: -44px;
  left: 0;
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  z-index: 2;
  border-radius: 50%;
  padding: 0;
  white-space: pre-line;
}
.course-card__tag--kinder,
.course-card__tag--elementary,
.course-card__tag--adult {
  background: var(--color-accent);
}
.course-card__tag--adult { font-size: 14px; }

.course-card__media {
  aspect-ratio: 266 / 148;
  overflow: hidden;
}
.course-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-card__title {
  min-height: 80px;
  padding: 8px 16px;
  background: var(--color-white);
  font-size: 18px;
  font-weight: 500;
  color: var(--color-navy-dark);
  text-align: center;
  line-height: 1.33;
}

.course-nav__more {
  position: relative;
  z-index: 3;
  margin-top: 24px;
  max-width: 848px;
  margin-inline: auto;
  text-align: right;
  padding-right: 0;
}
.course-nav__more a {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 264px;
  height: 48px;
  padding: 0 44px;
  border-radius: 32px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 18px;
  font-weight: 700;
}
.course-nav__more a::before {
  content: none;
}
.course-nav__more a::after {
  content: none;
}
.course-nav__more a:hover,
.course-nav__more a:focus-visible {
  opacity: 0.7;
}

/* ==================================================================
   Concept (English For Life)
================================================================== */
.concept {
  position: relative;
  padding: 0 0 100px;
  color: var(--color-white);
  background: transparent;
}
.concept::before {
  content: none;
}

.concept__inner {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-gutter);
  text-align: center;
  min-height: 580px;
}

.concept__title {
  margin-bottom: 36px;
}
.concept__title-img {
  display: block;
  width: min(100%, 965px);
  height: auto;
  margin-inline: auto;
}

.concept__text {
  max-width: 645px;
  margin-inline: auto;
  font-size: 26px;
  font-weight: 500;
  line-height: 2.31; /* Figma 60px / 26px */
  letter-spacing: 0.01em;
  color: var(--color-white);
  position: relative;
  z-index: 3; /* 装飾円より本文を前面に保つ */
}

.concept__visual {
  position: absolute;
  width: 220px;
  height: 220px;
  z-index: 1;
}
.concept__visual[data-animate-ready="true"] {
  opacity: 0;
  transform: translateY(48px);
  transition:
    opacity 1.3s ease-out,
    transform 1.3s ease-out;
}
.concept__visual--right[data-animate-ready="true"] {
  transition-delay: 0.14s;
}
.concept__visual.is-inview {
  opacity: 1;
  transform: translateY(0);
}
.concept__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
}
.concept__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.concept__visual--left  {
  left: 117px;
  top: 430px;
}
.concept__visual--left::before {
  background: var(--color-accent);
  transform: translate(-10px, 0);
}
.concept__visual--right {
  right: 133px;
  top: 320px;
}
.concept__visual--right::before {
  background: #EFFF33;
  transform: translate(10px, 0);
}
@media (prefers-reduced-motion: reduce) {
  .concept__visual[data-animate-ready="true"] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==================================================================
   3 Key Features
================================================================== */
.features {
  background: transparent;
  color: var(--color-navy-dark);
  padding: 100px 0 120px;
  position: relative;
  z-index: 2;
}

.features__inner {
  position: relative;
  z-index: 3;
  width: min(1120px, calc(100% - 120px));
  margin-inline: auto;
  background: var(--color-white);
  padding: 100px 0;
}

.features .section-heading__jp,
.features .section-heading__en {
  color: var(--color-navy-dark);
}
.features .section-heading {
  margin-bottom: 52px;
}
.features .section-heading__jp {
  position: relative;
  z-index: 2;
  font-size: 40px;
  line-height: 1.45;
  letter-spacing: 0;
  margin-bottom: 0;
}
.features__jp-accent {
  color: var(--color-accent);
}
.features .section-heading__en {
  position: relative;
  z-index: 1;
  margin-top: -42px;
  font-size: 96px;
  line-height: 1;
  font-weight: 400;
  color: #E7EAF3;
}

.features__list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: min(100%, 980px);
  margin-inline: auto;
  counter-reset: feature;
}

.feature-item {
  position: relative;
  display: grid;
  grid-template-columns: 456px minmax(0, 1fr);
  gap: 32px;
  align-items: stretch;
  color: var(--color-navy-dark);
  width: 100%;
}
.feature-item--right {
  grid-template-columns: minmax(0, 1fr) 456px;
}
.feature-item--right .feature-item__media { order: 2; }
.feature-item--right .feature-item__body  { order: 1; }

.feature-item__num {
  position: absolute;
  top: -46px;
  left: 8px;
  font-size: 96px;
  font-weight: 400;
  font-family: var(--font-en);
  color: var(--color-accent);
  line-height: 1;
  z-index: 4;
}
.feature-item--right .feature-item__num {
  left: auto;
  right: -8px;
}

.feature-item__media {
  height: 100%;
  overflow: hidden;
}
.feature-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* テキスト列の外側（画像寄り）は左右パディングなし */
.feature-item--left .feature-item__body,
.feature-item--right .feature-item__body {
  padding: 20px 0;
}

.feature-item__title {
  font-size: 25px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-navy-dark);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(1, 32, 129, 0.55);
  margin-bottom: 12px;
}

.feature-item__text {
  font-size: 16px;
  line-height: 1.56;
  color: var(--color-navy);
}

.features__note {
  margin-top: 24px;
  width: min(100%, 981px);
  margin-inline: auto;
  background: #EFEFEF;
  color: #333333;
  padding: 16px 77px;
  border-radius: 4px;
}

.features__note-title {
  font-size: 16px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 8px;
}

.features__note-text {
  font-size: 14px;
  line-height: 1.43;
  color: #333333;
}

/* ==================================================================
   Voice
================================================================== */
.voice {
  background: transparent;
  color: var(--color-navy-dark);
  padding: 0 0 300px;
  position: relative;
  overflow: hidden;
}
.voice .section-heading__jp,
.voice .section-heading__en {
  color: var(--color-white);
}
.voice .section-heading {
  margin-bottom: 44px;
}
.voice .section-heading__jp {
  font-size: 40px;
  letter-spacing: 0;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}
.voice .section-heading__en {
  margin-top: -42px;
  font-size: 96px;
  line-height: 1;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.24);
  position: relative;
  z-index: 1;
}

.voice__heading-wrap {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-gutter);
}

/* Photo strip (infinite marquee) */
.voice__strip {
  position: relative;
  z-index: 2;
  overflow: hidden;
  margin: 0 0 68px;
}

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

.voice__strip-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: voice-marquee 60s linear infinite;
}
.voice__strip-track li {
  flex-shrink: 0;
  width: 366px;
  height: 293px;
  overflow: hidden;
}
.voice__strip-track li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
  .voice__strip-track {
    animation: none;
  }
}

/* Reviews */
.voice__reviews-wrap {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-gutter);
}

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

.review-card {
  position: relative;
  display: flex;
  align-items: center;
  background: transparent;
  color: var(--color-navy-dark);
  border-radius: 0;
  padding: 0px 28px 46px;
  min-height: 300px;
  box-shadow: none;
}

.review-card > picture {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.review-card::before {
  content: none;
}
.review-card::after {
  content: none;
}

.review-card__bg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: auto;
  pointer-events: none;
}

.review-card__text {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--color-navy);
}

/* ==================================================================
   Pricing
================================================================== */
.pricing {
  position: relative;
  background: var(--color-white);
  /* 下側楕円が pricing 上に重なるため、見出しと重ならない余白を確保 */
  padding: 120px 0 140px;
  overflow: hidden;
}
.pricing::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-white);
  z-index: 0;
  pointer-events: none;
}

.pricing__inner {
  position: relative;
  /* 地球背景エリアより前面にコンテンツを配置 */
  z-index: 2;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-gutter);
}

.pricing .section-heading {
  margin-bottom: 34px;
}
.pricing .section-heading__jp {
  color: var(--color-primary);
  font-size: 40px;
  line-height: 1.3;
  letter-spacing: 0;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}
.pricing .section-heading__en {
  margin-top: -22px;
  color: #E7EAF3;
  font-size: 96px;
  line-height: 1;
  font-weight: 400;
  position: relative;
  z-index: 1;
}

.pricing__table-wrap {
  position: relative;
  max-width: 996px;
  margin: 0 auto 48px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.pricing__deco-note {
  position: absolute;
  top: -188px;
  right: -110px;
  width: 266px;
  height: auto;
  z-index: 1;
  pointer-events: none;
}

.pricing-table {
  position: relative;
  z-index: 2;
  width: 100%;
  border-collapse: separate;
  border-spacing: 5px;
  table-layout: fixed;
}
.pricing-table__col--class { width: 45.18%; } /* 450 / 996 */
.pricing-table__col--time  { width: 24.1%; }  /* 240 / 996 */
.pricing-table__col--price { width: 29.12%; } /* 290 / 996 */

.pricing-table th,
.pricing-table td {
  border: 0;
}

.pricing-table thead {
  background: transparent;
  color: inherit;
}
.pricing-table thead th {
  background: #012081;
  height: 90px;
  padding: 0 12px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--color-white);
  text-align: center;
}

.pricing-table tbody tr:nth-child(odd) th[scope="row"],
.pricing-table tbody tr:nth-child(odd) td {
  background: #E7EAF3;
}
.pricing-table tbody tr:nth-child(even) th[scope="row"],
.pricing-table tbody tr:nth-child(even) td {
  background: #E2E8FD;
}

.pricing-table th[scope="row"] {
  height: 90px;
  padding: 0 16px;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  color: var(--color-navy-dark);
}

.pricing-table td {
  height: 90px;
  padding: 0 12px;
  text-align: center;
  font-size: 28px;
  font-weight: 400;
  color: #3C4A70;
}

.pricing-table__price {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}
.pricing-table__unit {
  font-size: inherit;
  color: inherit;
  margin-left: 0;
}

/* Pricing banner */
.pricing__banner {
  position: relative;
  display: block;
  max-width: 996px;
  margin: 0 auto;
  height: 171px;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}
.pricing__banner::before {
  content: "";
  position: absolute;
  inset: 0;
  /* 左 #0130C5 → 右 #012081、全体 70% 不透明度 */
  background: linear-gradient(
    90deg,
    rgba(1, 48, 197, 0.7) 0%,
    rgba(1, 32, 129, 0.7) 100%
  );
  z-index: 1;
  pointer-events: none;
  transition: background 0.3s var(--ease);
}
.pricing__banner:hover::before,
.pricing__banner:focus-visible::before {
  background: linear-gradient(
    90deg,
    rgba(1, 48, 197, 0.9) 0%,
    rgba(1, 32, 129, 0.9) 100%
  );
}

.pricing__banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  z-index: 0;
}

.pricing__banner-people {
  position: absolute;
  left: 0px;
  bottom: 0;
  width: 410px;
  height: 211px;
  object-fit: contain;
  z-index: 2;
}

.pricing__banner-body {
  position: absolute;
  right: 74px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-white);
  text-align: right;
  z-index: 3;
}

.pricing__banner-title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 6px;
}

.pricing__banner-link {
  font-size: 24px;
  font-weight: 700;
}

.pricing__deco--book {
  position: absolute;
  left: clamp(-128px, -9vw, -76px);
  bottom: clamp(-16px, -2vw, 8px);
  width: 170px;
  height: auto;
  opacity: 1;
  z-index: 1;
  pointer-events: none;
}

/* ==================================================================
   Staff
================================================================== */
.staff {
  position: relative;
  padding: 80px 0 120px;
  background: var(--color-white);
  overflow: hidden;
}

.staff__inner {
  position: relative;
  max-width: 1220px;
  margin-inline: auto;
  padding-inline: var(--container-gutter);
}

.staff .section-heading {
  margin-bottom: 52px;
}
.staff .section-heading__jp {
  font-size: 40px;
  color: var(--color-primary);
  line-height: 1.3;
  letter-spacing: 0;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}
.staff .section-heading__en {
  margin-top: -22px;
  font-size: 96px;
  font-weight: 400;
  color: #E7EAF3;
  line-height: 1;
  position: relative;
  z-index: 1;
}

.staff__flag {
  position: absolute;
  top: 60px;
  left: 0;
  width: 170px;
  height: auto;
  pointer-events: none;
}

.staff__deco {
  position: absolute;
  top: 120px;
  right: 72px;
  width: 158px;
  height: auto;
  pointer-events: none;
}

.staff__grid {
  display: grid;
  grid-template-columns: 488px 490px;
  gap: 40px;
  justify-content: center;
  align-items: stretch;
}

.staff-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: transparent;
  border-radius: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
}

.staff-card--wide {
  grid-row: auto;
}

.staff-card__header {
  padding-bottom: 10px;
  border-bottom: 1px solid #7F889F;
  margin-bottom: 14px;
}

.staff-card__role {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-navy-dark);
  margin-bottom: 2px;
}

.staff-card__name {
  font-size: 20px;
  font-weight: 400;
  color: var(--color-primary);
  line-height: 1.3;
}

.staff-card__photo {
  display: none;
}

.staff-card__intro {
  font-size: 16px;
  line-height: 1.62;
  color: var(--color-navy);
  margin-bottom: 10px;
}

.staff-card__section + .staff-card__section {
  margin-top: 12px;
}

.staff-card__subtitle {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-navy-dark);
  margin-bottom: 8px;
}

.staff-card__text {
  font-size: 16px;
  line-height: 1.62;
  color: var(--color-navy);
}

.staff-card__list {
  margin: 0;
  padding-left: 20px;
  list-style: disc;
  list-style-position: outside;
}
.staff-card__list li {
  font-size: 16px;
  line-height: 1.62;
  color: var(--color-navy);
}

.staff-note {
  background: #E7EAF3;
  border-radius: 0;
  padding: 16px;
}

.staff-card--director .staff-note {
  margin-top: auto;
}

.staff-note__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.staff-note__text {
  font-size: 16px;
  line-height: 1.62;
  color: var(--color-navy);
}

/* ==================================================================
   FAQ
================================================================== */
.faq {
  position: relative;
  z-index: 1;
  padding: 180px 0 150px;
  background: var(--color-white);
  overflow: hidden;
}

.faq__bg {
  position: absolute;
  left: 0;
  top: 0;
  transform: none;
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center center;
  z-index: 1;
  pointer-events: none;
}

.faq__inner {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: var(--container-gutter);
}

.faq .section-heading {
  margin-bottom: 52px;
}
.faq .section-heading__jp {
  font-size: 40px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0;
  margin-bottom: 0;
  line-height: 1.4;
}
.faq .section-heading__en {
  margin-top: -18px;
  font-size: 96px;
  color: #C2C9E1;
  font-weight: 400;
  line-height: 1;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: min(100%, 996px);
  margin-inline: auto;
}

.faq-item {
  background: var(--color-white);
  border: 1px solid #012081;
  border-radius: 0;
  padding: 24px 23px;
  box-shadow: none;
}

.faq-item__q {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px dotted rgba(1, 32, 129, 0.55);
}

.faq-item__q-mark {
  font-family: var(--font-en);
  font-size: 48px;
  color: var(--color-primary);
  line-height: 1;
}
.faq-item__q-text {
  font-size: 26px;
  font-weight: 700;
  padding-top: 0;
  color: #012081;
  line-height: 1.25;
}

.faq-item__a {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 16px;
}

.faq-item__a-mark {
  font-family: var(--font-en);
  font-size: 48px;
  color: var(--color-accent);
  line-height: 1;
}

.faq-item__a-text {
  font-size: 20px;
  line-height: 1.7;
  color: #445896;
  padding-top: 0;
}

.faq__object {
  position: absolute;
  right: -130px;
  bottom: -130px;
  width: 160px;
  height: auto;
  pointer-events: none;
}

.faq-item--last {
  position: relative;
}

/* ==================================================================
   Access
================================================================== */
.access {
  padding: 88px 0 120px;
  background: var(--color-white);
}

.access__inner {
  max-width: 1220px;
  margin-inline: auto;
  padding-inline: var(--container-gutter);
}

.access .section-heading {
  margin-bottom: 46px;
}
.access .section-heading__jp {
  font-size: 40px;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--color-primary);
  margin-bottom: 0;
}
.access .section-heading__en {
  margin-top: -22px;
  font-size: 96px;
  line-height: 1;
  font-weight: 400;
  color: #E7EAF3;
}

.access__row {
  display: grid;
  grid-template-columns: 549px 413px;
  column-gap: 34px;
  row-gap: 21px;
  width: min(100%, 996px);
  margin-inline: auto;
  align-items: start;
}

.access__info {
  grid-column: 1;
  grid-row: 1;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.access__col--media {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: start;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
}

.access__place {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-navy-dark);
  margin-bottom: 16px;
}

.access__address-list {
  margin: 0;
  padding-left: 20px;
  list-style: disc;
  list-style-position: outside;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-navy);
}
.access__address-list li + li {
  margin-top: 2px;
}
.access__address-list strong {
  font-weight: 700;
  color: var(--color-navy-dark);
}

.access__map-card {
  grid-column: 1;
  grid-row: 2;
  display: block;
  max-width: 366px;
  margin: 0 auto;
  width: 366px;
  height: auto;
}

.access__photo {
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 413 / 264;
}
.access__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.access__map {
  margin-top: 21px;
  width: min(100%, 996px);
  height: 369px;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 0;
}
.access__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.access__more {
  margin-top: 16px;
  width: min(100%, 996px);
  margin-inline: auto;
  text-align: right;
}
.access__more a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-navy-dark);
  transition: opacity 0.3s var(--ease);
}
.access__more a:hover,
.access__more a:focus-visible {
  opacity: 0.7;
}

/* ==================================================================
   CTA
================================================================== */
.cta {
  position: relative;
  padding: 74px 0;
  color: var(--color-white);
  overflow: hidden;
  isolation: isolate;
}

.cta__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(1, 32, 129, 0.1) 0%, rgba(1, 32, 129, 1) 100%);
  z-index: -1;
}

.cta__inner {
  position: relative;
  max-width: 1150px;
  margin-inline: auto;
  padding-inline: 0;
}

.cta__card {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 348px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--color-navy-dark);
  border-radius: 14px;
  padding: 34px 90px 56px;
  box-shadow: none;
}

.cta__plane {
  position: absolute;
  right: 10px;
  bottom: -60px;
  width: 98px;
  height: auto;
  z-index: 3;
  pointer-events: none;
}

.cta__title {
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  color: var(--color-navy-dark);
  margin-bottom: 24px;
  letter-spacing: 0;
}

.cta__body {
  display: grid;
  grid-template-columns: 473px 444px;
  gap: 25px;
  justify-content: center;
}

.cta__body-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: center;
}

.cta__lead {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-navy-dark);
  margin-bottom: 14px;
  line-height: 1.3;
}

.btn-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 91px;
  border-radius: 49.875px;
  color: var(--color-white);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0;
  transition: opacity 0.3s var(--ease);
  box-shadow: none;
}
.btn-contact:hover,
.btn-contact:focus-visible {
  opacity: 0.7;
}
.btn-contact--line {
  background: #03AE49;
}
.btn-contact--line span {
  font-size: 28px;
  font-weight: 700;
}
.btn-contact--ig {
  background: var(--color-accent);
}
.btn-contact--ig span {
  font-family: "Times New Roman", serif;
  font-size: 28px;
  font-weight: 700;
}

/* ==================================================================
   Site Footer
================================================================== */
.site-footer {
  position: relative;
  background: var(--color-primary);
  color: var(--color-white);
  min-height: 257px;
  padding: 19px 0 29px;
  overflow: hidden;
}

.site-footer__inner {
  position: relative;
  width: min(1192px, calc(100% - 80px));
  margin-inline: auto;
  padding: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 46px 32px;
  align-items: start;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 20px;
  grid-row: 1;
  grid-column: 1;
}

.site-footer__logo {
  width: 142px;
  height: 142px;
  flex-shrink: 0;
}

.site-footer__name {
  width: 320px;
  text-align: center;
}

.site-footer__name-ja {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
}

.site-footer__name-sub {
  margin-top: 2px;
  font-size: 18px;
  line-height: 1.4;
  color: var(--color-white);
}

.site-footer__side {
  grid-row: 1;
  grid-column: 2;
  justify-self: end;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 26px;
  padding-top: 72px;
}

.site-footer__sns {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 0;
  flex-shrink: 0;
}

.site-footer__sns li {
  display: flex;
  align-items: center;
  line-height: 0;
}

.site-footer__sns a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--color-white);
  background: transparent;
  border-radius: 50%;
  transition: opacity 0.3s var(--ease);
}
.site-footer__sns a:hover,
.site-footer__sns a:focus-visible {
  opacity: 0.7;
}
.site-footer__sns-icon {
  width: 38px;
  height: 38px;
}

.site-footer__banner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #AD1E2D;
  color: var(--color-white);
  padding: 24px;
  border-radius: 0;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  transition: opacity 0.3s var(--ease);
}

.site-footer__banner:hover,
.site-footer__banner:focus-visible {
  opacity: 0.7;
}

.site-footer__nav {
  grid-row: 2;
  grid-column: 2;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 27px;
  padding-top: 0;
  border-top: 0;
}

.site-footer__nav a {
  display: inline-block;
  font-size: 20px;
  font-weight: 400;
  color: var(--color-white);
  padding: 0;
  line-height: 1.25;
  white-space: nowrap;
  transition: opacity 0.3s var(--ease);
}
.site-footer__nav a:hover,
.site-footer__nav a:focus-visible {
  opacity: 0.7;
}

.site-footer__policy {
  grid-row: 2;
  grid-column: 1;
  align-self: center;
  text-align: left;
  font-size: 14px;
  line-height: 1.4;
}
.site-footer__policy a {
  color: var(--color-white);
  transition: opacity 0.3s var(--ease);
}
.site-footer__policy a:hover,
.site-footer__policy a:focus-visible {
  opacity: 0.7;
}

.site-footer__object {
  position: absolute;
  left: calc(40% + 16px);
  top: 19px;
  width: 160px;
  height: 194px;
  opacity: 1;
  pointer-events: none;
}

@media (min-width: 1211px) and (max-width: 1439px) {
  .hero__visuals-cluster {
    left: 0;
    right: 0;
    top: 60px;
    margin-inline: auto;
    width: max-content;
    gap: 8px;
  }

  .hero__visual--main {
    width: 700px;
    height: 700px;
  }

  .hero__visual--note {
    width: 300px;
    height: 300px;
    margin-top: 400px;
  }
}

@media (min-width: 768px) and (max-width: 1210px) {
  :root {
    --container-max: 1000px;
    --container-gutter: 32px;
  }

  html {
    scroll-padding-top: var(--header-height);
  }

  .section-heading {
    margin-bottom: 44px;
  }

  .section-heading__jp {
    font-size: clamp(28px, 3.4vw, 36px);
    line-height: 1.35;
    letter-spacing: 0;
  }

  .section-heading__en {
    font-size: clamp(56px, 7vw, 80px);
  }

  .site-header__brand {
    gap: 8px;
    padding: 10px 18px;
  }

  .site-header__logo {
    width: 48px;
    height: 48px;
  }

  .site-header__name-ja {
    font-size: 18px;
  }

  .site-header__name-sub {
    font-size: 12px;
  }

  .global-nav__menu {
    gap: 18px;
    padding-right: 16px;
  }

  .global-nav__menu a {
    font-size: 14px;
    white-space: nowrap;
  }

  .btn-line-header {
    width: 178px;
    padding-inline: 12px;
    font-size: 14px;
    text-align: center;
  }

  .earth-bg-area {
    margin-top: -150px;
    padding: 174px 0 88px;
    background-image: url("../images/bg/earth-blue-sp.png");
  }

  .hero__inner {
    max-width: none;
    min-height: clamp(600px, 58vw, 700px);
    height: 700px;
  }

  .hero__subtitle,
  .hero__title-catch-row,
  .hero__title-sub {
    left: clamp(32px, 7vw, 84px);
  }

  .hero__subtitle {
    top: 44px;
    font-size: clamp(24px, 3vw, 30px);
  }

  .hero__title-catch-row {
    top: 86px;
  }

  .hero__title-box,
  .hero__catchphrase-img {
    width: clamp(420px, 52vw, 610px);
  }

  .hero__title-de {
    width: clamp(28px, 3vw, 40px);
    font-size: clamp(28px, 3.8vw, 40px);
  }

  .hero__title-sub {
    top: 150px;
    font-size: clamp(30px, 4vw, 38px);
  }

  .hero__visuals-cluster {
    left: 0;
    right: 0;
    top: 40px;
    margin-inline: auto;
    width: max-content;
    gap: 0px;
  }

  .hero__visual--main {
    width: 600px;
    height: 600px;
  }

  .hero__visual--note {
    width: 220px;
    height: 220px;
    margin-top: 420px;
  }

  .course-nav {
    padding: 56px 0 90px;
  }

  .course-nav__list,
  .course-nav__more {
    max-width: 100%;
  }

  .course-nav__list {
    gap: 18px;
  }

  .course-card__tag {
    top: -36px;
    width: 74px;
    height: 74px;
    font-size: 14px;
  }

  .course-card__tag--adult {
    font-size: 13px;
  }

  .course-card__title {
    min-height: 76px;
    padding: 10px 8px;
    font-size: 16px;
  }

  .concept {
    padding-bottom: 80px;
  }

  .concept__inner {
    min-height: 520px;
  }

  .concept__title-img {
    width: min(86vw, 820px);
  }

  .concept__text {
    max-width: 560px;
    font-size: 22px;
    line-height: 2.05;
  }

  .concept__visual {
    width: 160px;
    height: 160px;
  }

  .concept__visual--left {
    left: 36px;
    top: 390px;
  }

  .concept__visual--right {
    right: 36px;
    top: 320px;
  }

  .features {
    padding: 80px 0 96px;
  }

  .features__inner {
    width: calc(100% - 64px);
    padding: 76px 32px;
  }

  .features .section-heading__jp {
    font-size: clamp(30px, 3.8vw, 36px);
  }

  .features .section-heading__en,
  .voice .section-heading__en,
  .pricing .section-heading__en,
  .staff .section-heading__en,
  .faq .section-heading__en,
  .access .section-heading__en {
    font-size: clamp(64px, 7vw, 82px);
  }

  .features__list {
    width: 100%;
  }

  .feature-item {
    grid-template-columns: minmax(280px, 42%) minmax(0, 1fr);
    gap: 24px;
  }

  .feature-item--right {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 42%);
  }

  .feature-item__num {
    top: -40px;
    font-size: 82px;
  }

  .feature-item__media {
    aspect-ratio: 456 / 304;
    height: auto;
  }

  .feature-item__title {
    font-size: 22px;
  }

  .features__note {
    width: 100%;
    padding: 16px 32px;
  }

  .voice {
    padding-bottom: 190px;
  }

  .voice .section-heading__jp,
  .pricing .section-heading__jp,
  .staff .section-heading__jp,
  .faq .section-heading__jp,
  .access .section-heading__jp {
    font-size: clamp(30px, 3.8vw, 36px);
  }

  .voice__strip-track li {
    width: 300px;
    height: 240px;
  }

  .voice__reviews {
    grid-template-columns: 1fr;
    row-gap: 28px;
    max-width: 560px;
    margin-inline: auto;
  }

  .review-card {
    padding: 0;
    min-height: 260px;
  }

  .review-card__bg {
    width: 560px;
    max-width: 100%;
  }

  .review-card__text {
    position: absolute;
    left: 0;
    right: 0;
    top: 88px;
    bottom: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    padding: 0 64px;
    overflow: hidden;
    font-size: 20px;
    line-height: 1.65;
    text-align: center;
  }

  .review-card:nth-child(1) {
    height: 485px;
  }

  .review-card:nth-child(2) {
    height: 389px;
  }

  .review-card:nth-child(3) {
    height: 518px;
  }

  /* 左右だけ画像下部に人物があり高さが増える。フル画像の中央では吹き出しとずれるため、bottom を足して中央カードと同じテキスト領域の高さに揃える */
  .review-card:nth-child(1) .review-card__text {
    bottom: 180px;
  }

  .review-card:nth-child(3) .review-card__text {
    bottom: 177px;
  }

  .pricing {
    padding: 110px 0 110px;
  }

  .pricing__table-wrap,
  .pricing__banner {
    max-width: 100%;
  }

  .pricing__deco-note {
    top: -132px;
    right: 0;
    width: 180px;
  }

  .pricing-table thead th,
  .pricing-table th[scope="row"],
  .pricing-table td {
    font-size: clamp(20px, 2.4vw, 24px);
  }

  .pricing__banner {
    height: clamp(140px, 16vw, 171px);
  }

  .pricing__banner-people {
    width: clamp(300px, 36vw, 380px);
    height: auto;
  }

  .pricing__banner-body {
    right: clamp(32px, 6vw, 60px);
  }

  .pricing__banner-title {
    font-size: clamp(30px, 3.5vw, 36px);
  }

  .pricing__banner-link {
    font-size: clamp(18px, 2.3vw, 22px);
  }

  .pricing__deco--book {
    width: 130px;
  }

  .staff {
    padding: 80px 0 100px;
  }

  .staff__flag {
    left: 24px;
    width: 120px;
  }

  .staff__deco {
    position: static;
    width: 118px;
  }

  .staff__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }

  .staff-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .staff-card__heading-text {
    min-width: 0;
  }

  .staff-card__header picture {
    flex-shrink: 0;
    line-height: 0;
  }

  .staff-card__header picture {
    flex-shrink: 0;
    line-height: 0;
  }

  .staff__flag {
    position: static;
    width: 88px;
    flex-shrink: 0;
  }

  .staff__deco {
    flex-shrink: 0;
  }

  .faq {
    padding: 130px 0 120px;
  }

  .faq__inner {
    max-width: 1000px;
  }

  .faq-item__q-text {
    font-size: 23px;
  }

  .access__row {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    column-gap: 32px;
    row-gap: 32px;
    width: 100%;
  }

  .access__map-card {
    width: min(100%, 330px);
  }

  .access__map,
  .access__more {
    width: 100%;
  }

  .cta__inner {
    padding-inline: var(--container-gutter);
  }

  .cta__card {
    padding: 34px 42px 48px;
  }

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

  .btn-contact,
  .btn-contact--line span,
  .btn-contact--ig span {
    font-size: 24px;
  }

  .site-footer__inner {
    width: calc(100% - 64px);
    grid-template-columns: minmax(0, auto) minmax(0, 1fr);
    gap: 32px 24px;
  }

  .site-footer__logo {
    width: 104px;
    height: 104px;
  }

  .site-footer__name {
    width: 260px;
  }

  .site-footer__name-ja {
    font-size: 24px;
  }

  .site-footer__name-sub {
    font-size: 15px;
  }

  .site-footer__side {
    gap: 18px;
    padding-top: 48px;
  }

  .site-footer__banner {
    padding: 18px 20px;
    font-size: 17px;
    white-space: nowrap;
  }

  .site-footer__nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 14px 22px;
  }

  .site-footer__nav a {
    font-size: 17px;
  }

  .site-footer__object {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  :root {
    --header-height: 72px;
    /* 下固定CTAの行高（セーフエリア除く）: min-height 56 + padding 12×2 */
    --hero-mobile-cta-bar-height: 80px;
  }

  .site-header,
  .site-header.is-fixed,
  .site-header.is-fixed.is-visible {
    position: fixed;
    transform: none;
  }

  .site-header {
    box-shadow: 0 2px 10px rgba(27, 43, 84, 0.08);
  }

  .global-nav {
    display: none;
  }

  .site-header__inner {
    padding-inline: 24px;
  }

  .site-header__brand {
    padding-inline: 0;
  }

  .site-header__menu-toggle {
    width: 34px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;
  }

  .site-header__menu-line {
    width: 34px;
    transition:
      transform 0.3s var(--ease),
      opacity 0.3s var(--ease);
  }

  .site-header.is-menu-open .site-header__menu-line:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
  }

  .site-header.is-menu-open .site-header__menu-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .site-header.is-menu-open .site-header__menu-line:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
  }

  .mobile-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    z-index: 110;
    display: block;
    width: 100%;
    height: calc(100dvh - var(--header-height));
    padding: 56px var(--container-gutter) 64px;
    overflow-y: auto;
    background: var(--color-primary);
  }

  .mobile-nav__menu {
    width: min(100%, 520px);
    margin: 0 auto;
    padding: 0;
    list-style: none;
  }

  .mobile-nav__menu a {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    min-height: 48px;
    padding: 0 40px 18px 0;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.45);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
    color: var(--color-white);
  }

  .mobile-nav__menu a::after {
    position: absolute;
    top: 2px;
    right: 0;
    width: 26px;
    height: 26px;
    content: "";
    border-top: 3px solid currentColor;
    border-right: 3px solid currentColor;
    transform: rotate(45deg) scale(0.5);
    transform-origin: center;
  }

  .mobile-nav__menu li + li {
    margin-top: 18px;
  }

  .mobile-nav__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(100%, 520px);
    margin: 28px auto 0;
  }

  .mobile-nav__action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 12px 20px;
    border-radius: 999px;
    color: var(--color-white);
    font-size: 16px;
    font-weight: 700;
    text-align: center;
  }

  .mobile-nav__action--course {
    background: var(--color-accent);
  }

  .mobile-nav__contact-label {
    margin: 36px 0 16px;
    font-size: 17px;
    font-weight: 700;
    color: var(--color-white);
    text-align: center;
  }

  .mobile-nav__action--line {
    background: var(--color-line);
  }

  .mobile-nav__action--instagram {
    min-height: 52px;
    margin-top: 18px;
    background: var(--color-accent);
    font-family: "Times New Roman", serif;
    font-size: 26px;
    line-height: 1;
  }

  .earth-bg-area {
    padding-top: 160px;
  }

  .hero-mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-shadow: 0 -2px 16px rgba(27, 43, 84, 0.12);
  }

  .hero-mobile-cta__link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 12px 16px;
    color: var(--color-white);
    font-size: 16px;
    font-weight: 700;
    text-align: center;
  }

  .hero-mobile-cta__link--course {
    background: var(--color-accent);
  }

  .hero-mobile-cta__link--line {
    background: var(--color-line);
  }

  .hero__title-box,
  .hero__catchphrase-img {
    width: clamp(390px, 56vw, 520px);
  }

  .hero__visuals-cluster {
    left: 0;
    right: 0;
    top: 40px;
    margin-inline: auto;
    width: max-content;
    gap: 0px;
  }

  .hero__visual--main {
    width: 600px;
    height: 600px;
  }

  .hero__visual--note {
    width: 220px;
    height: 220px;
    margin-top: 420px;
    left: 30px;
  }

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

  .features__inner {
    width: calc(100% - 48px);
    padding-inline: 28px;
  }

  .feature-item,
  .feature-item--right {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature-item--right .feature-item__media,
  .feature-item--right .feature-item__body {
    order: initial;
  }

  .feature-item--right .feature-item__num {
    left: 8px;
    right: auto;
  }

  .feature-item__media {
    aspect-ratio: 16 / 9;
  }

  .voice {
    padding-bottom: 120px;
  }

  .voice__reviews {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }

  .review-card {
    min-height: 230px;
  }

  .pricing__deco-note {
    top: -104px;
    width: 140px;
  }

  .pricing__banner-people {
    width: 290px;
  }

  .pricing__banner-body {
    right: 28px;
  }

  .pricing__banner-title {
    font-size: 28px;
  }

  .staff__grid,
  .access__row,
  .cta__body {
    grid-template-columns: 1fr;
  }

  .staff__grid {
    max-width: 680px;
    margin-inline: auto;
  }

  .access__row {
    max-width: 680px;
  }

  .access__info {
    grid-column: 1;
    grid-row: 1;
  }

  .access__col--media {
    grid-column: 1;
    grid-row: 2;
  }

  .access__map-card {
    grid-column: 1;
    grid-row: 3;
    margin-inline: auto;
  }

  .cta__card {
    max-width: 680px;
    margin-inline: auto;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 22px;
    text-align: center;
  }

  .site-footer__brand {
    justify-content: center;
    grid-column: auto;
    grid-row: auto;
  }

  .site-footer__side,
  .site-footer__nav {
    justify-self: center;
    justify-content: center;
    grid-column: auto;
    grid-row: auto;
    padding-top: 0;
  }

  .site-footer__policy {
    grid-column: auto;
    grid-row: auto;
    text-align: center;
  }

  .site-footer {
    padding-bottom: calc(29px + var(--hero-mobile-cta-bar-height) + env(safe-area-inset-bottom, 0px));
  }
}

/* FAQ: 900px以下は背景画像を使わずSPと同じ塗り */
@media (max-width: 900px) {
  .faq {
    background: #E7EAF3;
  }

  .faq__bg {
    display: none;
  }
}

@media (max-width: 830px) {
  .hero__visuals-cluster {
    left: 0;
    right: 0;
    top: 40px;
    margin-inline: auto;
    width: max-content;
    gap: 0px;
  }

  .hero__visual--main {
    width: 550px;
    height: 550px;
  }

  .hero__visual--note {
    width: 210px;
    height: 210px;
    margin-top: 420px;
    left: 40px;
  }
}

@media (max-width: 767px) {
  :root {
    --container-max: 375px;
    --container-gutter: 23px;
    --header-height: 65px;
    /* フッター固定CTAのリンク行の高さ（セーフエリア除く） */
    --hero-mobile-cta-bar-height: 70px;
  }

  html {
    scroll-padding-top: var(--header-height);
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .section-heading__jp {
    font-size: 28px;
    line-height: 1.36;
    letter-spacing: 0;
  }

  .section-heading__en {
    font-size: 40px;
    line-height: 1;
  }

  .sp-only {
    display: inline;
  }

  .site-header,
  .site-header.is-fixed,
  .site-header.is-fixed.is-visible {
    position: fixed;
    transform: none;
  }

  .site-header {
    height: var(--header-height);
  }

  .site-header__inner {
    padding: 0 16px;
  }

  .site-header__brand {
    gap: 11px;
    padding: 0;
  }

  .site-header__logo {
    width: 38px;
    height: 38px;
  }

  .site-header__name-ja {
    font-size: 18px;
    letter-spacing: 0;
  }

  .site-header__name-sub {
    font-size: 12px;
    line-height: 1.2;
  }

  .global-nav {
    display: none;
  }

  .site-header__menu-toggle {
    width: 26px;
    height: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;
  }

  .site-header__menu-line {
    transition:
      transform 0.3s var(--ease),
      opacity 0.3s var(--ease);
  }

  .earth-bg-area {
    margin-top: -138px;
    padding: 120px 0 56px;
    background-image: url("../images/bg/earth-blue-sp.png");
  }

  .site-header.is-menu-open .site-header__menu-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .site-header.is-menu-open .site-header__menu-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .site-header.is-menu-open .site-header__menu-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .mobile-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    z-index: 110;
    display: block;
    width: 100%;
    height: calc(100dvh - var(--header-height));
    min-height: 597px;
    padding: 40px 35px 50px;
    overflow-y: auto;
    background: var(--color-primary);
  }

  .mobile-nav__menu {
    width: 305px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    list-style: none;
  }

  .mobile-nav__menu a {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    min-height: 40px;
    padding: 0 31px 15px 0;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.45);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
    color: var(--color-white);
  }

  .mobile-nav__menu a::after {
    position: absolute;
    top: 1px;
    right: 0;
    width: 24px;
    height: 24px;
    content: "";
    border-top: 3px solid currentColor;
    border-right: 3px solid currentColor;
    transform: rotate(45deg) scale(0.5);
    transform-origin: center;
  }

  .mobile-nav__menu li + li {
    margin-top: 16px;
  }

  .mobile-nav__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 305px;
    max-width: 100%;
    margin-top: 20px;
    margin-inline: auto;
  }

  .mobile-nav__action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 45px;
    padding: 10px 16px;
    border-radius: 999px;
    color: var(--color-white);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
  }

  .mobile-nav__action--course {
    background: var(--color-accent);
  }

  .mobile-nav__contact-label {
    margin: 33px 0 15px;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-white);
    text-align: center;
  }

  .mobile-nav__action--line {
    background: var(--color-line);
  }

  .mobile-nav__action--instagram {
    min-height: 46px;
    margin-top: 16px;
    background: var(--color-accent);
    font-family: "Times New Roman", serif;
    font-size: 24px;
    line-height: 1;
  }

  .hero {
    padding-top: var(--header-height);
  }

  .hero__inner {
    max-width: none;
    width: 411px;
    min-height: 560px;
    height: 560px;
    margin-bottom: 20px;
  }

  .hero__subtitle {
    left: 14px;
    top: 16px;
    font-size: 18px;
    letter-spacing: 0;
  }

  .hero__title-catch-row {
    left: 14px;
    top: 42px;
    gap: 4px;
  }

  .hero__title-box {
    width: 320px;
  }

  .hero__catchphrase-img {
    width: 320px;
  }

  .hero__title-de {
    width: 20px;
    font-size: 20px;
  }

  .hero__title-sub {
    left: 14px;
    top: 84px;
    height: auto;
    font-size: 24px;
    letter-spacing: 0.02em;
  }

  .hero__visuals-cluster {
    flex-direction: column;
    align-items: flex-start;
    left: 14px;
    top: 104px;
    gap: 0;
  }

  .hero__visual--main {
    width: 400px;
    height: 400px;
    order: 1;
  }

  .hero__visual--note {
    width: 160px;
    height: 160px;
    margin-top: -100px;
    margin-left: -80px;
    box-shadow: none;
    order: 2;
  }

  .hero-mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-shadow: 0 -2px 16px rgba(27, 43, 84, 0.12);
  }

  .hero-mobile-cta__link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 10px 12px;
    color: var(--color-white);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
  }

  .hero-mobile-cta__link--course {
    background: var(--color-accent);
  }

  .hero-mobile-cta__link--line {
    background: var(--color-line);
  }

  .course-nav {
    position: relative;
    z-index: 3;
    background: transparent;
    padding: 80px 0 0px;
  }

  .course-nav__inner {
    padding-inline: 23px;
  }

  .course-nav__list {
    grid-template-columns: 1fr;
    gap: 70px;
    max-width: 330px;
  }

  .course-card__tag {
    font-size: 18px;
  }

  .course-card__tag--adult {
    font-size: 18px;
  }

  .course-card__media {
    aspect-ratio: 330 / 195;
  }

  .course-card__title {
    min-height: 64px;
    padding: 8px 16px;
    font-size: 18px;
  }

  .course-nav__more {
    max-width: 330px;
    margin-top: 45px;
    text-align: center;
  }

  .course-nav__more a {
    min-width: 268px;
    height: 42px;
    padding: 0 32px;
  }

  .concept {
    padding: 100px 0 0px;
  }

  .concept__inner {
    width: min(100%, 374px);
    min-height: 373px;
    padding-inline: 0;
  }

  .concept__title {
    margin-bottom: 24px;
  }

  .concept__title::after {
    content: none;
  }

  .concept__title-img {
    display: block;
    width: 300px;
    margin-inline: auto;
  }

  .concept__title-mobile {
    display: none;
  }

  .concept__text {
    max-width: 296px;
    font-size: 14px;
    line-height: 2.14;
    letter-spacing: 0;
  }

  .concept__visual {
    width: 80px;
    height: 80px;
  }

  .concept__visual--left {
    left: 39px;
    top: 300px;
  }

  .concept__visual--left::before {
    transform: translate(-8px, 3px);
  }

  .concept__visual--right {
    right: 34px;
    top: 280px;
  }

  .concept__visual--right::before {
    transform: translate(5px, -1px);
  }

  .features {
    padding: 60px 0 0;
  }

  .features__inner {
    width: min(100%, 350px);
    padding: 60px 10px;
  }

  .features .section-heading {
    margin-bottom: 40px;
  }

  .features .section-heading__jp {
    font-size: 28px;
  }

  .features .section-heading__en {
    margin-top: -14px;
    font-size: 40px;
  }

  .features__list {
    width: 330px;
    gap: 48px;
  }

  .feature-item,
  .feature-item--right {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .feature-item--right .feature-item__media,
  .feature-item--right .feature-item__body {
    order: initial;
  }

  .feature-item__num,
  .feature-item--right .feature-item__num {
    top: -54px;
    left: 0;
    right: auto;
    font-size: 78px;
  }

  .feature-item__media {
    aspect-ratio: 330 / 220;
  }

  .feature-item:nth-child(2) .feature-item__media {
    aspect-ratio: 330 / 227;
  }

  .feature-item:nth-child(3) .feature-item__media {
    aspect-ratio: 330 / 236;
  }

  .feature-item--left .feature-item__body,
  .feature-item--right .feature-item__body {
    padding: 8px 0 0;
  }

  .feature-item__title {
    font-size: 20px;
    line-height: 1.45;
    padding-bottom: 8px;
    margin-bottom: 8px;
  }

  .feature-item__text {
    line-height: 1.6;
  }

  .features__note {
    width: 330px;
    margin-top: 26px;
    padding: 16px 8px;
  }

  .voice {
    padding: 100px 0 50px;
  }

  .voice .section-heading {
    margin-bottom: 34px;
  }

  .voice .section-heading__jp {
    font-size: 28px;
  }

  .voice .section-heading__en {
    margin-top: -10px;
    font-size: 34px;
  }

  .voice__heading-wrap {
    padding-inline: 28px;
  }

  .voice__strip {
    margin: 0 0 46px;
  }

  .voice__strip-track {
    gap: 8px;
    animation-duration: 36s;
  }

  .voice__strip-track li {
    width: 216px;
    height: 166px;
  }

  .voice__reviews-wrap {
    padding-inline: 28px;
  }

  .voice__reviews {
    grid-template-columns: 1fr;
    row-gap: 20px;
    max-width: 320px;
    margin-inline: auto;
  }

  .review-card {
    padding: 0;
    min-height: 0;
  }

  .review-card__bg {
    width: 320px;
    max-width: none;
  }

  .review-card__text {
    position: absolute;
    left: 0;
    right: 0;
    top: 52px;
    bottom: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    padding: 0 36px;
    overflow: hidden;
    font-size: 15px;
    line-height: 1.55;
    text-align: center;
  }

  .review-card:nth-child(1) {
    height: 277px;
  }

  .review-card:nth-child(2) {
    height: 222px;
  }

  .review-card:nth-child(3) {
    height: 296px;
  }

  /* タブレットと同様、左右カードは人物分だけ下に余白がある */
  .review-card:nth-child(1) .review-card__text {
    bottom: 110px;
  }

  .review-card:nth-child(3) .review-card__text {
    bottom: 102px;
  }

  .pricing {
    padding: 100px 0 60px;
  }

  .pricing__inner {
    padding-inline: 12px;
  }

  .pricing .section-heading {
    margin-bottom: 36px;
  }

  .pricing .section-heading__jp {
    font-size: 28px;
  }

  .pricing .section-heading__en {
    margin-top: -10px;
    font-size: 40px;
  }

  .pricing__table-wrap {
    max-width: 350px;
    margin-bottom: 0;
  }

  .pricing__deco-note {
    top: -74px;
    right: 0px;
    width: 74px;
  }

  .pricing-table {
    border-spacing: 3px;
  }

  .pricing-table thead th {
    height: 45px;
    padding: 0 8px;
    font-size: 18px;
  }

  .pricing-table th[scope="row"],
  .pricing-table td {
    height: 45px;
    padding: 0px;
    font-size: 14px;
  }

  .pricing__banner,
  .pricing__deco--book {
    display: none;
  }

  .staff {
    padding: 100px 0 72px;
  }

  .staff__inner {
    padding-inline: 22px;
  }

  .staff .section-heading {
    margin-bottom: 46px;
  }

  .staff .section-heading__jp {
    font-size: 28px;
  }

  .staff .section-heading__en {
    margin-top: -10px;
    font-size: 40px;
  }

  .staff__flag {
    position: static;
    width: 58px;
    flex-shrink: 0;
  }

  .staff__deco {
    position: static;
    width: 80px;
    flex-shrink: 0;
  }

  .staff__grid {
    width: 330px;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-inline: auto;
  }

  .staff-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .staff-card__heading-text {
    min-width: 0;
  }

  .staff-note {
    margin-top: 24px !important;
  }

  .faq {
    padding: 100px 0 95px;
    background: #E7EAF3;
  }

  .faq__bg {
    display: none;
  }

  .faq__inner {
    padding-inline: 14px;
  }

  .faq .section-heading {
    margin-bottom: 42px;
  }

  .faq .section-heading__jp {
    font-size: 28px;
  }

  .faq .section-heading__en {
    margin-top: -8px;
    font-size: 40px;
  }

  .faq-item__q,
  .faq-item__a {
    grid-template-columns: 34px 1fr;
    gap: 24px;
    align-items: start;
  }

  .faq-item__q-mark,
  .faq-item__a-mark {
    font-size: 48px;
  }

  .faq-item__q-text {
    font-size: 20px;
    line-height: 34px;
  }

  .faq-item__a-text {
    font-size: 16px;
  }

  .faq__object {
    right: 0px;
    bottom: -80px;
    width: 69px;
  }

  .access {
    padding: 92px 0 50px;
  }

  .access__inner {
    padding-inline: 22px;
  }

  .access .section-heading {
    margin-bottom: 38px;
  }

  .access .section-heading__jp {
    font-size: 28px;
  }

  .access .section-heading__en {
    margin-top: -8px;
    font-size: 40px;
  }

  .access__row {
    width: 330px;
    grid-template-columns: 1fr;
    gap: 21px;
  }

  .access__info {
    grid-column: 1;
    grid-row: 1;
  }

  .access__col--media {
    grid-column: 1;
    grid-row: 2;
  }

  .access__map-card {
    grid-column: 1;
    grid-row: 3;
    width: 252px;
    max-width: 252px;
    margin: 0 auto;
  }

  .access__place {
    margin-bottom: 13px;
    font-size: 24px;
    text-align: center;
  }

  .access__photo {
    aspect-ratio: 330 / 203;
  }

  .access__map {
    width: 330px;
    height: 200px;
    margin-top: 21px;
  }

  .access__more {
    width: 330px;
    margin-top: 10px;
  }

  .access__more a {
    font-size: 16px;
  }

  .access__more a span {
    font-size: 15px;
  }

  .cta {
    padding: 60px 0 38px;
  }

  .cta__inner {
    padding-inline: 15px;
  }

  .cta__card {
    width: 346px;
    min-height: 362px;
    margin-inline: auto;
    padding: 53px 21px;
    border-radius: 10px;
  }

  .cta__title {
    margin-bottom: 24px;
    font-size: 26px;
  }

  .cta__body {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cta__lead {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.3;
  }

  .btn-contact {
    height: 46px;
    border-radius: 34px;
    font-size: 18px;
  }

  .btn-contact--line span {
    font-size: 18px;
  }

  .btn-contact--ig span {
    font-size: 28px;
  }

  .cta__plane {
    right: 10px;
    bottom: -40px;
    width: 59px;
  }

  .site-footer {
    min-height: 0;
    padding: 21px 0 calc(19px + var(--hero-mobile-cta-bar-height) + env(safe-area-inset-bottom, 0px));
  }

  .site-footer__inner {
    width: min(100%, 375px);
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 18px;
    padding: 0 28px;
  }

  .site-footer__brand {
    justify-content: center;
    gap: 0;
    grid-column: auto;
    grid-row: auto;
  }

  .site-footer__logo {
    width: 57px;
    height: 57px;
  }

  .site-footer__name {
    width: auto;
    padding-left: 16px;
    text-align: left;
  }

  .site-footer__name-ja {
    font-size: 16px;
  }

  .site-footer__name-sub {
    font-size: 12px;
  }

  .site-footer__side {
    justify-self: center;
    gap: 17px;
    padding-top: 0;
    grid-column: auto;
    grid-row: auto;
  }

  .site-footer__sns a {
    width: 24px;
    height: 24px;
  }

  .site-footer__sns-icon {
    width: 24px;
    height: 24px;
  }

  .site-footer__banner {
    height: 30px;
    padding: 0 24px;
    font-size: 14px;
  }

  .site-footer__nav {
    justify-self: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 13px;
    grid-column: auto;
    grid-row: auto;
  }

  .site-footer__nav a {
    font-size: 12px;
  }

  .site-footer__policy {
    text-align: center;
    font-size: 12px;
    grid-column: auto;
    grid-row: auto;
  }

  .site-footer__object {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero__visuals-cluster {
    flex-direction: column;
    align-items: flex-start;
    left: 0px;
    top: 104px;
    gap: 0;
  }

  .hero__visual--main {
    width: 360px;
    height: 360px;
    order: 1;
  }

  .hero__visual--note {
    width: 140px;
    height: 140px;
    margin-top: -90px;
    margin-left: -40px;
    box-shadow: none;
    order: 2;
  }

  .earth-bg-area {
    padding-top: 70px;
  }
}