@charset "UTF-8";
/* ============================================================
   header.css - ヘッダー・ナビゲーション(改修版 2026-05-20)
   --------------------------------------------------------------
   読み込み条件: 全ページで読み込み
   役割:
     - サブページ用ヘッダー(#commonHeader)のスタイル
     - トップ用ヘッダー(#header, .hero__*, #navigation 等)のスタイル
     - CTAボタン(.btn-primary, .btn-secondary)のスタイル

   構成:
     1. 共通スタイル(全デバイス共通)
     2. PC版スタイル(@media min-width: 769px)
     3. スマホ版スタイル(@media max-width: 768px)
     4. その他のメディアクエリ(画面サイズ別の微調整)
     5. アニメーション(@keyframes)

   ルール:
     - font-family / font-size はサイト共通CSS(common.css)で管理
     - 個別フォント指定はアイコン用(FontAwesome等)・装飾用(Roboto等)のみ
     - ブレークポイント: PC ≥ 769px / SP ≤ 768px

   改修ポイント(2026-05-20):
     - ヒーロー背景のオーバーレイを大幅に薄く → 明るく清潔感のある印象に
     - キャッチコピーを黒文字+アクセント色(ピンク/水色)に変更
     - バッジを白背景+黒文字+カラードットに変更
     - CTAボタン(白)を白背景+青枠+黒文字に変更
     - グローバルナビ(PC版)を白背景+アイコン縦並びセンター揃え8項目に
     - スマホ版ナビをフローティング型ハンバーガーメニューに変更
   ============================================================ */


/* ============================================================
   1. 共通スタイル
   ============================================================ */


/* --- サブページ用ヘッダー(#commonHeader) --- */


#commonHeader {
  position: fixed;
  top: 0;
  z-index: 11;
  width: 100%;
  background: #fff;
  line-height: 1;
}

#commonHeader p {
  margin: 0;
}

#commonHeader a {
  display: block;
}

#commonHeader .logo {
  width: 150px;
  margin-bottom: 0;
  padding-top: 15px;
  padding-bottom: 15px;
  padding-left: 10px;
}

#commonHeader .mod-link {
  top: 0;
  right: 10px;
  min-width: 45%;
  vertical-align: top;
}

#commonHeader .link-student {
  position: absolute;
  top: 3px;
  right: 60px;
  margin-bottom: 1em;
  text-shadow: 0 0 5px #fff;
  vertical-align: top;
  font-size: .929em;
}

#commonHeader .link-student a {
  margin-top: 10px;
  padding: .65em .3em;
  background-color: #ff8a00;
  color: #fff;
  border: 1px solid;
  border-radius: .25em;
  font-size: .75em;
}

#commonHeader .link-student .ico {
  display: inline-block;
  width: 1em;
  height: 1em;
}

#commonHeader .link-student .ico svg {
  fill: #fff;
}

#commonHeader .sns {
  display: none;
  position: absolute;
  top: 90px;
  right: 60px;
  letter-spacing: -.4em;
  font-size: 1.75em;
}

#commonHeader .sns [class*=link-] {
  display: inline-block;
  margin-left: 4px;
  letter-spacing: 0;
  line-height: 1;
}

#commonHeader .sns [class*=link-] .ico {
  display: block;
  overflow: hidden;
  width: 1em;
  height: 1em;
  border-radius: .1em;
}

#commonHeader .sns .link-fb .ico svg {
  fill: #315096;
}

#commonHeader .sns .link-tw .ico svg {
  fill: #55acee;
}

#commonHeader .sns .link-li .ico svg {
  fill: #00c300;
}

#commonHeader .button {
  display: block;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  letter-spacing: -.4em;
}

#commonHeader .button [class*=link-] {
  display: inline-block;
  width: 50%;
  color: #fff;
  text-align: center;
  letter-spacing: 0;
}

#commonHeader .button a {
  position: relative;
  height: 40px;
  color: #fff;
  line-height: 45px;
}

#commonHeader .button a .ico {
  display: inline-block;
  position: relative;
  top: -.15em;
  width: 1.429em;
  height: 1.429em;
  margin-right: 2px;
}

#commonHeader .button a .ico svg {
  vertical-align: middle;
  fill: #fff;
}

#commonHeader .button a .txt {
  line-height: 1;
}

