@charset "utf-8";
/* top CSS Document */
* {
  margin: 0;
  padding: 0;
  font-family: 'Klee One', cursive;
  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;
  } /*変化させたい色*/
  70% {
    background: #ffff8c;
  } /*変化させたい色*/
  85% {
    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;
}
/*下からの距離が変化して上から下に動く*/
@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 span {
  position: absolute;
  top: 100px;
  right: 10%;
  color: #fff;
  font-family: 'Klee One', cursive;
  font-size: 30px;
}

/*==================================================
じわっ
===================================*/
.blur {
  animation-name: blurAnime;
  animation-duration: 2s;
  animation-fill-mode: forwards;
}
@keyframes blurAnime {
  from {
    filter: blur(10px);
    transform: scale(1.02);
    opacity: 0;
  }
  to {
    filter: blur(0);
    transform: scale(1);
    opacity: 1;
  }
}
.blurTrigger {
  opacity: 0;
}
#container {
  width: 960px;
  margin-right: auto;
  margin-left: auto;
  position: relative;
  padding-bottom: 100px;
}
#main {
  overflow: hidden;
}
.intro {
  text-align: center;
  margin: 300px 0;
  font-size: 28px;
  font-family: 'Kaisei Decol', serif;
  font-weight: 600;
  color: #F64A8A;
}
/*========= 光りながら出現させるためのCSS ===============*/
.intro span {
  opacity: 0;
}
/*アニメーションで透過を0から1に変化させtext-shadowをつける*/
.intro.glow span {
  animation: glow_anime_on 2s ease-out forwards;
}
@keyframes glow_anime_on {
  0% {
    opacity: 0;
    text-shadow: 0 0 0 #fff, 0 0 0 #fff;
  }
  50% {
    opacity: 1;
    text-shadow: 0 0 10px #fff, 0 0 15px #fff;
  }
  100% {
    opacity: 1;
    text-shadow: 0 0 10px #fff, 0 0 15px #fff;
  }
}
/*topページの3つの写真のところ*/
.subject {
  width: 300px;
  float: left;
  margin: 10px;
  justify-content: center;
  padding-top: 100px;
  padding-bottom: 20px;
  margin-bottom: 150px;
}
.subject h2 + p {
  font-size: 16px;
  font-weight: bold;
  padding-bottom: 7px;
  border-bottom-width: 1px;
  border-bottom-style: dotted;
  border-bottom-color: #046096;
  margin-top: 0px;
}
.bgDU {
  position: relative; /*テキストの基点となる位置を定義*/
  cursor: pointer;
}
.bgDU span.mask {
  position: relative; /*背景色の基点となる位置を定義*/
  display: block;
  line-height: 0; /*行の高さを0にする*/
  overflow: hidden; /*拡大してはみ出る要素を隠す*/
}
.bgDU span.mask::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  top: 0;
  opacity: 0; /*透過0*/
  transition: .3s ease-in-out; /*移り変わる速さを変更したい場合はこの数値を変更*/
  transform: translateY(100%);
  background: #fb607f; /*背景色*/
  width: 100%;
  height: 100%;
}
.bgDU:hover span.mask::before { /*hoverした時の変化*/
  opacity: 0.9; /*透過なしに変化*/
  transform: translateY(0);
}
.bgDU span.cap { /*画像の上のテキスト*/
  position: absolute;
  opacity: 0; /*透過0*/
  transition: .5s ease-in-out; /*移り変わる速さを変更したい場合はこの数値を変更*/
  z-index: 3; /*テキストを前面に出す*/
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /*テキストの位置中央指定*/
  color: #fff; /*テキストの色を変えたい場合はここを修正*/
  line-height: 1.5; /*行の高さを1.5にする*/
  font-size: 20px;
}
.bgDU:hover span.cap { /*hoverした時の変化*/
  opacity: 1; /*透過なしに変化*/
}

/*========= 下からテキスト ===============*/
/*画像のレスポンシブ*/
.bgDU img {
  width: 100%;
  height: auto;
}
/* 横幅 */
.bgDU {
  width: 100%;
  margin: 0 auto; /*中央揃え*/
}
.hyper a {
  text-decoration: none;
  color: #000000
}
.hyper p {
  color: #000;
  margin: 10px auto;
  padding: 5px;
  border-bottom-width: 1px;
  border-bottom-style: dotted;
  border-bottom-color: #046096;
  text-align: left;
  padding-bottom: 20px;
  font-weight: bold;
}
canvas {
  position: absolute;
  bottom: 440px;
  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;
}
/*ここから下がハンバーガーメニューのスタイル*/
@media screen and (max-width: 768px) {
  #eyecatch span {
    font-size: 0.9em;
  }
  .scrolldown {
    display: none;
  }
  .intro {
    margin: 100px 30px;
    font-size: 1.2em;
  }
  #main {
    margin-left: 20%;
  }
  #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;
  }
  canvas {
    display: none;
  }
}

@media screen and (max-width: 450px){
#map {
display: none;
}
}
