
body
{
	padding-top: 0px;
}


#base
{
	background-image: url(../images/eyecatch_01.png);
	background-repeat: no-repeat;
	background-position: center top;
	padding-top: 30px;
}

#contents 
{
	padding-top: 0px;
	padding-bottom: 0px;
}

#contents h2
{
	padding: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 1em;
	margin-left: 0px;
	box-shadow: 0px 0px 0px -2px #333;
	-moz-box-shadow: 0px 0px 0px -2px #333;
	-webkit-box-shadow: 0px 0px 0px -2px #333;
}

#contents .eyecatch
{
	text-align: right;
	margin-bottom: 40px;
	padding-top: 30px;
	padding-right: 40px;
}

#contents .service_box
{
	border-radius: 6px;        /* CSS3草案 */
	-webkit-border-radius: 6px;    /* Safari,Google Chrome用 */
	-moz-border-radius: 6px;   /* Firefox用 */
	box-shadow: 0px 0px 6px -2px #333;
	-moz-box-shadow: 0px 0px 6px -2px #333;
	-webkit-box-shadow: 0px 0px 6px -2px #333;
	background-color: #339933;
	border-top-width: 5px;
	border-top-style: solid;
	border-top-color: #72a767;
	text-align: center;
	margin-bottom: 30px;

}

#contents .service_box h2
{
	padding-top: 0px;
	text-align: center;
	box-shadow: 0px 0px 0px -2px #333;
	-moz-box-shadow: 0px 0px 0px -2px #333;
	-webkit-box-shadow: 0px 0px 0px -2px #333;
	margin: 0px;
	padding-bottom: 0px;
}

#contents .icon_box
{
	display: box;
	padding: 20px;

}

#contents .icon_box ul
{
	display: grid;
	grid-template-columns: repeat(5, 1fr); /* 4列 */
	column-gap: 10px; /* 横のスペース */
	row-gap: 20px; /* 縦のスペース */
	align-items: stretch; /* 子要素をセルの高さに合わせて引き伸ばす */
	margin: 0px;
	padding: 0px;

}

#contents .icon_box li
{
	margin: 0px;
	padding: 0px;
	list-style-type: none;

}

#contents .icon_box li img
{
	box-shadow: 0px 0px 8px -2px #333;
	-moz-box-shadow: 0px 0px 8px -2px #333;
	-webkit-box-shadow: 0px 0px 8px -2px #333;
	transition-duration: 0.6s;
	transform:scale(1,1);
	width:auto;
	height:auto;
}

#contents .icon_box li a:hover img
{
	-moz-transition-duration: 0.6s;
	-webkit-transition-duration: 0.6s;
	-o-transition-duration: 0.6s;
	-ms-transition-duration: 0.6s;
	transition-duration: 0.6s;
	transform:scale(1.04,1.04);
}




#contents .msg_box
{
	margin-bottom: 50px;
	position: relative;
}

#contents .msg_box .msg_photo
{
	position: absolute;
	top: 0px;
	right: 0px;
}

#contents .msg_box h3
{
	font-size: 26px;
	line-height: normal;
	font-weight: normal;
	padding: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 1em;
	margin-left: 0px;
}


#contents .guidance_box
{
	background-color: #eee;
	padding: 7px;
	border: 1px solid #eee;
	box-shadow: 0px 0px 6px -2px #333;
	-moz-box-shadow: 0px 0px 6px -2px #333;
	-webkit-box-shadow: 0px 0px 6px -2px #333;
	margin-bottom: 30px;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;

}

#contents .guidance_body
{
	background-color: #FFF;
	padding: 5px;

}

#contents .guidance_body ul
{
	display: grid;
	grid-template-columns: repeat(2, 1fr); /* 4列 */
	column-gap: 10px; /* 横のスペース */
	row-gap: 10px; /* 縦のスペース */
	align-items: stretch; /* 子要素をセルの高さに合わせて引き伸ばす */
	margin: 0px;
	padding: 0px;

}

#contents .guidance_body ul li
{
	margin: 0px;
	padding: 15px;
	list-style-type: none;

}


#contents .guidance_body ul li h4
{
	background-image: url(../images/h4_guidance_bg.gif);
	background-repeat: no-repeat;
	background-position: left center;
	font-size: 14px;
	line-height: 36px;
	height: 36px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 1em;
	margin-left: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 20px;
	background-color: #eee;
	_zoom:1;
	overflow:hidden;
}

#contents .guidance_body ul li p
{
	_zoom:1;
	overflow:hidden;
}


#contents .guidance_photo
{
	float: left;
	padding-right: 15px;
}





#contents .news_box
{
	margin-bottom: 40px;
}

#contents .news_box h2
{
	background-image: url(../images/bg_news_h2.png);
	background-repeat: no-repeat;
	background-position: center bottom;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 1em;
	margin-left: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 14px;
	padding-left: 0px;
}

#contents .news_box h2 span
{
	float: right;
}

#contents .news_box table
{
	width: 90%;
	margin-right: auto;
	margin-left: auto;
}

