/* public/assets/css/common.css */
@charset "utf-8";
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");
@import url("https://fonts.googleapis.com/css?family=Noto+Sans+KR:100,300,400,500,700,900&display=swap&subset=korean");
@import url("https://fonts.googleapis.com/css?family=Montserrat:200,300,400,600,800");
html {
    margin: 0;
}
body {
    margin: 0;
    padding: 0;
    font-size: 1rem;
    font-family: -apple-system, 'Pretendard', BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif, 'Noto Sans Kr', dotum;
    background: #fff;
    line-height: 1.5;
}

html.noscroll body {
    padding-right: 17px; /* 모달 생성 시 화면 움직임 방지 */
}

html, h1, h2, h3, h4, h5, h6, form, fieldset, img {
    margin: 0;
    padding: 0;
    border: 0;
}

article, aside, header, footer, main, nav, section {
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-size:1.25em;
}

ul,li,dl,dt,dd,ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

p {
    margin: 0;
    padding: 0;
}

label, input, button, select, img {
    vertical-align: middle;
}

input {
    margin: 0;
    padding: 0;
    border-radius: 0;
    line-height: 1.5;
}

button, input[type="submit"] {
    cursor:pointer
}

select {
    font: inherit;
    font-size: inherit;
    padding: 0.5rem 1.75rem 0.5rem .75rem;
    border: 1px solid var(--colorgray);
    background: #fff url(/assets/images/select_arrow.png) right 10px center no-repeat;
    -webkit-appearance:none;
    -moz-appearance:none;
    appearance:none;
    outline: none;
    box-sizing: border-box;
    line-height: 1.5;
}

input[type=text],input[type=password], textarea {
    font: inherit;
    font-size: inherit;
    -webkit-transition:all 0.30s ease-in-out;
    -moz-transition:all 0.30s ease-in-out;
    -ms-transition:all 0.30s ease-in-out;
    -o-transition:all 0.30s ease-in-out;
    outline: none;
    box-sizing: border-box;
    line-height: 1.5;
}

select:focus, select:focus-visible, input[type=text]:focus,input[type=password]:focus, textarea:focus {
    outline: none;
}

a, a:hover, a:focus {
    text-decoration: none;
}

*, :after, :before {
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
}

.sound-only { 
    display: none;
}

.rotate-r90 {
    transform: rotate(90deg);
}

.rotate-l90 {
    transform: rotate(-90deg);
}

.rotate-d180 {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .mobile-none { display: none !important; }
    .mobile-only { display: block !important; }
}

@media (min-width: 769px) {
    .mobile-only { display: none !important; }
}

.table-flex, .display-flex {
    display: flex;
}

.table-flex-wrap, .display-flex-wrap {
    flex-wrap: wrap;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.justify-end {
    justify-content: end;
}

.flex-auto-0 {
    flex: 0 0 auto;
}

.flex-auto-1 {
    flex: 1 1 auto;
}

.flex-auto-2 {
    flex: 1 1 50%;
    max-width: 50%;
}

@media(max-width: 768px) {
    .flex-auto-0 {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .flex-auto-1 {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .flex-auto-2 {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

.ml-1 {
    margin-left: .25rem;
}
.ml-2 {
    margin-left: .5rem;
}
.ml-3 {
    margin-left: .75rem;
}
.ml-4 {
    margin-left: 1rem;
}
.ml-auto {
    margin-left: auto;
}

.mr-1 {
    margin-right: .25rem;
}
.mr-2 {
    margin-right: .5rem;
}
.mr-3 {
    margin-right: .75rem;
}
.mr-4 {
    margin-right: 1rem;
}

.mb-1 {
    margin-bottom: .25rem;
}
.mb-2 {
    margin-bottom: .5rem;
}
.mb-3 {
    margin-bottom: .75rem;
}
.mb-4 {
    margin-bottom: 1rem;
}

.mt-1 {
    margin-top: .25rem;
}
.mt-2 {
    margin-top: .5rem;
}
.mt-3 {
    margin-top: .75rem;
}
.mt-4 {
    margin-top: 1rem;
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}
.text-center {
    text-align: center !important;
}

.over-hidden {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.name-xl-bold {
    font-size: 24px;
    font-weight: 700;
}

.name-lg-bold {
    font-size: 20px;
    font-weight: 700;
}

.name-md-bold {
    font-size: 16px;
    font-weight: 700;
}

.name-sm-bold {
    font-size: 12px;
    font-weight: 700;
}

.name-xl {
    font-size: 24px;
}

.name-lg {
    font-size: 20px;
}

.name-md {
    font-size: 16px;
}

.name-sm {
    font-size: 16px;
}

.kakao-color-text {
    color: #ffe800;
}

/* ========================================
   기본 타이틀 레이아웃
   ======================================== */
.item-title {
    display: flex;
    flex-wrap: wrap;
    padding: 15px 0 12px 0;
}

/* 중앙 정렬 */
.item-title__center {
    justify-content: center;
}

.item-title__center .item-title_subject {
    text-align: center;
}

/* 오른쪽 정렬 */
.item-title__right {
    justify-content: flex-end;
}

/* 제목 텍스트 스타일 */
.item-title .item-title_subject {
    letter-spacing: -0.5px;
    font-weight: 700;
}

/* 보조 텍스트 기본 스타일 */
.item-title .item-title_copytext {
    letter-spacing: -0.5px;
    font-weight: 400;
}

/* 보조 텍스트 위치별 여백 */
.item-title .item-title_copytext.copytext__left   { margin-right: 10px; }
.item-title .item-title_copytext.copytext__right  { margin-left: 10px; }
.item-title .item-title_copytext.copytext__top    { display: block; line-height: 1.5; }
.item-title .item-title_copytext.copytext__bottom { display: block; line-height: 1.5; }

/* 위쪽 텍스트 내 제목은 블록 처리 */
.item-title .copytext__top .item-title_subject {
    display: block;
}

/* 이미지 영역 */
.item-title-image {
    display: flex;
    width: 100%;
}

.item-title-image img {
    width: auto;
    height: auto;
    max-width: 100%;
}

/* ========================================
   반응형 (max-width: 992px)
   ======================================== */
@media (max-width: 992px) {
    .item-title__left  { padding-left: 10px; }
    .item-title__right { padding-right: 5px; }
}