@charset "uft-8";
/* WORKS page */
body {
    background-image: none;
    background-color: #eed8c8;
}
main {
    margin-top: 0;
}
.section-workspage {
    margin-top: 50px;
}
.toleft,
.toright {
    position: fixed;
    width: 40px;
    height: 40px;
    top: 458px;
}
.toleft {
    left: 1%;
}
.toright {
    right: 1%;
}
.workspage {
    display: flex;
    margin-top: 20px;
}
.workspage img,
.workspage__detail img {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}
.workspage__img {
    width: 55%;
}
.workspage__img img {
    max-width: 500px;
    width: 100%;
}
.workspage__text {
    padding-left: 80px;
    margin-top: -16px;
    width: 45%;
}
.workspage__img a {
    display: inline-block;
    font-size: 18px;
    padding-top: 70px;
    text-decoration: underline;
}
.workspage__text li {
    display: flex;
    gap: 41px;
    border-bottom: 1px solid #000; /* 下線を追加 */
    padding: 16px 0;
}
.workspage__text p {
    font-size: 20px;
    line-height: 1.88;
}
.works__type {
    font-weight: 700;
    width: 100px;
    text-align: justify;
    text-align-last: justify;
}
.workspage__title p {
    font-size: 30px;
    font-weight: 700;
}
.workspage__point {
    text-align: justify;
    padding-top: 16px;
}
.workspage__detail {
    justify-content: center;
    padding-top: 100px;
    display: flex;
    gap: 10%;
}

.btn-toworkslist {
    width: 134px;
    height: 32px;
    background-color: #fe2e35;
    border: 1px solid #fe2e35;
    font-size: 14px;
    line-height: 32px;
    letter-spacing: 0.1em;
    color: #fff;
    display: block;
    text-align: center;
    margin: 180px auto 230px;
    position: relative;
}
.btn-toworkslist a {
    display: block;
    width: 100%;
    height: 100%;
}
.btn-toworkslist::after {
    content: "";
    width: 8px;
    height: 8px;
    margin-top: -5px;
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
    transform: rotate(225deg);
    position: absolute;
    top: 50%;
    left: 10%;
}
.white-toworkslist {
    background-color: white;
    border: 1px solid #000;
    color: #000;
}
.white-toworkslist::after {
    content: "";
    width: 8px;
    height: 8px;
    margin-top: -5px;
    border-top: solid 2px #000;
    border-right: solid 2px #000;
    transform: rotate(225deg);
    position: absolute;
    top: 50%;
    left: 14%;
}
@media only screen and (max-width: 1200px) {
    .toleft,
    .toright {
        width: 30px;
        height: 30px;
    }
    .workspage__text {
        padding-left: 40px;
    }
    .workspage__text li {
        flex-direction: column;
        gap: 10px;
    }
}
@media only screen and (max-width: 768px) {
    .toleft,
    .toright {
        position: relative;
        top: 0;
        width: 25px;
        height: 25px;
    }
    .toleft {
        left: -40%;
    }
    .toright {
        right: -40%;
    }
    .workspage__outer {
        text-align: center;
    }
    .workspage {
        flex-direction: column;
    }
    .workspage__img {
        width: 100%;
        text-align: center;
    }
    .workspage__img p {
        padding-top: 30px;
    }
    .workspage__text {
        padding-left: 0;
        margin-top: 50px;
        width: 100%;
    }
    .workspage__text li {
        flex-direction: column;
        gap: 10px;
    }
    .workspage__detail img {
        width: 100%;
    }
    .workspage__title p {
        font-size: 20px;
    }
    /* .toleft,
    .toright {
        display: none; 
    } */
}
