@charset "UTF-8";
/* contact CSS Document */
* {
  margin: 0;
  padding: 0;
  font-family: 'Kaisei Decol';
  box-sizing: inherit;
  max-width: 100%;
  
}
body {
  animation: bgchange 20s ease infinite; /*変化の時間を変更したい場合は20sの部分を好きな時間に変更*/
  position: relative;
}
@keyframes bgchange {
  0% {
    background: #ffe6e1;
  } /*変化させたい色*/
  25% {
    background: #fdcb9e;
  } /*変化させたい色*/
  50% {
    background: #fdcbc1;
  } /*変化させたい色*/
  75% {
    background: #ffff8c;
  } /*変化させたい色*/
  90% {
    background: #b2dffb;
  } /*変化させたい色*/
  100% {
    background: #ffe6e1;
  } /*変化させたい色*/
}
img {
  vertical-align: bottom;
}
.header {
  position: absolute;
  top: 0;
  left: 0;
}
.menu-btn {
  position: fixed; /*ボタン内側の基点となるためrelativeを指定*/
  background: #fca387;
  width: 50px;
  height: 50px;
  margin-left: 0px;
  border-radius: 5px;
  z-index: 5;
  cursor: pointer;
}
/*×に変化*/
.menu-btn span {
  display: inline-block;
  transition: all .4s; /*アニメーションの設定*/
  position: absolute;
  z-index: 5;
  left: 14px;
  height: 2px;
  border-radius: 5px;
  background: #fff;
  width: 45%;
}
.menu-btn span:nth-of-type(1) {
  top: 13px;
}
.menu-btn span:nth-of-type(2) {
  top: 19px;
}
.menu-btn span:nth-of-type(3) {
  top: 25px;
}
.menu-btn.active span:nth-of-type(1) {
  top: 14px;
  left: 14px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}
.menu-btn.active span:nth-of-type(2) {
  opacity: 0;
}
.menu-btn.active span:nth-of-type(3) {
  top: 26px;
  left: 14px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}
