/*
 * style_2607.css
 * タビケン留学 TOPページ（およびページ固有）コンテンツCSS
 * 2607改修用 — ヘッダー・フッタースタイルは style-common_2607.css に分離
 *
 * 構成: ベース → Fluid Tokens → セクション（01–14）→ 共通パーツ
 * ブレークポイント（Bootstrap 準拠）: sm ≥576px / md ≥768px / lg ≥992px / xl ≥1200px
 *
 * Fluid ルール（font-size / margin / padding）:
 *   - PC基準値 = clamp の最大値
 *   - SP(min) = @media (max-width: 768px) の値（576px以下で更小ならそちらを最小に）
 *   - 375px → 1280px で線形補間（--top-fs-* / --top-sp-*）
 *   - @media はレイアウト（flex / display / order 等）のみ残す
 *   - 除外: 05.マップ / 横スクロール(--top-slide-*) / 固定UI寸法(width・height)
 */

/* ===========================
   ベース
   =========================== */
body {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  color: #231816;
  background: #fff;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

/* ===========================
   表示ユーティリティ（Bootstrap 準拠・min-width）
   例: <br class="d-md-none"> … md(768px)以上で非表示
   =========================== */
.d-none {
  display: none !important;
}
.d-inline {
  display: inline !important;
}
.d-block {
  display: block !important;
}

@media (min-width: 576px) {
  .d-sm-none {
    display: none !important;
  }
  .d-sm-inline {
    display: inline !important;
  }
  .d-sm-block {
    display: block !important;
  }
}
@media (min-width: 768px) {
  .d-md-none {
    display: none !important;
  }
  .d-md-inline {
    display: inline !important;
  }
  .d-md-block {
    display: block !important;
  }
}
@media (min-width: 992px) {
  .d-lg-none {
    display: none !important;
  }
  .d-lg-inline {
    display: inline !important;
  }
  .d-lg-block {
    display: block !important;
  }
}
@media (min-width: 1200px) {
  .d-xl-none {
    display: none !important;
  }
  .d-xl-inline {
    display: inline !important;
  }
  .d-xl-block {
    display: block !important;
  }
}

/* ===========================
   プレースホルダー（画像仮置き）
   =========================== */
.placeholder-img {
  background: #c8c8c8;
  position: relative;
}
.placeholder-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(0, 0, 0, 0.04) 10px,
    rgba(0, 0, 0, 0.04) 11px
  );
  pointer-events: none;
}

/* ===========================
   Fluid Design Tokens（style_2607）
   最大=PC基準値 / 最小=SP(max-width:768px、576px以下で更小なら採用)
   算出: SP(375px)→PC(1280px) linear interpolation
   =========================== */
:root {
  --top-fs-14: clamp(12px, 0.2210vw + 11.1713px, 14px); /* 14→12 */
  --top-fs-14-badge: clamp(11px, 0.3315vw + 9.7569px, 14px); /* 14→11 */
  --top-fs-14-body: clamp(13px, 0.1105vw + 12.5856px, 14px); /* 14→13 */
  --top-fs-16: clamp(14px, 0.2210vw + 13.1713px, 16px); /* 16→14 */
  --top-fs-18: clamp(16px, 0.2210vw + 15.1713px, 18px); /* 18→16 */
  --top-fs-20: clamp(18px, 0.2210vw + 17.1713px, 20px); /* 20→18 */
  --top-fs-20-sm: clamp(16px, 0.4420vw + 14.3425px, 20px); /* 20→16 */
  --top-fs-22: clamp(16px, 0.6630vw + 13.5138px, 22px); /* 22→16 */
  --top-fs-28: clamp(20px, 0.8840vw + 16.6851px, 28px); /* 28→20 */
  --top-fs-32: 32px;
  --top-fs-36: clamp(32px, 0.4420vw + 30.3425px, 36px); /* 36→32 */
  --top-fs-40: clamp(32px, 0.8840vw + 28.6851px, 40px); /* 40→32 */
  --top-sp-5: 5px;
  --top-sp-6: 6px;
  --top-sp-7: 7px;
  --top-sp-10: 10px;
  --top-sp-12: 12px;
  --top-sp-12-16: clamp(12px, 0.4420vw + 10.3425px, 16px); /* 16→12 */
  --top-sp-15: 15px;
  --top-sp-16: 16px;
  --top-sp-18-10: clamp(10px, 0.8840vw + 6.6851px, 18px); /* 18→10 */
  --top-sp-20: clamp(16px, 0.4420vw + 14.3425px, 20px); /* 20→16 */
  --top-sp-20-12: clamp(12px, 0.8840vw + 8.6851px, 20px); /* 20→12 */
  --top-sp-24: 24px;
  --top-sp-25: 25px;
  --top-sp-28: clamp(20px, 0.8840vw + 16.6851px, 28px); /* 28→20 */
  --top-sp-30: clamp(20px, 1.1050vw + 15.8564px, 30px); /* 30→20 */
  --top-sp-32-20: clamp(20px, 1.3260vw + 15.0276px, 32px); /* 32→20 */
  --top-sp-34: clamp(24px, 1.1050vw + 19.8564px, 34px); /* 34→24 */
  --top-sp-40-20: clamp(20px, 2.2099vw + 11.7127px, 40px); /* 40→20 */
  --top-sp-40-24: clamp(24px, 1.7680vw + 17.3702px, 40px); /* 40→24 */
  --top-sp-40-28: clamp(28px, 1.3260vw + 23.0276px, 40px); /* 40→28 */
  --top-sp-48-32: clamp(32px, 1.7680vw + 25.3702px, 48px); /* 48→32 */
  --top-sp-50-20: clamp(20px, 3.3149vw + 7.5691px, 50px); /* 50→20 */
  --top-sp-56-30: clamp(30px, 3.8670vw + 15.4986px, 56px); /* 56→30 */
  --top-sp-60-32: clamp(32px, 3.0939vw + 20.3978px, 60px); /* 60→32 */
  --top-sp-60-40: clamp(40px, 2.2099vw + 31.7127px, 60px); /* 60→40 */
  --top-sp-60-48: clamp(48px, 1.3260vw + 43.0276px, 60px); /* 60→48 */
  --top-sp-70-20: clamp(20px, 5.5249vw + -0.7182px, 70px); /* 70→20 */
  --top-sp-70-40: clamp(40px, 3.3149vw + 27.5691px, 70px); /* 70→40 */
  --top-sp-80-32: clamp(32px, 5.3039vw + 12.1105px, 80px); /* 80→32 */
  --top-sp-80-40: clamp(40px, 4.4199vw + 23.4254px, 80px); /* 80→40 */
  --top-sp-80-48: clamp(48px, 3.5359vw + 34.7403px, 80px); /* 80→48 */
  --top-sp-h-40-16: clamp(16px, 2.6519vw + 6.0552px, 40px); /* 40→16 */
  --top-sp-h-70-20: clamp(20px, 5.5249vw + -0.7182px, 70px); /* 70→20 */
  --top-fs-20-14: clamp(14px, 0.6630vw + 11.5138px, 20px); /* 20→14 */
  --top-fs-18-12: clamp(12px, 0.6630vw + 9.5138px, 18px); /* 18→12 */
  --top-fs-32-24: clamp(24px, 0.8840vw + 20.6851px, 32px); /* 32→24 */
  --top-sp-8-5: clamp(5px, 0.3315vw + 3.7569px, 8px); /* 8→5 */
  --top-sp-10-4: clamp(4px, 0.6630vw + 1.5138px, 10px); /* 10→4 */
  --top-sp-20-16: clamp(16px, 0.4420vw + 14.3425px, 20px); /* 20→16 */
  --top-sp-32-30: clamp(30px, 0.2210vw + 29.1713px, 32px); /* 32→30 */
  --top-sp-40-0: clamp(0px, 4.4199vw + -16.5746px, 40px); /* 40→0 */
  --top-sp-55-30: clamp(30px, 2.7624vw + 19.6409px, 55px); /* 55→30 */
  --top-fs-27-22: clamp(22px, 0.5525vw + 19.9282px, 27px); /* 27→22 */
  --top-fs-24-20: clamp(20px, 0.4420vw + 18.3425px, 24px); /* 24→20 */
  --top-fs-18-14: clamp(14px, 0.4420vw + 12.3425px, 18px); /* 18→14 */
  --top-sp-h-40-20: clamp(20px, 2.2099vw + 11.7127px, 40px); /* 40→20 */
  --top-fs-26-20: clamp(20px, 0.6630vw + 17.5138px, 26px); /* 26→20 */
  --top-fs-22-17: clamp(17px, 0.5525vw + 14.9282px, 22px); /* 22→17（lgボタン・タブレット） */
  --top-sp-h-50-20: clamp(20px, 3.3149vw + 7.5691px, 50px); /* 50→20 */
  --top-sp-24-18: clamp(18px, 0.6630vw + 15.5138px, 24px); /* 24→18 */
  --top-sp-h-44-36: clamp(36px, 0.8840vw + 32.6851px, 44px); /* 44→36 */
  --top-sp-h-32-28: clamp(28px, 0.4420vw + 26.3425px, 32px); /* 32→28 */
  --top-sp-h-24-16: clamp(16px, 0.8840vw + 12.6851px, 24px); /* 24→16 */
}

