@charset "utf-8";

body.is-strength-map-modal-open {
    overflow: hidden;
}

.strength-map-modal {
    position: fixed;
    inset: 0;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}

.strength-map-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.strength-map-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .75);
    cursor: pointer;
}

.strength-map-modal__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 920px;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
    padding: 4.8rem 3.2rem 3.2rem;
    background: #fff;
    box-shadow: 8px 8px 0 rgba(220, 44, 0, .45);
}

.strength-map-modal__close {
    position: absolute;
    top: .8rem;
    right: 1.2rem;
    width: 4rem;
    height: 4rem;
    border: none;
    background: none;
    color: #111;
    font-size: 3.2rem;
    line-height: 1;
    cursor: pointer;
}

.strength-map-modal__label {
    margin: 0 0 .8rem;
    color: #dc2c00;
    font-family: Oswald, sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: .28rem;
    line-height: 1.5;
    text-align: center;
}

.strength-map-modal__title {
    margin: 0 0 1.2rem;
    color: #dc2c00;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    font-feature-settings: "palt";
}

.strength-map-modal__address {
    margin: 0 0 2.4rem;
    color: #111;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.6;
    text-align: center;
    font-feature-settings: "palt";
}

.strength-map-modal__frame {
    overflow: hidden;
    border: 1px solid #dc2c00;
    background: #e8e1d4;
}

.strength-map-modal__frame iframe {
    display: block;
    width: 100%;
    height: 480px;
    min-height: 320px;
    border: 0;
}

@media screen and (max-width: 768px) {
    .strength-map-modal {
        padding: 1.6rem;
    }

    .strength-map-modal__inner {
        padding: 4.8rem 1.6rem 2.4rem;
        box-shadow: 5px 5px 0 rgba(220, 44, 0, .45);
    }

    .strength-map-modal__title {
        font-size: 2.2rem;
    }

    .strength-map-modal__address {
        font-size: 1.6rem;
    }

    .strength-map-modal__frame iframe {
        height: 56vw;
        min-height: 280px;
    }
}
