/* ========================================
    style.css — destyle.css 前提
    大東学園高等学校 ヘッダー用スタイル
======================================== */

/* ----------------------------------------
    基本設定
---------------------------------------- */
html {
    font-size: 62.5%; /* 1rem = 10px 相当に */
}

body {
    text-align: center;
    background-color: #FFFFFF;
    font-size: 1.5rem;
    line-height: 1.7;
    color: #000000;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-feature-settings: "palt";
    letter-spacing: 0.1em;
}

img {
	height: auto;
	max-width: 100%;
	-webkit-backface-visibility: hidden;
}

::selection,
::-moz-selection {
    background: #194f9c;
    color: #ffffff;
}

.an_scl {
    opacity: 0;
}


@media only screen and (max-width: 750px) {
    * {
        box-sizing: border-box;
    }
    body {
        font-size: 1.3rem;
        line-height: 1.6;
    }
    br.smart-wrap {
        display: none;
    }
}

/* ----------------------------------------
    ヘッダー全体
---------------------------------------- */
.site-header {
    width: 100%;
}

/* ----------------------------------------
    サブナビゲーション（上部）
---------------------------------------- */
.sub-nav {
    display: flex;
    justify-content: flex-end;
    background: #FFFFFF;
    padding: 0;
}

.sub-nav ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 0;
}

.sub-nav ul li {
    flex: 1 1 0;
    max-width: none;
    font-family: "dnp-shuei-mgothic-std", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 1.5rem;
    line-height: 1;
    border-left: 1px solid #CCCCCC;
    border-bottom: 1px solid #CCCCCC;
    width: 200px;
    text-align: center;
    box-sizing: border-box;
}

.sub-nav ul li.highlight {
    background: #F4F7FB;
    position: relative;
    z-index: 1;
    flex: 0 0 150px;
}

.sub-nav ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    text-decoration: none;
    color: #333333;
    height: 100%;
    width: 100%;
    white-space: nowrap;
    box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.sub-nav ul li a:hover {
    background-color: #C9DEE8;
}

.sub-nav ul li img {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    position: relative;
    top: 0;
}

/* スマホ表示時：サブナビから一部項目を非表示にする */
@media screen and (max-width: 768px) {
  .sub-nav ul {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
    width: 100%;
  }

  .sub-nav li {
    flex: 1;
    text-align: center;
    font-size: 12px;
    padding: 0px 0;
    box-sizing: border-box;
    border-left: 1px solid #ccc; /* ← border-leftに変更 */
  }
	
.sub-nav ul li a {
    font-size: 1rem;
}


  .sub-nav li:first-of-type {
    border-left: none; /* ← 最初の1個目は消す */
  }

  .sub-nav li.hide-sp {
    display: none;
  }
}
/* ----------------------------------------
    メインナビ（ロゴ含む上部帯）
---------------------------------------- */
.main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background: #FFFFFF;
    border-bottom: 1px solid #CCCCCC;
}

.main-nav .logo img {
    height: 58px;
    width: auto;
	padding-top: 2px;
    padding-bottom: 4px;
}

@media screen and (max-width: 768px) {
.main-nav .logo img {
    height: 45px;
    width: auto;
	padding-top: 2px;
    padding-bottom: 3px;
}
}


/* ----------------------------------------
    グローバルナビ（主要メニュー）
---------------------------------------- */
.global-nav {
    position: relative;
}

.global-nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 40px;
    gap: 4px;
    position: relative;
}

.global-nav ul li {
    position: relative;
    display: block;
}

.global-nav ul li > a {
    font-family: "dnp-shuei-mgothic-std", sans-serif;
    font-weight: 600;
    font-style: normal;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    height: 100%;
    text-decoration: none;
    color: #333333;
    font-size: 1.7rem;
    line-height: 1.3;
    position: relative;
    white-space: nowrap;
}

/* ホバー時の下線アニメーション */
.global-nav ul li > a::after {
    content: "";
    position: absolute;
    left: 7%;
    bottom: -8px;
    width: 90%;
    height: 2px;
    background-color: #194f9c;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.global-nav ul li > a:hover::after {
    transform: scaleX(1);
}

.global-nav ul li img {
    width: 30px;
    height: 30px;
    margin-right: 2px;
}

