@charset 'utf-8';


body:not(.expageheader):before,
body.expageheader:before {
	height: 60px;
}

/* 
@media only screen and (min-width: 769px) and (max-width: 1000px) {

	body:not(.nosticky):not(.expageheader):before,
	body.expageheader:not(.nosticky):before {
		height: 60px;
	}
}

@media only screen and (min-width: 1001px) {

	body.nosticky:before {
		height: 0;
	}

	body:not(.nosticky):not(.expageheader):before,
	body.expageheader:not(.nosticky):before {
		height: 120px;
	}

	body.detach:not(.nosticky):not(.expageheader):before,
	body.detach.expageheader:not(.nosticky):before {
		height: 180px;
	}
}
 */


body.fixed #upper {
	box-shadow: 0 1px 2px rgba(0,0,0,.2);
}

body.fixed #navi_header_thin {
	border-bottom-color: #fff;
}

/* 
@media only screen and (min-width: 1001px) {

	#upper,
	body.fixed #upper {
		border-bottom-color: #fff;
	}

	body.nosticky #upper {
		box-shadow: none;
	}
}
 */



#mainvisual {
	width: 100%;
/* 	margin-top: 60px; */
	overflow: hidden;
	position: relative;
}

#mainvisual > .inner {
	width: 100%;
	margin: 0 auto;
	text-align: center;
	vertical-align: top;
	position: relative;
}

#keyvisual {
	width: 100%;
	background-image: url(../image/portal/keyvisual.jpg);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	overflow: hidden;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

#promotion {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	text-align: center;
	position: relative;
	z-index: 10;
}

#pr_media {
	width: 100%;
/* 	max-width: 720px; */
	margin: 0 auto;
	padding-top: 130%;
	overflow: hidden;
	position: relative;
	z-index: 10;
}

#tagline {
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

#tagline .cover {
	padding: 30px;
	color: #fff;
	background: rgba(0,0,0,.3);
	text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

#tagline h1 {
	margin-bottom: .5em;
	font-size: 5.5vw;
	font-weight: 700;
	line-height: 1.4;
}

#tagline h1 span {
	display: inline-block;
/* 	letter-spacing: .2em; */
}

#tagline p {
	font-size: 4vw;
	font-weight: 700;
	line-height: 1.5;
}

/* 
#tagline p:not(:last-child) {
	margin-bottom: 1.5em;
}
 */

#tagline p span {
	display: inline-block;
}

#tagline p br {
	display: none;
}

@media only screen and (min-width: 481px) {

	#keyvisual {
	}

	#promotion .line span {
		transform: scale(1.4) translate(-25%, -20%);
	}

	#pr_media {
		padding-top: 90%;
	}

	#tagline .cover {
	}

	#tagline h1 {
		font-size: 24px;
	}

	#tagline p {
		font-size: 16px;
	}
}

@media only screen and (min-width: 641px) {

	#keyvisual {
	}

	#pr_media {
		padding-top: 75%;
	}
}

@media only screen and (min-width: 769px) {

	#keyvisual {
	}

	#pr_media {
		padding-top: 60%;
	}

	#tagline p br {
		display: inline;
	}
}

@media only screen and (min-width: 1001px) {

/* 
	#mainvisual {
		margin-top: 120px;
	}
 */

	#keyvisual {
	}

	#pr_media {
		padding-top: 50%;
	}

	#tagline .cover {
	}
}

@media only screen and (min-width: 1201px) {

	#keyvisual {
		padding-top: 600px;
	}

	#tagline h1 {
		font-size: 30px;
	}

	#tagline p {
	}
}







/* 
@media only screen and (min-width: 769px) {

	#information {
		order: 1;
		width: calc(100% / 3);
	}

	#information {
		order: 3;
	}

	#snstimeline {
		order: 2;
		width: calc(100% - (100% / 3));
	}

	#snstimeline > .inner {
		padding-right: 20px;
	}

	#snswidget .widget {
		width: calc(100% / 2);
	}
}
 */

#information .articlelistblock {
	max-width: none;
}

#information .articlelist .item {
	width: 100%;
}

@media only screen and (min-width: 541px) {

	#information .articlelist .item {
		width: calc(100% / 2);
	}
}

@media only screen and (min-width: 1001px) {

	#information .articlelist .item {
		width: calc(100% / 4);
	}
}

/* 
#blogarticle .articlelist .item {
	width: 100%;
}
 
@media only screen and (min-width: 541px) {

	#blogarticle .articlelist .item {
		width: calc(100% / 2);
	}
}

@media only screen and (min-width: 1001px) {

	#blogarticle .articlelist .item {
		width: calc(100% / 4);
	}
}
*/








#resultsblock {
	border-top: 1px solid #ccc;
}

#resultsblock > .inner {
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	padding: 30px;
	position: relative;
}

#resultsblock .tabcontentsection {
	margin-bottom: 30px;
}

@media only screen and (min-width: 769px) {

	#resultsblock > .inner {
		padding: 50px 30px;
	}
}


#teachersblock {
	border-bottom: none !important;
}


.itemlistsect > .inner {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 30px 10px;
	position: relative;
}


.servicelist.flowlist .item {
	width: 100%;
	position: relative;
}


.servicelist.flowlist .item > div {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	border: 1px solid;
	color: #000;
	font-size: .75em;
}

.servicelist.flowlist .item:not(:last-child):after {
	display: block;
	content: '';
	width: 0;
	height: 0;
	margin: 0 auto;
	border-style: solid;
	border-width: 15px 15px 0 15px;
	border-color: #000 transparent transparent transparent;
}

.servicelist.flowlist .item h2 {
	margin: 0;
}

@media only screen and (min-width: 901px) {

	.servicelist.flowlist .item:not(:last-child):after {
		border-style: solid;
		border-width: 10px 0 10px 10px;
		border-color: transparent transparent transparent #000;
		transform: translateY(-50%);
		position: absolute;
		top: 50%;
		right: 1px;
	}

	.servicelist.flowlist.calum5 .item {
		width: 20%;
	}

	.servicelist.flowlist.calum3 .item {
		width: 33.333%;
	}
}
