*{
    box-sizing: border-box;
}
body{
    margin: 0 ;
    padding: 0 ;
}
.p1{
    animation-name:fadeUpAnime;
    animation-duration:1.5s;
    animation-fill-mode:forwards;
    opacity:0;
}
@keyframes fadeUpAnime{
    from {
      opacity: 0;
    transform: translateY(159px);
    }
  
    to {
      opacity: 1;
    transform: translateY(0);
    }
}
.p2{
    animation-name:fadeUpAnime;
    animation-duration:2.5s;
    animation-fill-mode:forwards;
    opacity:0;
}
.top{
    animation-name:fadeLeftAnime;
    animation-duration:1.5s;
    animation-fill-mode:forwards;
    opacity:0;
    margin-left: -10px;
}
.top img{
    width: 200px;
}
@keyframes fadeLeftAnime{
    from {
      opacity: 0;
      transform: translateX(-100px);
    }
  
    to {
      opacity: 1;
      transform: translateX(0);
    }
}
.sec1{
    animation-name:fadeInAnime;
    animation-duration:5s;
    animation-fill-mode:forwards;
    opacity:0;
}
@keyframes fadeInAnime{
    from {
      opacity: 0;
    }
  
    to {
      opacity: 1;
    }
}
.slide-in {
    overflow: hidden;
    display: inline-block;
}
  
.slide-in_inner {
    display: inline-block;
  
}
.leftAnime{
    opacity: 0;
}

