@charset "utf-8";
#tosou .img_box {
    width: 26%;
    float: left;
}

#tosou .text_wrap {
    width: 70%;
    float: right;
}

#tosou .tosou_ttl {
    font-size: 2.4rem;
    margin-bottom: 30px;
    font-weight: bold;
}

@media screen and (max-width: 1170px) {
    #tosou .img_box {
        width: 66%;
        float: none;
        margin: 20px auto;
    }
    #tosou .text_wrap {
        width: 100%;
        float: none;
    }
    #tosou .tosou_ttl {
        font-size: 2rem;
        text-align: center;
    }
}

@media screen and (max-width:600px) {
    #tosou .img_box {
        width: 86%;
    }
}


/*外壁塗装*/

#about .about_box {
    width: 100%;
    padding-bottom: 30px;
    margin-bottom: 30px;
}


/*例えば...*/
#case {
    overflow: hidden;
}
#case .case_all {
    display: flex;
    display: -webkit-flex;
    display: -ms-flex;
    width: 2340px;
    position: relative;
}

#case .case_select,
#case .case_content {
    width: 1170px;
}

#case .case_select.sp {
    display: none;
}

#case .case_select .sp_list {
    display: none;
}

#case .case_select .case_box {
    padding-bottom: 0;
    margin-bottom: 0;
}

#case .case_select .case_box a {
    display: block;
    overflow: hidden;
    padding: 30px 80px 30px 0;
    position: relative;
    transition: all 0.4s ease-out;
    -webkit-transition: all 0.4s ease-out;
}

#case .case_select .case_box h3 {
    text-decoration: underline;
}

#case .case_select .case_box a:after {
    content: "\f054";
    color: #bcbcbc;
    font-size: 40px;
    font-family: FontAwesome;
    display: block;
    position: absolute;
    top: 50%;
    right: 24px;
    transition: all 0.4s ease-out;
    -webkit-transition: all 0.4s ease-out;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}

#case .case_select .case_box a:hover {
    background-color: #fafafa;
    opacity: 1 !important;
}

#case .case_select .case_box a:hover:after {
    right: 8px;
}

#case .case_select .case_box a:hover h3 {
    color: #32b0ee;
}

#case .case_content .prev {
    border: solid 1px #ccc;
    cursor: pointer;
    margin-bottom: 16px;
    padding: 16px;
    position: relative;
}

#case .case_content .prev:before {
    content: "\f053";
    font-family: FontAwesome;
    padding-right: 8px;
}

#case .case_content .case_infomation {
    display: none;
}

#case .case_content .case_box p {
    font-size: 16px;
    line-height: 1.6em;
}

#case .case_content .contentwrap {
    font-size: 16px;
    margin-bottom: 4em;
    line-height: 1.6em;
}

#case .case_content .contentwrap h4 {
    font-size: 24px;
    margin-top: 2em;
    margin-bottom: 1em;
    padding-left: 48px;
    position: relative;
}

#case .case_content .contentwrap h5 {
    border-bottom: solid 1px #aaa;
    font-weight: bold;
    margin-bottom: 0.5em;
    padding: 8px;
}

#case .case_content .contentwrap h4:before {
    content: "\f086";
    color: #32b0ee;
    font-size: 32px;
    font-family: FontAwesome;
    position: absolute;
    top: 50%;
    left: 0px;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}

#case .case_content .contentwrap p {
    margin-bottom: 1em;
}

#case .case_content ul,
#case .case_content ol {
    margin-top: 2em;
    margin-bottom: 2em;
}

#case .case_content span.under {
    display: inline-block;
    font-weight: bold;
    position: relative;
}

#case .case_content .under:after {
    background-color: #b4e6ff;
    content: "";
    display: block;
    height: 4px;
    position: absolute;
    bottom: 6px;
    left: 0;
    width: 100%;
    z-index: -1;
}

#case .case_content #g1 ul li:before {
    content: "・";
}

#case .case_content #g1 ul + p,
#case .case_content #g1 ol + p {
    color: red;
}

#case .case_content #g2 .append {
    display: flex;
    display: -webkit-flex;
    display: -ms-flex;
    flex-flow: row-reverse;
    margin-top: 2em;
}

#case .case_content #g2 .append figure {
    margin-left: 24px;
    max-width: 600px;
}

#case .case_content #g2 .append div {
    flex: 1;
}

#case .case_content #g3 .append {
    display: flex;
    display: -webkit-flex;
    display: -ms-flex;
    flex-flow: row-reverse;
    margin-top: 2em;
}

#case .case_content #g3 .append figure {
    margin-left: 24px;
    max-width: 600px;
}

#case .case_content #g3 .append div {
    flex: 1;
}


