@charset "utf-8";

.obi_001 {
    background-image: url(../img/obi_001.png);
    background-repeat: no-repeat;
    text-align: center;
    padding-top: 15%;
    padding-right: 20px;
    padding-bottom: 15%;
    padding-left: 20px;
    background-size: cover;
    background-attachment: fixed;
    background-position: center bottom;
    color: #FFF;
    margin-top: 50px;
    margin-bottom: 50px;
}

.content .obi_001 h2 {
    color: #FFF;
    border-bottom: none;
    padding-bottom: 0px;
}

.obi_001 p {
    line-height: 2.4;
}


.obi_002 {
    width: 100%;
    height: auto;
    background-image: url(../img/obi_002.png);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 0 0 50%;
    position: relative;
}

.obi_002 .box_in {
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-flex-flow: column;
    flex-flow: column;
    position: absolute;
    color: #FFF;
    background-color: var(--anti-opa-70);
}

.obi_002 h2 {
    font-size: 36px;
}

.obi_002 p {
    line-height: 2;
    font-weight: bold;
}

.obi_002 .box_in p a.tel {
    font-size: 24px;
    color: #FFF;
    text-decoration: none;
    line-height: 1.2;
}

.obi_002 .box_in p a.tel strong {
    padding-left: 10px;
    font-size: 150%;
}

@media screen and (max-width:640px) {

    .obi_001 {
        background-image: url(../img/obi_001_sp.png);
        padding-left: 10px;
        padding-right: 10px;
    }

    .obi_001 p {
        text-align: left;
        margin-left: 15px;
        margin-right: 15px;
        font-size: 14px;
    }

    .obi_002 {
        background-image: url(../img/obi_002_sp.png);
        padding: 0 0 100%;
    }
}

@media screen and (max-width:460px) {

    .content .obi_001 h2 {
        font-size: 22px;
    }

}