@charset 'UTF8' ;


  /* 以下、ドロワーメニュー  */
  
nav {
  display: block;
  position: fixed;
  top: 0;
  /* ナビゲーションを表示させる位置を指定する */
  right: -1800px;
  bottom: 0;
  /* メニューアイコンを押下した際のナビゲーションメニューの横幅を指定する */
  width: 30%;
  background: #fff ;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  /*  ナビゲーションを表示する速度を指定する  */
  transition: all 0.6s;
  z-index: 4;
  opacity: 0;
}

.open nav {
  /* ナビゲーションの表示位置を指定する */
  right: 0;
  /* ナビゲーションの透過率を指定する */
  opacity: 1;
}

.inner a:hover {

  background: #39c6fa; 
  color: #fff;
  }
  
nav .inner {
  width: 100%;
}

nav .inner ul {

  padding: 0;

  list-style: none;
  line-height: 1;
  margin: 0;
}

nav .inner ul li {
  position: relative;

}

nav .inner ul li a {
  display: block;
  color: #0da3fa;
  background-color: white;
  padding: 15px 15px 15px; 
  margin:0 auto; /* 0922 */
  text-decoration: inherit;
  transition: background .6s;
  font-size: 1.1em; 
  text-align: center;
}

nav .nav-sns-erea,nav .nav-other-erea {
  margin-top: 30px;
}

nav .nav-sns-erea li,nav .nav-other-erea li {
  color: #fff ;
  font-size: 0.9375rem;
}
.other-contents a {
  text-decoration:none;
}

nav .txt-title {
  color: #919090 ;
  font-size: 0.75rem;
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  font-weight: 400;
  line-height: 1;
}

nav .sns-contents,nav .other-contents {
  margin-top: 10px;
}

nav .sns-contents p {
  display: inline-block;
}

nav .other-contents p {
  display: inline-block;
  font-size: 1rem;
  font-weight: 400;
}

/*       toggle_btn
---------------------------*/
.cover-btn {
  display: block;
  position: fixed;
  top: 10px;
  left: 3%;
  width: 46px;
  height: 50px;
  cursor: pointer;
  z-index: 3;
  background-color: #0bad05 ;  /* ハンバーガーボタンの背景色  */
}

.toggle_btn {
  display: block;
  position: fixed;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 3;
}
.toggle_btn .open {
  display: block;
  position: absolute;
  left: 3.5px; /*三本線の横位置調整*/
  width: 38px; /*三本線の幅*/
  height: 2px; /*三本線の太さ*/
  background-color: #fff ;/*三本線の色*/
  border-radius: 4px;
}
/*三本線それぞれの高さ位置*/
.toggle_btn .open:nth-child(1) {
  top: 24px;
}
.toggle_btn .open:nth-child(2) {
  top: 32px;
}
.toggle_btn .open:nth-child(3) {
  top: 40px;
}

/*1つ目の要素のafter要素にMenu表示を指定する*/
.toggle_btn .open:nth-child(1)::after {
  content:"Menu";
  position: absolute;
  top: -16px; /*MENU　文字高さ位置*/
  left: 0;
  color: #fff ; /*MENU　文字色*/
  font-size: 0.83rem; /*MENU　文字サイズ*/
  line-height: 1;
  text-transform: uppercase;
}

/* クリック時にハンバーガーメニューを非表示にする */
.open .toggle_btn .open {
  display: none;
}

/*       close_btn
---------------------------*/
/* 非表示にしたハンバーガーメニューの変わりに表示するアイコンを指定する */
.close_btn .close::before {
  position: absolute;
  top: -16px;
  left: -20px;
  font-family: 'Font Awesome 5 Free';
  content: "\f057";
  font-size: 2rem;
  font-weight: 600;
}

.close_btn {
  position: absolute;
  color:  #0bad05 ;   /* ドロワー時クローズボタンの色  */
  cursor: pointer;
  /* 非表示にしたハンバーガーメニューの変わりにCLOSEを表示する位置を指定する   */
  top: calc(0% + 25px);
  left: calc(100% - 80px);
  z-index: 4;
}

/*          mask
---------------------------*/
 #mask  {
  display: none;
  transition: all .5s;
}

/* ナビゲーションが展開された部分の外側余白を指定する */
.open #mask  {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(115, 247, 103, 0.534);  
  opacity: .8;
  z-index: 2;
  cursor: pointer;
}

  /* 以上、ドロワーメニュー  */

/***タイピングアニメーションを追加***/
.type-w1{
  width: 0;
  overflow: hidden; /*はみ出た要素を非表示に*/
  white-space: nowrap; /*1行に*/
  animation: typing 2s steps(12, end) forwards, cursol 1s step-end infinite;
  margin: -200px 0 0 5%;
  color: #fff;
  font-size: 43px;
  text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.7);
/*animation: アニメーション名｜時間｜分割数｜ループ */
}

