html{
    font-size: 100%;
}
body{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    color: #101315;
    background: #FFFEF6;
    font-family: 'Archivo Narrow', sans-serif;
}

/*画面スクロール用-----------------------------------------------------------------*/
.scroll{
    transition: 1s ease-in-out;
    opacity: 0;
}
.scroll.on {
    opacity: 1.0;
}

.scroll-down{
    transition: 1s ease-in-out;
    opacity: 0;
    transform: translateY(-50px);
}
.scroll-down.on{
    opacity: 1.0;
    transform: translateY(0px);
}

.scroll-btnleft{
    transition: 1s ease-in-out;
    opacity: 0;
    transform: translateX(30px);
}
.scroll-btnleft.on{
    opacity: 1.0;
    transform: translateX(0px);
}

.scroll-btnright{
    transition: 1s ease-in-out;
    opacity: 0;
    transform: translateX(-30px);
}
.scroll-btnright.on{
    opacity: 1.0;
    transform: translateX(0px);
}

.scroll_circle{
    clip-path: circle(0);
    transition: 1s ease-in-out;
}
.scroll_circle.view{
    clip-path: circle(100%);
}

.scroll_lr{
    clip-path: inset(0 0 0 100%);
    transition: 1s ease-in-out;
    transition-delay: .5s;
}
.scroll_lr.on{
    clip-path: inset(0);
}

.scroll-0{
    transition: 1s ease-in-out;
    opacity: 0;
}
.scroll-0.view {
    opacity: 1.0;
}
/*スクロールのタイミングを変える*/
.timing04{
    transition-delay: .4s;
}
.timing08{
    transition-delay: .8s;
}
.timing12{
    transition-delay: 1.2s;
}
.timing16{
    transition-delay: 1.6s;
}
.timing20{
    transition-delay: 2s;
}

 /*ハンバーガーメニュー---------------------------------*/
 .menu-btn-sm{
    position: fixed;
    top: -300px;
    left: 50%;
    height: 28px;
    width: 40px;
    z-index: 99;
    transition: .3s ease-in-out;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    background-color: rgba(0,0,0,0);
}
.menu-btn-sm.view{
    animation: menudown 1s ease-in-out both;
}
@keyframes menudown {
    0%{
            top: -300px;
    }
    100%{
            top: 45px;
    }
}
.menu-btn-sm:hover{
   cursor: pointer;
}

.menu-btn-sm span{
    content: '';
    display: block;
    height: 4px;
    width: 40px;
    background-color: #687672;
    position: absolute;
    top: 0;
    left: 0;
    transition: .175s ease-in-out;
}
.menu-btn-sm span:before,
.menu-btn-sm span:after{
    content: '';
    display: block;
    height: 4px;
    width: 40px;
    background-color: #687672;
    position: absolute;
    transition: .175s ease-in-out;
}
.menu-btn-sm span::before{
    top: 12px;
    left: 0;
}
.menu-btn-sm span::after{
    top: 24px;
    left: 0;
}
.menu-btn-sm:hover span::before{
    transition: .175s ease-in-out;
    background: #993a3a;
}
.menu-btn-sm:hover span::after{
    transition: .175s ease-in-out;
    background: #5b8fab;
}

/*チェック状態の時の変化--------*/
#menu-btn-check-sm:checked ~ .menu-btn-sm span {
    background-color: rgba(255, 255, 255, 0);
    box-shadow: none;
/*メニューオープン時は真ん中の線を(span)透明にする*/
}

#menu-btn-check-sm:checked ~ .menu-btn-sm span:before {
    top: 12px;
    left: 0;
    transform: rotate(45deg);
    width: 40px;
    box-shadow: none;
}

#menu-btn-check-sm:checked ~ .menu-btn-sm span:after {
    top: 12px;
    left: 0;
    transform: rotate(-45deg);
    width: 40px;
    box-shadow: none;
}

#menu-btn-check-sm{
    display: none;
}

/*スマホ版メニューの中身*/
.nmenu-content-sm {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    /*通常時は画面右に押し込む----------*/
    top: 100%;
    z-index: 98;
     /* From https://css.glass */
    background: rgba(16, 19, 21, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: .5s ease-in-out;
    opacity: 0;
}

.nmenu-content_flex-sm{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 0;
    padding: 0;
}
.nmenu-content-sm ul li {
    list-style: none;
    text-align: center;
    margin-bottom:  60px;
}
.nmenu-content_flex-sm li a {
    width: 100%;
    box-sizing: border-box;
    color:#fff;
    text-decoration: none;
    font-size: 1.2rem;
    display: block;
    letter-spacing: 0.05em;
    transition: .1s ease-in-out;
    position: relative;
}
.nmenu-content_flex-sm a::before {
    content: '';
    position: absolute;
    display: inline-block;
    bottom: -5px;
    transition: .3s ease-in-out;
}
.nmenu-content_flex-sm a:hover::before {
    transition: .3s ease-in-out;
    bottom: 0;
    width: 100%;
    height: 10px;
    background: rgba(187, 222, 214, 0.5);
    z-index: -1;
}
.nmenu-content_flex-sm a:hover{
    color: #a7a7a7;
}
.nmenu-content_flex-sm a:active{
    color: #a7a7a7;
}
.music-sm{
    background: #fff;
}
#menu-btn-check-sm:checked ~ .music-sm {
    opacity: 0;
}
/*チェック状態の時*/
#menu-btn-check-sm:checked ~ .nmenu-content-sm {
    top: 0;/*メニューを画面内へ*/
    opacity: 1;
}
/*ハンバーガーメニューここまで*/


