@charset "UTF-8";
/* TOKYO GLOBAL GATEWAY TOPページ
   クラスは top- / u- で始まる。860px以下をスマホ・タブレットとして扱う。
   人物の写真は3:2のまま全体を見せる（体を切らない） */

/* 1. 変数 */
:root {
  --top-navy: #132441;
  --top-blue: #1a56b0;
  --top-red: #dd332a;
  --top-green: #1c8348;
  --top-pink: #d6336c;
  --top-ink: #22304a;
  --top-mute: #5b6a84;
  --top-line: #dde4ef;
  --top-radius: 20px;
  --top-shadow: 0 14px 40px rgba(19, 36, 65, .12);
  --top-shadow-sm: 0 4px 18px rgba(19, 36, 65, .07);
  --top-maxw: 1280px;
  --top-header-h: 72px;
  --top-gutter: max(20px, calc((100vw - var(--top-maxw)) / 2 + 20px));
  --top-ease: cubic-bezier(.2, .7, .2, 1);
  --top-font: Dosis, "Noto Sans JP", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
}

/* 2. ベース */
html { scroll-behavior: smooth; scroll-padding-top: var(--top-header-h); }
.top-page { margin: 0; font-family: var(--top-font); font-size: 15px; line-height: 1.8; color: var(--top-ink); background: #fff; -webkit-text-size-adjust: 100%; }
:where(.top-page) *, :where(.top-page) *::before, :where(.top-page) *::after { box-sizing: border-box; }
:where(.top-page) :where(h1, h2, h3, p, ul, ol, dl, dd, figure, address) { margin: 0; padding: 0; }
:where(.top-page) :where(ul, ol) { list-style: none; }
:where(.top-page) address { font-style: normal; }
:where(.top-page) img { display: block; max-width: 100%; height: auto; }
:where(.top-page) a { color: inherit; text-decoration: none; }
:where(.top-page) button { font: inherit; cursor: pointer; }
:where(.top-page) :focus-visible { outline: 3px solid var(--top-blue); outline-offset: 3px; }
:where(.top-page) main { overflow-x: clip; }
/* 3. ユーティリティ */
.u-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.u-nw { display: inline-block; }
.u-sp { display: none; }
.top-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--top-navy); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.top-skip:focus { top: 12px; }
.top-container { max-width: var(--top-maxw); margin: 0 auto; padding: 0 20px; }