#commonHeader .button a .ico-bg {
  position: absolute;
  right: .3em;
  bottom: 0;
  width: 16px;
  height: 16px;
}

#commonHeader .button a .ico-bg svg {
  width: 1em;
  vertical-align: top;
  fill: #fff;
}

#commonHeader .button .link-application,
#commonHeader .button .link-request,
#commonHeader .button .link-student-top {
  background-color: #666;
}

#commonHeader .button .link-request a {
  background-color: #00a0e9;
}

#commonHeader .button .link-application a {
  background-color: #fa436e;
}

#commonHeader .button .link-student-top a {
  background-color: #ff8a00;
}

#commonHeader .telephone {
  display: none;
  margin-top: .75em;
  text-align: center;
}

#commonHeader .telephone .caption .wbr,
.menu-open #commonHeader .telephone,
[data-category=guide] #navigation li[data-class=guide]:after,
[data-category=plans] #navigation li[data-class=plans]:after,
[data-category=school] #navigation li[data-class=school]:after,
[data-category=staff] #navigation li[data-class=staff]:after,
[data-category=student] #navigation li[data-class=student]:after,
[data-category=top] #navigation li[data-class=top]:after,
[data-category=access] #navigation li[data-class=access]:after,
[data-category=facility] #navigation li[data-class=facility]:after,
[data-category=bus] #navigation li[data-class=bus]:after,
[data-category=recruit] #navigation li[data-class=recruit]:after,
#commonHeader .telephone .link-telephone {
  font-size: 2.75em;
}

#commonHeader .telephone .caption {
  display: inline-block;
  margin-top: .5em;
  padding-left: 1em;
  text-align: left;
  line-height: 1.314;
  vertical-align: top;
  font-size: .857em;
}


/* --- トップ用ヘッダー(#header) - ロゴ・ビジュアル --- */


#header .logo_tamano {
  width: 600px;
  max-width: 600px;
  margin-bottom: 0;
  padding-top: 45px;
  padding-left: 20px;
}

#visual {
  max-height: 400px;
}

.menu-open #visual {
  -webkit-filter: blur(4px);
  filter: blur(4px);
}

#visual #creative {
  position: relative;
  height: 100%;
  min-height: 300px;
  margin-top: 20px;
  padding-top: 0;
  background-image: url(/img/school/img-creative.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

#visual #creative:after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  content: '';
}

#visual #creative .wrap {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
}

#visual #creative .caption {
  position: relative;
  max-width: 425px;
  height: 0;
  margin: auto;
  padding-top: 300px;
}

#visual #creative .caption span {
  overflow: hidden;
  position: absolute;
  top: 70px;
  right: 0;
  bottom: 50px;
  left: 80%;
  z-index: 1;
  width: 60%;
  height: calc(100% - 70px);
  max-height: 450px;
  margin-top: 120px;
  margin-right: 0px;
  background-image: url(/img/school/copy-creative.svg);
  background-repeat: no-repeat;
  background-position: center right;
  background-size: contain;
  text-indent: -9999px;
  -webkit-transition-duration: .4s;
  transition-duration: .4s;
}

.top-mv {
  position: relative;
  width: 100%;
  height: 28.57143vw;
  margin-top: 55px;
}

.top-mv__title {
  position: absolute;
  top: 0;
  left: -100%;
  opacity: 0;
  text-indent: -100%;
}

.top-mv__bg {
  width: 100%;
  height: auto;
}

.top-mv__bg img {
  width: 100%;
  height: auto;
}

.top-mv__text {
  position: absolute;
  top: 5vw;
  left: 50%;
  width: 26vw;
  transform: translateX(-50%);
}


/* --- グローバルナビゲーション(#navigation, #gNav) --- */


#navigation nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
  background: rgba(255,255,255,.95);
  color: #000;
}

#navigation h2 {
  /* スマホ用の旧MENUボタンは非表示(新しい .hero__menu-btn を使う) */
  display: none;
}

#navigation .wrap {
  height: 0;
  -webkit-transition-duration: .4s;
  transition-duration: .4s;
}

.menu-open #navigation .wrap {
  overflow: auto;
  height: calc(100vh - 20em);
  margin-top: 16em;
  padding: 1em 0;
}

#navigation ul {
  margin: auto;
  letter-spacing: -.4em;
}

