@charset "utf-8";

/* ---------------------------------------------------------------------- */
/* 980px -> 600 */
@media screen and (max-width:980px){
	img{
		max-width: 100%;
		height: auto;
	}
	
	#header_base,
	#footer_base,
	#contents_base{
		position:relative;
		clear:both;
		width:600px;
		margin:0 auto;
	}

	header{
		margin: 94px 0 210px 0;
	}

	header p{
		width: 34%;
		margin: 0 auto 21px auto;
		text-align: center;
	}
	header h1 {
		width: 50%;
		margin: 0 auto 60px auto;
		text-align: center;
	}
	header h2 {
		margin: 0 0 0 0;
		text-align: center;
	}

	/* footer */
	footer figure{
		width: 600px;
		margin: 0 auto 60px auto;
	}
	#footer_base{
		width: 600px;
	}
	#footer_base h2{
		width: 100px;
	}
	#footer_base .footer_text{
		width: 165px;
	}
	#footer_base .footer_text h3,
	#footer_base .footer_text p{
		font-size: 14px;
	}
	#footer_base .footer_map{
		float: right;
		width: 300px;
	}

	/* home --------------------------------------------- */

	.home_item{
		margin: 0;
		min-height:inherit;
	}
	.home_item_text{
		width: 600px;
		min-height:inherit;
	}
	.home_item_text h3{
		margin-left: 0;
		line-height: 1.8em;
	}
	.home_item_text p{
		position: static;
		left: 0;
		margin: 0 0 1em 0;
		font-size: 16px;
	}
	#itemg3 .home_item_text p{
		margin: 0;
	}
	.home_item figure{
		margin-bottom: 60px;
	}
	
}


/* ---------------------------------------------------------------------- */
/* 620px -> 100% */
@media screen and (max-width:620px){
	.pcv{
		display: none;
	}
	.spv{
		display: block;
	}
	
	#header_base,
	#footer_base,
	#contents_base{
		width:90%;
		padding: 0 5%;
	}
	
	
	header{
		margin: 60px 0 120px 0;
	}

	header p{
		width: 34%;
		margin: 0 auto 21px auto;
		text-align: center;
	}
	header h1 {
		width: 50%;
		margin: 0 auto 60px auto;
		text-align: center;
	}
	header h2 {
		width: 100%;
	}
	
	/* footer */
	footer
	#footer_base{
		box-sizing: border-box;
	}
	footer figure{
		width: 100%;
		margin: 0 auto 30px auto;
	}
	#footer_base{
		width: 100%;
	}
	#footer_base h2{
		width: 100px;
		text-align: center;
		float: none;
		margin: 0 auto;
	}
	#footer_base .footer_text{
		width: 100%;
		text-align: center;
		float: none;
	}
	#footer_base .footer_text h3,
	#footer_base .footer_text p{
		font-size: 14px;
	}
	#footer_base .footer_map{
		float: none;
		text-align: center;
		margin: 0 auto 30px auto;
		width: 90%;
	}
	
	
	/* home --------------------------------------------- */
	#home #contents_base h2{
		width: 80%;
	}
	.home_item{
		margin: 0;
		min-height:inherit;
	}
	.home_item_text{
		width: 100%;
		min-height:inherit;
	}
	.home_item_text h3{
		font-size: 14px;
	}
	.home_item_text p{
		font-size: 14px;
	}
	#itemg3 .home_item_text p{
		margin: 0;
	}
	.home_item figure{
		margin-bottom: 60px;
		width: 100%;
	}
}
