@charset "utf-8";

#maincat_v{
    background-image: url('../consult/img/main_sp.jpg');
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: cover;
}

#maincat_v h1 {
    line-height: 0.9;
}

#maincat_v h1 span {
    margin-top: 15px;
}

#consult h2{
    font-size: 1.5rem;
    margin-bottom: 50px;
    line-height: 1.4;
}

.merit h2{
    border-bottom: 2px solid #e0e0e0;
    padding: 30px;
}

.merit h2 span{
    font-weight: bold;
    background:linear-gradient(transparent 70%, #ffd1f4 60%);
    padding: 0 10px;
}

#consult h3 {
    font-size: 1rem;
    font-weight: bold;
    padding: 30px;
    margin-bottom: 30px;
}

.risk p{
    text-align: center;
}

.card{
    margin-bottom: 20px;
}


.step .fa-chevron-down {
    font-size: 3rem;
}

.step {
    margin-bottom: 100px;
}

.step h4 {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.step h4 span {
    color: #fff;
    display: block;
    font-size: 0.8rem;
    margin-bottom: 10pt;
    background-color: #0089c0;
    padding: 8px;
}

.arrow img{
    width: 40px;
    margin: 0 auto 80px auto;
}

.contact {
    text-align: center;
}

.tel_c h3,
.web_c h3 {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 20px !important;
}

.tel_c h4 {
    text-align: center;
    font-weight: bold;
    font-size: 1rem;
    padding: 8px !important;
}

.tel_c a img {
    width: 60%;
    margin: 0 auto;
    transition: 0.4s;
}

.tel_c a img:hover {
    opacity: 0.5;
}

.tel_c p,.web_c p {
    font-size: 0.8rem;
    margin-top: 15px;
    text-align: center;
}

.merit img{
    margin-bottom: 80px;
}

@media (min-width: 576px) {
    
    #maincat_v{
        background-image: url('../consult/img/main.jpg');
        background-position: bottom right;
        background-repeat: no-repeat;
        background-size: contain;
        height: 600px;
    }
    
    #consult h2{
        font-size: 2rem;
    }
    
    .card{
        margin-bottom: 0;
    }
    
    .balloon1-left {
        position: relative;
        display: inline-block;
        margin: 1.5em 0 1.5em 15px;
        padding: 20px 20px;
        max-width: 100%;
        background: #fff;
        box-shadow: 0 2px 10px 0 rgba(0, 0, 0, .1);
    }

    .balloon1-left:before {
        content: "";
        position: absolute;
        top: 50%;
        left: -30px;
        margin-top: -15px;
        border: 15px solid transparent;
        border-right: 15px solid #fff;
    }

    .balloon1-left p {
        margin: 0;
        padding: 0;
    }

    .balloon1-right {
        position: relative;
        display: inline-block;
        margin: 1.5em 15px 1.5em 0;
        padding: 20px 20px;
        max-width: 100%;
        background: #fff;
        box-shadow: 0 2px 10px 0 rgba(0, 0, 0, .1);
    }

    .balloon1-right:before {
        content: "";
        position: absolute;
        top: 50%;
        left: 100%;
        margin-top: -15px;
        border: 15px solid transparent;
        border-left: 15px solid #fff;
    }

    .balloon1-right p {
        margin: 0;
        padding: 0;
    }
    
}