#case .case_content .step li {
    display: flex;
    display: -webkit-flex;
    display: -ms-flex;
    align-items: center;
    margin-bottom: 1em;
}

#case .case_content .step li span,
#case .case_content .step li p {
    display: block;
}

#case .case_content .step li span {
    border: dashed 1px #32b0ee;
    border-radius: 100px;
    color: #32b0ee;
    height: 150px;
    line-height: 150px;
    text-align: center;
    width: 150px;
    white-space: nowrap;
}

#case .case_content .step li p {
    margin-left: 24px;
    margin-bottom: 0;
}

#case .case_content .visual {
    margin: 1em auto;
    text-align: center;
    max-width: 700px;
}

#case .case_box {
    width: 100%;
    border-bottom: dotted 2px #0092d9;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

#case .case_box:last-child {
    width: 100%;
}


/*サイディング*/

#tosou #siding {
    padding: 60px 0;
    background-color: #f3f3f3;
}

#siding .siding_subtext {
    font-size: 1.6rem;
    margin-bottom: 40px;
}

#siding #check_box_wrap {
    width: 100%;
    border: solid 1px #eee;
    background-color: #fff;
    padding: 2%;
    box-sizing: border-box;
}

#siding #check_box_wrap .check_ttl {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
}

#siding #check_box_wrap .check_ttl img {
    width: 6%;
    padding-right: 1%;
    margin-bottom: 20px;
}

#tosou #siding .check_box_inner {
    clear: both;
}

#tosou #siding .check_box {
    float: left;
    width: 30%;
    margin-right: 5%;
    margin-bottom: 3%;
}

#tosou #siding .check_box_inner .check_box:nth-child(3n) {
    margin-right: 0;
}

#tosou #siding .check_box_inner figcaption {
    text-align: center;
    font-size: 1.6rem;
    font-weight: bold
}

#bottom_text {
    width: 100%;
    background-color: #0eb493;
    padding: 2% 0;
    color: #fff;
    font-size: 1.6rem;
    text-align: center;
    line-height: 1.8;
}

@media screen and (max-width: 1170px) {
    /*サイディング*/
    #siding .siding_subtext {
        margin-bottom: 20px;
    }
    #tosou #siding .check_box {
        float: none;
        width: 50%;
        margin: 0 auto 3%;
    }
    #tosou #siding .check_box_inner .check_box:nth-child(3n) {
        margin-right: auto;
    }
    #bottom_text {
        width: 90%;
        padding: 2% 5%;
        margin: 0 auto;
        text-align: left;
    }
}

@media screen and (max-width: 1120px) {
    #case .case_select.sp {
        display: block;
    }

    #case .case_all,
    #case .case_select,
    #case .case_content {
        display: block;
        width: 100%;
    }
    #case .case_select .sp_list {
        border: solid 1px #32b0ee;
        border-radius: 0.4em;
        display: flex;
        display: -webkit-flex;
        display: -ms-flex;
        justify-content: space-between;
        margin-bottom: 16px;
    }

    #case .case_select .sp_list li {
        width: 33.3333%;
    }
    #case .case_select .sp_list li a {
        box-sizing: border-box;
        color: #32b0ee;
        display: block;
        padding: 4px 8px;
        text-align: center;
        width: 100%;
    }

    #case .case_select .sp_list li a.selected {
        background-color: #32b0ee;
        color: #fff;
    }

    #case .case_select .sp_list li:not(:first-child) {
        border-left: solid 1px #32b0ee;
    }

    #case .case_select .case_box {
        display: none;
    }

    #case .case_content .prev {
        display: none;
    }

    #case .case_content .case_infomation {
        display: block;
    }

    #case .case_content #g2 .append,
    #case .case_content #g3 .append {
        flex-direction: column;
    }

    #case .case_content #g2 .append figure,
    #case .case_content #g3 .append figure {
        margin-bottom: 1em;
        margin-left: 0;
    }

    #case .case_content .step li {
        border-bottom: dashed 1px #ddd;
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 0;
        padding-bottom: 1em;
        padding-top: 1em;
    }

    #case .case_content .step li span {
        border-radius: 0;
        border-style: solid;
        width: auto;
        height: auto;
        line-height: 1;
        margin-bottom: 8px;
        padding: 8px;
    }

    #case .case_content .step li p {
        margin-right: 0;
    }

    #case .case_content span.under {
        color: #32b0ee;
        text-decoration: underline;
    }

    #case .case_content span.under:after {
        content: none;
    }
}

@media screen and (max-width:600px) {
    #tosou #siding .check_box {
        float: none;
        width: 80%;
        margin: 0 auto 3%;
    }
    #tosou .img_box {
        width: 86%;
    }
}

@media screen and (max-width:320px) {
    #case .case_select .sp_list li a {
        font-size: 12px;
    }
});
