@charset "UTF-8";

.headline {
    background: #ee637b;
    padding-bottom: 15px;
}
h2 {
    font-size: 33px;
    letter-spacing: 0.15em;
    color: #fff;
    font-weight: 900;
    line-height: 95px;
    border-bottom: 1px solid #fff;
    text-align: center;
}
@media screen and (max-width: 640px) {
    h2 {
        font-size: 24px;
        line-height: 60px;
    }
}
/*-----------------------------------

    after

-----------------------------------*/
#after {
    background: url(../img/contractor/after_bg.png) no-repeat bottom;
    background-size: contain;
    text-align: center;
}
#after h3 {
    font-size: 24px;
    letter-spacing: 0.15em;
    background: url(../img/contractor/after_title_bg.png) no-repeat;
    background-size: contain;
    width: 590px;
    height: 52px;
    margin: 0 auto 30px;
    padding-top: 10px;
    text-align: center;
}
#after p {
    text-align: center;
    font-size: 18px;
    line-height: 2;
    letter-spacing: 0.08em;
    width: 510px;
    display: inline-block;
}
@media screen and (max-width: 640px) {
    #after h3 {
        background: none;
        font-size: 20px;
        width: auto;
        height: auto;
        margin: 0 auto 30px;
        padding-top: 0;
        text-align: center;
    }
    #after p {
        text-align: center;
        font-size: 14px;
        line-height: 2;
        letter-spacing: 0.08em;
        width: auto;
    }
}
/*-----------------------------------

    list

-----------------------------------*/
#list {
    padding: 20px 0;
}
#list dt {
    font-size: 20px;
    letter-spacing: 0.15em;
    color: #ee637b;
    border-bottom: 2px solid #ee637b;
    position: relative;
    padding-left: 2em;
    line-height: 2;
}
#list dt::before {
    content: "";
    position: absolute;
    background: url(../img/contractor/list_icon.png) no-repeat;
    background-size: contain;
    width: 31px;
    height: 25px;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
}
#list dd {
    background: #fff;
    margin-bottom: 30px;
    padding: 1em 2em;
    font-size: 16px;
    box-shadow: 7px 7px 15px #999393;
}
#list p {
    background: url(../img/contractor/list_item_bg.png) no-repeat center;
    text-align: center;
    font-size: 25px;
    letter-spacing: 0.15em;
    padding: 2em 0;
}
@media screen and (max-width: 840px) {
    #list p .sp{
        display: block;
    }
}
@media screen and (max-width: 640px) {
    #list {
        padding: 40px 0;
    }
    #list dl {
        width: 90%;
        margin: 0 auto;
    }
    #list dt {
        font-size: 17px;
    }
    #list dt::before {
        width: 27px;
        top:3px;
    }
    #list dd {
        font-size: 14px;
    }
    #list p {
        font-size: 16px;
        letter-spacing: 0.1em;
    }
}
/*-----------------------------------

    situation

-----------------------------------*/
#situation {
    padding: 60px 0;
}
#situation .contents_inner {
    display:flex;
    flex-wrap:wrap;
}
#situation .situation_box {
    width: 30%;
    margin-right: 5%;
    margin-bottom: 3em;
    border: 1px solid #ee637b;
    float: left;
    padding: 1.5em;
    border-radius: 20px;
    box-shadow: 7px 7px 15px #999393;
}
#situation .situation_box:nth-of-type(3n) {
    margin-right: 0;
}
#situation .situation_box img{
    display: block;
    border-radius: 20px;
    margin:0 auto 1em;
}
#situation .situation_box h3{
    font-size: 20px;
    letter-spacing: 0.15em;
    color: #ee637b;
    font-weight: 900;
    text-align: center;
    position: relative;
    width: 100%;
    max-width: 260px;
    margin: auto;
}
#situation .situation_box h3::after{
    position: absolute;
    content: "";
    background: url(../img/contractor/situation_line.png) no-repeat;
    background-size: contain;
    width: 100%;
    height: 100%;
    top:1.5em;
    left: 0;
}
#situation .situation_box p{
    margin-top: 2.5em;
    font-size: 15px;
}
@media screen and (max-width: 840px) {
    #situation .situation_box {
        width: 48%;
        margin-right: 4%;
    }
    #situation .situation_box:nth-of-type(2n) {
        margin-right: 0;
    }
    #situation .situation_box:nth-of-type(3) {
        margin-right: 4%;
    }
}
@media screen and (max-width: 640px) {
    #situation .contents_inner {
        width: 90%;
        margin: 0 auto;
    }
    #situation .situation_box {
        width: 100%;
        margin-right: 0;
        margin-bottom: 2em;
    }
    #situation .situation_box:nth-of-type(3) {
        margin-right: 0;
    }
}
