
/*
MAIN image
----------------------------------------------------------------------------------------------------*/
#main_image {
	z-index: 1;
	width : 100%; /* 画像の枠をさらに上位の枠の80%の横幅にする */
	height: auto;
	margin-top: 0px;
	clear: both;
	text-align: center;
	background-image: url(../img/top/top_bg.gif);
	background-repeat: repeat-x;
	overflow-y: auto;

}

#main_image img {
width : 100%;
max-width:1000px;
height: auto; 

}
#main_sp {	
	display:none;
}


#main_sp img {
	width : 1000px; /* 画像を枠の100%の横幅にする */
	height: auto; /* 高さは自動で設定する */
}

@media only screen and (max-width: 768px) {
#main_image {
	z-index:1;
	width : 100%;
	text-align: center;
	display:none;
	}
#main_image img {
width : 100%; /* 画像を枠の100%の横幅にする */
height: auto; /* 高さは自動で設定する */
display:block;
}
#main_image p{
	text-align: center;
	width: 1000px;
	margin-left: auto;
	margin-right: auto;
}
#main_sp {
	width : 100%;
	max-width : 950px; /* サイズの上限を設定する */
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 30px;
	display: block;
	
}
#main_sp img {
	width : 100%; /* 画像を枠の100%の横幅にする */
	height: auto; /* 高さは自動で設定する */
}

}
/*
sub image
----------------------------------------------------------------------------------------------------*/

.sub_image {
	width : 100%; /* 画像の枠をさらに上位の枠の80%の横幅にする */
	
	height:100%;
	margin-top: 0px;
	margin-right: auto;
	margin-left: auto;


}

.sub_image img {
width : 100%; /* 画像を枠の100%の横幅にする */
height: auto; /* 高さは自動で設定する */

}
@media only screen and (min-width: 768px) {
.sub_image {
	max-width:1500px;

	}

}
/*
section
----------------------------------------------------------------------------------------------------*/
.section {
	width : 90%; /* 画像の枠をさらに上位の枠の80%の横幅にする */
	max-width:1200px;
	margin-right: auto;
	margin-left: auto; /* 上下のマージンをゼロに、左右のマージンを自動に */
	clear: both;
	padding-top: 0px;
}


@media only screen and (min-width: 479px) {
.section {
	width : 100%; /* 画像の枠をさらに上位の枠の80%の横幅にする */
	margin-right: auto;
	margin-left: auto; /* 上下のマージンをゼロに、左右のマージンを自動に */
	clear: both;
	padding-top: 0px;
	text-align: center;
}

}

h2{
	margin-top: 0px;
	text-align: center;
	color: #000000;
	font-weight: bold;
	font-size: 130%;
	border-bottom: 3px dotted #000000;
	display: inline-block;
	margin-bottom: 30px;
	padding-bottom: 25px;
	}
	


.str{
	color: #ffff00;
	text-shadow: black 0px 0px 0px 4px;
	font-size: 280%;
	}
h3{
	clear: both;
	text-align:center;
	font-size: 140%;
	padding-left: 0px;
	line-height: 30px;
	}
h4{
	clear: both;
	display: inline-block;
	font-size: 120%;
	padding-left: 0px;
	line-height: 15px;
	margin-bottom: 15px;
	font-weight: bold;
	}
@media only screen and (min-width: 479px) {
		
	h2{
	margin-top: 30px;
	text-align: center;
	font-size: 130%;
	padding-bottom: 0px;
	}
	
			}
	
@media only screen and (min-width: 768px) {
		
	h2{
	margin-top: 30px;
	text-align: center;
	font-size: 170%;
	padding-bottom: 0px;
	}
	
			}
	
	

/*
box 2カラム
----------------------------------------------------------------------------------------------------*/

.box_left {
	width : 100%;
	margin-right: 0px;
	float: left;
	position: relative;
	margin-bottom: 30px;
}

.box_left img,.box_right img{
width : 100%; /* 画像を枠の100%の横幅にする */
height: auto; /* 高さは自動で設定する */
}
.box_right {
	width : 100%; /* 画像の枠をさらに上位の枠の80%の横幅にする */
	float: left;
	margin-left: 0px;
	position: relative;
}



