@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP');
@import url('https://fonts.googleapis.com/css?family=Sawarabi+Gothic');

body{
    background: #fff;
    width: 100vw;
    font-family: 'Sawarabi Gothic', sans-serif;

}

img{
    display: inline-block;
}

#logo_main img{
    pointer-events: none;
    -webkit-touch-callout:none;
    -webkit-user-select:none;
    -moz-touch-callout:none;
    -moz-user-select:none;
    touch-callout:none;
    user-select:none
}

img:hover{
    opacity: 0.6;
    transition-duration: 0.2s;
}


.bar{
    border-bottom: 1px solid #696969;
    opacity: 0.5;
    padding: 6vh 0;
}

.bar-top{
    border-top: 1px solid #696969;
    opacity: 0.5;
    padding: 6vh 0;
}

#top-title{
    position: absolute;
    color: white;
    text-decoration: none;
    z-index: 2;

}

/*youtube 上のロゴ */
#h-nav{
  position:fixed;
  z-index: 2;/*下から2番目に表示*/
/*天地中央配置*/
  top: 0%;
  left: 2%;
/*色指定*/
  color:#fff;
  display: flex;
  width: 100%;
}

.logo{
    height: 50px;
    text-decoration: none;
    color: #FFF;
}

#logo_main{
    position: absolute;
    z-index: 3;
    height: 100vh;
    width: 100%;
    text-align: center;
    top: 40%;
}

#logo_main img{
    height: 200px;
    z-index: 2;
}

.top{
    display: flex;
    height: 100vh;
    text-align: center;
    font-style: sans-serif;
    width: 100%;
    left: 0;
}

#slider {
    position: absolute;
    width: 95%;
    height: 90vh;/*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
    z-index: 1;
    bottom: 0;
    left: 2.5%;
}

#top-words{
    position: absolute;
    color: #fff;
    font: sans-serif;
    font-size: 100rem;
    z-index: 3;
    right: 24%;
    bottom: 9%;
    text-shadow: 3px 3px #333;
    display: inline-block;
}

/*jQueryで付与されたdisappearクラスがついたらロゴエリアを非表示*/

#loading.disappear{
     display: none;   
}
            


/*下のコンテンツ*/
#container{
    position: static;/*relativeを指定してfixed指定をした#youtube-areaの上に表示*/
    z-index: 3;/*一番上に表示*/
    /*見た目の調整*/
    color: #696969;
    text-align: center;
    width: 100vw;
    left: 0;
}

#container h1{
    font-size: 40px;
    font-weight: normal;
    display: inline-block;
    padding-top:5vh;
}

.text{
    position: static;
    margin: auto;
    height: 85vh;
    padding-top:15vh;
    width: 100vw;

}

.text2{
    display: inline-block;
    position: static;
    margin: auto;
    height: 95vh;
    padding-top:5vh;
    width: 100vw;
}

#about{
    height: 100vh;
    width: 100vw;
    min-height: 600px;
}

.text-about {
  font-size: large; 
  display: inline-block; 
}

#collaboration{
    display: inline-block;
    height: 100vh;
    width: 100vw;
    max-height: 500px;
    margin-top: 10vh;
}

#collab{
    margin: 5% 0;
}

#store{
    height: 110vh;
    width: 100vw;
    z-index: 5;
}

#findstore{
    display: inline-flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 5vh;
}
#findstore a{
    text-decoration: none;
    color: #696969;
    padding: 0 1vh;
}

#findstore a:hover{
    color: #8ec31f;
    transition-duration: 0.3s
}


#findstore img{
    height: 120px;
    width: 180px;
}





/* Loading背景画面設定　*/
#splash {
    /*fixedで全面に固定*/
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: 999;
    text-align:center;
    color:#8ec31f;
    left: 0;
}

#splash_logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%)  scale(20%);
  z-index: 9999;
}

/* Loading画像中央配置　*/
#splash_text {
    position: absolute;
    bottom: 50%;
    left: 50%;
    z-index: 9999;
    transform: translate(-50%, -50%);
    color: #8ec31f;
    width: 100%;
}

/*IE11対策用バーの線の高さ※対応しなければ削除してください*/
#splash_text svg{
    height: 2px;
}

/*割れる画面のアニメーション*/
.loader_cover {
    width: 100vw;
    height: 50vh;
    left:0;
    background-color: #333;
    transition: all .2s cubic-bezier(.04, .435, .315, .9);
    transform: scaleY(1);
}
/*上の画面*/
.loader_cover-up {
    transform-origin: center top;
}

