#case-mv {
    padding: 420px 20px 30px;
    margin-bottom: 80px;
    background-position: center center;
    background-size: cover;
}
#case-mv::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
#case-mv:hover::before {
    background-color: rgba(0, 0, 0, 0);
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
#case-mv h1,
#case-mv h2 {
    color: white;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}
#case-mv h1 {
    line-height: 1.4;
}
#case-mv h1::before {
    content: "❝";
    position: absolute;
    top: -40px;
    left: 10px;
    font-size: 50px;
    color: var(--main-color-1);
}
#case-mv h2 {
    margin-bottom: 15px;
    font-size: 14px;
}
#case-mv h2::before {
    width: 65px;
    height: 2px;
    margin-right: 20px;
    content: "";
    display: inline-block;
    background: #fff;
    vertical-align: middle;
}
.full-width {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}
.case-point {
    background-color: #f0f3f5;
    border-radius: 15px;
    padding: 30px 20px 10px;
    margin: 0 10px 40px;
    color: #111;
}
.acms-entry.entry-column a {
    color: var(--main-color-1);
    text-decoration: underline;
}
.acms-entry.entry-column .case-point h2 {
    color: var(--main-color-1);
    margin-bottom: 15px !important;
    font-size: 24px;
    margin-top: 0;
    line-height: 1.3;
}
.acms-entry.entry-column .case-point ul.ul__case-point {
    margin-bottom: 20px;
}
.acms-entry.entry-column ul.ul__case-point li {
    line-height: 1.6;
    margin-bottom: 10px;
    text-indent: -22px;
    padding-left: 15px;
}
.case-comment::before {
    clear: both;
}
.case-comment {
    background: #f0f3f5;
    border-radius: 15px;
    padding: 25px 20px;
    margin: 30px 10px 40px;
    color: #111;
    display: inline-block;
}
.acms-entry.entry-column .case-comment h3 {
    color: var(--main-color-1);
    margin-bottom: 20px;
    font-size: 20px;
}
.case-comment img {
    width: 180px;
}
.case-comment p {
    margin: 0 10px;
}
.customer-stories .sec-header .h1 {
    font-size: 28px;
    color: var(--main-color-1);
}
.customer-stories .acms-entry h2 {
    font-size: 25px;
    color: var(--main-color-1);
}
.customer-stories .acms-entry .h3 {
    font-size: 20px;
    padding-bottom: 1rem;
    color: var(--main-color-1);
    border-bottom: 1px solid var(--main-color-1);
}
.customer-stories .case-comment .column-media-center {
    float: left;
}
.customer-stories .case-comment img {
    border-radius: 15px;
    margin: 5px 20px 2px;
}
.customer-stories .acms-entry .case-comment .caption {
    display: block;
}
.acms-entry.entry-column a {
    color: var(--main-color-1);
    text-decoration: underline;
}
@media screen and (max-width: 959px) {
    ul.ul__case-point li {
        font-size: 15px;
        margin-bottom: 3px;
    }
}
@media screen and (max-width: 767px) {
    #case-mv {
        padding: 250px 0 30px;
        margin-bottom: 40px;
        background-position: center center;
        background-size: cover;
    }
    .case-point {
        padding: 25px 10px 10px;
    }
    .acms-entry.entry-column .case-point h2 {
        font-size: 20px;
    }
    .case-comment {
        padding: 30px 10px;
    }
    #case-mv h1 {
        line-height: 1.4;
        font-size: 2.5rem;
    }
    #case-mv h1::before {
        font-size: 45px;
        left: 2rem;
    }
    #case-mv .container {
        padding: 0 2rem;
    }
    .customer-stories .acms-entry h2 {
        font-size: 24px;
    }
    .case-comment img {
        width: 140px;
    }
    .customer-stories .case-comment img {
        margin: 5px 15px 0;
    }
    .customer-stories .acms-entry .case-comment .caption {
        font-size: 13px;
        max-width: 160px;
        text-align: center;
        margin: 10px auto 0;
    }
}
@media screen and (max-width: 480px) {
    .acms-entry.entry-column ul.ul__case-point li {
        padding-left: 5px;
    }
    .acms-entry.entry-column ul.ul__case-point {
        margin-left: 20px;
    }
    #case-mv {
        padding: 20px 0 10px;
        aspect-ratio: 16/10;
        display: flex;
        align-items: center;
    }
    #case-mv h1 {
        line-height: 1.45;
        font-size: 1.95rem;
        margin-bottom: 20px;
    }
    #case-mv h1::before {
        font-size: 40px;
        left: 2rem;
        top: -40px;
    }
    #case-mv h2::before {
        width: 35px;
        margin-right: 15px;
    }
    #case-mv h2 {
        font-size: clamp(13px, 3.5vw, 14px);
    }
    .acms-entry.entry-column .case-point h2 {
        line-height: 1.4;
    }
    .customer-stories .acms-entry h2 {
        font-size: 21px;
    }
    .case-comment img {
        width: 120px;
    }
    .customer-stories .case-comment img {
        margin: 5px 15px 0;
    }
    .customer-stories .acms-entry .case-comment .caption {
        font-size: 12px;
        max-width: 140px;
        text-align: center;
        margin: 10px auto 0;
    }
    span.icon__plan_kind {
        margin-bottom: 0;
    }
}
@media screen and (max-width: 420px) {
    #case-mv h1 {
        font-size: 1.75rem;
        margin-bottom: 15px;
    }
}
#custom__admin-box div#adminBox {
    display: block;
}
#custom__admin-box div#adminBox form:first-of-type {
    display: block;
}
#custom__admin-box div#adminBox form:nth-of-type(3) {
    display: block;
}
#custom__admin-box div#adminBox form {
    display: none;
}
section#custom__admin-box {
    padding: 0 0;
}
span.icon__plan_kind.icon__plan_kind_es {
    font-size: 11px;
    margin: 10px 0 0 0;
}
span.icon__plan_kind.icon__plan_kind_es:nth-child(2) {
    margin: 0 0 0 5px;
}
@media screen and (max-width: 959px) {
    .wrap__plan_kind {
        padding-left: 1rem;
    }
    span.icon__plan_kind.icon__plan_kind_es {
        font-size: 10px;
        margin: 0 0 10px 0;
    }
}
@media screen and (max-width: 480px) {
    .wrap__index_style1_text p {
        font-size: 12px;
        color: #555;
    }
    .wrap__plan_kind {
        padding-left: 0;
    }
    span.icon__plan_kind.icon__plan_kind_es {
        padding: 5px 7px;
    }
}
.has-user-articles {
    .wrap__banner {
        margin-bottom: 40px;
    }
    article.index-item {
        position: relative;
    }
    .wrap_icon_award {
        position: absolute;
        top: 13px;
        left: -13px;
        img {
            width: 37px;
        }
        span {
            font-family: "Lato", "Noto Sans JP";
            position: absolute;
            top: 11.5px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 11px;
            color: #fff;
        }
    }
}
@media screen and (max-width: 959px) {
    .has-user-articles {
        .wrap__banner {
            margin-bottom: 20px;
        }
        & .wrap_icon_award {
            top: 16px;
            left: -7px;
            img {
                width: 32px;
            }
            span {
                top: 11px;
                font-size: 9px;
            }
        }
    }
}
.body_customer-stories_1_entry {
    section.index_style1,
    section.index_style3 {
        p.h2 {
            font-size: 28px;
            color: var(--main-color-1);
            margin-bottom: 2rem;
            font-weight: 600;
        }
        .wrap__h3__customer-stories_index h4 {
            font-size: 1.5rem;
            margin: 15px 0;
        }
        .wrap__index_style1_text h3.h3 {
            overflow: hidden;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 3;
            text-overflow: ellipsis;
        }
    }
}
@media screen and (min-width: 960px) {
    .body_customer-stories_1_entry {
        section.index_style1,
        section.index_style3 {
            .wrap__index_style1_text h3.h3 {
                font-size: 1.8rem;
                line-height: 1.3;
            }
        }
    }
}
@media screen and (min-width: 768px) and (max-width: 959px) {
    .body_customer-stories_1_entry {
        section.index_style1,
        section.index_style3 {
            .wrap__h3__customer-stories_index h4 {
                font-size: 16px;
            }
            .wrap__index_style1_text h3.h3 {
                font-size: 18px;
            }
        }
    }
}
@media screen and (max-width: 767px) {
    .body_customer-stories_1_entry {
        section.index_style1,
        section.index_style3 {
            p.h2 {
                text-align: initial;
                margin-inline: auto;
                max-inline-size: max-content;
            }
            .wrap__h3__customer-stories_index h4 {
                font-size: 1.7rem;
                margin: 12px 0;
            }
            .wrap__index_style1_text h3.h3 {
                font-size: 1.85rem;
                line-height: 1.35;
            }
        }
    }
}
@media screen and (max-width: 480px) {
    .body_customer-stories_1_entry {
        section.index_style1,
        section.index_style3 {
            .wrap__h3__customer-stories_index h4 {
                font-size: 1.6rem;
            }
            .wrap__index_style1_text h3.h3 {
                font-size: 1.75rem;
            }
        }
    }
}