/*スキルクリック3D---------------------------------*/
.body-wrap{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 75vh;
    background: #07091d;
    transform-style: preserve-3d;
    position: relative;
    overflow-x: hidden;
}

.body-wrap h2{
    position: absolute;
    color: #fff;
    top: -3%;
    left: 10%;
    font-size: 5rem;
    letter-spacing: 0.3em;
    z-index: 1;
}
/*** アニメーションする要素の親 ***/
.downup{
    display: flex; /*　横並びに */
    overflow: hidden; /* はみ出たものを非表示に */
}
.uptext{
    transform: translateY(110%); /*デフォルトで下に隠す*/
    display: block; /*ブロック要素に*/
}
.uptext.on{
    animation: uptextanime 1s ease-in-out both;
}
@keyframes uptextanime {
    0%{
            transform: translateY(110%);
    }
    100%{
            transform: translateY(0%);
    }
}
.downup span:nth-child(1) {
    animation-delay: 0s;
}
.downup span:nth-child(2) {
    animation-delay: .1s;
}
.downup span:nth-child(3) {
    animation-delay: .2s;
}
.downup span:nth-child(4) {
    animation-delay: .3s;
}
.downup span:nth-child(5) {
    animation-delay: .4s;
}

.body-wrap::after{
    content: "";
    position: absolute;
    top: 0;
    display: block;
    width: 100%;
    height: 200px;
    background: linear-gradient(0deg, rgba(16, 19, 21, 0) 0.0, #101315);
}
.box{
    position: relative;
    width: 200px;
    height: 200px;
    transform-style: preserve-3d;
    transition: 1s;
    transform: perspective(2000px) rotateY(0deg);
}
.box span{
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   transform-origin: center;
   transform-style: preserve-3d;
   transform: rotateY(calc(var(--i) * 60deg)) translateZ(280px);
   -webkit-box-reflect: below 20px linear-gradient(transparent,
   transparent,#0004)
}
.box span img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 130%;
    object-fit: cover;
    user-select: none;
}

.btns{
    position: absolute;
    bottom: 30px;
    display: flex;
    gap: 90px;
}
.btns .btn{
    position: relative;
    width: 60px;
    height: 60px;
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.btns .btn:active{
    background: #fff;
}
.btns .btn::before{
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    transform: rotate(45deg);
}
.btns .btn.prev::before{
    transform: rotate(225deg);
}
.btns .btn:active::before{
    border-top: 3px solid #000;
    border-right: 3px solid #000;
}
.btns .btn::after{
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #687672;
    z-index: -1;
    clip-path: circle(0%);
    transition: .5s ease-in-out;
    user-select: none;
}
.btns .btn:hover::after{
    clip-path: circle(100%);
    transition: .3s ease-in-out;
    user-select: none;
}
/*スキルクリック3Dここまで--------*/


.box-maT{
    width: 100%;
    height: 150px;
    background: #07091d;
    position: relative;
}
.box-maT::after{
    content: "";
    position: absolute;
    bottom: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(16, 19, 21, 0) 0.0, #101315);
}

/*フッター---------------------------------*/
.fotter-sm{
    position: relative;
    width: 100%;
    height: 33vh;
}
.footer-box1-sm{
   height: 100%;
    width: 50%;
    position: absolute;
    top: 0;
    left: 0;
    transition: .3s ease-in-out;
}
.footer-box2-sm{
    width: 50%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    transition: .3s ease-in-out;
    display: flex;
    justify-content: left;
    align-items: center;
    font-size: 5rem;
    color: #fff;
}
.video-footer-left-sm{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video-footer-left-sm{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.video-footer-right-sm{
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.footer-box2-sm img{
    position: absolute;
    right: 0;
    bottom: 6%;
    width: 8%;
    min-width: 60px;
}
.footer-box1-sm_p{
    position: absolute;
    font-size: 1rem;
    letter-spacing: 0.2em;
    color: #fff;
    margin: 0;
    padding: 3px 0 3px 30px;
    bottom: 0;
    right: 0;
    text-align: right;
    z-index: 2;
    background: #101315;
}
.footer-box2-sm_p{
    position: absolute;
    font-size: 1rem;
    letter-spacing: 0.2em;
    color: #fff;
    margin: 0;
    padding: 3px 30px 3px 0;
    background: #101315;
    bottom: 0;
    left: 0;
    text-align: left;
    z-index: 2;
}
/*フッターここまで-------*/


@media(max-width:800px){
    html{
        font-size: 80%;
    }

    .body-wrap h2{
        top: 0%;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media(max-width:600px){
    .nmenu-content-sm ul li {
        margin-bottom:  8%;
    }
}