@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 {
        background-position: left 2vw top 2vw;
        background-size: 20vw auto;
    }
    .contact_block .box h2 {
        font-size: 6.8vw;
        background-color: transparent;
        margin-bottom: 12px;
        margin-left: 0;
        margin-right: 3vw;
        line-height: 1;
        padding-bottom: 12px;
    }
    .contact_block .box h2 span.sp {
        display: inline-block;
    }
    .contact_block .box h2 br {
        display: block;
    }
    .contact_block .box h2 span {
        font-size: 6.8vw;
    }
    .contact_block .box h2 + p {
        display: block;
        padding-right: 3vw;
        padding-bottom: 20px;
        margin-bottom: 0;
    }
    .contact_block .box h2 + p span:last-child {
        display: block;
    }
    .contact_block .box:first-child {
        background-position: right 2.5vw top;
        background-size: 23vw auto;
        min-height: auto;
        padding-bottom: 5vw;
        margin-bottom: -5vw;
    }
    .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;
    }
    .contact_block .box:last-child .btn.org {
        margin-bottom: 18px;
    }
    .contact_block .box:last-child .btn.gry {
        width: 100%;
        height: 110px;
        position: relative;
        display: block;
        padding: 0;
        border: none;
        margin-bottom: 15px;
        background-color: #767676;
        border-radius: 100px;
        -moz-box-shadow: 2px 4px 5px 0px rgba(1, 1, 1, 0.3);
        -webkit-box-shadow: 2px 4px 5px 0px rgba(1, 1, 1, 0.3);
        -ms-box-shadow: 2px 4px 5px 0px rgba(1, 1, 1, 0.3);
        box-shadow: 2px 4px 5px 0px rgba(1, 1, 1, 0.3);
    }
    .contact_block .box:last-child .btn.gry::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 10px;
        border: 2px solid transparent;
        -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0) border-box;
        -webkit-mask-composite: destination-out;
        mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0) border-box;
        mask-composite: exclude;
        width: auto;
        height: auto;
        background: rgb(100, 100, 100);
        background: linear-gradient(0deg, rgba(141, 141, 141, 1) 0%, rgba(100, 100, 100, 1) 100%);
        display: none;
    }
    .contact_block .box:last-child .btn.gry span::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 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: 29%;
        right: auto;
        left: 14%;
    }
    .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%;
        margin: 0;
    }
    .contact_block .box:last-child .btn.gry a::before, .contact_block .box:last-child .btn.gry a::after {
        display: none;
    }
    .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 h2 + p span:first-child {
        display: inline;
    }
    .contact_block .box:last-child .btn.gry span::before {
        left: 10%;
    }
    .contact_block .box:last-child .btn.gry span::after {
        left: 13%;
    }
}
@media screen and (max-width: 568px) {
    .contact_block .box:first-child {
        background-position: right 2.5vw top 0.5vw;
    }
    .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: 104px;
    }
    .contact_block .box:last-child .btn.gry a {
        height: 104px;
        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;
        left: 9%;
    }
    .contact_block .box:last-child .btn.gry span::after {
        width: 6.5vw;
        height: 8.6vw;
        background-size: 6.5vw auto;
        top: 5.3vw;
        left: 12.2%;
    }
    .contact_block .box:last-child .btn.gry {
        margin-bottom: 12px;
    }
    .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 {
        padding: 0 15px;
    }
    .contact_block .box:last-child .btn.gry {
        height: 95px;
    }
    .contact_block .box:last-child .btn.gry span::before {
        left: 8%;
    }
    .contact_block .box:last-child .btn.gry span::after {
        left: 11.2%;
    }
    .contact_block .box:last-child .btn.gry a {
        padding: 0 0 0 13%;
        height: 95px;
    }
    .contact_block .box:last-child .btn.gry a span:first-child {
        font-size: 9vw;
    }
    .contact_block .box:last-child .btn.gry a span:last-child {
        margin-bottom: 3px;
    }
}
@media screen and (max-width: 440px) {
    .contact_block {
        background-position: left 2.5vw top 4.5vw;
    }
    .contact_block .box p {
        font-size: 4.4vw !important;
    }
    .contact_block .box p span {
        display: inline !important;
    }
    .contact_block .box p br {
        display: block;
    }
    .contact_block .box:first-child {
        background-position: right 2.5vw top 3.5vw;
    }
    .contact_block .box:last-child .btn.gry {
        height: 85px;
    }
    .contact_block .box:last-child .btn.gry span::before {
        top: 3.8vw;
    }
    .contact_block .box:last-child .btn.gry span::after {
        top: 5.5vw;
    }
    .contact_block .box:last-child .btn.gry a {
        height: 85px;
        padding: 0 0 0 14%;
    }
    .contact_block .box:last-child .btn.gry a span:first-child {
        font-size: 8.5vw;
        letter-spacing: 0.02em;
    }
    .contact_block .box:last-child .btn.gry + p {
        font-size: 4.4vw !important;
    }
}
@media screen and (max-width: 430px) {
    .contact_block {
        background-position: left 2.5vw top 6.5vw;
    }
    .contact_block .box h2 {
        font-size: 7.5vw;
        letter-spacing: -0.2em;
        margin-right: 2vw;
        margin-bottom: 10px;
    }
    .contact_block .box h2 span {
        font-size: 7.5vw;
    }
    .contact_block .box h2 + p {
        padding-bottom: 23px;
    }
    .contact_block .box:first-child {
        background-position: right 2.5vw top 5vw;
    }
    .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:last-child {
        margin-bottom: 3px;
    }
    .contact_block .box:last-child .btn.gry {
        margin-bottom: 10px;
    }
    .contact_block .box:last-child .btn.gry a {
        height: 85px;
        padding: 0 0 0 12%;
    }
}
@media screen and (max-width: 414px) {
    .contact_block .box:last-child .btn.blue {
        margin: 0 auto 15px;
    }
    .contact_block .box:last-child .btn.org {
        margin-bottom: 15px;
    }
    .contact_block .box:last-child .btn.gry {
        height: 80px;
    }
    .contact_block .box:last-child .btn.gry a {
        height: 80px;
    }
    .contact_block .box:last-child .btn.gry span::before {
        top: 3.7vw;
    }
    .contact_block .box:last-child .btn.gry span::after {
        top: 5.7vw;
    }
    .contact_block .box:last-child .btn.gry a span:first-child {
        letter-spacing: 0.015em;
    }
}
@media screen and (max-width: 402px) {
    .contact_block {
        background-position: left 2.5vw top 7vw;
    }
    .contact_block .box:first-child {
        background-position: right 2.5vw top 6vw;
    }
    .contact_block .box:last-child .btn.gry span::before {}
    .contact_block .box:last-child .btn.gry span::after {}
}
@media screen and (max-width: 393px) {
    .contact_block {
        background-position: left 2.5vw top 8vw;
    }
    .contact_block .box:first-child {
        background-position: right 2.5vw top 7vw;
    }
    .contact_block .box:last-child .btn.gry {
        height: 78px;
    }
    .contact_block .box:last-child .btn.gry a {
        height: 78px;
    }
    .contact_block .box:last-child .btn.gry span::before {
        top: 4.2vw;
    }
    .contact_block .box:last-child .btn.gry span::after {
        top: 6.2vw;
    }
}
@media screen and (max-width: 390px) {
    .contact_block {
        background-position: left 2.5vw top 8.5vw;
    }
    .contact_block .box:first-child {
        background-position: right 2.5vw top 7.5vw;
    }
    .contact_block .box:last-child {
        padding: 0 12px;
    }
}
@media screen and (max-width: 375px) {
    .contact_block .box p {
        font-size: 4.6vw !important;
    }
    .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 + p {
        font-size: 4.6vw !important;
    }
}
@media screen and (max-width: 360px) {
    .contact_block .box:last-child {
        padding: 0 8px;
    }
    .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: 8.5%;
    }
    .contact_block .box:last-child .btn.gry span::after {
        left: 11.5%;
    }
}
@media screen and (max-width: 344px) {
    .contact_block .box:last-child .btn.gry {
        height: 72px;
    }
    .contact_block .box:last-child .btn.gry a {
        height: 72px;
    }
}
@media screen and (max-width: 320px) {
    .contact_block .box:last-child .btn.gry {
        height: 68px;
    }
    .contact_block .box:last-child .btn.gry a {
        height: 68px;
    }
    .contact_block .box:last-child .btn.gry a span:last-child {
        font-size: 4.5vw;
        margin-bottom: 4px;
    }
    .contact_block .box:last-child .btn.gry span::before {
        top: 4.8vw;
    }
    .contact_block .box:last-child .btn.gry span::after {
        top: 6.7vw;
        left: 12%;
    }
}
@media screen and (max-width: 280px) {
    .contact_block .box:last-child .btn.gry {
        height: 60px;
        margin-bottom: 8px;
    }
    .contact_block .box:last-child .btn.gry a {
        height: 60px;
    }
    .contact_block .box:last-child .btn.gry span::after {
        left: 11.5%;
    }
}