/* ===========================
   TOPページ メインコンテンツ
   =========================== */
.top-main {
  position: relative;
  z-index: 1;
  overflow: hidden;
}
/* ===========================
   01. FV（ファーストビュー）スライドショー
   =========================== */
.top-fv {
  position: relative;
  padding: var(--top-sp-20) 0 var(--top-sp-40-24);
  background-color: #ececec;
}
.top-fv__bg-pattern {
  position: absolute;
  inset: 0;
  background: url('../img/bg_pattern.png') repeat;
  opacity: 0.6;
  pointer-events: none;
}
.top-fv__container {
  position: relative;
  z-index: 1;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 var(--top-sp-h-40-16);
}
.top-fv__main {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}
.top-fv__slides {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.top-fv__track {
  display: flex;
  transition: transform .45s ease;
  will-change: transform;
}
.top-fv__slide {
  flex-shrink: 0;
  min-width: 0;
}
.top-fv__slide-link {
  display: block;
  transition: opacity .2s;
}
.top-fv__slide-link:hover {
  opacity: .92;
}
.top-fv__slide img {
  display: block;
  width: 100%;
  height: auto;
}
.top-fv__slide picture {
  display: block;
}
.top-fv__thumbs-bar {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 16px;
  margin-top: var(--top-sp-20-12);
}
.top-fv__arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #1398bf;
  cursor: pointer;
  transition: background .2s, opacity .2s;
}
.top-fv__arrow:hover {
  background: #0f7a99;
}
.top-fv__arrow-icon {
  display: block;
  flex-shrink: 0;
  width: 15px;
  height: 17px;
  margin: 0;
}
.top-fv__arrow-icon--prev {
  transform: none;
}
.top-fv__arrow-icon--next {
  transform: scaleX(-1);
}
.top-fv__thumbs {
  flex: 1;
  display: flex;
  align-items: stretch;
  gap: 16px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.top-fv__thumb-item {
  flex: 1;
  min-width: 0;
}
.top-fv__thumb {
  position: relative;
  box-sizing: border-box;
  display: block;
  width: 100%;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: none;
  cursor: pointer;
  overflow: hidden;
  transition: border-color .25s, filter .25s;
}
.top-fv__thumb:not(.is-active)::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(20, 51, 60, 0.2);
  pointer-events: none;
}
.top-fv__thumb.is-active {
  border-color: #1398bf;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.25));
}
.top-fv__thumb img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

/* タビケン留学ニュース（FV内） */
.top-fv__news {
  margin: var(--top-sp-20) auto 0;
  width: 100%;
  max-width: 800px;
}
.top-fv__news-box {
  min-width: 0;
  padding: var(--top-sp-16) var(--top-sp-40-20);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.25);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 40.09%, rgba(219, 219, 219, 0.3) 80.83%), #FFFFFF;
  border: 1px solid #FFFFFF;
}
.top-fv__news-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.top-fv__news-item + .top-fv__news-item {
  margin-top: var(--top-sp-12);
  padding-top: var(--top-sp-12);
  border-top: 1px solid #e8e8e8;
}
.top-fv__news-item {
  min-width: 0;
}
.top-fv__news-link {
  display: flex;
  align-items: flex-start;
  gap: var(--top-sp-20-12);
  min-width: 0;
  max-width: 100%;
  text-decoration: none;
  color: #231816;
  transition: opacity .2s;
}
.top-fv__news-link:hover {
  opacity: 0.75;
}
.top-fv__news-meta {
  flex: 0 0 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 100px;
}
.top-fv__news-date {
  font-size: var(--top-fs-14);
  font-weight: 500;
  line-height: 1.2;
  color: #717171;
  white-space: nowrap;
}
.top-fv__news-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 4px;
  background: #FF8C00;
  font-size: var(--top-fs-14-badge);
  line-height: 1.2;
  font-weight: 700;
  color: #fff;
  text-align: center;
  white-space: nowrap;
}
.top-fv__news-title {
  flex: 1 1 0%;
  min-width: 0;
  padding-top: 2px;
  font-size: var(--top-fs-14);
  font-weight: 400;
  line-height: 1.6;
  white-space: normal;
}

@media (min-width: 1200px) {
  .top-fv__container {
    max-width: 1300px;
  }
}

@media (max-width: 768px) {
  .top-fv__thumbs-bar {
    justify-content: center;
    gap: 20px;
  }
  .top-fv__arrow {
    width: 20px;
    height: 20px;
  }
  .top-fv__arrow-icon {
    width: 6px;
    height: 7px;
  }
  .top-fv__thumbs {
    flex: 0 1 auto;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }
  .top-fv__thumb-item {
    flex: none;
  }
  .top-fv__thumb {
    box-sizing: content-box;
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #c8c8c8;
    overflow: visible;
  }
  .top-fv__thumb:not(.is-active)::after {
    display: none;
  }
  .top-fv__thumb.is-active {
    width: 12px;
    height: 12px;
    border: none;
    background: #1398bf;
    filter: none;
  }
  .top-fv__thumb img {
    display: none;
  }
  .top-fv__news-meta {
    flex-basis: 88px;
    min-width: 88px;
  }
  .top-fv__news-badge {
    padding-inline: var(--top-sp-6);
  }
}

@media (max-width: 576px) {
  .top-fv__news-meta {
    flex-basis: 80px;
    min-width: 80px;
  }
}
/* ===========================
   02. クイックCTAバー
   =========================== */
