* {
    box-sizing: border-box;
    outline: 0 none;
}
html,
body {
    height: 100%;
    font-family: 'Noto Sans Korean', dotum, '돋움', sans-serif;
    /* * 노토산스 폰트 웨이트 레귤러 */
    font-weight: 400;
    color: #333333;
    line-height: 1;
    background: #ffffff;
    letter-spacing: -0.05em;
    -webkit-font-smoothing:antialiased;
	-webkit-text-size-adjust:100%;
}

html.scroll-blocking {
    overflow: hidden;
}
b {
    font-weight: bold;
}
h1, h2, h3, h4, h5, h6 {
    line-height: 1;
}
img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}
figure {
    margin: 0;
    padding: 0;
}
button {
    font-family: 'Noto Sans Korean', dotum, '돋움', sans-serif;
    line-height: 1;
}
input[type="text"],
input[type="tel"],
select {
    display: block;
    color: #333333;
    background-color: #EBEBEB;
    font-size: 15px;
    letter-spacing: -0.05em;
    font-weight: 400;
    height: 48px;
    width: 100%;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    padding-left: 15px;
    text-align: left;
    border-radius: 6px;
    cursor: auto;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
select {
    /* color: #bebebe; */
    background: url(../assets/select_arrow.svg) 94% 50% / 12px 16px no-repeat #EBEBEB;
}
select::-ms-expand {
    display: none;
}
::-webkit-input-placeholder {
    /* color: #333333; */
    color: rgba(99, 99, 99, 0.4);
}
::-moz-placeholder {
    /* color: #333333; */
    color: rgba(99, 99, 99, 0.4);
}
:-ms-input-placeholder {
    /* color: #333333; */
    color: rgba(99, 99, 99, 0.4);
}
::-ms-input-placeholder {
    /* color: #333333; */
    color: rgba(99, 99, 99, 0.4);
}
::placeholder {
    /* color: #333333; */
    color: rgba(99, 99, 99, 0.4);
}
.checkbox input[type="checkbox"], 
.radio-wrap input[type="radio"] {
    width: 1px;
    height: 1px;
    border: 0;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    position: absolute;
    clip: rect(0, 0, 0, 0);
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
}
.btn.btn-arrow {
    background-image: url(../assets/btn_arrow.png);
    background-position: 95% 50%;
    background-size: 5px 9px;
    background-repeat: no-repeat;
}

/* popup */
html.menu-opened,
html.popup-opened {
    overflow: hidden;
}
.popup-wrap {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    /* z-index: 1000; */
    overflow-y: scroll;
    overflow-x: auto;
    font-size: 0;
    /*	line-height: 0;*/
    opacity: 0;
    text-align: center;
    white-space: normal;
    word-break: normal;
    word-wrap: normal;
    background: rgba(0, 0, 0, 0.7);
    -webkit-transition: opacity 0.1s ease;
    transition: opacity 0.1s ease;
}

.popup-wrap.is-opened {
    display: block;
    opacity: 1;
}
.popup-wrap.is-opened .out-area {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    cursor: pointer;
}
.popup-wrap:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}
.popup-wrap .popup {
    display: inline-block;
}
.popup-wrap.is-opened .popup {
    transform: scale(1) translateY(0);
}
.popup {
    display: none;
    position: relative;
    z-index: 2;
    /* vertical-align: top; */
    vertical-align: middle;
    white-space: normal;
    word-break: keep-all;
    word-wrap: break-word;
    text-align: left;
    /* -webkit-transition: all 0.35s ease; */
    transition: all 0.35s ease;
    transform: scale(0) translateY(10px);
    width: 100%;
    /* width: 380px; */
    margin: 40px 0;
    background-color: transparent;
}
.popup .popup-close {
    position: absolute;
    width: 40px;
    height: 40px;
    top: -40px;
    right: -8px;
    background: url(../assets/icon_x_black.png) 50% / 24px 24px no-repeat;
}
.popup > .inner {
    position: relative;
    background-color: #ffffff;
    border-radius: 10px;
}

.btn {
    cursor: pointer;
    display: block;
}
.btn.btn-default {
    border-radius: 27px;
    background-color: #e3001b;
    color: #ffffff;
    padding: 17px 0;
    width: 322px;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.05em;
    text-align: center;
    box-shadow: 8px 8px 20px 0px rgba(0, 0, 0, 0.27);
}

.checkbox-group .checkbox-wrapper {
    display: flex;
    align-items: center;
}

.checkbox-group .checkbox-wrapper > label {
    width: 100%;
    margin-left: 0.6rem;
}

.checkbox-group .checkbox-wrapper .checkbox label {
    display: block;
    width: 1.6rem;
    height: 1.6rem;
    background: url(../assets/unchecked.svg) 50% / 100% no-repeat;
}

.checkbox-group .checkbox-wrapper .checkbox input[type='checkbox']:checked + label {
    background: url(../assets/checked.svg) 50% / 100% no-repeat;
}

/* end popup */
.for-a11y {
    position: absolute;
    display: block;
    width: 1px;
    height: 1px;
    overflow: hidden;
    color: transparent;
    font-size: 1px;
    line-height: 1px;
    opacity: 0;
    -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=0)';
    filter: alpha(opacity=0);
}

.layer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    overflow-y: scroll;
    background: rgba(0, 0, 0, 0.7);
    z-index: 100;
}

.layer > .inner {
    background-color: #ffffff;
    position: relative;
    transform: translateY(100%);
    opacity: 0;
}

.layer > .inner .layer-close {
    position: absolute;
    top: 0.909090909090909rem;
    right: 1.818181818181818rem;
    width: 4rem;
    height: 4rem;
    background: url(../assets/icon_x_black.png) center / 2.181818181818182rem auto no-repeat;
    box-sizing: content-box;
}
