@charset "UTF-8";

/* reset
------------------------------------------------- */
html, body, h1, h2, h3, h4, p, ul, li, dl, dt, dd {
  margin: 0;
  padding: 0;
  line-height: 1.0;
  font-family: "ヒラギノ角ゴ ProN W3", "Lucida Grande", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, Verdana, "ＭＳ Ｐゴシック", sans-serif;
}
ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
a:hover {
  opacity: 0.5;
  transition: 0.5s;
}
img {
  border: none;
  vertical-align: bottom;
  max-width: 100%;
  height: auto;
}

/* body
--------------------------------------------------- */
html {
  font-size:62.5%;
}
body {
  font-size: 1.6rem;
  background: #fff;
}

/* nav
--------------------------------------------------- */
.navBtn {
  position: fixed;
  top: 15px;
  right: 10px;
  background: url(../img/common/menu.png);
  width: 50px;
  height: 50px;
  z-index: 1001;
}
.open .navBtn{
  position: fixed;
  top: 15px;
  right: 10px;
  background: url(../img/common/close.png);
  width: 50px;
  height: 50px;
  z-index: 1001;
}
.open .nav {
  -webkit-transition: all .5s;
  transition: all .5s;
  visibility: visible;
  opacity: 1;
}

/* --- メニューリストのアニメーション ----------------- */
.nav ul li {
  opacity: 0;
  -webkit-transform: translateX(-20px);
  transform: translateX(-20px);
  -webkit-transition: none;
  transition: none;
}
.open .nav ul li {
  opacity: 1;
  -webkit-transform: translateX(0);
  transform: translateX(0);

  -webkit-transition: all .3s ease-out;
  transition: all .3s ease-out;

  -webkit-transition-delay: .1s;
  transition-delay: .1s;
}
.open .nav ul li:nth-child(2) {
  -webkit-transition-delay: .2s;
  transition-delay: .2s;
}
.open .nav ul li:nth-child(3) {
  -webkit-transition-delay: .3s;
  transition-delay: .3s;
}
.open .nav ul li:nth-child(4) {
  -webkit-transition-delay: .4s;
  transition-delay: .4s;
}
.open .nav ul li:nth-child(5) {
  -webkit-transition-delay: .5s;
  transition-delay: .5s;
}
.open .nav ul li:nth-child(6) {
  -webkit-transition-delay: .6s;
  transition-delay: .6s;
}
.open .nav ul li:nth-child(7) {
  -webkit-transition-delay: .7s;
  transition-delay: .7s;
}
.open .nav ul li:nth-child(8) {
  -webkit-transition-delay: .8s;
  transition-delay: .8s;
}
.open .nav ul li:nth-child(9) {
  -webkit-transition-delay: .9s;
  transition-delay: .9s;
}
.open .nav ul li:nth-child(10) {
  -webkit-transition-delay: 1.0s;
  transition-delay: 1.0s;
}
.open .nav ul li:nth-child(11) {
  -webkit-transition-delay: 1.1s;
  transition-delay: 1.1s;
}
.open .nav ul li:nth-child(12) {
  -webkit-transition-delay: 1.2s;
  transition-delay: 1.2s;
}

/* 横向きのスタイル
--------------------------------------------------- */
@media screen and (orientation: landscape){

/* nav
--------------------------------------------------- */
.nav {
  position: fixed;
  display: table;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(255,255,255,0.9);
  -webkit-transition: all .5s;
  transition: all .5s;
  visibility: hidden;
  opacity: 0;
  margin-top: -10px;
  padding-bottom: 30px;
  z-index: 1000;
}
.nav ul {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  -webkit-transform: translateY(-50%) translateX(-50%);
  -ms-transform: translateY(-50%) translateX(-50%);
}
.nav li {
  text-align: left;
  font-size: 1.5vw;
  font-weight: 600;
  color: #4282F1;
  padding: 3vh;
}
    
    
}



/* 縦向きのスタイル
--------------------------------------------------- */
@media screen and (orientation: portrait){

/* nav
--------------------------------------------------- */
.nav {
  position: fixed;
  display: table;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(255,255,255,0.9);
  -webkit-transition: all .5s;
  transition: all .5s;
  visibility: hidden;
  opacity: 0;
  margin-top: -30px;
  padding-bottom: 30px;
  z-index: 1000;
}
.nav ul {
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translateY(-50%) translateX(-21%);
    -webkit-transform: translateY(-50%) translateX(-21%);
    -ms-transform: translateY(-50%) translateX(-21%);
}
.nav li {
  text-align: left;
  font-size: 4.5vw;
  font-weight: 600;
  color: #4282F1;
  padding: 3vh;
}


}

/* max-width:1024px
--------------------------------------------------- */
@media screen and (max-width:1024px){
a:hover {
  opacity: 1;
}
.container {
  padding: 0 5px;
}

}

/* max-width:767px
--------------------------------------------------- */
@media screen and (max-width:767px){

/* nav
--------------------------------------------------- */
.navBtn {
  position: fixed;
  top: 15px;
  right: 10px;
  background: url(../img/common/menu_s.png);
  width: 30px;
  height: 30px;
}
.open .navBtn{
  position: fixed;
  top: 15px;
  right: 10px;
  background: url(../img/common/close_s.png);
  width: 30px;
  height: 30px;
}

}