.menu-btn span:nth-of-type(3)::after {
  content: "menu"; /*3つ目の要素のafterにMenu表示を指定*/
  top: 5px;
  left: 0px;
  color: #fff;
  font-size: 0.6rem;
  text-transform: uppercase; /*小文字を大文字に変換*/
}
/*activeクラスが付与されると線が回転して×になり、Menu⇒Closeに変更*/
.menu-btn span {
  display: inline-block;
  transition: all .4s; /*アニメーションの設定*/
  position: absolute;
  z-index: 5;
  left: 14px;
  height: 2px;
  border-radius: 5px;
  background: #fff;
  width: 45%;
}
.menu-btn span:nth-of-type(1) {
  top: 13px;
}
.menu-btn span:nth-of-type(2) {
  top: 19px;
}
.menu-btn span:nth-of-type(3) {
  top: 25px;
}
.menu-btn.active span:nth-of-type(3)::after {
  content: "Close"; /*3つ目の要素のafterにClose表示を指定*/
  transform: translateY(0) rotate(-45deg);
  position: absolute;
  z-index: 5;
  top: 5px;
  left: 4px;
}
#g-nav {
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position: fixed;
  z-index: 4;
  /*ナビのスタート位置と形状*/
  top: 0;
  left: -100%;
  width: 40%;
  height: 100vh; /*ナビの高さ*/
  background: #fca387;
  /*動き*/
  transition: all 1s;
}
/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive {
  left: 0;
}
/*ナビゲーション*/
#g-nav ul {
  /*ナビゲーション天地中央揃え*/
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
/*リストのレイアウト設定*/
#g-nav li {
  list-style: none;
  text-align: center;
}
#g-nav li a {
  color: #FFFFFF;
  text-decoration: none;
  padding: 10px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
  font-size: 20px;
}
/*hoverした時、下線をつける*/
.gnavi li a {
  /*線の基点とするためrelativeを指定*/
  position: relative;
}
.gnavi li.current a, .gnavi li a:hover {
  color: #00A0BA;
}
.gnavi li a::after {
  content: '';
  /*絶対配置で線の位置を決める*/
  position: absolute;
  bottom: 0;
  left: 10%;
  /*線の形状*/
  width: 80%;
  height: 2px;
  background: #0481A2;
  /*アニメーションの指定*/
  transition: all .3s;
  transform: scale(0, 1); /*X方向0、Y方向1*/
  transform-origin: left top; /*左上基点*/
}
/*現在地とhoverの設定*/
.gnavi li.current a::after, .gnavi li a:hover::after {
  transform: scale(1, 1); /*X方向にスケール拡大*/
}
/*スクロールダウン全体の場所*/
.scrolldown {
  /*描画位置※位置は適宜調整してください*/
  position: absolute;
  bottom: 10px;
  right: 50%;
  /*マウスの動き1.6秒かけて動く永遠にループ*/
  animation: mousemove 1.6s ease-in-out infinite;
  z-index: 1;
}
/*下からの距離が変化して上から下に動く*/
@keyframes mousemove {
  0% {
    bottom: 10px;
  }
  50% {
    bottom: 5px;
  }
  100% {
    bottom: 10px;
  }
}
/*Scrollテキストの描写*/
.scrolldown span {
  /*描画位置*/
  position: absolute;
  left: 445px; /*縦の線*/
  top: 540px;
  /*テキストの形状*/
  color: #eee;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}
/*マウスの中の線描写 */
.scrolldown span::after {
  content: "";
  /*描画位置*/
  position: absolute;
  /*  top:580px;*/
  left: 18px;
  /*線の形状*/
  width: 1px;
  height: 15px;
  background: #eee;
  /*線の動き1.4秒かけて動く。永遠にループ*/
  animation: mousepathmove 1.4s linear infinite;
  opacity: 0;
}
/*上からの距離・不透明度・高さが変化して上から下に流れる*/
@keyframes mousepathmove {
  0% {
    height: 0;
    top: 10px;
    opacity: 0;
  }
  50% {
    height: 15px;
    opacity: 1;
  }
  100% {
    height: 0;
    top: 30px;
    opacity: 0;
  }
}
/*マウスの描写 */
.scrolldown:before {
  content: "";
  /*描画位置*/
  position: absolute;
  top: 560px;
  left: 450px;
  /*マウスの形状*/
  width: 25px;
  height: 37px;
  border-radius: 10px;
  border: 1px solid #eee;
}
/*マウスの中の丸の描写*/
.scrolldown:after {
  content: "";
  /*描画位置*/
  position: absolute;
  bottom: -574px;
  left: 460px;
  /*丸の形状*/
  width: 5px;
  height: 5px;
  border-radius: 50%;
  border: 1px solid #eee;
}
#container {
  width: 960px;
  margin-right: auto;
  margin-left: auto;
  position: relative;
}
#main {
  overflow: hidden;
}
.explain {
  margin-top: 100px;
  text-align: center;
}
.explain p {
  margin: 50px 0;
  line-height: 30px;
  font-size: 20px;
}
.rollAnime.roll span {
  font-size: 36px;
  transition-property: opacity, transform;
  transform: rotateY(360deg);
  transition: all 0.8s cubic-bezier(0.77, 0, 0.175, 1);
  transition-timing-function: cubic-bezier(0.77, 0, 0.175, 1);
  display: inline-block;
}
.wrapper p {
  font-size: 30px;
}
#eyecatch {
  position: relative;
  width: 100%;
}
#eyecatch span {
  position: absolute;
  bottom: 50%;
  left: 35%;
  color: #fff;
  line-height: 1.5;
  font-size: 100px;
}
canvas {
  position: absolute;
  bottom: 440px;
  left: 0;
  width: 100%;
  z-index: 2;
}
#footer {
  text-align: center;
  position: relative;
  background-image: url("../img/bubble.jpg");
  margin-top: 200px;
}
strong {
  font-size: 12px;
  text-align: center;
  color: #f00;
}
small {
  display: block;
  padding-left: 20px;
  color: #046096;
}
#icon {
  margin-bottom: 20px;
  padding-left: 30px;
}
.address {
  color: #00A0BA;
  position: absolute;
  top: 50px;
  left: 40%;
}
.address span {
  font-style: italic;
  font-size: 28px;
}
.address p {
  font-size: 20px;
}
#map {
  text-align: left;
  padding-top: 80px;
  margin-left: 40px;
}
#map iframe {
  box-shadow:
    0 0 0 6px #fff inset, 0 0 0 3px #f0f, 0 0 0 6px #fffa9a, 0 0 0 12px #9cc883;
}
#gotop {
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 3;
}
/*contact*/
#date {
  width: 100px;
  text-align: center;
}
label {
  display: block;
  text-align: left;
  padding-top: 30px;
}
#namae, #email {
  width: 300px;
  text-align: left;
  line-height: 30px;
}
#comment {
  width: 550px;
  text-align: left;
}
form {
  margin-top: 30px;
  padding-top: 30px;
  padding-right: 20px;
  padding-bottom: 30px;
  padding-left: 80px;
  text-align: left;
}
form p {
  text-align: left;
}
.enterbtn {
  text-align: left;
  margin-top: 30px;
}
.enterbtn input {
  width: 200px;
  background: #CEFFD5;
  border: 1px solid #CEFFD5;
  border-radius: 10px;
  font-size: 1em;
  transition: 1s;
  line-height: 2;
}
.enterbtn input:hover {
  opacity: 0.5;
  cursor: pointer;
  background-color: #fc6;
  color: #00A0BA;
  font-weight: bold;
}
.grad {
  background: repeating-linear-gradient(135deg, #fff, #fff 10px, #fef 10px, #fef 20px);
}
/*レスポンシブ*/
@media screen and (max-width: 768px) {
  .scrolldown {
    display: none;
  }
  #eyecatch span {
    max-width: 100%;
    left: 30%;
    font-size: 50px;
  }
  #map {
    width: 50%;
    margin-bottom: 20px;
  }
  .address span {
    font-size: 18px;
    max-width: 100%;
  }
  .address p {
    font-size: 16px;
    margin-left: 110px;
    max-width: 100%;
    margin-top: 30px;
  }
  .enterbtn .button {
    margin-top: 10px;
  }
  #icon {
    margin-bottom: 0;
  }
  canvas {
    display: none;
  }
}