@charset "UTF-8"; 

:root {
    --scale: 1;
    --scroll2: 1;
    --scroll1: 0;
    --maxScaleY: 6.911392;
    --maxScaleX: 6.381875;
    --h: 79px;
}

body {
    background: #413d41;
    color: #fff;
}

.home {
    display: flex;
    width: 100%;
    height: auto;
    flex-direction: column;
    align-items: center;
    position: relative;
    gap: 0vw;
}
/* main */

.main {
    display: flex;
    width: 100%;
    height: 500vw;
    position: relative;
    flex-direction: column;
}

.mainmovie_area {
    display: flex;
    width: 100%;
    height: 100vh;
    gap: 3vw;
    position: sticky;
    top: 0%;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    z-index: 1;
}

.maintxt {
    display: flex;
    width: 80%;
    height: auto;
    margin-right: 2vw;
    align-items: center;
    text-align: end;
}

.maintxt p {
    font-size: 1.4rem;
    line-height: 2rem;
    letter-spacing: 0.3rem;
    z-index: 1;
}

.mainmovie_area video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc((1 + var(--scale) * var(--maxScaleX)) * 13.5%);
    height: calc((1 + var(--scale) * var(--maxScaleY)) * 12.5%);
    transform: translate(-50%, -50%);
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.mainlist {
    display: none;
}

.maintxt2 {
    display: flex;
    width: 100%;
    height: auto;
    justify-content: center;
    text-align: center;
    z-index: 1;
}

.maintxt2 p {
    font-size: 2rem;
    letter-spacing: 0.8rem;
    transition: opacity 1s ease, transform 0.5s ease;
}

.maintxt2 p span {
  opacity: 0;
}

@media screen and (min-width:769px) {

    .main {
        height: 450vw;
    }

    .mainmovie_area {
        justify-content: flex-end;
    }

    .maintxt {
        width: 35%;
        margin-right: unset;
        text-align: unset;
        position: absolute;
        top: 5%;
        left: 5%;
        z-index: 2;
    }

    .mainmovie_area video {
        width: calc((1 + var(--scale) * var(--maxScaleX)) * 13.55%);
        height: calc((1 + var(--scale) * var(--maxScaleY)) * 14%);
    }
    
    .maintxt2 {
        display: flex;
        width: 100%;
        height: auto;
        padding: 2vw;
        text-align: end;
        position: absolute;
        top: 45%;
    }
    
    .maintxt2 p {
        font-size: 4rem;
        letter-spacing: 2.8rem;
        line-height: 6rem;
        margin-left: 1vw;
    }

    .mainlist {
        display: flex;
        width: 100%;
        justify-content: space-evenly;
        z-index: 1;
    }

    .mainitem {
        display: flex;
        width: 50%;
        height: auto;
        position: relative;
        justify-content: center;
    }

    .mainitem a {
        font-size: 2.4rem;
        letter-spacing: 0.5rem;
    }
    
    .initial-text {
        opacity: 1;
        transition: opacity .8s ease ;
    }

    .hover-text {
        position: absolute;
        top: 10%;
        opacity: 0;
        transition: opacity .8s ease ;
    }

    .hover-text a {
        font-size: 2.4rem;
        letter-spacing: 0.5rem;
    }

    .mainitem:hover .initial-text {
        opacity: 0;
    }

    .mainitem:hover .hover-text {
        opacity: 1;
    }
}

/* works */

.works {
    display: flex;
    width: 100%;
    height: auto;
    padding: 15vw 0;
    gap: 15vw;
    align-items: center;
    flex-direction: column;
    position: relative;
}

.workstitle {
    display: flex;
    width: 95%;
    height: auto;
    position: absolute;
    flex-direction: column;
    top: 5%;
}

.workstitle p{
    font-size: 2rem;
    letter-spacing: 1.1rem;
    mix-blend-mode: difference;
    writing-mode: vertical-lr;
    text-transform: capitalize;
    position: absolute;
    left: 1%;
    z-index: 3;
}

