@charset "UTF-8";
/* about CSS Document */
* {
  margin: 0;
  padding: 0;
  font-family: 'Kaisei Decol', serif;
  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;
}
#eyecatch {
  position: relative;
  width: 100%;
}
#eyecatch span {
  position: absolute;
  bottom: 50%;
  left: 25%;
  color: #fff;
  line-height: 1.5;
  font-size: 100px;
}
#container {
  width: 960px;
  background-color: #fff;
  margin-right: auto;
  margin-left: auto;
  position: relative;
}
canvas {
  position: absolute;
  bottom: 460px;
  left: 0;
  width: 100%;
  z-index: 2;
}
#footer {
  text-align: center;
  position: relative;
  background-image: url("../img/bubble.jpg");
}
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 {
  margin-top: 30px;
  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;
}
/*aboutのところ*/
.fadeUp {
  animation-name: fadeUpAnime; /*アニメーションの定義名*/
  animation-duration: 2s; /*アニメーション変化時間 ※デフォルト*/
  animation-fill-mode: forwards; /*アニメーションの開始と終了時の状態を指定*/
  opacity: 0;
}
/*アニメーションの開始から終了までを指定する*/
@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* スクロールをしたら出現する要素にはじめに透過０を指定*/
.fadeUpTrigger {
  opacity: 0;
}
#content {
  width: 80%;
  margin: 0 auto;
}
#content h2 {
  font-family: 'Kaisei Decol', serif;
  font-size: 28px;
}
.imgL {
  float: left;
  margin-right: 50px;
}
.imgR {
  float: right;
  margin-left: 50px;
}
section {
  height: 600px;
}
.a {
  font-size: 28px;
  font-weight: bold;
  text-align: left;
  border-left-width: 20px;
  border-radius: 10px 0 0 10px;
  border-left-style: solid;
  border-left-color: #FFCEEE;
  margin-top: 60px;
  padding: 7px 20px;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: #FFCEEE;
}
.b {
  font-size: 28px;
  font-weight: bold;
  border-left-width: 20px;
  border-radius: 10px 0 0 10px;
  border-left-style: solid;
  border-left-color: #9876DE;
  margin-top: 60px;
  padding: 7px 20px;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: #9876DE;
}
.c {
  font-size: 28px;
  font-weight: bold;
  border-left-width: 20px;
  border-radius: 10px 0 0 10px;
  border-left-style: solid;
  border-left-color: #CEFFEE;
  margin-top: 60px;
  padding: 7px 20px;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: #CEFFD5;
}
section h2 {
  text-align: left;
  margin-bottom: 30px;
}
section span {
  font-style: italic;
}
section p {
  font-size: 18px;
  text-align: left;
  font-family: 'Kiwi Maru', serif;
  color: #343333;
  line-height: 2;
}
.neo {
  display: none;
}
/*レスポンシブ*/
@media screen and (max-width: 768px) {
  .scrolldown {
    display: none;
  }
  #eyecatch span {
    max-width: 100%;
    left: 25%;
    font-size: 50px;
  }
  .box fadeUpTrigger {
    position: relative;
    margin: 100px auto;
  }
  .first {
    display: none;
  }
  .neo {
    display: block;
    position: absolute;
    top: 300px;
    left: 130px;
    background-color: #CEFFD5;
    width: 70%;
    padding: 10px;
    line-height: 1.2;
  }
  .second {
    position: absolute;
    top: 300px;
    left: 0px;
    background-color: #FFCEEE;
    width: 70%;
    padding: 10px;
    line-height: 1.2;
  }
  .third {
    position: absolute;
    top: 250px;
    left: 130px;
    background-color: #CEFFD5;
    width: 70%;
    padding: 10px;
    line-height: 1.2;
  }
  canvas {
    display: none;
  }
  #map {
    width: 50%;
    margin-bottom: 20px;
  }
  .address span {
    font-size: 18px;
    max-width: 100%;
  }
  .address p {
    font-size: 16px;
    margin-left: 110px;
    margin-top: 30px;
  }
  #icon {
    margin-bottom: 0;
  }
  #footer {
    margin-top: 100px;
  }
}