.top-quickcta,
.top-cta-banner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.top-quickcta {
  padding: var(--top-sp-20) 0;
  background: linear-gradient(0deg, rgba(19, 152, 191, 0.8), rgba(19, 152, 191, 0.8)), url('../img/home/top-quickcta-bg.webp');
  background-blend-mode: multiply, normal;
}
.top-cta-banner {
  padding: var(--top-sp-40-20) 0;
  background-image: url('../img/home/top-quickcta-bg.webp');
}
.top-quickcta__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--top-sp-h-40-16);
  box-sizing: border-box;
}
.top-quickcta__btn {
  display: inline-flex;
  flex: 0 0 auto;
  width: fit-content;
  max-width: 100%;
  height: auto;
  min-height: 72px;
  padding: 4px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: opacity .2s;
  box-sizing: border-box;
}
.top-quickcta__btn:hover {
  opacity: .85;
}
.top-quickcta__btn-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  width: auto;
  height: 100%;
  padding: var(--top-sp-15);
  border-radius: 8px;
  border: 1px solid #fff;
  box-sizing: border-box;
}
.top-quickcta__btn-icon {
  flex-shrink: 0;
  display: block;
  width: 39px;
}
.top-quickcta__btn--counseling {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.30) 40.09%, rgba(219, 219, 219, 0.30) 80.83%), #FF8C00;
}
.top-quickcta__btn--counseling .top-quickcta__btn-inner {
  background: #FF8C00;
}
.top-quickcta__btn--line {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.30) 40.09%, rgba(219, 219, 219, 0.30) 80.83%), #00B900;
}
.top-quickcta__btn--line .top-quickcta__btn-inner {
  background: #00B900;
}
.top-quickcta__btn-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  padding-right: var(--top-sp-30);
}
.top-quickcta__note {
  font-size: var(--top-fs-14);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.04em;
  padding: 4px 20px;
  background: #FFFFC0;
  border-radius: 15px;
}
.top-quickcta__btn--counseling .top-quickcta__note {
  color: #FF8C00;
}
.top-quickcta__btn--line .top-quickcta__note {
  color: #00B900;
}
.top-quickcta__label {
  font-size: var(--top-fs-28);
  font-weight: 700;
  line-height: 1;
}
@media (max-width: 992px) {
  .top-quickcta__inner {
    gap: 16px;
  }
  .top-quickcta__btn-icon {
    width: 32px;
  }
  .top-quickcta__btn-inner {
    gap: 16px;
    padding: var(--top-sp-12) var(--top-sp-20);
  }
}

@media (max-width: 768px) {
  .top-quickcta__inner {
    flex-direction: column;
    align-items: stretch;
    gap: var(--top-sp-12);
  }
  .top-quickcta__btn {
    width: 100%;
    max-width: none;
    min-height: 64px;
    white-space: normal;
  }
  .top-quickcta__btn-icon {
    width: 32px;
  }
  .top-quickcta__btn-inner {
    width: 100%;
    gap: var(--top-sp-12);
    padding: var(--top-sp-12) var(--top-sp-16);
  }
  .top-quickcta__btn-body {
    flex: 1;
    min-width: 0;
    gap: var(--top-sp-5);
  }
}

/* ===========================
   03. タビケン留学とは？
   =========================== */
.top-about {
  position: relative;
  padding: var(--top-sp-80-40) var(--top-sp-h-70-20);
  overflow: hidden;
  background: linear-gradient(0deg, rgba(255, 237, 204, 0.4), rgba(255, 237, 204, 0.4)), url('../img/home/top-about-bg.webp');
  background-size: cover;
  background-position: center;
}
.top-about__inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}
.top-about__card {
  padding: var(--top-sp-40-28) var(--top-sp-25);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 40.09%, rgba(219, 219, 219, 0.3) 80.83%), rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 8px;
  border: 1px solid #FFFFFF;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);

}
.top-about__card-content {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: var(--top-sp-60-48);
}
.top-about__coach {
  flex: 0 0 650px;
  max-width: 650px;
  overflow: hidden;
}
.top-about__coach-track {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: top-about-coach-scroll 40s linear infinite;
}
@keyframes top-about-coach-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .top-about__coach-track {
    animation: none;
  }
}
.top-about__coach-item {
  flex-shrink: 0;
  width: 200px;
}
.top-about__coach-item--offset-0 {
  padding-top: 0;
}
.top-about__coach-item--offset-1 {
  padding-top: var(--top-sp-28);
}
.top-about__coach-item--offset-2 {
  padding-top: var(--top-sp-56-30);
}
.top-about__coach-item img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.top-about__body {
  flex: 1;
  padding: var(--top-sp-40-20) var(--top-sp-20);
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.top-about__label {
  margin: 0 0 var(--top-sp-5);
  font-size: var(--top-fs-40);
  font-weight: 700;
  color: #1398bf;
  line-height: 1.2;
}
.top-about__heading {
  margin: 0 0 var(--top-sp-34);
  font-size: var(--top-fs-20);
  font-weight: 500;
  color: #1F1F1F;
  line-height: 1.2;
}
.top-about__text {
  margin: 0 0 var(--top-sp-40-20);
  font-size: var(--top-fs-16);
  line-height: 1.2;
  color: #1F1F1F;
}
.top-about__text p {
  margin: 0 0 var(--top-sp-16);
  font-weight: 400;
  line-height: 19px;
}
.top-about__text p:last-child {
  margin-bottom: 0;
}
.top-about__btn {
  padding: 0 var(--top-sp-28) 0 var(--top-sp-20);
  box-sizing: border-box;
}
.top-about__btn .top-btn {
  display: flex;
  width: 100%;
  min-width: 0;
  max-width: none;
}
.top-about__links {
  display: flex;
  gap: 20px;
}
.top-about__link-card {
  position: relative;
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  min-height: 170px;
  padding: var(--top-sp-12);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  background:
    linear-gradient(0deg, rgba(19, 152, 191, 0.2), rgba(19, 152, 191, 0.2)),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 60%),
    var(--top-about-link-bg);
  background-blend-mode: color, normal, normal;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity .2s;
}
.top-about__link-card:hover {
  opacity: .88;
}
.top-about__link-card-title {
  flex: 1;
  min-width: 0;
  font-size: var(--top-fs-22);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.top-about__link-card-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid #FFFFFF;
}
.top-about__link-card-icon svg {
  display: block;
  width: 11.6px;
  height: 13.3px;
  fill: #fff;
  margin-left: 4px;
}
@media (max-width: 1200px) {
  .top-about__coach {
    flex: 0 0 min(650px, 55%);
    max-width: 55%;
  }
}

@media (max-width: 992px) {
  .top-about__card-content {
    flex-direction: column;
    gap: 40px;
  }
  .top-about__coach {
    flex: none;
    max-width: none;
    width: 100%;
  }
  .top-about__body {
    padding: 0;
  }
  .top-about__btn {
    padding: 0;
  }
  .top-about__links {
    flex-wrap: wrap;
  }
  .top-about__link-card {
    flex: 1 1 calc(50% - 10px);
    min-height: 140px;
  }
}

@media (max-width: 768px) {
  .top-about__card {
    padding: var(--top-sp-32-20) var(--top-sp-20);
  }
  .top-about__card-content {
    flex-direction: column;
    gap: 32px;
  }
  .top-about__coach {
    flex: none;
    max-width: none;
    width: 100%;
  }
  .top-about__coach-item {
    width: 110px;
  }
  .top-about__links {
    flex-wrap: wrap;
    gap: 12px;
  }
  .top-about__link-card {
    flex: 1 0 calc(50% - 6px);
    min-height: 170px;
  }
  .top-about__text {
    padding: 0;
  }
}

@media (max-width: 576px) {
  .top-about__link-card {
    flex: 1 0 100%;
  }
}
/* ===========================
   04. 実績ピックアップ
   =========================== */
.top-result {
  padding: var(--top-sp-60-40) var(--top-sp-h-70-20);
  background: url('../img/home/top-result-bg.webp') center / cover no-repeat;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
.top-result__inner {
  max-width: 1300px;
  margin: 0 auto;
}
.top-result__header {
  margin-bottom: var(--top-sp-40-20);
  text-align: center;
}
.top-result__heading {
  margin: 0 0 var(--top-sp-18-10);
  font-size: var(--top-fs-40);
  font-weight: 700;
  line-height: 1;
  color: #ff8c00;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  letter-spacing: 2px;
}
.top-result__sub {
  margin: 0;
  font-size: var(--top-fs-20-sm);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}
.top-result__slider {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--top-sp-20);
}
.top-result__arrow--prev {
  order: 2;
}
.top-result__viewport {
  order: 1;
  flex: 0 0 100%;
  min-width: 0;
  overflow: hidden;
  position: relative;
}
.top-result__swipe-hint {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--top-sp-10);
  pointer-events: none;
  background: rgba(0, 0, 0, 0.28);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}