.slideAnimeLeftRight {
  animation-name:slideTextX100;
  animation-duration:3s;
  animation-fill-mode:forwards;
    opacity: 0;
}
@keyframes slideTextX100 {
    from {
        transform: translateX(-100%); 
        opacity: 0;
    }
  
    to {
      transform: translateX(0);
      opacity: 1;
    }
}
.slideAnimeRightLeft {
    animation-name:slideTextX-100;
    animation-duration:3.0s;
    animation-fill-mode:forwards;
      opacity: 0;
  }
  
  
  @keyframes slideTextX-100 {
    from {
      transform: translateX(100%);
      opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
.fadeUp{
    animation-name:fadeAnime;
    animation-duration:0.5s;
    animation-fill-mode:forwards;
    opacity: 0;
}
@keyframes fadeAnime{
    from {
      opacity: 0;
      transform: translateX(-100px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
}
@media screen and (max-width:989px) {
    #g-nav{
        position:fixed;
        z-index: 999;
        top:0;
        left: -120%;
        width:100%;
        height: 100vh;
        background:rgb(0, 0, 0);
        transition: all 0.6s;
    }
    #g-nav.panelactive{
        left: 0;
    }
    #g-nav.panelactive #g-nav-list{
        position: fixed;
        z-index: 999; 
        width:100%;
        height: 100vh;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }
    #g-nav ul {
        position: absolute;
        z-index: 999;
        top:50%;
        left:45%;
        transform: translate(-50%,-50%);
    } 
    #g-nav li{
        list-style: none;
        text-align: center; 
    }
    
    #g-nav li a{
        color: whitesmoke;
        text-decoration: none;
        padding:10px;
        display: block;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-weight: bold;
    }
    .openbtn{
        position: relative;
        cursor: pointer;
        width: 50px;
        height:50px;
        z-index: 9999;
        left: 85%;
        top: 20px;
    }
    .openbtn span{
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 14px;
        height: 2px;
        border-radius: 5px;
        background: black;
          width: 45%;
      }
      .openbtn span:nth-of-type(1) {
        top:13px;	
    }
    
    .openbtn span:nth-of-type(2) {
        top:19px;
    }
    
    .openbtn span:nth-of-type(3) {
        top:25px;
    }
    
    .openbtn span:nth-of-type(3)::after {
        content:"Menu";
        position: absolute;
        top:5px;
        left:-2px;
        color: black;
        font-size: 0.6rem;
        text-transform: uppercase;
    }
    
    .openbtn.active span:nth-of-type(1) {
        top: 14px;
        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: 26px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }
    
    .openbtn.active span:nth-of-type(3)::after {
        content:"Close";
        transform: translateY(0) rotate(-45deg);
        top:5px;
        left:4px;
        color: whitesmoke;
    }
    .top{
        position: absolute;
        padding-left: 8px;
        top: -5px;
        font-size: 25px;
        font-weight: 600;
    }
    .p1{
        -ms-writing-mode: tb-rl;
        writing-mode: vertical-rl;
        padding-top: 85px;
        padding-left: 78%;
        font-size: 28px;
        font-weight: 800;
        letter-spacing: 5px;
    }
    .p2{
        -ms-writing-mode: tb-rl;
        writing-mode: vertical-rl;
        margin-top: -100px;
        padding-left: 70%;
        font-size: 28px;
        font-weight: 800;
        letter-spacing: 5px; 
    }
    .main{
        padding-top: 50px;
        padding-left: 15px;
        letter-spacing: 2px;
        font-size: 40px;
    }
    .sec1{
        display: flex;
        flex-direction: column;
        justify-items: center;
    }
    .sec1 video{
        width: 100%;
    }
    .p3{
        background-color: rgba(255,255,255, 0.8);
        color: black;
        font-size: 25px;
        font-weight: bold;
        margin-top:-150px;
        text-align: center;
        z-index: 99;
    }
    .p4{
        background-color: rgba(255,255,255, 0.8);
        color: black;
        font-size: 10px;
        font-weight: bold;
        margin-top: -25px;
        text-align: center; 
        z-index: 99;
    }
    
    
    
    .title1{
        padding-top: 25px;
        margin-top: 73px;
        padding-left: 30px;
        font-size: 30px;
        text-align: left;
        color: black;
        border-top: 1px solid;
    }
    .flex{
        margin: 0 auto;
        overflow: hidden;
        max-width: 500px;
        color: #000;
    }
    .box{
        padding: 0 10px;
        list-style: none;
        opacity: 0;
        margin: 0 auto;
        width: 95%;
    }
    
    .img img{
        border-radius: 10px;
    }
    .img{
        margin-left: -40px;
    }
    .img2{
        text-align: right;
    }
    .img2 img{
        width:150px;
    }
    .apps{
        text-align: right;
        margin-top: -98px;
        margin-bottom: 40px;
    }
    .title{
        font-size: 40px;
        font-weight: bold;
        margin-top: px;
        margin-bottom: px;
        margin-left: -25px;
        position: relative;
    }
    .tit{
        font-size: 20px;
        margin-left: -23px;
        margin-top: -20px;
        position: absolute;
        margin-left: px;
    }
    .desc{
        font-size: 14px;
        width: 150px;
        margin-left: -20px;
        margin-top: -320px;
    }
    .desc1{
        font-size: 14px;
        width: 150px;
        margin-left: -20px;
    }
    .desc2{
        font-size: 14px;
        width: 150px;
        margin-left: -20px;
    }
    .desc3{
        font-size: 14px;
        width: 150px;
        margin-left: -20px;
    }
    .img3{
        display: none;
    }
    .syo{
        margin-left: -20px;
        padding-top: 30px;
        font-weight: bold;
    }
    .syo a{
        text-decoration: none;
        color: #000;
    }
    a:hover{
        text-decoration: underline;
    }
    .syoukai{
        color: white;
        padding-bottom: 10px;
    }
    .news{
        background-color: white;
        margin-top: 100px;
        padding-bottom: 30px;
        position: relative;
    }
    .title2{
        text-align: left;
        font-size: 35px;
        padding-left: 20px;
        background-color: black;
        color: rgb(255, 255, 255);
    }
    .slider{
        margin-left: -30px;
        overflow: hidden;
    }
    .box1{
        margin: 0 auto;
        list-style: none;
        width: 350px;
        height: 300px;
        margin: 0 20px 0 35px;
    }
    .gazo img{
        width: 100%;
    }
    .foo{
        padding-bottom: 10px;
    }
    .h22{
        color: black;
        border-top: 1px solid;
        text-align: center;
        padding-top: 30px;
    }
    .h22 img{
        width: 250px;
    }
    .sita{
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-left: -35px;
    }
    .box2{
        list-style: none;
        padding-top: 10px;
    }
    .box2 a{
        color: black;
    }
    .ge{
        background-color: black;
        height: 30px;
        margin-bottom: -30px;
    }
    .stop{
        font-size: 70px;
        text-align: center;
    }
}
@media  screen and (min-width:990px) {
    .openbtn{
        display: none;
    }
    .top{
        position: absolute;
        padding-left: 8px;
        top: -35px;
        font-size: 50px;
        font-weight: 600;
    }
    .p1{
        -ms-writing-mode: tb-rl;
        writing-mode: vertical-rl;
        padding-top: 85px;
        padding-left: 88%;
        font-size: 40px;
        font-weight: 800;
        letter-spacing: 5px;
    }
    .p2{
        -ms-writing-mode: tb-rl;
        writing-mode: vertical-rl;
        margin-top: -100px;
        padding-left: 80%;
        font-size: 40px;
        font-weight: 800;
        letter-spacing: 5px; 
    }
    #g-nav{
        position:absolute;
        left: 300px;
        top: 30px;
        color: #000;
    }
    #g-nav li{
        list-style: none;
        padding: 0 30px;
        text-decoration: none;
        font-size: 12px;
    }
    #g-nav ul {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        
    }
    #g-nav li a{
        color: #000;
    } 
    .main{
        padding-top: 50px;
        padding-left: 15px;
        letter-spacing: 2px;
        font-size: 70px;
        z-index: 999;
    }
    .sec1{
        display: flex;
        flex-direction: column;
        justify-items: center;
    }
    .sec1 video{
        width: 100%;
    }
    .p3{
        background-color: rgba(255,255,255, 0.8);
        color: black;
        font-size: 45px;
        font-weight: bold;
        margin-top:-350px;
        text-align: center;
        z-index: 99;
    }
    .p4{
        background-color: rgba(255,255,255, 0.8);
        color: black;
        font-size: 20px;
        font-weight: bold;
        margin-top: -45px;
        text-align: center; 
        z-index: 99;
    }
    .title1{
        padding-top: 100px;
        margin-top: 120px;
        font-size: 40px;
        text-align: center;
        color: black;
    }
    .flex{
        color: #000;
        max-width: 970px;
    }
    .box{
        list-style: none;
        opacity: 0;
    }
    .img2{
        border-radius: 10px;
        z-index: 500;
        margin-top: -630px;
        margin-left: 100px;
    }
    .img2 img{
        width:200px;
        border-radius: 29px;
    }
    .apps{
        margin-bottom: 40px;
        text-align: right;
        display: none;
    }
    .img img{
        border-radius: 10px;
    }
    .img{
        margin-top: -420px;
        display: none;
    }
    .img3 img{
        width: 100%;
        border-radius: 0 40px 0 40px;
    }
    .img3{
        margin-bottom: 200px;
    }
    .title{
        font-size: 60px;
        font-weight: bold;
        color: white;
        margin-top: -50px;
        margin-left: 40px;
    }
    .tit{
        margin-top: -500px;
        margin-left: 125px;
        font-size: 30px;
        color: white;
    }
    .desc{
        margin-top: -50px;
        font-size: 20px;
        text-align: right;
        margin-right: 60px;
        color: white;
    }
    .desc1{
        font-size: 20px;
        text-align: right;
        color: white;
        margin-right: 70px;
    }
    .desc2{
        font-size: 20px;
        text-align: right;
        color: white;
        margin-right: 170px;
    }
    .desc3{
        font-size: 20px;
        text-align: right;
        color: white;
        margin-right: 133px;
    }
    .syo{
        text-align: right;
        margin-right: 70px;
        margin-top: 100px;
    }
    a{
        color: white;
        text-decoration: none;
    }
    a:hover{
        text-decoration: underline;
    }
    .syoukai{
        background-color: rgb(253, 253, 253);
        padding-bottom: 10px;
        margin: 0 auto;
        max-width: 1000px;
    }
    .news{
        background-color: white;
        padding-bottom: 30px;
        margin: 200px 25px;
    }
    .title2{
        text-align: left;
        font-size: 35px;
        padding-left: 20px;
        background-color: black;
        color: rgb(255, 255, 255);
    
    }
    .slider{
        padding: 0;
        overflow: hidden;
        display: flex;
        justify-content: space-between;
    }
    .box1{
        margin: 0 auto;
        list-style: none;
        width: 450px;
        height: 400px;
        margin: 0 20px 0 35px;
    }
    .gazo img{
        width: 100%;
    }
    .foo{
        padding-bottom: 10px;
    }
    .h22{
        color: black;
        border-top: 1px solid;
        text-align: center;
        padding-top: 30px;
    
    }
    .sita{
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-left: -35px;
    }
    .box2{
        list-style: none;
        padding-top: 10px;
    }
    .box2 a{
        color: black;
    }
    .ge{
        background-color: black;
        height: 30px;
        margin-bottom: -30px;
    }
}