@charset "utf-8";
/* CSS Document */

@media screen and (max-width: 767px){
html{
font-size: 62.5%;
-webkit-text-size-adjust: 100%;
}

section,
nav,
article,
figure,
aside,
header,
footer,
main{
display: block;
}

body,
h1,
h2,
h3,
ul,
li,
figure,
div,
section,
p{
margin: 0;
padding: 0;
}

body{
font-family:"Noto Serif JP","Hiragino Kaku Gothic Pro","ヒラギノ角ゴ Pro W3",Meiryo,Osaka,"メイリオ","ＭＳ Ｐゴシック","MS PGothic",sans-serif;

}

*{
  box-sizing: border-box;
}

ul{
list-style-type:none;
}

img{
border: none;
vertical-align: bottom;
}

a{
color:#09d;
}

p{
margin:0;
padding:0 0 1em 0;
}

dt{
margin:0;
padding:0;
}

dd{
margin:0 0 15px 0;
padding:0;
line-height:150%;
}
header{
position: fixed;
z-index: 100;
width: 100%;
height:40px;
background-color: #FFF;
}
#logo{
width: 180px;
height:auto;
margin: 2% 2% 2% 22px;
box-sizing: border-box;
fill: #57c3ea;
}
footer{
position: fixed;
width: 100%;
text-align: center;
bottom: 0;
height:5%;
background-color: #FFF;
padding-top: 2%;
color: #333;
letter-spacing: 0.1em;
}	

	
	
#story-start,#story1,#story2,#story3,#story4,#story5,#story6,#story7,#story-last{
writing-mode:vertical-rl;
position:relative;
width: 100%;
border-right: 22px solid #fff;
border-left: 22px solid #fff;
}
#story1,#story2,#story3,#story4,#story5,#story6,#story7{
background-color: #faf9f6;
}
#story1 h2,#story2 h2,#story3 h2,#story4 h2,#story5 h2,#story6 h2,#story7 h2,#story-last h2{
font-size: 1.1em;
margin-left: 3%;
text-orientation:upright;
letter-spacing:0.1em;
}
#story-start p,#story1 p,#story2 p,#story3 p,#story4 p,#story5 p,#story6 p,#story7 p,#story-last p{
letter-spacing:0.02em;
text-indent: 1.0em;
margin: 0 10px;
font-size: 0.9em;
}
/*#story1 div,#story3 div,#story5 div,#story7 div,#story2 div,#story4 div,#story6 div{
color:#333;
position:absolute;
padding:0.5vmin 4vmin;
box-sizing:border-box;
/*left:76%;
top:50%;
transform:translate(-50%, -50%);
background-color:  #faf9f6;
width: 90%;
margin: 36% auto 0 auto;
height: 60vh;
}*/
#story1 div,#story3 div,#story5 div,#story7 div,#story2 div,#story4 div,#story6 div{
color:#333;
position:absolute;
padding:2%;
box-sizing:border-box;
left:50%;
top:64%;
transform:translate(-50%, -50%);
background-color:  #faf9f6;
height: 64vh;
}
#story-start div{
color:#fff;
position:absolute;
padding:0.5vmin;
box-sizing:border-box;
left:50%;
top:50%;
transform:translate(-50%, -50%);
height: 74vh;
}
#story-start h1{
font-size: 1.2em;
margin: 0 0 0 10px;
letter-spacing: -0.02em;
}
#story-start h1 span{
display: block;
text-indent: 4em;
}
#story-last div{
color:#fff;
position:absolute;
padding:0.5vmin;
box-sizing:border-box;
left:50%;
top:50%;
transform:translate(-50%, -50%);
height: 76vh;
}
#story1{
background-image: url("../images/pic_01.jpg");
background-repeat: no-repeat;
background-position: 0 22px;
background-size: 100% auto;
}
#story2{
background-image: url("../images/pic_02.jpg");
background-repeat: no-repeat;
background-position: 0 22px;
background-size: 100% auto;
}
#story3{
background-image: url("../images/pic_03.jpg");
background-repeat: no-repeat;
background-position: 0 22px;
background-size: 100% auto;
}
#story4{
background-image: url("../images/pic_04.jpg");
background-repeat: no-repeat;
background-position: 0 22px;
background-size: 100% auto;
}
#story5{
background-image: url("../images/pic_05.jpg");
background-repeat: no-repeat;
background-position: 0 22px;
background-size: 100% auto;
}
#story6{
background-image: url("../images/pic_06.jpg");
background-repeat: no-repeat;
background-position: 0 22px;
background-size: 100% auto;
}
#story7{
background-image: url("../images/pic_07.jpg");
background-repeat: no-repeat;
background-position: 0 22px;
background-size: 100% auto;
}



