@charset "UTF-8";

/* =========
common
=========*/
::selection {
    color: var(--primary-blue);
    background-color: yellow;
}

:root {
    --primary-black: #1A1A1A;
    --primary-blue:  #366FF9;

}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    background-color: #A6A9B0;
    margin: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;

    color: #ffffff;

    font-family: Poppins;
    font-weight: 400;
    font-style: normal;
    font-size: 1.4rem;

    position: relative;
}

img {
    max-width: 100%;
}


/* TOP */

.hamburger {
    display: none;
}

.topimgSP_div{
    display: none;
}

.topimgSP {
    display: none;
}

.header {
    display: flex;
    justify-content: space-between;
}

.ttl {
    margin-top: 28px;
    margin-left: 40px;
    width: 184.59px;
    height: 64.758px;
}

.logo {
    color: #FFF;
    font-size: 3.7rem;
    font-style: normal;
    letter-spacing: 7.53px;
}

.logo__sub {
    font-size: 1.2rem;
    margin-top: 13px;
}

.hamburger_open {
    display: none;
}

/* SP */
@media (max-width: 650px) {
    body {
        position: relative;
        margin: 0;
        width: 100%;
        height: 100vh;
        background-size: cover;
        background-repeat: no-repeat;
        overflow: hidden;
    }

    .topimg {
        display: none;
    }

    .topimgSP_div {
        position: absolute;
        display: flex;
        align-items: center; 
        justify-content: center; 
        width: 100%;
        height: 100vh;
        z-index: -1;
        top: 0;
        left: 0;
    }

    .topimgSP {
       
        max-height: 100%;
        object-fit: cover;
        display: block;
        margin: 0 auto;
    }

    .hamburger {
        display: block;
        width: 39px;
        height: 39px;
        margin: 21px 15px 0 0;
        cursor: pointer;
        z-index: 10;
    }

    .hamburger_open {
        color: #005CF8;
        position: relative;
        background-color: #A6A9B0;
        width: 100%;
        height: 100vh;
        position: fixed;
        z-index: -1; 
        top: 0;
        left: 0;
        display: block;
        opacity: 0;
        transition: opacity 0.2s ease, z-index 0s 0.2s ease; 
    }
    
    .hamburger_open.active {
        opacity: 1;
        z-index: 5; 
        transition: opacity 0.2s ease; 
    }
    

    .batsu {
        width: 39px;
        height: 39px;
        margin: 21px 15px 0 0;
        cursor: pointer;
        z-index: 20;
    }

    .hamburger_open.active .hamburger {
        z-index: 5;
    }
    

    .hamburger_open_head {
        display: flex;
        justify-content: space-between;
        padding-bottom: 15px;
        width: 100%;
        border-bottom: 2px solid #CFCFCF;
    }

    .open__nav__list {
        position: relative;
        margin-left: 15px;
        margin-top: 110px;
    }

    .nav__logo {
        margin: 21px 0 0 15px;
        color: #005CF8;
        font-size: 2.6rem;
        font-style: normal;
        line-height: normal;
        letter-spacing: 5.2px;
    }

    .open__nav__item {
        font-weight: 400;
        font-size: 3.6rem;
        font-style: normal;
        line-height: normal;
        margin-top: 17px;
        
    }

    .text {
        display: inline-block;
        opacity: 0;
        transform: translateY(100%);
        animation: slideUp 1s forwards;
    }

    .text-split {
        overflow: hidden;
      }
      
      .text-split span {
        display: inline-block;
        transform: translateY(100%);
        opacity: 0; /* 最初は透明 */
      }
      
      .text-split.is-active span {
        animation: slideUp 0.8s cubic-bezier(0.7, 0.2, 0.1, 1) forwards;
      }
      
      @keyframes slideUp {
        to {
          transform: translateY(0);
          opacity: 1;
        }
      }

    .open__nav__item a {
        transition: color 0.2s ease;
    }

    .open__nav__item a:hover {
        color: #FFF;
    }

    .open__nav__item__icon {
        margin-top: 38px;
    }

    .open__nav__icon__insta {
        width: 35px;
        height: 36px;
    }

    .open__nav__icon__X {
        width: 38px;
        height: 36px;
        margin-left: 31px;
    }

    .tears {
        position: absolute;
        top: 0;
        right: 0;
        height: 100vh;
        z-index: -1;
    }
    
    .tears img {
        height: 100%;
    }

    .batsu {
        width: 39px;
        height: 39px;
    }


    .ttl {
        margin-top: 16px;
        margin-left: 15px;
    }

    /* スライドアップアニメーション */
    .js-slide-up-row {
        position: relative;
        opacity: 0;
        width: fit-content;
      }
      .js-slide-up-row.is-setup {
        opacity: 1;
      }
      .js-slide-up-row__base {
        opacity: 0;
      }
      .js-slide-up-row__line,
      .js-slide-up-row__checker {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        pointer-events: none;
      }
      .js-slide-up-row__text {
        display: block;
      }
      .u-visually-hidden {
        overflow: hidden;
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        border: 0;
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        white-space: nowrap;
      }

   
    
}

/* ナビゲーションアニメ */
.nav__list {
    margin-top: 30px;
    margin-right: 49px;
    display: flex;
    gap: 20px;
    font-size: 2rem;
}

.navcontainer {
    position: relative;
    width: 70px;
    height: 25px;
    overflow: hidden;
    text-align: center;
    cursor: pointer;
}

.text {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.5s;
}

.text-1 {
    color: #FFF;
}

.text-2 {
    color: rgb(216, 216, 216);
    transform: translateY(100%);
}

.navcontainer:hover .text-1 {
    transform: translateY(-100%);
}

.navcontainer:hover .text-2 {
    transform: translateY(0);
}



.topimg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    height: 100vh;
}


.scroll {
    padding: 8px 0;
    background-color: var(--primary-blue);
    width: 100%;
    height: 35px;
    bottom: 0;
    position: absolute;
    overflow: hidden;
    white-space: nowrap;
}

.scroll__txt {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 20s linear infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(-1%);
    }
    100% {
        transform: translateX(-100%);
    }
}


.contact {
    display: block;
    position: absolute;
    width: 80.989px;
    height: auto;
    right: 18px;
    bottom: 15px;
}
  
  /* Animation */
  .contact {
    animation: floating-y 1.8s ease-in-out infinite alternate-reverse;
  }
  @keyframes floating-y {
    0% {
      transform: translateY(-5%);
    }
    100% {
      transform: translateY(5%);
    }
  }

  /* SP */
@media (max-width: 700px) {
    .nav__list{
        display: none;
    }


}

  /* ＋＋＋＋＋＋＋＋＋＋＋
JS用
＋＋＋＋＋＋＋＋＋＋＋ */

.box {
    opacity: 0;
    visibility: hidden;
    transition: all 1s;
    transform: translateY(100px);
}

.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}



