/** 下記ワードで重要な値にアクセス **/
/** ロゴエリアのスクロールから画像の塊までの表示のバッファ（PC/SP） **/

/** TOP **/
@import url("variables.css");

header {
    position: fixed;
    top: 0;
}

/** topKeyV **/


#top section#topKey_v{
    width: 100%;
    height: 100dvh;
    position: fixed;
    top: 0;
    pointer-events: none;
    z-index: 98;
}

@media (max-width: 767px) {
    #top section#topKey_v{
        height: 100dvh;
    }
}

#top section#topKey_v .cont {
    width: 100%;
    height: 100%;
    padding-bottom: 0;
}

#top section#topKey_v .cont .logoWrapper{
    pointer-events: auto;
    opacity: 1;
    filter: blur(0px);
    transition: opacity .4s ease, filter .4s ease;
}

#top section#topKey_v .cont .logoWrapper.isHide{
    pointer-events: none;
    opacity: 0;
    filter: blur(30px);
    transition: opacity .4s ease, filter .4s ease;
}


#top section#topKey_v .cont .logoWrapper .flexWrap {
    width: 100%;
    height: 100dvh;
    /* display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; */
}

#top section#topKey_v .cont .logoWrapper .cont{
    width: 100%;
    height: 100vh;
    /* height: 50vh; */
    /* display: flex;
    justify-content: center;
    align-items: flex-end; */
}

@media (max-width: 767px) {
    #top section#topKey_v .cont .logoWrapper .cont{
        height: 100dvh;
    }
}


#top section#topKey_v .cont .logoWrapper .cont .logo {
    width: 100%;
    height: 100%;
    /* height: 50vh; */
    position: relative;
}

#top section#topKey_v .cont .logoWrapper .cont .logo #logoAnim {
    position: absolute;
    /* top: calc(50% - 12vh); */
    top: calc( 50% - 10px );
    left: 50%;
    transform: translate(-50%, -50%) translate3d(0, 0, 0);
    will-change: transform, opacity;
    width: 100%;
    text-align: center;
}

#top section#topKey_v .cont .logoWrapper .cont .logo #logoAnim svg {
    max-width: 100%;
    width: auto !important;

}


#top section#topKey_v .cont .logoWrapper .cont .logo .textAnimWrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    visibility: hidden;

    transition: all 1.2s;
}

#top section#topKey_v .cont .logoWrapper .cont .logo .textAnimWrap.animationStart {
    opacity: 1;
    visibility: visible;
    transition: all 1.2s;
}

#top section#topKey_v .cont .logoWrapper .cont .logo .textAnimWrap .text {
    font-size: 12.25rem;
    font-family: "EB Garamond", serif;
}

#top section#topKey_v .cont .logoWrapper .cont .logo .textAnimWrap .text.one {
    color: var(--green-color);
}

#top section#topKey_v .cont .logoWrapper .cont .logo .textAnimWrap .arr {
    content: '';
    display: block;
    width: 125px;
    height: 25px;
    position: relative;
    margin: 25px;
    box-sizing: border-box;
}

#top section#topKey_v .cont .logoWrapper .cont .logo .textAnimWrap .arr span {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
}

#top section#topKey_v .cont .logoWrapper .cont .logo .textAnimWrap .arr span:before {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: var(--green-color);
    position: absolute;
    bottom: 0;
    left: 0;
}

#top section#topKey_v .cont .logoWrapper .cont .logo .textAnimWrap .arr span:after {
    content: '';
    display: block;
    width: 1px;
    height: 150%;
    background: var(--green-color);
    position: absolute;
    bottom: -6px;
    right: 11px;
    transform: rotate(-45deg);
}


#top section#topKey_v .cont .logoWrapper .scroller {
    position: absolute;
    bottom: 5px;
    left: calc( 50% + 12px );
    transform: translateX(-50%);
}




#top section#topKey_v .cont .logoWrapper .scroller .text {
    font-size: 0.6875rem;
    font-weight: 300;
    font-style: italic;
    transform: translate(-50%, -18px) rotate(-90deg);
    display: block;
}

