@import url(reset.css);
@import url(base.css);
@import url(common.css);

#mainimg.subject {
	background: url("../image/subject/top/main_bg.jpg") center center no-repeat;
	background-size: cover;
}

#container .topback.scl {
	margin: 0;
}


/*-------------------------------------------------------------------
	top
-------------------------------------------------------------------*/

#subtop {
	margin: 0 0 60px;
}


#subtop .lead {
	text-align: center;
	margin: 0 0 60px;
}

#subtop .lead dt {
	color: #53488f;
	font-size: 1.6em;
	margin: 0 0 20px;
}

#subtop .lead dd {
	font-size: 1.2em;
}


#subtop .relabox {
	position: relative;
	overflow: hidden;
	zoom:1;
	margin: 0 0 5px;
}

#subtop .relabox.green {
	background: #54b184;
}
#subtop .relabox.pink {
	background: #ed7c9c;
	margin: 0;	
}
#subtop .relabox.orange {
	background: #f18e1d;
}

#subtop .relabox .photo {
	width: 66%;
	aspect-ratio: 33 / 25;
}


#subtop .relabox .photo img {
	width: 100%;
}

#subtop .relabox.pink .photo {
	float: right;
}


#subtop .relabox .txtbox {
	width: 30%;
	text-align: center;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	color:#fff;
}


#subtop .relabox.green .txtbox,
#subtop .relabox.orange .txtbox {
	right: 2%;
}


#subtop .relabox.pink .txtbox {
	left: 2%;
}


#subtop .relabox .txtbox .s_title {
	border-bottom: 1px solid #fff;
	line-height: 1.0;
	padding: 0 0 20px;
	margin: 0 0 20px;
}

#subtop .relabox .txtbox .s_title span {
	display: block;
	font-size: 1.6em;
	margin: 10px 0 0;
}

#subtop .relabox .txtbox .s_title span.ex {
	margin: 0;
}

#subtop .relabox .txtbox .letxt {
	font-size: 1.1em;
	margin: 0 0 20px;
}

#subtop .relabox .txtbox .bnr {
	margin: 0 0 30px;
}

#subtop .relabox .txtbox .point {
	line-height: 1.0;
	margin: 0 0 15px;
}

#subtop .relabox .txtbox .point span {
	display: inline-block;
	padding: 0 20px;
	font-weight: 500;
	letter-spacing: 0.2em;
	font-size: 1.3em;
	position: relative;
}

#subtop .relabox .txtbox .point span:before {
	width: 10px;
	height: 1px;
	background: #fff;
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
}

#subtop .relabox .txtbox .point span:after {
	width: 10px;
	height: 1px;
	background: #fff;
	content: '';
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
}

#subtop .relabox .txtbox .lstxt {
	text-align: left;
}

#subtop .tebnr {
	text-align: center;
	margin: 100px 0 0;
}


/*-------------------------------------------------------------------
	teacher
-------------------------------------------------------------------*/

#teacher {
	margin: 0 0 60px;
}

#teacher .lists {
	border-top: 1px solid #53488f;
}

#teacher .lists.none {
	border-top: none;
}

#teacher .lists .same,
#teacher .human dt {
	border-bottom: 1px solid #53488f;
	background: #e9e6f3;
	padding: 15px;
	line-height: 1.0;
}


#teacher .view li {
	display: inline-block;
	line-height: 1.0;
	vertical-align: middle;
}

#teacher .view li.cat {
	width: 60px;
	color: #fff;
	text-align: center;
	margin-right: 15px;
	padding: 5px 0;
}

#teacher .view li.cat.long {
	line-height: 1.4;
}


#teacher .view li.name {
	width: 130px;
	font-size: 1.4em;
}


#teacher .view li.cat.perple01 {
	background: #6356a3;
}
#teacher .view li.cat.perple02 {
	background: #a59aca;
}
#teacher .view li.cat.perple03 {
	background: #9aa8d6;
}
#teacher .view li.cat.green {
	background: #9fd2a8;
}
#teacher .view li.cat.gray {
	background: #898989;
}


#teacher .human dt {
	cursor: pointer;
	background: url("../image/subject/teacher/close_icon.png") 99% center no-repeat #e9e6f3;
}

#teacher .human dt.open {
	background: url("../image/subject/teacher/open_icon.png") 99% center no-repeat #e9e6f3;
}

#teacher .human dd {
	display: none;
	background: #f4f3f9;
	border-bottom: 1px solid #53488f;
	padding: 30px;
	font-size: 1.2em;
}

#teacher .human dd a {
	text-decoration: underline;
}

#teacher .human dd a:hover {
	text-decoration: none;
}

#teacher .human dd .dttl {
	line-height: 1.0;
	position: relative;
	border-bottom: 1px solid #53488f;
	margin: 0 0 10px;
	padding: 0 0 15px 20px;
	color: #53488f;
}

#teacher .human dd .dttl:before {
	background: #53488f;
	width: 12px;
	height: 12px;
	content: '';
	position: absolute;
	top:4px;
	left: 0;
}

#teacher .numbers li {
	overflow: hidden;
	zoom:1;
}

#teacher .numbers li .num {
	float: left;
}

#teacher .numbers li .txt {
	margin-left: 20px;
	display: block;
}



/*===============================================
  画面の横幅が1024px以下に適用
===============================================*/
@media screen and (max-width: 1024px){
	
	#container .inner {
		width: 1000px !important;
		margin: 0 auto;
	}
	
}

/*===============================================
  画面の横幅が768px以下に適用
===============================================*/
@media screen and (max-width: 768px){
	
	#container .inner {
		width: 90% !important;
		margin: 0 auto;
	}
	
	
	
	#subtop .relabox .photo {
		width: 100%;
	}

	#subtop .relabox .photo img {
		width: 100%;
	}

	#subtop .relabox.pink .photo {
		float: none;
	}
	
	#teacher .human dt {
		background: url("../image/subject/teacher/close_icon.png") 95% center no-repeat #e9e6f3;
	}

	#teacher .human dt.open {
		background: url("../image/subject/teacher/open_icon.png") 95% center no-repeat #e9e6f3;
	}


	#subtop .relabox .txtbox {
		width: auto;
		position: static;
		transform: none;
		padding: 20px 3%;
	}

	#subtop .tebnr {
		margin: 50px 0 0;
	}
	
	
}

/*===============================================
  画面の横幅が640px以下に適用
===============================================*/
@media screen and (max-width: 640px){
	
	
	#subtop .lead dt {
		color: #53488f;
		font-size: 1.2em;
		margin: 0 0 20px;
	}

	#subtop .lead dd {
		font-size: 1.0em;
	}
	
	/* teacher  */
	#teacher .view li:last-child {
		display: block;
		padding-left: 80px;
		margin: 5px 0 0;
	}
	
	

}

/*===============================================
  画面の横幅が380px以下に適用
===============================================*/
@media screen and (max-width: 380px){
}