@charset "UTF-8";

.box_photo {
	text-align: center;
}

.box_photo img,
.box_photo div {
	height: 370px;
	margin: 0 5px 50px 5px;
	cursor: pointer;
	border: #999999 solid;
	border-width: 1px;
	padding: 10px;
}

.NewsListIndex {
	min-height: 50vh;
}

#NewsList ul {
	margin: 0 auto;
	padding: 0;
	display: inline-block;
	border: #000000 solid;
	border-width: 2px 0;
	min-width: 100%;
}

#NewsList ul li {
	padding: 0;
	display: inline-block;
	width: calc(100% / 3 - 30px);
	vertical-align: top;
	margin: 0 15px;
}

#NewsList ul li a {
	position: relative;
	display: block;
	padding: 20px 0;
	color: #000000;
	line-height: 1.5em;
}

#NewsList ul li a:hover {
	background-color: #f6f6f6;
	text-decoration: none;
}

#NewsList ul li img.photo {
	width: 100%;
	padding: 10px;;
	border: #999999 solid 1px;
	margin: 0 auto 10px auto;
}

#NewsList ul li a .list_date {
	display: block;
	color: #bbbbbb;
	font-size: 90%;
}

#NewsList ul li a .list_txt {
	display: inline-block;
	width: 100%;
	color: #0a82dc;
}

#NewsList ul li a:hover .list_txt {
	text-decoration: underline;
}

#NewsList ul li a .list_txt img.arrow {
	display: inline-block;
	margin: 0 0 0 0.5em;
}

#NewsList ul li a .thumb {
	height: 200px;
	width: 200px;
	overflow: hidden;
	display: inline-block;
}

#NewsList ul li a .thumb img {
	height: 200px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

#NewsList ul li a .thumbTxt {
	display: inline-block;
	width: calc(100% - 200px - 10px);
	padding: 0 0 0 20px;
}

/* ディテールページ */

#NewsList_Detail h2.Detail_Title {
	background-color: #ffffff;
	color: #000000;
	line-height: 1.5em;
	padding: 0 0 0 0;
	margin: 20px auto 0 auto!important;
}

#NewsList_Detail .Detail_Photo {
	margin: 20px auto 0 auto;
	text-align: center;
}

#NewsList_Detail .Detail_Photo .photo_size {
	background-color: #ffffff;
	display: inline-block;
	padding: 10px;
	border: #999999 solid;
	border-width: 1px;
}

#NewsList_Detail .Detail_Photo .photo_size a img {
	width: 100%;
	max-height: 500px;
}

#NewsList_Detail .Detail_Photo .photo_size a:hover img {
	opacity: 0.5;
}

#NewsList_Detail .Detail_contents {
	padding: 20px 0;
	text-align: left;
}

/* ------------------------------------------------------ */
@media only screen and (max-width : 1250px) {
/* ------------------------------------------------------ */
.box_photo img,
.box_photo div {
	height: calc(100vw * 0.26);
}
}


/* ------------------------------------------------------ */
@media only screen and (max-width : 768px) {
/* ------------------------------------------------------ */
.box_photo img,
.box_photo div {
	height: calc(100vw * 0.25);
}

#NewsList ul li {
	padding: 0;
	display: inline-block;
	width: calc(100% / 2 - 20px);
	vertical-align: top;
	margin: 0 10px;
}

}

/* ------------------------------------------------------ */
@media only screen and (max-width : 600px) {
/* ------------------------------------------------------ */
#NewsList ul li a .thumb {
	height: calc(100vw * 0.7);
	width: calc(100vw * 0.7);
	display:block;
	margin: 0 auto 20px auto;
}

#NewsList ul li a .thumb img {
	height: calc(100vw * 0.7);
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

#NewsList ul li a .thumbTxt {
	display: inline-block;
	width: calc(100% - 10px);
	padding: 0;
}
	
.box_photo img,
.box_photo div {
	padding: 5px;
}
}

/* ------------------------------------------------------ */
@media only screen and (max-width : 500px) {
/* ------------------------------------------------------ */


}