@charset "UTF-8";

.harapeko__main {
    width: 100%;
}

.harapekoTxt {
    margin-top: 63px;
    /* padding: 0 6.9vw 0 12vw; */
    position: relative;
    /* width: 100%;
    overflow: hidden; */
}

.harapeko__topic,
.main__txt02 {
    padding: 0 6.9vw 0 12vw;
}

.harapeko__txt--pc {
    position: relative;
}

.main__img {
    position: absolute;
    width: 60vw;
    height: 55vw;
    top: 75vw;
    right: 0vw;
    /* animation: randomScale 30s infinite ease-in-out alternate; */
    /* アニメーション設定 */
    z-index: -1;
}

@keyframes randomScale {
    0% {
        transform: scale(1);
        /* 通常サイズ */
    }


    50% {
        transform: scale(0.8);
        /* 小さく */
    }

    75% {
        transform: scale(1.5);
        /* 大きく */
    }

    100% {
        transform: scale(1);
        /* 元のサイズに戻る */
    }
}

.main__txt01 {
    color: var(--portfolio, #E5FF88);
    font-size: 1.2rem;
    font-weight: 400;
    margin-left: 2.1%;
    margin-top: 62px;
}

h2 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-top: 9px;
}

.main__txt02 {
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 24px;
    margin-top: 15px;
}

.main__txt03 {
    display: block;
    font-size: 1.5rem;
    font-weight: 400;
    margin-top: 45px;
    padding-left: 47vw;
    position: relative;
    transition: 0.4s;
}

/* .main__txt03:hover {
    transform: scale(1.1,1.1);
} */

.main__txt03::after {
    content: '';
    background-image: url(../images/site__btn.png);
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    width: 40px;
    height: 40px;
    background-color: #F2FFCF;
    border-radius: 50%;
    position: absolute;
    top: -7px;
    left: 33vw;
    transition: 0.4s;
}

.main__txt03:hover::after {
    transform: scale(1.1, 1.1);
}

/* main pc */
@media screen and (min-width:769px) {
    .harapeko__main {
        width: 51vw;
        margin-top: 194px;
        display: flex;
        margin-left: auto;
        padding-right: 6.2vw;
    }

    .harapekoTxt {
        padding: 0;
    }

    .harapeko__txt--pc {
        display: flex;
        flex-direction: row-reverse;
        position: relative;
    }

    .harapeko__txt--pc::after {
        content: "";
        position: absolute;
        background: #ffffff;
        width: 1px;
        height: 194px;
        top: -7px;
        left: 11%;
    }

    .main__txt01 {
        font-size: 1.4rem;
        position: absolute;
        top: 28.4vw;
        left: 11vw;
        margin-top: 0;
    }

    h2 {
        font-size: 3.2rem;
        position: absolute;
        top: 30.5vw;
        left: 12vw;
    }

    .main__img {
        width: 44.2vw;
        height: auto;
        top: 3px;
        right: 55vw;
        animation: none;
    }

    .main__img::after {
        content: "";
        position: absolute;
        background: #ffffff;
        width: 1px;
        height: 80px;
        top: -40px;
        right: 50%;
        animation: pathmove 2s ease-in-out infinite;
        opacity: 0;
    }

    .main__txt02 {
        font-size: 1.8rem;
        margin-top: 108px;
        padding-left: 18.2vw;
        padding-right: 20.4vw;
    }

    .main__txt03 {
        font-size: 1.5rem;
        margin-top: 90px;
    }

    .main__txt03::after {
        width: 4.8vw;
        height: 4.8vw;
        top: -22px;
        left: 40vw;
    }
}

/* detail  */

.detail {
    padding: 0 4.2vw 0 4.2vw;
    margin-top: 97px;
}

.detailBox {
    border-top: 1px solid #ffff;
    /* border-bottom: 1px solid #ffff; */

}

.detail__txtSub {
    color: #ADAFA1;
    font-family: Castoro;
    font-size: 1.1rem;
    font-weight: 400;

    padding-top: 22px;
    margin-left: 5%;
}

.detail__txt {
    padding-bottom: 25px;
    margin-top: 16px;
    margin-left: 5%;
}

.detail__smallBox {
    display: grid;
    gap: 4px;
    margin-top: 16px;
    padding: 0 0 25px 5%;

}

.detail__wf,
.detail__design,
.detail__cording {
    display: flex;
}

.detail__wfTxt {
    margin-left: 7.2vw;
}

.detail__designTxt {
    margin-left: 29.6vw;
}

