@charset "UTF-8";

/*----------------------------------------

	PC閲覧用
	- box1
	
	SP閲覧用
	- box1
	
-----------------------------------------*/

/* ==========================================================
	PC閲覧用 481px以上
========================================================== */
@media print,
screen and (min-width: 481px) {

	/*----------------------------------------
	clearfix
-----------------------------------------*/

	.inner:before,
	.inner:after {
		content: "";
		display: table;
	}

	.inner:after {
		clear: both;
	}

	.inner {
		zoom: 1;
		/*IE7*/
		position: relative;
		/*DW*/
	}

	/*----------------------------------------
	box1
-----------------------------------------*/

	#box1 .inner p {
		width: 430px;
		float: left;
		padding-right: 20px;
	}

	#box1 .inner img {
		width: 250px;
		height: auto;
	}

	#box1 h2+.inner {
		padding-bottom: 20px;
	}

	#box1 .cmnlink {
		margin-top: 20px;
	}

	/*----------------------------------------
	クラス紹介
----------------------------------------*/
	#class_box .blue_box dd ul {
		margin-bottom: 1rem;
	}

	#class_box .blue_box dd li:last-child {
		color: #3eb2d4;
		font-weight: bold;
	}

	#class_box .blue_box dd li:last-child span {
		padding: 0 0.5rem;
	}

	#class_box .blue_box {
		padding: 3px;
		margin-top: 20px;
		background: url(../../img/cmn_main_color02.gif);
		margin-bottom: 20px;
	}

	#class_box .blue_box dl {
		padding: 15px;
		background: #fff;
	}

	#class_box .blue_box dt {
		color: #3eb2d4;
		padding-bottom: 5px;
		margin-bottom: 8px;
		border-bottom: 1px dotted #3eb2d4;
		font-size: 120%;
		font-weight: bold;
	}

	#class_box dd:nth-child(n+2) {
		margin-top: 3px;
	}

	.red {
		color: #cc3333;
	}

	.blue_container {
		display: flex;
		justify-content: space-between;
		flex-direction: row-reverse;
	}

	.blue_container .blue_inner {
		width: 430px;
	}

	.blue_container figure {
		width: 250px;
		padding: 10px;
		background-color: #fff;
	}

	.blue_container figure img {
		width: 100%;
		height: auto;
	}

}

#box4 .inner {
	padding: 10px 0;
	background: url(../img/top_dotline.png) bottom no-repeat;
}

#box4 .boxlink {
	width: 700px;
}

#box4 p {
	float: left;
	width: 50px;
	height: 50px;
}

#box4 dt,
#box4 dd {
	width: 635px;
	float: right;
	font-size: 15px;
	font-size: 1.5rem;
}

#box4 dl {
	width: 635px;
	float: right;
	padding-top: 3px;
}

#box4 dt img {
	vertical-align: middle;
	margin-left: 5px;
}

#box4 dd {
	font-size: 14px;
	font-size: 1.4rem;
}

/* ==========================================================
	SP閲覧用 480px以下
========================================================== */

@media screen and (max-width: 480px) {

	/*----------------------------------------
	 box1
	-----------------------------------------*/

	#box1 img {
		width: 100%;
		height: auto;
		margin-top: 15px;
	}

	#box1 .inner {
		margin-top: 30px;
		margin-bottom: 25px;
	}

	/*----------------------------------------
	クラス紹介
----------------------------------------*/
	#class_box .blue_box dd ul {
		margin-bottom: 1rem;
	}

	#class_box .blue_box dd li:last-child {
		color: #3eb2d4;
		font-weight: bold;
	}

	#class_box .blue_box dd li:last-child span {
		padding: 0 0.5rem;
	}

	#class_box .blue_box {
		padding: 3px;
		margin: 20px 0;
		background: url(../../img/cmn_main_color02.gif);
	}

	#class_box .blue_box dl {
		padding: 15px;
		background: #fff;
	}

	#class_box .blue_box dt {
		color: #3eb2d4;
		padding-bottom: 5px;
		margin-bottom: 8px;
		border-bottom: 1px dotted #3eb2d4;
		font-size: 120%;
		font-weight: bold;
	}

	#class_box .nittei {
		color: #3eb2d4;
	}

	.red {
		color: #cc3333;
	}

	.blue_container figure {
		box-sizing: border-box;
		padding: 10px 2% 15px;
		background-color: #fff;
	}

	.blue_container figure img {
		width: 100%;
		height: auto;
	}

	#box1 .blue_container figure img {
		margin-top: 0;
	}

	/*----------------------------------------
box4
-----------------------------------------*/
	#box4 .inner p img {
		width: 100%;
		height: auto;
	}

	#box4 .boxlink {
		width: 100%;
	}

	#box4 .inner {
		padding: 15px 0;
		min-height: 100px;
		margin-top: 0;
		background: url(../../img/top_dotline.png) bottom no-repeat;
	}

	#box4 .inner p {
		width: 29%;
		height: auto;
		float: left;
	}

	#box4 .inner dl {
		width: 67%;
		float: right;
	}

	#box4 .inner dt,
	#box4 .inner dd {
		width: 100%;
	}

	#box4 .inner dt {
		line-height: 1.5;
	}

	#box4 .inner dt img {
		vertical-align: middle;
		margin-left: 5px;
	}

	#box4 .inner dd {
		line-height: 1.5;
		margin-top: 5px;
	}

}