@charset "utf-8";
/**************************************************** 
背景色が伸びる（中央から外）
****************************************************/
/* ローディング画面のためのcss */
#splash {
  position: fixed;
  width: 100%;
  height: 100vh;
  background: /*#E4F5F5*/ /*#CAE8E6*/ /*#E2F1F3*//*#DDE5F2*//*rgba(215, 204, 224, 0.9)*/#DBD1E3;
  z-index: 9999999;
  text-align: center;
  color: #fff;
}
#splash-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
/* 画面遷移のためのcss */
/* 画面遷移アニメーション */
.splashbg1, .splashbg2 {
  display: none;
}
body.appear .splashbg1, body.appear .splashbg2 {
  display: block;
}
/* 右に消えるエリア */
body.appear .splashbg1 {
  animation-name: PageAnime;
  animation-duration: 1.2s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
  content: "";
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 50%;
  transform: scaleX(1);
  background-color: /*#CAE8E6*//*#DDE5F2*//*rgba(215, 204, 224, 0.9)*/#DBD1E3; /*伸びる背景色の設定*/
}
@keyframes PageAnime {
  0% {
    transform-origin: left;
    transform: scaleX(1);
  }
  50% {
    transform-origin: right;
  }
  100% {
    transform-origin: right;
    transform: scaleX(0);
  }
}
/* 左に消えるエリア */
body.appear .splashbg2 {
  animation-name: PageAnime2;
  animation-duration: 1.2s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
  content: "";
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  top: 0;
  right: 50%;
  transform: scaleX(1);
  background-color: /*#CAE8E6*//*#DDE5F2*//*rgba(215, 204, 224, 0.9)*/#DBD1E3; /*伸びる背景色の設定*/
}
@keyframes PageAnime2 {
  0% {
    transform-origin: right;
    transform: scaleX(1);
  }
  50% {
    transform-origin: left;
  }
  100% {
    transform-origin: left;
    transform: scaleX(0);
  }
}
/* 画面遷移のあと現れるコンテンツ設定 */
#wrapper {
  opacity: 0; /*はじめは透過０に*/
}
/* bodyにappearクラスがついたら出現 */
body.appear #wrapper {
  animation-name: PageAnimeAppear;
  animation-duration: 1s;
  animation-delay: 0.2s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes PageAnimeAppear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/******************************************
クリックしたらナビ背景コンテンツがぼかされる＊IE非対応
******************************************/
/* ぼかしのためのcss */
.mainblur {
  filter: blur(8px);
}
/*========== ナビゲーションのためのcss ==========*/
#g-nav {
  /*position:fixed;にし、z-indexの数値を小さくして最背面へ */
  position: fixed;
  z-index: -1;
  opacity: 0;
  top: 0;
  width: 100%;
  height: 100vh; /*ナビの高さ*/
  background: /*rgba(215, 204, 224, 0.9)*/#DBD1E3; /*背景を少し透過させる*/
  /* 動き */
  transition: all 0.3s;
}
/*アクティブクラスがついたら透過なしにして最前面へ */
#g-nav.panelactive {
  opacity: 1;
  z-index: 999;
}
/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list {
  /*ナビの数が増えた場合縦スクロール*/
  poisition: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh; /*表示する高さ*/
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
/*ナビゲーション*/
#g-nav ul {
  display: none; /*はじめは非表示*/
  /*ナビゲーション天地中央揃え*/
  position: absolute;
  z-index: 999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#g-nav.panelactive ul {
  display: block;
}
#g-nav li {
  list-style: none;
  text-align: center;
}
#g-nav li a {
  color: #fff;
  text-decoration: none;
  padding: 10px;
  display: block;
  letter-spacing: 0.5em;
  font-weight: bold;
}
/***************************************************
ボタン：2本線がxに
****************************************************/
/*ボタン外側*/
.openbtn {
  position: fixed;
  z-index: 9999; /*ボタンを最前面に*/
  top: 10px;
  right: 10px;
  cursor: pointer;
  width: 50px;
  height: 50px;
}
/*ボタン内側*/
.openbtn span {
  display: inline-block;
  transition: all .4s; /*アニメーションの設定*/
  position: absolute;
  left: 10px;
  height: 2px;
  background-color: #666;
}
.openbtn span:nth-of-type(1) {
  top: 22px;
  width: 45%;
}
.openbtn span:nth-of-type(2) {
  top: 29px;
  width: 30%;
}
.openbtn span:nth-of-type(3) {
  top: 36px;
  height: 0;
  font-size: 0.8em;
  letter-spacing: 0.1em;
}
/*activeクラスが付与されると線が回転して×に*/
.openbtn.active span:nth-of-type(1) {
  top: 20px;
  left: 16px;
  transform: translateY(6px) rotate(-45deg);
  width: 35%;
}
.openbtn.active span:nth-of-type(2) {
  top: 32px;
  left: 16px;
  transform: translateY(-6px) rotate(45deg);
  width: 35%;
}
/******************************************/
/*テキストの動き */
/******************************************/
/*テキストが流れるように出現(左から右)******/
/* 全共通 */
.slide-in {
  overflow: hidden;
  display: inline-block;
  padding: 0 10px;
  height: 40px;
}
.slide-in_inner {
  display: inline-block;
}
/*左右のアニメーション*/
.leftAnime, .rightAnime {
  opacity: 0; /*事前に透過0にして消しておく*/
}
.slideAnimeLeftRight {
  animation-name: slideText-100;
  animation-duration: 0.8s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes slideText-100 {
  from {
    transform: translateX(-100%); /*要素を左の枠外に移動*/
    opacity: 0;
  }
  to {
    transform: translateX(0); /*要素を元の位置に移動*/
    opacity: 1;
  }
}
.slideAnimeRightLeft {
  animation-name: slideText100;
  animation-duration: 0.8s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes slideText100 {
  from {
    transform: translateX(100%); /*要素を右の枠外に移動*/
    opacity: 0;
  }
  to {
    transform: translateX(0); /*要素を元の位置に移動*/
    opacity: 1;
  }
}
/*========== テキストがじわっと出現 ==========*/
.blur {
  animation-name: blurAnime;
  animation-duration: 1s;
  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*/ 1;
}
/*============= テキストがほのかに光りながら出現 ==========*/
.glowAnime span {
  opacity: 0;
}
.glowAnime.glow span {
  animation: glow_anime_on 1s 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 0 #fff, 0 0 15px #fff;
  }
  100% {
    opacity: 1;
    text-shadow: 0 0 0 #fff, 0 0 0 #fff;
  }
}