@charset "utf-8";
main {
	background: #fffbf5;
}

.contentsBody section {
	max-width: 1120px;
	margin: 0 auto 40px;
}

.contentsBody section a {
	color: #000000;
	transition: all 0.2s ease-out;
}

.contentsBody section a:link {
	color: #000000;
	text-decoration: none;
}

.contentsBody section:not(#items) a:hover {
	text-decoration: none;
	opacity: 0.5;
}

.contentsBody section p:not(:last-chiled) {
	margin: 0 0 1em 0;
	text-align: justify;
}

p.caption {
	max-width: 1020px;
	margin: 0 auto 40px;
	font-size: 0.9em;
}

#bnr {
}

#bnr > div {
	display: flex;
	justify-content: flex-start;
}

#bnr > div a {
	display: block;
}

#bnr > div a:first-of-type {
	margin-right:10px
}

#bnr > div a h3 {
	margin: 0 0 10px 0;
	font-size: 1.8rem;
}

#items {
	max-width: 1020px;
	margin-top: 40px;
	margin-bottom: 0;
	display: flex;
	justify-content: space-between;
}

#items > div {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

#items > div:first-of-type {
	width: 40.883%;
}
#items .dkselect_item1{height:265px;}
#items > div:last-of-type {
	width: 57.451%;
}
#items .dkselect_item2{height:407px;}

#items > div a {
	margin: 0 0 12px 0;
	display: block;
	position: relative;
}

#items > div a .hvr-cont {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background: rgba(254,233,201,0.7);
	display: none;
	align-items: center;
	justify-content: center;
	transition: all 0.5s ease-out;
}

#items > div a:hover .hvr-cont {
	display: flex;
}

#items > div a .hvr-cont div {
	text-align: center;
}

#items > div a .hvr-cont div h3 {
	margin: 0 0 10px 0;
	font-size: 1.5rem;
	font-weight: bold;
}

#items > div a .hvr-cont div p {
	padding: 0.25em 1em;
	font-size: 1.5rem;
	color: #efdfc6;
	border-radius: 4em;
	display: inline-block;
	background: #000000;
}

.mdl-cont {
	width: 600px;
	max-height: 600px;
	font-size: 1.5rem;
	overflow-y: auto;
}

.mdl-cont img {
	margin: 0 0 15px 0;
}

/*###ライトボックス###*/
#cboxOverlay {
	background: #000000;
	opacity: 0.9;
}

#cboxTitle {
	width: 100%;
	font-size: 1.2rem;
	text-align: justify;
	color: #333333;
	padding: 0 2em;
	position: absolute;
	top: 90%;
	bottom: 11px;
	left: 0;
}

#cboxLoadedContent {
	border: none;
	margin: 30px 30px 60px;
}

#cboxContent {
	background: #ffffff;
	overflow: hidden;
}

#cboxTopLeft,
#cboxTopCenter,
#cboxTopRight,
#cboxBottomLeft,
#cboxBottomCenter,
#cboxBottomRight,
#cboxMiddleLeft,
#cboxMiddleRight {
	display: none;
}

#cboxClose {
	width: 1.5em;
	height: 0.1em;
	padding: 0;
	margin: 0;
	text-indent: -9999px;
	line-height: 1;
	vertical-align: middle;
	position: absolute;
	top: 17px;
	right: 6px;
	display: inline-block;
	color: #333333;
	background: currentColor;
	background-position: inherit;
	border: 0;
	border-radius: 0.1em;
	overflow: visible;
	transform: rotate(45deg);
}

#cboxClose:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: inherit;
	border-radius: inherit;
	transform: rotate(90deg);
}

@media screen and (max-width: 768px) {
	.contentsBody section {
		max-width: none;
		width: 100%;
		margin: 0 auto 10px;
	}
	
	p.caption {
		margin: 0 auto 20px;
	}
	
	#bnr > div {
		flex-wrap: wrap;
	}
	
	#bnr > div a {
		width: calc(100% / 2 - 5px);
		margin: 0 0 15px 0;
	}
	
	#bnr {
		margin-top: 20px;
	}
	
	#bnr > div {
		flex-wrap: wrap;
	}
	
	#bnr > div a {
		width: calc(100% / 2 - 5px);
	}
	
	#bnr > div a h3 {
		margin: 0;
		font-size: 1rem;
	}
	
	#items {
		flex-wrap: wrap;
	}

	#items .dkselect_item1{height:calc(94vw * 0.40883 * 265 / 202);}
	#items > div:last-of-type {
		width: 56.125%;
	}
	#items .dkselect_item2{height:calc(94vw * 0.56125 * 407 / 201);}
	#items > div a {
		margin: 0 0 10px 0;
	}
	
	#items > div a:hover .hvr-cont {
		display: none;
	}

	.mdl-cont {
		width: 97%;
		max-height: 70vh;
		height: auto;
		font-size: 1rem;
/*		position: absolute;
		top: 50px;
		left: 50%;
		transform: translateX(-50%);*/
	}
	
	.mdl-cont img {
		margin: 0 0 10px 0;
	}
	
		#boxer.mobile .boxer-close, #boxer.mobile .boxer-close:hover {
		top: 60px;
	}
	
	#boxer.mobile .boxer-meta {
		bottom: 150px;
	}
	
	#cboxTitle {
		font-size: 1rem;
		top: 83%;
	}
	
	#cboxLoadedContent {
		margin: 20px 20px 60px;
	}
	
	#cboxClose {
		top: 11px;
		right: 2px;
	}
	
}