html,body {
  margin: 0;
  padding: 0;
  height: 100vh;
}
body {
  font-family: -apple-system, blinkMacSystemFont, /* Macの欧文はSan Francisco (OS X 10.11以降) */
               'Helvetica Neue', /* Macの欧文 (OS X 10.10以前) */
               'Segoe UI',       /* Windowsの欧文 */
               YuGothicM,        /* Windows8.1以上は游ゴシック */
               YuGothic,         /* Macの游ゴシック */
               Meiryo,           /* 游ゴシックが入っていないWindows */
               sans-serif;
}
/* Windows */
@font-face {
  font-family: YuGothicM;
  font-weight: normal;
  src: local('YuGothic-Medium'),  /* Mediumを明示的に指定 */
       local('Yu Gothic Medium'), /* Chrome用 */
       local('YuGothic-Regular'); /* Windows8.1ではMediumがないのでRegularを指定 */
}
@font-face {
  font-family: YuGothicM;
  font-weight: bold;
  src: local('YoGothic-Bold'), /* Boldはそのまま */
       local('Yu Gothic');     /* Chrome用 */
}
#header {
  background: #000;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-align-items: center;
  align-items: center;
  padding: 0.7em 2em;
  position: fixed;
  width: 100vw;
  top: 0;
  left: 0;
  z-index: 100;
  box-sizing: border-box;
}
h1 {
  padding: 0;
  margin: 0;
}
h2 {
  padding: 0;
  margin: 0;
}
h1 img {
  width: 150px;
  opacity: 1;
  transition: all 0.3s ease;
  display: block;
}
h1 a:hover img {
  opacity: 0.6;
}
#header a {
  color: #fff;
  text-decoration: none;
}
nav {
  width: 30vw;
  height: 100%;
  font-size: 16px;
}
#gnav {
  list-style: none;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  margin: 0;
  padding: 0;
}
.slicknav_menu {
  display: none;
}
@media screen and (max-width:960px) {
  #header {
    display: none;
  }
  .slicknav_menu:before {
      width: 150px;
      height: 30px;
      float: left;
      background-image: url(../images/logo.svg);
      background-repeat: no-repeat;
      background-position: center left;
      background-size: 100%;
      content:"";
  }
  .slicknav_menu {
    display: block;
    background: #000;
    position: fixed;
    width: 100vw;
    top: 0;
    left: 0;
    z-index: 100;
  }
  .slicknav_btn {
    margin: 0;
    background-color: transparent;
  }
  /*ハンバーガーメニューのエフェクト*/
  .slicknav_icon,
  .slicknav_icon span {
      display: inline-block;
      transition: all .4s;
      box-sizing: border-box;
  }
  .slicknav_icon {
      position: relative;
      width: 50px;
      height: 44px;
  }
  .slicknav_menu .slicknav_icon-bar{
      position: absolute;
      left: 0;
  }
  .slicknav_icon span:nth-of-type(1) {
      top: 0;
  }
  .slicknav_icon span:nth-of-type(2) {
      top: 3px;
  }
  .slicknav_icon span:nth-of-type(3) {
      bottom: 0;
  }
  .active .slicknav_icon-bar:nth-of-type(1) {
      -webkit-transform: translateY(6px) rotate(-45deg);
      transform: translateY(6px) rotate(-45deg);
  }
  .active .slicknav_icon-bar:nth-of-type(2) {
      opacity: 0;
  }
  .active .slicknav_icon-bar:nth-of-type(3) {
      -webkit-transform: translateY(-6px) rotate(45deg);
      transform: translateY(-6px) rotate(45deg);
  }
}

nav a {
  transition: all 0.3s ease;
}
nav a:hover {
  text-shadow: 0px 0px 7px #1e90ff, 0px 0px 10px #ffffff;
}


div {
  box-sizing: border-box;
  color: #FFF;
  overflow: hidden;
}
@media screen and (min-width:961px) {
  .parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }
}
.img-bg-01 {
  background-image: url(../images/mv.png);
  position: relative;
  z-index: 0;
  height: 80vh;
}
#mv {
  margin: 0 auto;
  padding: 0;
  width: 40vw;
  height: 40vh;
  position: fixed;
  top: 40%;
  left: 0;
  right: 0;
  z-index: 1;
}
#mv img {
  width: 100%;
}
#mv div {
  height: auto;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}
