@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@800&family=Sawarabi+Gothic&display=swap');


:root{
    --main-color: black;
    --sub-color: rgb(142, 142, 142);
    --background-color: white;
    --accent-color: #003086;

    /* for btn */
    --line_color : #555555 ;
    --back_color : #99bdff ;

    --japanese-fonts:'Noto Sans JP', sans-serif;
    --english-fonts:'Sawarabi Gothic', sans-serif;
}


.floating-effect {
  animation: floating 1s ease both;
}

@keyframes floating {
  0% {
    transform: translateY(10px);
    filter: blur(10px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    filter: blur(0);
    opacity: 1;
  }
}



*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 62.5%;/*rem算出をしやすくするために*/
}

.btn,
a.btn,
button.btn {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}
        a.btn-flat {
            overflow: hidden;
            padding: 1.5rem 6rem;
            color: var(--background-color);
            border-radius: 0;
            background: var(--accent-color);
        }

        a.btn-flat:hover{
            color: var(--main-color);
        }
        
            a.btn-flat span {
                position: relative;
            }
            
                a.btn-flat::before {
                    position: absolute;
                    top: 0;
                    left: 30px;
                    width: 150%;
                    height: 500%;
                    content: '';
                    -webkit-transition: all .5s ease-in-out;
                    transition: all .5s ease-in-out;
                    -webkit-transform: translateX(-98%) translateY(-70%) rotate(135deg);
                    transform: translateX(-98%) translateY(-70%) rotate(135deg);
                    background: var(--background-color);
                }
                
                a.btn-flat:hover:before {
                    -webkit-transform: translateX(-9%) translateY(-25%) rotate(135deg);
                    transform: translateX(-9%) translateY(-25%) rotate(135deg);
                }

        .sec-title{
            font-size: 4rem;
            text-align: center;
            color: var(--main-color);
            margin: 100px auto;
            font-family: var(--english-fonts);
            font-weight: bold;
        }

/* swiper */

.swiper {
    width: 100%;
    height: 100%;
  }

  .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }





  .title-img{
    height: 60px;
    width: auto;
  }



/* fade-up */

.fadeUpTrigger{
  opacity: 0;
  }

  .fadeUp {
    animation-name: fadeUpAnime;
    animation-duration:2s;
    animation-fill-mode:forwards;
    opacity: 0;
}

@keyframes fadeUpAnime{
from {
    opacity: 0;
    transform: translateY(100px);
}
to {
    opacity: 1;
    transform: translateY(0);
}
}

@media screen and (max-width: 800px) {

  .title-img{
    height: 40px;
    width: auto;
  }

  .fadeUpTrigger{
    opacity: 1;
  }

  .fadeUp {
    opacity: 1;
  }

  @keyframes fadeUpAnime{
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
    }

}


.scene {
  position: relative;
  height: 100%;
  background: var(--background-color);
  padding: 20rem;
  text-align: center;
}

.magic {
  z-index: 5;
  position: absolute;
  top: calc(50% - 10rem);
  left: calc(50% - 10rem);
  width: 20rem;
  height: 20rem;
  background: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/142996/hover-reveal.jpg') 50% 50% no-repeat fixed;
  background-size: cover;
  border-radius: 50%;
}







header{
    background-color: transparent;
    position: fixed;
    z-index: 1000;
    left: 0;
    width: 100vw;
    transition: background-color 0.2s ease;
}

.header-scroll {
    background-color: var(--accent-color);
    transition: background-color 0.5s ease;
}

.navbar{
    min-height: 60px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 100px;
}

        .nav-menu{
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 60px;
            margin: 0;
            padding: 0;
        }

            .nav-branding{
                height: 30px;
                text-decoration: none;
                color: var(--background-color);
                font-weight: bold;
            }

                .nav-branding img{
                    height: 30px;
                    width: auto;
                }

            li{
                list-style: none;
            }

                .nav-item a{
                    color: var(--background-color);
                    text-decoration: none;
                }

                    .nav-item img{
                        height: 15px;
                        transition: 0.5s;
                    }

                    .nav-item img:hover{
                        filter: brightness(0.6);
                        transition: 0.5s;
                    }

                .nav-link{
                    transition: 0.7s ease;
                }
                .nav-link:hover{
                    color: var(--sub-color);
                }

        .hamburger{
            display: none;
            cursor: pointer;
        }

            .bar{
                display: block;
                width: 25px;
                height: 3px;
                margin: 5px auto;
                -webkit-transition: all 0.3s ease-in-out;
                transition: all 0.3s ease-in-out;
                background-color: white;
            }