#contents .news_box table th
{
	font-weight: normal;
	width: 100px;
	padding-top: 10px;
	padding-right: 0px;
	padding-bottom: 10px;
	padding-left: 20px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #ddd;
}

#contents .news_box table td
{
	font-weight: normal;
	padding-top: 10px;
	padding-right: 0px;
	padding-bottom: 10px;
	padding-left: 0px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #ddd;
}

#contents .news_box table td a
{
	color: 333#;
}



#contents .under_menu
{
	margin-bottom: 60px;
}

#contents .under_menu ul
{
	display: grid;
	grid-template-columns: repeat(4, auto); /* 4列 */
	justify-content: space-between; /* 両端揃え */
	column-gap: 0px; /* 横のスペース */
	row-gap: 20px; /* 縦のスペース */
	align-items: stretch; /* 子要素をセルの高さに合わせて引き伸ばす */
	margin: 0px;
	padding: 0px;
}

#contents .under_menu ul li
{
	margin: 0px;
	padding: 0px;
	list-style-type: none;
}

#contents .under_menu ul li a img
{
	transition-duration: 0.6s;
	transform:scale(1,1);
	width:auto;
	height:auto;
}

#contents .under_menu ul li a:hover img
{
	-moz-transition-duration: 0.6s;
	-webkit-transition-duration: 0.6s;
	-o-transition-duration: 0.6s;
	-ms-transition-duration: 0.6s;
	transition-duration: 0.6s;
	transform:scale(1.04,1.04);
}

/* PCのみ設定  768 以上*/
@media screen and (min-width:768px)
{



}

@media (min-width: 1920px) 
{
}


@media (max-width: 1000px) 
{

#contents .msg_box .text
{
	width: auto;
}

#contents .msg_box h3
{
	text-align: center;
}


#contents .msg_box .msg_photo
{
	position: relative;
	text-align: center;
	margin-bottom: 20px;
}

#contents .msg_box .msg_photo img
{
	width:auto;
	height:auto;
}


#contents .guidance_body ul
{
	display: grid;
	grid-template-columns: repeat(1, 1fr); /* 4列 */
	column-gap: 0px; /* 横のスペース */
	row-gap: 10px; /* 縦のスペース */
	align-items: stretch; /* 子要素をセルの高さに合わせて引き伸ばす */
	margin: 0px;
	padding: 0px;

}

#contents .news_box table
{
	width: 100%;
}




}





/* タブレットレイアウト : 768 px 〜 959 px */
@media screen and (min-width:768px) and (max-width:999px)
{

#contents .eyecatch
{
	text-align: right;
	margin-bottom: 40px;
	padding-top: 30px;
	padding-right: 10px;
}

#contents .under_menu ul
{
	display: grid;
	grid-template-columns: repeat(4, 1fr); /* 4列 */
	column-gap: 10px; /* 横のスペース */
	row-gap: 20px; /* 縦のスペース */
	align-items: stretch; /* 子要素をセルの高さに合わせて引き伸ばす */
	margin: 0px;
	padding: 0px;
}


}




/* スマホ設定  767 以下*/
@media screen and (max-width:767px)
{

#contents .eyecatch
{
	text-align: right;
	margin-bottom: 40px;
	padding-top: 60px;
	padding-right: 0px;
}

#contents .under_menu ul
{
	display: grid;
	grid-template-columns: repeat(4, 1fr); /* 4列 */
	column-gap: 10px; /* 横のスペース */
	row-gap: 20px; /* 縦のスペース */
	align-items: stretch; /* 子要素をセルの高さに合わせて引き伸ばす */
	margin: 0px;
	padding: 0px;
}


}

/* スマホ設定  599 以下*/
@media screen and (max-width:599px)
{
#contents .eyecatch
{
	text-align: center;
}

#contents .icon_box ul
{
	display: grid;
	grid-template-columns: repeat(2, 1fr); /* 4列 */
	column-gap: 10px; /* 横のスペース */
	row-gap: 10px; /* 縦のスペース */
	align-items: stretch; /* 子要素をセルの高さに合わせて引き伸ばす */
	margin: 0px;
	padding: 0px;

}

#contents .msg_box h3
{
	text-align: justify;
}

#contents .guidance_photo
{
	float: none;
	padding-right: 0px;
	text-align: center;
}

#contents .guidance_photo img
{
	width: 90%;
}

#contents .news_box table th
{
	display: block;
	width: auto;
	font-weight: normal;
	padding-bottom: 0px;
	padding-left: 0px;
	border-bottom-style: none;
}

#contents .news_box table td
{
	display: block;
	padding-top: 8px;
}

#contents .under_menu ul
{
	display: grid;
	grid-template-columns: repeat(2, 1fr); /* 4列 */
	column-gap: 10px; /* 横のスペース */
	row-gap: 10px; /* 縦のスペース */
	align-items: stretch; /* 子要素をセルの高さに合わせて引き伸ばす */
	margin: 0px;
	padding: 0px;
}



}