#navigation ul svg[role=img] {
  width: 1em;
  height: 1em;
  vertical-align: top;
  fill: #46c5f4;
}

#navigation li {
  display: block;
  position: relative;
  margin-bottom: 0;
  padding: 0;
  letter-spacing: 0;
  list-style: none;
  font-size: 1.143em;
  font-weight: 700;
}

#navigation li a {
  display: block;
  box-sizing: border-box;
  padding: 14px 2em 12px;
  color: #000;
  outline: 0;
}

#navigation li a .ico {
  display: inline-block;
  width: 1em;
  height: 1em;
  margin: 0 .5em .3em .3em;
  vertical-align: top;
  font-size: 1.75em;
}

#navigation li:after,
#navigation li:before {
  position: absolute;
  top: 0;
  margin: auto;
  content: '';
}

#navigation li:after {
  display: none;
  right: auto;
  bottom: 0;
  left: 5%;
  width: 10px;
  height: 100%;
  background: #00a0e9;
}

#navigation li:before {
  right: 0;
  left: 0;
  width: 90%;
  height: 1px;
  border: dotted #666;
  border-width: 1px 0 0;
}

#navigation li:nth-child(1):before {
  display: none;
}


/* --- ヘッダー内電話番号(.hdr_tel, .telephone2, .tel_num) --- */


.telephone2 {
  display: inline-block;
  height: 50px;
  padding: 5px;
  text-align: right;
}

.telephone2 .txt {
  font-size: .857em;
}

.hdr_tel {
  display: none;
  padding: 0px;
  text-align: right;
}

.tel_num {
  display: inline-block;
  overflow: hidden;
  color: #333;
  vertical-align: text-top;
  font-family: 'Questrial','Century Gothic',CenturyGothic,AppleGothic,sans-serif;
  font-size: 2.05em;
  font-weight: bold;
}


/* --- トップ用ヒーローセクション(.hero, .hero__*) --- */
/* CSS変数(色)は common.css の :root で定義 */

.hero {
  display: flex;
  overflow: hidden;
  position: relative;
  flex-direction: column;
  width: 100%;
  height: 100vh;
  min-height: 500px;
  /* PC版グローバルナビ(固定80px想定)分の余白 */
  padding-bottom: 80px;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

/* オーバーレイ:明るさを保つため極薄に。完成イメージ準拠で「ほぼなし」 */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.0) 0%,
    rgba(255, 255, 255, 0.0) 70%,
    rgba(255, 255, 255, 0.15) 100%
  );
}

.hero__main {
  display: flex;
  position: relative;
  z-index: 2;
  flex: 1;
  flex-direction: column;
  padding: clamp(20px, 4vh, 40px) clamp(20px, 5vw, 72px);
}

/* ロゴ */
.hero__logo-pc {
  display: block;
  width: auto;
}

.hero__logo-sp {
  display: none;
  width: auto;
  height: 53px;
}

/* スマホ用ハンバーガーボタン(PC版では非表示) */
.hero__menu-btn {
  display: none;
}

/* キャッチコピー + CTA */
.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: auto;
  margin-bottom: clamp(24px, 4vh, 48px);
}

.hero__headline {
  margin: 0;
  color: #1a1a1a;
  letter-spacing: -0.01em;
  line-height: 1.4;
  font-size: clamp(26px, 4.2vw, 50px);
  font-weight: 700;
}

.hero__headline-line1,
.hero__headline-line2 {
  display: block;
}

.hero__accent-pink {
  color: var(--brand-pink, #e8406a);
  font-style: normal;
  font-weight: 700;
}

.hero__accent-blue {
  color: #2ba9d9;
  font-style: normal;
  font-weight: 700;
}

/* バッジ:白背景+黒文字+カラードット */
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.85);
  color: #1a1a1a;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: clamp(11px, 1vw, 14px);
  font-weight: 500;
}

.hero__badge::before {
  display: inline-block;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: #999;
  border-radius: 50%;
  content: "";
}

.hero__badge--pink::before {
  background: var(--brand-pink, #e8406a);
}

.hero__badge--blue::before {
  background: #2ba9d9;
}

.hero__badge--green::before {
  background: #4caf50;
}

/* CTAボタン */
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}

