@charset "utf-8";

/******************************************
    E-모델하우스
******************************************/
.emodelhouse__tab {
    margin-bottom: calc(24 / var(--width) * var(--device-width));
}

.emodelhouse__viewer {
    position: relative;
    height: calc(800 / var(--width) * var(--device-width));
    max-height: calc(100svh - var(--header-height) - 90px);
    overflow: hidden;
    background: var(--black);
}

.emodelhouse__iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: var(--black);
}

.emodelhouse__noscript {
    margin-top: calc(24 / var(--width) * var(--device-width));
    color: var(--label-normal);
    font-size: calc(16 / var(--width) * var(--device-width));
    line-height: 1.5;
    text-align: center;
    word-break: keep-all;
}

.emodelhouse__btn_wrap {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.emodelhouse__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 19px;
    min-width: 210px;
    height: 50px;
    padding: 0 24px;
    color: #fff;
    background: #B2A8A2;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    box-sizing: border-box;
    transition: opacity 0.25s ease;
}

/* common.css의 a:hover/a:visited/a:active { color: inherit } 보다 우선 */
.emodelhouse__btn,
.emodelhouse__btn:link,
.emodelhouse__btn:visited,
.emodelhouse__btn:hover,
.emodelhouse__btn:active,
.emodelhouse__btn:focus-visible {
    color: #fff;
}

.emodelhouse__btn span {
    white-space: nowrap;
    word-break: keep-all;
}

/* sub.css의 '.page_content .page_container img { width: 100% }'보다 우선해야 한다 */
.page_content .page_container .emodelhouse__btn img {
    display: block;
    flex: none;
    width: 11px;
    max-width: none;
    height: 8px;
}

@media (hover: hover) and (pointer: fine) {
    .emodelhouse__btn:hover {
        opacity: 0.88;
    }
}

@media screen and (max-width: 1024px) {
    .emodelhouse__btn_wrap {
        margin-top: calc(24 / var(--width) * var(--device-width));
    }

    .emodelhouse__btn {
        min-width: unset;
        height: 46px;
        gap: 15px;
        padding: 0 18px;
        font-size: 14px;
    }

    .emodelhouse__tab {
        margin-bottom: calc(16 / var(--width) * var(--device-width));
    }

    .emodelhouse__viewer {
        height: calc(480 / var(--width) * var(--device-width));
        max-height: calc(100svh - var(--header-height) - 70px);
    }

    .emodelhouse__noscript {
        margin-top: calc(20 / var(--width) * var(--device-width));
        font-size: calc(13 / var(--width) * var(--device-width));
    }
}