#story1::before,#story3::before,#story5::before,#story7::before,#story2::before,#story4::before,#story6::before{
color: #222;
font-family: 'Cardo', serif;
font-size: 4.0em;
writing-mode:horizontal-tb;
text-align: center;
letter-spacing:0.01em;
position: absolute;
top: 24%;
right: 20px;
margin: auto;

}
#story1::before{
content: '1995';
}
#story3::before{
content: '2000';
}
#story5::before{
content: '2010';
}
#story7::before{
content: '2020';
}
#story2::before{
content: '1998';
}
#story4::before{
content: '2001';
}
#story6::before{
content: '2017';
}

	
#story-start::before{
background: #0bd url("../images/main01.jpg");
display: block;
width: 100%;
height: 100%;
content: " ";
position: absolute;
background-blend-mode: screen;
background-size: cover;
background-repeat: no-repeat;
background-position: top center;
opacity: .3; 
z-index: -1;
}		
#story-last::before{
background: #0bd url("../images/main02.jpg");
display: block;
width: 100%;
height: 100%;
content: " ";
position: absolute;
background-blend-mode: screen;
background-size: cover;
background-repeat: no-repeat;
background-position: top center;
opacity: .3;
z-index: -1;
}	
#story-last a{
display: block;
padding: 0px 10px;
background-color: #fff;
text-align: center;
text-decoration: none;
margin: 0 10px 0 0;
transition: all  0.3s ease;
}
#story-last a:hover{
color:#FFF;
background-color: #222;
}

	
main{
font-size: 1.6em;
line-height: 170%;
color: #222;
width: 100%;
height: auto;
position: relative;
}

.container {
 overflow-y: auto;
 /*scroll-snap-type: y mandatory;
 scroll-snap-points-y: repeat(100vh);
 height: 100vh;*/
}
.area {
  /*scroll-snap-align: start;*/
  height: 100vh;
}


	
/*背景のカラーリング*/	
.bg {
animation:slide 3s ease-in-out infinite alternate;
background-image: linear-gradient(-90deg, #3abfef 50%, #09f 50%);
bottom:0;
left:-50%;
opacity:.5;
position:fixed;
right:-50%;
top:0;
z-index:-1;
}
.bg2 {
animation-direction:alternate-reverse;
animation-duration:4s;
}
.bg3 {
animation-duration:5s;
}


/*ハンバーガーメニュー*/


/* ###### CSS for Hamburger UI DIV and links ###### */

#hamburgerui{
position: absolute;
z-index: 100;
top: 0;
right: 0;
width: 60px;
height:60px;
display: block;
text-decoration: none;
color: #fff;
transition: all 0.5s;
background-color: #222;
}

#hamburgerui ul{
margin: 0;
padding: 0;
font: bold 16px 'Bitter', sans-serif; /* #hamburgerui font size (Bitter is Google font) */
list-style-type: none;
}

#hamburgerui li{
display: inline;
margin: 0;
}


#hamburgerui:after{
content: 'Menu';
visibility: hidden;
}
#hamburgerui:hover{
background: blue; /*background of UI links for hover state  */
}

/*kokomadeOK*/

#navtoggler{  /* Main hamburger icon to toggle menu state */
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 8px; /* change font size to change hamburger icon dimensions. Leave width/height below alone */
  width: 4em;
  height: 2.5em;
  padding: 0;
  text-indent: -1000px;
  border: 0.6em solid white;
  /* border color */
  border-width: 0.6em 0;
  cursor: pointer;
  -webkit-transform: translate3D(-50%, -50%, 0);
  transform: translate3D(-50%, -50%, 0); /* center hamburger icon inside link */
  -webkit-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
}