.btn-primary {
  display: inline-flex;
  flex-shrink: 0;
  flex-direction: column;
  align-items: center;
  padding: 14px 36px;
  background: var(--brand-pink, #e8406a);
  color: #fff;
  border: none;
  border-radius: 40px;
  box-shadow: 0 4px 16px rgba(232, 64, 106, 0.3);
  transition: transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
  line-height: 1.35;
  cursor: pointer;
}

.btn-primary:hover {
  box-shadow: 0 6px 24px rgba(232, 64, 106, 0.45);
  transform: translateY(-1px);
}

.btn-primary__main {
  color: #fff;
  letter-spacing: 0.02em;
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 700;
}

.btn-primary__sub {
  color: #fff;
  opacity: 0.95;
  font-size: clamp(10px, 0.85vw, 12px);
}

/* セカンダリボタン:白背景+青枠+黒文字 */
.btn-secondary {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  padding: 14px 32px;
  background: rgba(255, 255, 255, 0.92);
  color: #1a1a1a;
  border: 2px solid #2ba9d9;
  border-radius: 40px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
  text-decoration: none;
  white-space: nowrap;
  font-size: clamp(13px, 1.3vw, 16px);
  font-weight: 600;
  cursor: pointer;
}

.btn-secondary:hover {
  background: #fff;
  border-color: #1d8cb8;
  transform: translateY(-1px);
}

/* 安心テキスト */
.hero__safety-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: #333;
  font-size: clamp(11px, 1vw, 13px);
}

.hero__safety-note i {
  color: #666;
  font-size: 14px;
}

/* スクロールインジケーター */
.hero__scroll-indicator {
  display: flex;
  position: absolute;
  bottom: 90px;
  left: 50%;
  z-index: 3;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  opacity: 0.85;
  transform: translateX(-50%);
  transition: opacity 0.3s;
  animation: scroll-bounce 2s ease-in-out infinite;
  cursor: pointer;
}

.hero__scroll-indicator:hover {
  opacity: 1;
}

.hero__scroll-indicator span {
  color: #333;
  letter-spacing: 0.08em;
  font-size: 10px;
  font-weight: 600;
}

.hero__scroll-indicator i {
  color: #333;
  font-size: 20px;
}


/* ============================================================
   2. PC版スタイル(画面幅 769px 以上)
   ============================================================ */


@media screen and (min-width: 769px) {
  .sp {
    display: none;
  }

  #header .logo_tamano {
    width: 50%;
    padding-top: 1.286em;
    padding-bottom: 0;
    padding-left: .857em;
  }

  /* --- グローバルナビ:画面下部に固定、白背景、アイコン+文字の縦並びセンター揃え --- */
  #navigation nav {
    position: fixed;
    top: auto;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }

  .menu-fixed #navigation nav {
    position: fixed;
    top: auto;
    bottom: 0;
    z-index: 11;
  }

  #navigation .wrap {
    height: auto !important;
  }

  /* 8項目均等配置 */
  #navigation ul[data-length='5'] li {
    width: 20%;
  }

  #navigation ul[data-length='6'] li {
    width: 16.66667%;
  }

  #navigation ul[data-length='7'] li {
    width: 14.28571%;
  }

  #navigation ul[data-length='8'] li {
    width: 12.5%;
  }

  #navigation li {
    display: inline-block;
    text-align: center;
    vertical-align: top;
  }

  /* 各リンク:アイコン上・文字下の縦並びセンター揃え */
  #navigation li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 4px 12px;
    color: #1a1a1a;
    font-weight: 600;
    transition: background 0.15s, color 0.15s;
  }

  #navigation li a:focus,
  #navigation li a:hover {
    background: rgba(43, 169, 217, 0.08);
    color: #2ba9d9;
  }

  #navigation li a .ico {
    display: block;
    margin: 0 auto;
    font-size: 1.6em;
  }

  #navigation li a .ico svg {
    width: 1em;
    height: 1em;
    fill: #2ba9d9;
    transition: fill 0.15s;
  }

  #navigation li a:focus .ico svg,
  #navigation li a:hover .ico svg {
    fill: #1d8cb8;
  }

  #navigation li a .txt {
    display: block;
    text-align: center;
    line-height: 1.2;
    font-size: 0.85em;
  }

  /* 区切り線(縦):項目間の細い縦罫線 */
  #navigation li:before {
    top: 25%;
    right: auto;
    bottom: 25%;
    left: 0;
    width: 1px;
    height: 50%;
    border-width: 0 0 0 1px;
    border-style: solid;
    border-color: #e0e0e0;
  }

  /* アクティブ項目の下線 */
  #navigation li:after {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 60%;
    height: 3px;
    margin: 0 auto;
    background: #2ba9d9;
  }

  /* ヒーローセクション PC版 (769px以上) */
  .hero__overlay {
    /* PC版は完成イメージ準拠で「ほぼオーバーレイなし」 */
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.0) 0%,
      rgba(255, 255, 255, 0.0) 60%,
      rgba(255, 255, 255, 0.10) 100%
    );
  }

  .hero__main {
    justify-content: space-between;
  }

  .hero__copy {
    max-width: 55%;
  }
}


