@charset "UTF-8";
/*----------------------------
  電話番号ボタン化（2025.02）
-----------------------------*/
@media screen and (max-width: 820px) {
    .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:first-child a {
        display: none;
    }
    .contact_block .box:first-child p:last-child {
        display: none;
    }
    .contact_block .box:last-child .btn.org {
        margin-bottom: 15px;
    }
    .contact_block .box:last-child .btn.gry {
        width: 100%;
        height: 110px;
        background: #646464;
        position: relative;
        display: block;
        padding: 0;
        border: none;
        border-radius: 0;
        margin-bottom: 15px;
    }
    .contact_block .box:last-child .btn.gry span::before {
        content: "";
        width: 70px;
        height: 70px;
        position: absolute;
        right: auto;
        top: 20%;
        left: 10.5%;
        background-color: #fff;
        border-radius: 100px;
    }
    .contact_block .box:last-child .btn.gry span::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: 30%;
        right: auto;
        left: 13.7%;
    }
    .contact_block .box:last-child .btn.gry a {
        font-family: "Noto Sans JP", sans-serif;
        height: 110px;
        color: #fff;
        text-decoration: none;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        flex-direction: column-reverse;
        padding: 0 0 0 10%;
    }
    .contact_block .box:last-child .btn.gry a span:first-child {
        font-size: 8vw;
        font-weight: 900;
        letter-spacing: 0;
        text-shadow: none;
    }
    .contact_block .box:last-child .btn.gry a span:last-child {
        font-size: 3.2vw;
        font-weight: 500;
        width: 100%;
        display: block;
        margin-bottom: 5px;
        letter-spacing: 0;
        text-shadow: none;
    }
    .contact_block .box:last-child .btn.gry a span::before, .contact_block .box:last-child .btn.gry a span::after {
        display: none;
    }
    .contact_block .box:last-child .btn.gry + p {
        display: block;
        text-align: center;
        font-size: 3.6vw !important;
        margin-bottom: 0;
        padding: 0 !important;
        font-weight: bold;
    }
}
@media screen and (max-width: 640px) {
    .contact_block .box:last-child .btn.gry a {
        padding: 0 0 0 10%;
    }
    .contact_block .box:last-child .btn.gry a span:last-child {
        font-size: 3.5vw;
    }
}
@media screen and (max-width: 600px) {
    .contact_block .box:last-child .btn.gry span::before {
        left: 9%;
    }
    .contact_block .box:last-child .btn.gry span::after {
        left: 12.5%;
    }
}
@media screen and (max-width: 568px) {
    .contact_block .box:last-child .btn.gry span::before {
        width: 65px;
        height: 65px;
    }
    .contact_block .box:last-child .btn.gry span::after {
        width: 33px;
        height: 43px;
        background-size: 33px auto;
    }
    .contact_block .box:last-child .btn.gry {
        width: 100%;
        height: 100px;
    }
    .contact_block .box:last-child .btn.gry a {
        height: 100px;
        margin: 0;
    }
}
@media screen and (max-width: 540px) {
    .contact_block .box:last-child .btn.gry span::before {
        width: 12.5vw;
        height: 12.5vw;
        top: 3.2vw;
    }
    .contact_block .box:last-child .btn.gry span::after {
        width: 6.5vw;
        height: 8.6vw;
        background-size: 6.5vw auto;
        top: 5.2vw;
    }
    .contact_block .box:last-child .btn.gry a {
        padding: 0 0 0 13%;
    }
    .contact_block .box:last-child .btn.gry a span:last-child {
        font-size: 3.8vw;
    }
}
@media screen and (max-width: 500px) {
    .contact_block .box:last-child .btn.gry span::before {
        top: 4vw;
        left: 8%;
    }
    .contact_block .box:last-child .btn.gry span::after {
        top: 6vw;
        left: 11.5%;
    }
    .contact_block .box:last-child .btn.gry a {
        padding: 0 0 0 16%;
    }
    .contact_block .box:last-child .btn.gry a span:first-child {
        font-size: 9vw;
    }
}
@media screen and (max-width: 440px) {
    .contact_block .box p {
        margin: 0 auto;
    }
    .contact_block .box:last-child .btn.gry {
        height: 90px;
    }
    .contact_block .box:last-child .btn.gry a {
        height: 90px;
    }
    .contact_block .box:last-child .btn.gry span::before {
        top: 4.5vw;
        left: 6%;
    }
    .contact_block .box:last-child .btn.gry span::after {
        top: 6.2vw;
        left: 9.5%;
    }
    .contact_block .box:last-child .btn.gry a span:first-child {
        font-size: 9.5vw;
    }
    .contact_block .box:last-child .btn.gry + p {
        font-size: 4.4vw !important;
    }
}
@media screen and (max-width: 430px) {
    .contact_block .box:last-child .btn.org {
        margin-bottom: 10px;
    }
    .contact_block .box:last-child .btn.gry {
        height: 85px;
        margin-bottom: 12px;
    }
    .contact_block .box:last-child .btn.gry a {
        height: 85px;
    }
    .contact_block .box:last-child .btn.gry span::before {
        width: 12vw;
        height: 12vw;
        top: 4vw;
        left: 7%;
    }
    .contact_block .box:last-child .btn.gry span::after {
        width: 6vw;
        height: 8vw;
        background-size: 6vw auto;
        top: 6vw;
        left: 10.5%;
    }
    .contact_block .box:last-child .btn.gry a span:first-child {
        font-size: 9.2vw;
    }
    .contact_block .box:last-child .btn.gry a span:last-child {
        margin-bottom: 3px;
    }
}
@media screen and (max-width: 414px) {
    .contact_block .box:last-child .btn.gry a span:first-child {
        letter-spacing: 0.015em;
    }
}
@media screen and (max-width: 402px) {
    .contact_block .box:last-child .btn.gry span::before {
        top: 5vw;
        left: 6%;
    }
    .contact_block .box:last-child .btn.gry span::after {
        top: 7vw;
        left: 9.5%;
    }
    .contact_block .box:last-child .btn.gry a {
        padding: 0 0 0 15.5%;
    }
}
@media screen and (max-width: 390px) {
    .contact_block .box:last-child .btn.gry {
        height: 75px;
    }
    .contact_block .box:last-child .btn.gry a {
        height: 75px;
    }
    .contact_block .box:last-child .btn.gry span::before {
        top: 3.8vw;
        left: 7%;
    }
    .contact_block .box:last-child .btn.gry span::after {
        top: 5.8vw;
        left: 10.5%;
    }
}
@media screen and (max-width: 375px) {
    .contact_block .box:last-child .btn.gry span::before {
        top: 4.2vw;
        left: 6%;
    }
    .contact_block .box:last-child .btn.gry span::after {
        top: 6.2vw;
        left: 9.5%;
    }
    .contact_block .box:last-child .btn.gry + p {
        font-size: 4.6vw !important;
    }
}
@media screen and (max-width: 360px) {
    .contact_block .box:last-child .btn.gry {
        height: 70px;
    }
    .contact_block .box:last-child .btn.gry a {
        height: 70px;
    }
    .contact_block .box:last-child .btn.gry a span:last-child {
        font-size: 4.2vw;
    }
    .contact_block .box:last-child .btn.gry span::before {
        left: 5.5%;
    }
    .contact_block .box:last-child .btn.gry span::after {
        left: 9%;
    }
}
@media screen and (max-width: 344px) {
    .contact_block .box:last-child .btn.gry span::before {
        top: 4.3vw;
    }
    .contact_block .box:last-child .btn.gry span::after {
        top: 6.2vw;
    }
}
@media screen and (max-width: 320px) {
    .contact_block .box:last-child .btn.gry {
        height: 65px;
    }
    .contact_block .box:last-child .btn.gry a {
        height: 65px;
    }
}
@media screen and (max-width: 280px) {
    .contact_block .box:last-child .btn.gry {
        height: 60px;
    }
    .contact_block .box:last-child .btn.gry a {
        height: 60px;
    }
    .contact_block .box:last-child .btn.gry span::before {
        left: 5%;
        top: 5vw;
    }
    .contact_block .box:last-child .btn.gry span::after {
        left: 8.5%;
        top: 7vw;
    }
}