@media only screen and (min-width: 768px) {
.box_left {
	width : 47%; /* 画像の枠をさらに上位の枠の80%の横幅にする */
	float: left;
	margin-right: 3%;
}
.box_right {
	width : 47%; /* 画像の枠をさらに上位の枠の80%の横幅にする */
	float: left;
	margin-left: 3%;
	
}
.box_left img,.box_right img{
width : 100%; /* 画像を枠の100%の横幅にする */
height: auto; /* 高さは自動で設定する */

}

}

.iframe-content {
  position: relative;
  width: 100%;
  padding: 75% 0 0 0;
}
.iframe-content iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*
box2
----------------------------------------------------------------------------------------------------*/

.box2 {
	width : 46%;	
	margin-top: 20px;
	margin-left: 2%;
	margin-right: 2%;
	margin-bottom:20px;
	float: left;
	position: relative;
}

.box2 img,.box2_last img{
width : 100%; /* 画像を枠の100%の横幅にする */
height: auto; /* 高さは自動で設定する */
}
.box2_last {
	width : 46%;	
	margin-top: 20px;
	margin-right: 2%;
	float: left;
	margin-left: 0px;
	position: relative;
}
.text {
	width : 100%;
	position: absolute;
	font-family: 'Droid Sans', sans-serif;
	text-align:center;
	top: 45%;
	left: 0;
	color: #FFF;
	font-size: 200%;
	
}
.text2 {
	width : 100%;
	position: absolute;
	font-family: 'Droid Sans', sans-serif;
	text-align:center;
	top: 35%;
	left: 0;
	color: #FFF;
	font-size: 200%;
	
}


@media only screen and (min-width: 768px) {
.box2 {
	width : 23%; /* 画像の枠をさらに上位の枠の80%の横幅にする */
	float: left;
	margin-top: 40px;
	margin-left: 0%;
	margin-right: 2%;
	margin-bottom:120px;
}
.box2_last {
	margin-top: 40px;
	width : 23%; /* 画像の枠をさらに上位の枠の80%の横幅にする */
	margin-left: 0%;
	margin-right: 0%;
	float: left;
	
}
.box2 img,.box2_last img{
width : 100%; /* 画像を枠の100%の横幅にする */
height: auto; /* 高さは自動で設定する */
}
.text {	
	font-size: 150%;
 
}
.text2 {	
	font-size: 150%;
 
}
}

/*
box4　3カラム
----------------------------------------------------------------------------------------------------*/

.box4{
	width : 98%; /* 画像の枠をさらに上位の枠の80%の横幅にする */
	margin-right: 1%;
	margin-left: 1%;
	float: left;
	margin-top: 30px;
	font-size: 100%;
	padding-bottom: 30px;
		
}
.box4  h3{
	font-size: 130%;
	text-align: center;
	margin-top: 30px;
	margin-bottom: 20px;
	font-weight: bold;
	color: #000000;
}
.line_y{
	border-bottom: 7px solid #ffff00;
	}
.box4  p{
	font-size: 100%;
	margin-bottom: 20px;
	margin-left: 20px;
	margin-right: 15px;
}
.box4 .b4_text{
	height: 60px;
	margin-left: 30px;
	margin-right: 30px;
	color: #000000;
	line-height: 25px;
	}
.box4 img{
width : 100%; /* 画像を枠の100%の横幅にする */
max-width:350px;
height: auto; /* 高さは自動で設定する */
}

@media only screen and (min-width: 479px) {
.box4{
	width : 98%; /* 画像の枠をさらに上位の枠の80%の横幅にする */
	margin-right: 1%;
	margin-left: 1%;
	float: left;
	margin-top: 30px;
	font-size: 100%;
	padding-bottom: 30px;
		
}
.box4 .b4_text{
	height: 40px;
	margin-left: 30px;
	margin-right: 30px;
	color: #000000;
	
	}
	
}
.box4 a{
	  color: #1776C9;
	
	}
.box4 a:hover {
	color: #1d9bff;
}
@media only screen and (min-width: 768px) {
.box4{
	width : 29%; /* 画像の枠をさらに上位の枠の80%の横幅にする */
	margin-right: 2%;
	margin-left: 2%;
	margin-bottom: 60px; /* 上下のマージンをゼロに、左右のマージンを自動に */
	float: left;
	padding-bottom: 30px;
		
}
.box4 img{
width : 100%; /* 画像を枠の100%の横幅にする */
height: auto; /* 高さは自動で設定する */
}

}