/* ============================================================
   3. スマホ版スタイル(画面幅 768px 以下)
   ============================================================ */


@media screen and (max-width: 768px) {
  #header .logo_tamano {
    position: absolute;
    top: 0;
    z-index: 9999;
  }

  #visual {
    margin-top: 50px;
  }

  #visual #creative {
    margin-top: -50px;
    background-image: url(/img/school/img-creative_sp.png);
  }

  .top-mv {
    height: 80vw;
    margin-top: 20%;
  }

  .top-mv__button {
    line-height: 48px;
    font-size: 1em;
  }

  .top-mv__text {
    top: 18.66667vw;
    width: 62.93333vw;
  }

  #commonHeader .hdr_tel {
    display: none;
    margin-top: .75em;
    text-align: center;
  }

  .menu-open #commonHeader .hdr_tel {
    display: block;
  }

  .telephone2 {
    width: 100%;
    text-align: center;
  }

  .telephone2 .txt {
    padding: 5px;
  }

  /* --- スマホ版:グローバルナビ(下部固定)を非表示、ハンバーガーメニューに切り替え --- */
  #navigation > nav {
    display: none;
  }

  /* メニュー開時のみ表示(全画面オーバーレイ) */
  .menu-open #navigation > nav {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    overflow-y: auto;
  }

  .menu-open #navigation .wrap {
    height: auto !important;
    margin-top: 80px;
    padding: 1em 1.5em 2em;
  }

  .menu-open #navigation ul {
    display: block;
  }

  .menu-open #navigation li {
    display: block;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid #eee;
  }

  .menu-open #navigation li a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 12px;
    color: #1a1a1a;
    font-weight: 600;
  }

  .menu-open #navigation li a .ico {
    width: 1.5em;
    height: 1.5em;
    margin: 0;
    font-size: 1em;
  }

  .menu-open #navigation li a .ico svg {
    width: 100%;
    height: 100%;
    fill: #2ba9d9;
  }

  .menu-open #navigation li a .txt {
    font-size: 1em;
  }

  .menu-open #navigation li:before,
  .menu-open #navigation li:after {
    display: none;
  }

  /* --- スマホ版ハンバーガーボタン:右上にフローティング --- */
  /* --- ハンバーガーボタン:ファーストビュー(デフォルト)は透過、ロゴを優先表示 --- */
  .hero__menu-btn {
    display: flex;
    position: fixed;
    top: 14px;
    right: 14px;
    z-index: 200;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 12px;
    box-shadow: none;
    transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, width 0.25s ease, height 0.25s ease, transform 0.2s ease;
    cursor: pointer;
  }

  /* スクロール後(.is-scrolled付与時):白背景に切り替わる */
  .hero__menu-btn.is-scrolled {
    gap: 4px;
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }

  .hero__menu-btn:hover,
  .hero__menu-btn:focus {
    transform: scale(1.03);
  }

  .hero__menu-btn.is-scrolled:hover,
  .hero__menu-btn.is-scrolled:focus {
    background: #fff;
  }

  /* バー(3本線):デフォルトは黒・少し太め+影付きで写真の上でも見える */
  .hero__menu-btn-bar {
    display: block;
    width: 24px;
    height: 3px;
    background: #1a1a1a;
    border-radius: 2px;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.9);
    transition: transform 0.25s, opacity 0.2s, width 0.25s, height 0.25s, box-shadow 0.25s;
  }

  /* スクロール後:バーは細めに戻る(白背景なので影不要) */
  .hero__menu-btn.is-scrolled .hero__menu-btn-bar {
    width: 22px;
    height: 2px;
    box-shadow: none;
  }

  /* MENUラベル:ファーストビューでは非表示、スクロール後に表示 */
  .hero__menu-btn-label {
    display: none;
    margin-top: 2px;
    color: #1a1a1a;
    letter-spacing: 0.05em;
    font-size: 8px;
    font-weight: 700;
  }

  .hero__menu-btn.is-scrolled .hero__menu-btn-label {
    display: block;
  }

  /* メニュー開時:×印に変形 */
  .menu-open .hero__menu-btn-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-open .hero__menu-btn-bar:nth-child(2) {
    opacity: 0;
  }

  .menu-open .hero__menu-btn-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .menu-open .hero__menu-btn-label {
    display: none;
  }

  /* ヒーローセクション スマホ版 (768px以下) */
  .hero {
    height: 100svh;
    /* スマホはグローバルナビ固定がないので下余白なし */
    padding-bottom: 0;
  }

  .hero__bg-img {
    /* 女性の笑顔がバランス良く見える位置(維持) */
    object-position: 40% 20%;
  }

  /* スマホ版オーバーレイ:背景画像の明るさを保ちつつ文字読みやすさも確保 */
  .hero__overlay {
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.0) 0%,
      rgba(255, 255, 255, 0.0) 30%,
      rgba(255, 255, 255, 0.20) 60%,
      rgba(255, 255, 255, 0.40) 100%
    );
  }

  .hero__main {
    padding: 18px 20px;
  }

  /* PC版ロゴを隠してスマホ版を表示 */
  .hero__logo-pc {
    display: none;
  }

  .hero__logo-sp {
    display: block;
  }

  .hero__headline {
    color: #1a1a1a;
    font-size: clamp(24px, 7vw, 36px);
  }

  .hero__cta {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    justify-content: center;
    width: 100%;
    text-align: center;
  }

  .hero__safety-note {
    justify-content: center;
  }

  .hero__scroll-indicator {
    bottom: 14px;
  }
}