/* bottom */

.bottom{
  width: 100%;
  max-width: 100vw;
  background-color: var(--accent-color);
  color: var(--background-color);
  text-align: center;
}
  .bottom-info{
      padding: 30px 15vw;
  }

  .bottom a{
      text-decoration: none;
      color: var(--background-color);
  }

      .bottom-info p{
          width: auto;
          text-align: center;
          margin-bottom: 30px;
      }

      .contact-btn{
          display: block;
          width: 100%;
          padding: 30px 0;
          height: auto;
          border: solid var(--background-color);
      }

          .contact-btn span{
              font-size: 3.2rem;
              display: flex;
              align-items: center;
              justify-content: center;
              gap: 30px;
          }

      .bottom-info-text-flex{
          margin: 30px 0;
          display: flex;
          justify-content: space-between;
      }

          .bottom-info-text-flex p{
              margin: 0;
          }

          .sns-list{
              display: flex;
              padding: 0;
              width: 100%;
              justify-content: center;
              gap: 30px;
          }

              .sns-list li{
                  font-size: 30px;
                  list-style: none;
              }

          .othor-link{
              display: flex;
              gap: 15px;
              width: 100%;
              justify-content: center;
          }

              .othor-link a{
                  display: block;
              }

              .othor-link p{
                  margin: 0;
                  padding: 0;
              }

              .under-space{
                  height: 30px;
              }





              @media screen and (max-width: 1300px){

                .swiper-page{
                    position: relative;
                    width: 80%;
                    aspect-ratio: 5 / 3;
                    height: auto;
                    margin: 0 auto;
                }
        
        }
        
        
        
        
        @media screen and (max-width: 800px) {
            html{
                overflow-x: hidden;
            }
            body{
                overflow-x: hidden;
            }
        
            .hamburger{
                display: block;
            }
        
            .hamburger.active .bar:nth-child(2){
                opacity: 0;
            }
        
            .hamburger.active .bar:nth-child(1){
                transform: translateY(8px) rotate(45deg);
            }
        
            .hamburger.active .bar:nth-child(3){
                transform: translateY(-8px) rotate(-45deg);
            }
        
            .nav-menu{
                position: fixed;
                left: 100%;
                top: 70px;
                gap: 0;
                flex-direction: column;
                background-color: var(--accent-color);
                width: 100%;
                text-align: center;
                transition: 0.3s;
            }
        
            .nav-menu.active {
                left: 0;
            }
        
            .nav-item{
                margin: 16px 0;
            }
        
        
            .all-service{
                display: block;
                height: auto;
            }
        
            .sec-box{
                display: block;
                gap: 50px;
            }
        
                .sec-box .about-box{
                    width: 90vw;
                    height: auto;
                    display: flex;
                    align-items: center;
                }
        
                .service-card{
                    margin: 50px auto;
                    position: relative;
                    width: 50vw;
                    height: 40vh;
                    border-radius: 10px;
                    transition: 0.5s;
                }
        
                .service-card:hover{
                    width: 50vw;
                    height: 40vh;
                }
        
        
            .swiper-page{
                position: relative;
                width: 90%;
                aspect-ratio: 5 / 3;
                height: auto;
                margin: 0 auto;
            }
        
            .swiper-button-next{
                color: var(--background-color);
                margin-right: 5%;
            }
        
            .swiper-button-prev{
                color: var(--background-color);
                margin-left: 5%;
            }
        
            .works-paper-dec{
                margin-bottom: 15px;
            }
        
            .works-paper-text{
                font-size: 0.7rem;
            }
        }
        
        
        @media screen and (max-width: 600px) {
        
            .service-card{
                margin: 50px auto;
                position: relative;
                width: 70vw;
                height: 40vh;
                border-radius: 10px;
                transition: 0.5s;
            }
        
            .service-card:hover{
                width: 70vw;
                height: 40vh;
            }
        
        }
        
        
        
        
        @media screen and (max-width: 400px) {
        
        body{
            max-width: 100vw;
            width: 100vw;
            padding: 0;
            margin: 0;
        }
        
            .navbar{
                min-height: 60px;
                margin: 0 auto;
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 0 30px;
            }
        
        
            .bottom-info{
                padding: 30px 5vw;
            }
        }