@charset "utf-8";

/*========= 紙芝居風レイアウトのためのCSS ===============*/

section.fixed{
    position: -webkit-sticky;/*Safari*/
    position: sticky;
  top: 10.5%;/*Header高さ分で止まるようにする*/
  /*装飾のためのCSS*/
  background:#fff;
  padding:80px 30px 170px 30px;
  min-height: 100vh;
}

section.fixed:nth-of-type(2nd){
/*装飾のためのCSS*/
  color:#fff;
  text-align: center;
  padding:300px 30px;
  min-height: auto;
}
section.fixed:nth-of-type(3rd){
/*装飾のためのCSS*/
  color:#fff;
  text-align: center;
  padding:300px 30px;
  min-height: auto;
}
section.fixed:nth-of-type(4th){
/*装飾のためのCSS*/
  color:#fff;
  text-align: center;
  padding:300px 30px;
  min-height: auto;
}
section.fixed:nth-of-type(5th){
/*装飾のためのCSS*/
  color:#fff;
  text-align: center;
  padding:300px 30px;
  min-height: auto;
}
section.fixed:nth-of-type(6th){
/*装飾のためのCSS*/
  color:#fff;
  text-align: center;
  padding:300px 30px;
  min-height: auto;
}
section.fixed:nth-of-type(7th){
/*装飾のためのCSS*/
  color:#fff;
  text-align: center;
  padding:300px 30px;
  min-height: auto;
}
section.fixed:nth-of-type(8th){
/*装飾のためのCSS*/
  color:#fff;
  text-align: center;
  padding:300px 30px;
  min-height: auto;
}
section.fixed:nth-of-type(9th){
/*装飾のためのCSS*/
  color:#fff;
  text-align: center;
  padding:300px 30px;
  min-height: auto;
}

section.fixed:last-of-type{
  padding:170px 30px 100px 30px;/*最後のセクションだけ止まらないため、エリア内の情報が少ない時は、HEADER分の高さをpadding-topに追加して上部が見えるようにする*/
}




/*＝＝＝＝＝＝＝＝＝＝＝iphone max以下の見え方＝＝＝＝＝＝＝＝＝＝＝＝＝*/

@media screen and (max-width:414){
  section.fixed,
  section.fixed:last-of-type{
    position:relative!important;/*sticky解除*/
  top:0;/*85px⇒0pxに戻す*/
  min-height: auto;
  padding:30px;
}

  section.fixed:first-of-type{
  padding:100px 30px 30px 30px;/*最初の要素は上部にHeaderの高さ以上の余白をとる*/
  }
  
  section.fixed:nth-of-type(2nd){
  padding:100px 30px;
  }
  
  section.fixed:nth-of-type(3rd){
  padding:100px 30px;
  }
   section.fixed:nth-of-type(4th){
  padding:100px 30px;
  }
  
  section.fixed:nth-of-type(5th){
  padding:100px 30px;
  }
 section.fixed:nth-of-type(6th){
  padding:100px 30px;
  }
section.fixed:nth-of-type(7th){
  padding:100px 30px;
  }
  section.fixed:nth-of-type(8th){
  padding:100px 30px;
  }
  section.fixed:nth-of-type(9th){
  padding:100px 30px;
  }
   section.fixed:nth-of-type(10th){
  padding:100px 30px;
  }
}

/*========= レイアウトのためのCSS ===============*/


#page-top a{
    font-size:100%;
    opacity: 60%;
    text-align: center;
    color: #9DA7BD;
    display: block;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-top: 30px;
}
#page-top a:hover{
    text-decoration: none;
    filter: brightness(120%);
    transform: scale(0.9);
 
}



/*========= ページネーションCSS ===============*/

.pagination {
  position:fixed;
  right:20px;
  top: 50%;
 transform: translateY(-50%);
  font-size:1em;
  z-index: 10;
  list-style: none;
}

.pagination a {
  display:block;
  height:20px;
  margin-bottom:5px;
  color:#9DA7BD;
  position:relative;
  padding:4px;
}

.pagination a.active:after {
  box-shadow:inset 0 0 0 5px;
}

/*現在地表示のテキストの設定*/
.pagination a .hover-text {
  position:absolute;
  right:15px;
  top:0;
  opacity:0;
  -webkit-transition: opacity 0.5s ease;
  transition: opacity 0.5s ease;
  padding-right: 15px;
}

.pagination a:hover .hover-text {
  opacity: 1;
}

.pagination a:after {
  -webkit-transition:box-shadow 0.5s ease;
  transition:box-shadow 0.5s ease;
  width:10px;
  height:10px;
  display: block;
  border:1px solid;
  border-radius:50%;
  content:"";
  position: absolute;
  margin:auto;
  top:0;
  right:3px;
  bottom:0;
}

/*768px以下は現在地表示のテキストを非表示*/
@media screen and (max-width:736) { 
  .pagination a .hover-text{
    display: none;
  } 
}


