
/* ==========================================
   unnoa WORKS SINGLE
   制作実績専用CSS
========================================== */

.un-works-single {
    width: 100%;
    margin: 0;
    padding: 0;
    color: #211c1b;
    background: #fff;
    text-align: left;
}

.un-works-single,
.un-works-single *,
.un-works-single *::before,
.un-works-single *::after {
    box-sizing: border-box;
}

.un-works-single h1,
.un-works-single h2,
.un-works-single h3,
.un-works-single p {
    margin: 0;
}

.un-works-single__container {
    width: calc(100% - 40px);
    max-width: 1000px;
    margin: 0 auto;
}

/* ==========================================
   HERO
========================================== */

.un-works-single__hero {
    padding: 145px 0 45px;
    background: #fff;
    text-align: center;
}

.un-works-single__eyebrow {
    margin-bottom: 8px !important;
    color: #02a55e;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .16em;
}

.un-works-single__heading {
    font-size: clamp(27px, 3.5vw, 38px);
    font-weight: 800;
    line-height: 1.5;
    text-align: center;
}

/* ==========================================
   ARTICLE
========================================== */

.un-works-single__article {
    padding: 35px 0 85px;
    background: #fff;
}

/* 共通header CSSとの競合を防止 */
.un-works-single .un-works-single__header {
    position: static;
    display: block;
    width: 100%;
    max-width: 900px;
    height: auto;
    min-height: 0;
    margin: 0 auto 38px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    text-align: left;
    transform: none;
    z-index: auto;
}

.un-works-single__category {
    display: inline-block;
    margin-bottom: 14px;
    padding: 5px 16px;
    border-radius: 100px;
    background: #e8f7ef;
    color: #078b51;
    font-size: 13px;
    font-weight: 700;
}

.un-works-single__title {
    margin: 0 0 14px !important;
    padding: 0;
    color: #211c1b;
    font-size: clamp(25px, 3.2vw, 38px);
    font-weight: 800;
    line-height: 1.5;
    text-align: left;
    overflow-wrap: anywhere;
}

.un-works-single__industry {
    color: #777;
    font-size: 14px;
    line-height: 1.8;
    text-align: left;
}

/* ==========================================
   IMAGE
========================================== */

.un-works-single__visual {
    width: 100%;
    margin: 0 auto 65px;
    padding: 18px;
    background: #f4f8f6;
    border: 1px solid #e5eee9;
    border-radius: 16px;
    overflow: hidden;
}

.un-works-single__image,
.un-works-single__visual img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 8px;
}

/* ==========================================
   SUMMARY
========================================== */

.un-works-single__summary {
    max-width: 850px;
    margin: 0 auto 48px;
    text-align: left;
}

.un-works-single__summary h3 {
    position: relative;
    margin-bottom: 24px;
    padding-left: 18px;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.5;
    text-align: left;
}

.un-works-single__summary h3::before {
    content: "";
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 0;
    width: 5px;
    border-radius: 5px;
    background: #02a55e;
}

.un-works-single__summary-text {
    color: #4d4d4d;
    font-size: 16px;
    line-height: 2;
    text-align: left;
}

.un-works-single__summary-text p {
    margin-bottom: 1em;
}

.un-works-single__summary-text p:last-child {
    margin-bottom: 0;
}

/* ==========================================
   SITE LINK
========================================== */

.un-works-single__site-link {
    display: flex;
    justify-content: center;
    margin: 35px auto 50px;
}

.un-works-single__site-link a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 280px;
    min-height: 56px;
    padding: 13px 30px;
    border: 1px solid #02a55e;
    border-radius: 100px;
    background: #fff;
    color: #078b51;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: .2s ease;
}

.un-works-single__site-link a:hover {
    background: #02a55e;
    color: #fff;
}

/* ==========================================
   BACK
========================================== */

.un-works-single__back {
    margin: 55px auto 0;
    text-align: center;
}

.un-works-single__back a {
    display: inline-block;
    padding: 10px 14px;
    color: #555;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.un-works-single__back a:hover {
    color: #02a55e;
}

/* ==========================================
   CTA
========================================== */

.un-works-single__cta {
    position: relative;
    width: 100%;
    padding: 80px 0 90px;
    background: #f1f9f5;
    text-align: center;
    clear: both;
}

.un-works-single__cta-inner {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.un-works-single__cta-label {
    margin-bottom: 14px !important;
    color: #02a55e;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .14em;
}

.un-works-single__cta h2 {
    margin-bottom: 22px !important;
    color: #211c1b;
    font-size: clamp(24px, 3.2vw, 34px);
    font-weight: 800;
    line-height: 1.6;
    text-align: center;
}

.un-works-single__cta-inner > p:not(
    .un-works-single__cta-label
) {
    margin-bottom: 28px;
    color: #555;
    font-size: 15px;
    line-height: 1.9;
    text-align: center;
}

.un-works-single__cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-width: 280px;
    min-height: 60px;
    padding: 15px 32px;
    border-radius: 100px;
    background: #02a55e;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    transition: .2s ease;
}

.un-works-single__cta-button:hover {
    background: #078b51;
    color: #fff;
    transform: translateY(-2px);
}

/* ==========================================
   MOBILE
========================================== */

@media screen and (max-width: 768px) {

    .un-works-single__container {
        width: calc(100% - 32px);
    }

    .un-works-single__hero {
        padding: 105px 0 32px;
    }

    .un-works-single__heading {
        font-size: 27px;
    }

    .un-works-single__article {
        padding: 25px 0 60px;
    }

    .un-works-single .un-works-single__header {
        margin-bottom: 26px;
    }

    .un-works-single__title {
        font-size: 25px;
    }

    .un-works-single__industry {
        font-size: 13px;
    }

    .un-works-single__visual {
        margin-bottom: 42px;
        padding: 9px;
        border-radius: 12px;
    }

    .un-works-single__summary {
        margin-bottom: 35px;
    }

    .un-works-single__summary h3 {
        font-size: 21px;
    }

    .un-works-single__summary-text {
        font-size: 14px;
        line-height: 1.9;
    }

    .un-works-single__site-link a {
        width: 100%;
        min-width: 0;
    }

    .un-works-single__cta {
        padding: 60px 0 65px;
    }

    .un-works-single__cta h2 {
        font-size: 23px;
    }

    .un-works-single__cta-inner > p:not(
        .un-works-single__cta-label
    ) {
        font-size: 13px;
    }

    .un-works-single__cta-button {
        width: 100%;
        min-width: 0;
        font-size: 15px;
    }
}
