@charset "utf-8";

.cont_img {
    background: url(../images/bg.jpg) no-repeat center center;
    background-size: cover;
}

.cont h2 .ja {
    color: #00c8c8;
    margin-top: 0;
}

@media only screen and (max-width: 768px) {
    .cont h2 .ja {
        margin-top: 12px;
    }
}


/*============================
custom
============================*/

#custom .read {
    position: relative;
    margin-bottom: 100px;
}

#custom .read img {
    width: 100%;
}

#custom .read .text_box {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: #fff;
    width: 770px;
    padding: 60px 0 30px 60px;
}

#custom .read .text_box h2 {
    font-size: 30px;
    color: #111;
}

#custom .read .text_box h2 .eng {
    font-size: 40px;
    padding-right: 10px;
    color: #00c8c8;
}

#custom .read .text_box p {
    font-weight: 500;
}

#custom .box .photo {
    width: 400px;
}

#custom .box .photo img {
    width: 100%;
}

#custom .box .youtube {
    width: 400px;
    height: 220px;
}

#custom .box .youtube iframe {
    width: 100%;
    height: 100%;
}

#custom .box .text {
    width: 600px;
    margin-left: 40px;
    font-weight: 500;
}

#custom .box .text .red {
    color: #ff3232;
}

#custom .case:not(:last-child) {
    margin-bottom: 60px;
}

#custom .case .photo {
    width: 490px;
    height: 340px;
    position: relative;
}

#custom .case .photo img {
    width: 100%
}

#custom .case .before::before {
    content: 'Before';
    color: #00c8c8;
    background-color: #eef5f5;
    font-size: 25px;
    font-weight: 900;
    font-family: 'Ubuntu';
    position: absolute;
    padding-right: 10px;
    padding-bottom: 12px;
}

#custom .case .after::before {
    content: 'After';
    color: #00c8c8;
    background-color: #eef5f5;
    font-size: 25px;
    font-weight: 900;
    font-family: 'Ubuntu';
    position: absolute;
    padding-right: 10px;
    padding-bottom: 12px;
}

#custom .case .before::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -40px;
    width: 0;
    height: 0;
    border-left: 20px solid #00c8c8;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
}


@media only screen and (max-width: 768px) {
    #custom .read {
        position: static;
        margin-bottom: 40px;
    }

    #custom .read .text_box {
        position: static;
        width: 100%;
        padding: 30px 0 0;
    }

    #custom .read .text_box h2 {
        padding: 0;
      line-height: 1.4;
      font-size: 20px;
    }
  
  #custom .read .text_box h2 .eng {
    font-size: 30px;
}


    #custom .box .photo {
        width: 100%;
    }

    #custom .box .youtube {
        width: 100%;
    }

    #custom .box .text {
        width: 100%;
        margin-left: 0;
        margin-top: 10px;
    }

    #custom .case .photo {
        width: 100%;
        height: 69.38%;
        margin-bottom: 50px;
    }

    #custom .case .photo:last-child {
        margin-bottom: 0;
    }

    #custom .case .before::after {
        content: '';
        position: absolute;
        top: auto;
        bottom: -36px;
        right: 0;
        left: 0;
        margin: auto;
        border-left: 15px solid transparent;
        border-top: 20px solid #00c8c8;
        border-bottom: none;
        border-right: 15px solid transparent;
    }

}

/*============================
repair
============================*/

#repair {
    padding: 100px 0;
    background-color: #eef5f5;
}

#repair h2 {
    padding-bottom: 30px;
    border-bottom: 2px solid #00c8c8;
    position: relative;
    padding-left: 130px;
}

#repair h2::before {
    content: '';
    display: block;
    width: 100px;
    height: 100px;
    background: url(../images/icon_repair.jpg) no-repeat center center;
    background-size: contain;
    position: absolute;
    left: 0;
    top: -18px;
    bottom: 0;
    margin: auto;
}

@media only screen and (max-width: 768px) {
    #repair {
        padding: 40px 0;
    }

    #repair h2 {
        padding-bottom: 20px;
        padding-left: 0;
    }

    #repair h2::before {
        width: 60px;
        height: 60px;
        top: 150px;
        bottom: auto;
    }

}



/*============================
painting
============================*/

#painting {
    padding: 100px 0;
}

#custom #painting .case .before::before {
    background-color: #fff;
}

#custom #painting .case .after::before {
    background-color: #fff;
}

#painting h2 {
    padding-bottom: 30px;
    border-bottom: 2px solid #00c8c8;
    position: relative;
    padding-left: 130px;
}

#painting h2::before {
    content: '';
    display: block;
    width: 100px;
    height: 100px;
    background: url(../images/icon_painting.jpg) no-repeat center center;
    background-size: contain;
    position: absolute;
    left: 0;
    top: -18px;
    bottom: 0;
    margin: auto;
}

@media only screen and (max-width: 768px) {
    #painting {
        padding: 40px 0;
    }

    #painting h2 {
        padding-bottom: 20px;
        padding-left: 0;
    }

    #painting h2::before {
        width: 60px;
        height: 60px;
        top: 110px;
        bottom: auto;
    }
}


/*============================
coating
============================*/

#coating {
    padding: 100px 0;
    background-color: #eef5f5;
}

#coating h2 {
    padding-bottom: 30px;
    border-bottom: 2px solid #00c8c8;
    position: relative;
    padding-left: 130px;
}

#coating h2::before {
    content: '';
    display: block;
    width: 100px;
    height: 100px;
    background: url(../images/icon_coating.jpg) no-repeat center center;
    background-size: contain;
    position: absolute;
    left: 0;
    top: -18px;
    bottom: 0;
    margin: auto;
}

@media only screen and (max-width: 768px) {
    #coating {
        padding: 40px 0;
    }

      #coating h2 {
        padding-bottom: 20px;
        padding-left: 0;
    }

    #coating h2::before {
        width: 60px;
        height: 60px;
        top: 110px;
        bottom: auto;
    }
}


/*============================
power
============================*/

#power {
    padding: 100px 0;
}

#power h2 {
    padding-bottom: 30px;
    border-bottom: 2px solid #00c8c8;
    position: relative;
    padding-left: 130px;
}

#power h2::before {
    content: '';
    display: block;
    width: 100px;
    height: 100px;
    background: url(../images/icon_power.jpg) no-repeat center center;
    background-size: contain;
    position: absolute;
    left: 0;
    top: -18px;
    bottom: 0;
    margin: auto;
}

@media only screen and (max-width: 768px) {
    #power {
        padding: 40px 0;
    }

    #power h2 {
        font-size: 32px;
        padding-bottom: 30px;
        border-bottom: 2px solid #00c8c8;
        position: relative;
        padding-left: 90px;
    }

    #power h2::before {
        width: 80px;
        height: 80px;
    }
}
