@charset "UTF-8";

/* sp */
.section {
    padding: 50px 20px 80px;
}

.topicBox {
    display: block;
    padding-left: 5px;
    border-bottom: 3px solid var(--primary-accentGreen);
}

.topic--graphic {
    color: var(--primary-purple);
}

.topic {
    font-family: "Jost", sans-serif;
    font-size: 3rem;
    font-optical-sizing: auto;
    font-weight: 500;
    letter-spacing: 0.03em;
    line-height: normal;
}

.flex {
    display: none;
}

.thumbnail__pictureSp {
    object-fit: cover;
    aspect-ratio: 1;
    margin-top: 40px;
}

.project {
    margin-top: 30px;
    padding: 29px 19px;
    border: 1px solid var(--primary-black);
    box-sizing: border-box;
}

.description__name {
    display: inline;
    font-family: "Jost", sans-serif;
    font-size: 2rem;
    font-optical-sizing: auto;
    font-weight: 600;
    letter-spacing: 0.03em;
    line-height: normal;
    padding: 0 5px;
    background-color: var(--primary-accentGreen);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.description__group {
    margin-top: 20px;
}

.description__group:first-of-type{
    margin-top: 0;
}

.description__txt {
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    line-height: 1.7;
    margin-top: 5px;
}

.point__txt {
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    line-height: 1.7;
    margin-top: 27.2px;
}

.point__txt:first-of-type {
    margin-top: 5px;
}

.picture__center {
    text-align: center;
}

.project__picture {
    margin-top: 20px;
    box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.25);
}

.project__titlePicture {
    margin-top: 20px;
}

.descriptionBox {
    padding: 29px 19px;
    border: 1px solid var(--primary-black);
    box-sizing: border-box;
    margin-top: 30px;
}

.txt__flex {
    display: flex;
    flex-wrap: wrap;
}

.txt__flex .description__txt:first-of-type {
    margin-right: 20px;
}

.back__txt {
    margin-top: 50px;
    position: relative;
    font-family: "Jost", sans-serif;
    font-size: 2rem;
    font-optical-sizing: auto;
    font-weight: 400;
    line-height: normal;
    display: flex;
    align-items: center;
    padding-left: 50px;
}

.back__txt::before {
    content: '';
    position: absolute;
    left: 0;
    width: 8px;
    height: 8px;
    border-left: 2px solid var(--primary-black);
    border-bottom: 2px solid var(--primary-black);
    transform: rotate(45deg);
}

.point__lp {
    display: none;
}

iframe {
    border: none;
}

/* ========== pc ========== */
@media screen and (min-width:769px) {
    .description__item {
        margin: 0 auto;
        padding: 49px;
        border: 1px solid var(--primary-black);
        box-sizing: border-box;
        margin-right: 50px;
    }

    .descriptionBox {
        display: none;
    }

    .thumbnail__pictureSp {
        display: none;
    }

    .section {
        padding: 100px 80px;
    }

    .flex {
        display: flex;
        margin: 75px auto 0;
        justify-content: center;
        max-width: 1280px;
    }

    .topicBox {
        padding: 0 0 5px 5px;
        border-bottom: 5px solid var(--primary-accentGreen);
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0 3.9%;
    }
    
    .topic {
        font-size: 5rem;
    }

    .topicName {
        font-size: 2.4rem;
        letter-spacing: 0.03em;
        margin-top: 0;
        width: fit-content;
    }


    .description__txt {
        font-size: 2rem;
        margin-top: 5px;
    }

    .picture__lpBox {
        flex: 1;
    }
    
    .thumbnail__pictureLp {
        object-fit: cover;
        height: 100%;
    }


    .project {
        margin: 50px auto 0;
        padding: 49px;
        border: 1px solid var(--primary-black);
        box-sizing: border-box;
        display: block;
        max-width: 1280px;
    }

    .description__group {
        margin-top: 25px;
    }

    .description__name {
        display: inline;
        font-family: "Jost", sans-serif;
        font-size: 2.4rem;
        font-optical-sizing: auto;
        font-weight: 600;
        letter-spacing: 0.03em;
        line-height: normal;
        background-color: var(--primary-accentGreen);
        box-decoration-break: clone;
        -webkit-box-decoration-break: clone; /* Safari対応 */
    }

    .project__picture {
        margin-top: 0;
        box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.25);
    }

    .description__name--visual {
        margin-top: 0;
    }

    .point__lp {
        display: block;
        max-width: 1280px;
        margin: 50px auto 0;
        border: 1px solid var(--primary-black);
        box-sizing: border-box;
        padding: 49px;
    }

    .point__txtLp {
        font-size: 2rem;
        letter-spacing: 0.03em;
        margin-top: 40.8px;
    }
    
    .point__txtLp:first-of-type {
        margin-top: 10px;
    }
    
    .back__txt {
        margin-top: 80px;
        font-size: 3.5rem;
        cursor: pointer;
    }
    
    .back__txt::before {
        width: 20px;
        height: 20px;
        border-left: 5px solid var(--primary-black);
        border-bottom: 5px solid var(--primary-black);
    }

    .point__txtLp--marginTop {
        margin-top: 10px;
    }
}