/* CSS Document */


article h3
{
	margin-bottom: 10px;
}

article .date
{
	font-size: 16px;
	line-height: 1;
	text-align: left;
}


article .main_box
{
	margin-bottom: 20px;
	padding-top: 20px;
}




.clr
{
	clear: none !important;
	float: none !important;
	width: auto !important;
}

article .text p
{
	text-align: justify;
	font-size: 18px;
	line-height: 160%;
}

section .main_photo
{
	text-align: center;
	margin-bottom: 30px;
}

section .main_photo a:before,
.photo_box a:before
{
	display: none;
}


section .tmp_file
{
	background-color: var(--second-color);
	margin-left: 0px;
	margin-top: 20px;
	display: inline-block;
	padding: 20px;
	margin-right: 0px;
	margin-bottom: 30px;

}


section .tmp_file li
{
	list-style-type: none;
	margin-left: 0px;
	padding-left: 0px;

}

.photo_box
{
	text-align: center;
	overflow: visible !important;
}

.main_photo img,
.photo_box img
{
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	cursor:pointer;
	transition: 1s all;
}

.main_photo img:hover,
.photo_box img:hover
{
	transform:scale(1.04,1.04);
	transition:1s all;

	opacity: 1.0;
	filter: alpha(opacity=100);
	-ms-filter: "alpha(opacity=100)";
}

.photo_box .sub_img img:hover
{
	transform:scale(1.2,1.2);
}




article .photo_box  a
{
	margin-bottom: 20px;
	display: block;
}



article .photo_box img
{
	width: 100%;
	height: auto;
	vertical-align: bottom;
	margin: 0px;
	padding: 0px;
}

section .photo_box .main_img
{
	margin: 0px !important;
}

section .photo_box .sub_img
{
	margin: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 20px;
	padding-left: 0px;
}


section .photo_box .sub_img dl
{
	display: grid;
	grid-template-columns: repeat(6, 1fr); /* 3列 */
	column-gap: 10px; /* 横のスペース */
	row-gap: 10px; /* 縦のスペース */
	align-items: stretch; /* 子要素をセルの高さに合わせて引き伸ばす */
	margin: 0px;
	padding: 0px;
	width: 100%;
}
 
section .photo_box .sub_img dl dt
{
	margin: 0px;
	padding: 0px;
	vertical-align: top;
	border: 0px solid var(--body-bg-color);
}
 
section .photo_box .sub_img dl dt img
{
	width: 100%;
	height:auto;
	object-fit: cover;
	aspect-ratio: 4 / 4;
	cursor:pointer;
}
 
 
.select
{
	border: 0px solid var(--link-color) !important;
}



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



article section .text
{
	float: left;
	width: 740px;
}



.main_photo,
.photo_box
{
	width: 400px;
	margin-right: auto;
	margin-left: auto;
	float: right;
}


}

/* タブレットレイアウト : 768 px 〜 959 px*/
@media screen and (max-width:1199px)
{
article .pad
{
	padding-top: 20px;
	padding-right: 0px;
	padding-bottom: 20px;
	padding-left: 0px;
}


article section .text
{
	float: left;
	width: 56%;
}

.main_photo,
.photo_box
{
	width: 40%;
	float: right;

}


}



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

article .body
{
	padding-top: 0px;
	padding-bottom: 0px;
}





article section .text
{
	float: left;
	width: 56%;
}

.main_photo,
.photo_box
{
	width: 40%;
	float: right;
}





}

/* スマホ設定  599 以下*/
@media screen and (max-width:599px)
{
article .text
{
	float: none;
	width: auto !important;
}

section .tmp_file
{
	display:block;
}

article .photo_box
{
	margin-bottom: 20px;
	text-align: center;
	clear: both;
	float: none;
	margin-left: 0px;
	width: auto;
}

}