.before_after {
    position: relative;
    padding: 100px 0 140px;
}

.before_after:before {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    margin: 0 calc(50% - 50vw);
    width: 100vw;
    height: 100%;
    display: block;
    background: #fff;
    content: '';
}

.before_after dl {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*
    margin-left: 70px;
    */
    margin-bottom: 25px;
    font-family: 'Roboto Condensed', 'Zen Kaku Gothic New', sans-serif;
    line-height: 1.1;
    font-size: 2.7rem;
}

.before_after dl dt {
    width: 600px;
    margin-right: 20px;
    text-align: center;
    font-weight: bold;
    font-style: italic;
    border-bottom: double 4px #27acd9;
    padding: 10px 0;
}

.before_after dl dd {
    width: 600px;
    text-align: center;
    font-weight: bold;
    font-style: italic;
    border-bottom: double 4px #27acd9;
    padding: 10px 0;
}

.before_after .img_box {
    counter-reset: number;
    padding-left: 70px;
    margin-bottom: 70px;
}

.before_after .img_box section {
    position: relative;
}

.before_after .img_box section.manshion:before {
    display: none;
}

.before_after .img_box section:last-child {
    margin-bottom: 0;
}

.before_after .img_box section ul {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.before_after .img_box section ul li {
    display: flex;
    align-items: center;
    text-align: center;
    width: 600px;
    /*
    background: #fff;
    border: solid 1px #e8e4db;
    padding: 20px;
    */
}

.before_after .img_box section ul li:first-child {
    margin-right: 20px;
}

.before_after .img_box section ul li span {
    display: inline-block;
    margin: auto;
}

.before_after .img_box section ul li span img {
    width: auto;
    width: 100%;
}

.before_after .comment p {
    font-family: 'Roboto Condensed', 'Zen Kaku Gothic New', sans-serif;
    font-size: 1.6rem;
    text-align: center;
}

.before_after .comment p:not(:last-child) {
    margin-bottom: 1.2em;
}

@media screen and (max-width: 767px) {
    .before_after {
        padding: 13.038vw 0 18.253vw;
        width: 90%;
    }
    .before_after dl {
        /*
        margin-left: 9.126vw;
        */
        margin-bottom: 3.911vw;
        font-size: 2.0rem;
    }
    .before_after dl dt {
        width: 39.113vw;
        margin-right: 1.956vw;
    }
    .before_after dl dd {
        width: 39.113vw;
    }
    .before_after .img_box {
        padding-left: 9.126vw;
        margin-bottom: 2.608vw;
    }
    .before_after .img_box section ul {
        margin-bottom: 2.608vw;
    }
    .before_after .img_box section ul li {
        width: 39.113vw;
        /*
        padding: 2.608vw;
        */
    }
    .before_after .img_box section ul li:first-child {
        margin-right: 1.956vw;
    }
    .before_after .comment p {
        font-size: 2.4rem;
        text-align: left;
    }
}

.before_after {
    border: 0px solid green;
    padding: 60px 0;
    padding: 60px 0 20px;
    margin: auto;
    max-width: 100%;
    width: 70%;
}

.before_after .img_box {
    border: 0px solid red;
    padding: 0;
    margin: 0;
}

.before_after .comment p {
    font-family: 'Roboto Condensed', 'Zen Kaku Gothic New', sans-serif;
    line-height: 1.4;
    padding: 0;
    margin: 1.5em 0 3em;
}

.before_after .img_box section ul {
    border: 0px solid red;
    position: relative;
    /*
    width: calc(100% - 70px);
    */
    width: 100%;
    margin: 0 0 0 auto;
}


/*
.before_after .img_box section ul::before {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    left: -70px;
    counter-increment: number;
    content: counter(number)"F";
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    border-radius: 50%;
    background: #000;
    color: #fff;
    font-family: 'Noto Serif JP', serif;
    font-size: 2.4rem;
}
*/

.before_after .comment p {
    font-family: 'Roboto Condensed', 'Zen Kaku Gothic New', sans-serif;
    line-height: 1.4;
    padding: 0;
    margin: 1em 0 3em auto;
    /*
    width: calc(100% - 70px);
    */
    width: 100%;
    position: relative;
    padding: 1rem 1rem 1rem 2rem;
    outline: 2px solid #a9a9a9;
    background-image: linear-gradient(-45deg, transparent 0 20px, #fff 20px calc(100% - 20px), transparent calc(100% - 20px)), repeating-linear-gradient(135deg, #ffd700 0 2px, transparent 2px 4px);
    color: #333;
    width: 50%;
    max-width: 100%;
    margin: 1em auto;
    font-size: 1.5em;
    margin-bottom: 9.5rem;
}

@media screen and (max-width: 767px) {
    .before_after {
        width: 90%;
    }
    .before_after .img_box section ul {
        /*
        width: calc(100% - 60px);
        */
        width: 100%;
    }
    .before_after .img_box section ul::before {
        left: -60px;
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 2.1rem;
    }
    .before_after .comment p {
        /*
        width: calc(100% - 60px);
        */
        width: 100%;
        font-size: 14px;
    }
}

@media screen and (max-width: 520px) {
    .before_after .comment p {
        font-size: 14px;
        text-align: center;
    }
}

.triangle {
    border: #eee 1px solid;
    margin: 0 auto;
    position: relative;
}

.triangle::before {
    content: "";
    top: 0;
    left: 0;
    border-bottom: 4em solid transparent;
    border-left: 4em solid #3c7170;
    /* ラベルの色はここで変更 */
    position: absolute;
    z-index: 9;
}

.triangle::after {
    content: "Before";
    display: block;
    top: 5px;
    transform: rotate(-45deg);
    color: #fff;
    /* 文字色はここで変更 */
    left: 0;
    position: absolute;
    z-index: 10;
}

.triangle2 {
    border: #eee 1px solid;
    margin: 0 auto;
    position: relative;
}

.triangle2::before {
    content: "";
    top: 0;
    left: 0;
    border-bottom: 5em solid transparent;
    border-left: 5em solid #ff4500;
    /* ラベルの色はここで変更 */
    position: absolute;
    z-index: 9;
}

.triangle2::after {
    content: "After";
    display: block;
    /*
    top: 5px;
    */
    top: 9px;
    transform: rotate(-45deg);
    color: #fff;
    /*
    left: 0;
    */
    left: 1px;
    position: absolute;
    z-index: 10;
    font-size: 1.95rem;
    font-weight: bold;
}


/* レンタル商品　*/

.rental-products {
    padding: 33px 0 80px;
    margin: 0 auto;
}

.rental-products .box_rental {
    padding: 0 5.5556vw;
}

.rental-products .image .list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 0;
    font-size: 0;
    list-style-type: none;
}

.rental-products .image .list>.item {
    overflow: hidden;
    /*
    width: 33.3333%;
    */
    width: 48.5%;
    padding: 3px;
}

.rental-products .image .list a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    -webkit-transition-duration: 0.6s;
    transition-duration: 0.6s;
}