/*
text_box
----------------------------------------------------------------------------------------------------*/

.text_box {
	width : 80%;	
	margin-top: 50px;
	margin-left: 10%;
	margin-right: 10%;
	margin-bottom:20px;
	
}
.text_adjust{
	margin-left:0%;
	}
@media only screen and (min-width: 768px) {
	.text_adjust{
	margin-left:12%;
	}	
	}
	
/*
top_list
----------------------------------------------------------------------------------------------------*/
.menu_area {
	width: 100%;
	padding-top: 10px;
	}

.menu_area ul{
	width: 92%;
	margin: 0 auto;
	height: 150px;
	}
.section ul li{
	font-weight: bold;
	text-align: center;
	}
.section ul li a{
	float: left;
	width: 46%;
	padding-top: 5px;
	padding-bottom: 5px;
	margin-left: 2%;
	margin-right: 2%;
	margin-bottom: 10px;
	color: #FFF;
	background-color: #339FD1;
	border-radius: 5px;
	font-weight: normal;
	box-shadow: 0 3px 0 #007EAD;
	
	}
	
	.section ul li a:hover{
	color: #FFF;
	background-color: #007EAD;
	box-shadow: 0 3px 0 #005D9E;
		
	}
	.tap{
		background-color: #339FD1;
		}
@media only screen and (max-width: 868px) {
	.section ul li a{
	float: left;
	width: 96%;
	padding-top: 5px;
	padding-bottom: 5px;
	margin-left: 2%;
	margin-right: 2%;
	margin-bottom: 10px;
	color: #fff;
	background-color: #339FD1;


	}
	.menu_area ul{
	width: 92%;
	margin: 0 auto;
	height: 250px;
	}
	}
	@media only screen and (max-width: 768px) {
	.section ul li a{
	float: left;
	width: 46%;
	padding-top: 8px;
	padding-bottom: 8px;
	margin-left: 2%;
	margin-right: 2%;
	margin-bottom: 10px;
	color: #fff;
	background-color: #339FD1;
	}
	.menu_area ul{
	width: 92%;
	margin: 0 auto;
	height: 150px;
	}
		
	}
	
	/*
box 2カラム
----------------------------------------------------------------------------------------------------*/
.box2_wrap{
	width : 90%;
	max-width: 1000px;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 60px;
	clear: both;
	}
.box_left2 {
	width : 45%; /* 画像の枠をさらに上位の枠の80%の横幅にする */
	float: left;
	margin-right: 5%;
	margin-left: 0%;
	margin-top: 20px;
	margin-bottom: 30px;
}
.box2_wrap h3{
	margin-top: 50px;
	text-align: center;
	color: #000000;
	font-weight: bold;
	font-size: 150%;
	border-bottom: 3px dotted #000000;
	display: inline-block;
	margin-bottom: 30px;
	padding-bottom: 10px;
	}

.box_left2 img,.box_right2 img{
width : 100%; /* 画像を枠の100%の横幅にする */
max-width:350px;
height: auto; /* 高さは自動で設定する */
}
.box_right2 {
	width : 45%; /* 画像の枠をさらに上位の枠の80%の横幅にする */
	float: left;
	margin-right: 0%;
	margin-left: 5%;
	margin-top: 20px;
	margin-bottom: 30px;
}

.box2 img{
width : 100%; /* 画像を枠の100%の横幅にする */

height: auto; /* 高さは自動で設定する */
}

.box_left2 h4,.box_right2 h4{
	font-size: 130%;
	text-align: center;
	margin-top: 30px;
	margin-bottom: 20px;
	font-weight: bold;
	color: #000000;
}


@media only screen and (max-width: 768px) {
.box2_wrap{
	width : 100%;
	max-width: 1000px;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 60px;
	}
.box_left2 {
	width : 90%; 
	float: none;
	margin-right: 5%;
	margin-left: 5%;
}
.box_right2 {
	width : 90%;
	float: none;
	argin-right: 5%;
	margin-left: 5%;
}
.box_left2 img,.box_right2 img{
width : 100%; /* 画像を枠の100%の横幅にする */
max-width:400px;
height: auto; /* 高さは自動で設定する */

}

}
