@charset "utf-8";

/* ---------------------------------------------------------- */
/* 物語 */
/* ---------------------------------------------------------- */
#story {
	color: #fff;
	padding: 80px 0;
	}

#story .tab {
	text-align: center;
	margin: 0 0 30px 0;
	}

#story .tab ul {
	display: -webkit-inline-flex;
	display: -ms-inline-flex;
	display: inline-flex;
	}

#story .tab ul li {
	margin: 0 5px;
	}

#story .tab ul li a ,
#story .tab ul li span {
	font-weight: bold;
	color: #fff;
	text-align: center;
	text-decoration: none;
	border-radius: 50px;
	display: inline-block;
	padding: 5px 10px;
	}

#story .tab ul li a:hover {
	background: #e6c37d;
	}

#story .tab ul li a.current {
	background: #dc3e4a;
	pointer-events: none;
	}

#story .tab ul li span {
	opacity: 0.5;
	}

#story .box {
	max-width: 1000px;
	margin: auto;
	}

#story .box h3 {
	font-size: 3.0rem;
	font-weight: bold;
	text-align: center;
	margin: 0 0 20px 0;
	}

#story .box h3 span {
	font-size: 1.6rem;
	color: #01a4a7;
	line-height: 1;
	background: #fff;
	padding: 5px 20px;
	display: inline-block;
	}

#story .box .image {
	margin: 0 auto 30px auto;
	}

#story .box .slider img {
	width: 100%;
	line-height: 0;
	}

#story .box .thumb {
	width: calc(100% + 3px);
	margin: 0 0 0 -3px;
	line-height: 0;
	}

#story .box .thumb li {
	padding: 5px 3px 0 3px;
	}

#story .box .thumb img {
	width: 100%;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	transition: all 0.3s ease;
	cursor: pointer;
	}

#story .box .thumb img:hover ,
#story .box .thumb .slick-current img {
	opacity: 0.5;
	}

#story .box .text {
	font-size: 1.6rem;
	text-align: center;
	line-height: 2.0;
	color: #2b2b2b;
	background: #fff;
	border: 5px solid #e6c37d;
	padding: 30px 40px;
	position: relative;
	}

#story .box .text::before {
	content: '';
	width: calc(100% - 8px);
	height: calc(100% - 8px);
	background:
		url(../img/common/bg_contents_01.png) top left no-repeat ,
		url(../img/common/bg_contents_02.png) top right no-repeat ,
		url(../img/common/bg_contents_03.png) bottom right no-repeat ,
		url(../img/common/bg_contents_04.png) bottom left no-repeat;
	background-size: 25px 25px;
	border: 1px solid #e6c37d;
	top: 3px;
	left: 3px;
	position: absolute;
	}

@media (max-width: 768px){
#story {
	padding: 120px 30px;
	}

#story .tab ul {
	width: calc(100% + 10px);
	margin: 0 0 0 -5px;
	flex-wrap: wrap;
	}

#story .tab ul li {
	width: calc(20% - 10px);
	margin: 0 5px 5px 5px;
	}

#story .tab ul li:nth-of-type(n+11) {
	width: calc(33.33333% - 10px);
	margin: 0 5px;
	}

#story .box h3 {
	font-size: 2.4rem;
	}

#story .box h3 span {
	font-size: 1.4rem;
	}

#story .box .text {
	font-size: 1.4rem;
	text-align: left;
	padding: 20px 30px;
	}

#story .box .text::before {
	content: '';
	width: calc(100% - 8px);
	height: calc(100% - 8px);
	background:
		url(../img/common/bg_contents_01.png) top left no-repeat ,
		url(../img/common/bg_contents_02.png) top right no-repeat ,
		url(../img/common/bg_contents_03.png) bottom right no-repeat ,
		url(../img/common/bg_contents_04.png) bottom left no-repeat;
	background-size: 25px 25px;
	border: 1px solid #e6c37d;
	top: 3px;
	left: 3px;
	position: absolute;
	}
}

@media (max-width: 640px){
#story {
	padding: 80px 20px;
	}

#story .tab {
	margin: 0 0 20px 0;
	}

#story .tab ul li a ,
#story .tab ul li span {
	font-size: 1.2rem;
	}

#story .box h3 span {
	font-size: 1.2rem;
	margin: 0 0 5px 0;
	padding: 3px 15px;
	}

#story .box h3 {
	font-size: 2.0rem;
	}

#story .box .image {
	margin: 0 auto 20px auto;
	}

#story .thumb .slick-slide {
	width: 25% !important;
	}

#story .box .text {
	line-height: 1.6;
	padding: 20px;
	}

#story .box .text::before {
	background-size: 15px 15px;
	}
}