@charset "UTF-8";
/*----------------------------
  電話番号ボタン化（2025.02）
-----------------------------*/
.contact_block .box p br {
    display: none;
}
@media screen and (max-width: 820px) {
    .contact_block .box h2 span.sp {
        display: none;
    }
    .contact_block .box h2 br {
        display: none;
    }
    .contact_block .box:last-child .btn.gry {
        display: none;
    }
    .contact_block .box:last-child .btn.gry + p {
        display: none;
    }
}
@media screen and (max-width: 668px) {
    .contact_block .box h2 {
        font-size: 6vw;
        background-color: transparent;
        margin-bottom: 12px;
        margin-left: 0;
    }
    .contact_block .box h2 span.sp {
        display: inline-block;
    }
    .contact_block .box h2 br {
        display: block;
    }
    .contact_block .box h2 span {
        font-size: 6.3vw;
    }
    .contact_block .box:first-child {
        background-position: right -1vw top 9vw, left 2vw top 5vw;
        background-size: 24vw auto, 24vw auto;
    }
    .contact_block .box:first-child a {
        display: none;
    }
    .contact_block .box:first-child p:last-child {
        display: none;
    }
    .contact_block .box p {
        font-size: 3.6vw !important;
        padding-left: 1vw !important;
        margin-bottom: 8px !important;
        padding-bottom: 0 !important;
    }
    .contact_block .box p br {
        display: block;
    }
    .contact_block .box a + p span {
        display: inline;
    }
    .contact_block .box:last-child .btn.blue, .contact_block .box:last-child .btn.org {
        margin: 0 auto 5px;
    }
    .contact_block .box:last-child .btn.gry {
        display: block;
        max-width: 100%;
        width: 100%;
        height: 19vw;
        margin: 0;
        padding: 0;
        float: none;
        background-image: url(/service/new/img/elementary/btn-04_pc.png);
        background-position: 0 0;
        background-repeat: no-repeat;
        background-size: contain;
        position: relative;
    }
    .contact_block .box:last-child .btn.gry::before {
        content: "";
        width: 70px;
        height: 70px;
        position: absolute;
        right: auto;
        top: 19%;
        left: 11%;
        background-color: #fff;
        border-radius: 100px;
    }
    .contact_block .box:last-child .btn.gry::after {
        content: "";
        width: 35px;
        height: 45px;
        position: absolute;
        background-image: url("/common/images/icon-phone02.png");
        background-repeat: no-repeat;
        background-size: 35px auto;
        top: 29%;
        right: auto;
        left: 14%;
    }
    .contact_block .box:last-child .btn.gry a {
        font-family: "Noto Sans JP", sans-serif;
        height: 16.5vw;
        color: #fff;
        text-decoration: none;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        flex-direction: column-reverse;
        padding: 2px 0 0 10%;
        text-shadow: none;
    }
    .contact_block .box:last-child .btn.gry a span:first-child {
        font-size: 8vw;
        font-weight: 900;
        letter-spacing: 0;
    }
    .contact_block .box:last-child .btn.gry a span:last-child {
        font-size: 3.2vw;
        font-weight: 500;
        width: 100%;
        display: block;
        margin-bottom: 3px;
        letter-spacing: 0;
    }
    .contact_block .box:last-child .btn.gry + p {
        display: block;
        text-align: center;
        font-size: 3.6vw !important;
        font-weight: 700;
        margin-bottom: 0;
        padding: 0 !important;
    }
}
@media screen and (max-width: 640px) {
    .contact_block .box:last-child .btn.gry {
        margin-bottom: 8px;
    }
    .contact_block .box:last-child .btn.gry::before {
        top: 17%;
    }
    .contact_block .box:last-child .btn.gry::after {
        top: 28%;
    }
    .contact_block .box:last-child .btn.gry a span:last-child {
        font-size: 3.5vw;
        margin-bottom: 5px;
    }
    .contact_block .box:last-child .btn.gry + p {
        margin-top: -1vw;
    }
}
@media screen and (max-width: 600px) {
    .contact_block .box:first-child {
        background-position: right -0.5vw top 9vw, left 2vw top 5vw;
    }
    .contact_block .box:last-child .btn.gry::before {
        width: 65px;
        height: 65px;
    }
    .contact_block .box:last-child .btn.gry::after {
        width: 33px;
        height: 43px;
        background-size: 33px auto;
        top: 26%;
    }
}
@media screen and (max-width: 568px) {
    .contact_block .box:last-child .btn.gry::before {
        top: 16%;
    }
    .contact_block .box:last-child .btn.gry::after {
        top: 25%;
    }
    .contact_block .box:last-child .btn.gry a {
        margin: 0;
    }
}
@media screen and (max-width: 540px) {
    .contact_block .box:last-child .btn.gry::before {
        width: 11vw;
        height: 11vw;
        top: 17%;
    }
    .contact_block .box:last-child .btn.gry::after {
        width: 5.8vw;
        height: 7.5vw;
        background-size: 5.8vw auto;
        top: 25.5%;
    }
    .contact_block .box:last-child .btn.gry {
        margin-bottom: 5px;
    }
    .contact_block .box:last-child .btn.gry a span:last-child {
        font-size: 3.8vw;
    }
}
@media screen and (max-width: 500px) {
    .contact_block .box:first-child {
        background-position: right top 9vw, left 2vw top 5vw;
        min-height: auto;
    }
    .contact_block .box p {
        padding-left: 0 !important;
    }
    .contact_block .box:last-child .btn.gry a span:first-child {
        font-size: 8vw;
    }
    .contact_block .box:last-child .btn.gry::before {
        left: 10%;
    }
    .contact_block .box:last-child .btn.gry::after {
        left: 13%;
    }
}
@media screen and (max-width: 440px) {
    .contact_block .box p {
        margin-bottom: 3px !important;
        padding-top: 0 !important;
        font-size: 4.4vw !important;
    }
    .contact_block .box:last-child .btn.blue, .contact_block .box:last-child .btn.org {
        min-height: 19vw;
    }
    .contact_block .box:last-child .btn.blue a, .contact_block .box:last-child .btn.org a {
        height: 17.5vw;
    }
    .contact_block .box:last-child .btn.gry a {
        padding: 5px 0 0 10%;
    }
    .contact_block .box:last-child .btn.gry a span:last-child {
        margin-bottom: 3px;
    }
    .contact_block .box:last-child .btn.gry + p {
        font-size: 4.4vw !important;
    }
}
@media screen and (max-width: 430px) {
    .contact_block .box:first-child {
        background-position: right top 10vw, left 1vw top 5vw;
    }
    .contact_block .box:last-child .btn.gry a span:first-child {
        font-size: 8.5vw;
    }
    .contact_block .box:last-child .btn.gry a span:last-child {
        font-size: 3.8vw;
    }
    .contact_block .box:last-child .btn.gry::before {
        width: 10.5vw;
        height: 10.5vw;
        top: 19.5%;
    }
    .contact_block .box:last-child .btn.gry::after {
        width: 5vw;
        height: 7vw;
        background-size: contain;
        top: 29.5%;
    }
}
@media screen and (max-width: 414px) {
    .contact_block .box:last-child .btn.gry a span:first-child {
        font-size: 8.3vw;
        letter-spacing: 0.02em;
    }
    .contact_block .box:last-child .btn.gry a span:last-child {
        margin-bottom: 1px;
    }
}
@media screen and (max-width: 393px) {
    .contact_block .box p {
        margin-bottom: 0 !important;
    }
}
@media screen and (max-width: 390px) {
    .contact_block .box:last-child .btn.gry a {
        padding: 3px 0 0 10%;
    }
    .contact_block .box:last-child .btn.gry a span:last-child {
        margin-bottom: 0;
    }
    .contact_block .box:last-child .btn.gry::before {
        top: 18%;
    }
    .contact_block .box:last-child .btn.gry::after {
        top: 26.5%;
    }
}
@media screen and (max-width: 375px) {
    .contact_block .box h2 {
        font-size: 6.7vw;
    }
    .contact_block .box h2 span {
        font-size: 6.7vw;
    }
    .contact_block .box p {
        font-size: 4.6vw !important;
        padding-bottom: 0 !important;
    }
    .contact_block .box:first-child {
        background-position: right -0.8vw top 14vw, left 1vw top 9vw;
    }
    .contact_block .box:last-child .btn.gry a span:first-child {
        font-size: 8vw;
    }
    .contact_block .box:last-child .btn.gry + p {
        font-size: 4.6vw !important;
    }
    .contact_block .box:last-child .btn.gry::after {
        top: 28.5%;
    }
}
@media screen and (max-width: 360px) {
    .contact_block .box h2 {
        font-size: 6.8vw;
    }
    .contact_block .box h2 span {
        font-size: 6.8vw;
    }
    .contact_block .box:last-child .btn.gry {
        margin-bottom: 3px;
    }
    .contact_block .box:last-child .btn.gry a span:last-child {
        font-size: 4.2vw;
    }
    .contact_block .box:last-child .btn.gry a span:last-child {
        margin-bottom: 3px;
    }
}
@media screen and (max-width: 320px) {
    .contact_block .box:last-child .btn.gry a {
        padding: 0 0 0 10%;
    }
}
@media screen and (max-width: 280px) {
    .contact_block .box:last-child .btn.gry a span:last-child {
        margin-bottom: 2px;
    }
}