.wp-block-group.bpmc-article-contact {
    margin-block: clamp(2rem, 4vw, 3rem);
    padding: clamp(1.15rem, 3.5vw, 2rem);
    border: 1px solid #cfdded;
    border-radius: 14px;
    background: linear-gradient(115deg, #f5f8fd, #eaf1fa);
    color: #203652;
}
.bpmc-article-contact .wp-block-heading {
    margin: 0 0 .6rem;
    color: #162851;
    font-size: clamp(1.35rem, 2.2vw, 1.8rem);
    line-height: 1.4;
}
.bpmc-article-contact p { margin: 0; }
.bpmc-article-contact .wp-block-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
    max-width: 29rem;
    margin: 1.25rem 0 .9rem;
}
.bpmc-article-contact .wp-block-button { margin: 0; min-width: 0; }
.bpmc-article-contact .wp-block-button .wp-block-button__link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6em;
    box-sizing: border-box;
    width: 100%;
    min-height: 50px;
    padding: .65em .85em;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background-color: #203b66;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
}
.bpmc-article-contact .wp-block-button__link[href^="https://line.me/"] { background-color: #077b3b; }
.bpmc-article-contact .wp-block-button__link[href^="https://line.me/"]:hover { background-color: #056633; }
.bpmc-article-contact .wp-block-button__link[href^="tel:"]:hover { background-color: #13294c; }
.bpmc-article-contact .wp-block-button__link:focus-visible { outline: 3px solid #4579be; outline-offset: 3px; }
.bpmc-article-contact .wp-block-button__link::before { content: ""; width: 1.3rem; height: 1.3rem; flex: none; }
.bpmc-article-contact > p:last-child a { font-size: .94em; text-underline-offset: .2em; }
@media (max-width: 540px) {
    .bpmc-article-contact .wp-block-buttons { grid-template-columns: minmax(0, 1fr); max-width: none; }
}
.bpmc-article-contact .wp-block-button__link[href^="https://line.me/"]::before { background: url("./bpmc-line-contact-mark.svg") center / contain no-repeat; }
.bpmc-article-contact .wp-block-button__link[href^="tel:"]::before { background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6 19.8 19.8 0 0 1-3.1-8.7A2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.5c.9.4 1.8.6 2.8.7a2 2 0 0 1 1.8 2.1z'/%3E%3C/svg%3E") center / contain no-repeat; }
