/* Style */
html {
    font-size: 10px;
}

html,
body {
    height: 100%;
}

body {
    overflow-x: hidden;
    font-size: 1rem;
    line-height: 1;
    /* letter-spacing: -0.07em; */
    /* letter-spacing: -0.12em; */
    letter-spacing: -0.1em;
    min-width: 36rem;
}

body.hidden {
    position: fixed;
    overflow-y: hidden;
    touch-action: none;
    width: 100%;
}

main {
    /*font-size: 1.4rem;*/
    /*line-height: 2.1rem;*/
    /*color: #666;*/
    display: block;
}

a,
button {
    color: #666;
}

button {
    font-family: 'Noto Sans KR', sans-serif;
    /* letter-spacing: -0.12em; */
    letter-spacing: -0.05em;
}

p,
li {
    word-break: keep-all;
}

.clear {
    clear: both;
}

.clear:after {
    content: '';
    display: block;
    clear: both;
}

caption > div,
legend,
.hide {
    overflow: hidden;
    display: block;
    position: absolute;
    border: 0;
    width: 1px;
    height: 1px;
    clip: rect(1px, 1px, 1px, 1px);
}

#skip {
    position: relative;
}

#skip a {
    position: absolute;
    left: 0;
    right: 0;
    top: -100px;
    transition: all 0.5s;
    line-height: 5rem;
    background: #000;
    color: #fff;
    text-align: center;
    z-index: 100;
}

#skip a:active,
#skip a:focus {
    top: 0;
}

/************************************
-- 
-- 기본 wrap
-- 
************************************/
.wrap {
    margin: 0 auto;
    max-width: 132rem;
    height: 100%;
    padding: 0 2rem;
}

.wrap.full {
    max-width: 100%;
    padding: 0;
}

#dim {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

body.hidden #dim {
    display: block;
}

/************************************
-- 
-- 기본 버튼
-- 
************************************/
.btn {
    border: 1px solid #dcdddd;
    color: #000000;
    display: inline-block;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1;
    padding: 1.4rem 2rem;
    text-align: center;
}

/************************************
-- 
-- 기본 input
-- 
************************************/
.input {
    border: 1px solid #d9d9d9;
    color: #000000;
    font-size: 1.6rem;
    font-weight: 400;
    height: 40px;
    /* padding: 1.3rem 1.4rem 1.2rem; */
    padding: 0.1rem 1.5rem 0;
}

.input::placeholder {
    color: #b5b5b6;
}

/************************************
--
-- 기본 표
--
************************************/
.table td,
.table th {
    border-style: solid;
    border-width: 1px;
    letter-spacing: -0.05em;
    padding: 2rem;
}

.table th {
    background-color: #e9e9e9;
    border-color: #a9a9a9;
    color: #272727;
    font-size: 1.6rem;
    font-weight: 700;
}

.table td {
    border-color: #d8d8d8;
    color: #676767;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.5;
}

.table td.item.last {
    border-bottom: 1px solid #7b7b7b;
}
