@charset "UTF-8";
@import "sections/intro.css";
@import "sections/contact.css";
@import "sections/estimate.css";

#intro {
    padding: 2em 0;
}
@media screen and (min-width: 768px){
    #intro {
        padding: 6em 0;
    }
}
#contact {
    padding: 3em 0 5em 0;
    background: url(../img/contact_bg.jpg) right center/cover no-repeat;
}

#estimate {
    padding-bottom: 0;
}
#estimate .steps {
    margin-top: -12em;
    margin-bottom: 4em;
    font-size: 70%;
    border-radius: 10px;
    overflow: hidden;
}
@media screen and (min-width: 768px){
    #estimate .steps {
        margin-top: -10em;
        margin-bottom: 3em;
        font-size: 100%;
    }
}
#page_confirm #estimate .steps,
#page_thanks #estimate .steps {
    margin-top: 0;
}
#estimate .steps li {
    padding: 2em 0.5em;
    color: #fff;
    font-size: 180%;
    font-weight: 400;
    text-align: center;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}
@media screen and (min-width: 768px){
    #estimate .steps li {
        font-size: 150%;
    }
}
@media screen and (min-width: 992px){
    #estimate .steps li {
        font-size: 185%;
    }
}
#estimate .steps li:nth-child(1) {
    background: #f3ca0a;
}
#estimate .steps li:nth-child(2) {
    background: #f3bd1a;
}
#estimate .steps li:nth-child(3) {
    background: #f39c11;
}
#estimate .steps li::after {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid transparent;
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    right: -10px;
    margin: auto 0;
    z-index: 1;
}
@media screen and (min-width: 768px){
    #estimate .steps li::after {
        width: 20px;
        height: 20px;
        border-top-width: 20px;
        border-bottom-width: 20px;
        border-left-width: 20px;
        right: -20px;
    }
}
#estimate .steps li:nth-child(1)::after {
    border-left-color: #f3ca0a;
}
#estimate .steps li:nth-child(2)::after {
    border-left-color: #f3bd1a;
}
#estimate .steps li:nth-child(3)::after {
    display: none;
}
#estimate .steps li small {
    padding: 0.2em 1.5em;
    margin-bottom: 0.25em;
    border: 1px solid #fff;
    border-radius: 3em;
    font-size: 80%;
    display: block;
}

#estimate a.toTop {
    margin-top: 5em;
}