@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-image: url(../img/primary/bg-contact-01-2.png);
        background-size: 20vw auto;
        background-position: left 20px top;
    }
    .contact_block .box h2 {
        font-size: 6.3vw;
        margin-left: 5vw;
    }
    .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 h2 + p {
        margin-bottom: 20px;
    }
    .contact_block .box:first-child {
        background-size: 15vw auto;
        background-position: right 20px top 2vw;
    }
    .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: 5vw !important;
    }
    .contact_block .box:last-child .btn.org {
        margin-bottom: 18px;
    }
    .contact_block .box:last-child .btn.gry {
        width: 100%;
        height: 110px;
        background: rgb(100, 100, 100);
        background: linear-gradient(0deg, rgba(100, 100, 100, 1) 0%, rgba(109, 109, 109, 1) 25%, rgba(124, 124, 124, 1) 50%, rgba(145, 145, 145, 1) 75%, rgba(167, 167, 167, 1) 100%);
        position: relative;
        display: block;
        border-radius: 10px;
        box-shadow: 4px 4px 5px 0px rgba(0, 0, 0, 0.66);
        padding: 0;
        border: none;
        margin-bottom: 15px;
    }
    .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%);
    }
    .contact_block .box:last-child .btn.gry span::before {
        content: "";
        width: 70px;
        height: 70px;
        position: absolute;
        right: auto;
        top: 20%;
        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: 30%;
        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%;
    }
    .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: 10%;
    }
    .contact_block .box:last-child .btn.gry span::after {
        left: 13%;
    }
}
@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;
        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 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%;
    }
    .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 {
        background-size: 18.5vw auto;
        background-position: left 18px top;
    }
    .contact_block .box h2 {
        margin-left: 4vw;
    }
    .contact_block .box p {
        font-size: 4.4vw !important;
        padding-left: 4.5vw !important;
    }
    .contact_block .box p span {
        display: inline !important;
    }
    .contact_block .box p br {
        display: block;
    }
    .contact_block .box:first-child {
        background-size: 14vw auto;
    }
    .contact_block .box:last-child .btn.gry span::before {
        top: 5vw;
        left: 6%;
    }
    .contact_block .box:last-child .btn.gry span::after {
        top: 6.8vw;
        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 {
        background-position: left 18px top 1.5vw;
    }
    .contact_block .box:first-child {
        background-position: right 18px top 5vw;
    }
    .contact_block .box:last-child .btn.org {
        margin-bottom: 15px;
    }
    .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 h2 {
        margin-left: 3.5vw;
    }
    .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: 80px;
    }
    .contact_block .box:last-child .btn.gry a {
        height: 80px;
    }
    .contact_block .box:last-child .btn.gry span::before {
        top: 4.5vw;
        left: 7%;
    }
    .contact_block .box:last-child .btn.gry span::after {
        top: 6.5vw;
        left: 10.5%;
    }
}
@media screen and (max-width: 375px) {
    .contact_block {
        background-position: left 10px top 2vw;
    }
    .contact_block .box:first-child {
        background-position: right 10px top 5vw;
    }
    .contact_block .box h2 {
        font-size: 6.7vw;
        margin-bottom: 12px;
    }
    .contact_block .box h2 span {
        font-size: 6.7vw;
    }
    .contact_block .box h2 + p {
        margin-bottom: 15px;
    }
    .contact_block .box p {
        font-size: 4.6vw !important;
    }
    .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 + p {
        font-size: 4.6vw !important;
    }
}
@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 {
        height: 75px;
    }
    .contact_block .box:last-child .btn.gry a {
        height: 75px;
    }
    .contact_block .box:last-child .btn.gry a span:last-child {
        font-size: 4.2vw;
    }
}
@media screen and (max-width: 344px) {
    .contact_block .box h2 + p {
        margin-bottom: 13px;
    }
    .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 {
        background-position: left 8px top 3vw;
    }
    .contact_block .box:first-child {
        background-position: right 8px top 7vw;
    }
    .contact_block .box h2 {
        margin-left: 3vw;
    }
    .contact_block .box:last-child .btn.gry {
        height: 65px;
    }
    .contact_block .box:last-child .btn.gry a {
        height: 65px;
    }
    .contact_block .box:last-child .btn.gry span::after {
        left: 10.3%;
    }
}
@media screen and (max-width: 280px) {
    .contact_block {
        background-position: left 8px top 5vw;
    }
    .contact_block .box:last-child .btn.gry {
        height: 55px;
    }
    .contact_block .box:last-child .btn.gry a {
        height: 55px;
    }
}