/* お問い合わせページ専用スタイル
   既存の sp_common.css / pc_common.css の後に読み込んでください。 */

.contact-article {
    margin-top: 86px;
    margin-bottom: 86px;
}

.contact-article span {
    margin-bottom: 0;
}

.contact-lead {
    margin: 0 0 42px;
    line-height: 1.9;
}

.contact-section + .contact-section {
    margin-top: 64px;
}

.contact-section-title {
    margin: 0 0 18px;
    padding: 0 0 0 16px;
    border-left: 5px solid #d5001d;
    color: #231815;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.5;
}

.contact-section-description {
    margin: 0 0 24px;
    line-height: 1.9;
}

.contact-shop-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-shop-link {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 58px;
    box-sizing: border-box;
    padding: 12px 48px 12px 20px;
    border: 1px solid #b5b5b5;
    color: #231815;
    line-height: 1.55;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.contact-shop-link::after,
.contact-button::after {
    position: absolute;
    top: 50%;
    right: 20px;
    width: 8px;
    height: 8px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    content: "";
    transform: translateY(-50%) rotate(45deg);
}

.contact-shop-link:hover,
.contact-shop-link:focus-visible {
    border-color: #d5001d;
    background-color: #fff8f9;
    color: #d5001d;
}

.contact-notice {
    margin: 0 0 26px;
    padding: 18px 22px;
    border: 1px solid #d5001d;
    background-color: #fff8f9;
    color: #4a2429;
    font-size: 14px;
    line-height: 1.8;
}

.contact-notice p {
    margin: 0;
}

.contact-note-list {
    margin: 0;
    padding: 0 0 0 1.4em;
}

.contact-note-list li {
    list-style: disc;
    line-height: 1.8;
}

.contact-note-list li + li {
    margin-top: 5px;
}

.contact-news {
    margin: 0 0 26px;
    padding: 22px 24px;
    border: 1px solid #d8c9a4;
    background-color: #fffaf0;
}

.contact-news .contact-news-title {
    margin: 0 0 10px;
    color: #d5001d;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
}

.contact-news p {
    margin: 0;
    line-height: 1.9;
}

.contact-card-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    min-height: 260px;
    box-sizing: border-box;
    padding: 30px;
    border: 1px solid #b5b5b5;
    background-color: #fff;
}

.contact-card-title {
    margin: 0 0 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #d7d7d7;
    color: #231815;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.5;
}

.contact-card-text {
    margin: 0 0 24px;
    line-height: 1.85;
}

.contact-card-action {
    margin-top: auto;
}

.contact-mail-action {
    display: flex;
    justify-content: center;
    margin: 0;
}

.contact-mail-action .contact-button {
    width: 100%;
    max-width: 480px;
}

.contact-button {
    position: relative;
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 15px 48px 15px 20px;
    border: 1px solid #231815;
    background-color: #231815;
    color: #fff;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.contact-button:hover,
.contact-button:focus-visible {
    border-color: #d5001d;
    background-color: #d5001d;
    color: #fff;
}

.contact-tel-label {
    display: block;
    margin-bottom: 8px !important;
    font-size: 13px;
}

.contact-tel {
    display: block;
    color: #d5001d;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.06em;
    line-height: 1.4;
}

.contact-tel-note {
    display: block;
    margin-top: 8px;
    color: #555;
    font-size: 12px;
    line-height: 1.6;
}

@media print, screen and (min-width: 641px) {
    .contact-article {
        margin-right: 60px;
        margin-left: 60px;
    }
}

@media screen and (max-width: 640px) {
    .contact-article {
        padding-top: 30px;
        padding-bottom: 20px;
    }

    .contact-lead {
        margin-bottom: 34px;
    }

    .contact-section + .contact-section {
        margin-top: 48px;
    }

    .contact-section-title {
        padding-left: 12px;
        font-size: 19px;
    }

    .contact-shop-list,
    .contact-card-list {
        grid-template-columns: 1fr;
    }

    .contact-shop-link {
        min-height: 54px;
        padding-left: 16px;
    }

    .contact-notice {
        padding: 15px 16px;
    }

    .contact-card {
        min-height: 0;
        padding: 24px 20px;
    }

    .contact-card-title {
        font-size: 18px;
    }

    .contact-button {
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .contact-tel {
        font-size: 22px;
    }
}
