/*-----------------------------
追加CSS
-------------------------------*/

/* 施工事例 */
body.single-works main .article .article__catch:nth-child(n+1) {
    margin-top: 80px;
}

body.single-works main .article .article__catch__before {
    width: 100%;
    height: auto;
}

body.single-works main .article .article__catch__after {
    width: 100%;
    height: auto;
}

body.single-works .works-wrapper {
    padding: 0 15px;
    margin-top: 100px;
}

body.single-works .blue_paint_title {
    margin-bottom: 50px;
}

body.single-works .way_feature__media {
    width: 82.7%;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 80px;
}

body.single-works .way_feature__media__catch {
    margin-bottom: 16px;
}

body.single-works .way_feature__media__text {
    font-weight: bold;
    line-height: 1.57;
}

body.single-works .detail01 .blue_paint_title {
    margin-bottom: 30px;
}

body.single-works main .works-wrapper .article__detail {
    padding: 0;
    margin-top: 0;
}

body.single-works main .works-wrapper .article__detail dl dt {
    background-color: transparent;
    color: #0D6EB7;
    padding: 0;
}

body.single-works main .works-wrapper .article__detail dl dd {
    line-height: 1.57;
}

body.single-works main .works-wrapper .article__suggestion {
    padding: 0px;
    margin-top: 40px;
}

body.single-works main .works-wrapper .article__suggestion__text {
    line-height: 1.57;
}

body.single-works main .article__catch .article__catch__before::after {
    content: none;
}

body.single-works main .article__catch .article__catch__after::after {
    content: none;
}

body.single-works main .article__catch .article__catch__before-inner {
    position: relative;
    margin-bottom: 10px;
}

body.single-works main .article__catch .article__catch__before-inner::after {
    content: "Before";
}

body.single-works main .article__catch .article__catch__after-inner {
    position: relative;
    margin-bottom: 10px;
}

body.single-works main .article__catch .article__catch__after-inner::after {
    content: "After";
}

body.single-works main .article__catch .article__catch__before-inner::after, body.single-works main .article__catch .article__catch__after-inner::after {
    width: 100%;
    max-width: 100px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background-color: #f59e23;
    line-height: 40px;
    font-weight: 500;
    font-size: 2rem;
    font-size: 20px;
    color: #fff;
    padding: 0 15px;
    position: absolute;
    bottom: 0;
    right: 0;
}

@media screen and (min-width: 960px) {
    body.single-works main .article .article__catch:nth-child(n+1) {
        margin-top: 100px;
    }

    body.single-works main .article .article__catch__before {
        width: 48.5%;
    }
    
    body.single-works main .article .article__catch__after {
        width: 48.5%;
    }

    body.single-works .works-wrapper {
        padding: 0 100px;
    }  
    
    body.single-works .blue_paint_title {
        margin-bottom: 100px;
    }
    
    body.single-works .way_feature__media-wrapper {
        display: flex;
        flex-wrap: wrap;
    }

    body.single-works .way_feature__media {
        width: 31.7%;
        margin-left: 0;
        margin-right: 2.4%;
        margin-bottom: 100px;
    }

    body.single-works .way_feature__media:nth-child(3n) {
        margin-right: 0;
    }
    
    body.single-works .way_feature__media__catch {
        margin-bottom: 16px;
    }
    
    body.single-works .way_feature__media__text {
        font-weight: bold;
        line-height: 1.57;
    }

    body.single-works .detail01 .blue_paint_title {
        margin-bottom: 40px;
    }

    body.single-works main .works-wrapper .article__detail dl {
        display: block;
        margin-bottom: 30px;
    }

    body.single-works main .works-wrapper .article__detail dl dt {
        width: 100%;
        font-size: 18px;
    }
    
    body.single-works main .works-wrapper .article__detail dl dd {
        width: 100%;
        font-size: 16px;
        padding: 20px;
        line-height: 1.875;
    }
    
    body.single-works main .works-wrapper .article__suggestion {
        margin-top: 50px;
    }

    body.single-works main .works-wrapper .article__suggestion__text {
        font-size: 16px;
        line-height: 1.875;
    }

    body.single-works main .article__catch .article__catch__before-inner::after, body.single-works main .article__catch .article__catch__after-inner::after {
        max-width: 75px;
        line-height: 30px;
        font-size: 1.8rem;
        font-size: 18px;
        padding: 0;
        text-align: center;
    }
}

/* 施工実績 */
.result-section {
    margin-top: 30px;
    margin-bottom: 100px;
}

.result-section *, .result-section *::after, .result-section *::before{
    box-sizing: border-box;
}

.result-section .wrapper {
    padding-right: 15px;
    padding-left: 15px;
}

.result-section .blue_line_title {
    margin-bottom: 50px;
}

