@charset "UTF-8";

.l_main .is_h2{
	color: #000;
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: center;
	gap: 10px;
	width: max-content;
	margin: 0 auto;
	padding: 0 0 40px 0;
	writing-mode: horizontal-tb;
	text-align: left;
}

.l_main .is_h2 strong{
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 20px;
	margin: 0;
	writing-mode: horizontal-tb;
}

.l_main .is_h2 .is_culture,
.l_main .is_h2 .is_period,
.l_main .is_h2 .is_title{
	display: block;
	writing-mode: vertical-rl;
	text-orientation: mixed;
	white-space: nowrap;
}

.l_main .is_h2 .is_culture{
	position: relative;
	padding: 0;
}

.l_main .is_h2 .is_culture_text{
	display: inline;
	padding: 0;
}

.l_main .is_h2 .is_period{
	white-space: nowrap;
}

.l_main .is_h2 .is_title{
	white-space: nowrap;
}

.l_main .is_h2 .is_kakko_start,
.l_main .is_h2 .is_kakko_end{
	position: absolute;
	writing-mode: horizontal-tb;
	line-height: 1;
	font-weight: 400;
}

.l_main .is_h2 .is_kakko_start{
	top: -9%;
	right: 0;
	transform: rotate(90deg);
	transform-origin: center;
}

.l_main .is_h2 .is_kakko_end{
	top: 28%;
	left: 16%;
	transform: rotate(90deg);
	transform-origin: center;
}

.l_main .md_maintitle{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.l_main .md_maintitle div:nth-child(1){
	width: 26%;
	padding-top: 140px;
}

.l_main .md_maintitle div:nth-child(2){
	width: 72%;
	height: 80vh;
}

.l_main .md_maintitle div:nth-child(2) .is_kv{
	background: url(../img/castle/img_kv.jpg) no-repeat center top;
	background-size: cover;
	width: 100%;
	height: 100%;
}

.l_main .md_maintitle div:nth-child(2) .is_caption{
	text-align: right;
	padding: 10px 10px 20px 10px;
}

.l_main .md_cont.l_anchorlink{
	margin-top: 0;
	padding: 80px 0 0 0;
}

.l_main .is_h4{
	color: #94252a;
}

.l_main .md_cont2.md_cont3 div{
	width: 31%;
}

.l_main .md_cont2.md_cont3{
	padding: 20px 0 0 0;
}

.l_main .md_cont2.md_cont3 + .is_caption{
	text-align: right;
	padding: 40px 0 0 0;
}

.l_main.l_castle .l_area .md_spotname{
	padding: 60px 0 0 0;
}

.l_main.l_castle .l_area .md_spotname + .is_h4{
	padding-top: 20px;
}

.l_main.l_castle .l_area .is_spotlist{
	border-top: none;
	margin: 0;
	padding: 0;
}

@media only screen and (max-width: 767.98px){
	.l_main.l_castle{
		padding: 110px 0 0 0;
	}
	
	.l_main .is_h2 .is_kakko_start{
		top: -5%;
	}
	
	.l_main .is_h2 .is_kakko_end{
		top: 32%;
	}
	
	.l_main .md_maintitle div:nth-child(1){
		width: 100%;
		padding: 0;
		display: block;
	}
	
	.l_main .md_maintitle div:nth-child(2){
		width: 100%;
		height: auto;
		padding: 0;
	}
	
	.l_main .md_maintitle div:nth-child(2) .is_kv{
		height: 30vh;
	}
	
	.l_main .is_maintxt{
		writing-mode: unset;
		padding: 0 8% 20px 8%;
	}
	
	.l_main .is_h2 .is_culture_text{
		padding-top: 14px;
	}
	
	.l_main .l_anchorlink ul li{
		width: 100%;
		margin: 0 1% 6% 1%;
	}
	
	.l_main .md_cont2.md_cont3 div{
		width: 100%;
	}
	
	.l_main .md_cont2 div:nth-child(1),
	.l_main .md_cont2 div:nth-child(2){
		padding: 0 0 20px 0;
	}
	
	.l_main .md_experience{
		margin-bottom: 0;
		padding-bottom: 0;
	}
	

}
