/*----------------------------------------
日本語学校に入るには専用CSS：jls.css
base.cssとnavi.cssは外さない
second_base.cssの代わりに入れる
-------------------------------------------*/

#breadCrumb {
	font-size: 12px;
	line-height: 1.5em;
	font-family: 'Varela Round', sans-serif;
}

/* second_base.cssの内容START------------------------------------- */

/* 通常h1タイトル */

#pageTitle {
	background-image: url(../img/bg/bg-yellowstripe.png);
	background-repeat: repeat;
}

#pageTitle .ttlH1 {
	padding: 1rem 2rem;
	background: rgba(255, 255, 255, .5);
	text-align: center;
	font-weight: normal !important;
}

#pageTitle h1 {
	position: relative;
	padding: 0;
	text-align: center;
	font-size: 1.5rem;
	color: black;
	font-family: 'Kosugi Maru', sans-serif;
	font-weight: normal;
}

#pageTitle h2 {
	font-weight: normal;
	padding-bottom: 0.5em;
}

.lh15 {
	line-height: 1.5em;
}

.fs16 {
	font-size: 1rem !important;
	line-height: 1.12rem;
}

/* h1タブ型のページタイトル */

#tabTitle {
	background-image: url(../img/bg/bg-yellowstripe.png);
	background-repeat: repeat;
}

#tabTitle .nav-item50 {
	padding: 1em 0 0 0;
	width: 50%;
	text-align: center;
}

#tabTitle .nav-item60 {
	padding: 1em 0 0 0;
	width: 60%;
	text-align: center;
}

#tabTitle .nav-item40 {
	padding: 1em 0 0 0;
	width: 40%;
	text-align: center;
}

#tabTitle .nav-link {
	padding: 1em;
}

#tabTitle .nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
	color: black;
	font-family: 'Kosugi Maru', sans-serif;
	background-color: #fff;
	border-color: #dee2e6 #dee2e6 #fff;
}

#tabTitle .nav-tabs .nav-link {
	border-color: white white #dee2e6;
	background-color: rgba(255, 255, 255, .5);
	color: #495057;
	font-family: 'Kosugi Maru', sans-serif;
}

#tabTitle .nav-link:hover, .nav-link:focus {
	opacity: 1;
	border-color: white white #dee2e6;
	background-color: rgba(255, 255, 255, .8);
	color: black;
	font-family: 'Kosugi Maru', sans-serif;
}

.contSection {
	/* コンテンツボックス */
	background-color: #fff;
	display: block;
	border-right: 1px solid rgba(0, 0, 0, 0.125);
	border-left: 1px solid rgba(0, 0, 0, 0.125);
	padding: 1rem 1.5rem 4rem 1.5rem;
}

.contSectionFull {
	/* コンテンツボックス */
	background-color: #fff;
	display: block;
	border-right: 1px solid rgba(0, 0, 0, 0.125);
	border-left: 1px solid rgba(0, 0, 0, 0.125);
	padding: 1rem 0 4rem 0;
}

.contSectionSub {
	background-color: #fff;
	padding: 0 1.5rem 0 1.5rem;
}

.contSection-innerFull {
	/* コンテンツボックス */
	background-color: #fff;
	display: block;
	padding: 0;
}

/* second_base.cssの内容END------------------------------------- */

body {
	font-family: "游ゴシック", 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', sans-serif;
	line-height: 1.5em;
	color: #333;
}

/* パンくずリスト */

#breadCrumb {
	font-size: small;
}

#breadCrumb2 {
	font-size: small;
	border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.breadcrumb {
	background-color: var(--light);
	border-radius: 0;
	margin-bottom: 0;
}

img {
	vertical-align: bottom;
	max-width: 100%;
}

h1, h2, h3, h4, h5, p {
	margin: 0;
	font-weight: 700;
}

a {
	-webkit-transition: .2s;
	transition: .2s;
}

