@charset "UTF-8";

/* story */
#story{
	position: relative;
	margin: 0 auto;
	width: calc(100% - 20px);
	max-width: 1100px;
}
#story h2{
	position: relative;
	margin: 0 auto 15px auto;
	width:100%;
	max-width: 1200px;
	padding-top: 60px;
	background-size: auto min(13vh, 60px);
	background-position: 50% 0;
	background-repeat: no-repeat;
	background-image: url("../../img/common/bg01.png");
	z-index: 10;
}
#story h2 img{
	position: relative;
	margin: 0 auto;
	width: 100%;
	max-width: 640px;
}
#story h2::after{
	position: absolute;
	bottom:-45px;
	left:-8px;
	content: '';
	display: block;
	width: 100%;
	height: 140px;
	background-size: min(23vw, 100px) auto;
	background-position: 0 100%;
	background-repeat: no-repeat;
	background-image: url("../../img/common/bg07.png");
}
#story .contentsWrap{
	position: relative;
	margin: 0 auto;
	border: solid 2px #000000;
	border-radius: 20px;
}
#story .contentsWrap::after{
	position: absolute;
	top:0;
	left: -2px;
	width: 100px;
	height: 100px;
	content: '';
	display: block;
	background-color: #faf1dc;
}
#story .contentsInner{
	position: relative;
	margin: 0 auto;
	width: calc(100% - 34px);
	max-width: 960px;
}

#story .onair{
	position: relative;
	margin: 5px auto 1em auto;
	text-align: center;
	color: #e57b41;
	font-size: 1.5rem;
	font-weight: bold;
}
#story .onair span{
	position: relative;
	margin: 0 0.5em 0 0;
	display: inline-block;
	background-color: #e57b41;
	color: #ffffff;
	padding: 0 1em;
	border-radius: 10px;
	font-size: 1.3rem;
}
#story .movieBox{
	position: relative;
	margin: 20px auto 0 auto;
	width: calc(100% - 6px);
	max-width: 960px;
	border: solid 3px #a95054;
	z-index: 20;
}
#story p{
	position: relative;
	margin: 0 auto;
	width: 100%;
	max-width: 940px;
	padding-bottom: 20px;
}
#story p .fontL{font-size: 104%;}
#story .ImgWrap{
	position: relative;
	margin: 0 auto 20px auto;
	width: 100%;
	gap:8px 0;
}
#story .ImgWrap .Img{
	position: relative;
	margin: 0;
	width: 100%;
	border: solid 4px #ffffff;
}

/* backnumber */
#backnumber{
	position: relative;
	margin: 0 auto;
	padding: 0 0 10px 0;
	z-index: 100;
}
#backnumber .ttl{
	position: relative;
	margin: 0 auto;
	width:100%;
	max-width: 580px;
	z-index: 100;
}
#backnumber .backnumberWrap{
	position: relative;
	max-width: 960px;
	width: calc(100% - 10px);
	margin: 10px auto;
	border-radius: 20px;
	padding: 10px 0;
	background-color: #FFFCF2;
}
#backnumber #backnumberList{
	position: relative;
	margin: 0 auto;
	padding: 10px;
	gap: 5px;
	justify-content: center;
}
#backnumber #backnumberList li{
	position: relative;
	margin: 0;
	width: calc(50% - 10px);
	cursor: pointer;
	border: solid 1px #e57b41;
	overflow: hidden;
}
#backnumber ul#backnumberList li img{transition: all 0.4s ease-in-out;}
#backnumber ul#backnumberList li:hover img{transform:  scale(1.08,1.08);}
#backnumber ul#backnumberList li .movieWrap{width: 100%;background-color: #000000;}
#backnumber ul#backnumberList li .bndate{
	position: relative;
	margin: 0 auto;
	background-color: #e57b41;
	text-align: center;
	color: #ffffff;
	font-size: 80%;
}


@media screen and (min-width: 769px) {

	/* story */
	#story h2{
		margin: 0 auto 20px auto;
		padding-top: 130px;
		background-size: auto 104px;
	}
	#story h2::after{
		bottom:max(-7.6vw, -120px);
		left:max(-1.5vw, -40px);
		height: 250px;
		background-size: min(26%, 265px) auto;
	}
	#story .contentsWrap{
		border: solid 4px #000000;
		border-radius: 50px;
	}
	#story .contentsWrap::after{
		left: -5px;
		width: 30px;
		height: 220px;
	}
	#story .contentsInner{
		width: calc(100% - 54px);
		max-width: 960px;
	}
	
	#story .onair{
		margin:  1.5em auto;
		font-size: 2.4rem;
	}
	#story .onair span{
		font-size: 1.8rem;
		padding: 0 2em;
		transform: translateY(-0.2em);
	}
	#story .movieBox{
		margin: 40px auto 0 auto;
		max-width: 960px;
		border: solid 6px #a95054;
	}

	#story .ImgWrap{margin: 0 auto 20px auto; gap:10px ;}
	#story .ImgWrap .Img{width: calc(50% - 10px);}

	#backnumber{padding: 50px 0 70px 0 ;}
	#backnumber #backnumberList li .dateBN{
		width: 7.5em;
		font-size: 1.4rem;
	}
	#backnumber ul#backnumberList li{width: calc(20% - 5px);}
}


@media screen and (min-width: 769px) and (max-width: 1200px) {
	#story {width: calc(100% - 110px);}
}
