@charset "utf-8";

/*=================================================
	file name: chugaku-style.css
	create: 2016.May
	updated: 2017.4.18
===================================================*/

/* header h1
----------------------------------------------*/
@media screen and (max-width: 767px) {
	.site-logo.ele.chugaku-h1 {
		border-bottom: solid 1px #ccc;
		/* margin: 50px 0 0; */
		padding: 5px 12px;
		font-size: 12px;
		font-weight: bold;
		background: #fff;
	}
	.site-logo.ele.chugaku-h1 > div {
		display: table-cell;
		vertical-align: middle;
	}
	.site-logo.ele.chugaku-h1 > div:first-child {
		width: 60%;
		padding-right: 20px;
	}
}


/* base and utility style
----------------------------------------------*/
a {
	color: #276db0;
}
a:hover, a:focus {
	color: #73ADE6;
}

/* color
----------------------------------------------*/
@media screen and (max-width: 767px) {
	.sitemap .nav > li > ul {
		background: #E1EBF4;
	}
	.sitemap .nav > li > ul > li > a:after {
		color: #276DB0;
	}
}


/* text olor
----------------------------------------------*/
.text-attention {
	background: -moz-linear-gradient(top, transparent 0%, transparent 65%, rgba(254,236,34,1) 65%, rgba(254,236,34,1) 90%, transparent 90%, transparent 100%);
	background: -webkit-linear-gradient(top, transparent 0%,transparent 65%,rgba(254,236,34,1) 65%,rgba(254,236,34,1) 90%,transparent 90%,transparent 100%);
	background: linear-gradient(to bottom, transparent 0%,transparent 65%,rgba(254,236,34,1) 65%,rgba(254,236,34,1) 90%,transparent 90%,transparent 100%);
	padding-right: 5px;
	padding-left: 5px;
	padding-bottom: 2px;
	color: #276DB0;
}

/* img
----------------------------------------------*/
img.img-maxh{
	max-height: 480px;
}


/* Components
----------------------------------------------*/
/* countdown */
.container p.text-countdown {
	border: solid 5px #EB6877;
	border-radius: 50px;
	width: 60%;
	margin: 0 auto;
	padding: 0 10px 5px;
	color: #EB6877;
	text-align: center;
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 54px;
	font-weight: bold;
	line-height: 1;
}
@media screen and (max-width: 768px) {
	.container p.text-countdown {
		width: 100%;
		margin-top: 15px;
		font-size: 40px;
	}
}
.container p.text-countdown > small {
	font-size: .5em;
	vertical-align: .35em;
	letter-spacing: -.05em;
}
.container p.text-countdown > small:first-child {
	padding-right: .2em;
}
.container p.text-countdown > small:last-child {
	padding-left: .2em;
}
.container p.text-countdown > small > span {
	padding-right: .5em;
	font-weight: normal;
}