/*下の画面*/
.loader_cover-down {
    position: absolute;
    bottom: 0;
    transform-origin: center bottom;
}
/*クラス名がついたらY軸方向に0*/
.coveranime {
    transform: scaleY(0);
}

/*========= ぼかしのためのCSS ===============*/

.mainblur{
    filter: blur(8px);
}


/*========= ナビゲーションのためのCSS ===============*/

#g-nav{
    /*position:fixed;にし、z-indexの数値を小さくして最背面へ*/
    position:fixed;
    z-index: -1;
    opacity: 0;/*はじめは透過0*/
    /*ナビの位置と形状*/
    top:0;
    width:100%;
    height: 100vh;/*ナビの高さ*/
    background:rgba(255,255,255,0.3);/*背景を少し透過させる*/
    /*動き*/
    transition: all 0.3s;
}

/*アクティブクラスがついたら透過なしにして最前面へ*/
#g-nav.panelactive{
    opacity: 1;
    z-index:999;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: 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: #333;
    text-decoration: none;
    padding:10px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
}

/*========= ボタンのためのCSS ===============*/
.openbtn{
    position:fixed;
    z-index: 9998;/*ボタンを最前面に*/
    top:10px;
    right: 10px;
    cursor: pointer;
    width: 50px;
    height:50px;
}
    
/*×に変化*/    
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background-color: #666;
    width: 45%;
  }

.openbtn span:nth-of-type(1) {
    top:15px;   
}

.openbtn span:nth-of-type(2) {
    top:23px;
}

.openbtn span:nth-of-type(3) {
    top:31px;
}

.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn.active span:nth-of-type(2) {
    opacity: 0;
}

.openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}




.eachTextAnime span{opacity: 0;}
.eachTextAnime.appeartext span{ animation:text_anime_on 1s ease-out forwards; }
@keyframes text_anime_on {
    0% {opacity:0;}
    100% {opacity:1;}
}


/*スクロールダウン全体の場所*/
.scrolldown4{
    /*描画位置※位置は適宜調整してください*/
    position:absolute;
    bottom:1%;
    right:50%;
    z-index: 5;
 }
/*Scrollテキストの描写*/
.scrolldown4 span{
    /*描画位置*/
    position: absolute;
    left:-20px;
    bottom:10px;
    /*テキストの形状*/
    color: #eee;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    /*縦書き設定*/
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
}

/* 矢印の描写 */
.scrolldown4:before {
    content: "";
    /*描画位置*/
    position: absolute;
    bottom: 0;
    right: -6px;
    /*矢印の形状*/
    width: 1px;
    height: 20px;
    background: #eee;
    transform: skewX(-31deg);
}

.scrolldown4:after{
    content:"";
    /*描画位置*/
    position: absolute;
    bottom:0;
    right:0;
    /*矢印の形状*/
    width:1px;
    height: 50px;
    background:#eee;
}


/*スクロールダウン全体の場所*/
.scrolldown{
    /*描画位置※位置は適宜調整してください*/
    
    bottom:10%;
    right:50%;
    z-index: 100;
    margin-top: 5vh;
 }
/*Scrollテキストの描写*/
.scrolldown span{
    /*描画位置*/
   
    left:-20px;
    bottom:10px;
    /*テキストの形状*/
    color: #696969;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    /*縦書き設定*/
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
}

/* 矢印の描写 */
.scrolldown:before {
    content: "";
    /*描画位置*/
    position: absolute;
    bottom: 0;
    right: -6px;
    /*矢印の形状*/
    width: 1px;
    height: 20px;
    background: #696969;
    transform: skewX(-31deg);
}

.scrolldown:after{
    content:"";
    /*描画位置*/
    position: absolute;
    bottom:0;
    right:0;
    /*矢印の形状*/
    width:1px;
    height: 50px;
    background:#696969;
}



/* ローディングアイコン設定 */

#loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
}

/*jQueryで付与されたdisappearクラスがついたらロゴエリアを非表示*/

#loading.disappear{
     display: none;   
}


/* youtube設定 */

#youtube-area{
    position: absolute;
    z-index: 1;/*最背面に設定*/
    top: 0;
    right:0;
    left:0;
    bottom:0;
    overflow: hidden;
    opacity: 0;    
}

/*jQueryで付与されたappearクラスがついたらYoutubeエリアをふわっと表示*/
#youtube-area.appear {
    animation-name:PageAnimeAppear;
    animation-duration:.5s;
    animation-fill-mode:forwards;
}