.top-result.is-hint-dismissed .top-result__swipe-hint {
  opacity: 0;
  visibility: hidden;
}
.top-result__swipe-hint-motion {
  display: flex;
  align-items: center;
  gap: var(--top-sp-18-10);
  animation: top-result-swipe-hint-motion 1.6s ease-in-out infinite;
}
.top-result__swipe-hint-arrow {
  display: block;
  width: 15px;
  height: 17px;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.45));
}
.top-result__swipe-hint-arrow--prev { transform: none; }
.top-result__swipe-hint-arrow--next { transform: scaleX(-1); }
.top-result__swipe-hint-text {
  margin: 0;
  padding: var(--top-sp-7) var(--top-sp-16);
  font-size: var(--top-fs-14);
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background: rgba(22, 22, 22, 0.78);
  border-radius: 999px;
  letter-spacing: 0.5px;
}
@keyframes top-result-swipe-hint-motion {
  0%, 100% { transform: translateX(-6px); opacity: 0.65; }
  50% { transform: translateX(6px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .top-result__swipe-hint-motion { animation: none; }
}
.top-result__dots {
  order: 3;
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  justify-content: center;
  gap: var(--top-sp-20);
  margin: 0;
  padding: 0;
  list-style: none;
}
.top-result__dot-item { flex: none; }
.top-result__dot {
  box-sizing: content-box;
  display: block;
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #000;
  box-shadow: 0 0 2.5px rgba(255, 255, 255, 0.5);
  cursor: pointer;
}
.top-result__dot.is-active {
  width: 12px;
  height: 12px;
  background: #fff;
  box-shadow: none;
}
.top-result__arrow--next { order: 4; }
.top-result__track {
  display: flex;
  transition: transform .45s ease;
  will-change: transform;
}
.top-result__slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--top-sp-24);
}
.top-result__arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  background: #161616;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  filter: none;
  transition: opacity .2s;
}
.top-result__arrow:hover { opacity: .85; }
.top-result__arrow-icon {
  display: block;
  flex-shrink: 0;
  width: 6px;
  height: 7px;
  margin: 0;
}
.top-result__arrow-icon--prev { transform: none; }
.top-result__arrow-icon--next { transform: scaleX(-1); }
.top-result__text {
  order: 1;
  flex: 1;
  min-width: 0;
  color: #fff;
}
.top-result__slide-title {
  margin: 0 0 var(--top-sp-16);
  font-size: var(--top-fs-28);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  letter-spacing: 1.4px;
}
.top-result__slide-body {
  margin: 0;
  font-size: var(--top-fs-14-body);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.75px;
}
.top-result__video {
  order: -1;
  flex-shrink: 0;
  width: 100%;
  max-width: none;
}
.top-result__video-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 6px solid #fff;
  overflow: hidden;
  background: #000;
}
.top-result__video-inner iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (min-width: 769px) {
  .top-result__slider { justify-content: flex-start; gap: var(--top-sp-50-20); }
  .top-result__arrow--prev { order: 1; }
  .top-result__viewport { order: 2; flex: 1; }
  .top-result__swipe-hint { display: none; }
  .top-result__dots { display: none; }
  .top-result__arrow--next { order: 4; }
  .top-result__slide { gap: var(--top-sp-32-20); }
  .top-result__arrow {
    width: 50px;
    height: 50px;
    filter: drop-shadow(0px 0px 6.25px rgba(255, 255, 255, 0.5));
  }
  .top-result__arrow-icon { width: 15px; height: 17px; }
}
@media (min-width: 993px) {
  .top-result__slide {
    flex-direction: row;
    align-items: center;
    gap: var(--top-sp-40-20);
  }
  .top-result__video { order: 0; width: 480px; max-width: 55%; }
  .top-result__text { order: 0; }
}
@media (min-width: 1201px) {
  .top-result__inner { max-width: 1300px; }
  .top-result__slide { gap: var(--top-sp-70-40); }
  .top-result__video { max-width: 480px; }
}

@media (max-width: 768px) {
  .top-result__header {
    margin-bottom: var(--top-sp-80-32);
  }
  .top-result__heading {
    margin-bottom: var(--top-sp-10);
  }
  .top-result__sub {
    line-height: 1.2;
  }
  .top-result__slide {
    gap: var(--top-sp-24);
  }
  .top-result__text {
    text-align: center;
  }
  .top-result__slide-title {
    letter-spacing: 0.8px;
  }
}
/* ===========================
   05. 国を探す（インタラクティブマップ）
   =========================== */
.top-map {
  padding: 80px 0;
  background: #EDF7FF;
}
.top-map__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 70px;
}

/* ---- マップステージ ---- */
.top-map__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1432 / 818;
  border-radius: 12px;
  overflow: visible;
}
.top-map__bg {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  overflow: hidden;
}

/* ---- ピン共通 ---- */
.top-map__pins {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.top-map__pin {
  position: absolute;
  transform: translate(-50%, -100%);
  pointer-events: auto;
  z-index: 5;
}
.top-map__pin.is-open {
  z-index: 100;
}
.top-map__pin-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  outline-offset: 4px;
}

/* ドット（中央） */
.top-map__pin-dot {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ff8c00;
  border: 2.5px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
  transition: background .2s, transform .2s;
}
.top-map__pin:hover .top-map__pin-dot,
.top-map__pin.is-open .top-map__pin-dot {
  background: #1398bf;
  transform: scale(1.2);
}

/* パルスリング */
.top-map__pin-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 140, 0, 0.5);
  animation: map-pin-pulse 2.4s ease-out infinite;
  z-index: 1;
}
.top-map__pin-ring--delay {
  animation-delay: 1.2s;
}
.top-map__pin.is-open .top-map__pin-ring {
  background: rgba(19, 152, 191, 0.5);
}
@keyframes map-pin-pulse {
  0%   { transform: translate(-50%, -50%) scale(1);   opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(4.5); opacity: 0;   }
}

/* ---- ツールチップ（デフォルト: ピン上方） ---- */
.top-map__tooltip {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 386px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 40.09%, rgba(219, 219, 219, 0.3) 80.83%), rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.25);
  border: 1px solid #FFFFFF;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  z-index: 200;
  white-space: normal;
  overflow: hidden;
}
/* 下矢印 */
.top-map__tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: #e8e8e8;
}
.top-map__pin.is-open .top-map__tooltip {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* ---- 右向き（カナダ等 左端） ---- */
.top-map__pin--right .top-map__tooltip {
  left: calc(100% + 12px);
  bottom: auto;
  top: 50%;
  transform: translateY(-50%) translateX(6px);
}
.top-map__pin--right .top-map__tooltip::after {
  top: 50%;
  left: auto;
  right: 100%;
  transform: translateY(-50%);
  border-top-color: transparent;
  border-right-color: #e8e8e8;
}
.top-map__pin--right.is-open .top-map__tooltip {
  transform: translateY(-50%) translateX(0);
}

/* ---- 左向き（豪州・比・NZ 等 右端） ---- */
.top-map__pin--left .top-map__tooltip {
  left: auto;
  right: calc(100% + 12px);
  bottom: auto;
  top: 50%;
  transform: translateY(-50%) translateX(-6px);
}
.top-map__pin--left .top-map__tooltip::after {
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  border-top-color: transparent;
  border-left-color: #e8e8e8;
}
.top-map__pin--left.is-open .top-map__tooltip {
  transform: translateY(-50%) translateX(0);
}

/* ツールチップ内ナビ（モバイルのみ表示） */
.top-map__tooltip-nav {
  display: none;
}
.top-map__tooltip-prev,
.top-map__tooltip-next {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1.5px solid #1398bf;
  border-radius: 50%;
  background: #fff;
  color: #1398bf;
  cursor: pointer;
  box-sizing: border-box;
}
.top-map__tooltip-prev svg,
.top-map__tooltip-next svg {
  display: block;
  width: 8px;
  height: 10px;
  fill: currentColor;
}
.top-map__tooltip-prev svg {
  transform: scaleX(-1);
  margin-right: 1px;
}
.top-map__tooltip-next svg {
  margin-left: 1px;
}
.top-map__tooltip-prev:active,
.top-map__tooltip-next:active {
  background: #1398bf;
  color: #fff;
}
.top-map__tooltip-index {
  flex: 1;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  color: #1398bf;
  letter-spacing: 0.04em;
}

/* ツールチップ内コンテンツ */
.top-map__tooltip-thumb {
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}
.top-map__tooltip-thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 210 / 118;
  object-fit: cover;
}
.top-map__tooltip-body {
  padding: 20px 0 0;
}
.top-map__tooltip-name {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 700;
  color: #1398bf;
  line-height: 1.6;
}
.top-map__tooltip-desc {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.6;
  color: #1A1A1A;
}
.top-map__tooltip-body .top-btn {
  width: 100%;
}

