@charset "UTF-8";
/*----------------------------
  電話番号ボタン化（2025.02）
-----------------------------*/
@media screen and (max-width: 820px) {
    .contact_block .box h2 span.sp {
        display: none;
    }
    .contact_block .box h2 br {
        display: none;
    }
    .contact_block .box h2::after {
        width: calc(100% - 1.5vw);
        left: 1.5vw;
    }
    .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 {
        text-align: left;
        padding-bottom: 20px;
        margin-right: 1vw;
        margin-top: 8px;
        margin-bottom: 0;
        font-size: 6vw;
        float: right;
    }
    .contact_block .box h2 span {
        font-size: 6.5vw;
    }
    .contact_block .box h2 span.sp {
        display: inline-block;
    }
    .contact_block .box h2 br {
        display: block;
    }
    .contact_block .box h2::after {
        left: 0.5vw;
        width: calc(100% - 0.5vw);
    }
    .contact_block .box:first-child {
        background-size: 33vw auto;
        background-position: left 1vw bottom;
        text-align: left;
        padding-bottom: 40px;
    }
    .contact_block .box a + p {
        padding: 0 0 18px 22px;
    }
    .contact_block .box a + p br {
        display: block !important;
    }
    .contact_block .box a + p span:last-child {
        display: inline;
    }
    .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: 20px;
    }
    .contact_block .box:last-child .btn.gry {
        width: 100%;
        height: 110px;
        background: #767676;
        position: relative;
        display: inline-block;
        border-radius: 10px;
        padding: 0;
        box-shadow: 4px 4px 0px 0px rgba(86, 86, 86, 1);
        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 11%;
    }
    .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;
        text-align: center;
    }
    .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 12%;
    }
    .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 {
        top: 18%;
    }
    .contact_block .box:last-child .btn.gry span::after {
        top: 28%;
    }
    .contact_block .box:last-child .btn.gry {
        height: 105px;
    }
    .contact_block .box:last-child .btn.gry a {
        height: 105px;
        padding: 0 0 0 15%;
    }
}
@media screen and (max-width: 568px) {
    .contact_block .box h2 {
        margin-right: 1.5vw;
    }
    .contact_block .box a + p span {
        display: inline !important;
    }
    .contact_block .box:last-child .btn.gry span::before {
        width: 65px;
        height: 65px;
        left: 11.5%;
    }
    .contact_block .box:last-child .btn.gry span::after {
        width: 33px;
        height: 43px;
        background-size: 33px auto;
        left: 14.7%;
    }
    .contact_block .box:last-child .btn.gry {
        height: 100px;
    }
    .contact_block .box:last-child .btn.gry a {
        height: 100px;
    }
}
@media screen and (max-width: 540px) {
    .contact_block .box h2 {
        margin-top: 1vw;
        margin-right: 0.5vw;
        font-size: 6.3vw;
    }
    .contact_block .box:first-child {
        background-position: left 1vw bottom 1.5vw;
        padding-bottom: 6.5vw;
    }
    .contact_block .box:last-child .btn.gry span::before {
        width: 12.5vw;
        height: 12.5vw;
    }
    .contact_block .box:last-child .btn.gry span::after {
        width: 6.5vw;
        height: 8.6vw;
        background-size: 6.5vw auto;
    }
    .contact_block .box:last-child .btn.gry a {
        padding: 0 0 0 16%;
    }
    .contact_block .box:last-child .btn.gry a span:last-child {
        font-size: 3.8vw;
    }
}
@media screen and (max-width: 500px) {
    .contact_block .box h2::after {
        left: 1.2vw;
        width: calc(100% - 1.2vw);
    }
    .contact_block .box:last-child .btn.org {
        margin-bottom: 15px;
    }
    .contact_block .box:last-child .btn.gry {
        height: 95px;
        margin-bottom: 12px;
    }
    .contact_block .box:last-child .btn.gry a {
        height: 95px;
    }
    .contact_block .box:last-child .btn.gry a span:first-child {
        font-size: 9vw;
    }
    .contact_block .box:last-child .btn.gry span::before {
        left: 7%;
        top: 18%;
    }
    .contact_block .box:last-child .btn.gry span::after {
        left: 10.5%;
        top: 28%;
    }
    .contact_block .box:last-child .btn.gry + p {
        font-size: 4vw !important;
    }
}
@media screen and (max-width: 440px) {
    .contact_block .box h2 {
        margin-right: 0;
    }
    .contact_block .box p {
        margin: 0 auto;
    }
    .contact_block .box:last-child .btn.gry {
        height: 88px;
    }
    .contact_block .box:last-child .btn.gry a {
        height: 88px;
        padding-top: 2px;
    }
    .contact_block .box:last-child .btn.gry span::before {
        top: 20%;
        left: 5%;
    }
    .contact_block .box:last-child .btn.gry span::after {
        left: 8.5%;
        top: 30%;
    }
    .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:first-child {
        background-position: left 1vw bottom 2vw;
        padding-bottom: 7vw;
    }
    .contact_block .box p:first-child::after {
        bottom: -4.2vw;
        border-width: 8vw 3.5vw 0 3.5vw;
    }
    .contact_block .box h2 {
        padding-bottom: 18px;
    }
    .contact_block .box h2::after {
        background-size: 15px auto;
        left: 0.5vw;
        width: calc(100% - 0.5vw);
    }
    .contact_block .box:last-child .btn.blue, .contact_block .box:last-child .btn.org {
        margin-bottom: 12px;
    }
    .contact_block .box:last-child .btn.gry {
        height: 82px;
    }
    .contact_block .box:last-child .btn.gry a {
        height: 82px;
        padding-top: 0;
    }
    .contact_block .box:last-child .btn.gry span::before {
        width: 12vw;
        height: 12vw;
        left: 6.5%;
    }
    .contact_block .box:last-child .btn.gry span::after {
        width: 6vw;
        height: 8vw;
        background-size: 6vw auto;
        left: 9.8%;
    }
    .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 {
        height: 80px;
    }
    .contact_block .box:last-child .btn.gry a {
        height: 80px;
        padding-top: 2px;
    }
    .contact_block .box:last-child .btn.gry a span:first-child {
        letter-spacing: 0.015em;
    }
}
@media screen and (max-width: 393px) {
    .contact_block .box h2 {
        margin-left: 0;
        margin-right: 0;
        margin-top: 0.8vw;
    }
    .contact_block .box h2::after {
        left: 1vw;
        width: calc(100% - 1vw);
    }
    .contact_block .box:first-child {
        background-position: left 1vw bottom 2.2vw;
    }
    .contact_block .box:last-child .btn.gry {
        height: 78px;
    }
    .contact_block .box:last-child .btn.gry a {
        height: 78px;
    }
}
@media screen and (max-width: 390px) {
    .contact_block .box h2 {
        padding-right: 0.5vw;
        padding-bottom: 15px;
        margin-top: 0.5vw;
    }
    .contact_block .box h2::after {
        background-size: 13px auto;
        left: 0;
        width: 100%;
    }
    .contact_block .box:first-child {
        padding-bottom: 6.5vw;
    }
    .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: 21%;
    }
    .contact_block .box:last-child .btn.gry span::after {
        top: 32%;
    }
}
@media screen and (max-width: 375px) {
    .contact_block .box h2 {
        margin-top: 0.3vw;
    }
    .contact_block .box:last-child .btn.gry {
        height: 72px;
    }
    .contact_block .box:last-child .btn.gry a {
        height: 72px;
    }
    .contact_block .box:last-child .btn.gry span::before {
        left: 6%;
    }
    .contact_block .box:last-child .btn.gry span::after {
        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 h2 {
        margin-top: 0;
        margin-right: -0.5vw;
        padding-right: 0;
    }
    .contact_block .box h2::after {
        left: 1.2vw;
        width: calc(100% - 1.2vw);
    }
    .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::after {
        top: 31.3%;
    }
}
@media screen and (max-width: 320px) {
    .contact_block .box:first-child {
        padding-bottom: 7vw;
    }
    .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: 58px;
    }
    .contact_block .box:last-child .btn.gry a {
        height: 58px;
    }
    .contact_block .box:last-child .btn.gry span::after {
        top: 30%;
    }
}