/* ===== Custom Override ===== */
/* ヘッダー：無料相談だけ白枠の四角ボタンに */
html body .l-header__cta>a.link-line.is-consult{
  background:#fff;
  border:2px solid #4cc764;
  color:#4cc764;
  box-shadow:none;
}
html body .l-header__cta>a.link-line.is-consult:after{
  background:url(../img/cta/button-arrow-line-green.png)
    no-repeat center center/contain;
}
html body .l-header__cta>a.link-line.is-consult{
  border-radius: 0;
}
/* 無料相談：四角＋ホバー反転（資料請求とルール統一） */
html body .l-header__cta>a.link-line.is-consult{
	box-shadow: 0 2px 6px rgba(0,0,0,.12); /* ← 通常時の薄シャドウ */
  transition:
    background-color .25s ease,
    color .25s ease,
    transform .25s ease,
    box-shadow .25s ease;
}

@media (any-hover: hover){
  html body .l-header__cta>a.link-line.is-consult:hover{
    background: #4cc764;
    color: #fff;
    box-shadow: 0 6px 16px rgba(76,199,100,.25);
  }

  /* 矢印アイコンも白に（反転に合わせる） */
  html body .l-header__cta>a.link-line.is-consult:hover:after{
    background: url(../img/cta/button-arrow-line-white.png) no-repeat center center/contain;
  }
}




/* PCだけに適用（ブレイクポイントはサイトに合わせて調整） */
@media (min-width: 1024px){

  /* ナビ自体をフル幅に（max-widthが入っていても潰す） */
  .l-header__nav{
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 24px;          /* 端の余白：好みで調整 */
    box-sizing: border-box;

    display: flex;
    align-items: center;
    gap: 24px;               /* ロゴとメニューの間 */
  }

  /* ロゴは左固定 */
  .l-header__nav > .l-header__logo{
    flex: 0 0 auto;
  }

  /* ulを残り幅いっぱいにして、メニューを左右に広げる */
  .l-header__nav-items{
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;  /* ← これが「幅いっぱいに散らす」 */
    gap: 0;                          /* 既存gapが邪魔なら潰す */
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .l-header__nav-item{
    margin: 0;
  }

  /* 右側のドロワーフッターはPCでは不要なら非表示（必要なら削除） */
  .l-header__nav .drawer__footer{
    display: none;
  }
}
@media (min-width: 1024px){

  /* メニューを“散らさない” */
  .l-header__nav-items{
    justify-content: flex-start; /* space-betweenを殺す */
    gap: 0;                      /* 余白を殺す */
  }

  /* liを等幅にして、枠をくっつける */
  .l-header__nav-item{
    flex: 1 1 0;                 /* 全部同じ幅 */
    border-right: 1px solid #e6e6e6; /* 境界線（色は好みで） */
  }
  .l-header__nav-item:last-child{
    border-right: 0;
  }

  /* クリック面積を枠いっぱいに */
  .l-header__nav-item > a,
  .l-header__nav-item > .item{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 56px;                /* 高さは既存に合わせて調整 */
    box-sizing: border-box;
    margin: 0;
  }

  /* 「コース一覧」が span.item のため、見た目をaと同じにする */
  .l-header__nav-item.mega-menu{
    position: relative;          /* ドロップダウンの基準（既にあれば不要） */
  }
}
@media (min-width: 1024px){

  /* === メニュー全体の上ライン === */
  .l-header__nav-items{
    border-top: 1px solid #e6e6e6; /* 上のライン */
  }

  /* === 各メニューの縦ライン === */
  .l-header__nav-item{
    flex: 1 1 0;
    border-right: 1px solid #e6e6e6; /* 右ライン */
  }

  /* === 一番左にも縦ラインを出す === */
  .l-header__nav-item:first-child{
    border-left: 1px solid #e6e6e6;
  }

  /* === クリックエリアをきれいに === */
  .l-header__nav-item > a,
  .l-header__nav-item > .item{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px; /* 既存に合わせて調整 */
    width: 100%;
    box-sizing: border-box;
  }
}
@media (min-width: 1024px){

  /* 既存の「最後だけ右線消す」指定を強制的に無効化 */
  .l-header__nav-items > .l-header__nav-item:last-child{
    border-right: 1px solid #e6e6e6 !important;
  }

}
/* h2直下リード文：箱は中央、文字は左 */
.c-section__subtitle{
  text-align: left;        /* 文字は左揃え */
  max-width: 700px;        /* 行幅（既存に合わせて調整OK） */
  margin: 0 auto;          /* ブロック自体を中央寄せ */
	padding-bottom:50px;
}

/* フッターの3列ナビ本体（左/中/右の3カラム） */

.l-footer__nav--left{
	width:200px;
	margin-left:100px;
}
.l-footer__nav--right{
	margin-left:100px;
}

@media (max-width: 1023px) and (min-width: 768px){
.l-footer__nav--left{
	width:150px;
	margin-left:10px;
}
.l-footer__nav--right{
		width:200px;
	margin-left:60px;
}		
}
@media (max-width: 767px){
.l-footer__nav--left{
	width:80px;
	margin-left:0px;
}

.l-footer__nav--right{
		width:130px;
	margin-left:10px;
}	
  .l-footer__nav li,
  .l-footer__nav a{
    font-size: 10px;
    line-height: 1.5;
  }
}

/* ＝＝＝特徴ページの「保護者様の96%が」左寄せ＝＝＝ */
p.result.student .first{
  display:block !important;         /* flexを潰す */
  text-align:left !important;
}

/* ＝＝＝ハンバーガーメニュの「無料相談」ボタン下の間隔＝＝＝ */
.l-header__nav-cta {
  margin-bottom:0px;
	padding-bottom:0px;
}
.l-header__sns {
  margin-top:0px;
	padding-top:20px;
	margin-bottom:10px;
}