/* ---- 国リスト（マップ下） ---- */
.top-map__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 70px;
}
.top-map__list-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 40.09%, rgba(219, 219, 219, 0.4) 80.83%), #FDFDFD;
  border: 1.5px solid #d0e8f5;
  border-radius: 82px;
  font-family: inherit;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1;
  color: #1398BF;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s, box-shadow .2s;
  white-space: nowrap;
  box-shadow: 0px 3.30226px 3.30226px rgba(0, 0, 0, 0.25);
}
.top-map__list-item:hover,
.top-map__list-item.is-active {
  border-color: #1398bf;
  color: #1398bf;
  box-shadow: 0 2px 10px rgba(19,152,191,0.15);
}
.top-map__list-flag {
  display: inline-block;
  width: 33px;
  flex-shrink: 0;
  border-radius: 2px;
  overflow: hidden;
  line-height: 0;
}
.top-map__list-flag img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
/* xl超: マップ最大幅1000px */
@media (min-width: 1201px) {
  .top-map__stage {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
  }
}
/* lg以下: タップ操作用カード（ナビ付き・画面内位置調整） */
@media (max-width: 992px) {
  .top-map__tooltip,
  .top-map__pin--right .top-map__tooltip,
  .top-map__pin--left .top-map__tooltip {
    left: 50%;
    right: auto;
    bottom: calc(100% + 10px);
    top: auto;
    width: min(250px, calc(100vw - 24px));
    padding: 10px;
    transition: opacity .2s;
    transform: translateX(calc(-50% + var(--tip-shift-x, 0px))) translateY(calc(6px + var(--tip-shift-y, 0px)));
  }
  .top-map__tooltip-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin: 10px 0 0;
  }
  .top-map__pin.is-open .top-map__tooltip,
  .top-map__pin--right.is-open .top-map__tooltip,
  .top-map__pin--left.is-open .top-map__tooltip {
    opacity: 0;
    pointer-events: none;
    transform: translateX(calc(-50% + var(--tip-shift-x, 0px))) translateY(var(--tip-shift-y, 0px));
  }
  .top-map__pin.is-open .top-map__tooltip.top-map__tooltip--ready,
  .top-map__pin--right.is-open .top-map__tooltip.top-map__tooltip--ready,
  .top-map__pin--left.is-open .top-map__tooltip.top-map__tooltip--ready {
    opacity: 1;
    pointer-events: auto;
  }
  .top-map__tooltip--positioning {
    transition: none !important;
    visibility: hidden;
  }
  .top-map__tooltip::before,
  .top-map__pin--right .top-map__tooltip::before,
  .top-map__pin--left .top-map__tooltip::before {
    content: '';
    position: absolute;
    left: -16px;
    right: -16px;
    top: 100%;
    height: 16px;
  }
  .top-map__tooltip::after,
  .top-map__pin--right .top-map__tooltip::after,
  .top-map__pin--left .top-map__tooltip::after {
    top: 100%;
    left: calc(50% - var(--tip-shift-x, 0px));
    right: auto;
    transform: translateX(-50%);
    border-top-color: #e8e8e8;
    border-right-color: transparent;
    border-left-color: transparent;
    border-bottom-color: transparent;
  }
  .top-map__tooltip--below,
  .top-map__pin--right .top-map__tooltip--below,
  .top-map__pin--left .top-map__tooltip--below {
    bottom: auto;
    top: calc(100% + 10px);
  }
  .top-map__tooltip--below::before,
  .top-map__pin--right .top-map__tooltip--below::before,
  .top-map__pin--left .top-map__tooltip--below::before {
    top: auto;
    bottom: 100%;
  }
  .top-map__tooltip--below::after,
  .top-map__pin--right .top-map__tooltip--below::after,
  .top-map__pin--left .top-map__tooltip--below::after {
    top: auto;
    bottom: 100%;
    border-top-color: transparent;
    border-bottom-color: #e8e8e8;
  }
  .top-map__tooltip-body {
    padding: 8px 0 0;
  }
  .top-map__tooltip-name {
    font-size: 13px;
  }
  .top-map__tooltip-desc {
    font-size: 11px;
  }
}

@media (max-width: 768px) {
  .top-map {
    padding: 40px 0;
  }
  .top-map__inner {
    padding: 0 20px;
  }
  .top-map__stage {
    aspect-ratio: 1432 / 818;
    height: auto;
  }
  .top-map__pin-dot {
    width: 11px;
    height: 11px;
  }
  .top-map__tooltip,
  .top-map__pin--right .top-map__tooltip,
  .top-map__pin--left .top-map__tooltip {
    width: min(200px, calc(100vw - 24px));
  }
  .top-map__list {
    gap: 8px;
    margin-top: 20px;
  }
  .top-map__list-item {
    font-size: 10px;
    padding: 5px 7.5px;
  }
  .top-map__list-flag {
    width: 20px;
  }
  .top-map__placeholder {
    height: 300px;
  }
}
/* ===========================
   06. 目的から留学を探す
   =========================== */
.top-purpose {
  position: relative;
  padding: var(--top-sp-80-40) var(--top-sp-h-70-20);
  background-color: #ececec;
}
.top-purpose__bg-pattern {
  position: absolute;
  inset: 0;
  background: url('../img/bg_pattern.png') repeat;
  opacity: 0.6;
  pointer-events: none;
}
.top-purpose__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}
.top-purpose__cards {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: center;
  padding-top: var(--top-sp-40-0);
}
.top-purpose__card {
  width: calc((100% - 78px) / 4);
  text-decoration: none;
  color: #fff;
  transition: opacity .2s;
}
.top-purpose__card:hover {
  opacity: .92;
  color: #fff;
}
.top-purpose__card-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  gap: 10px;
  min-height: 280px;
  padding: var(--top-sp-20-16);
  border-radius: 8px;
  overflow: hidden;
  background: var(--top-purpose-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.top-purpose__card-title {
  margin: 0;
  font-size: var(--top-fs-20-14);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.top-purpose__card-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: var(--top-sp-10-4) var(--top-sp-55-30);
  border: 1px solid #fff;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 40.09%, rgba(219, 219, 219, 0.3) 80.83%);
  box-sizing: border-box;
}
.top-purpose__card-btn-label {
  font-size: var(--top-fs-18-12);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  text-align: center;
  text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.25);
}
.top-purpose__card-btn-icon {
  position: absolute;
  top: 50%;
  right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  pointer-events: none;
}
.top-purpose__card-btn-icon svg {
  display: block;
  width: 6px;
  height: 8px;
  fill: #fff;
  margin-left: 2px;
}
@media (max-width: 1200px) {
  .top-purpose__cards {
    gap: 20px;
    justify-content: flex-start;
  }
  .top-purpose__card {
    width: calc((100% - 40px) / 3);
  }
}

