@charset "utf-8";
@import"/common/css/base.css";
@import"/common/css/contents.css";

/* override
--------------------------------------------------------------------- */
#main div.section .section {
	padding: 0;
}
#main .con_h4 {
	margin-top: 30px;
	clear: both;
}

#main p {
	margin-bottom: 20px;
}
.yellowbox,
.dashedbox {
	margin-bottom: 15px;
	padding: 20px;
}
@media (max-width: 480px) {
	.yellowbox,
	.dashedbox {
		padding: 15px;
	}
}

#main .dashedbox p {
	margin-bottom: 0;
}

/* common
--------------------------------------------------------------------- */
.section {
	margin-bottom: 40px;
}


/*--- イメージ写真 ---*/
.image_pht {
	width: 300px;
}

@media (max-width: 480px) {
	#main .pht_right {
		float: none;
		margin: 0 0 15px 0;
	}
	.image_pht {
		width: 100%;
	}
}

/*--- 黒四角付きリスト ---*/
.square {
}
.square li {
	margin-left: 2em;
	margin-bottom: 0.5em;
}
.square li:last-child {
	margin-bottom: 0;
}
.square li:before {
	display: inline-block;
	content: "";
	width: 0.9em;
	height: 0.9em;
	margin: -0.2em 0.5em 0 -2em;
	text-align: center;
	vertical-align: middle;
	background-color: #555;
}

/*--- 丸付きリスト ---*/
.circle {
}
.circle li {
	margin-left: 2em;
	margin-bottom: 0.5em;
}
.circle li:last-child {
	margin-bottom: 0;
}
.circle li:before {
	display: inline-block;
	content: "";
	width: 0.9em;
	height: 0.9em;
	margin: -0.2em 0.5em 0 -2em;
	text-align: center;
	vertical-align: middle;
	border-radius: 50%;
	border: 1px solid #555;
}

/*--- 丸数字付きリスト ---*/
.marutsuki {
	counter-reset: marutsuki-counter;
}
.marutsuki li {
	margin-left: 2em;
	margin-bottom: 0.5em;
	position: relative;
}
.marutsuki li:last-child {
	margin-bottom: 0;
}
.marutsuki li:before {
	display: inline-block;
	content: counter(marutsuki-counter);
	counter-increment: marutsuki-counter;
	width: 1.1em;
	height: 1.1em;
	margin: -0.2em 0.5em 0 -2em;
	font-size: 90%;
	color: #555;
	line-height: 1.1em;
	text-align: center;
	vertical-align: middle;
	border-radius: 50%;
	border: 1px solid #555;
}


/* タイトル＆リード文
--------------------------------------------------------------------- */
.read {
	margin-bottom: 25px;
	background: url("../images/read_bg.png") no-repeat right top,
	            linear-gradient(90deg, rgba(250, 237, 216, 1) , rgba(255, 255, 255, 1));
	width: 960px;
	height: 130px;
	border: 1px solid #0c357f;
	position: relative;
}
.read .read_ttl {
	position: absolute;
	top: 42px;
	left: 42px;
	color: #0c357f;
	font-size: 42px;
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "ＭＳ Ｐ明朝", "MS PMincho", serif;
	line-height: 1.0;
	letter-spacing: 0.05em;
	text-shadow: 0 0 20px #fff,
	             0 0 3px #fff;
}

@media screen and (max-width:768px){
	.read {
		width: 100%;
		height: auto;
		background-size: contain;
	}

	#main .read .read_ttl {
		box-sizing: border-box;
		position: static;
		margin-bottom: 0;
		padding: 30px;
		font-size: 4.8vw;
		letter-spacing: 0;
	}
}

@media screen and (max-width:480px){
	#main .read .read_ttl {
		padding: 15px;
		font-size: 7vw;
		line-height: 1.4;
	}
}

/* 枠付き
--------------------------------------------------------------------- */
.waku {
	margin-bottom: 30px;
	border: 1px solid #0c357f;
}

.waku h5 {
	padding: 6px;
	color: #fff;
	font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size: 120%;
	font-weight: normal;
	text-align: center;
	background-color: #0c357f;
}