#mv p {
  padding-top: 70px;
  position: relative;
  margin: 0;
  text-align: center;
  font-size: 12px;
}
#mv p span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 20px;
  height: 20px;
  margin-left: -10px;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-animation: sdb 2s infinite;
  animation: sdb 2s infinite;
  opacity: 0;
  box-sizing: border-box;
}
#mv p span:nth-of-type(1) {
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
}
#mv p span:nth-of-type(2) {
  top: 16px;
  -webkit-animation-delay: .15s;
  animation-delay: .15s;
}
#mv p span:nth-of-type(3) {
  top: 32px;
  -webkit-animation-delay: .3s;
  animation-delay: .3s;
}
@media screen and (max-width:960px) {
  #mv p span {
    width: 10px;
    height: 10px;
  }
  #mv p span:nth-of-type(2) {
    top: 8px;
  }
  #mv p span:nth-of-type(3) {
    top: 16px;
  }
}
#rinen {
  background: #000;
  text-align: center;
  padding: 0;
  height: 80vh;
  position: relative;
  z-index: 2;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
}
#rinen .effect {
  width: 50%;
  border: 1px solid #aaa;
  padding: 80px 0;
}
@media screen and (max-width:960px) {
  #rinen div.effect {
    width: 80%;
    padding: 80px 20px;
  }
}

#rinen h2,
#service h2,
#gaiyo h2 {
  margin-bottom: 50px;
}
.img-bg-02 {
  background-image: url(../images/img2.png);
  position: relative;
  z-index: 3;
  /*min-height: 100vh;*/
  padding: 50px 0;
}
#service {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  text-align: center;
}
#service div {
  width: 60%;
  height: auto;
}

#service .effect div {
  width: 100%;
}
#service div ul {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 0;
}
#service li {
  width: 30%;
  background: rgba(0,0,0,0.5);
  border-radius: 10px;
  text-align: center;
  padding: 2em 0;
  color: #fff;
  font-weight: bold;
  letter-spacing: 0.05em;
}
#service li i {
  display: block;
  margin: 0 auto 0.5em;
  font-size: 72px;
  color: #808080;
}
@media screen and (max-width:960px) {
  #service div ul {
    -webkit-flex-direction: column;
    flex-direction: column;
  }
  #service li {
    width: 100%;
  }
  #service li:not(last-of-type) {
    margin-bottom: 30px;
  }
  #service li i {
    margin: 0 auto 0.1em;
  }
}
#gaiyo {
  background: #000;
  text-align: center;
  padding: 100px 0;
  height: auto;
  position: relative;
  z-index: 4;
}
#gaiyo table {
  border-collapse: collapse;
  font-size: 14px;
  margin: 0 auto;
  width: 40vw;
}
#gaiyo table th,
#gaiyo table td {
  border: 1px solid #535353;
  padding: 1em;
}
#gaiyo table th {
  width: 30%;
  background: #191919;
}
#gaiyo table td {
  text-align: left;
  width: 70%;
}
@media screen and (max-width:960px) {
  #gaiyo table {
    width: 80vw;
  }
}
.img-bg-03 {
  background-image: url(../images/img3.png);
  position: relative;
  z-index: 5;
  height: 100%;
}
#contact {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  text-align: center;
}
#contact div {
  width: 60%;
  height: auto;
}
#contact a {
  color: #fff;
  font-weight: bold;
}
.effect h2 {
  font-size: 32px;
  transition: .8s;
}
.effect div {
  margin: auto;
  transition: .8s;
  transition-delay: .8s;
}

@-webkit-keyframes sdb {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes sdb {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

#page-top{
  position: fixed;
  z-index: 9999;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(95,95,95,.7);
  color: #fff;
  text-align: center;
  text-decoration: none;
}
#page-top span {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  height: 100%;
  width: 100%;
}
#page-top i {
  font-size: 32px;
}
#page-top:hover{
  background: rgba(95,95,95,.8);
}