/* ============================================================
   4. その他のメディアクエリ
   ============================================================ */


@media (max-width: 480px) {
  #visual #creative .caption span {
    overflow: hidden;
    position: absolute;
    top: 45px;
    bottom: 50px;
    left: 50%;
    z-index: 1;
    width: 50%;
    height: calc(100% - 70px);
    max-height: 502px;
    margin-top: 50px;
    margin-right: 0px;
    background-image: url(/img/school/copy-creative.svg);
    background-repeat: no-repeat;
    background-position: center right;
    background-size: contain;
    text-indent: -9999px;
    -webkit-transition-duration: .4s;
    transition-duration: .4s;
  }
}

@media (min-width: 1920px) {
  #visual {
    max-height: 600px;
  }

  #visual #creative {
    min-height: 500px;
    max-height: 600px;
    background-position: center center;
    background-size: cover;
  }

  #header .logo_tamano {
    position: absolute;
    top: clamp(15px, 2%, 35px);
    left: clamp(20px, 3%, 80px);
    width: clamp(360px, 24%, 480px);
    max-width: 480px;
    margin: 0;
    padding: 0;
  }

  #header .logo_tamano img {
    display: block;
    width: 100%;
    height: auto;
  }

  #visual #creative .caption span {
    overflow: hidden;
    top: clamp(40px, 8%, 80px);
    right: clamp(20px, 3%, 100px);
    bottom: auto;
    left: auto;
    width: clamp(220px, 18%, 320px);
    height: clamp(220px, 18%, 320px);
    max-height: none;
    margin: 0;
    background-image: url(/img/school/copy-creative.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    text-indent: -9999px;
  }
}

@media (min-width: 360px) and (max-width: 768px) {
  #header .logo_tamano {
    width: 200px;
    margin-left: -10px;
    padding-top: 10px;
    padding-bottom: 11px;
  }
}

@media (min-width: 1200px) {
  /* ヒーローセクション 大画面(1200px以上) */
  .hero__copy {
    max-width: 50%;
  }
}


/* ============================================================
   5. アニメーション(@keyframes)
   ============================================================ */


@keyframes scroll-bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}