.detail__cordingTxt {
    margin-left: 23.4vw;
}



.detailBox:last-of-type {
    border-bottom: 1px solid #ffff;
}

.fullsize__sp__image {
    padding: 80px 0;
    /* background-color: black; */
    position: relative;
    margin-top: 50px;
}




@keyframes pathmove {
    0% {
        height: 0;
        top: 40px;
        opacity: 0;
    }

    30% {
        height: 40px;
        opacity: 1;
    }

    100% {
        height: 0;
        top: 80px;
        opacity: 0;
    }

}

.scroll__txt {
    font-size: 1.5rem;
    background-color: #C6FFBF;
    border-radius: 50%;
    width: 61px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    position: absolute;
    top: 32px;
    left: 0%;
}

.scroll__txt::before {
    content: "";
    position: absolute;
    background: #ffffff;
    width: 1px;
    height: 80px;
    top: -40px;
    right: 50%;
    animation: pathmove 2s ease-in-out infinite;
    opacity: 0;
}

/* .fullsize__sp__image {
    background-color: #404141;
    padding: 120px 0;
    text-align: center;
    overflow: hidden;
    background-image: linear-gradient(0deg, transparent calc(100% - 1px), #a4a4a4 calc(100% - 1px)), linear-gradient(90deg, transparent calc(100% - 1px), #a4a4a4 calc(100% - 1px));
    background-size: 16px 16px;
    background-repeat: repeat;
    background-position: center center;
} */

.sp__scroll {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1800px;
}

.sp__scroll ul {
    border-radius: 20px;
    border: solid 6px #fff;
    overflow: hidden;
    aspect-ratio: 375 / 667;
    overflow-y: scroll;
    margin: 20px;
    width: 300px;
}

.sp__scroll li img {
    width: 100%;
}

/* detail pc */
@media screen and (min-width:769px) {
    .detail {
        padding-inline: 14.7vw;
    }

    .detailBox {
        display: flex;
        align-items: center;
        padding: 2.7vw;
    }

    .detail__txtSub {
        padding-top: 0;
        margin-left: 0;
        min-width: 100px;
    }

    .detail__txt {
        margin-top: 0;
        padding-bottom: 0;
    }

    .fullsize__sp__image {
        position: relative;
    }

    .fullsize__sp__image::after {
        content: '';
        width: 100vw;
        height: 133vw;
        position: absolute;
        top: 0;
        left: -15vw;
        background-color: #413f3f;
        z-index: -1;
    }
}

/* next */
.next {
    margin-top: 100px;
}

.sugutabe__next {
    width: 51vw;
    display: flex;
    margin: 0 auto;
    transition: 0.4s;
}

.sugutabe__next:hover {
    opacity: 0.7;
}

.button-container {
    position: relative;
    display: inline-block;
    margin-left: 17vw;
}

.button {
    background: none;
    border: none;
    font-size: 15px;
    padding: 10px 20px;
    /* cursor: pointer; */
    /* font-weight: bold; */
    position: relative;
    z-index: 1;
    color: #fff;
}

.border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px dotted #fff;
    border-radius: 50%;
    box-sizing: border-box;
}

.border-1 {
    animation: rotate 5s linear infinite;
}

.border-2 {
    animation: rotate-reverse 5s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes rotate-reverse {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

.all__works {
    display: flex;
    margin: 100px auto;
    margin-left: 31vw;
    justify-content: center;
    font-size: 8vw;
    /* background: linear-gradient(90deg, #2e2e2e, #444, #666, #888, #444, #2e2e2e); */
    /* background-size: 300% 300%; */
    /* -webkit-background-clip: text; */
    color: #b0b0ae;
    font-family: Castoro;
    /* animation: rainbow 10s infinite linear; */
    transition: 0.4s;
    position: relative;
    display: inline-block;
    /* text-decoration: none; */
}

/* .all__works::before {
    content: '';
    background-image: url(../images/detail__btn.png);
    width: 20px;
    height: 20px;
    position: absolute;
    top: 10px;
    right: 10px;
} */


.all__works::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: rgb(245, 244, 244);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
}

.all__works:hover::after {
    transform: scaleX(1);
}

/* .all__works:hover {
    opacity: 0.7;
}

.all__works::after {
    content: '';
    position: absolute;
    border-bottom: 1px solid #fff;
    left: 0;
    bottom: -5px;
} */

@keyframes rainbow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}



/* next pc */

@media screen and (min-width:769px) {
    .button {
        font-size: 2.5rem;
        padding: 30px 60px;
    }
}