.type-co{
  width: 0;
  overflow: hidden; /*はみ出た要素を非表示に*/
  white-space: nowrap; /*1行に*/
  animation: typing 2s steps(17, end) forwards, cursol 1s step-end infinite;
  margin: -150px 0 0 5%;
  color: #666a6d;
  font-size: 53px;
  font-weight: 800;
    text-shadow: 2px 3px 2px rgba(255, 255, 255, 1);
/*animation: アニメーション名｜時間｜分割数｜ループ */
}
/*** 1文字ずつ出現するアニメーション ***/
@keyframes typing{
  0% { width: 0%; }
  100% { width: 8em; }/*** 文字数 ***/
}

.type-w2,.type-w3,.type-w4{
  animation-name: fadeInAnime;
  animation-fill-mode:both;
  animation-duration:3s;
  animation-iteration-count:1;
  animation-timing-function:ease;
  animation-delay: 2s;
  animation-direction:normal;
  color: #43fa53;
  margin-top: -15px;
  margin-left: 13%;
  font-size: 25px;
  }
.type-w3{
    color: #d31414;
    margin-top: -50px;
    margin-left: 17%;
    }
.type-w4{
    color: #2653e6;
    margin-top: -50px;
    margin-left: 14%;
      }
    
  @keyframes fadeInAnime{
    0% {
      opacity: 0;
    }
  
    100% {
      opacity: 1;
    }
  }

/* 　Y 軸（横へ） */
.rotateY{
  animation-name:rotateYAnime;
  animation-duration:3s;
  animation-fill-mode:forwards;
}

@keyframes rotateYAnime{
  from{
    transform: rotateY(0);
    }
  to{
    transform: rotateY(-1080deg);
    }
}

.logo-container{
  display: block;
  margin:0 auto ; 
  width: 150px;
}
.toukalogo img{
  display: block;
  margin:0  ;  
  width: 150px;
/*ロゴを画像よりも上にするためposition:relative;を指定*/
  position: relative;
  z-index: 3;
}

.white-circle{
  display: block;
  width: 175px;/*幅*/
	height: 175px;/*高さ*/
	border-radius: 50%;/*角丸*/
  background-color: #ffffff91;
  margin: -150px auto 0;
  position: relative;
  z-index: 2;
}

/*  8/27  */

.slide {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  margin-top:-70px;
  z-index: -1;
}
.slide-image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80%;
  opacity: 0;
  animation: slider-1 24s linear infinite;


  &:nth-child(1) {
    background-image: url(../images/topimg.jpg);
    animation-delay: -2s;
  }
  
  &:nth-child(2) {
    background-image: url(../images/ttn.jpg);
    animation-delay: 6s;
  }
  
  &:nth-child(3) {
    background-image: url(../images/img001.JPG);
    animation-delay: 14s;
  }
  
}

@keyframes slider-1 {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  4.16% {
    opacity: 1;
  }
  33.33% {
    opacity: 1;
  }
  41.66% {
    opacity: 0;
    transform: scale(1.2);
  }
  100% {
  opacity: 0;
  }
}

/*  8/27  */

.site-top{
  margin: -10px auto 0 15px;
  color: #0175fa;
  font-size: 14px;
}

.site-concept{
  width: 80px;
  margin: -15px auto 0;
  color: #0175fa;
  font-size: 14px;
  font-weight: bold;
  text-decoration : underline;
}

  .drower-logo{
  width: 150px;
  display: block;
  margin: 50px auto 0 ;
  }

  .drower-area{
      font-size: 20px;
      margin: 5px;
      color:#0956e6e8; 
  }
  .drower-contents{
    text-align: center;
      font-size: 16px;
      margin: 25px 5px 0 ;
      padding: 60px 5px 5px; 
      color:#000; 
      font-family: "Times New Roman", "serif";
  }



  .content-1w p{ 
      font-size:24px;
      color: #fff;
      font-weight: 300;
      text-align:center;
      margin-bottom: -5px;
  }
  
.nav-tgl-btn h4{
  font-size: 16px;
  font-weight: lighter;
  z-index: 51;
  margin-right: 2px;
  color: #43fa53;
  margin-top: 50px;
}


@media screen and (max-width:1000px){
  nav {
    width: 50%;
  }
  
}

@media screen and (max-width:800px){
.slide {
  width: 100%;
  height: 300px;
}

.type-w1{
  margin: -130px 0 0 5%;
  font-size: 38px;
}

}

@media screen and (max-width:650px){
  nav {
    width: 60%;
  }
  .drower-logo{
    width: 120px;
    }
    .type-w2,.type-w3,.type-w4{
      margin-left: 4%;
      }
      .type-w3{
        margin-left: 10%;
        }
    .type-w4{
        margin-left: 1%;
          }
}

@media screen and (max-width:510px){

  .type-w1{
    font-size: 35px;
  }
  
  .type-co{
    font-size: 28px;
    margin: -120px 0 0 5%;
  }
  .type-w2,.type-w3,.type-w4{
    margin-top: -5px;
    font-size: 25px;
    }
    .type-w3{
      margin-top: -45px;
      }
  .type-w4{
      margin-top: -55px;
        }


}
