@charset "utf-8";
/* =============
loading
============== */
.loading {
      position: fixed;
      z-index: 999;
      width: 100%;
      height: 100%;
      background:var(--primary-black);
}

.loading.active {
    animation: load 1s ease-in-out 0.6s forwards;
}

@keyframes load {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
  
    100% {
        transform: translateY(-100%);
    }
}

/* =============
header__top
============== */
.header__top {
    opacity: 0;
    animation: head 0.8s ease-in 1.4s forwards;
}


@keyframes head {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
}

/* =============
mv
============== */
.mv {
    position: relative;
    height: 100svh;
}

.mv__content {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    margin-bottom: 30px;
    padding: 0 5.3%;
}

h2 {
    font-size: 3.8rem;
    font-family: Inter;
    font-weight: 200;
    line-height: 1.2;
}

h2 span {
    margin-left: 16px;
}

.name {
    font-size: 1.4rem;
    font-family: Inter;
    font-weight: 300;
    line-height: 1.2;
    margin-top: 10px;
}

.mv__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--primary-black);
}

.item__txt {
    font-size: 1.2rem;
    font-weight: 400;
}

.scroll {
    display: flex;
    align-items: center;
}

.scroll__txt {
    font-size: 1.4rem;
    font-family: Inter;
    font-weight: 400;
    line-height: 1;
}

.scroll span {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 1px solid var(--primary-black);
    border-radius: 50px;
    margin-left: 10px;
}

.scroll span::before {
    position: absolute;
    content: "";
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 5px;
    height: 5px;
    border-radius: 50px;
    background-color: var(--primary-black);
}
  

/* mv pc */
@media screen and (min-width: 1024px) {
    .mv {
        height: 100vh;
    }

    .mv__content {
        margin-bottom: 60px;
    }

    h2 {
        font-size: 8rem;
        font-weight: 300;
    }

    h2 span {
        margin-left: 20px;
    }

    .name {
        font-size: 2.4rem;
        margin-top: 12px;
    }

    .mv__item {
        margin-top: 25px;
        padding-top: 20px;
    }

    .item__txt {
        font-size: 2rem;
    }

    .br__sp {
        display: none;
    }

    .scroll__txt {
        font-size: 2rem;
        font-weight: 300;
    }

    .scroll span {
        width: 40px;
        height: 40px;
        margin-left: 16px;
    }

    .scroll span::before {
        width: 6px;
        height: 6px;
    }
}


/* =============
about
============== */
.about {
    padding: 80px var(--content-padding);
    background-color: var(--primary-black);
}

h3 {
    position: relative;
    color: var(--primary-white);
    font-size: 3.2rem;
    font-weight: 500;
    line-height: 1.25;
    padding-left: 18px;
    opacity: 0;
}

.about__content.active h3 {
    animation: aboutup 1.4s ease-in-out forwards;
}

@keyframes aboutup {
    0% {
      opacity: 0;
      transform: translateY(12px);
    }
  
    100% {
      opacity: 1;
      transform: translateY(0);
    }
}

h3::before {
    position: absolute;
    content: "";
    top: 19px;
    left: 0;
    width: 6px;
    height: 6px;
    background-color: var(--primary-white);
}

.ab__item {
    position: relative;
    width: 73.1%;
    margin: 80px 0 0 auto;
}

.ab__item::before {
    position: absolute;
    content: "";
    top: 14px;
    left: -90px;
    width: 60px;
    height: 1px;
    background-color: var(--primary-white);
}

.ab__lead {
    color: var(--primary-white);
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.4;
}

.br__pc {
    display: none;
}

.ab__txt {
    color: var(--primary-white);
    font-size: 1.4rem;
    margin-top: 30px;
}

.btn__link {
    display: flex;
    align-items: center;
    margin-top: 42px;
}

.btn__txt {
    color: var(--primary-white);
    font-size: 1.4rem;
    font-family: Inter;
    font-weight: 400;
    transition: 0.4s;
}

.icon {
    position: relative;
    display: block;
    width: 30px;
    height: 30px;
    border: 1px solid var(--primary-white);
    border-radius: 50px;
    margin-left: 14px;
}

.icon::before {
    position: absolute;
    content: "";
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 5px;
    height: 5px;
    border-radius: 50px;
    background-color: var(--primary-white);
}

.icon::after {
    position: absolute;
    content: "";
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0,0);
    background-image: url(../img/arrow__wh.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 30px;
    height: 30px;
    opacity: 0;
    transition: 0.4s;
}

.btn:hover .btn__txt {
    transition: 0.4s;
    opacity: 0.9;
}

.btn:hover .icon::after {
    opacity: 1;
    transform: translate(-50%,-50%) scale(1,1);
    transition: 0.4s;
}

/* about pc */
@media screen and (min-width: 1024px) {
    .about {
        margin-top: 60px;
        padding: 160px var(--content-padding) 120px;
    }

    .about__content {
        max-width: 1240px;
        margin: 0 auto;
    }

    h3 {
        font-size: 6rem;
        font-weight: 400;
        padding-left: 37px;
    }

    h3::before {
        top: 36px;
        width: 10px;
        height: 10px;
    }

    .ab__item {
        width: 41.5%;
        margin-top: 100px;
    }

    .ab__item::before {
        top: 22px;
        left: -178px;
        width: 140px;
    }

    .ab__lead {
        font-size: 3rem;
    }

    .br__pc {
        display: block;
    }

    .ab__txt {
        font-size: 1.8rem;
    }

    .btn__link {
        margin-top: 50px;
    }

    .btn__txt {
        font-size: 1.6rem;
    }

    .icon {
        width: 45px;
        height: 45px;
        margin-left: 20px;
    }

    .icon::before {
        width: 6px;
        height: 6px;
    }

    .icon::after {
        width: 45px;
        height: 45px;
    }

}

