@charset "utf-8";

/*  多言語、動画、CGで紹介する国指定の文化財ここから */

#he_right {
	visibility: hidden;
}

#main_body{
	& a:any-link{
		font-weight: bold;
	}
	& a:link{
		color:#1a0da2;
	}
	& a:visited{
		color:#800080;
	}
	& a:hover{
		opacity: 0.7;
	}
	
}

#main_header h1{
	background: none transparent;
	color: currentColor;
}
#main,#main_header h1 {
	font-family: 'Hiragino Mincho Pro', 'HiraMinProN-W3', 'ヒラギノ明朝 Pro W3', serif;
}
#main_header h1{
	padding: 15px 10px;
	font-weight: 700;
	line-height: 1.2;
}
#main_header h1 .title_sub{
	font-size: 2.25rem;
}
#main_header h1 .title_main{
	font-size: 3.6rem;
}

#main_body h2{
	background: #e9e0d0;
	padding: 10px 10px;
	margin: 10px 5px 0;
	border-radius: 0;
	font-size: 2.4rem;
	font-family: 'Hiragino Mincho Pro', 'HiraMinProN-W3', 'ヒラギノ明朝 Pro W3', serif;

}
#main_body h2::before{
	display: none;
}

#main_body{
	font-size: 1.6rem;
}

.detail_movie iframe {
	width: 100%;
	height: auto;
}

.detail_image_center img {
	max-width: 100%;
	height: auto;
	display: block;
}
.detail_html:has(audio){
	background: #5fc3f3;
	display: grid;
	grid-template-columns: auto auto;
	place-content: center center;
	padding: 8px 10px;
}
.detail_html audio {
}

#main_body p{
	text-indent: 1em;
}
.audio-control-btn {
	border: none;
	background: transparent;
	text-align: left;
	font-size: 1.1rem;
	font-family: 'Hiragino Mincho Pro', 'HiraMinProN-W3', 'ヒラギノ明朝 Pro W3', serif;
	color: #000;
	display: grid;
	grid-template-columns: 30px 1fr;
	align-items: center;
	gap: 10px;
}
.audio-control-btn::before{
	content: '';
	display: block;
	width: 30px;
	height: 30px;
	background: url(/img/culture/icon-speaker.png) no-repeat center center #868686;
	background-size: 80% auto;
	border-radius: 50%;
}

.image1caption {
	background: #e9e0d0;
	padding: 15px 20px 25px;
	margin: 0px 0px 40px;
}

/* モーダル表示 */
#lightBox{
	overscroll-behavior: none;
	max-width: 60vw;
	height: auto;
	max-height: 80vh;
	background: transparent;
	color: #fff;
	border: none;
	padding: 0;
	overflow: visible;
}
#lightBox::backdrop {
	background: #000c;
}
#imageArea{
	width: 100%;
	height: 100%;
	text-align: center;
	display: grid;
	place-content: center center;
}
#imageArea img{
	display: block;
	margin-inline: auto;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	border: 3px solid #fff;
	box-sizing: border-box;
	min-width: 0;
	min-height: 0;
}

#lightBox button{
	border: none;
	background: none;
	color: #fff;
}
#lightBoxClose{
	position: fixed;
	right: calc(50% - 20px);
	bottom: 5px;
	width: 40px;
	height: 40px;
	z-index: 100;
}
#lightBoxClose::before,
#lightBoxClose::after{
	content: '';
	display: block;
	background: #fff;
	color: #000;
	width: 5px;
	height: 100%;
	position: absolute;
	top: 0;
	left: 50%;
}
#lightBoxClose::before{
	transform: rotate(-45deg);
}
#lightBoxClose::after{
	transform: rotate(45deg);
}
#lightBoxPrev,
#lightBoxNext{
	position: fixed;
	top: calc(50% - 25px);
	z-index: 100;
	width: 40px;
	height: 50px;
}
#lightBoxPrev{
	left: 5px;
}
#lightBoxNext{
	right: 5px;
}
#lightBoxPrev::before,
#lightBoxNext::before{
	content: '';
	display: block;
	background: #fff;
	color: #000;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
#lightBoxPrev::before{
  clip-path: polygon(
    75.00% 0.00%,
    25.00% 50.00%,
    75.00% 100.00%,
    100.00% 100.00%,
    50.00% 50.00%,
    100.00% 0.00%
  );
}
#lightBoxNext::before{
  clip-path: polygon(
    25.00% 0.00%,
    75.00% 50.00%,
    25.00% 100.00%,
    0.00% 100.00%,
    50.00% 50.00%,
    0.00% 0.00%
  );
}

/* モーダル表示ここまで */
/*  多言語、動画、CGで紹介する国指定の文化財ここまで */