@charset "utf-8";


.main_visual {
	position: relative;
}
.main_visual iframe {
	border:none;
	width:100%;
	height:100%;
	position: relative;
}
.main_visual .temple_btn {
	position: absolute;
	top: 0.5em;
	left: 0.5em;
	display: block;
	border-radius: 100%;
	width: 35%;
	max-width: 150px;
	height: auto;
	z-index: 1;
}

.video {
	position:relative;
	width:100%;
	padding-top:56.25%;
	margin-bottom: 1em;
}
.video iframe {
  position:absolute;
  top:0;
  right:0;
  width:100%;
  height:100%;
}
.temple_details_box {
	padding: 2em 0;
}
.temple_details_box h3 {
	background-image: url("../images/bg_top_temple_title.gif");
	background-repeat: no-repeat;
	background-position: center center;
	background-size: auto 100%;
	text-align: center;
	padding: 0.5em;
	margin-bottom: 1em;
	color: #e3ddd6;
	background-color: #8f3744;
}
.temple_details_box h3 span {
    font-size: 1.9rem;
	line-height: 1;
}

.temple_details_box .details_btn {
	display: flex;
	justify-content: space-between;
	border-bottom: solid 0.35rem #8f3744;
}
.temple_details_box .details_btn li {
	display: flex;
	background-color: #b47378;
	color: #fff;
	padding: 1em 0;
	width: 32%;
	justify-content: center;
	align-items: center;
	text-align: center;
	font-size: 3.5vw;
	cursor: pointer;
	font-weight: bold;
	line-height: 1.2;
}
.temple_details_box .details_btn li.is-active {
	background-color: #8f3744;
}
.temple_details_box .details_box {
	background-image: url("../images/temple/bg_temple_details_back.jpg");
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 100% 100%;
	color: #220800;
}
.temple_details_box .details_box li {
	display: flex;
	flex-wrap: wrap;	
}

.temple_details_box .details_box .comment {
	padding: 1em 1em 0;
	width: 100%;
	-webkit-box-ordinal-group: 2;
	-ms-flex-order: 2;
	-webkit-order: 2;
	order: 2;
}
.temple_details_box .details_box .comment h4.type_a {
	background-image: url("../images/temple/bg_temple_subtitle.gif");
	background-repeat: no-repeat;
	background-color: #8f3744;
	background-position: center right;
	background-size: 100% auto;
	text-align: left;
	padding: 0.5em;
	margin-bottom: 1em;
	color: #e3ddd6;
	font-size: 4.5vw;
}
.temple_details_box .details_box .comment h4.type_b {
	padding: 0.5em 0 0.4em;
	margin-bottom: 1em;
	color: #220800;
	font-size: 4.5vw;
	border-bottom: solid 1px #ae9980;
}
.temple_details_box .details_box .comment p {
	color: #220800;
	padding: 0 0 1em
}

.temple_details_box .details_box .photo {
	padding: 0 1em 0;
	-webkit-box-ordinal-group: 1;
	-ms-flex-order: 1;
	-webkit-order: 1;
	order: 1;
	position: relative;
    width: 100%;
    height: 70vw;
    margin-top: 1em;
    overflow: hidden;
	display: flex;
	align-items: self-start;
}
.temple_details_box .details_box .photo img {
	width: 100%;
    height: auto;
    vertical-align: bottom;
}

.temple_details_box .details_location table {
	border-collapse: collapse;
	border: solid 1px #ae9980;
	margin:  0 0 1em;
	width: 100%;
}
.temple_details_box .details_location tr {
	
}
.temple_details_box .details_location th {
	padding: 0.5em;
	background-color: #f5f0eb;
	display: block;
	width: 100%;
	border-bottom: solid 1px #ae9980;
	text-align: center;
}
.temple_details_box .details_location td {
	padding: 0.5em;
	display: block;
	width: 100%;
	border-bottom: solid 1px #ae9980;
}
.temple_details_box .details_location td a {
	color: #8f3744;
}
.temple_details_box .details_location td a:after {
	background-color: #8f3744;
}

.temple_details_box .details_location tr:nth-last-of-type(1) td {
	border-bottom: none;	
}
.temple_details_box .details_gallery {
	padding: 1em;
}
.temple_details_box .slider {
	width: 100%;
	padding: 0;
}
.temple_details_box .slider a {
	display: block;
}
.lightbox {
	/*top: 50% !important;
	-webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);*/
}

@media screen and (min-width: 481px) {
	.temple_details_box .details_btn li {
		font-size: 1.7rem;
		padding: 1em 0.5em;
	}
	.temple_details_box .details_box .comment h4.type_a {
		font-size: 1.7rem;
	}
	.temple_details_box .details_box .comment h4.type_b {
		font-size: 1.7rem;
	}
}

@media screen and (min-width: 769px) {
	.main_visual .temple_btn {
		display: none;
	}
	.temple_details_box {
		display: none;
	}
	.contents {
		padding: 0 0 10rem;
	}
	.temple_details_box .details_box {
		flex-wrap: nowrap;
	}
	.temple_details_box .details_box .comment {
		width: 50%;
		padding: 1em 0 1em 1em;
		-webkit-box-ordinal-group: 2;
		-ms-flex-order: 2;
		-webkit-order: 2;
		order: 2;
	}
	.temple_details_box .details_box .comment h4.type_a {
		font-size: 2.1rem;
	}
	.temple_details_box .details_box .comment h4.type_b {
		font-size: 2.1rem;
	}
	.temple_details_box .details_location th {
		padding: 1em;
		background-color: transparent;
		display: table-cell;
		width: 23%;
		border-right: solid 1px #ae9980;
	}
	.temple_details_box .details_location td {
		padding: 1em;
		display: table-cell;
		width: auto;
	}
	.temple_details_box .details_box .photo {
		height: 70vw;
		width: 50%;
		-webkit-box-ordinal-group: 2;
		-ms-flex-order: 2;
		-webkit-order: 2;
		order: 2;
		align-items: flex-start;
	}

}
@media screen and (min-width: 1260px) {
	.temple_details_box {
		
	}
}
	
	
	