/* CSS Document */
article #h1_area .body
{
	background-image: url(images/h1_bg.jpg);
}

#main h3
{
	margin: 0px;
	padding-top: 1px;
	padding-right: 0px;
	padding-bottom: 1px;
	padding-left: 0px;
}

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

#main ul li
{
	border-top-width: 5px;
	border-top-style: solid;
	border-top-color: #339933;
	float: left;
	width: 360px;
	clear: both;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-right-color: #f2f2f2;
	border-bottom-color: #f2f2f2;
	border-left-color: #f2f2f2;
	margin: 0px;
	padding: 0px;
	list-style-type: none;
}

#main ul li a img
{
	transition-duration: 0.6s;
	transform:scale(1,1);
}

#main 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);
}


#main .sub_box
{
	color: #FFF;
	background-color: #339933;
	padding: 10px;
	border-bottom-width: 5px;
	border-bottom-style: solid;
	border-bottom-color: #46773c;
	min-height: 5em;
}

#main .sub_box p
{
	margin: 0px;
}


#main .pad_box
{
	padding-top: 20px;
	padding-right: 15px;
	padding-bottom: 20px;
	padding-left: 15px;
}


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


}

@media (max-width: 1000px) 
{

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


#main ul li
{
	width: auto;
}

}

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



}

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


}

/* スマホ設定  599 以下*/
@media screen and (max-width:599px)
{
#main ul
{
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	column-gap: 0px; /* 横のスペース */
	row-gap: 40px; /* 縦のスペース */
	align-items: stretch; /* 子要素をセルの高さに合わせて引き伸ばす */
	margin: 0px;
	padding: 0px;
}

#main ul li
{
	width: auto;
}


}