/* CSS Document */


article h2 small
{
	font-size: 16px;
	line-height: 120%;
	display: block;
	margin-bottom: 10px;
}



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

.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
{
	margin-left: 0px;
	margin-top: 20px;
	display: inline-block;
	padding: 20px;
	margin-right: 0px;
	margin-bottom: 30px;
	border: 1px solid #ccc;

}


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

}

.photo_box
{
	text-align: center;
}

.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.2,1.2);
	transition:1s all;

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

}


.return
{
	clear: both;
	padding-top: 30px;
	text-align: center;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #ddd;
}

.return ul
{
	display: table;
	table-layout: fixed;
	width: 400px;
	padding: 0px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
}

.return ul li
{
	display: table-cell;
	width: 80px;
	margin: 0px;
	padding: 0px;
	vertical-align: middle;
	text-align: center;
}

.return ul li a
{
	font-size: 16px;
	line-height: 100%;
	color: #A7928A;
}

.return ul li a:hover
{
	color: #978A7B !important;
}

.return ul li:nth-child(2)
{
	width: auto;
}

.return ul li:nth-child(2) a
{
	font-size: 18px;
	color: #FFF;
	background-color: #a7928a;
	display: inline-block;
	padding-top: 14px;
	padding-right: 20px;
	padding-bottom: 14px;
	padding-left: 20px;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;

}

.return ul li:nth-child(2) a:hover
{
	-moz-transition-duration: 0.2s;
	-webkit-transition-duration: 0.2s;
	-o-transition-duration: 0.2s;
	-ms-transition-duration: 0.2s;
	transition-duration: 0.2s;
	color: #FFF !important;
	background-color: #978A7B;
}

.return ul li:nth-child(2) a:after
{
	font-family: "Font Awesome 5 Free";
	content: '\f178';
	font-weight: 900;
	margin-left: 10px;

}

.return ul li:first-child a:before
{
	font-family: "Font Awesome 5 Free";
	content: '\f104';
	font-weight: 900;
	margin-right: 10px;

}

.return ul li:last-child a:after
{
	font-family: "Font Awesome 5 Free";
	content: '\f105';
	font-weight: 900;
	margin-left: 10px;

}





.return a:hover 
{
	color: #fff !important;
	-moz-transition-duration: 0.2s;
	-webkit-transition-duration: 0.2s;
	-o-transition-duration: 0.2s;
	-ms-transition-duration: 0.2s;
	transition-duration: 0.2s;
	color: #FFF !important;
	opacity: 0.8;
	filter: alpha(opacity=80);
	-ms-filter: "alpha(opacity=80)";
}

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


article .next_box
{
	clear: both;
	border-top-style: none;
	text-align: center;
}

article .next_box a:after
{
	content: '\f106';
}

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: 0px;
}


section .photo_box .sub_img dl
{
	display: grid;
	grid-template-columns: repeat(3, 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: 10px solid #FFF;
}
 
section .photo_box .sub_img dl dt img
{
	width: 100%;
	height:auto;
	object-fit: cover;
	aspect-ratio: 4 / 4;
	cursor:pointer;
}
 
 
.select
{
	border: 10px solid var(--link-color) !important;
}


section .next_box_center
{
	clear: both;
	padding-top: 20px;
}

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

}


article .date
{
	float: left;
	padding-top: 66px;
}



article h2
{
	margin-bottom: 30px;
}

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



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


}

/* タブレットレイアウト : 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 #h1_area
{
	margin-bottom: 30px;
}

article h2
{
	font-size: 28px;
	line-height: 140%;
}


#head_box
{
	background-image: url(../topics/images/bg_head.jpg);
	margin-right: auto;
	margin-left: auto;
}


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



article h3 .h3_title
{
	font-size: 24px;
	text-align: justify;
}

.return ul
{
	display: inline-table;
	table-layout: fixed;
	width: 100%;
}

.return ul li
{
	width: 60px;
	margin: 0px;
	padding: 0px;
	vertical-align: middle;
	text-align: center;
}



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;
}

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

}