/* スマホヘッダー電話ボタン：電話お問い合わせポップアップ */

.tel-popup {
    --tp-pink: #ec3f7f;
    --tp-pink-light: #fdeef4;
    --tp-pink-border: #f7bfd4;
    --tp-navy: #1d2850;
    --tp-gray-bg: #f3f4f7;
    --tp-gray-border: #dcdee5;
    --tp-gray-btn: #b9bbc1;

    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0, 0, 0, 0.55);
    box-sizing: border-box;
}

.tel-popup[hidden] {
    display: none;
}

html.tel-popup-lock,
html.tel-popup-lock body {
    overflow: hidden;
}

.tel-popup *,
.tel-popup *::before,
.tel-popup *::after {
    box-sizing: border-box;
}

.tel-popup__dialog {
    position: relative;
    width: 100%;
    max-width: 400px;
    max-height: 100%;
    overflow-y: auto;
    padding: 18px 14px 14px;
    background: #fff;
    border-radius: 16px;
    color: var(--tp-navy);
    font-family:
        "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.5;
    text-align: left;
}

.tel-popup__close {
    position: absolute;
    top: 6px;
    right: 8px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: none;
    color: #555;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

.tel-popup__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    padding: 0 36px 10px 0;
    border-bottom: 2px solid var(--tp-pink);
    font-size: 24px;
    font-weight: bold;
}

.tel-popup__title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--tp-pink);
    color: #fff;
}

.tel-popup__title-icon .tel-popup__icon {
    width: 24px;
    height: 24px;
}

.tel-popup__item {
    margin-top: 10px;
    padding: 12px;
    border: 1px solid var(--tp-gray-border);
    border-radius: 12px;
    background: var(--tp-gray-bg);
}

.tel-popup__item.is-open {
    border-color: var(--tp-pink-border);
    background: var(--tp-pink-light);
}

.tel-popup__item-title {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0 6px;
    font-size: 18px;
    font-weight: bold;
}

.tel-popup__item-title small {
    font-size: 13px;
}

.tel-popup__num {
    color: var(--tp-pink);
    font-size: 20px;
}

.tel-popup__hours,
.tel-popup__note {
    margin: 0 0 2px;
    padding-left: 28px;
    font-size: 14px;
}

.tel-popup__note {
    font-size: 12px;
}

.tel-popup__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    margin-top: 10px;
    border-radius: 999px;
    background: var(--tp-pink);
    color: #fff !important;
    font-size: 17px;
    font-weight: bold;
    text-decoration: none !important;
}

.tel-popup__btn .tel-popup__icon {
    width: 20px;
    height: 20px;
}

.tel-popup__btn.is-disabled {
    background: var(--tp-gray-btn);
    cursor: default;
}

/* ヘッダーと同じ電話アイコン画像を、マスクで文字色に塗って表示 */
.tel-popup__icon {
    display: inline-block;
    flex: 0 0 auto;
    background-color: currentColor;
    -webkit-mask: url(../images/sp/sp_tel.png) center / contain no-repeat;
    mask: url(../images/sp/sp_tel.png) center / contain no-repeat;
}