.works svg {
  position: absolute;
  top: 0;
  left: 0;
}

.works svg path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.1s linear;
}

.worksitem {
    display: flex;
    width: 70%;
    height: auto;
    position: relative;
    justify-content: center;
    flex-direction: column;
}

.worksitem img{
    display: flex;
    height: 40vw;
}

.worksitem a {
    display: flex;
    width: 100%;
    height: 55vw;
    gap: 8vw;
    padding: 2vw;
    align-items: center;
    justify-content: center;
    transition: ease-in-out .5s;
    scale: 0.8;
    opacity: 0;
    position: absolute;
    top: -2.6vw;
}

.worksitem a:hover {
    background-color: #0f0c10d9;
    border: #fff solid 5px;
    border-radius: 20px;
    scale: 1;
    opacity: 1;
    z-index: 1;
}

.worksitemtxt {
    display: flex;
    width: 100%;
    height: auto;
    align-items: center;
    flex-direction: column;
    gap: 5vw;
    padding: 2vw;
}

.worksitemtxt-box {
    display: flex;
    width: 100%;
    height: auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5vw;
}

.worksitemtxt-box p {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 0.2vw; 
}

.worksitemtxt-box p:first-child {
    font-size: 1.5rem;
}
.worksitemtxt-box p:nth-child(2) {
    font-size: 1.2rem;
}

.worksitemtxt p {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 0.2vw;
    text-align: center;
}

.clickbtn {
    width: auto;
    padding: 1vw;
    border: #fff solid 2px;
    border-radius: 50px;
}

@media screen and (min-width:769px) {

    .works {
        gap: 10vw;
    }


    .workstitle {
        position: sticky;
        top: 5%;
    }

    .workstitle p{
        font-size: 3rem;
    }

    .worksitem {
        flex-direction: row;
    }

    .worksitem a {
        width: 100%;
        height: 45vw;
        padding: 5vw;
        scale: 0.8;
        top: -2.6vw;
    }

    .worksitem a:hover {
        scale: 0.8;
    }

    .worksitemtxt {
        gap: 5vw;
    }

    .worksitemtxt-box {
        display: flex;
        width: 100%;
        height: auto;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5vw;
    }

    .worksitemtxt-box p {
        font-size: 1.2rem;
        font-weight: 300;
        letter-spacing: 0.2vw; 
    }

    .worksitemtxt-box p:first-child {
        font-size: 4rem;
        text-align: center;
    }
    .worksitemtxt-box p:nth-child(2) {
        font-size: 3rem;
    }

    .worksitemtxt p {
        font-size: 2rem;
        text-align: unset;
    }
}

/* viewmore-btn */
.viewmore-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: white;
    text-decoration: none;
    overflow: hidden;
    font-size: 2rem;
    letter-spacing: 0.6rem;
    padding: 0.4em 1em;
    justify-content: center;
    border-radius: 20px;
    transition: color 0.3s ease;
}

.viewmore-btn .dot {
    width: 2vw;
    height: 2vw;
    background-color: orange;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 44%;
    align-items: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.viewmore-btn .text {
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.viewmore-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid orange;
    border-radius: 20px;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}

.viewmore-btn .text::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    color: orange;
    overflow: hidden;
    white-space: nowrap;
    transition: width 0.6s ease-out;
}

.viewmore-btn:hover .dot {
    transform: translateX(1.2em);
    opacity: 0;
}

.viewmore-btn:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

.viewmore-btn:hover .text::before {
    width: 100%;
}

.viewmore-btn:hover::before,
.viewmore-btn:hover .text::before {
    transition-delay: 0.1s;
}

.viewmore-btn:not(:hover)::before,
.viewmore-btn:not(:hover) .text::before {
    transition-delay: 0s;
}


@media screen and (min-width:769px) {
    .viewmore-btn {
        font-size: 2.4rem;
        letter-spacing: 0.6rem;
    }

    .viewmore-btn .dot {
        width: 0.8vw;
        height: 0.8vw;
        top: 40%;
        left: 0;
    }
}