/* .btn */
.btn-area { background-color: rgba(229, 234, 243, 0.7); }
.btn-more-info {
	background-color: #0BB5CC;
	-webkit-box-shadow: 0 3px 0 #078899;
	   -moz-box-shadow: 0 3px 0 #078899;
	        box-shadow: 0 3px 0 #078899;
	color: #fff;
	display: block;
}
.btn-more-info:hover {
	background-color: #0ccae4;
	color: #fff;
}
/* .menu */
@media screen and (max-width: 767px) {
	header .sp-nav .nav > li > ul {
		background: #E1EBF4;
	}
	header .sp-nav .nav > li > ul > li > a:after {
		color: #276DB0;
	}
}
.menu .assist-menu > li > a {
	background-color: #276db0;
}
.menu .page-menu > li { background-color: #276DB0; }
.menu .page-menu > li > a:after { color: #276DB0; }
.menu .page-menu > li:after { color: #276DB0; }

/* .label */
.label-default {
	border-color: #276db0;
	color: #276db0;
}
.label-grade-1st {
	border: solid 1px #728cba;
	color: #728cba;
}
.label-grade-2nd {
	border: solid 1px #df7f3a;
	color: #df7f3a;
}
.label-grade-3rd {
	border: solid 1px #6fb16b;
	color: #6fb16b;
}
/* .panel */
.panel-default {
	border-color: #276db0;
	border-bottom-width: 3px;
}
.panel-default > .panel-heading {
	background-color: #e1ebf4;
	border-color: #276db0;
}
.panel-default > .panel-heading > .panel-title {
	color: #276db0;
	font-weight: bold;
}
.panel-default > .panel-heading + .panel-collapse > .panel-body {
	border-top-color: #276db0;
}
.panel-default > .panel-footer + .panel-collapse > .panel-body {
	border-bottom-color: #276db0;
}
/* .panel-flow */
.panel-flow {
	border-left: solid 2px #ccc;
	-webkit-border-radius: 0;
	   -moz-border-radius: 0;
	        border-radius: 0;
	box-shadow: none;
	margin-bottom: 0;
	margin-left: 30px;
	padding-bottom: 40px;
}
#daily .panel-flow { border-left-color: #67abf7; }
#for-exam .panel-flow { border-left-color: #ffa235; }

.panel-flow + .panel-flow {
	margin-top: 0;
}
.panel-flow:last-child {
	padding-bottom: 0;
}
@media screen and (max-width: 767px) {
	.panel-flow {
		margin-left: 10px;
		padding-bottom: 20px;
	}
}
.panel-flow .panel-heading {
	padding-top: 0;
	padding-right: 0;
	padding-left: 40px;
	position: relative;
}
@media screen and (max-width: 767px) {
	.panel-flow .panel-heading {
		padding-left: 28px;
	}
}
.panel-flow .panel-title {
	font-size: 21px;
}
@media screen and (max-width: 767px) {
	.panel-flow .panel-title {
		font-size: 18px;
		line-height: 1.26;
	}
}
.panel-flow .panel-title > strong {
	margin-bottom: 3px;
	display: block;
	color: #666;
}
#daily .panel-flow .panel-title > strong { color: #67abf7; }
#for-exam .panel-flow .panel-title > strong { color: #ffa235; }

.panel-flow[class*=flow-] .panel-heading:before {
	background-color: #333;
	-webkit-border-radius: 50%;
	   -moz-border-radius: 50%;
	        border-radius: 50%;
	display: block;
	width: 60px;
	height: 60px;
	padding-left: 5px;
	font-family: 'texgyreadventor-italic';
	font-size: 40px;
	color: #fff;
	line-height: 60px;
	text-align: center;
	position: absolute;
	top: -7px;
	left: -30px;
}
#daily .panel-flow[class*=flow-] .panel-heading:before { background-color: #67abf7; }
#for-exam .panel-flow[class*=flow-] .panel-heading:before { background-color: #ffa235; }

.panel-flow .panel-body {
	padding: 0 0 0 60px;
}
@media screen and (max-width: 767px) {
	.panel-flow[class*=flow-] .panel-heading:before {
		width: 40px;
		height: 40px;
		padding-left: .1em;
		font-size: 28px;
		line-height: 36px;
		left: -20px;
	}
	.panel-flow .panel-body {
		padding: 0 0 0 20px;
	}
}
.panel-flow.flow-1 .panel-heading:before { content: "1."; padding-left: 0; }
.panel-flow.flow-2 .panel-heading:before { content: "2."; }
.panel-flow.flow-3 .panel-heading:before { content: "3."; }
.panel-flow.flow-4 .panel-heading:before { content: "4."; }
.panel-flow.flow-5 .panel-heading:before { content: "5."; }
.panel-flow.flow-6 .panel-heading:before { content: "6."; }
.panel-flow.flow-7 .panel-heading:before { content: "7."; }
.panel-flow.flow-8 .panel-heading:before { content: "8."; }
.panel-flow.flow-9 .panel-heading:before { content: "9."; }

/* panel-voice */
.panel-voice .panel-title { border-color: #276db0; }
.panel-voice .panel-title:before { border-top-color: #276db0; }

/* .modal */
.modal-body > button.close {
	border-color: #206289;
	color: #206289;
}


/* table */
.table-hover > tbody > tr > th {
	background-color: #f2f5f9;
}
.table-hover > tbody > tr:hover > th {
	background-color: #CAD8E6;
}
.table-bordered > thead > tr > th,
.table-bordered > thead > tr > td {
	border-bottom-color: #276db0;
	color: #276db0;
}

/* Q&A */
.panel-qa .panel-title {
	color: #276db0;
}
.panel-qa .panel-heading:before {
	content: url(/chugaku/lib/images/spot_question.svg);
}
.panel-qa .panel-body:before {
	content: url(/chugaku/lib/images/spot_answer.svg);
}

/* pickup */
section.pickup:before {
	border-color: #276db0;
}
section.pickup .section-heading {
	color: #276db0;
}

/* .price-box */
.price-box-container > .price-box { background-color: #E1EBF4; }
.price-box:nth-child(2) { background: #fff; border-color: #E1EBF4; }
.price-box dt { color: #276DB0; }

/* QandA */
.question-heading:before {
	content: url(/chugaku/lib/images/spot_question.svg);
}



/* Typography
----------------------------------------------*/
.article-heading { color: #276db0; }

#apply .section-heading {
	background-color: #003585;
}
#apply .section-heading:after {
	border-color: rgba(61, 74, 88, 0);
	border-top-color: #003585;
}

.contact-us .section-heading {
	background-color: #003585 !important;
}
.contact-us .section-heading:after {
	border-color: rgba(61, 74, 88, 0) !important;
	border-top-color: #003585 !important;
}

/* heading-num */
[class*='heading-num']:before {
	margin-right: .2em;
	margin-left: -1em!important;
	font-family: 'texgyreadventor-italic';
	color: #276db0;
	font-size: 1.8em;
}
[class*='heading-num'] {
	padding-left: 1.6em;
}

/* with-balloon */
.section-heading.with-balloon {
	border: solid 4px #276db0;
	color: #276db0;
}
.section-heading.with-balloon:before {
	border-top-color: #276db0;
}


.heading-num1:before { content: "1."; }
.heading-num2:before { content: "2."; }
.heading-num3:before { content: "3."; }
.heading-num4:before { content: "4."; }
.heading-num5:before { content: "5."; }
.heading-num6:before { content: "6."; }
.heading-num7:before { content: "7."; }
.heading-num8:before { content: "8."; }
.heading-num9:before { content: "9."; }

.curriculum.kokugo .section-heading,
.curriculum.kokugo .content-heading { color: #b81c2b; }
.curriculum.sugaku .section-heading,
.curriculum.sugaku .content-heading  { color: #006da0; }
.curriculum.eigo .section-heading,
.curriculum.eigo .content-heading   { color: #eb6000; }
.curriculum.rika .section-heading,
.curriculum.rika .content-heading   { color: #529b46; }
.curriculum.shakai .section-heading,
.curriculum.shakai .content-heading { color: #7b5a99; }
.curriculum.hatten .section-heading,
.curriculum.hatten .content-heading { color: #0b318f; }
.curriculum .section-heading:before {
	display: block;
	width: 64px;
	height: 60px;
	margin: 0 auto .2em;
}

.curriculum.kokugo .section-heading:before { content: url(/chugaku/lib/images/icon_kokugo.svg); }
.curriculum.sugaku .section-heading:before  { content: url(/chugaku/lib/images/icon_sugaku.svg); }
.curriculum.eigo .section-heading:before   { content: url(/chugaku/lib/images/icon_eigo.svg); }
.curriculum.rika .section-heading:before   { content: url(/chugaku/lib/images/icon_rika.svg); }
.curriculum.shakai .section-heading:before { content: url(/chugaku/lib/images/icon_shakai.svg); }
.curriculum.hatten .section-heading:before { content: url(/chugaku/lib/images/icon_hatten.svg); }
.curriculum.kanken-drill .section-heading:before     { content: url(/chugaku/lib/images/icon_kanken-drill.svg); }
.curriculum.keisan-drill .section-heading:before     { content: url(/chugaku/lib/images/icon_keisan-drill.svg); }
.curriculum.keisan-challenge .section-heading:before { content: url(/chugaku/lib/images/icon_keisan-drill.svg); }

.curriculum.kokugo .content-heading > span { border-color: #b81c2b; }
.curriculum.sugaku .content-heading > span  { border-color: #006da0; }
.curriculum.eigo .content-heading > span   { border-color: #eb6000; }
.curriculum.rika .content-heading > span   { border-color: #529b46; }
.curriculum.shakai .content-heading > span { border-color: #7b5a99; }
.curriculum.hatten .content-heading > span { border-color: #0b318f; }
.curriculum.kanken-drill .content-heading > span     { border-color: #C0AB03; }
.curriculum.keisan-drill .content-heading > span     { border-color: #006CAC; }
.curriculum.keisan-challenge .content-heading > span { border-color: #006CAC; }

.note-ordered li:before { color: #ED7019; }


/* layout block
----------------------------------------------*/
.curriculum.kokugo:before { border-color: #b81c2b; }
.curriculum.sugaku:before  { border-color: #006da0; }
.curriculum.eigo:before   { border-color: #eb6000; }
.curriculum.rika:before   { border-color: #529b46; }
.curriculum.shakai:before { border-color: #7b5a99; }
.curriculum.hatten:before { border-color: #0b318f; }


/* .container-form
----------------------------------------------*/
.container-form dl > dt {
	background-color: #EDF0F6;
	color: #003585;
}


/* voice/index.html
----------------------------------------------*/
.users-voice {
	margin-top: 10px;
}
@media screen and (min-width: 768px) {
	.users-voice {
		display: table;
	}
	.users-voice > div {
		display: table-cell;
	}
	.users-voice > div:first-child {
		padding-right: 15px;
	}
}
@media screen and (max-width: 767px) {
	.users-voice > div:first-child {
		margin-bottom: 5px;
	}
}


/* /chugaki/index.html
----------------------------------------------*/
.menu .nav-change-grade-btn {
	background-color: transparent;
/*	background-image:
	linear-gradient(
		transparent 95%,
		rgba(232,247,253,1) 5%
		),
	linear-gradient(
		90deg,
		transparent 95%,
		rgba(232,247,253,1) 5%
		);
	background-size: 18px 18px;
	background-repeat: repeat;*/
	padding: 14px 0;
}
.menu .nav-change-grade-heading {
	margin-bottom: 10px;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 700;
	text-align: center;
	color: #276db0;
}
.menu .nav-change-grade-btn ul {
	margin-bottom: 0;
}
.menu .nav-change-grade-btn li {
	display: inline-block;
}
@media screen and (max-width: 767px) {
	.menu .nav-change-grade-btn {
		background-size: 12px 12px;
	}
	.menu .nav-change-grade-heading {
		font-size: 21px;
	}
	.menu .nav-change-grade-btn li {
		width: 46%;
	}
	.menu .nav-change-grade-btn.without-new1st li {
		width: 50%;
		max-width: 300px;
		margin-bottom: 1%;
	}
}
@media screen and (min-width: 768px) {
	.menu .nav-change-grade-heading {
		font-size: 28px;
	}
	.menu .nav-change-grade-btn li {
		width: 202px;
		margin-right: 3px;
		margin-left: 3px;
	}
	/*.menu .nav-change-grade-btn.without-new1st li {
		width: 279px;
	}*/
}


#comparing {
	background-color: #f1f8ff;
	background-image:
	linear-gradient(
		transparent 95%,
		rgba(227,241,255,1) 5%
		),
	linear-gradient(
		90deg,
		transparent 95%,
		rgba(227,241,255,1) 5%
		);
	background-size: 10px 10px;
	background-repeat: repeat;
	padding: 0 0 14px;
}

@media screen and (max-width: 767px) {
	#comparing {
		width: 100%;
	}
}
@media screen and (min-width: 768px) {
	#comparing {
		width: 90%;
		max-width: 1000px;
		margin: 0 auto;
	}
}
#comparing + hr {
	margin-top: 0;
}


#comparing > .container {
	max-width: 860px;
/*	padding-bottom: 40px; */
}
#comparing .section-heading {
	margin-bottom: 0;
	padding: .8em 15px;
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 34px;
	font-weight: 700;
	line-height: 1.26;
	color: #276DB0;
}
@media screen and (max-width: 767px) {
#comparing > .container {
	padding-bottom: 0;
}
	#comparing .section-heading {
		font-size: 21px;
	}
	#comparing li {
		margin-bottom: 8px;
	}
}

#reason .article-heading {
	margin-bottom: 10px;
}
#reason .article-heading > span {
	vertical-align: middle;
}
#reason .article-heading > span:first-child {
	font-weight: 300;
	letter-spacing: -3px;
}
#reason .article-heading > span:last-child {
	border: solid 4px #276db0;
	border-radius: 10px;
	padding: .5em 1em .33em 2.6em;
}
#reason .article-heading > span > strong {
	font-weight: 900;
	font-size: 48px;
	position: relative;
}
#reason .article-heading > span:last-child > strong:before {
	content: url(../../local/images/fig_reason-heading.svg);
	display: inline-block;
	width: 28px;
	height: 46px;
	position: absolute;
	top: 10px;
	left: -50px;
}
@media screen and (max-width: 767px) {
	#reason .article-heading > span {
		display: block;
	}
	#reason .article-heading > span:last-child {
		margin-top: 8px;
		padding-top: .3em;
	}
	#reason .article-heading > span:last-child > strong {
		font-size: 30px;
	}
	#reason .article-heading > span:last-child > strong:before {
		width: 22px;
		height: auto;
		top: 3px;
		left: -40px;
	}
}
@media screen and (min-width: 768px) {
	#reason .article-heading > span:last-child {
		margin-left: 15px;
		letter-spacing: 1px;
	}
}
#reason .section-heading {
	background: #fff;
	border: solid 4px #276db0;
	border-radius: 8px;
	margin-bottom: 32px;
	padding: .5em 1em;
	color: #276db0;
	font-size: 32px;
	font-weight: 500;
	letter-spacing: -2px;
	line-height: 1.3;
	position: relative;
}
@media screen and (max-width: 767px) {
	#reason .section-heading {
		padding-right: .5em;
		padding-left: .5em;
		font-size: 21px;
	}
}
#reason .section-heading:after,
#reason .section-heading:before {
	top: 100%;
	left: 20px;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}
#reason .section-heading:after {
	border-top-color: #ffffff;
	border-width: 10px 0 0 15px;
	margin-left: 1px;
}
#reason .section-heading:before {
	border-top-color: #276db0;
	border-width: 16px 0 0 24px;
	margin-left: -5px;
}
#reason .section-heading > span {
	font-weight: 900;
	letter-spacing: 0;
	position: relative;
}
#reason .section-heading > span:before {
	content: url(../../local/images/fig_reason-heading.svg);
	display: inline-block;
	width: 28px;
	height: 46px;
	position: absolute;
	top: 0;
	left: -50px;
}
@media screen and (max-width: 767px) {
	#reason .section-heading > span {
		margin-left: 24px;
	}
	#reason .section-heading > span:before {
		width: 22px;
		height: auto;
		top: -6px;
		left: -30px;
	}
}
@media screen and (min-width: 768px) {
	#reason .section-heading > span {
		margin-right: .8em;
		margin-left: 1.9em;
	}
}

