@charset "UTF-8";
/* CSS Document */

* { box-sizing: border-box; }

body {
  font-family: 'ヒラギノ角ゴ Pro', 'Hiragino Kaku Gothic Pro','メイリオ', 'Meiryo', '游ゴシック', 'Yu Gothic', 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  position: relative;	
  color: #222;
}

#stories_bg {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  z-index: -1;
  background: url("images/bg.png") no-repeat bottom center;
  background-size: cover;
  width: 100vw;
  height: 100%;
}


/* header */

header {
  width: 100%;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(15px);
  background-color: rgba(255,255,255, 0.8);
  border-bottom: 1px solid #fff;
  position: fixed;
  z-index: 50;
}

.header_area {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.toTop a {
  display: block;
  color: #2F3640;
  border: 2px solid #2F3640;
  padding: 15px 10px;
  line-height: 0;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
  font-size: 14px;
}

.toTop a:visited { color: #2F3640; }

.toTop a:hover {
  color: #fcfcfc;
  background: #2F3640;
}

@media screen and (max-width: 896px) {

  .header_area {
    max-width: 756px;
    width: 95%;
    padding: 10px;
  }
  .toTop a {
    border: 1px solid #2F3640;
    font-size: 13px;
  }
  
  .header_area img {
    display: block;
    height: 16px;
    width: auto;
  }
  
}




/* main */


article {
  display: flex;
  flex-direction: column;
  width: 95%;
  max-width: 960px;
  margin: 0 auto;
  padding: 105px 0 30px;
}

article a {
  display: flex;
  width: 70%;
  height: 200px;
  justify-content: center;
  align-items: flex-end;
  text-decoration: none;
  color: #fcfcfc;
  font-weight: bold;
  margin-bottom: 20px;
  transition: 0.3s;
  opacity: 0;
}

article a:visited { color: #fcfcfc; }

article a:first-child { align-self: flex-start; }
article a:nth-child(2) { align-self: center; }
article a:last-child { align-self: flex-end; margin-bottom: 0; }

article a:hover .kamaishi_thumb,
article a:hover .bousai_thumb,
article a:hover .rugby_thumb { 
  box-shadow: 15px 15px 50px -30px rgba(0,0,0,0.6);
}

article a:hover .title_box { box-shadow: 5px 5px 30px -10px rgba(0,0,0,0.6); }

.kamaishi_thumb,.bousai_thumb,.rugby_thumb { width: 90%; height: 100%; transition: 0.3s; }

.kamaishi_thumb { 
  background: url("images/kamaishi.jpg") no-repeat center;
  background-size: cover;
}

.bousai_thumb { 
  background: url("images/bousai.jpg") no-repeat center;
  background-size: cover;
}

.rugby_thumb { 
  background: url("images/rugby.jpg") no-repeat center;
  background-size: cover;
}

.title_box {
  font-size: 18px;
  line-height: 1;
  background: #2F3640;
  width: 220px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-bottom: 30px;
  margin-left: -130px;
}

.title_box::after {
  content:"";
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: -10px;
  right: -10px;
  border: 1px solid #2F3640;
}

@media screen and (max-width: 896px) {
  
  article {
    max-width: 756px;
    padding: 70px 0 30px;
  }

  article a {
    display: flex;
    width: 100%;
    height: 180px;
    margin-bottom: 15px;
  }

  article a:first-child { align-self: flex-start; }
  article a:nth-child(2) { align-self: flex-start; }
  article a:last-child { align-self: flex-start; margin-bottom: 0; }

  .kamaishi_thumb,.bousai_thumb,.rugby_thumb { width: 90%; height: 100%; }

  .title_box {
    font-size: 16px;
    width: 220px;
    height: 60px;
    margin-right: 10px;
    margin-left: -170px;
  }
  
}



/*animation*/

.slide {
  animation-name:slideAnime;
  animation-duration:0.5s;
  animation-fill-mode:forwards;
  opacity: 0;
}

@keyframes slideAnime{
  from {
    opacity: 0;
	  transform: translatex(-100px);
  }

  to {
    opacity: 1;
	  transform: translateY(0);
  }
}