/* ==============================
   ① 全体共通（ベース）
============================== */
html, body {
  overflow-x: hidden;
}


/* ==============================
   ② 汎用クラス・ユーティリティ
============================== */
span {
	&.reset {
		border-bottom: none;
		font-weight: normal;
		font-size: 1.04rem;
	}
	&.green { color: #19af41; }
	&.yellow { color: #FAE202; }
	&.red { color: #e90000; }
	&.deep_red { color: #B20E0E; }
	&.blue { color: #0015ce; }
	&.deep_blue { color: #09387B; }
	&.orange { color: #FFB326; }
	&.deep_orange { color: #DF9100; }
	&.pink { color: #FF8686; }
	&.sky_blue { color: #6DBDFF; }
	&.bold { font-weight: bold; }
	&.small { font-size: 0.8rem; }
	&.medium { font-size: 1.2rem; }
	&.large { font-size: 1.5rem; }
	&.extra_large { font-size: 1.8rem; }
	&.underline { border-bottom: solid 4px rgba(250, 227, 2, 0.5); }
}

.space {
	display: block;
	height: 12px;	
}

.entry-content ul li {
    line-height: 1.6;
    margin-bottom: 0.45em;
		letter-spacing: 0.02em;
}

.entry-content ul span {
    font-weight: bold;
    text-decoration: underline;
    text-decoration-color: rgba(250, 227, 2, 0.5);
    text-decoration-thickness: 3px;
    text-underline-offset: 3px;
}


/* ==============================
   ③ コンポーネント単位
============================== */

/* --- トップページ関連 --- */
.top-info__title--item span.latest-post::before,
.post-main__title span.latest-post::before {
	background-color: #EE9B00;
}

.top-hero3__image {
	left: -5%;
}
@media screen and (max-width: 1025px) {
	.top-hero3__image {
		top: 5%;
		left: -7%;
		transform: scale(1.4) translate(-34px, 30px);
	}
}

/* --- ボタン系 --- */
.header-action-nav li:nth-child(2) a,
.header--overlay__hamburger-nav li:nth-child(11) a {
	background-color: #FFB326;
	color: white;
}
.header--overlay__hamburger-nav li:nth-child(11) a {
	border: solid 3px white;
}

span.title-highlight__mark--pink {
	color: white;
	border-radius: 1rem;
	font-size: 0.9rem;
	padding: 0 0.5rem;
	background-color:#ff6b6b;
	text-decoration: none;
	align-items: center;
	text-decoration: none;
}

div.wp-block-button.bg-orange {
	a.wp-block-button__link {
		background-color: #EE9B00;
		&:hover {
			background-color: #EE9B00;
			color: white;
		}
	}
}

.button-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 70%;
    margin: 0 auto;
}
@media screen and (max-width: 1025px) {
    .button-container {
        flex-direction: column;
        width: 95%;
    }
}


/* --- フォーム系 --- */
.experience {
	label { font-size: 1.1rem; }
	span { border-bottom: none; }
	input, textarea {
		width: 100%;
		font-size: 1rem;
		letter-spacing: 0.08px;
		line-height: 145%;
		padding: 6px;
		resize: none;
	}
	h4 { margin: 0; }
	p { margin-left: 0; }
	.experience__parent-select input,
	.experience__publish-select input {
		width: auto;
	}
	.experience__submit { margin-top: 1rem; }
}


/* --- 合格実績関連 --- */
.goukaku__container {
	display: flex;
	flex-wrap: wrap;
	width: 97%;
    margin: 0 auto;
    border-top: solid 1px #bbbbbb;
    margin-top: 1rem;
    border-collapse: collapse;
}

.goukaku-item {
	display: flex;
	align-items: center;
	flex-direction: row;
	width: 100%;
	box-sizing: border-box;
	border-bottom: solid 1px #bbbbbb;
	.goukaku-school,
	.goukaku-number {
		display: block;
		padding: 1rem;
		width: 50%;
	}
	@media screen and (min-width: 767px) {
		width: 50%;
		.goukaku-school,
		.goukaku-number {
			padding: 2rem 1rem;
		}
	}
}

.online-goukaku__wrapper {
	width: 100%;
	display: flex;
	justify-content: center;
}
.online-goukaku__wrapper img {
	width: 80%;
	margin: 1rem 0 0 0;
	max-width: 750px;
}
@media screen and (max-width: 767px) {
	.online-goukaku__wrapper img {
		width: 100%;
	}
}

.goukaku-sakura__container {
	display: flex;
	justify-content: center;
	gap: 1rem;
	margin-bottom: 2rem;
}
@media screen and (max-width: 767px) {
	.goukaku-sakura__container {
	  flex-direction: row;
	}
}
.goukaku-sakura__wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
}
.goukaku-sakura__wrapper .sakura__wrapper {
	display: flex;
	justify-content: center;
	gap: 1rem;
}
.goukaku-sakura__wrapper .sakura__wrapper img.sakura {
	width: 90%;
	max-width: 250px;
}
.goukaku-sakura__wrapper .result__wrapper {
	width: 100%;
}
@media screen and (max-width: 767px) {
	.goukaku-sakura__wrapper {
		flex-direction: row;
	}
	.goukaku-sakura__wrapper .sakura__wrapper {
		width: 100%;
		justify-content: left;
	}
	.goukaku-sakura__wrapper .sakura__wrapper img.sakura {
		width: 100%;
	}
	.goukaku-sakura__wrapper .result__wrapper {
		width: 70%;
	}
}

.goukaku-taiken-card {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
    max-width: 760px;
    border: solid 1px #858585;
    padding: 30px 3%;
    margin: 0 auto;
    box-sizing: border-box;
}
@media screen and (max-width:800px) {
    .goukaku-taiken-card {
        flex-direction: column;
        padding: 10px 8vw;
    }
}
.goukaku-taiken-card__left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}
.goukaku-taiken-card__left .img-container img {
    width: 100%;
    max-width: 200px;
}
@media screen and (max-width:800px) {
    .goukaku-taiken-card__left .img-container img {
        max-width: 170px;
    }
}
.goukaku-taiken-card__left .name {
    font-size: 16px;
    margin: 0;
}
.goukaku-taiken-card__right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
@media screen and (max-width:800px) {
    .goukaku-taiken-card__right {
        margin-top: 16px;
    }
}
.goukaku-taiken-card__right .enter {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 200%;
    letter-spacing: 0.96px;
}
@media screen and (max-width:800px) {
    .goukaku-taiken-card__right .enter {
        font-size: 20px;
    }
}
@media screen and (max-width:480px) {
    .goukaku-taiken-card__right .enter {
        flex-direction: column;
        align-items: flex-start;
    }
}
.goukaku-taiken-card__right .enter span {
    text-decoration-line: underline;
    text-decoration-thickness: 6px;
    text-underline-offset: -1px;
    text-decoration-skip-ink: none;
    text-decoration-color: #FFF7B7;
}
.goukaku-taiken-card__right .enter::before {
    display: block;
    content: 'ご進学先';
    color: white;
    background-color: #FF9494;
    width: 86px;
    height: 32px;
    font-size: 16px;
    font-weight: normal;
    text-align: center;
    line-height: 32px;
    margin-right: 21px;
    text-decoration: none;
}
.goukaku-taiken-card__right .pass {
    display: flex;
    font-size: 22px;
    line-height: 200%;
    letter-spacing: 0.96px;
}
@media screen and (max-width:800px) {
    .goukaku-taiken-card__right .pass {
        font-size: 18px;
    }
}
@media screen and (max-width:480px) {
    .goukaku-taiken-card__right .pass {
        flex-direction: column;
        align-items: flex-start;
    }
}
.goukaku-taiken-card__right .pass::before {
    display: block;
    content: 'その他\A合格校';
    white-space: pre;
    color: white;
    background-color: #ADADAD;
    width: 86px;
    height: 54px;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 0.64px; 
    text-align: center;
    line-height: 24px;
    margin-right: 21px;
}
@media screen and (max-width:480px) {
    .goukaku-taiken-card__right .pass::before {
        content: 'その他合格校';
        width: 124px;
        height: 32px;
        line-height: 32px;
    }
}
.goukaku-taiken-card__right .pass-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.taiken-container .child_pages {
	flex-direction: column;
	max-width: 800px;
}


/* --- ヘッダー関連 --- */

/* グローバルナビ */
@media screen and (max-width: 1300px) {
    .header-global-nav li {
        width: 10%;
        height: 12.1%;
    }
}
@media screen and (max-width: 767px) {
    .header-global-nav li {
        width: 20%;
        height: auto;
    }
}
.header-global-nav li:nth-child(9) a::before {
    font-family: "FontAwesome";
    content: "\f304";
}
.header-global-nav li:nth-child(10) {
	background-color: #6EA2E5;
	a { color:white; }
}
.header-global-nav li:nth-child(10).current_page_item a {
	background-color: transparent;
	border-color: #6EA2E5;
}
.header-global-nav li:nth-child(10) a::before {
    font-family: "FontAwesome";
    content: "\f19d";
	color: white;
	background-color: transparent;
	padding-bottom: 0px;
	padding-right: 7px;
}
.header-global-nav li:nth-child(10) a span {
	font-weight: normal;
	font-size: 0.7em;
}
@media screen and (min-width: 1300px) {
	.header-global-nav a {
	    display: flex;
	    align-items: center;
	    justify-content: center;
	    font-size: 0.85rem;
	    font-weight: bold;
	    text-align: center;
	    height: 2rem;
	    padding: 0.8rem 1.3rem;
	    border: solid 0.5px #dddddd;
	}
}
@media screen and (min-width: 768px) {
	#menu-item-4076 { display: none; }
	.header-global-nav li:nth-child(9) a::before {
	    font-family: "FontAwesome";
	    content: "\f19d";
	}
}

/* 旧ハンバーガーを無効化 */
.hamburger { display: none; }

/* 新しいハンバーガーボタン */
.header__hamburger { display: none; }
@media screen and (max-width: 767px) {
  .header__hamburger {
    display: block;
    position: relative;
    padding: 23px 12px;
    background-color: #6ab3e5; 
    border: none;
    cursor: pointer;
    z-index: 1001;
  }
}
.header__hamburger .bar {
  position: relative;
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}
.header__hamburger .bar::before,
.header__hamburger .bar::after {
  content: '';
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease;
}
.header__hamburger .bar::before { top: -10px; }
.header__hamburger .bar::after  { top:  10px; }
.header__hamburger.open .bar { background: transparent; }
.header__hamburger.open .bar::before {
  transform: translateY(10px) rotate(45deg);
}
.header__hamburger.open .bar::after {
  transform: translateY(-10px) rotate(-45deg);
}

/* スクロール時ポップアップ */
.header__popup { display: none; }
@media screen and (max-width: 767px) {
  .header__popup { display: block; }
}
.header__popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  border-bottom: solid 1px #d4d4d4;
  z-index: 2000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.header__popup-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1250px;
  margin: 0 auto;
}
.header__popup-right {
  display: flex;
  align-items: center;
}
.header__popup.is_scroll {
  transform: translateY(0);
  opacity: 1;
  z-index: 10000;
}
@media screen and (max-width: 767px) {
  .header__popup-inner .header__upper-left,
  .header__popup-inner .header__upper-right {
    width: 42%;
  }
  .header__popup-inner .header__contact { padding: 0.3rem 0.3rem; }
  .header__popup-inner .header-action-nav a { padding: 0.3rem 0.3rem; }
  .header-action-nav li a::before { font-size: 1.2rem; padding-bottom: 0.25rem; }
  .header__contact div::before { font-size: 1.2rem; padding-bottom: 0.25rem; }
}

/* お問い合わせ電話ブロック */
.header__contact--phone {
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: solid 1px #dddddd;
  padding: 1rem;
}
.header__contact--phone__img::before {
  font-family: "FontAwesome";
  content: "\f095";
  color: #19af41;
  margin-right: 0.8rem;
}
.header__contact--phone__content {
  display: flex;
  flex-direction: column;
}
.header__contact--phone .number {
  font-weight: bold;
  text-decoration: none;
}
.header__contact--phone .header__contact--phone__content .number,
.header__contact--phone .header__contact--phone__content .number:link,
.header__contact--phone .header__contact--phone__content .number:visited {
  color: #333;
  font-size: 2.0rem;
  letter-spacing: 0.1rem;
}
@media screen and (max-width: 767px) {
  .header__contact--phone .header__contact--phone__content .number,
  .header__contact--phone .header__contact--phone__content .number:link,
  .header__contact--phone .header__contact--phone__content .number:visited {
    font-size: 1.2rem;
  }
}
.header__contact--phone .number:hover {
    color: #19af41;
}

.header__contact--phone .note {
  color: #666;
  margin: 0.3rem 0 0;
}
/* PC（デフォルト） */
.header__contact--phone__img::before {
  font-size: 2.5rem;
}

.header__contact--phone .note {
  font-size: 1rem; /* PCでは少し大きめ */
}

/* スマホ */
@media screen and (max-width: 767px) {
  .header__contact--phone__img::before {
    font-size: 1.5rem; /* スマホでは小さめ */
  }

  .header__contact--phone .note {
    font-size: 0.65rem; /* スマホは現状維持 */
  }
}


/* お問い合わせフォームブロック */
.header__contact--form {
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: solid 1px #dddddd;
  padding: 1rem;
}

.header__contact--form__img::before {
  font-family: "FontAwesome";
  content: "\f0e0"; /* 封筒アイコン */
  color: #19af41;
  margin-right: 0.8rem;
  font-size: 2.2rem; /* PC用デフォルト */
}

.header__contact--form__content {
  display: flex;
  flex-direction: column;
}

.header__contact--form .form-link {
  font-weight: bold;
  text-decoration: none;
  color: #333;
  text-decoration: underline;
  font-size: 1.5rem; /* PC用デフォルト */
}

.header__contact--form .form-link:hover {
  color: #19af41;
}

.header__contact--form .note {
  color: #666;
  margin: 0.3rem 0 0;
  font-size: 1rem; /* PC用デフォルト */
}

/* --- スマホ用調整 --- */
@media screen and (max-width: 767px) {
  .header__contact--form__img::before {
    font-size: 1.5rem; /* スマホでは小さめ */
  }

  .header__contact--form .form-link {
    font-size: 1rem; /* スマホでは標準 */
  }

  .header__contact--form .note {
    font-size: 0.65rem; /* スマホは現状維持 */
  }
}

/* --- ハンバーガーメニュー用：進学コース強調 --- */
.header--overlay__hamburger-nav li.menu-shingaku a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #6EA2E5; /* 水色背景 */
  border: solid 1px white;
  text-align: center;
  height: 100%;
  height: 2rem;
}

.header--overlay__hamburger-nav li.menu-shingaku a::before,
.header--overlay__hamburger-nav li.menu-shingaku a:link::before,
.header--overlay__hamburger-nav li.menu-shingaku a:visited::before {
  font-family: "FontAwesome";
  content: "\f19d"; /* 学位帽アイコン */
  display: block;
  font-size: 1.8rem; /* 既存アイコンと揃える */
  color: #fff;
  padding-bottom: 0;
}

.header--overlay__hamburger-nav li.menu-shingaku a span {
  font-weight: normal;
  font-size: 0.7em;
  color: #fff;
}

.header--overlay__hamburger-nav li.menu-shingaku a div {
  color: #fff;
}


/* ==============================
   ④ その他特別ルール
============================== */

/* PAGE TOP ボタン無効化 */
#page_top,
.page_top_btn {
  display: none;
}