@media (max-width: 992px) {
  .top-purpose__cards {
    gap: 16px;
  }
  .top-purpose__card {
    width: calc((100% - 32px) / 3);
  }
  .top-purpose__card-inner {
    min-height: 220px;
  }
}

@media (max-width: 768px) {
  .top-purpose__cards {
    gap: 12px;
    justify-content: flex-start;
  }
  .top-purpose__card {
    width: calc((100% - 12px) / 2);
  }
  .top-purpose__card-inner {
    min-height: 160px;
    gap: 10px;
  }
  .top-purpose__card-btn {
    height: auto;
    min-height: 27px;
  }
}
/* ===========================
   07. タビケンプライム紹介
   =========================== */
.top-prime {
  --top-prime-pad-x: var(--top-sp-h-70-20);
  --top-prime-inner-half: 550px;
  --top-prime-earth-offset: 335px;
  position: relative;
  overflow: hidden;
  padding: var(--top-sp-80-40) var(--top-prime-pad-x);
}
.top-prime__bg {
  position: absolute;
  inset: 0;
  background: #1398bf;
  pointer-events: none;
}
.top-prime__bg::before {
  content: '';
  position: absolute;
  left: calc(max(var(--top-prime-pad-x), calc(50% - var(--top-prime-inner-half))) - var(--top-prime-earth-offset));
  bottom: 0;
  width: 900px;
  height: 650px;
  background:
    linear-gradient(0deg, #1398BF, #1398BF),
    url('../img/home/top-earth-bg.webp');
  background-blend-mode: multiply, normal;
  background-size: 100% 100%;
  background-position: var(--top-prime-earth-x, -18%) bottom;
  background-repeat: no-repeat;
}
.top-prime__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 70px;
  max-width: 1100px;
  margin: 0 auto;
}
.top-prime__content {
  flex: 1;
  min-width: 0;
}
.top-prime__logo {
  display: block;
  width: 400px;
  max-width: 100%;
  height: auto;
}
.top-prime__subtitle {
  margin: var(--top-sp-20) 0 0;
  font-size: var(--top-fs-20-sm);
  font-weight: 500;
  line-height: 1.2;
  color: #fff;
}
.top-prime__heading {
  margin: var(--top-sp-8-5) 0 0;
  font-size: var(--top-fs-32-24);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}
.top-prime__body {
  margin: var(--top-sp-20) 0 0;
  font-size: var(--top-fs-16);
  font-weight: 500;
  line-height: 1.3;
  color: #fff;
}
.top-prime__btn {
  margin-top: var(--top-sp-32-30);
}
.top-prime__btn .top-btn {
  min-width: 400px;
}
.top-prime__figure {
  flex-shrink: 0;
  width: 595px;
  margin: 0;
  line-height: 0;
}
.top-prime__figure img {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 1200px) {
  .top-prime__inner {
    gap: 70px;
  }
  .top-prime__figure {
    width: 595px;
  }
}

@media (max-width: 1200px) {
  .top-prime__inner {
    gap: 40px;
  }
  .top-prime__figure {
    width: 50%;
  }
  .top-prime__btn .top-btn--lg {
    font-size: var(--top-fs-22-17);
    letter-spacing: 0.02em;
  }
  .top-prime__btn .top-btn--lg .top-btn__inner {
    padding-left: var(--top-sp-h-32-28);
    padding-right: var(--top-sp-h-32-28);
  }
}

@media (max-width: 992px) {
  .top-prime__bg::before {
    --top-prime-earth-x: -22%;
  }
  .top-prime__inner {
    gap: 40px;
  }
  .top-prime__logo {
    width: 320px;
  }
  .top-prime__figure {
    width: 48%;
  }
  .top-prime__btn .top-btn {
    min-width: 0;
    width: 100%;
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .top-prime__bg::before {
    --top-prime-earth-x: -28%;
  }
  .top-prime__inner {
    flex-direction: column;
    gap: 32px;
  }
  .top-prime__figure {
    order: -1;
    width: 100%;
    max-width: none;
  }
  .top-prime__content {
    order: 1;
  }
  .top-prime__logo {
    width: 100%;
    max-width: 360px;
  }
  .top-prime__body {
    margin-top: var(--top-sp-30);
    line-height: 1.2;
  }
  .top-prime__btn {
    margin: var(--top-sp-30) 0 0;
  }
  .top-prime__btn .top-btn {
    min-width: 0;
    width: 100%;
  }
}
/* ===========================
   08. 留学体験談
   =========================== */
.top-review {
  padding: var(--top-sp-80-40) var(--top-sp-h-70-20);
  background: #fff;
}
.top-review__inner {
  max-width: 1200px;
  margin: 0 auto;
  overflow: visible;
}
.top-review__card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  text-decoration: none;
  color: #fff;
}
.top-review__card-media {
  position: relative;
  width: 305px;
  border-radius: 16px;
  overflow: hidden;
  background: #8fa8b8;
}
.top-review__card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.top-review__card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.72) 100%);
}
.top-review__card-catch {
  margin: auto 0 0;
  font-family: 'Zen Kurenaido', sans-serif;
  font-weight: 400;
  font-size: var(--top-fs-27-22);
  line-height: 1.4;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.top-review__card-location {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 3px 36px;
  margin-top: 10px;
  border-radius: 999px;
  background: #1398bf;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}
.top-review__card-name {
  margin: 10px 0 0;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.3;
}
.top-review__card-name-en {
  font-family: 'Inter', sans-serif;
  font-size: var(--top-fs-24-20);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.top-review__card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 12px;
  padding-right: 48px;
}
.top-review__card-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  border: 1px solid #d9d9d9;
  background: #fff;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 500;
  color: #1A1A1A;
  line-height: 1;
  
}
.top-review__card-arrow {
  position: absolute;
  right: 16px;
  bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 2px solid #fff;
  border-radius: 50%;
  pointer-events: none;
}
.top-review__card-arrow svg {
  display: block;
  width: 10px;
  height: 12px;
  fill: #fff;
  margin-left: 2px;
}
@media (max-width: 992px) {
  .top-review__card {
    flex-basis: 280px;
  }
  .top-review__card-media {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .top-review {
    padding: var(--top-sp-80-40) 0;
  }
  .top-review__inner {
    padding: 0 var(--top-sp-h-40-20);
  }
  .top-review__card {
    flex-basis: 300px;
  }
  .top-review__card-media {
    width: 100%;
  }
}
/* ===========================
   09. 留学コラム
   =========================== */
.top-column {
  padding: var(--top-sp-80-40) var(--top-sp-h-70-20);
  background: #fff;
}
.top-column__inner {
  max-width: 1200px;
  margin: 0 auto;
  overflow: visible;
}
.top-column__card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  text-decoration: none;
  color: #231816;
}
.top-column__card-thumb {
  aspect-ratio: 768 / 435;
  overflow: hidden;
  background: #ececec;
}
.top-column__card-thumb.placeholder-img {
  background: #c8c8c8;
}
.top-column__card-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.top-column__card-body {
  padding-top: var(--top-sp-8-5);
}
.top-column__card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.top-column__card-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  border-radius: 999px;
  background: #1398bf;
  font-size: 10px;
  font-weight: 500;
  color: #fff;
  line-height: 1;
}
.top-column__card-title {
  margin: 0;
  font-size: var(--top-fs-18-14);
  font-weight: 500;
  line-height: 1.6;
  color: #1398bf;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.top-column__card-date {
  display: block;
  margin-top: var(--top-sp-8-5);
  font-size: var(--top-fs-16);
  line-height: 1;
  color: #454A55;
}
@media (max-width: 992px) {
  .top-column__card {
    flex-basis: 280px;
  }
}