/* plofire */

.section-title {
    display: flex;
    width: 100%;
    height: auto;
    padding: 0 12vw;
}
.section-title p{
    font-size: 3rem;
    letter-spacing: 1.1rem;
}

.profile {
    display: flex;
    width: 100%;
    height: auto;
    padding: 15vw 10vw;
    gap: 10vw;
    align-items: center;
    flex-direction: column;
    position: relative;
}

.profilemain {
    display: flex;
    width: 100%;
    height: auto;
    gap: 5vw;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.profilephoto {
    background-image: url(../images/index/profilephoto.jpg);
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    display: flex;
    width: 50vw;
    height: 50vw;
}

.profilelist {
    display: flex;
    height: auto;
    border: 1px solid #fff;
    justify-content: center;
    padding: 4.5vw;
    opacity: 0;
    transform: translate(50px, 20px) scale(0.98);
    filter: blur(3px);
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.profilelist.show {
  opacity: 1;
  transform: translate(0, 0) scale(1);
  filter: blur(0);
}

.profilelist:nth-child(1).show { transition-delay: 0.1s; }
.profilelist:nth-child(2).show { transition-delay: 0.3s; }
.profilelist:nth-child(3).show { transition-delay: 0.5s; }
.profilelist:nth-child(4).show { transition-delay: 0.7s; }

.profiletxt1 {
    display: flex;
    flex-direction: column;
}

.profiletxt1 p {
    font-size: 1.2rem;
    line-height: 2.5rem; 
    letter-spacing: 0.4rem;
    text-align: center;
}

.profiletxt2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profiletxt2 p {
    font-size: 1.2rem;
    line-height: 2.5rem; 
    letter-spacing: 0.4rem;
    text-align: center;
}

.profiletxt3 {
    display: flex;
    flex-direction: column;
}

.profiletxt3 p {
    font-size: 1.2rem;
    line-height: 2.5rem; 
    letter-spacing: 0.2rem;
    text-align: center;
}

.profiletxt4 {
    display: flex;
    flex-direction: column;
}

.profiletxt4 p {
    font-size: 1.2rem;
    line-height: 2.5rem; 
    letter-spacing: 0.2rem;
    text-align: center;
}

@media screen and (min-width:769px) {

    .section-title {
        display: flex;
        width: 100%;
        height: auto;
    }
    .section-title p{
        font-size: 3rem;
        letter-spacing: 1.1rem;
    }

    .profile {
        justify-content: normal;
        align-items: center;
        padding: 10vw;
    }

    .profilemain {
        height: auto;
        flex-direction: column;
        align-items: flex-end;
        gap: 2vw;
        position: relative;
    }

    .profilelist {
        width: 50%;
        padding: 2vw 3vw;
        gap: 0;
        justify-content: unset;
    }

    .profilephoto {
        width: 30vw;
        height: 30vw;
        position: absolute;
        left: 15vw;
        z-index: 1;
    }

    .profilelist:first-of-type {
        width: 50%;
    }
    .profilelist:nth-of-type(2) {
        width: 50%;
    }
    .profilelist:nth-of-type(3) {
        width: 50%;
    }
    .profilelist:last-of-type{
        width: 50%;
    }

    .profiletxt1 {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .profiletxt1 p {
        font-size: 1.5rem;
        letter-spacing: 0.6rem;
    }

    .profiletxt2 p {
        font-size: 1.5rem;
        letter-spacing: 0.6rem;
        text-align: start;
    }

    .profiletxt3 {
        align-items: flex-start;
    }
    .profiletxt3 p {
        font-size: 1.5rem;
        letter-spacing: 0.1rem;
        text-align: start;
    }

    .profiletxt4 {
        align-items: flex-start;
    } 
    .profiletxt4 p {
        font-size: 1.5rem;
        letter-spacing: 0.1rem;
        text-align: start;
    } 
}