/* TOP [キャンペーンバナーエリア:テキスト入り] */
.campaign-area .container .slick-initialized .slick-slide.txtincl {
	background: url(/chugaku/lib/images/banner/bnr_arrow.png) no-repeat #fff;
	background-size: auto 16px;
	background-position: 98% 50%;
}




/* 学年TOP 特進
-----------------------------------------------------*/
.tokushin {
	margin-bottom: 40px;
}
.tokushin .container {
	background-color: #e7f8ff;
	padding-bottom: 0;
}
.tokushin .content {
	margin-bottom: 0;
}
.tokushin .content-inner {
	padding-bottom: 0;
}
.tokushin figure {
	margin: 0 auto;
}
@media screen and (max-width: 767px) {
	.tokushin figure {
		max-width: 66%;
	}
}


/* 学年TOP 塾コンテンツ
-----------------------------------------------------*/
.juku .content-heading {
	display: table;
}
@media screen and (min-width: 768px) {
	.juku .content-heading {
		max-width: 700px;
		margin-top: -20px;
		margin-right: auto;
		margin-left: auto;
	}
}
.juku .content-heading > span {
	border: none;
	display: table-cell;
	table-layout: fixed;
	padding: 0;
	line-height: 1.3;
	vertical-align: top;
}
.juku .content-heading > span.photo {
	width: 22%;
	padding-left: 10px;
}
@media screen and (min-width: 768px) {
	.juku .content-heading > span {
		vertical-align: middle;
	}
	.juku .content-heading > span.photo {
		width: 120px;
	}
}
.juku .panel-qa {
	margin-bottom: 0;
}
@media screen and (min-width: 768px) {
	.juku figure {
		margin-top: 0;
	}
}