@media (max-width: 768px) {
  .top-column {
    padding: var(--top-sp-80-40) 0;
  }
  .top-column__inner {
    padding: 0 var(--top-sp-h-40-20);
  }
  .top-column__card {
    flex-basis: 300px;
  }
}
/* ===========================
   10. メディア
   =========================== */
.top-media {
  padding: var(--top-sp-80-40) var(--top-sp-h-70-20);
  background: #fff;
}
.top-media__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.top-media__sns-btns {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}
.top-media__sns-btn {
  display: block;
  line-height: 0;
  transition: opacity .2s;
}
.top-media__sns-btn:hover {
  opacity: .85;
}
.top-media__sns-btn img {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
}
.top-media__cards-scroll {
  width: 100%;
  overflow: visible;
}
.top-media__cards {
  display: flex;
  gap: 24px;
}
.top-media__card {
  flex: 1;
  min-width: 0;
  display: block;
  line-height: 0;
  transition: opacity .2s;
}
.top-media__card:hover {
  opacity: .85;
}
.top-media__card img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 992px) {
  .top-media {
    --top-slide-inset-left: calc(40px + max(0px, (100vw - 80px - 1200px) / 2));
    --top-content-width: min(1200px, calc(100vw - 80px));
    --top-slide-overflow-right: max(0px, calc(100vw - var(--top-slide-inset-left) - var(--top-content-width)));
  }
  .top-media__inner {
    overflow: visible;
  }
  .top-media__sns-btn img {
    width: 180px;
  }
  .top-media__cards-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    box-sizing: border-box;
    width: calc(100vw - var(--top-slide-inset-left));
    max-width: none;
    margin-right: calc(-1 * var(--top-slide-overflow-right));
    padding: 0;
  }
  .top-media__cards-scroll::-webkit-scrollbar {
    display: none;
  }
  .top-media__cards {
    gap: 20px;
    width: max-content;
    padding-bottom: 4px;
    padding-right: var(--top-slide-overflow-right);
  }
  .top-media__card {
    flex: 0 0 280px;
    scroll-snap-align: start;
  }
}

@media (max-width: 768px) {
  .top-media {
    --top-slide-inset-left: 20px;
    --top-content-width: calc(100vw - 40px);
    --top-slide-overflow-right: max(0px, calc(100vw - var(--top-slide-inset-left) - var(--top-content-width)));
  }
  .top-media__sns-btns {
    width: 100%;
    justify-content: center;
  }
  .top-media__sns-btn {
    flex: 1 1 0;
    min-width: 0;
  }
  .top-media__sns-btn img {
    width: 100%;
  }
  .top-media__cards {
    gap: 16px;
  }
  .top-media__card {
    flex-basis: 300px;
    width: 300px;
  }
}
/* ===========================
   11. よくある質問
   =========================== */
.top-faq {
  padding: var(--top-sp-80-40) var(--top-sp-h-70-20);
  background: #fff;
}
.top-faq__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.top-faq__list {
  margin: 0;
  padding: 0;
}
.top-faq__item {
  border-bottom: 1px solid #e0e0e0;
}
.top-faq__question {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: var(--top-sp-24-18) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Noto Sans JP', sans-serif;
}
.top-faq__question:hover {
  opacity: .8;
}
.top-faq__q-text {
  flex: 1;
  font-size: var(--top-fs-20-sm);
  font-weight: 700;
  color: #1A1A1A;
  line-height: 1.6;
}
.top-faq__toggle {
  flex-shrink: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 9px;
  border-color: transparent transparent transparent #1398bf;
  transition: transform .2s;
  margin-right: 15px;
}
.top-faq__question[aria-expanded="true"] .top-faq__toggle {
  transform: rotate(90deg);
  transition: transform .2s;
}
.top-faq__answer {
  margin: 0;
  padding: 0 0 var(--top-sp-24-18);
}
.top-faq__a-text {
  margin: 0;
  width: 70%;
  font-size: var(--top-fs-14);
  line-height: 1.7;
  color: #717171;
  padding: 0 10px;
}
.top-faq:not(.is-list-expanded) .top-faq__item--more {
  display: none;
}
.top-faq__more-wrap {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}
.top-faq__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px 12px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: var(--top-fs-16);
  font-weight: 700;
  color: #717171;
  transition: opacity .2s;
}
.top-faq__more:hover {
  opacity: .8;
}
.top-faq__more-icon {
  flex-shrink: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 9px 5px 0 5px;
  border-color: #717171 transparent transparent transparent;
  transition: transform .2s;
}
.top-faq.is-list-expanded .top-faq__more-icon {
  transform: rotate(180deg);
}
@media (max-width: 992px) {
  .top-faq__a-text {
    width: 85%;
  }
}

@media (max-width: 768px) {
  .top-faq {
    padding: var(--top-sp-80-40) 0;
  }
  .top-faq__inner {
    padding: 0 var(--top-sp-h-40-20);
  }
  .top-faq__a-text {
    line-height: 2;
    width: 100%;
    padding: 0;
  }
}
/* 12. 無料カウンセリング — style-common_2607.css (.rv-counseling) */
/* ===========================
   13. オフィス拠点
   =========================== */
.top-office {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: var(--top-sp-80-40) var(--top-sp-h-70-20);
}
.top-office__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(115.97deg, #CFEAF2 -5.08%, #1398BF 36.12%, #2090B4 77.32%);
  pointer-events: none;
}
.top-office__bg::before {
  content: '';
  position: absolute;
  left: 38%;
  bottom: -21%;
  width: 2000px;
  height: 1150px;
  transform: translateX(-50%);
  background: url('../img/home/top-earth-bg.webp');
  background-size: 100% 100%;
  background-position: center bottom;
  background-repeat: no-repeat;
  mix-blend-mode: multiply;
}
.top-office__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: var(--top-sp-80-40) var(--top-sp-h-50-20);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 40.09%, rgba(219, 219, 219, 0.3) 80.83%);
  border: 1px solid #FFFFFF;
  border-radius: 8px;
}
.top-office__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.top-office__cards {
  display: flex;
  gap: 20px;
  width: 100%;
}
.top-office__card {
  flex: 1;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  padding: 20px;
  box-shadow: -8px 32px 32px -32px rgba(0, 70, 190, 0.3), 8px 32px 32px -32px rgba(0, 70, 190, 0.3);
}
.top-office__card-img {
  width: 100%;
  height: 200px;
  background: #fff;
  overflow: hidden;
}
.top-office__card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.top-office__card-body {
  padding: 16px 0px 0px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.top-office__card-name {
  margin: 0;
  font-size: var(--top-fs-24-20);
  font-weight: 700;
  line-height: 1.6;
  color: #1398BF;
  text-align: center;
}
.top-office__card-address {
  margin: 0;
  font-weight: 500;
  font-size: var(--top-fs-16);
  line-height: 1.6;
  color: #1a1a1a;
}
.top-office__card-map {
  display: inline-block;
  align-self: flex-start;
  font-size: var(--top-fs-16);
  font-weight: 500;
  line-height: 1.6;
  color: #1398bf;
  text-decoration: underline;
}
.top-office__btn-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: var(--top-sp-40-20);
}

@media (min-width: 1200px) {
  .top-office__panel {
    max-width: 1300px;
  }
}

@media (max-width: 992px) {
  .top-office__bg::before {
    width: 1600px;
    height: 920px;
    left: 38%;
    bottom: 0%;
  }
  .top-office__cards {
    flex-wrap: wrap;
  }
  .top-office__card {
    flex: 0 1 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }
}

@media (max-width: 768px) {
  .top-office__bg::before {
    width: 1200px;
    height: 740px;
  }
  .top-office__cards {
    flex-direction: column;
    gap: 16px;
  }
  .top-office__card {
    flex: 1 1 auto;
    max-width: none;
    width: 100%;
  }
}