/* ============================================================
   Enterprise restyle: case study index, matching the top page section.
   .customer-stories__body is only set on this page, so the other single-column
   pages that also load this file are unaffected.
   The markup differs from the top page: the title is h2.h3 and the company is h3.
   ============================================================ */
.customer-stories__body.body-renewal2025 {
    /* Roboto for Latin and figures; Japanese stays on Noto Sans JP. */
    font-family:
        "Roboto", "Noto Sans JP", "Hiragino Sans", "ヒラギノ角ゴシック",
        "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "游ゴシック",
        "Yu Gothic", YuGothic, "メイリオ", Meiryo, sans-serif;
}

/* Thumbnails */
.customer-stories__body .wrap__img_customer-stories_index img.img_border,
.customer-stories__body .wrap__img_customer-stories_index img {
    border-radius: 8px;
}

.customer-stories__body .column__index_style2 a {
    color: #2a3037;
}

/* Title. The existing rule includes an ID and outranks a plain class selector,
   so this repeats section#top_customer-stories to override it. */
.customer-stories__body
    section#top_customer-stories
    .wrap__index_style1_text
    h2.h3 {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.55;
    letter-spacing: 0.01em;
    color: #2a3037;
    margin: 14px 0 0;
}

/* Lighter, smaller and paler than the title so the hierarchy reads. */
.customer-stories__body .wrap__h3__customer-stories_index h3 {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #616a78;
    margin: 6px 0 0;
}