/* 四谷学院の四技能対策 */
.waku ul {
	padding: 20px 30px 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.waku ul > li {
	clear: both;
	margin-bottom: 20px;
	width: 48%;
}
.waku ul > li h6 {
	padding-top: 15px;
	width: 85px;
	font-size: 100%;
	float: left;
}

.waku ul > li ol {
	display: flex;
}
.waku ul > li ol li {
	box-sizing: border-box;
	margin-right: 25px;
	padding-top: 15px;
	width: 25%;
	height: 50px;
	color: #fff;
	vertical-align: middle;
	text-align: center;
	position: relative;
}
.waku ul > li ol li.yotsuya_class { background-color: #a6a0c5; }
.waku ul > li ol li.yotsuya_55 { background-color: #5f629b; }
.waku ul > li ol li.yotsuya_enshu { background-color: #0c357f; }

.waku ul > li ol li:after{
	position: absolute;
	content: "";
	top: 0;
	right: -45px;
	box-sizing: border-box;
	border: 25px solid transparent;
	border-left: 20px solid #a6a0c5;
}
.waku ul > li ol li.yotsuya_class:after { border-left-color: #a6a0c5; }
.waku ul > li ol li.yotsuya_55:after { border-left-color: #5f629b; }
.waku ul > li ol li.yotsuya_enshu:after { border-left-color: #0c357f; }

@media screen and (max-width:768px){
	.waku ul {
		padding: 20px 20px 0;
	}
	.waku ul > li ol li {
		width: 23%;
	}
}
@media screen and (max-width:680px){
	.waku ul > li h6 {
		margin-bottom: 0.2em;
		padding-top: 0;
		width: auto;
		float: none;
	}
	.waku ul > li h6:before {
		content: "■ ";
	}
}
@media screen and (max-width:550px){
	.waku ul {
		padding: 15px 15px 0;
		display: block;
	}
	.waku ul > li {
		width: 100%;
	}
	.waku ul > li ol li {
		width: 28%;
	}
}


/* 民間の英語検定試験対策について */
.waku p {
	padding: 20px 30px 0;
}
@media screen and (max-width:768px){
	.waku p {
		padding: 20px 20px 0;
	}
}
@media screen and (max-width:480px){
	.waku p {
		padding: 15px 15px 0;
	}
}


/* etc
--------------------------------------------------------------------- */
.for_pc { display: block; }
.for_sp { display: none; }
@media (max-width: 480px) {
	.for_pc { display: none; }
	.for_sp { display: block; }
}

/* contents_list
--------------------------------------------------------------------- */
.contents_list {
	width: 100%;
	margin: auto;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.contents_list li {
	width: 47%;
	font-size: 14px;
	line-height: 150%;
	margin-bottom: 20px;
}
.contents_list li:nth-last-child(2) {
	margin-bottom: 0;
}
.contents_list li p {
	margin-top: 10px;
}
@media (max-width: 500px) {
	.contents_list {
		display: block;
		padding: 0;
	}
	.contents_list li {
		width: 100%;
		margin-bottom: 30px;
	}
}




/* kyotsu_test
--------------------------------------------------------------------- */

.kyotsu_test ul {
	padding-bottom: 30px;
	display: block;
}

.kyotsu_test li {
	width: 26%;
	float: left;
	margin-right: 4%;
}


.kyotsu_test li a {
	display: inline-block;
/*	display: flex;
	align-items: center;
	justify-content: center;*/
	width: 100%;
	min-height: 50px;
	padding-top: 20px;
	padding-right: 0.6em;
	color: #333;
	font-size: 1.3rem;
	font-weight: bold;
	text-decoration: none;
	text-align: center;
	line-height: 1.2;
	background-color: #fff;
	border-width: 2px;
	border-style: solid;
	border-radius: 5px;
	position: relative;
	transition: all 0.15s ease-out;
}

.kyotsu_test li a::after {
	position: absolute;
	content: "";
	vertical-align: middle;
	top: 0;
	bottom: 0;
	margin: auto;
	right: 14px;
	width: 8px;
	height: 8px;
	border-top: 2px solid #555;
	border-right: 2px solid #555;
	transform: rotate(45deg);
}
.kyotsu_test li.kamoku_chiri a { border-color: #ec85b9; }
.kyotsu_test li.kamoku_chiri a:hover {
	color: #ec85b9;
}
.kyotsu_test li.kamoku_chiri a::after {
	border-top-color: #ec85b9;
	border-right-color: #ec85b9;
}


.kyotsu_test li.kamoku_koumin a { border-color: #62b0d5; }
.kyotsu_test li.kamoku_koumin a:hover {
	color: #62b0d5;
}
.kyotsu_test li.kamoku_koumin a::after {
	border-top-color: #62b0d5;
	border-right-color: #62b0d5;
}

.kyotsu_test li.kamoku_japanese a { border-color: #FF7373; }
.kyotsu_test li.kamoku_japanese a:hover {
	color: #FF7373;
}
.kyotsu_test li.kamoku_japanese a::after {
	border-top-color: #FF7373;
	border-right-color: #FF7373;
}


.kyotsu_test li.kamoku_english a { border-color: #FFFF73; }
.kyotsu_test li.kamoku_english a:hover {
	color: #FFFF73;
}
.kyotsu_test li.kamoku_english a::after {
	border-top-color: #FFFF73;
	border-right-color: #FFFF73;
}


.kyotsu_test li.kamoku_science a { border-color: #96FF73; }
.kyotsu_test li.kamoku_science a:hover {
	color: #96FF73;
}
.kyotsu_test li.kamoku_science a::after {
	border-top-color: #96FF73;
	border-right-color: #96FF73;
}



.kyotsu_test li.kamoku_math a { border-color: #99B3FF; }
.kyotsu_test li.kamoku_math a:hover {
	color: #99B3FF;
}
.kyotsu_test li.kamoku_math a::after {
	border-top-color: #99B3FF;
	border-right-color: #99B3FF;
}


.kyotsu_test li.souhyo a { border-color: #CCC; }
.kyotsu_test li.souhyo a:hover {
	color: #CCC;
}
.kyotsu_test li.souhyo a::after {
	border-top-color: #CCC;
	border-right-color: #CCC;
}