/* =============
work
============== */
.work {
    padding: 100px 6.6% 120px;
}

.work__item {
    margin-top: 60px;
    background-color: var(--primary-background);
}

.work__item.active .number {
    animation: fadeup 1s ease forwards;
}

.work__item.active h4 {
    animation: fadeup 1s ease 0.1s forwards;
}

.work__item.active .work__txt {
    animation: fadeup 1s ease 0.2s forwards;
}

.work__item.active .category {
    animation: fadeup 1s ease 0.3s forwards;
}

.work__item.active .work__btn {
    animation: fadeup 1s ease 0.3s forwards;
}

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

.work__item:first-of-type {
    margin-top: 0;
}

.number {
    color: var(--primary-white);
    font-size: 2.4rem;
    font-family: Inter;
    font-weight: 600;
    line-height: 1;
    text-shadow:1px 1px 0 var(--primary-black), -1px -1px 0 var(--primary-black),
              -1px 1px 0 var(--primary-black), 1px -1px 0 var(--primary-black),
              0px 1px 0 var(--primary-black),  0-1px 0 var(--primary-black),
              -1px 0 0 var(--primary-black), 1px 0 0 var(--primary-black);
    margin-top: 24px;
    opacity: 0;
}

.number span {
    font-size: 2.8rem;
    letter-spacing: 1.2px;
    margin-left: 3px;
}

h4 {
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 1;
    margin-top: 5px;
    opacity: 0;
}

.work__txt {
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.8;
    margin-top: 14px;
    opacity: 0;
}


.category {
    color: var(--primary-gray);
    font-size: 1.2rem;
    font-family: Inter;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.24px;
    margin-top: 8px;
    opacity: 0;
}

.work__btn {
    display: flex;
    align-items: center;
    margin-top: 34px;
    opacity: 0;
}

.work__btnTxt {
    color: var(--primary-black);
}

.work__icon {
    border: 1px solid var(--primary-btnGray);
}

.work__icon::before {
    background-color: var(--primary-black);
}

.work__icon::after {
    background-image: url(../img/arrow__bl.png);
}

.work__link:hover .work__icon::after {
    opacity: 1;
    transform: translate(-50%,-50%) scale(1,1);
    transition: 0.4s;
}



/* work pad */
@media screen and (min-width: 1024px) {
    .work {
        padding: 50px var(--content-padding) 200px;
    }

    .work__content {
        max-width: 1200px;
        margin: 0 auto;
    }

    .work__item {
        position: sticky;
        top: 60px;
        margin-top: 90px;
        padding-top: 90px;
    }

    .work__item2, 
    .work__item3, 
    .work__item4 {
        opacity: 0;
    }

    .work__item2.active {
        opacity: 1;
    }

    .work__item3.active {
        opacity: 1;
    }

    .work__item4.active {
        opacity: 1;
    }

    .work__link {
        display: flex;
        align-items: center;
    }

    .work__img {
        width: 48.2%;
    }

    .work__detail {
        margin-left: 50px;
    }

    .number {
        font-size: 4.4rem;
        letter-spacing: 1.32px;
        margin-top: 0;
    }

    .number span {
        font-size: 5rem;
        margin-left: 2px;
    }

    h4 {
        font-size: 3.8rem;
        line-height: 1.4;
        margin-top: 0;
    }

    .work__txt {
        font-size: 1.6rem;
        margin-top: 16px;
    }

    .work__btn {
        margin-top: 42px;
    }

}

/* work pc */
@media screen and (min-width: 1280px) {
    .work {
        padding: 140px var(--content-padding) 200px;
    }

    .work__content {
        max-width: 1200px;
        margin: 0 auto;
    }

    .work__item {
        position: sticky;
        top: 30px;
        margin-top: 90px;
        padding-top: 30px;
    }

    .work__item2, 
    .work__item3, 
    .work__item4 {
        opacity: 0;
    }

    .work__item2.active {
        opacity: 1;
    }

    .work__item3.active {
        opacity: 1;
    }

    .work__item4.active {
        opacity: 1;
    }

    .work__link {
        display: flex;
        align-items: center;
    }

    .work__img {
        width: 47.2%;
    }

    .work__detail {
        margin-left: 106px;
    }

    .number {
        font-size: 4.4rem;
        letter-spacing: 1.32px;
        margin-top: 0;
    }

    .number span {
        font-size: 5rem;
        margin-left: 2px;
    }

    h4 {
        font-size: 3.8rem;
        line-height: 1.4;
        margin-top: 0;
    }

    .work__txt {
        font-size: 1.6rem;
        margin-top: 16px;
    }

    .work__btn {
        margin-top: 42px;
    }

}


/* work pc */
@media screen and (min-width: 1366px) {
    .work__item {
        position: sticky;
        top: 30px;
        margin-top: 90px;
        padding-top: 60px;
    }

    .work__img {
        width: 52%;
    }

    .work__detail {
        margin-left: 90px;
    }

}