#top section#topKey_v .cont .logoWrapper .scroller .arr {
    display: block;
    content: "";
    width: 1px;
    height: 28px;
    position: relative;
    overflow: hidden;
}

#top section#topKey_v .cont .logoWrapper .scroller .arr:before {
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    background: var(--black-color);

    position: absolute;
    top: 0;
    left: 0;

    animation: scrollArrBefore 3s linear infinite;
}

@keyframes scrollArrBefore {
    0% {
        top: -100%;
        opacity: 1;
    }
    50% {
        top: 100%;
        opacity: 1;
    }
    60% {
        top: 100%;
        opacity: 0;
    }
    75% {
        top: -100%;
        opacity: 0;
    }
    100% {
        top: 0;
        opacity: 0;
    }
}

#top section#topKey_v .cont .logoWrapper .scroller .arr:after {
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    background: var(--black-color);

    position: absolute;
    top: 100%;
    left: 0;

    animation: scrollArrAfter 1.5s 1.5s linear infinite;
}


@keyframes scrollArrAfter {
    0% {
        top: -100%;
        opacity: 1;
    }
    50% {
        top: 100%;
        opacity: 1;
    }
    60% {
        top: 100%;
        opacity: 0;
    }
    75% {
        top: -100%;
        opacity: 0;
    }
    100% {
        top: 0;
        opacity: 0;
    }
}


#top section#key_v {
  width: 100%;
}
#top section#key_v .cont {
  width: 100%;
  height: auto;
  position: relative;
}




#top section#key_v .cont .bgWrapper{
    width: 100%;
    height: 200vh;
    position: relative;
    top: 80vh;  /** ロゴエリアのスクロールから画像の塊までの表示のバッファ PC **/
    left: 50%;
    transform: translateX(-50%);
    
}

@media (max-width: 768px) {
    #top section#key_v .cont .bgWrapper{
        top: 60vh;  /** ロゴエリアのスクロールから画像の塊までの表示のバッファ SP **/
    }
  }

#top section#key_v .cont .conceptWrapper{
    width: 100%;
    padding-bottom: 75px;
    /* min-height: 100vh; */
    position: relative;
}


#top section#key_v .cont {

    padding-top: 0;
    padding-bottom: 0;
}


#top section#key_v .cont .topAnimationControllWrapper{
    content: "";
    display: block;
    width: 100%;
    height: 120vh;  /** ロゴエリアのスクロールから画像の塊までの表示のバッファ PC **/
    position: relative;
    top: 0;  
    left: 0;
    
}

@media (max-width: 768px) {
    #top section#key_v .cont .topAnimationControllWrapper{
        height: 120vh;  /** ロゴエリアのスクロールから画像の塊までの表示のバッファ SP **/
        top: 0;  
    }
}


#top section#key_v .cont .topAnimationWrapper .cont {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 0;
}



/** zeroOneAnimationWrapper **/


#top section#topKey_v .flexWrap .zeroOneAnimationWrapper{
    content: "";
    display: block;
    width: 100%;
    height: 50vh;  /** ロゴエリアのスクロールから画像の塊までの表示のバッファ PC **/
    position: fixed;
    top: 0;  
    left: 0;
    z-index: 97;
    
}

#top section#topKey_v .flexWrap .zeroOneAnimationWrapper #zeroOneAnimation {
    width: 230px;
    aspect-ratio: 1/1;
    height: auto;
    margin-left: auto;
    margin-right: auto;

    position: fixed;
    top: calc( 50% + 20vh);
    left: 50%;
    transform: translate(-50%, -50%);

    opacity: 1;
    filter: blur(0px);
    transition: all .4s ease-in-out;
}


@media screen and (max-width: 514px) {
    #top section#topKey_v .flexWrap .zeroOneAnimationWrapper #zeroOneAnimation {
        width: 44%;
        top: calc( 50% + 15vh);
    }
}

#top section#topKey_v .flexWrap .zeroOneAnimationWrapper #zeroOneAnimation.isHide {
    opacity: 0;
    filter: blur(30px);
    transition: all .4s ease-in-out;
}