.top-pin { display: inline-flex; align-items: center; gap: 6px; }
.top-pin::before { content: ""; flex: none; width: 10px; height: 14px; background: var(--top-red); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 14'%3E%3Cpath d='M5 0a5 5 0 0 0-5 5c0 3.7 5 9 5 9s5-5.3 5-9a5 5 0 0 0-5-5zm0 7a2 2 0 1 1 0-4 2 2 0 0 1 0 4z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 14'%3E%3Cpath d='M5 0a5 5 0 0 0-5 5c0 3.7 5 9 5 9s5-5.3 5-9a5 5 0 0 0-5-5zm0 7a2 2 0 1 1 0-4 2 2 0 0 1 0 4z'/%3E%3C/svg%3E") center / contain no-repeat; }

/* 4. 部品 */
.top-btn { display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; margin-top: 22px; padding: 13px 26px; border-radius: 999px; font-size: 14px; font-weight: 700; color: #fff; transition: transform .3s var(--top-ease), box-shadow .3s var(--top-ease); }
.top-btn::after { content: "→"; font-weight: 900; transition: transform .3s var(--top-ease); }
.top-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(19, 36, 65, .2); }
.top-btn:hover::after { transform: translateX(4px); }
.top-btn--lg { padding: 15px 30px; font-size: 15px; }
.top-btn--blue { background: var(--top-blue); }
.top-btn--green { background: var(--top-green); }
.top-btn--pink { background: var(--top-pink); }
.top-btn--navy { background: var(--top-navy); }
.top-btn--white { background: #fff; color: var(--top-navy); }

.top-link { display: inline-block; font-size: 14px; font-weight: 700; color: var(--top-blue); border-bottom: 1px solid currentColor; }
.top-link::after { content: " →"; }
.top-link--ext::after { content: " ↗"; }

.top-kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: .24em; }
.top-kicker::before { content: ""; width: 32px; height: 2px; background: currentColor; }

.top-head { margin-bottom: 44px; color: var(--top-navy); }
.top-head__title { margin-top: 10px; font-size: clamp(24px, 3vw, 38px); font-weight: 900; line-height: 1.35; letter-spacing: .02em; }
.top-head__lead { margin-top: 8px; font-size: 15px; font-weight: 700; color: var(--top-ink); opacity: .8; }
.top-head--center { text-align: center; }
.top-head--right { text-align: right; }
.top-head--blue { color: var(--top-blue); }
.top-head--pink { color: var(--top-pink); }
.top-head--navy { color: var(--top-navy); }
.top-head--white { color: #fff; }
.top-head--white .top-head__lead { color: #fff; opacity: .75; }

/* 臨時のお知らせ欄 */
.top-notice { background: var(--top-red); text-align: center; }
.top-notice a { display: block; padding: 18px 20px; font-size: clamp(15px, 1.6vw, 20px); font-weight: 900; line-height: 1.5; color: #fff; }
.top-notice a::after { content: " →"; }
.top-notice a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* 5. ヘッダー */
.top-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--top-line); }
.top-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--top-header-h); max-width: 1440px; margin: 0 auto; padding: 0 28px; }
.top-header__brand { display: flex; align-items: center; gap: 14px; }
.top-header__logo { width: 108px; height: 48px; }
.top-header__tagline { padding-left: 14px; border-left: 1px solid var(--top-line); font-size: 10px; font-weight: 500; line-height: 1.6; letter-spacing: .12em; color: var(--top-mute); }
.top-nav__list { display: flex; align-items: center; gap: 2px; }
.top-nav__link { position: relative; display: block; padding: 10px 12px; font-size: 13.5px; font-weight: 700; color: var(--top-navy); }
.top-nav__link:not(.top-nav__link--cta)::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--top-blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--top-ease); }
.top-nav__link:not(.top-nav__link--cta):hover::after { transform: scaleX(1); }
.top-nav__link--cta { margin-left: 10px; padding: 12px 22px; border-radius: 999px; background: var(--top-red); color: #fff; transition: background .2s ease; }
.top-nav__link--cta:hover { background: var(--top-navy); }
.top-menu-btn { display: none; align-items: center; gap: 10px; padding: 8px 4px; border: 0; background: none; font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--top-navy); }
.top-menu-btn__bars, .top-menu-btn__bars::before, .top-menu-btn__bars::after { display: block; width: 24px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--top-ease), opacity .2s ease; }
.top-menu-btn__bars { position: relative; }
.top-menu-btn__bars::before, .top-menu-btn__bars::after { content: ""; position: absolute; left: 0; }
.top-menu-btn__bars::before { top: -7px; }
.top-menu-btn__bars::after { top: 7px; }
.top-header.is-open .top-menu-btn__bars { background: transparent; }
.top-header.is-open .top-menu-btn__bars::before { transform: translateY(7px) rotate(45deg); }
.top-header.is-open .top-menu-btn__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* 6. ヒーロー */
.top-hero { position: relative; aspect-ratio: 300 / 122; overflow: hidden; background: var(--top-blue); }
.top-hero__visual { position: absolute; top: 0; bottom: 0; left: 0; width: 61%; }
.top-hero__slides, .top-hero__slide { position: absolute; inset: 0; }
.top-hero__slide { opacity: 0; transition: opacity 1.4s ease; }
.top-hero__slide.is-active { opacity: 1; }
.top-hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.top-hero__dots { position: absolute; left: var(--top-gutter); bottom: 32px; z-index: 3; display: flex; gap: 8px; }
.top-hero__dot { position: relative; width: 28px; height: 4px; padding: 0; border: 0; border-radius: 2px; background: rgba(255, 255, 255, .5); transition: width .3s var(--top-ease), background .3s ease; }
.top-hero__dot::before { content: ""; position: absolute; inset: -20px -4px; }
.top-hero__dot.is-active { width: 48px; background: #fff; }

.top-hero__panel { position: absolute; top: 0; right: 0; bottom: 0; z-index: 2; width: 39%; display: flex; align-items: center; background: #fff; clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%); }
.top-hero__panel-inner { width: 100%; padding: 0 min(var(--top-gutter), 80px) 0 18%; }
.top-hero__logo { width: min(260px, 62%); margin-bottom: 32px; }
.top-hero__title { font-size: clamp(26px, 3vw, 46px); font-weight: 900; line-height: 1.38; color: var(--top-navy); }
.top-hero__em { background: linear-gradient(transparent 64%, rgba(26, 86, 176, .16) 64%); }
.top-hero__sites { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 28px; }
.top-hero__site { padding-left: 12px; border-left: 4px solid; font-size: 13px; font-weight: 700; line-height: 1.4; color: var(--top-navy); }
.top-hero__site span { display: block; font-size: 15px; font-weight: 800; letter-spacing: .06em; }
.top-hero__site--bo { border-color: var(--top-blue); }
.top-hero__site--bo span { color: var(--top-blue); }
.top-hero__site--gs { border-color: var(--top-green); }
.top-hero__site--gs span { color: var(--top-green); }

/* 7. TGGとは */
.top-about { position: relative; overflow: hidden; padding: 110px 0 120px; }
.top-about__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(260px, 360px) 1fr; align-items: center; gap: 64px; }
.top-about__head { color: var(--top-blue); }
.top-about__title { margin-top: 12px; font-size: clamp(32px, 4.4vw, 58px); font-weight: 900; line-height: 1.2; color: var(--top-navy); white-space: nowrap; }
.top-about__title span { color: var(--top-red); }
.top-about__text { font-size: clamp(15px, 1.35vw, 18px); line-height: 2.2; color: var(--top-ink); }
.top-about__bg { position: absolute; left: 0; right: 0; bottom: 0; font-size: clamp(40px, 8.4vw, 150px); font-weight: 800; line-height: 1; letter-spacing: .02em; white-space: nowrap; color: rgba(19, 36, 65, .04); text-align: center; pointer-events: none; }

/* 8. セクション共通 */
.top-section { padding: 110px 0 0; }

/* 9. 学校 */
.top-split { --accent: var(--top-blue); display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
.top-split + .top-split { margin-top: 72px; }
.top-split--green { --accent: var(--top-green); }
.top-split__media { overflow: hidden; border-radius: 0 var(--top-radius) var(--top-radius) 0; }
.top-split__media img { width: 100%; height: clamp(300px, 34vw, 500px); object-fit: cover; transition: transform 1.2s var(--top-ease); }
.top-split:hover .top-split__media img { transform: scale(1.04); }
.top-split__body { display: flex; flex-direction: column; padding-right: var(--top-gutter); }
.top-split--reverse .top-split__media { order: 2; border-radius: var(--top-radius) 0 0 var(--top-radius); }
.top-split--reverse .top-split__body { padding: 0 0 0 var(--top-gutter); }
.top-split__num { font-size: clamp(64px, 7vw, 104px); font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--accent); opacity: .5; }
.top-split__label { margin-top: 12px; font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--top-mute); }
.top-split__label > span { display: block; }
.top-split__label b { display: block; font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; letter-spacing: .04em; line-height: 1.2; color: var(--accent); }
.top-split__label small { font-size: .62em; font-weight: 900; letter-spacing: .02em; }
.top-split__text { max-width: 30em; margin-top: 16px; font-size: 15px; color: var(--top-mute); }