.result-section .tab-menu__wrapper {
    margin-bottom: 60px;
}

.result-section .tab-menu {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: -10px;
}

.result-section .tab-menu__item {
    width: 48.6%;
    margin-right: 2.6%;
    margin-bottom: 10px;
    border: 2px solid #0D6EB7;
}

.result-section .tab-trigger {
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    background: #FFFFFF;
    color: #0D6EB7;
    display: block;
    padding: 10px 10px 9px;
    cursor: pointer;
}

.result-section .tab-trigger.is-active {
    background: #0D6EB7;
    color: #FFFFFF;
}

.result-section .tab-trigger:hover {
    background: #0D6EB7;
    color: #FFFFFF;
}

.result-section .tab-menu__item:nth-child(2n) {
    margin-right: 0;
}

.result-section .tab-content__item {
    display: none;
}
  
.result-section .tab-content__item.is-active {
    display: block;
    animation: fade 0.5s ease;
}
  
@keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.result-section table {
    display: table;
    width: 100%;
    margin: 0 auto;
    border-collapse: collapse;
    table-layout: fixed;
}

.result-section table tr:nth-child(2n) td {
    background: #EEF9FF;
}

.result-section table th, .result-section table td {
    padding: 10px;
    text-align: left;
}

.result-section table th {
    color: #FFFFFF;
    background: #0D6EB7;
    border-right: 1px solid #FFFFFF;
}

.result-section table td {
    border: 1px solid #707070;
}

.result-section table th:first-child {
    width: 27.8%;
    border-left: 1px solid #0D6EB7;
}

.result-section table th:nth-child(2) {
    width: 22.4%;
}

.result-section table th:nth-child(3) {
    width: 27.8%;
}

.result-section table th:last-child {
    width: 22.2%;
    border-right: 1px solid #0D6EB7;
}

@media screen and (min-width: 960px) {
    .result-section {
        width: 100%;
        max-width: 1200px;
        margin: 60px auto 135px;
    }
    
    .result-section .wrapper {
        padding-right: 0;
        padding-left: 0;
    }

    .result-section .blue_line_title {
        margin-bottom: 80px;
    }

    .result-section .tab-menu__wrapper {
        margin-bottom: 50px;
    }
    
    .result-section .tab-menu {
        margin-bottom: -17px;
    }
    
    .result-section .tab-menu__item {
        width: 15%;
        margin-right: 1.42%;
        margin-bottom: 17px;
    }
    
    .result-section .tab-menu__item:nth-child(2n) {
        margin-right: 1.42%;
    }

    .result-section .tab-menu__item:nth-child(6n) {
        margin-right: 0;
    }
    
    .result-section table tr:nth-child(2n) td {
        background: #EEF9FF;
    }
    
    .result-section table th {
        padding: 17px 16px;
        text-align: center;
    }
    
    .result-section table td {
        padding: 20px;
    }
    
    .result-section table th:first-child {
        width: 28.3%;
    }
    
    .result-section table th:nth-child(2) {
        width: 18.3%;
    }
    
    .result-section table th:nth-child(3) {
        width: 38.3%;
    }
    
    .result-section table th:last-child {
        width: 15%;
    }
}


/* 工事について */
body.service main .way_feature .way_feature__table thead tr > *:nth-child(5), body.service main .way_feature .way_feature__table tbody tr > *:nth-child(5) {
    visibility: visible;
    display: table-cell;
}

body.service main .way_feature__table {
    overflow-x: scroll;
}

body.service main .way_feature .way_feature__table thead tr th, body.service main .way_feature__table thead tr td {
    max-width: none;
}

body.service main .way_feature__table tbody th, body.service main .way_feature__table tbody td {
    padding: 0 10px;
}

body.service main .way_feature__media__text {
    margin-bottom: 20px;
}

@media screen and (min-width: 768px) {
    body.service main .way_feature .way_feature__table {
        max-width: 740px;
    }

}

@media screen and (min-width: 960px) {
    body.service main .way_feature__table {
        overflow: visible;
    }
    body.service main .way_feature__media__text {
        margin-bottom: 40px;
    }
    body.service main .way_feature .way_feature__table {
        max-width: 1000px;
    }
}


/* よくあるご質問 */
body.faq main section.estimate_guarantee {
    margin-top: -30px;
    padding-top: 60px;
}

body.faq main section.estimate_guarantee:nth-of-type(n + 2) {
    margin-top: 0px;
    padding-top: 60px;
}

@media screen and (min-width: 960px) {
    body.faq main section.estimate_guarantee {
        margin-top: -60px;
        padding-top: 120px;
    }

    body.faq main section.estimate_guarantee:nth-of-type(n + 2) {
        margin-top: -100px;
        padding-top: 200px;
    }
}

