﻿@charset "utf-8";

/*-------------------------------
	英進館様CSS編集用
-------------------------------*/

.kerning {
	font-feature-settings: "palt";
}

/*------- ボタンデザイン -------*/

/*パターン1*/
a.top-btn-v1 {
	border-radius:10px;
	background-color: #eb6100;
	border-bottom: 5px solid #b84c00;
	transition: 0.3s ease-in-out;
}
a.top-btn-v1:hover {
	margin-top: 3px;
	background: #f56500;
	border-bottom: 2px solid #b84c00;
}
a.btn--shadow {
	-webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, .3);
	box-shadow: 0 3px 5px rgba(0, 0, 0, .3);
}

/*パターン2*/
a.top-btn-v2 {
	transition: 0.3s ease-in-out;
	-webkit-transform: skew(-15deg);
	transform: skew(-15deg);
	background-image: -webkit-gradient(
	linear,
	left top,
	right top,
	from(#eb6100),
	to(#eb6100)
	);
	background-image: -webkit-linear-gradient(left, #eb6100 0%, #eb6100 100%);
	background-image: linear-gradient(to right, #eb6100 0%, #eb6100 100%);
	-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}
a.top-btn-v2 i.fa {
	margin-right: 1rem;
}
a.top-btn-v2:before {
	position: absolute;
	top: 46%;
	right: 0;
	width: 3rem;
	height: 1px;
	content: "";
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
	background: #fff;
}
a.top-btn-v2:after {
	position: absolute;
	top: 55%;
	right: 1rem;
	width: 2rem;
	height: 1px;
	content: "";
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
	background: #fff;
}
a.top-btn-v2:hover {
	-webkit-transform: skew(0);
	transform: skew(0);
	color: #fff;
	-webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
	box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
}
a.top-btn-v2:hover:before {
	right: -1.5rem;
	background: #fff100;
}
a.top-btn-v2:hover:after {
	right: -1rem;
	background: #fff100;
}

/*パターン3*/
a.top-btn-v3 {
	text-decoration: none;
	border-radius: 10px;
	background-color: #ffffea;
	border: 3px solid #004097;
	box-shadow: 6px 6px #004097;
	transition: 0.3s ease-in-out;
}
a.top-btn-v3:hover {
	box-shadow: none;
	transform: translate(5px, 5px);
	color: #004097;
}

/*パターン4*/
a.top-btn-v4 {
	border-radius:10px;
	background: #316cbe;
	-webkit-box-shadow: 0 5px 0 #25569a;
	box-shadow: 0 5px 0 #25569a;
	transition: 0.3s ease-in-out;
}
a.top-btn-v4 span {
	position: absolute;
	top: -2.8rem;
	left: calc(50% - 120px);
	display: block;
	width: 230px;
	padding: 0.2rem 0;
	color: #316cbe;
	border: 2px solid #25569a;
	border-radius: 100vh;
	background: #fff;
	-webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
}
a.top-btn-v4 span:before,
a.top-btn-v4 span:after {
	position: absolute;
	left: calc(50% - 10px);
	content: "";
}
a.top-btn-v4 span:before {
	bottom: -10px;
	border-width: 10px 10px 0 10px;
	border-style: solid;
	border-color: #25569a transparent transparent transparent;
}
a.top-btn-v4 span:after {
	bottom: -7px;
	border-width: 10px 10px 0 10px;
	border-style: solid;
	border-color: #fff transparent transparent transparent;
}
a.top-btn-v4:hover {
	-webkit-transform: translate(0, 3px);
	transform: translate(0, 3px);
	background: #3b7fdf;
	-webkit-box-shadow: 0 2px 0 #25569a;
	box-shadow: 0 2px 0 #25569a;
}


/*------- 上付き・下付き文字 -------*/
.va-sp{vertical-align: super}
.va-sb{vertical-align: sub}
@media screen and (max-width: 1079px) {
	.md-va-sp{vertical-align: super}
	.md-va-sb{vertical-align: sub}
}
@media screen and (max-width: 767px) {
	.sm-va-sp{vertical-align: super}
	.sm-va-sb{vertical-align: sub}

}

/*------- 縦書きのメディアクエリ追加 -------*/
@media screen and (max-width: 1079px) {
	.md-wm-v {
		-ms-writing-mode: tb-rl;
		writing-mode: vertical-rl;
	}
}
@media screen and (max-width: 767px) {
	.sm-wm-v {
		-ms-writing-mode: tb-rl;
		writing-mode: vertical-rl;
	}
}

/*------- テーブル -------*/
table{
	width: 100%;
	background: #fff;
	line-height: 1.25;
}
table caption{
	font-weight: bold;
	text-align: center;
	font-size: 1.2em;
	padding: 0.3em 0;
	color: #004097;
}
table tr:nth-child(n) :is(th, td){
	padding: 0.75em;
	text-align: center;
	vertical-align: middle;
}
table tr :is(th, td).ta-l{text-align: left}
table tr :is(th, td).ta-r{text-align: right}
table tr :is(th, td).va-t{vertical-align: top}
table tr :is(th, td).va-b{vertical-align: bottom}
@media screen and (max-width: 1079px) {
table tr :is(th, td).md-ta-l{text-align: left}
table tr :is(th, td).md-ta-c{text-align: center}
table tr :is(th, td).md-ta-r{text-align: right}
table tr :is(th, td).md-va-t{vertical-align: top}
table tr :is(th, td).md-va-m{vertical-align: middle}
table tr :is(th, td).md-va-b{vertical-align: bottom}
}
@media screen and (max-width: 767px) {
table tr:nth-child(n) :is(th, td){padding: 0.7em;}
table tr :is(th, td).sm-ta-l{text-align: left}
table tr :is(th, td).sm-ta-c{text-align: center}
table tr :is(th, td).sm-ta-r{text-align: right}
table tr :is(th, td).sm-va-t{vertical-align: top}
table tr :is(th, td).sm-va-m{vertical-align: middle}
table tr :is(th, td).sm-va-b{vertical-align: bottom}
}
tr :is(th, td){border: 1px solid #ccc}
th{
	font-weight: bold;
	color: #222;
}
:is(thead, tfoot) :is(th, td){font-size: 90%}
thead th{color: #fff}
thead th{background: #444}
thead td{
	background: #666;
	color: #fff;
	font-weight: bold;
}
tfoot th{color: #074395}
tfoot th{background: #d1e2f8}
tfoot td{
	background: #f2f6fa;
	color: #074395;
	font-weight: bold;
}
/* - 偶数行を色変更 - */
table.even tbody tr:nth-child(2n){background: #333;}
table.even tbody tr:nth-child(2n) :is(th, td){background: rgba(255, 255, 255, 0.97)}

table:is(.infant, .elem, .junior, .high, .ikkan) th{color: #fff}
/* - table infant - */
table.infant caption{color: #b24354}
table.infant thead td{background: #c64b5e}
table.infant tbody th{background: #c64b5e}
table.infant tfoot th{
	background: #f4c2c2;
	color: #b24354;
}
table.infant tfoot td{
	background: #ffeae8;
	color: #b24354;
}
table.even.infant tr:nth-child(2n) th{background: rgba(198, 75, 94, 0.92)}
/* - table elem - */
table.elem caption{color: #d17307}
table.elem thead td{background: #eb8a1b}
table.elem tbody th{background: #eb8a1b}
table.elem tfoot th{
	background: #fcd3a3;
	color: #d17307;
}
table.elem tfoot td{
	background: #fdf7f0;
	color: #d17307;
}
table.even.elem tr:nth-child(2n) th{background: rgba(235, 138, 27, 0.92)}
/* - table junior - */
table.junior caption{color: #2c61ab}
table.junior thead td{background: #316cbe}
table.junior tbody th{background: #316cbe}
table.junior tfoot th{
	background: #a5c4ef;
	color: #2c61ab;
}
table.junior tfoot td{
	background: #ebf4ff;
	color: #2c61ab;
}
table.even.junior tr:nth-child(2n) th{background: rgba(49, 108, 190, 0.9)}
/* - table high - */
table.high caption{color: #498800}
table.high thead td{background: #519700}
table.high tbody th{background: #519700}
table.high tfoot th{
	background: #a6d076;
	color: #498800;
}
table.high tfoot td{
	background: #eaf2e1;
	color: #498800;
}
table.even.high tr:nth-child(2n) th{background: rgba(73, 136, 0, 0.94)}
/* - table ikkan - */
table.ikkan caption{color: #b59900}
table.ikkan thead td{background: #c9aa00}
table.ikkan tbody th{background: #c9aa00}
table.ikkan tfoot th{
	background: #f4edc9;
	color: #b59900;
}
table.ikkan tfoot td{
	background: #fffbe8;
	color: #b59900;
}
table.even.ikkan tbody tr:nth-child(2n) th{background: rgba(181, 153, 0, 0.96)}

/*------- アイコン追加 -------*/
.icon-home:before {content: "\e92d"}
.icon-mic:before {content: "\e92e"}
.icon-pushpin:before {content: "\e946"}
.icon-alarm:before {content: "\e950"}
.icon-mobile:before {content: "\e958"}
.icon-bubble:before {content: "\e96b"}
.icon-lock:before {content: "\e98f"}
.icon-unlocked:before {content: "\e990"}
.icon-pie-chart:before {content: "\e99a"}
.icon-stats-dots:before {content: "\e99b"}
.icon-lab:before {content: "\e9aa"}
.icon-point-right:before {content: "\ea04"}
.icon-play3:before {content: "\ea1c"}
.icon-facebook:before {content: "\ea90"}
.icon-instagram:before {content: "\ea92"}
.icon-twitter:before {content: "\ea96"}
.icon-youtube:before {content: "\ea9d"}
@font-face {
		font-family: "icomoon";
		src: url("../nw_fonts/icomoon.eot?230714");
		src: url("../nw_fonts/icomoon.eot?230714#iefix") format("embedded-opentype"), url("../nw_fonts/icomoon.ttf?230714") format("truetype"), url("../nw_fonts/icomoon.woff?230714") format("woff"), url("../nw_fonts/icomoon.svg?230714#icomoon") format("svg");
		font-weight: normal;
		font-style: normal;
		/*font-display: block；*/
		font-display: swap;
}

/*------- youtube埋め込み軽量化 -------*/
.youtube-save{
	position: relative;
	width: 100%;
	padding-top: 56.25%;
	overflow: hidden;
}
.youtube-save::after{
	content: "\ea1c";
	font-family: "icomoon" !important;
	speak: never;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-size: 3em;
	position: absolute;
	top: -100%;
	bottom: -100%;
	left: -100%;
	right: -100%;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 1.5em;
	height: 1.5em;
	border-radius: 90%;
	margin: auto;
	padding: 0 0 0 0.15em;
	z-index: 5;
	background: #c11a1a;
	color: #fff;
	filter: drop-shadow(0 0 10px rgba(7, 67, 149, 0.3));
	transition: 0.4s;
}
.youtube-save:hover{
	cursor: pointer;
	opacity: 0.9;
}
.youtube-save:hover::after{
	cursor: pointer;
	opacity: 0.75;
	transition: 0.15s;
	transform: scale(120%);
}
.youtube-save.play::after{
	animation: playicon 0.4s forwards;
}
@keyframes playicon{
	0%{
		opacity: 10;
	}
	99%{
		opacity: 0;
		content: "\ea1c";
	}
	100%{
		content: none;
	}
}
.youtube-save iframe{
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
}
.youtube-save.play iframe{
	z-index: 10;
}
.youtube-save img {
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: auto;
	transform: translateY(-50%);
}

/*------- 色追加 -------*/
.c-yellow{color:#fff100;}
.bgc-yellow{background-color:#fff100;}

/*------- フォント追加 -------*/
@font-face {
	font-family: 'tegaki';
	src: url('../nw_fonts/kcfgB.ttf') format('truetype');
	src: url('../nw_fonts/kcfgB.woff') format('woff');
	font-weight: normal;
}
@font-face {
	font-family: 'tegaki';
	src: url('../nw_fonts/kcfgBB.ttf') format('truetype');
	src: url('../nw_fonts/kcfgBB.woff') format('woff');
	font-weight: bold;
}
.ff-tegaki{
	font-family: 'tegaki', cursive;
}

@font-face{
	font-family: 'dartsfont';
	src: local('dartsfont'),url('fonts/DartsFont.eot?#iefix') format('eot'),url('fonts/DartsFont.woff') format('woff');
}
.ff-darts{
	font-family: 'dartsfont';
	font-weight: bold;
	letter-spacing: -1px;
}


/*------- 教場ページ合格実績 -------*/
.goal-box {
	display: block;
  overflow: hidden;
  height: 180px;
  position: relative;
}
.goal-box::before {
	content: "";
	position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(transparent 75%, rgba(51, 51, 51, 0.7));
 }
.goal-box:hover {
	opacity: 0.8;
	transition: 0.3s;
}
.goal-box:hover::before {
	background: linear-gradient(transparent 75%, rgba(255, 255, 255, 0.7));
	transition: 0.6s;
}
.goal-box img {
	width: 100%;
	height: auto;
}

/*------- 申し込みフォームリンクの色追加 -------*/
/*緑色*/
.c-app-red{color: #d94b41;}
.bgc-app-red{background-color: #d94b41;}
.bdc-app-red{border-color: #d94b41 !important;}
.is-active.is-active-bgc-app-red{background-color:#d94b41 !important;}
/*赤色*/
.c-app-green{color: #6bb939;}
.bgc-app-green{background-color: #6bb939;}
.bdc-app-green{border-color: #6bb939 !important;}
.is-active.is-active-bgc-app-green{background-color:#6bb939 !important;}

/*------- クラス紹介のページに中高一貫部の見出しを追加 -------*/
.classes-item-info dt.bgc-ikkan-light::after,.classes-item-info .tests-item-ikkan dt.bgc-inherit-light::after,.tests-item-ikkan .classes-item-info dt.bgc-inherit-light::after{background-color:#e2d278}

/*------- 幼児部・高等部の公開テストページの見出し部分の設定追加 -------*/
.tests-item-info dt.bgc-infant-lighter::after{background-color:#f4c2c2}
.tests-item-info dt.bgc-high-lighter::after{background-color:#a6d076}

/*------- ミラクル英進館の色設定追加 -------*/
.c-miracle{color: #07296b;}
.bgc-miracle{background-color: #07296b;}
.bdc-miracle{border-color: #07296b;}
.is-active.is-active-bgc-miracle{background-color:#07296b !important;}

/*------- 個別指導ミラクルの色設定追加 -------*/
.c-p-miracle{color: #009bbe;}
.bgc-p-miracle{background-color: #009bbe;}
.bdc-p-miracle{border-color: #009bbe;}
.is-active.is-active-bgc-p-miracle{background-color:#009bbe !important;}

/*------- バーチャルキャンパスの色設定追加 -------*/
.c-virtual{
  background: linear-gradient(180deg, #3bade3 0%, #576fe6 25%, #9844b7 51%, #ff357f 100%);
  background: -webkit-linear-gradient(180deg, #3bade3 0%, #576fe6 25%, #9844b7 51%, #ff357f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.bgc-virtual{
	background: linear-gradient(270deg, #3bade3 0%, #576fe6 25%, #9844b7 51%, #ff357f 100%);
	background-position: 1% 50%;
	background-size: 200% auto;
}
.bdc-virtual{border-color: #ba4899;}
.is-active.is-active-bgc-virtual{
	background: linear-gradient(270deg, #3bade3 0%, #576fe6 25%, #9844b7 51%, #ff357f 100%);
	background-position: 1% 50%;
	background-size: 200% auto;
}
.c-virtual-ng{color: #ba4899;}
.bgc-virtual-ng{background-color: #ba4899;}
.is-active.is-active-bgc-virtual-ng{background-color:#ba4899 !important;}

/*------- 幅と高さの設定追加 -------*/
	.w125{width:125px}.h125{height:125px}
	.w150{width:150px}.h150{height:150px}
	.w175{width:175px}.h175{height:175px}
	.w200{width:200px}.h200{height:200px}
	.w225{width:225px}.h225{height:225px}
	.w250{width:250px}.h250{height:250px}
	.w275{width:275px}.h275{height:275px}
	.w300{width:300px}.h300{height:300px}

@media screen and (max-width: 1079px){
	.md-w125{width:125px}.md-h125{height:125px}
	.md-w150{width:150px}.md-h150{height:150px}
	.md-w175{width:175px}.md-h175{height:175px}
	.md-w200{width:200px}.md-h200{height:200px}
	.md-w225{width:225px}.md-h225{height:225px}
	.md-w250{width:250px}.md-h250{height:250px}
	.md-w275{width:275px}.md-h275{height:275px}
	.md-w300{width:300px}.md-h300{height:300px}
}

@media screen and (max-width: 767px){
	.sm-w125{width:125px}.sm-h125{height:125px}
	.sm-w150{width:150px}.sm-h150{height:150px}
	.sm-w175{width:175px}.sm-h175{height:175px}
	.sm-w200{width:200px}.sm-h200{height:200px}
	.sm-w225{width:225px}.sm-h225{height:225px}
	.sm-w250{width:250px}.sm-h250{height:250px}
	.sm-w275{width:275px}.sm-h275{height:275px}
	.sm-w300{width:300px}.sm-h300{height:300px}
}

/*黒の背景色の設定追加*/
.is-active.is-active-bgc-black{background-color:#333 !important}.is-active.is-active-bdc-black{border-color:#333 !important}

/*hoverした際の、背景の場所変更*/
.hov.hov-virtual:hover {
	opacity: 1.0;
	background-position: 99% 50%;
	transition: 0.3s ease-in-out;
}

/*チェックボックスを押さない限りリンクが反応しない*/
.button-block{
	-webkit-text-size-adjust:none;
	-webkit-box-align:center;
	-ms-flex-align:center;
	-webkit-box-pack:center;
	-ms-flex-pack:center;align-items:center;
	-webkit-appearance:none;
	-moz-appearance:none;
	appearance:none;
	color:inherit;
	display:-webkit-box;
	display:-ms-flexbox;
	display:flex;
	font-family:inherit;
	font-size:inherit;
	font-weight:inherit;
	justify-content:center;
	line-height:inherit;
	width:100%;
}
.button-block.is-disabled{background:#ccc;pointer-events:none}
.button-block.is-disabled i{color:#ccc;}
.button-block.is-disabled i.reverse{color:white;}

/*チェックボックスのデフォルト設定を無効化*/
.agreement-checkbox input[type="checkbox"] {
	border-radius: 0;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}
/*チェックボックス設定*/
.agreement-checkbox input[type="checkbox"] {
	cursor: pointer;
	position: relative;
	width: 25px;
	height: 25px;
}
/*チェックボックスのレ点を設定*/
.agreement-checkbox input[type="checkbox"]:checked:before {
	position: absolute;
	top: 6px;
	left: 7px;
	transform: rotate(50deg);
	width: 10px;
	height: 14px;
	border-right: 2px solid #000;
	border-bottom: 2px solid #000;
	content: '';
}