#navtoggler::before, #navtoggler::after{
  /* inner strip inside hamburger icon */
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 0.6em;
  top: 50%;
  margin-top: -0.3em;
  left: 0;
  background-color: white; /* stripes background color. Change to match border color of parent label above */
  -webkit-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
}


/* ###### CSS for Full Screen Menu NAV ###### */

#fullscreenmenu{
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: #222; /* background color of full screen menu */
opacity: 0.9;
	padding-top: 80px; /* shift UL downwards by 100px so it's not obscured by hamburger icon */
  z-index: 1;
	visibility: hidden;
	overflow: auto;
  box-sizing: border-box;
  transform: translate3D(0, -100%, 0); 
  transition: transform 0.5s, visibility 0s 0.5s;
}

#fullscreenmenu ul{
	margin: 0;
	padding: 0;
	list-style: none;
	width: 100%;
  position: relative;
  font-size: 2.0em; /* font size of UL menu */
  transform: translate3D(0, -40px, 0);
	font-family:"Hiragino Kaku Gothic Pro","ヒラギノ角ゴ Pro W3",Meiryo,Osaka,"メイリオ","ＭＳ Ｐゴシック","MS PGothic",sans-serif;
  opacity: 0;
  transition: all 0.5s 0.4s;
}

#fullscreenmenu ul li{
width: 100%; /* by default, show 2 columns of links */
display: inline;
text-align: center;
box-sizing: border-box;
font-size: 1.4em;
}
#fullscreenmenu ul li span{
display: block;
font-size: 0.8em;
}
#fullscreenmenu ul li span:first-child{
font-size: 0.8em;
font-weight: bold;
background-color: #57c3ea;
color: #fff;
width: 50%;
margin: 0 auto 10px auto;
padding: 10px 0;
}
#fullscreenmenu ul li a{
text-decoration: none;
position: relative;
color: #FFF; /* link color */
padding: 50px; /* general spacing between links */
display: block;
transition: background 0.3s;
}


#fullscreenmenu ul li a:hover{
  background-color: #57c3ea;
}

#fullscreenmenu ul li a:hover:after{
  width: 100%;
}

/* #### Menu Hamburger Icon UI when shrinked CSS ######## */

#hamburgerui.shrink li:nth-last-of-type(n+2) a{
  opacity: 0;
  pointer-events: none;
}



/* #### Menu Opened State CSS ######## */

#hamburgericonmenuwrapper.open #fullscreenmenu{
	visibility: visible;
  -webkit-transform: translate3D(0, 0, 0); /* show menu by shifting it vertically to visible position within container */
  transform: translate3D(0, 0, 0);
  -webkit-transition: -webkit-transform 0.5s;
  transition: transform 0.4s;
}

#hamburgericonmenuwrapper.open #navtoggler{
  border-width: 0;
}

#hamburgericonmenuwrapper.open #navtoggler::before{
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg); /* rotate line to create "x" */
}

#hamburgericonmenuwrapper.open #navtoggler::after{
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg); /* rotate line to create "x" */
}

#hamburgericonmenuwrapper.open #hamburgerui li:nth-last-of-type(n+2) a{
  opacity: 0;
  pointer-events: none;
}

#hamburgericonmenuwrapper.open #fullscreenmenu ul{
  opacity: 1;
  -webkit-transform: translate3D(0, 0, 0);
  transform: translate3D(0, 0, 0); /* restore UL to original positon */
}
}

/* ####### responsive layout CSS ####### */

@media (max-width: 800px) { /* 1st breaking point */

	#hamburgerui li a{
		padding: 25px; /*padding inside each link */
  }

  #fullscreenmenu ul{
    font-size: 2em;
  }

}

@media (max-width: 600px) { /* 2nd breaking point */

	#hamburgerui li a{
		padding: 20px; /*padding inside each link */
	}

  #fullscreenmenu ul{
    font-size: 1.5em;
  }
}

@media (max-width: 480px) { /* 3rd breaking point */
  #fullscreenmenu ul{
    font-size: 1em;

  }
}




@keyframes slide {
  0% {
    transform:translateX(-25%);
  }
  100% {
    transform:translateX(25%);
  }
}

