/* ========================================

  style CSS

======================================== */

@import url('https://fonts.googleapis.com/css?family=EB+Garamond:500i&display=swap');

#contents #contentsBody p{
  text-align: justify;
  line-height: 1.8;
}
#contents .section+.section{
  margin-top: 80px;
}

/*--------------------------------------
  index
--------------------------------------*/
h2{
  font-size: 20px;
  margin-bottom: 10px;
}

#contents #contentsBody #intro .yassan{
  animation-name: anime;
  animation-duration: 3s;
  animation-iteration-count: infinite;
}
@keyframes anime
{
  from{ transform : translateY(-10px); }
  50%{ transform : translateY(20px); }
  to{ transform : translateY(-10px); }
}

#intro{
  background-image: url("../img/sky.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
  color: #e8e3d8;
  text-align: center;
  position: relative;
}
#contents #contentsBody #intro .inner{
  padding-top: 100px;
}
#contents #contentsBody #intro h2{
  font-size: 30px;
  margin-top: 40px;
}
#contents #contentsBody #intro h2+p{
  margin-top: 40px;
}
#contents #contentsBody #intro p{
  text-align: center;
  font-size: 16px;
  line-height: 2;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-weight: 700;
}
#contents #contentsBody #intro p+p{
  margin-top: 20px;
}
#intro .star{
  position: absolute;
  top:120px;
  right: 15%;
}

/*history*/
#contents  .historyArea{
  background: url("../img/line.png");
  background-repeat: repeat-y;
  background-size: 10px 2px;
  background-position: center;
}
#contents  .historyArea .historyBox{
  display: flex;
  align-items: center;
  background: #fff;
  padding: 20px 20px 20px 0;
  border-radius: 10px;
}
#contents  .historyArea .historyBox + .historyBox{
  margin-top: 20px;
}
#contents  .historyArea .historyBox .year{
  font-family: 'EB Garamond', serif;
  font-weight: 500;
  font-style: italic;
  font-size: 28px;
  width: 200px;
  text-align: center;
}
#contents  .historyArea .historyBox .text{
  width: calc(100% - 200px);
}
#contents #contentsBody .historyBox p.caption{
  font-size: 12px;
  padding: 8px 8px 0;
}
#contents  .historyArea .historyList li{
  border-bottom: solid 1px rgba(35,25,20,.1);
  padding: 8px;
}
#contents  .historyArea .historyList li:last-child{
  border-bottom: none;
}

#contents .photoList{
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}
#contents .photoList li{
  width: 32%;
}

#contents h3.jpTtl{
  font-size: 20px;
  padding: 0 0 12px 8px;
  border-bottom: solid 2px rgba(35,25,20,1);
}
#contents ol.mediaList li{
  padding: 0 0 12px 8px;
  margin-top: 12px;
  border-bottom: solid 1px rgba(35,25,20,.1);
}

/* PC Styles
======================================== */
@media screen and (min-width: 1280px) {
  #intro .btm{
    overflow: hidden;
    text-align: center;
    margin-top: -30px;
  }
  #intro .btm_img{
    background-image: url("../img/btm.png");
    background-size: contain;
    background-position: center bottom;
    background-repeat: no-repeat;
    width: 1280px;
    padding-top: 720px;
    margin: 0 auto;
    text-align:center;
  }
}
@media screen and (max-width:1280px) {
  #intro .btm{
    overflow: hidden;
    text-align: center;
  }
  #intro .btm_img{
    background-image: url("../img/btm.png");
    background-size: contain;
    background-position: center bottom;
    background-repeat: no-repeat;
    width: 140%;
    padding-top: 72%;
    margin: 0 -20%;
  }
}
@media screen and (min-width:1081px) and (max-width:1280px) {
  
}

/* Tablet Styles
======================================== */
@media screen and (min-width:601px) and (max-width:1080px) {
  
}
@media screen and (max-width:1080px) {
  #intro .btm{
    overflow: hidden;
    text-align: center;
  }
  #intro .btm_img{
    width: 180%;
    margin: 0 -40%;
  }
  #intro .star{
    position: absolute;
    top:80px;
    right: 5%;
  }
}

/* Mobile Styles
======================================== */
@media screen and (max-width: 600px) {
  #contents .section+.section{
    margin-top: 40px;
  }
  
  #intro{
    background-image: url("../img/sky_sp.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
  }
  #contents #contentsBody #intro .inner{
    padding-top: 60px;
    width: 80%;
  }
  #contents #contentsBody #intro .yassan{
    width: 80%;
    margin: 0 auto;
  }
  #contents #contentsBody #intro h2{
    font-size: 28px;
    margin-top: 30px;
  }
  #contents #contentsBody #intro h2+p{
    margin-top: 20px;
  }
  #contents #contentsBody #intro p{
    text-align: left;
    font-size: 15px;
    line-height: 1.8;
  }
  #contents #contentsBody #intro p br{
    display: none;
  }
  
  #intro .btm{
    margin-top: 30px;
  }
  #intro .btm_img{
    width: 260%;
    padding-top: 100%;
    margin: 0 -80%;
  }
  #intro .star{
    position: absolute;
    top:40px;
    right: 5%;
    width: 70px;
  }
  
  /*history*/
  #contents  .historyArea .historyBox{
    display: flex;
    flex-direction: column;
    padding: 20px;
  }
  #contents  .historyArea .historyBox + .historyBox{
    margin-top: 20px;
  }
  #contents  .historyArea .historyBox .year{
    font-family: 'EB Garamond', serif;
    font-weight: 500;
    font-style: italic;
    font-size: 28px;
    width: 100%;
    padding-bottom: 8px;
  }
  #contents  .historyArea .historyBox .text{
    width: 100%;
  }
  #contents #contentsBody .historyBox p{
    padding: 8px 8px 0 8px;
  }
  #contents  .historyArea .historyList{
    border-top: solid 1px rgba(35,25,20,.1);
  }
  #contents  .historyArea .historyList li{
    border-bottom: solid 1px rgba(35,25,20,.1);
    padding: 8px;
  }
  #contents  .historyArea .historyList li:last-child{
    border-bottom: none;
  }

  #contents .photoList{
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    margin-bottom: 10px;
    margin-top: 10px;
  }
  #contents .photoList li{
    width: 100%;
  }
  #contents .photoList li+li{
    margin-top: 12px;
  }
}