.rental-products .text {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    justify-content: flex-end;
    margin: 0 auto;
    -webkit-box-direction: normal;
    -webkit-box-orient: vertical;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
}

.rental-products .text>.title {
    margin-bottom: 45px;
    font-family: 'Roboto Condensed', 'Zen Kaku Gothic New', sans-serif;
    -webkit-font-feature-settings: "liga"0;
    font-feature-settings: "liga"0;
    font-size: 5.8vw;
    -webkit-font-variant-ligatures: no-common-ligatures;
    font-variant-ligatures: no-common-ligatures;
    font-weight: bold;
    letter-spacing: 0.1em;
    line-height: 7.7778vw;
    text-align: center;
}

.rental-products .button {
    max-width: 280px;
    margin: 50px auto 0;
}

.rental-products .button img {
    width: 100%;
    padding-bottom: 15px;
}

@media screen and (min-width: 768px) {
    /*
    .rental-products {
        padding: 10.9375vw 0;
    }
    */
    .rental-products {
        padding: 1.15vw 0;
        /*
        height: 85vh;
        */
        height: 108%;
    }
    .rental-products .image .list a:hover {
        -webkit-transform: scale(1.06);
        transform: scale(1.06);
    }
    .rental-products .text>.title {
        padding-top: 10px;
        margin-bottom: 56px;
        font-size: 3.1rem;
        line-height: 1.3846;
    }
}

@media screen and (min-width: 1280px) {
    .rental-products .box_rental {
        padding: 0 80px;
    }
}

@media screen and (min-width: 1024px) {
    .rental-products .box_rental {
        display: -ms-grid;
        display: grid;
        max-width: 1280px;
        padding: 0 3.25%;
        margin: 0 auto;
        -ms-grid-columns: 76.1607% 23.8393%;
        -ms-grid-rows: 223px 223px;
        grid-template-columns: 76.1607% 23.8393%;
        grid-template-rows: 223px 223px;
    }
    .rental-products .image {
        margin-right: 7.1429%;
        -ms-grid-column: 1;
        grid-column: 1 / 2;
        -ms-grid-column-span: 1;
        -ms-grid-row: 1;
        grid-row: 1 / 3;
        -ms-grid-row-span: 2;
    }
    .rental-products .text {
        max-width: 283px;
        -ms-grid-column: 2;
        grid-column: 2 / 3;
        -ms-grid-column-span: 1;
        -ms-grid-row: 1;
        grid-row: 1 / 2;
        -ms-grid-row-span: 1;
    }
    .rental-products .button {
        max-width: none;
        margin: 0;
        -ms-grid-column: 2;
        grid-column: 2 / 3;
        -ms-grid-column-span: 1;
        -ms-grid-row: 2;
        grid-row: 2 / 3;
        -ms-grid-row-span: 1;
    }
}

.midashi-air {
    max-width: 100%;
    width: 85%;
    position: relative;
    font-size: 4rem;
    font-weight: bold;
    border-bottom: 2px solid #000;
    margin: auto;
    margin-bottom: 3rem;
    line-height: 1.25;
}

.midashi-air .after {
    font-size: 15px;
    margin-left: 15px;
    font-family: 'Akshar', sans-serif;
    font-weight: normal;
}

.g-pro {
    position: relative;
    padding: 1rem;
    box-shadow: 5px 5px #3da5f1;
    border: 2px solid #3da5f1;
    color: #3da5f1;
    font-weight: bold;
    font-size: 26px;
    text-align: center;
    margin-bottom: 2.5rem;
}

.g-pro:before {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    height: 10px;
    width: 20px;
    background-color: #fff;
    content: "";
}

.g-pro:after {
    position: absolute;
    top: 95%;
    left: 50%;
    transform: translateX(-50%);
    height: 20px;
    width: 2px;
    background-color: #3da5f1;
    content: "";
}