/* ===========================
   14. CTAバナー
   （ボタンは .top-quickcta__* を共用）
   =========================== */

/* ===========================
   共通パーツ
   （セクション横断で使用するコンポーネント）
   =========================== */
.top-head__title.is-white {
  color: #fff;
}
.top-head__lead.is-white {
  color: #fff;
}

/* 共通セクション見出し */
.top-head {
  margin-bottom: var(--top-sp-40-20);
}
.top-head--center {
  text-align: center;
}
.top-head--left {
  text-align: left;
}
.top-head--bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
}
.top-head--bar .top-head__body {
  flex: 1 0 auto;
  min-width: max-content;
}
.top-head--bar .top-head__title,
.top-head--bar .top-head__lead {
  white-space: nowrap;
}
.top-head--bar .top-btn {
  flex: 0 0 auto;
  min-width: 240px;
}
.top-head--bar .top-btn__label {
  white-space: nowrap;
}

.top-review,
.top-column {
  --top-slide-inset-left: calc(70px + max(0px, (100vw - 140px - 1200px) / 2));
  --top-content-width: min(1200px, calc(100vw - 140px));
  --top-slide-overflow-right: max(0px, calc(100vw - var(--top-slide-inset-left) - var(--top-content-width)));
}

/* 共通カードスライダー（左=inner揃え / 右=画面はみ出し / 終点=ボタン右端） */
.top-card-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  box-sizing: border-box;
  width: calc(100vw - var(--top-slide-inset-left));
  max-width: none;
  margin-left: 0;
  margin-right: calc(-1 * var(--top-slide-overflow-right));
  padding: 0;
}
.top-card-scroll::-webkit-scrollbar {
  display: none;
}
.top-card-scroll__track {
  display: flex;
  gap: 24px;
  width: max-content;
  padding-bottom: 4px;
  padding-right: var(--top-slide-overflow-right);
}

.top-head__title {
  margin: 0 0 var(--top-sp-5);
  font-size: var(--top-fs-40);
  font-weight: 700;
  line-height: 1.2;
  color: #1398bf;
}
.top-head__lead {
  margin: 0;
  font-size: var(--top-fs-18);
  line-height: 1;
  color: #717171;
}

.top-section-more {
  display: flex;
  justify-content: center;
  margin-top: var(--top-sp-48-32);
}
.top-section-more__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  height: 56px;
  padding: 0 32px;
  border: 2px solid #1398bf;
  border-radius: 8px;
  font-size: var(--top-fs-16);
  font-weight: 700;
  color: #1398bf;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.top-section-more__btn:hover {
  background: #1398bf;
  color: #fff;
}

/* 共通ボタン */
.top-btn {
  display: inline-flex;
  flex: 0 0 auto;
  width: fit-content;
  max-width: 100%;
  height: auto;
  padding: 4px;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: opacity .2s;
  box-sizing: border-box;
}
.top-btn:hover {
  opacity: .85;
  color: #fff;
}
.top-btn--primary {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.30) 40.09%, rgba(219, 219, 219, 0.30) 80.83%), #FF8C00;
}
.top-btn--primary .top-btn__inner {
  background: #FF8C00;
}
.top-btn__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding-left: var(--top-sp-h-44-36);
  padding-right: var(--top-sp-h-44-36);
  border-radius: 8px;
  border: 1px solid #fff;
  box-sizing: border-box;
}
.top-btn--lg {
  min-width: 400px;
  min-height: 80px;
  font-size: var(--top-fs-26-20);
}
.top-btn--lg .top-btn__inner {
  min-height: 76px;
}
.top-btn--md {
  min-height: 52px;
  font-size: var(--top-fs-16);
}
.top-btn--md .top-btn__inner {
  min-height: 48px;
  padding-left: var(--top-sp-h-32-28);
  padding-right: var(--top-sp-h-32-28);
}
.top-btn--sm {
  min-height: 44px;
  font-size: var(--top-fs-14);
}
.top-btn--sm .top-btn__inner {
  min-height: 40px;
  padding-left: var(--top-sp-h-24-16);
  padding-right: var(--top-sp-h-24-16);
}
.top-btn--sm .top-btn__icon {
  right: 12px;
}
.top-btn--sm .top-btn__icon svg {
  width: 10px;
  height: 12px;
}
.top-btn__label {
  width: 100%;
  text-align: center;
}
.top-btn--lg .top-btn__label {
  white-space: nowrap;
}
.top-btn__icon {
  position: absolute;
  top: 50%;
  right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  pointer-events: none;
}
.top-btn__icon svg {
  display: block;
  width: 12px;
  height: 14px;
  fill: #fff;
  margin-left: 2px;
}

@media (min-width: 1200px) {
  .top-review, .top-column {
    --top-slide-inset-left: calc(70px + max(0px, (100vw - 140px - 1200px) / 2));
    --top-content-width: min(1200px, calc(100vw - 140px));
    --top-slide-overflow-right: max(0px, calc(100vw - var(--top-slide-inset-left) - var(--top-content-width)));
  }
}

@media (max-width: 1200px) {
  .top-review, .top-column {
    --top-slide-inset-left: calc(40px + max(0px, (100vw - 80px - 1200px) / 2));
    --top-content-width: min(1200px, calc(100vw - 80px));
    --top-slide-overflow-right: max(0px, calc(100vw - var(--top-slide-inset-left) - var(--top-content-width)));
  }
}

@media (max-width: 992px) {
  .top-head--bar {
    align-items: flex-start;
  }
  .top-btn--lg {
    min-width: 0;
    width: 100%;
    max-width: 400px;
    min-height: 72px;
    font-size: var(--top-fs-22-17);
    letter-spacing: 0.02em;
  }
  .top-btn--lg .top-btn__inner {
    min-height: 70px;
    padding-left: var(--top-sp-h-32-28);
    padding-right: var(--top-sp-h-32-28);
  }
  .top-section-more__btn {
    min-width: 240px;
  }
  .top-review, .top-column {
    --top-slide-inset-left: calc(40px + max(0px, (100vw - 80px - 1200px) / 2));
    --top-content-width: min(1200px, calc(100vw - 80px));
    --top-slide-overflow-right: max(0px, calc(100vw - var(--top-slide-inset-left) - var(--top-content-width)));
  }
}

@media (max-width: 768px) {
  .top-head__title {
    margin: 0 0 var(--top-sp-10);
  }
  .top-head__title.is-white {
    margin-bottom: 10px;
  }
  .top-head__lead {
    line-height: 1.2;
  }
  .top-head--bar .top-head__body {
    flex: 1 1 auto;
    min-width: 0;
  }
  .top-head--bar .top-head__title, .top-head--bar .top-head__lead {
    white-space: normal;
  }
  .top-head--bar {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .top-btn--lg {
    min-width: 0;
    width: 100%;
    max-width: none;
    min-height: 50px;
  }
  .top-btn--lg .top-btn__inner {
    min-height: 56px;
  }
  .top-btn--md {
    min-height: 48px;
  }
  .top-btn--md .top-btn__inner {
    min-height: 44px;
  }
  .top-btn--sm {
    min-height: 36px;
  }
  .top-btn--sm .top-btn__inner {
    min-height: 32px;
  }
  .top-btn--sm .top-btn__icon {
    right: 10px;
  }
  .top-btn--sm .top-btn__icon svg {
    width: 8px;
    height: 10px;
  }
  .top-review, .top-column {
    --top-slide-inset-left: 20px;
    --top-content-width: calc(100vw - 40px);
    --top-slide-overflow-right: max(0px, calc(100vw - var(--top-slide-inset-left) - var(--top-content-width)));
  }
}

@media (max-width: 576px) {
  .top-section-more__btn {
    min-width: 0;
    width: 100%;
    height: 48px;
  }
}