/* Hover underlines the title rather than turning green. */
.customer-stories__body .column__index_style2 a:hover {
    color: #2a3037;
}

.customer-stories__body
    section#top_customer-stories
    .column__index_style2
    a:hover
    .wrap__index_style1_text
    h2.h3 {
    color: #2a3037;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.customer-stories__body
    .column__index_style2
    a:hover
    .wrap__h3__customer-stories_index
    h3 {
    color: #616a78;
}

/* Spacing tightens in steps (14px, 6px, 4px) so the four elements read as one
   block, as on the top page. */
/* Two grey tones keep the type distinction without using green. */
.customer-stories__body .wrap__plan_kind.wrap__plan_kind__es {
    margin-top: 4px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.customer-stories__body .wrap__plan_kind__es span.icon__plan_kind {
    margin: 0;
    /* Equal padding makes the text sit high, so the top is 0.5px thicker. */
    padding: 4.5px 12px 3.5px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.5;
}

.customer-stories__body .wrap__plan_kind span:nth-child(2) {
    margin-left: 0;
}

.customer-stories__body span.icon__plan_kind.icon__plan_kind_mobile {
    background: #d0d4df;
    color: #4a5464;
}

.customer-stories__body span.icon__plan_kind.icon__plan_kind_browse {
    background: #edeff4;
    color: #4a5464;
    padding: 3.5px 11px 2.5px;
}

/* Page heading. The shared .sec-header .h1 is 38px, the same as a top page section
   heading, which is too strong for a page label. 32px matches the pricing, events and
   resources pages. Scoped to .customer-stories__body, so the blog and news pages are
   unaffected. */
.customer-stories__body .sec-header .h1 {
    font-size: 32px;
}

@media screen and (max-width: 1199px) {
    .customer-stories__body .sec-header .h1 {
        font-size: 30px;
    }
}

@media screen and (max-width: 767px) {
    .customer-stories__body .sec-header .h1 {
        font-size: 28px;
    }
}

@media screen and (max-width: 480px) {
    .customer-stories__body .sec-header .h1 {
        font-size: 26px;
    }
}

/* Heading top spacing. The shared .sec-header uses padding-top: 6rem, which is too
   loose now the heading is 32px. Scoped to this page only. */
.customer-stories__body .sec-header {
    padding-top: 32px;
}

@media screen and (max-width: 767px) {
    .customer-stories__body .sec-header {
        padding-top: 24px;
    }
}