@keyframes PageAnimeAppear{
    0% {
    opacity: 0;
    }
    100% {
    opacity: 1;
}
}

#youtube {
/*天地中央配置*/
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
/*縦横幅指定*/
  width: 177.77777778vh; /* 16:9 の幅→16 ÷ 9＝ 177.77% */
  height: 56.25vw; /* 16:9の幅 → 9 ÷ 16 = 56.25% */
  min-height: 100%;
  min-width: 100%;
}

/*youtubeがクリックされないためのマスク*/
#youtube-mask{
    position: absolute;
    z-index: 5;/*下から2番目に表示*/
    top:0;
    width:100%;
    height: 100%;
    left: 0;
}

/*全て共通：hideエリアをはじめは非表示*/
.hide-area{
    display: none;
}

/*全て共通：モーダルのボタンの色を変更したい場合*/
.modaal-close:after, 
.modaal-close:before{
    background:#ccc;    
}

.modaal-close:focus:after,
.modaal-close:focus:before,
.modaal-close:hover:after,
.modaal-close:hover:before{
    background:#666;
}

/*確認を促すモーダル：タイトルの色を変更したい場合*/
#modaal-title{
    font-size:1.2rem;
    text-align: center;
    margin: 0 0 20px 0;
}

/*動画表示のモーダル：余白を変更したい場合*/
.modaal-video .modaal-inner-wrapper{
    padding:5%;
}

#video {
  display: none;
}

.btnarrow5{
    /*矢印の基点とするためrelativeを指定*/
    position: relative;
    /*ボタンの形状*/
    border: 0.8px solid #696969;
    padding: 8px 30px;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    color: #696969;
    outline: none;
    /*アニメーションの指定*/
    transition: all .2s linear;
    font-family: 'Sawarabi Gothic', sans-serif;
    bottom: 0;
}

.btnarrow5:hover{
    background:#8ec31f;
    color:#fff;
    border: 0.8px solid #fff;
}

/*矢印と下線の形状*/
.btnarrow5::before{
    content:"";
    /*絶対配置で下線の位置を決める*/
    position: absolute;
    top:50%;
    right:-26px;
    /*下線の形状*/
    width:40px;
    height:1px;
    background:#333;
    /*アニメーションの指定*/
    transition: all .2s linear;
}

.btnarrow5::after{
    content:"";
    /*絶対配置で矢印の位置を決める*/
    position: absolute;
    top: 35%;
    right: -21px;
    /*矢印の形状*/
    width:1px;
    height:12px;
    background:#333;
    transform:skewX(45deg);
    /*アニメーションの指定*/
    transition: all .2s linear;
}

/*hoverした際の移動*/
.btnarrow5:hover::before{
    right:-30px;
}

.btnarrow5:hover::after{
    right:-25px;
}

footer{
    /*footerの装飾*/
    width: 100%;
    height: 10vh;
    color: #696969;
    text-align: center;
    bottom: 0;
}

@media screen and (max-width: 540px){
    *{
        float: none;
        position: static;
    }

    img{
        max-width: 100%;
        height: auto;
    }

    #logo_main{
        top: 44%;
    }

    #logo_main img{
        height: 140px;
    }

    #container h1{
    font-size:22px
    font-weight: normal;
    display: inline-block;
    padding-top:5vh;
    }

    #collaboration{
    display: inline-block;
    height: 100vh;
    width: 100vw;
    padding-top: 30vh;
    }

    footer{
    /*footerの装飾*/
    width: 100%;
    height: 10vh;
    color: #696969;
    margin-top: 39vh;
    text-align: center;
    bottom: 0;
    }
}

@media screen and (max-height: 720px){
    *{
        float: none;
        position: static;
    }

    img{
        max-width: 100%;
        height: auto;
    }

    #logo_main{
        top: 44%;
    }

    #logo_main img{
        height: 140px;
    }

    #container h1{
    font-size:22px
    font-weight: normal;
    display: inline-block;
    padding-top:5vh;
    }

    #collaboration{
    display: inline-block;
    height: 100vh;
    width: 100vw;
    padding-top: 100vh;
    }

    footer{
    /*footerの装飾*/
    width: 100%;
    height: 10vh;
    color: #696969;
    margin-top:85vh;
    text-align: center;
    bottom: 0;
    }
}

@media screen and (max-height: 520px){
    footer{
        margin-top: 130vh;
    }
}