/* 10. スクール */
.top-course { position: relative; margin-top: 110px; padding: 110px 0 120px; background: linear-gradient(180deg, #fdf0f5 0%, #fff7fa 100%); }
.top-course::before { content: ""; position: absolute; top: -60px; right: 8%; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(214, 51, 108, .25), rgba(214, 51, 108, 0) 70%); pointer-events: none; }
.top-feature { --accent: var(--top-blue); position: relative; display: grid; grid-template-columns: 7fr 5fr; align-items: center; }
.top-feature + .top-feature { margin-top: 72px; }
.top-feature--catal { --accent: var(--top-pink); }
.top-feature__media { overflow: hidden; border-radius: var(--top-radius); grid-column: 1 / 2; grid-row: 1; }
.top-feature__media img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.top-feature__body { position: relative; z-index: 1; grid-column: 2 / 3; grid-row: 1; display: flex; flex-direction: column; margin-left: -96px; padding: 40px 40px 42px; border-radius: var(--top-radius); background: #fff; box-shadow: var(--top-shadow); }
.top-feature--reverse { grid-template-columns: 5fr 7fr; }
.top-feature--reverse .top-feature__media { grid-column: 2 / 3; }
.top-feature--reverse .top-feature__body { grid-column: 1 / 2; margin: 0 -96px 0 0; }
.top-feature__tag { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 900; letter-spacing: .04em; color: var(--accent); }
.top-feature__tag::before { content: ""; flex: none; width: 24px; height: 2px; background: currentColor; }
.top-feature__title { margin-top: 10px; font-size: clamp(22px, 2.2vw, 28px); font-weight: 900; line-height: 1.4; color: var(--accent); }
.top-feature__text { margin-top: 14px; font-size: 14.5px; color: var(--top-mute); }
.top-feature__text strong { font-size: 16px; color: var(--top-navy); }
.top-places { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 12px; font-size: 13.5px; font-weight: 800; color: var(--top-navy); }
.top-pin--bo { color: var(--top-blue); }
.top-pin--gs { color: var(--top-green); }
.top-pin--bo::before, .top-pin--gs::before { background: currentColor; }

/* 11. 体験・団体 */
.top-band { display: grid; grid-template-columns: 1fr 1fr; }
.top-band__media { display: flex; align-items: center; overflow: hidden; }
.top-band__media img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.top-band--pink .top-band__media { background: #ffeef4; }
.top-band--navy .top-band__media { background: var(--top-navy); }
.top-band__body { display: flex; flex-direction: column; justify-content: center; padding: 64px var(--top-gutter) 64px 72px; }
.top-band--reverse .top-band__media { order: 2; }
.top-band--reverse .top-band__body { padding: 64px 72px 64px var(--top-gutter); }
.top-band__title { font-size: clamp(21px, 2.2vw, 28px); font-weight: 900; line-height: 1.45; }
.top-band__text { max-width: 30em; margin-top: 16px; font-size: 15px; }
.top-band--pink .top-band__body { background: linear-gradient(135deg, #fff6f9 0%, #ffe4ed 100%); color: var(--top-navy); }
.top-band--pink .top-band__text { color: var(--top-mute); }
.top-band--navy .top-band__body { background: var(--top-navy); color: #fff; }
.top-band--navy .top-band__text { color: rgba(255, 255, 255, .8); }

/* 12. アクセス */
.top-access { padding-bottom: 0; }
.top-access__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--top-line); }
.top-access__item { --accent: var(--top-blue); display: flex; flex-direction: column; background: #fff; }
.top-access__item--green { --accent: var(--top-green); }
.top-access__map { display: block; width: 100%; height: 380px; border: 0; background: #e9edf3; }
.top-access__body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 32px 48px 44px; border-top: 6px solid var(--accent); }
.top-access__item--blue .top-access__body, .top-access__item--blue .top-access__name { padding-left: var(--top-gutter); }
.top-access__item--green .top-access__body, .top-access__item--green .top-access__name { padding-right: var(--top-gutter); }
.top-access__name { padding: 16px 48px 18px; background: var(--accent); font-size: clamp(20px, 2vw, 26px); font-weight: 900; line-height: 1.3; color: #fff; }
.top-access__name span { display: block; margin-bottom: 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; opacity: .85; }
.top-access__addr { font-size: 15px; font-weight: 700; color: var(--top-navy); }
.top-access__route { flex: 1; margin: 8px 0 18px; }
.top-access__route dt { margin-top: 14px; font-size: 13px; font-weight: 800; color: var(--accent); }
.top-access__route dd { position: relative; padding-left: 14px; font-size: 14px; color: var(--top-mute); }
.top-access__route dd::before { content: ""; position: absolute; left: 0; top: .8em; width: 6px; height: 2px; background: var(--accent); }

/* 13. 会社情報 */
.top-company { padding-bottom: 0; }
.top-company__inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; }
.top-company__media { overflow: hidden; border-radius: 0 var(--top-radius) var(--top-radius) 0; }
.top-company__media img { width: 100%; height: clamp(320px, 32vw, 480px); object-fit: cover; }
.top-company__body { padding-right: var(--top-gutter); }
.top-company__body .top-head { margin-bottom: 28px; }
.top-company__table div { display: grid; grid-template-columns: 120px 1fr; padding: 16px 0; border-bottom: 1px solid var(--top-line); }
.top-company__table div:first-child { border-top: 2px solid var(--top-navy); }
.top-company__table dt { font-size: 14px; font-weight: 800; color: var(--top-navy); }
.top-company__table dd { font-size: 15px; }
.top-company__table .top-link { font-size: 15px; }

/* 14. お問い合わせ */
.top-contact { padding-top: 110px; }
.top-contact__band { position: relative; overflow: hidden; padding: 96px 0; background: linear-gradient(120deg, var(--top-navy) 0%, #1d3a6b 70%, #24508f 100%); color: #fff; }
.top-contact__band::before, .top-contact__band::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.top-contact__band::before { right: -120px; top: -160px; width: 520px; height: 520px; border: 60px solid rgba(255, 255, 255, .04); }
.top-contact__band::after { left: -80px; bottom: -200px; width: 380px; height: 380px; background: rgba(232, 56, 47, .14); filter: blur(10px); }
.top-contact__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(220px, 320px) 1fr; gap: 64px; align-items: start; }
.top-contact__inner .top-head { margin-bottom: 0; }
.top-contact__title { font-size: clamp(19px, 2vw, 25px); font-weight: 900; line-height: 1.5; }
.top-contact__desc { margin-top: 10px; font-size: 14.5px; color: rgba(255, 255, 255, .75); }
.top-contact__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; margin-top: 30px; }
.top-contact__tel, .top-contact__form { display: flex; flex-direction: column; justify-content: center; min-height: 148px; }
.top-contact__tel { padding: 4px 0 4px 24px; border-left: 3px solid rgba(255, 255, 255, .5); color: #fff; }
.top-contact__tel-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; opacity: .75; }
.top-contact__tel-num { align-self: flex-start; white-space: nowrap; margin-top: 2px; font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .04em; line-height: 1.6; }
.top-contact__tel-num:hover { text-decoration: underline; text-underline-offset: 3px; }
.top-contact__hours { margin-top: 4px; font-size: 12px; opacity: .75; }
.top-contact__form { position: relative; min-height: 112px; padding: 24px 64px 24px 34px; border-radius: 999px; background: var(--top-red); color: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, .2); transition: transform .3s var(--top-ease), box-shadow .3s var(--top-ease), background .2s ease; }
.top-contact__form:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(0, 0, 0, .3); }
.top-contact__form::after { content: "→"; position: absolute; right: 28px; top: 50%; font-size: 26px; font-weight: 900; transform: translateY(-50%); transition: transform .3s var(--top-ease); }
.top-contact__form:hover::after { transform: translate(6px, -50%); }
.top-contact__form-label { font-size: 12px; font-weight: 700; letter-spacing: .2em; opacity: .85; }
.top-contact__form-text { margin-top: 4px; font-size: clamp(17px, 1.6vw, 20px); font-weight: 900; }
.top-contact__sub { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; padding: 56px 0 24px; }
.top-contact__sub li { display: flex; flex-direction: column; align-items: flex-start; padding: 28px 0; border-top: 2px solid var(--top-navy); }
.top-contact__sub-title { font-size: 18px; font-weight: 900; color: var(--top-navy); }
.top-contact__sub p { flex: 1; margin: 8px 0 14px; font-size: 14px; color: var(--top-mute); }
.top-contact__sub-links { display: flex; flex-wrap: wrap; gap: 20px; }

/* 15. オンライン英会話バナー・SNS */
.top-links { padding: 40px 0 96px; }
.top-links__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: stretch; }
.top-links__banner { display: block; overflow: hidden; border: 1px solid var(--top-line); border-radius: var(--top-radius); box-shadow: var(--top-shadow-sm); transition: transform .3s var(--top-ease), box-shadow .3s var(--top-ease); }
.top-links__banner:hover { transform: translateY(-3px); box-shadow: var(--top-shadow); }
.top-links__banner img { width: 100%; height: 100%; object-fit: cover; }
.top-sns { display: grid; grid-template-rows: repeat(3, 1fr); gap: 12px; }
.top-sns__link { display: flex; align-items: center; gap: 18px; height: 100%; min-height: 76px; padding: 0 26px; border-radius: var(--top-radius); color: #fff; transition: transform .3s var(--top-ease), box-shadow .3s var(--top-ease); }
.top-sns__link:hover { transform: translateX(6px); box-shadow: var(--top-shadow-sm); }
.top-sns__icon { flex: none; width: 32px; height: 32px; }
.top-sns__text { padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .45); line-height: 1.3; }
.top-sns__text b { display: block; font-size: 20px; font-weight: 800; }
.top-sns__text small { font-size: 12px; font-weight: 700; opacity: .92; }
.top-sns__link--instagram { background: linear-gradient(45deg, #f9b233 0%, #e1306c 45%, #833ab4 78%, #405de6 100%); }
.top-sns__link--x { background: #111; }
.top-sns__link--youtube { background: #d93025; }

/* 16. フッター */
.top-footer { padding: 40px 16px 32px; border-top: 1px solid var(--top-line); background: #fff; text-align: center; font-size: 12px; color: var(--top-mute); }
.top-footer__logo { width: 126px; height: 56px; margin: 0 auto 12px; }

/* 17. スマホ用の固定お問い合わせバー */
.top-fixed-cta { display: none; }

/* 18. スクロールで表示 */
.js .js-reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--top-ease), transform .9s var(--top-ease); }
.js .js-reveal--left { transform: translateX(-56px); }
.js .js-reveal--right { transform: translateX(56px); }
.js .js-reveal.is-inview { opacity: 1; transform: none; }

/* 19. 中間幅 */
@media (max-width: 1100px) and (min-width: 861px) {
  .top-nav__link { padding: 10px 8px; font-size: 12.5px; }
  .top-nav__link--cta { margin-left: 4px; padding: 11px 16px; }
  .top-header__tagline { display: none; }
  .top-links__grid { grid-template-columns: 1fr; }
  .top-sns { grid-template-rows: none; grid-template-columns: repeat(3, 1fr); }
  .top-feature__body { margin-left: -64px; padding: 32px; }
  .top-feature--reverse .top-feature__body { margin-right: -64px; }
  .top-band__body, .top-band--reverse .top-band__body { padding-top: 36px; padding-bottom: 36px; }
  .top-contact__actions { grid-template-columns: 1fr; gap: 24px; }
}

/* 20. スマホ・タブレット */
@media (max-width: 860px) {
  :root { --top-header-h: 64px; }
  .u-sp { display: inline; }
  .top-header__inner { padding: 0 20px; }
  .top-header__logo { width: 95px; height: 42px; }
  .top-header__tagline { font-size: 9.5px; }

  .top-menu-btn { display: inline-flex; }
  .top-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 8px 20px 24px; border-bottom: 1px solid var(--top-line); background: #fff; box-shadow: 0 14px 28px rgba(19, 36, 65, .12); }
  .top-header.is-open .top-nav { display: block; }
  .top-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .top-nav__link { padding: 16px 4px; border-bottom: 1px solid var(--top-line); font-size: 15px; }
  .top-nav__link:not(.top-nav__link--cta)::after { display: none; }
  .top-nav__link--cta { margin: 18px 0 0; padding: 15px; border-bottom: 0; text-align: center; }

  .top-hero { aspect-ratio: auto; }
  .top-hero__visual { position: relative; width: 100%; aspect-ratio: 3 / 2; }
  .top-hero__dots { left: 20px; bottom: 16px; }
  .top-hero__panel { position: relative; width: 100%; padding: 56px 0 48px; clip-path: polygon(0 32px, 100% 0, 100% 100%, 0 100%); }
  .top-hero__panel-inner { padding: 0 24px; }
  .top-hero__logo { width: 150px; margin-bottom: 20px; }
  .top-hero__title { font-size: clamp(24px, 6.6vw, 32px); }

  .top-about { padding: 72px 0 84px; }
  .top-about__inner { grid-template-columns: 1fr; gap: 20px; }
  .top-about__text { line-height: 2; }

  .top-section { padding-top: 72px; }
  .top-head { margin-bottom: 28px; }
  .top-head--right { text-align: left; }

  .top-split, .top-band, .top-company__inner { grid-template-columns: 1fr; gap: 0; }
  .top-split + .top-split { margin-top: 48px; }
  .top-split__media, .top-split--reverse .top-split__media { order: 0; border-radius: 0; }
  .top-split__media img { height: 240px; }
  .top-split__body, .top-split--reverse .top-split__body { padding: 24px 20px 0; }
  .top-split__num { font-size: 56px; }

  .top-course { margin-top: 72px; padding: 72px 0 72px; }
  .top-feature, .top-feature--reverse { grid-template-columns: 1fr; }
  .top-feature + .top-feature { margin-top: 48px; }
  .top-feature__media, .top-feature--reverse .top-feature__media { grid-column: 1; grid-row: 1; }
  .top-feature__body, .top-feature--reverse .top-feature__body { grid-column: 1; grid-row: 2; margin: -48px 8px 0; padding: 26px 20px 28px; }

  .top-band--reverse .top-band__media { order: 0; }
  .top-band__body, .top-band--reverse .top-band__body { padding: 32px 22px 40px; }

  .top-access__grid { grid-template-columns: 1fr; }
  .top-access__map { height: 240px; }
  .top-access__body, .top-access__item--blue .top-access__body, .top-access__item--green .top-access__body { padding: 26px 20px 32px; }
  .top-access__name, .top-access__item--blue .top-access__name, .top-access__item--green .top-access__name { padding: 14px 20px 16px; }

  .top-company__media { border-radius: 0; }
  .top-company__media img { height: 240px; }
  .top-company__body { padding: 28px 20px 0; }
  .top-company__table div { grid-template-columns: 88px 1fr; }

  .top-contact { padding-top: 72px; }
  .top-contact__band { padding: 64px 0; }
  .top-contact__inner { grid-template-columns: 1fr; gap: 28px; }
  .top-contact__actions { grid-template-columns: 1fr; gap: 24px; }
  .top-contact__tel, .top-contact__form { min-height: 0; }
  .top-contact__tel { padding-left: 18px; }
  .top-contact__form { padding: 22px 60px 22px 28px; }
  .top-contact__sub { grid-template-columns: 1fr; padding-top: 32px; }

  .top-links { padding: 24px 0 72px; }
  .top-links__grid { grid-template-columns: 1fr; }
  .top-sns { grid-template-rows: none; grid-template-columns: 1fr; }
  .top-sns__link { height: 72px; }

  .top-fixed-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr; padding-bottom: env(safe-area-inset-bottom); background: var(--top-red); box-shadow: 0 -6px 20px rgba(19, 36, 65, .15); transition: transform .4s var(--top-ease), visibility .4s; }
  .js .top-fixed-cta { visibility: hidden; transform: translateY(110%); }
  .js .top-fixed-cta.is-visible { visibility: visible; transform: none; }
  .top-fixed-cta a { display: flex; align-items: center; justify-content: center; height: 56px; font-size: 14px; font-weight: 800; color: #fff; }
  .top-fixed-cta__form { background: var(--top-red); }
  .top-fixed-cta__form::after { content: "→"; margin-left: 10px; font-weight: 900; }
  .top-footer { padding-bottom: calc(32px + 56px + env(safe-area-inset-bottom)); }
}

/* 21. 動きを減らす設定の人には動かさない */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .top-page *, .top-page *::before, .top-page *::after { transition: none !important; }
  .js .js-reveal { opacity: 1; transform: none; }
}
