@charset "UTF-8";

a.form_scroll{
    background: #f5842b;
    color: #fff;
    padding: 13px;
    font-size: 13px;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(to bottom, #ffbe44 0%, #ff8d28 100%);
    font-family: "Helvetica","Arial","Hiragino Kaku Gothic ProN","Hiragino Sans",YuGothic,"Yu Gothic","メイリオ",Meiryo,sans-serif;
    border-radius: 10px;
}
a.form_scroll:hover{
    opacity: .9;
}

span.call_back{
    margin: 13px auto;
    display: block;
    width: 92%;
    text-align: left;
    line-height: 24px;
}

section#mailform-top{
    margin-top: calc(-1 * (75px + ((1vw - 3.2px) * (15 / 4.48))));
    padding-top: calc(75px + ((1vw - 3.2px) * (15 / 4.48)));
}

@media (min-width: 769px){
    a.form_scroll{
        padding: 15px;
        font-size: 20px;
    }
    span.call_back{
        text-align: center;
    }
    section#mailform-top{
        margin-top: 0;
        padding-top: 90px;
    }
}

.contact select{
    height: 35px;
}

.contact dd.select-wrapper{
    text-align: left;
}

@media screen and (max-width: 800px){
    form#mailformpro dl dd {
        text-align: left;
    }
}

/* about */
.about{
    padding: 20px 0 40px;
}
.about__container{
    max-width: 1040px;
    margin-right: auto;
    margin-left: auto;
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    padding: 0 20px;
}
.about__title{
    background-image: none;
    max-width: 317px;
    margin-right: auto;
    margin-left: auto;
    padding-top: 0;
    height: auto;
}
.about__title img{
    width: 100%;
}
.about__title-text{
    font-size: 24px;
    text-align: center;
    margin-top: 10px;
    line-height: 1.4;
    font-weight: bold;
}
.about__box{
    position: relative;
    border: 1px solid #FE8527;
    border-radius: 5px;
    max-width: 480px;
    width: 100%;
    padding: 60px 0 30px;
}
.about__box:not(:first-of-type){
    margin-left: 10px;
}
.about__box-title{
    position: absolute;
    top: -30px;
    right: 50%;
    transform: translateX(50%);
    color: #fff;
    background-color: #FE8527;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 60px;
    border-radius: 10px;
    font-weight: bold;
}
.about__box-text{
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.about__box-text--md{
    margin-left: 20px;
    font-size: 34px;
}
.about__box-text--lg{
    font-size: 60px;
    font-weight: bold;
}
.about__box-note{
    font-size: 20px;
    margin-top: 10px;
}
.about__contents{
    margin-top: 30px;
    text-align: center;
}
.about__contents-title{
    display: inline-block;
    margin-right: auto;
    margin-left: auto;
    padding: 5px 20px;
    border-bottom: 1px solid #FE8527;
    font-weight: bold;
}
.about__contents-text{
    padding: 0 20px;
    margin-top: 20px;
    font-weight: 100;
    line-height: 1.6;
}
@media screen and (max-width: 900px){
    .about__box-text--md{
        margin-left: 20px;
        font-size: 28px;
    }
    .about__box-text--lg{
        font-size: 50px;
        font-weight: bold;
    }
}
@media screen and (max-width: 768px){
    .about__title{
        background-color: inherit;
        line-height: 1;
    }
    .about__title::after{
        display: none;
    }
    .about__title-text{
        font-size: 20px;
        margin-top: 10px;
    }
    .about__box{
        padding: 40px 0 20px;
    }
    .about__box:not(:first-of-type){
        margin-left: 0;
        margin-top: 50px;
    }
    .about__box-title{
        top: -25px;
        font-size: 20px;
        width: 180px;
        height: 50px;
    }
    .about__box-text{
        display: flex;
        justify-content: center;
        align-items: flex-end;
    }
    .about__box-text--md{
        margin-left: 15px;
        font-size: 24px;
    }
    .about__box-text--lg{
        font-size: 40px;
    }
    .about__box-note{
        font-size: 16px;
        margin-top: 10px;
    }
    .about__contents{
        margin-top: 25px;
    }
    .about__contents-title{
        padding: 5px 20px;
    }
    .about__contents-text{
        margin-top: 15px;
    }
    .about__br{
        display: none;
    }
}

/* merit */
.merit{
    padding: 70px 0 36px;
}
.merit__container{
    width: 100%;
    max-width: 980px;
    margin-right: auto;
    margin-left: auto;
    padding: 0 20px;
}
.merit__title{
    text-align: center;
}
.merit__title-text{
    color: #fff;
    background-color: #50B0CB;
    border-radius: 5px;
    padding: 15px 65px;
    font-size: 24px;
    font-weight: bold;
    display: inline-block;
    line-height: 1.4;
}
.merit__contents{
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
}
.merit__item{
    width: calc((100% - 160px) / 3);
}
.merit__item-img{
    height: 160px;
    display: flex;
    justify-content: center;
}
.merit__item-img img{
    height: 100%;
}
.merit__item-title{
    margin-top: 30px;
    font-size: 24px;
    text-align: center;
    font-weight: bold;
}
.merit__item-text{
    margin-top: 20px;
    font-size: 20px;
    line-height: 1.6;
}
@media screen and (max-width: 1024px){
    .merit__item-img{
        height: 140px;
    }
}
@media screen and (max-width: 900px){
    .merit__item{
        width: calc((100% - 80px) / 3);
    }
}
@media screen and (max-width: 768px){
    .merit{
        padding: 50px 0 16px;
    }
    .merit__title-text{
        padding: 15px 55px;
        font-size: 20px;
    }
    .merit__contents{
        display: block;
        margin-top: 40px;
    }
    .merit__item{
        margin-right: auto;
        margin-left: auto;
        width: 100%;
        max-width: 480px;
    }
    .merit__item:not(:first-of-type){
        margin-top: 35px;
    }
    .merit__item-img{
        height: 120px;
    }
    .merit__item-title{
        margin-top: 30px;
        font-size: 20px;
    }
    .merit__item-text{
        margin-top: 15px;
        font-size: 18px;
    }
}