@charset "UTF-8";

.change-color-sp .header__menu-btn-line,
.change-color-sp .header__menu-btn-line::before,
.change-color-sp .header__menu-btn-line::after {
    background: var(--color-white);
}
.change-color .header__menu-btn-line,
.change-color .header__menu-btn-line::before,
.change-color .header__menu-btn-line::after {
    background: var(--color-green);
}
@media (min-width: 768px) {
    .header__nav-item {
        width: auto;
        color: var(--color-white);
    }
    .change-color .header__nav-item {
        color: var(--color-green);
    }
}


/* MV */
.mv {
    width: 100%;
    margin-bottom: calc(3em + 60px + 60px);
}
.mv__content {
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 0;
    position: relative;
}
.mv__bg-white {
    padding-top: 70px;
    padding-left: 20px;
    padding-left: 20px;
    width: 100%;
    height: 50vh;
    background: var(--color-white);

    display: flex;
    align-items: center;
    justify-content: start;
}
.mv__text {
    color: var(--color-green);
    font-weight: 900;
    letter-spacing: 0.2em;
}
.mv__sub-text {
    font-size: 24px;
    margin-bottom: 12px;
}
.mv__main-text {
    font-size: 36px;
}
.mv__bg-green {
    width: 100%;
    height: 50vh;
    background: var(--color-green);
    border-bottom-left-radius: 30px;

    display: flex;
    justify-content: center;
    align-items: center;
}
.mv__img {
    width: 80%;
    max-width: 400px;
    aspect-ratio: 2 / 1;

}
.mv__img-link {
    display: block;
    width: 100%;
    height: 100%;
    transition: all 0.5s;
    
    img {
        width: 100%;
        aspect-ratio: 2 / 1;
        object-fit: cover;
        border-radius: 20px;
        max-width: 400px;
    }
}
.mv__arrow {
    height: 60px;
    position: absolute;
    left: 50%;
    /* bottom: -3em; */
    transform: translateX(-50%) translateY(100%);
}

@media (Min-width: 768px) {
    .mv {
        width: 100%;
        height: 100vh;
        margin-bottom: 120px;
    }
    .mv__content {
        height: 100%;
    
        flex-direction: row;
    }
    .mv__bg-white {
        padding-top: 0;
        /* flex: 0 0 50%; */
        width: 50vw;
        height: 100%;
    }
    .mv__bg-green {
        padding-top: 0;
        /* flex: 0 0 50%; */
        width: 50vw;
        height: 100%;
    }
    .mv__img {
        max-width: 550px;
    }
    .mv__img-link {
        
        img {
            max-width: 550px;
        }
    }
    .mv__img-link:hover {
        opacity: 0.6;
    }
    .mv__arrow {
        height: 90px;
        left: 45%;
        bottom: 60px;
        transform: translateY(0%);
    }
}
@media (min-width: 1000px) {
    .mv__arrow {
        left: 46%;
    }
}
@media (min-width: 1200px) {
    .mv__sub-text {
        font-size: 36px;
        margin-bottom: 20px;
    }
    .mv__main-text {
        font-size: 52px;
    }
}

/* ABOUT */
.about {
    margin-bottom: 100px;
}
.about__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}
.about__img {
    width: 300px;
    img {
        width: 100%;
        object-fit: cover;
        box-shadow: 5px 5px 4px 0px rgba(0, 0, 0, 0.25);
    }
}
.about__text {
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.about__name {
    display: inline-block;
    font-size: 20px;
    font-weight: 500;
}
.about__ruby {
    font-size: var(--sp-text-font-size);
    margin-left: 1em;
}
.about__intro {
    line-height: 1.6;
}
@media (min-width: 768px) {
    .about {
        margin-bottom: 120px;
    }
    .about__content {
        flex-direction: row;
        justify-content: space-between;
        gap: 40px;
    }
    .about__img {
        flex: 0 0 300px;
    }
    .about__text {
        max-width: unset;
        align-items: start;
        gap: 24px;
    }
    .about__name {
        font-size: 24px;
    }
    .about__ruby {
        font-size: var(--pc-text-font-size);
    }
}

.page-btn {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: end;
    gap: 1rem;
    padding: 0.5rem 1rem;
    background: var(--color-yellow);
}
.page-btn__text {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-green);
    transition: all 0.5s;
}
.page-btn__img {
    padding-bottom: 6px;
    transition: all 0.5s;
}
@media (min-width: 768px) {
    .page-btn {
        margin-right: 0;
    }
    .page-btn__text {
        transform: translateX(1rem);
    }
    .page-btn__img {
        transform: translateX(2rem);
    }
    .page-btn:hover .page-btn__text {
        transform: translateX(0);
    }
    .page-btn:hover .page-btn__img {
        transform: translateX(0);
    }
}

/* WORKS */
.works {
    margin-bottom: 100px;
}
.works__list {
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 40px;
}
.works__link {
    display: block;
    width: 100%;
}
.works__img {
    width: 100%;
    aspect-ratio: 2 / 1;
    margin-bottom: 8px;

    img {
        width: 100%;
        aspect-ratio: 2 / 1;
        border-radius: 20px;
        box-shadow: 5px 5px 4px 0px rgba(0, 0, 0, 0.25);
        transition: all 0.5s;
    }
}
.works__category {
    font-size: 14px;
    color: #6B6B6B;
    margin-bottom: 4px;
}
.works__name {
    font-size: 16px;
    font-weight: 500;
}

@media (min-width: 768px) {
    .works {
        margin-bottom: 180px;
    }
    .works__list {
        grid-template-columns: repeat(2, 1fr);
        max-width: unset;
        gap: 12% 8%;
    }
    .works__item {
        /* max-width: 450px; */
        align-self: start;
    }
    .works__name {
        font-size: 18px;
    }
    .works__link:hover img {
        opacity: 0.6;
    }
}