@charset "UTF-8";


html {
  display: block;
overflow: scroll;
}

body {
  width: 100%;
  height: auto;
  overflow: hidden;
  position: absolute;
  margin: 0;
  padding: 0;
}

#main {
  position: relative;
  max-width: 645px;
  height: auto;
  top: 0;
  left: -10px;
  margin: 0px;
  padding: 0px;
  background-image: url("./bck.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  -webkit-background-size: cover;
}



/*******************/
#content {
  width: 100%;
  margin: 0 auto 10%;
  padding: 0px 0;
	background-color: #fff;
    border: 1px solid #8c1313;
	position: relative;
	background-image: url("../img/story/bg_bottom.png");
	background-repeat: no-repeat;
	background-position:bottom;
	background-size: 100%;
}


.story_ttl{
	position: relative;
    padding: 14px 0;
    background: url(../img/special/kamon.png) no-repeat center right;
    width: 100%;
    margin: auto;
    background-size: 200px;
	  background-color: #8c1313;
}

.story_ttl h3{
    margin: 0px 1% 0px 0;
    text-align: center;
    width: 99%;
    color: #fff;
    height: 20px;
    display: inline-block;
	font-size: 20px;
	font-weight: normal;
	letter-spacing: 2px;
}

.story_inner{
	width: 92%;
	padding: 2% 4% 3%;
}

.story_inner p{
	line-height: 2em;
	letter-spacing: 1.2px;
}


.story_staff{
    margin: 16px auto 0;
		z-index: 2;
}

/***#01-12****************/
.story_link ul{
    display: flex;
    width: 100%;
    margin: 0 0 32px 0;
}

.story_link li {
	width: 8.333%;
		margin: 0 0 0 4px;
}

.story_link li:first-child{
	margin: 0;
}

.story_link li a{
    padding:2% 0;
    background-color: #ffffff;
    border: 1px solid #8c1313;
    text-align: center;
	box-sizing: border-box;
	display: block;
	color: #8c1313;
	text-decoration: none;
	    font-size: 15px;
    letter-spacing: 1px;
}
.story_link li a.select{
	background-color: #8c1313;
    border: 1px solid #8c1313;
    color: #ffffff;
}

.story_link li a:hover{
    background-color: #edd5d5;
    border: 1px solid #8c1313;
}
.story_link li a.select:hover{
	background-color: #8c1313;
    border: 1px solid #8c1313;
}

.story_txt{
	margin: 14% auto 5%;
}


body.select01 .story01,
body.select02 .story02,
body.select03 .story03,
body.select04 .story04,
body.select05 .story05,
body.select06 .story06,
body.select07 .story07,
body.select08 .story08,
body.select09 .story09,
body.select10 .story10,
body.select11 .story11,
body.select12 .story12{
	background-color: #8c1313;
    border: 1px solid #8c1313;
    color: #ffffff;
}


/***画像切り替え****************/
.mainImage img{
 text-align:center;
}
.thumbnails{
	display: flex;
 width:100%;
 margin:0 auto;
}
.thumbnails img{
 width: 15.84%;
	height: 100%;
	margin: 0 1% 0 0;
	position: relative;
}
.thumbnails img:before{
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: #8c1313;
}


.thumbnails img:hover{
	cursor: pointer;
	opacity: .5;
}

.thumbnails img:first-child{
 margin-left:0;
}

.thumbnails img:last-child{
 margin-right:0;
}


/*link color*/
a:link,
a:visited {
	color: #555555;
	text-decoration: underline;
}
a:hover,
a:active {
	color: #555555;
	text-decoration: none;
}

/* clearfix */
.clfix:after {
  	content: "."; 
  	display: block; 
  	height: 0; 
  	clear: both; 
  	visibility: hidden;
}
.clfix {
	display: inline-block;
}

/* Hides from IE-mac \*/
* html .clfix {
	height: 1%;
}
.clfix {
	display: block;
}
/* End hide from IE-mac */


div.g-inner {
	position:relative;
	width:100%;
	height:466px;
	padding-bottom: 1px;
}
#view {
	position: absolute;
	width:100%;
	height:100%;
	top:0;
	left:0;
	overflow:hidden;
}
#view p {
	position: absolute;
	width:100%;
	height:100%;
	top:0;
	left:0;
	margin: 0;
}
#thumbBtn {
	position:absolute;
	bottom:-116px;
	right:0px;
	width: 100%;
}
#caption {
	position:absolute;
	top:310px;
	left:0px;
	text-align:left;
	width:220px;
}
#thumbBtn li {
	padding: 0 1% 0 0px;
	float:left;
	text-align:right;
	width: 15.8%;
	cursor:pointer;
}
#thumbBtn li:last-child{
	padding: 0 0 0px;
}

#thumbBtn li.active {
	opacity:0.5;
	filter:alpha(opacity=50);
	-ms-filter: "alpha( opacity=50 )";
}



/*---------------------------*/
.back_btn a {
    display: block;
    width: 300px;
    margin: 16px auto 0;
    background-color: rgba(255,255,255,0.7);
    border: 1px solid #8c1313;
    height: 46px;
}

.back_btn a img {
    display: inline-block;
    vertical-align: middle;
    width: 104px;
    padding: 16px 99px 16px 97px;
}

.back_btn a:hover {
    background-color: rgba(140,19,19,0.2);
}

/*==================================*/
@media screen and (max-width: 768px) {
/*==================================*/
#main {
    width: 100%;
    left: -15px;
  }
.main_col{
		width: 100%;
	margin: 0 auto;
	}	


#content {
    width: 92%;
    border: 1px solid #8c1313;
    overflow: hidden;
    max-width: 600px;
	margin: 0 auto 6%;
	padding: 0px 0 6%;
}
	
	.story_ttl{
		    padding: 10px 0;
	}
	
	.story_ttl h3{
		height: 16px;
		font-size: 16px;
	}
	.story_staff br {
		display: none;
	}
	
	
.story_link{
    max-width: 640px;
    margin: auto;
}
	
.story_link ul {
    display: block;
    width: 94%;
    overflow: hidden;
    margin: 0 auto 4%;
}
	
.story_link li {
    width: 18%;
    margin: 0 1% 2% 1%;
    float: left;
}
	
	.story_link li:first-child{
		margin: 0 1% 1% 1%;
	}
/*----画像切り替え調整-----------*/
	div.g-inner{
		height: 100%;
		padding-top: 55%;
	}
	
	#view{
		position: static;
		height: 100%;
	}
	.story_txt {
    margin: 0% auto 5%;
}
	
	#thumbBtn {
    position: absolute;
    bottom: -24%;
    margin: 0;
}
	
	.story_staff{
		font-size: 14px;
		margin: 10% auto 0;
	}
    
	.story_txt{
		margin: 16% auto 5%;
	}
	
	
	.story_link li a{
		padding: 3% 0;
		font-size: 12px;
	}
	
/**/
.back_btn a {
    width: 92%;
    max-width: 560px;
    margin: 0px auto 0;
}
	.back_btn a img {
    display: block;
    width: 100%;
    margin: auto;
    max-width: 100px;
}
	
/**/}



