/* CSS Document */

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


article h3
{
	background-image: url(../images/bg_h3.gif);
	background-repeat: no-repeat;
	background-position: left top;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #ccc;
	padding: 1em;
	font-size: 18px;
	line-height: 100%;
	font-weight: bold;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 1em;
	margin-left: 0px;
}

article h4
{
	font-size: 14px;
	line-height: 36px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 2em;
	margin-left: 0px;
	background-color: #eee;
	font-weight: bold;
	height: 36px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 1.4em;
	background-image: url(../images/bg_h4.gif);
	background-repeat: no-repeat;
	background-position: left center;
}

article
{
	clear: none;
	float: none;
	width: auto;
}

article .comment_box ul 
{
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 余白を防ぐ */
    column-gap: calc(80px / 3); 
    row-gap: 20px; /* 縦のスペース */
    align-items: stretch; /* 子要素をセルの高さに合わせて引き伸ばす */
    margin: 0px;
    padding: 0px;
}

article .comment_box ul li
{
	margin: 0px;
	padding: 0px;
	list-style-type: none;
}

article .comment_box ul li img
{
	width:auto;
	height:auto;
}

article .comment_box ul li p
{
	padding-top: 0.4em;
}





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


}

@media (max-width: 1000px) 
{

article .comment_box ul 
{
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 余白を防ぐ */
    column-gap: 20px; 
    row-gap: 20px; /* 縦のスペース */
    align-items: stretch; /* 子要素をセルの高さに合わせて引き伸ばす */
    margin: 0px;
    padding: 0px;
}



}

/* タブレットレイアウト : 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)
{
article .comment_box ul 
{
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 余白を防ぐ */
    column-gap: 20px; 
    row-gap: 10px; /* 縦のスペース */
    align-items: stretch; /* 子要素をセルの高さに合わせて引き伸ばす */
    margin: 0px;
    padding: 0px;
}


}