/* ----------------------------------------
    ドロップダウンメニュー（青帯）
---------------------------------------- */
.global-nav ul li .sub-nav-panel {
    display: none;
    position: fixed;
    top: 120px;
    left: 0;
    width: 100%;
    background-color: #194f9c;
    z-index: 1000;
    padding: 12px 0;
    box-sizing: border-box;
}

/* ホバーで表示 */
.global-nav ul li:hover .sub-nav-panel,
.global-nav ul li .sub-nav-panel:hover {
    display: block;
}

/* ドロップダウン内の中央寄せと幅制限 */
.sub-nav-panel .inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 48px;
    padding: 0 16px;
}

.sub-nav-panel ul {
    display: flex;
    gap: 48px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sub-nav-panel ul li a {
    position: relative;
    color: #ffffff;
    font-size: 1.5rem;
    text-decoration: none;
    white-space: nowrap;
    padding: 4px 8px;
    transition: all 0.2s ease;
}

/* ドロップダウンリンクのホバー時下線アニメーション */
.sub-nav-panel ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 2px;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

.sub-nav-panel ul li a:hover::after {
    width: 100%;
}



.video-hero {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  overflow: hidden;
}

/* 両方ともラッパー直下の要素を覆う */
.video-hero > .video-pc,
.video-hero > .video-sp {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ----------------------------------------
    動画
---------------------------------------- */

:root {
  --header-height: 0px; /* 初期値 */
}

/* 動画コンテナをヘッダー下から表示 */
.video-hero {
  margin-top: var(--header-height);
}

@media only screen and (max-width: 768px) {
  /* コンテナを正方形に */
  .video-hero {
    padding-top: 100% !important;  /* 高さ＝幅 */
  }
  /* PC 用 YouTube iframe は非表示 */
  .video-hero .video-pc {
    display: none !important;
  }
  /* SP 用 video 要素は絶対位置で親いっぱいに */
  .video-hero .video-sp {
    display: block !important;
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
  }
}

/* 初期状態 */
.video-hero > .video-pc { display: block; }
.video-hero > .video-sp { display: none; }

/* SPのみ切り替え */
@media (max-width: 768px) {
  .video-hero > .video-pc { display: none !important; }
  .video-hero > .video-sp { display: block !important; }
}

/* ----------------------------------------
    重要なお知らせのボックス
---------------------------------------- */
.important-notice {
    display: flex;
    align-items: stretch;
    background-color: #e8f0fb;
    font-family: "dnp-shuei-mgothic-std", sans-serif;
    font-weight: 600;
    font-size: 1.8rem;
}

@media screen and (max-width: 768px) {
  .important-notice {
    font-size: 1.2rem;
  }
}
.important-notice .label {
    background-color: #ffd400;
    color: #000;
    padding: 24px 20px;
    min-width: 300px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media screen and (max-width: 768px) {
.important-notice .label {
    padding: 15px 10px;
    min-width: 60px;
  }
}
.important-notice .content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 16px 20px;
    color: #000;
    flex: 1;
}
@media screen and (max-width: 768px) {
.important-notice .content {
    padding: 12px 10px;
}
}
.notice-item {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
}

.notice-item .date {
    font-size: 1.4rem;
    color: #444;
    min-width: 100px;
}

.notice-item .text {
    font-size: 1.8rem;
	text-align: left;
}

@media screen and (max-width: 768px) {
.notice-item .date {
    font-size: 1.0rem;
    min-width: 70px;
}
.notice-item .text {
    font-size: 1.4rem;
}
}
@media screen and (max-width: 768px) {
  .important-notice .content .notice-item {
    /* 横並び → 縦並びに */
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;               /* 日付とテキストの間隔 */
  }

  .important-notice .content .notice-item .date {
    /* 幅の制限を解除して上に */
    min-width: auto;
    margin-bottom: 0px;
  }
}

/* ----------------------------------------
    固定タブ
---------------------------------------- */

.fixed-tabs {
    position: fixed;
    top: 50%;                       /* 画面の縦中央に配置 */
    right: 0;
    transform: translateY(-50%);    /* 自身の高さの半分だけ上にずらす */
    display: flex;
    flex-direction: column;
    z-index: 9999;
}

.tab {
    width: 60px;
    min-height: 120px;
    color: white;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    box-sizing: border-box;
    transition: background 0.3s;
}

.tab img {
    width: 28px;
    height: 28px;
    margin-bottom: 4px;
}

.tab span {
    writing-mode: vertical-rl;
    text-orientation: upright;
    white-space: nowrap;
    font-size: 1.5rem;
    line-height: 1.6;
    font-weight: bold;
}

/* 各タブの背景色 */
.tab1 { background: #2348a6; } /* デジタルパンフレット */
.tab2 { background: #9a62aa; } /* 資料請求 */
.tab3 { background: #ea4678; } /* 学校説明会 */

/* ホバー時の色調調整（オプション） */
.tab:hover {
    filter: brightness(1.2);
}

/* ----------------------------------------
   スマホ対応：固定タブを下端横並びに
---------------------------------------- */
@media (max-width: 800px) {
  .fixed-tabs {
    /* もともとの top / transform をリセット */
    top: auto !important;
    bottom: 0 !important;
    transform: none !important;

    /* 横並び・幅いっぱい表示 */
    left: 0;
    right: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-around;

    /* セーフエリア分の余白吸収 */
    padding-bottom: env(safe-area-inset-bottom);
    background: rgba(255,255,255,0.9);
  }

  .fixed-tabs .tab {
    /* 高さは中身に合わせて自動 */
    flex: 1;
    padding: 8px 0;
    min-height: auto; /* unset しても良い */
  }

  .fixed-tabs .tab img {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
  }

  .fixed-tabs .tab span {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    font-size: 1rem;
    line-height: 1.2;
  }
}

/* ----------------------------------------
    入試案内コンテンツ（ベース＋半円調整）
---------------------------------------- */
.admission-section {
  position: relative;
  padding: 60px 20px;
  overflow: hidden;
}

.admission-background-extension {
  position: absolute;
  right: 0;
  width: 40vw;
  height: 580px;
  background-color: #e8f0fb;
  z-index: 0;
  pointer-events: none;
  top: 50%;
  transform: translateY(-50%);
}

.admission-container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.admission-left {
  width: 37%;
  padding-right: 40px;
  z-index: 2;
}

.admission-title-image {
  width: 100%;
  max-width: 540px;
  height: auto;
  margin-bottom: 20px;
  transition: filter 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.admission-title-image:hover {
  filter: brightness(1.1);
  transform: scale(1.02);
}

.admission-subtext {
  margin-bottom: 15px;
  color: #000;
  font-family: "dnp-shuei-mgothic-std", sans-serif;
  font-weight: 500;
  text-align: left;
}

.admission-buttons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center; /* これを追加 */
}

.admission-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 10px;
	font-size: 1.4rem;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  font-family: "dnp-shuei-mgothic-std", sans-serif;
  transition: background-color 0.3s ease, filter 0.3s ease;
}

.admission-btn:hover {
  filter: brightness(1.2);
  cursor: pointer;
}

.admission-btn .btn-icon {
  width: 24px;
  height: 24px;
  margin-right: 2px;
}

.btn-blue {
  background-color: #2046ab;
}

.btn-purple {
  background-color: #9059a3;
}

.admission-right {
  width: 62%;
  padding: 40px;
  position: relative;
  z-index: 2;
  overflow: visible;
  max-width: 80%;
  margin-left: auto;
}

.admission-bg-wrapper {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 600px;
  z-index: 0;
  pointer-events: none;
}

.admission-bg-right {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 600px;
  height: 580px;
  background-color: #e8f0fb;
  border-top-left-radius: 600px;
  border-bottom-left-radius: 600px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.admission-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  margin-left: 170px;
}

.pickup-title {
  font-size: 2rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 500px;
  padding-left: 10px;
}

.pickup-icon {
  width: 33px;
  height: 33px;
  margin-right: 8px;
}

.seminar-card {
  position: relative;
  max-width: 600px;
  width: 100%;
  margin: 0;
}

.seminar-image {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.seminar-card-wrapper {
  position: relative; /* ← これを追加 */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 1px solid #333;
  border-radius: 50%;
  text-align: center;
  line-height: 36px;
  font-size: 24px;
  background-color: #fff;
  color: #333;
  font-weight: bold;
  z-index: 2;
  cursor: pointer;
  transition: all 0.2s ease;
}

.arrow:hover {
  background-color: #194f9c;
  color: #fff;
  border-color: #194f9c;
}

.arrow-left {
  left: -60px;
}

.arrow-right {
  right: -60px;
}

.seminar-date-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0 10px;
  margin-bottom: 10px;
  width: 100%;
  max-width: 600px;
  align-items: center/* ← ここで子アイテムのベースラインを揃える */
}

.seminar-date .date-main {
  font-size: 3.9rem;
  font-weight: bold;
  margin-right: 0px;
  line-height: 1;
  display: inline-block;
  vertical-align: center; /* ← 文字のベースラインを揃える */
}

.seminar-date .date-sub {
  font-size: 1.3rem;
  color: #333;
  line-height: 1.3;
  font-weight: bold;
  display: inline-block;
  vertical-align: center; /* ← 文字のベースラインを揃える */
}

.seminar-title {
  font-size: 3.0rem;
  font-weight: 800;
  line-height: 1;
  color: #000;
  text-align: right;
  flex-shrink: 0;
  white-space: nowrap;
  align-self: center;     /* ← flex 子要素として、自身のベースライン位置を揃える */
}

.seminar-description {
  color: #000;
  padding: 0px 10px;
  width: 100%;
  max-width: 600px;
  margin-top: 5px;
	text-align: left;
}

/* ─── スマホ（～768px）専用：入試案内縦積み＆中央寄せ ─── */
@media screen and (max-width: 768px) {
  /* 全体縦並び */
  .admission-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  padding: 0px 10px 40px;
  }

  /* 左カラム：幅100%、下マージン */
  .admission-left {
    width: 100% !important;
    padding: 0 0px !important;
    margin: 0 0 40px !important;
  }

  /* 右カラム：幅100%、中央寄せ */
  .admission-right {
    width: 100% !important;
    padding: 0 0 !important;
    margin: 0 auto !important;
  }
.admission-btn {
  padding: 5px 10px;
	font-size: 1.1rem;
}
.admission-btn .btn-icon {
  width: 17px;
  height: 17px;
  margin-right: 2px;
}
.admission-section {
  padding: 20px 10px;
}

.admission-title-image {
  width: 75%;
  max-width: 75%;
}
	
  /* 内部コンテンツを中央に */
  .admission-content {
    width: 100%;
    max-width: 100%;           /* お好みで調整 */
    margin: 0 auto !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
	

  /* PICK UP タイトル中央 */
  .pickup-title {
    justify-content: center !important;
	margin-top: 10px;
    margin-bottom: 10px;
    padding-left: 0 !important;
  }

  /* スライダー枠を中央に */
  .seminar-card-wrapper {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  /* 画像フル幅 */
  .seminar-image {
    width: 100% !important;
    border-radius: 8px;
  }

  /* 矢印を左右端に */
  .arrow {
    display: block !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }
  .arrow-left {
    left: -45px !important;
  }
  .arrow-right {
    right: -45px !important;
  }
.admission-bg-right {
  position: absolute;
  top: 52%;
  left: 0;
  transform: translateY(-50%);
  height: 375px;
}
.seminar-date-title {
  padding: 0 5px;
}

.seminar-date .date-main {
  font-size: 2.4rem;
	 display: inline !important;
}

.seminar-date .date-sub {
  font-size: 0.9rem;

}

.seminar-title {
  font-size: 2.2rem;
}	
  /* 背景装飾は非表示 */
  .admission-background-extension {
    display: none !important;
  }
}


/* ----------------------------------------
    お知らせ
---------------------------------------- */

.news-section {
  background-color: #e8f0fb;
  padding: 60px 20px;
}

.news-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.news-heading {
  text-align: center;  /* ← これだけでOK */
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 40px;
  font-family: "dnp-shuei-mgothic-std", sans-serif;
}

.news-heading span {
  font-size: 2rem;
  font-weight: normal;
  margin-left: 6px;
  font-weight: bold;
}

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

.news-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.news-card:hover {
  transform: translateY(-4px);
}

.news-card img {
  width: 100%;
  height: auto;
  display: block;
}

.news-text {
  padding: 16px;
}

.news-text h3 {
  font-weight: bold;
  margin-bottom: 10px;
  text-align: left;  /* ← 明示的に左寄せを指定 */
}

.news-meta {
  font-size: 1.3rem;
  color: #666;
  text-align: left;  /* ← 明示的に左寄せを指定 */
}

.news-more {
  text-align: center;
  margin-top: 40px;
}

.btn-more {
  display: inline-block;
  background: linear-gradient(to right, #224aa6, #b365c6); /* グラデ風 */
  color: #fff;
  font-size: 1.6rem;
  font-weight: bold;
  padding: 14px 78px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.btn-more:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}
.news-thumb {
  width: 100%;
  height: 245px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #fff;
}

/* ▼ レスポンシブ：2カラムに変更 */
@media screen and (max-width: 800px) {
.news-section {
  padding: 40px 10px 30px;
}
.news-container {
  margin: 0 auto;
  padding: 0 0px;
}
	
.news-heading {
  text-align: center;  /* ← これだけでOK */
  font-size: 2.4rem;
  font-weight: bold;
  margin-bottom: 15px;
  font-family: "dnp-shuei-mgothic-std", sans-serif;
}

.news-heading span {
  font-size: 1.6rem;
  font-weight: normal;
  margin-left: 2px;
  font-weight: bold;
}
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
	gap: 6px;
  }
.news-thumb {
  width: 100%;
  height: 125px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #fff;
}
.news-meta {
  font-size: 1.1rem;
}
.news-more {
  text-align: center;
  margin-top: 30px;
}
.btn-more {
  font-size: 1.3rem;
  font-weight: bold;
  padding: 9px 48px;
}

}

/* ----------------------------------------
    採用情報
---------------------------------------- */
.career-section {
  background-color: #e8f0fb;
  padding: 0px 20px 80px;
}

.career-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.career-heading {
  text-align: center;
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
  font-family: "dnp-shuei-mgothic-std", sans-serif;
}

.career-heading span {
  font-size: 2rem;
  font-weight: bold;
  margin-left: 6px;
}

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


.career-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  text-align: left; /* ← この行を追加 */
}

.career-card:hover {
  transform: translateY(-4px);
}

.career-card h3 {
  font-weight: bold;
  margin-bottom: 12px;
}

.career-meta {
  font-size: 1.3rem;
  color: #666;
}

/* ▼ レスポンシブ：2カラムに変更 */
@media screen and (max-width: 800px) {
  .career-section {
    padding: 0px 10px 30px;
  }
.career-container {
  margin: 0 auto;
  padding: 0 0px;
}
	
.career-heading {
  font-size: 2.4rem;
  margin-bottom: 15px;
}

.career-heading span {
  font-size: 1.6rem;
  margin-left: 2px;
}
.career-grid {
    grid-template-columns: repeat(2, 1fr);
	gap: 6px;
  }
.career-meta {
  font-size: 1.1rem;
}
}

/* ----------------------------------------
    採用情報
---------------------------------------- */
.instagram-section {
  background-color: #e8f0fb;
  padding: 15px 20px 70px;
}

.instagram-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.instagram-heading {
  text-align: center;
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 15px;
  font-family: "dnp-shuei-mgothic-std", sans-serif;
}

.instagram-heading span {
  font-size: 2rem;
  font-weight: bold;
  margin-left: 6px;
}

@media screen and (max-width: 800px) {
.instagram-section {
    padding: 0px 10px 30px;
  }
.instagram-container {
  margin: 0 auto;
  padding: 0 0px;
}
	
.instagram-heading {
  font-size: 2.2rem;
  margin-bottom: 5px;
}

.instagram-heading span {
  font-size: 1.6rem;
  margin-left: 2px;
}
}

/* ----------------------------------------
    4つの理由：ビジュアルセクション
---------------------------------------- */

.reasons-visual {
  width: 100%;
  background-image: url("../image/reasons-visual.jpg"); /* 画像パス調整 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  min-height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
margin-bottom: 40px;
}

.reasons-visual-inner {
  max-width: 1380px;
  width: 100%;
  padding: 60px 20px;
  text-align: right;
}

.reasons-title-en {
  font-size: 5.5rem;
  color: #7047a4;
  margin: 0;
font-family: "acumin-pro-extra-condensed", sans-serif;
font-weight: 600;
font-style: normal;
  letter-spacing: 0.05em;
	padding-right: 50px;
	line-height: 1.1;
letter-spacing: 0.15em;
}

.reasons-title-ja {
  font-size: 2.4rem;
  color: #000;
  margin-top: 0px;
  font-family: "dnp-shuei-mgothic-std", sans-serif;
	padding-right: 50px;
	line-height: 1.3;
font-weight: 600;	
}

/* 4つの理由：パネルセクション */
.reasons-panel-section {
  max-width: 1340px;
  margin: 0 auto 120px;
  padding: 0 20px;
}

.reasons-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 10px;
  justify-content: center;
}

.reason-panel-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;

  transition: transform 0.3s ease;
}

.reason-panel-item:hover img {
  transform: scale(1.02);
}

/* スマホ専用：4つの理由ビジュアルセクション背景差し替え */
@media only screen and (max-width: 768px) {
  .reasons-visual {
    /* SP画像に切り替え */
    background-image: url("../image/reasons-visual_sp.jpg");
    /* 横幅100%で表示 */
    background-size: 100% auto;
    background-position: center top;
    background-repeat: no-repeat;
    /* コンテンツに合わせて高さ自動調整 */
    min-height: auto;
    padding: 60px 0 60px;/* 上下余白を調整 */
	margin-bottom: 0px;
  }
  /* パネルセクション：1カラムに */
  .reasons-panel-section {
    padding: 0 10px 30px !important;
    margin-bottom: 30px !important;
  }
  .reasons-panel-grid {
    grid-template-columns: 1fr !important;
    gap: 0 10px !important;
  }

  .reasons-visual-inner {
    padding: 20px 10px;
  }
  .reasons-title-en {
    font-size: 2.6rem;
    line-height: 1.1;
    letter-spacing: 0.1em;
    padding-right: 0;
    margin-bottom: 8px;
  }
  .reasons-title-ja {
    font-size: 1.6rem;
    line-height: 1.3;
    padding-right: 0;
  }
/* 4つの理由：パネルセクション */
.reasons-panel-section {
  padding: 0 10px;
}
}

/* ----------------------------------------
    フッター
---------------------------------------- */

.school-footer {
  background: #f2f2f2 !important;
  color: #000;
  padding: 40px 10px;
  text-align: left; /* 全体左寄せ */
}

.footer-container {
  display: flex;
  flex-wrap: wrap;            /* 狭くなったら折り返しを許可 */
  align-items: flex-start;    /* 上端を揃える */
  width: 95%;                /* 横幅最大利用 */
max-width: 1600px;
  margin: 0 auto;
  gap: 10px;
  justify-content: space-between;
}

.footer-brand {
  flex: 0 0 auto;             /* 自然サイズのまま固定 */
  margin-right: 0px;         /* ロゴとメニューの隙間 */
}

.footer-logo {
  max-height: 34px;
  margin-bottom: 10px;
}

.footer-address {
  margin: 0 15px 15px 0px;
  line-height: 1.6;
 white-space: nowrap;  
	font-size: 1.2rem;
}

.footer-access {
  display: inline-block;
  margin-top: 5px;
  text-decoration: underline;
  font-weight: bold;
}

.footer-buttons {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.btn-purple,
.btn-pink,
.btn-blue {
  display: inline-block;
  padding: 10px 13px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  text-decoration: none;
	margin-bottom: 20px;
}

.btn-pink {
  background-color: #ea4678;
  transition: background-color 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-pink:hover {
  filter: brightness(1.2);
}

.btn-icon img {
  display: block;
  width: 24px;
  height: auto;
}

.btn-blue {
  background-color: #0071ce;
}

.footer-menus {
  flex: 1 1 auto;             /* 残りスペースを占有しつつ、狭くなれば縮む */
  display: flex;
  gap: 20px;
  padding: 0 10px;
    flex-wrap: nowrap;
}

.footer-col {
  /* すべて均等に縮むように flex 指定 */
  flex: 1 1 200px;      /* 最小 200px まで、余白次第で縮む */
  min-width: 100px;     /* これ以上は縮まない */
  text-align: left;
}

.footer-col-title {
  font-weight: bold;
  border-bottom: 1px solid #ccc;
  padding-bottom: 4px;
  margin-bottom: 8px;
  font-size: 1.4rem;
  text-align: left;
}

.footer-col ul,
.footer-links-others {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.footer-col ul li {
  margin-bottom: 5px;
  font-size: 1.3rem;
}

.footer-col ul li a {
  color: #000;
  text-decoration: none;
}

.footer-col ul li a:hover {
  text-decoration: underline;
}

.footer-copyright {
  text-align: center;
  color: #666;
  padding-top: 30px;
}


/* ───────────────────────────────
   フッター：スマホ対応（〜768px）
─────────────────────────────── */
@media (max-width: 768px) {
  /* 全体を縦並びに */
  .footer-container {
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    gap: 30px;
  }

  /* ロゴ＋住所＋ボタンをセンター寄せ */
  .footer-brand {
    flex: 1 1 100%;
    margin: 0;
    text-align: center;
  }
  .footer-logo {
    margin: 0 auto 10px;
  }
  .footer-address {
    white-space: normal;
    margin-bottom: 15px;
  }
  .footer-buttons {
    justify-content: center;
  }
  /* モバイルではグリッドに切り替え */
  .footer-menus {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px 10px;
    justify-items: start;       /* 全列を左端から揃える */
    padding: 0;
    width: 100%;
  }
  .footer-col {
    /* 各カラムをブロック化 */
    flex: none !important;
    width: auto !important;
    /* デフォルト左揃えに */
    text-align: left !important;
  }
  .footer-col-title {
    /* 見出しのみ中央揃え */
    text-align: center !important;
    margin: 0 auto 8px;         /* optional: 上下マージン調整 */
  }
  .footer-col ul {
    /* リストは左揃え、横幅は見出し幅に合わせず親幅に */
    display: block !important;
    text-align: left !important;
  }
  /* コピーライト中央寄せ＋余白調整 */
  .footer-copyright {
    padding-top: 20px;
    font-size: 0.9rem;
	 margin-bottom: 20px;
  }
}

/* ----------------------------------------
   スマホ（≤768px）最適化： モバイルメニュー
---------------------------------------- */


/* (1) main-nav を基点に header-controls を絶対配置 */
.main-nav {
  position: relative;
}

/* (2) アクセスアイコン＋ハンバーガーをまとめる */
.header-controls {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  display: none;            /* デフォルト非表示 */
  align-items: center;
  z-index: 1001;
}
.header-controls .access-btn {
  margin-right: 14px;
}
.access-btn img {
  display: block;
  width: 36px;
  height: 36px;
}

/* (3) ハンバーガーアイコンは inline-flex に */
.header-controls .hamburger {
  display: inline-flex;
}

/* (4) スマホ表示時のみ出す */
@media screen and (max-width: 768px) {
  .global-nav {
    display: none !important;
  }
  .header-controls {
    display: flex !important;
  }
}

	
	
	
	
/* 1) ヘッダーを常に画面上部に固定 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1002; /* mobile-menu より前面 */
}

/* 2) mobile-menu をヘッダーの下に表示 */
.mobile-menu {
  /* 既存の display/position はそのまま */
  top: 80px; /* ← ヘッダーの高さに合わせて調整してください */
  height: calc(100vh - 80px); /* ← 同じ値を入れる */
}

/* 3) mobile-menu.active も同様 */
.mobile-menu.active {
  display: block;
  top: 80px; 
  height: calc(100vh - 80px);
}

/* main-nav 上でのハンバーガー位置 */
.main-nav {
  position: relative;
}

/* PC（769px〜）ではハンバーガーを非表示に */
@media screen and (min-width: 769px) {
  .hamburger {
    display: none !important;
  }
  /* 万が一 mobile-menu が開いていたら非表示に */
  .mobile-menu {
    display: none !important;
  }
}

/* モバイル（〜768px）でのみ表示 */
@media screen and (max-width: 768px) {
  .hamburger {
    display: flex !important;
  }
}

/* ハンバーガーアイコン */
/* ハンバーガー全体を相対配置に */
.hamburger {
  width: 30px;
  height: 30px;
  position: relative;
  cursor: pointer;
  display: flex;            /* メディアクエリで表示される前提 */
  flex-direction: column;
  justify-content: center;  /* 中央に揃える */
  align-items: center;
  z-index: 1001;
  background: none !important;        /* ボタン背景を透明に */
  border: none !important;            /* ボタン境界線を消去 */
}

/* span を絶対配置にして均一な長さに */
.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
  transform-origin: center center;
}

/* 各線の初期位置 */
.hamburger span:nth-child(1) { top: 6px; }
.hamburger span:nth-child(2) { top: calc(50% - 1.5px); }
.hamburger span:nth-child(3) { top: calc(100% - 6px - 3px); }

/* open 状態（× 形） */
.hamburger.open span:nth-child(1) {
  top: calc(50% - 1.5px);
  transform: rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  top: calc(50% - 1.5px);
  transform: rotate(-45deg);
}

/* モバイル全画面メニュー */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 1000;
  padding: 80px 20px;
  overflow-y: auto;
  box-sizing: border-box;
  text-align: left !important;
}
.mobile-menu.active {
  display: block;
}
.mobile-menu details {
  border-bottom: 1px solid #000;
  margin-bottom: 1rem;
  margin: 0;
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 3px 25px;
}
.mobile-menu summary {
  padding: 12px 0;
  font-size: 1.4rem;
  font-weight: bold;
  cursor: pointer;
}


.mobile-menu summary {
  font-size: 1.4rem;
  font-weight: bold;
  padding: 0.75rem 0;
  cursor: pointer;
  list-style: none;
}
.mobile-menu summary::-webkit-details-marker {
  display: none;
}
.mobile-menu summary::after {
  content: "+";
  float: right;
  font-size: 1.5rem;
}
.mobile-menu details[open] summary::after {
  content: "−";
}
.mobile-menu ul {
  padding: 0 1rem 1rem;
  margin: 0;
  list-style: none;
}
.mobile-menu ul li {
  padding: 0.5rem 1rem 0.5rem;
}
.mobile-menu ul li a {
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: bold;
}

/* レスポンシブ：スマホのみ */
@media screen and (max-width: 768px) {
  .global-nav { display: none !important; }
  .hamburger { display: flex !important; }
}

/* — モバイルメニュー全体の余白リセット — */
.mobile-menu {
  padding: 0 !important;
  margin: 0 !important;
}

/* — モバイルメニュー内のヘッダー画像用コンテナ — */
.mobile-menu .mobile-menu-header {
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}

/* — ヘッダー画像を幅いっぱいに — */
.mobile-menu .mobile-menu-header img {
  display: block;
  width: 100vw;      /* ビューポート幅いっぱい */
  max-width: none;   /* 親の max-width 制限を打ち消す */
  height: auto;
  margin: 0;         /* 余分な余白リセット */
  position: relative;
  left: 50%;
  transform: translateX(-50%); /* 横スクロールが出ないよう中央寄せ */
}



/* ─── メニュー末尾のバナー ─── */
.mobile-menu-banner {
  margin: 24px 0;
  text-align: center;
}
.mobile-menu-banner img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}


/*------------------------
    第二階層 Common
--------------------------*/
.photo-second-spacer{
	height: 800px;
}
@media only screen and (max-width: 750px) {
.photo-second-spacer {
	height: 410px;
}
}
#main_ttl{
	z-index: 1000;
	width: 100%;
	position: absolute;
	top: 50%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}
@media only screen and (max-width: 750px) {
#main_ttl{
	z-index: 1000;
	width: 100%;
	top: 50px;
	transform:initial;
}
}
#main_ttl h2 {
	z-index: 1000;
	text-align: center;
	width: 100%;
	height: 265px;
	color:#FFF;
	background: url("../img/common/bg-h2.png") center top no-repeat;
}
@media only screen and (max-width: 750px) {
#main_ttl h2 {
	width: 100%;
	height: 135px;
	background-size: 135px;
}
}
#main_ttl h2 span.en {
	display: block;
	margin-bottom: 7px;
	padding-top: 86px;
	font-size: 2.8rem;
	font-family: yu-mincho-pr6n, sans-serif;
	line-height: 1.2;
	letter-spacing: 0.15em;
}
@media only screen and (max-width: 750px) {
#main_ttl h2 span.en {
	margin-bottom: 6px;
	padding-top: 43px;
	font-size: 1.2rem;
	letter-spacing: 0.15em;
}
}
#main_ttl h2 span.jp {
	display: block;
	font-size: 5.2rem;
	font-family: yu-mincho-pr6n, sans-serif;
	line-height: 1.0;
	letter-spacing: 0.12em;
}
@media only screen and (max-width: 750px) {
#main_ttl h2 span.jp {
	font-size: 2.6rem;
}
}
#introduction-line {
	width: 100%;
	height: 5px;
	background-color: #194f9c;
}

/*------------------------
画像の編みかけ処理
--------------------------*/
.colorfilter-base {
    background-color: black; /* カラーフィルタ効果の色を指定 */
    display: inline-block;  /* (任意：インラインブロック化したい場合) */
}
.colorfilter-image {
    opacity: 0.3;    /* カラーフィルタ効果の度合いを指定(※) */
    display: block;
}


/*------------------------
    PCスマホ画像切り替え
--------------------------*/
/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc { display: block !important; margin-left: auto; margin-right: auto;}
.sp { display: none !important;  margin-left: auto; margin-right: auto;}
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 900px) {
.pc { display: none !important; margin-left: auto; margin-right: auto; }
.sp { display: block !important; margin-left: auto; margin-right: auto; }
}
