@charset "UTF-8";

/*-------------------------------------------
Works Detail Page
-------------------------------------------*/
.container {
    background: #DBC3C3;
}

.work-detail {
    display: flex;
    margin-top: 110px;
    margin-bottom: 100px;
}

.work-visual {
    width: 50%;
}

.work-detail-content {
    width: 50%;
    margin-left: 2rem;
    color: #333;
}

.work-detail-content h3 {
    font-size: 1.2rem;
    margin-top: 2rem;
    margin-bottom: 0.5em;
    border-bottom: 1px solid #C2858C;
}

h2.work-name {
    border-bottom: none;
}

.work-detail-title {
    font-size: 1.8rem;
    padding: 0 0 1em 0;
    font-family: "playfair-display", serif;
}

.btn-area {
    justify-content: center;
    margin-top: 0;
}

.btn-main {
    max-width: 50%;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    color: #333;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
    margin: 40px 0 80px;
    text-decoration: underline;
}

.dli-arrow-left {
    display: inline-block;
    position: relative;
    width: 1em;
    height: 0.1em;
    background: currentColor;
    margin-right: 0.8rem;
    transition: transform 0.3s ease;
}

.dli-arrow-left::before {
    content: '';
    width: 0.65em;
    height: 0.65em;
    border: 0.1em solid currentColor;
    border-right: 0;
    border-bottom: 0;
    transform: rotate(-45deg);
    transform-origin: top left;
    position: absolute;
    top: 50%;
    left: -0.05em;
    box-sizing: border-box;
}

.btn-back:hover .dli-arrow-left {
    transform: translateX(-4px);
}

.next-img {
    width: 40%;
    margin: 0 auto;
}

.next-section p {
    text-align: center;
    font-size: 1rem;
    margin-top: 1rem;
    color: #333;
}

.work-thumbnail {
    margin: 30px 0;
}

/*-------------------------------------------
SP
-------------------------------------------*/
@media screen and (max-width: 680px) {

    .mockup-img {
        height: 140px;
    }

    .mockup-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: left;
    }

    .work-detail {
        flex-direction: column;
        margin-top: 40px;
    }

    .work-visual {
        width: 100%;
    }

    .work-detail-content {
        width: 100%;
        margin-left: 0;
    }

    h2.work-name {
        font-size: 1.3rem;
    }

    .btn-main {
        max-width: 80%;
        margin-bottom: 60px;
    }

    .next-img {
        width: 80%;
    }

}