@media all and (-ms-high-contrast:none) {
	.juku .content-heading > span {
		display: inline-block;
	}
}


/* 夏・冬 特別講座
-----------------------------------------------------*/

#seasonal-course .check-area {
	margin-bottom: 20px;
	padding: 10px;
}

#seasonal-course .check-area .text-check-mark {
	font-size: 1.5em;
	vertical-align: -.1em;
	color: #3c763d;
}

#seasonal-course h5{
	text-align: center;
	font-weight: bold;
	font-size: 18px;
	line-height: 1.4;
	margin: 0 0 20px;
}

#seasonal-course .seasonal-plan {
	margin: 0 0 20px;
}

#seasonal-course .seasonal-plan p {
	margin:0;
}



/* /chugaku/menu
----------------------------------------------*/
@media screen and (max-width: 767px) {
	.subjectMenu {
		background-image: none ;
		margin-bottom: 20px;
	}

	.menu .subjectMenu li {
		width: 24% ;
    	margin: 10px ;
		display: inline-block;
	}
}

@media screen and (min-width: 768px) {
	.subjectMenu {
		background-image: none ;
		margin-bottom: 40px;
	}

	.menu .subjectMenu li {
		width: 124px ;
    	margin: 10px ;
		display: inline-block;
	}
	.subjectMovie {
		width: 100%;
		padding: 20px 40px;
	}
}
