@charset "UTF-8";
/* コンテンツ */

.doc {
	float:left;
	width:940px;
}
.sub_doc {
	float:right;
	width:200px;
	font-size:0.92em;
}
.sub_doc h4 {
	text-align:center;
	background-color:#45ac73;
	color:#fff;
	padding:10px;
	margin-bottom:10px;
    border-radius: 10px; 
}
.capt {
	margin-top:10px;
	font-size:0.84em;
}
.cat_navi li {
	border-bottom:1px dotted #999;
}
.cat_navi li a {
	display:block;
	color:#333;
	padding:20px 0;
	transition: all 0.5s;
}
.cat_navi li a:hover {
	background-color:#eeeeee;
}

.bl_sub {
	text-align:left;
    color: #45ac73;
	border-bottom:1px solid #45ac73;
	margin-bottom:10px;
	padding-bottom:6px;
	font-size:1.24em;
}
.pdate {
	text-align:right;
	font-size:0.84em;
	margin-bottom:30px;
}

.bimg li {
    float: left;
    width: calc((100% / 2) - (40px / 2));
    margin-right: 40px;
    margin-top: 40px;
}

.bimg li img {
	max-width:440px;
	max-height:440px;
	width: expression(this.width >= this.height ? "440px" : "auto");
	height: expression(this.width <= this.height ? "440px" : "auto");
}

@media screen and (min-width: 500px) {
.bimg li:nth-child(2n) {
    margin-right: 0;
}
.bimg li:nth-child(3) {
    clear: both;
}
}

@media screen and (max-width: 499px) {
.doc {
	float:none;
	width:auto;
	margin-bottom:50px;
}
.sub_doc {
	float:none;
	width:auto;
}
.sub_doc h4 {
	padding:5px;
}
.cat_navi li a {
	padding:12px 0;
}

.bimg li {
    float: none;
    width: 100%;
    margin-right: 0;
    margin-top: 30px;
    text-align: center;
}

.bimg li img {
	max-width:300px;
	max-height:300px;
	width: expression(this.width >= this.height ? "300px" : "auto");
	height: expression(this.width <= this.height ? "300px" : "auto");
}

}