a:hover {
	opacity: .6;
}

ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.serif {
	font-family: Georgia, "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

.fadeInUp {
	opacity: 0;
	transform: translate(0, 60px);
	-webkit-transform: translate(0, 60px);
	-webkit-transition: .8s;
	transition: .8s;
}

.upxx {
	opacity: 1.0;
	transform: translate(0, 0);
	-webkit-transform: translate(0, 0);
}

/*----------------------------------------
メディアクエリ：
-------------------------------------------*/

/* // スマホ-タブレット, 768px 以下 */

@media (max-width: 768px) {
	.pc {
		display: none!important;
	}
	body {
		font-size: 13px;
	}
	section:nth-of-type(1) {
		margin-top: 20px;
	}
	section h1 {
		width: 100%;
		text-align: center;
		background: -webkit-gradient(linear, left top, left bottom, color-stop(35%, transparent), color-stop(35%, #147bef));
		background: linear-gradient(transparent 35%, #147bef 35%);
	}
	section:nth-of-type(1)>div:nth-of-type(1) {
		text-align: center;
		background: url('../img/gradetion.png') 0 100% repeat-x;
	}
	section:nth-of-type(1) .bg {
		width: 100%;
		margin: 0 auto;
		padding: 30px 0 20px;
		background: url('../img/blue-bg_sp.png') 0 0 repeat;
		position: relative;
		-webkit-box-shadow: 5px 5px 10px rgba(0, 0, 0, .4);
		box-shadow: 5px 5px 10px rgba(0, 0, 0, .4);
		border-top: 5px solid #80bcff;
		border-bottom: 5px solid #80bcff;
	}
	section:nth-of-type(1) .bg div h2 {
		width: 100%;
		margin-bottom: 15px;
		color: #fefd00;
		text-align: center;
		font-size: 23px;
		font-weight: bold;
	}
	section:nth-of-type(1) .bg div p {
		padding: 0 3%;
		color: #fff;
		line-height: 1.5em;
	}
	section:nth-of-type(1) .bg div p:nth-of-type(2) {
		margin-top: 10px;
		font-size: 12px;
		line-height: 1.5em;
	}
	section:nth-of-type(1) div:nth-of-type(3) {
		margin-top: 20px;
		text-align: center;
	}
	section:nth-of-type(2) {
		margin-top: 60px;
	}
	section:nth-of-type(2) h3 {
		padding: 0 3%;
		text-align: center;
	}
	section:nth-of-type(2) .bg {
		padding: 20px 0 10px;
		background-color: #147bef;
	}
	section:nth-of-type(2) .bg p {
		color: #fff;
		line-height: 1.8em;
	}
	section:nth-of-type(2) .bg p span {
		color: #333;
		background-color: #fff100;
	}
	section:nth-of-type(2) .bg>p {
		width: 94%;
		margin: 0 auto;
	}
	section:nth-of-type(2) .bg>div {
		width: 94%;
		margin: 10px auto 0;
	}
	section:nth-of-type(2) .bg>div p {}
	section:nth-of-type(2) .bg>div div {
		width: 94%;
		margin-top: 20px;
		text-align: center;
	}
	section:nth-of-type(2) ul {
		width: 94%;
		margin: 20px auto 0;
	}
	section:nth-of-type(2) ul li {
		margin-top: 20px;
	}
	section:nth-of-type(2) ul li:nth-child(2n+1) {}
	section:nth-of-type(2) ul li:nth-child(2n) {}
	section:nth-of-type(2) ul li:nth-child(2) {}
	section:nth-of-type(2) ul li:nth-child(n+3) {}
	section:nth-of-type(2) ul li>div {
		padding: 0 16px 24px;
		background-color: #fffcdb;
	}
	section:nth-of-type(2) ul li div p span {
		color: #333;
		background-color: #fff100;
	}
	section:nth-of-type(2) ul li:nth-of-type(1) div .illustration, section:nth-of-type(2) ul li:nth-of-type(3) div .illustration {
		width: 40%;
		margin: 0 0 0 10px;
		float: right;
	}
	section:nth-of-type(2) ul li:nth-of-type(2) div .illustration {
		width: 40%;
		margin: 0 10px 0 0;
		float: left;
	}
	section:nth-of-type(2) ul li:nth-of-type(4) div .illustration {
		text-align: right;
	}
	section:nth-of-type(2) ul li:nth-of-type(4)>div {
		margin-top: 10px;
	}
	section:nth-of-type(3) .bg {
		padding-bottom: 40px;
		background: url('../img/pink-bg.jpg') 0 0 repeat;
	}
	section:nth-of-type(3) h3 {
		margin: 60px 0 -8%;
		padding: 0 1%;
		text-align: center;
	}
	section:nth-of-type(3) ul {
		width: 94%;
		margin: 0 auto;
		padding-top: 60px;
	}
	section:nth-of-type(3) ul li {
		width: 100%;
		margin-top: 20px;
		padding: 15px 10px 10px;
		background-color: #fffce0;
		border-radius: 5px;
	}
	section:nth-of-type(3) ul li:nth-of-type(2n+1) {}
	section:nth-of-type(3) ul li:nth-of-type(n+3) {}
	section:nth-of-type(3) ul li h4 {
		width: 230px;
		padding-bottom: 5px;
		color: #e84091;
		font-size: 18px;
		border-bottom: 1px dashed #e84091;
	}
	section:nth-of-type(3) ul li div {}
	section:nth-of-type(3) ul li h4 span {
		width: 30px;
		margin-right: 10px;
		background-color: #e84091;
		color: #fff;
		display: inline-block;
		text-align: center;
	}
	section:nth-of-type(3) ul li p {
		margin-top: 5px;
	}
	section:nth-of-type(4) {
		margin-top: 60px;
		padding: 30px 3%;
		background-color: #f5fbfd;
		text-align: center;
	}
	section:nth-of-type(4)>div {}
	section:nth-of-type(4)>div div {
		margin-top: 12px;
	}
	section:nth-of-type(5) {
		margin-top: 60px;
	}
	section:nth-of-type(5) h3 {
		margin-bottom: 20px;
		text-align: center;
		line-height: 1;
	}
	section:nth-of-type(5) h3 span {
		padding: 0 10px;
		text-align: center;
		font-size: 19px;
		background: -webkit-gradient(linear, left top, left bottom, color-stop(40%, transparent), color-stop(40%, #fff000));
		background: linear-gradient(transparent 40%, #fff000 40%);
	}
	section:nth-of-type(5) ul {
		width: 94%;
		margin: 0 auto;
	}
	section:nth-of-type(5) ul li {
		margin-top: 30px;
		padding: 20px 0 0;
	}
	section:nth-of-type(5) ul li h4 {
		padding: 7px 0 5px;
		background-color: #147bef;
		color: #fff;
		border-radius: 30px;
		text-align: center;
		font-weight: normal;
		font-size: 18px;
		line-height: 1;
	}
	section:nth-of-type(5) ul li div {
		margin: 20px 0 10px;
		text-align: center;
	}
	section:nth-of-type(5) ul li .text {
		margin-bottom: 5px;
		padding: 5px;
		background-color: #fffce0;
	}
	section:nth-of-type(5) ul li .url {
		text-decoration: underline;
		color: #147bef;
	}
	.btn-outline-danger {
		padding: 0.3rem 0.7rem;
		font-size: 13px;
	}
}

/* // タブレット(md), 768px 以上 */

@media (min-width: 768px) {
	.sp {
		display: none!important;
	}
	section h1 {
		width: 100%;
		margin-top: 20px;
		text-align: center;
		background: -webkit-gradient(linear, left top, left bottom, color-stop(35%, transparent), color-stop(35%, #147bef));
		background: linear-gradient(transparent 35%, #147bef 35%);
	}
	section:nth-of-type(1)>div:nth-of-type(1) {
		margin-top: -15px;
		text-align: center;
		/* background: url('../img/gradetion.png') 0 100% repeat-x; */
	}
	section:nth-of-type(1) .bg div p:nth-of-type(2) {
		margin-top: 10px;
		font-size: 13px;
		line-height: 1.5em;
	}
	section:nth-of-type(1) div:nth-of-type(3) {
		margin-top: -90px;
		text-align: center;
	}
	section:nth-of-type(2) {
		margin-top: 85px;
	}
	section:nth-of-type(2) h3 {
		text-align: center;
	}
	section:nth-of-type(2) .bg {
		padding: 45px 0 7px;
		background-color: #147bef;
	}
	section:nth-of-type(2) .bg p {
		color: #fff;
		line-height: 1.8em;
	}
	section:nth-of-type(2) .bg p span {
		color: #333;
		background-color: #fff100;
	}
	section:nth-of-type(2) .bg>p {
		width: 100%;
		max-width: 925px;
		margin: 0 auto;
		padding-right: 90px;
	}
	section:nth-of-type(2) .bg>div {
		width: 100%;
		max-width: 925px;
		margin: 10px auto 0;
	}
	section:nth-of-type(2) .bg>div p {
		width: 46%;
		float: left;
	}
	section:nth-of-type(2) .bg>div div {
		width: 53%;
		float: right;
	}
	section:nth-of-type(2) ul {
		width: 100%;
		max-width: 980px;
		margin: 40px auto 0;
	}
	section:nth-of-type(2) ul li {
		width: 49%;
		max-width: 480px;
		line-height: 1.8em;
	}
	section:nth-of-type(2) ul li:nth-child(2n+1) {
		float: left;
	}
	section:nth-of-type(2) ul li:nth-child(2n) {
		float: right;
	}
	section:nth-of-type(2) ul li:nth-child(2) {
		margin-top: 40px;
	}
	section:nth-of-type(2) ul li:nth-child(n+3) {
		margin-top: 20px;
	}
	section:nth-of-type(2) ul li>div {
		padding: 0 16px 24px;
		background-color: #fffcdb;
	}
	section:nth-of-type(2) ul li div p span {
		color: #333;
		background-color: #fff100;
	}
	section:nth-of-type(2) ul li:nth-of-type(1) div .illustration, section:nth-of-type(2) ul li:nth-of-type(3) div .illustration {
		margin: 0 0 0 10px;
		float: right;
	}
	section:nth-of-type(2) ul li:nth-of-type(2) div .illustration {
		margin: 0 10px 0 0;
		float: left;
	}
	section:nth-of-type(2) ul li:nth-of-type(4) div .illustration {
		text-align: right;
	}
	section:nth-of-type(2) ul li:nth-of-type(4)>div {
		margin-top: 10px;
	}
	section:nth-of-type(3) .bg {
		padding-bottom: 40px;
		background: url('../img/pink-bg.jpg') 0 0 repeat;
	}
	section:nth-of-type(3) h3 {
		margin: 90px 0 -48px;
		text-align: center;
	}
	section:nth-of-type(3) ul {
		width: 100%;
		max-width: 980px;
		margin: 0 auto;
		padding-top: 60px;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
	}
	section:nth-of-type(3) ul li {
		width: 49%;
		padding: 14px 20px;
		background-color: #fffce0;
		border-radius: 5px;
	}
	section:nth-of-type(3) ul li:nth-of-type(2n+1) {
		margin-right: 2%;
	}
	section:nth-of-type(3) ul li:nth-of-type(n+3) {
		margin-top: 30px;
	}
	section:nth-of-type(3) ul li h4 {
		padding-bottom: 10px;
		color: #e84091;
		font-size: 25px;
		border-bottom: 1px dashed #e84091;
	}
	section:nth-of-type(3) ul li div {
		margin: 2px 5px 0 20px;
		float: right;
	}
	section:nth-of-type(3) ul li h4 span {
		margin-right: 10px;
		background-color: #e84091;
		color: #fff;
	}
	section:nth-of-type(3) ul li p {
		margin-top: 5px;
	}
	section:nth-of-type(4) {
		margin-top: 68px;
		padding: 47px 0 55px;
		background-color: #f5fbfd;
	}
	section:nth-of-type(4)>div {
		width: 100%;
		max-width: 980px;
		margin: 0 auto;
	}
	section:nth-of-type(4)>div div {
		margin-top: 12px;
	}
	section:nth-of-type(5) {
		margin-top: 80px;
	}
	section:nth-of-type(5) h3 {
		margin-bottom: 20px;
		text-align: center;
		font-size: 40px;
		line-height: 1;
	}
	section:nth-of-type(5) h3 span {
		padding: 0 24px;
		text-align: center;
		font-size: 40px;
		background: -webkit-gradient(linear, left top, left bottom, color-stop(40%, transparent), color-stop(40%, #fff000));
		background: linear-gradient(transparent 40%, #fff000 40%);
	}
	section:nth-of-type(5) ul {
		width: 100%;
		margin: 0 auto;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
	}
	section:nth-of-type(5) ul li {
		width: 50%;
		margin-top: 35px;
		padding: 30px 20px 0;
	}
	section:nth-of-type(5) ul li:nth-of-type(2n+1) {
		border-right: 1px solid #d2d2d2;
	}
	section:nth-of-type(5) ul li h4 {
		padding: 10px 0 8px;
		background-color: #147bef;
		color: #fff;
		border-radius: 30px;
		text-align: center;
		/*font-weight: normal;*/
		font-size: 20px;
		line-height: 1;
	}
	section:nth-of-type(5) ul li div {
		margin: 20px 0 10px;
		text-align: center;
	}
	section:nth-of-type(5) ul li .text {
		margin-bottom: 5px;
		padding: 5px;
		background-color: #fffce0;
		font-weight: normal;
	}
	section:nth-of-type(5) ul li .address {
		font-weight: normal;
	}
	section:nth-of-type(5) ul li .tel {
		font-weight: normal;
	}
	section:nth-of-type(5) ul li .url {
		text-decoration: underline;
		color: #147bef;
		font-weight: normal;
	}
}

/* // タブレット-PC, 768px 以上- 1200px以下*/

@media screen and (min-width:768px) and (max-width:1200px) {
	section:nth-of-type(1) .bg {
		width: 100%;
		margin: 0 auto;
		padding: 30px 0 20px;
		background: url('../img/blue-bg_sp.png') 0 0 repeat;
		position: relative;
		-webkit-box-shadow: 5px 5px 10px rgba(0, 0, 0, .4);
		box-shadow: 5px 5px 10px rgba(0, 0, 0, .4);
		border-top: 5px solid #80bcff;
		border-bottom: 5px solid #80bcff;
	}
	section:nth-of-type(1) .bg div h2 {
		width: 100%;
		margin-bottom: 15px;
		color: #fefd00;
		text-align: center;
		font-size: 23px;
		font-weight: bold;
	}
	section:nth-of-type(1) .bg div p {
		padding: 0 3%;
		color: #fff;
		line-height: 1.5em;
	}
	.section1P {
		margin-bottom: 85px;
	}
	section:nth-of-type(2) .bg p {
		padding: 0 3% 10px 3%;
	}
	section:nth-of-type(2) h3 {
		padding: 0 3%;
		text-align: center;
	}
}

/* // PC, 1200px 以上 */

@media (min-width: 1200px) {
	section:nth-of-type(1) .bg {
		width: 100%;
		max-width: 1200px;
		height: 0;
		margin: 0 auto;
		padding-top: 33.33%;
		background: url('../img/blue-bg.png') 0 0 no-repeat;
		background-size: contain;
		position: relative;
		-webkit-box-shadow: 5px 5px 10px rgba(0, 0, 0, .4);
		box-shadow: 5px 5px 10px rgba(0, 0, 0, .4);
		border-radius: 10px;
	}
	section:nth-of-type(1) .bg div {
		width: 100%;
		position: absolute;
		top: 0;
		left: 0;
	}
	section:nth-of-type(1) .bg div h2 {
		width: 100%;
		margin-bottom: 15px;
		padding-top: 30px;
		color: #fefd00;
		text-align: center;
		font-size: 40px;
		font-weight: bold;
	}
	section:nth-of-type(1) .bg div p {
		padding: 0 5%;
		color: #fff;
		line-height: 1.5em;
		font-size: 15px;
	}
	section:nth-of-type(1) div:nth-of-type(3) {
		margin-top: 10px;
		padding: 0 3%;
	}
	section:nth-of-type(5) ul {
		width: 980px;
		margin: 0 auto;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
	}
	section:nth-of-type(5) ul li {
		width: 50%;
		margin-top: 35px;
		padding: 30px 20px 0;
	}
	section:nth-of-type(5) ul li:nth-of-type(2n+1) {
		border-right: 1px solid #d2d2d2;
	}
}