@import './reset.css';
@import './common.css';

/* .header {} */

.header .group-flex {
    position: relative;
    width: 1130px;
    height: 160px;
    margin: 0 auto;
}

.header .logo-area {
    position: absolute;
    top: 50%;
    left: -9px;
    margin-top: -32px;
}

.header .logo-area a {
    display: block;
}

.header .logo-area a::before {
    content: '';
    /* a태그 안쪽에 생성 */
    display: block;
    width: 220px;
    height: 52px;
    background-position: 0 -158px;
    /* 무조건 음수 */
}

.header .search-area {
    position: absolute;
    top: 50%;
    left: 238px;
    margin-top: -28px;
}

.header .search-area .inner {
    position: relative;
    width: 582px;
    height: 52px;
    border: 2px solid #19ce60;
    -webkit-border-radius: 2px;
    border-radius: 2px;
}

.header .search-area .input-text {
    width: 444px;
    height: 24px;
    padding: 13px 15px;
    margin: 1px;
    background-color: #fff;
    font-size: 18px;
    line-height: 24px;
    color: #000;
    font-weight: 700;
    outline: 0;
}

.header .search-area .btn-submit {
    position: absolute;
    top: -2px;
    right: 0;
    width: 56px;
    height: 56px;
    background-color: #19ce60;
}

.header .search-area .btn-submit::before {
    content: '';
    width: 22px;
    height: 22px;
    display: inline-block;
    vertical-align: top;
    background-position: -420px 0;
}

.header .service-area {
    position: absolute;
    top: 12px;
    right: 27px;
    display: flex;
}

.header .service-area .bar {
    width: 1px;
    height: 10px;
    /* 부모가 flex여서 가능 */
    background-color: #ccc;
    margin: 3px 7px;
}

/* .header .service-area .link-start {} */

.header .service-area .link-start::after {
    content: '';
    display: inline-block;
    vertical-align: top;
    width: 26px;
    height: 26px;
    background-position: -308px -345px;
    margin: -3px 0 0 3px;
}

.header .service-area .link-junior::after {
    content: '';
    display: inline-block;
    width: 60px;
    height: 10px;
    background-position: -262px -330px;
    background-repeat: no-repeat;
    vertical-align: top;
    margin: 3px;
}

.header .service-area .link-btn::after {
    content: '';
    display: inline-block;
    width: 34px;
    height: 11px;
    background-position: -369px -299px;
    background-repeat: no-repeat;
    vertical-align: top;
    margin: 3px 3px 2px;
}





/* gnb */
.gnb {
    border-top: 1px solid #e4e8eb;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 12%);
}

.gnb .inner {
    width: 1130px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    position: relative;
}

.gnb .group-nav {
    padding: 11px 270px 11px 0;
    display: flex;
    gap: 12px;
    font-size: 15px;
    line-height: 30px;
    color: #000;
    letter-spacing: -.3px;
}

.gnb .group-nav .gnb-list {
    display: flex;
    font-weight: bold;
    gap: 12px;
    color: #19ce60;
    font-weight: 700;
}

.gnb .group-nav .gnb-item a {
    display: block;
}

.gnb .group-nav .gnb-item a::before {
    content: '';
    display: inline-block;
    background-image: url(../images/sp-bg.png);
    background-repeat: no-repeat;
    background-size: 442px 428px;
    vertical-align: top;
}

.gnb .group-nav .gnb-item a.mail::before {
    width: 21px;
    height: 21px;
    background-position: -420px -73px;
    background-size: 457px 436px;
    margin: 3px 9px 0 0;
}

.gnb .group-nav .gnb-item a.shop::before {
    width: 24px;
    height: 24px;
    background-position: -148px -378px;
}

.gnb .group-nav .gnb-item a.shoplive::before {
    width: 54px;
    height: 26px;
    background-position: -194px -290px;
}

.gnb .group-nav .gnb-item a.tv::before {
    width: 12px;
    height: 14px;
    background-position: -429px -48px;
    margin: 9px 2px 0 0;
}


.gnb .group-nav .favorite-list {
    display: flex;
    gap: 12px;
    font-weight: 700;
}

.gnb .group-nav .btn-more {
    margin-left: 5px;
    font-size: 13px;
    line-height: 30px;
    color: #202020;
    text-align: right;
}

.gnb .group-nav .btn-more:after {
    content: '';
    display: inline-block;
    width: 11px;
    height: 7px;
    background-image: url(../images/sp-bg.png);
    background-size: 435px 417px;
    background-position: -422px -326px;
    background-repeat: no-repeat;
    vertical-align: top;
    margin-left: 7px;
    vertical-align: 2px;
}

.gnb .group-weather {
    width: 270px;
    position: absolute;
    right: 0;
}

.gnb .group-weather a {
    display: flex;
    overflow: hidden;
    max-width: 100%;
    padding: 17px 0 16px;
    line-height: 18px;
    white-space: nowrap;
    vertical-align: top;
}

.gnb .group-weather .weather-dust {
    color: #505050;
}

.gnb .group-weather .weather-dust+.weather-dust:before {
    content: '';
    display: inline-block;
    width: 1px;
    height: 12px;
    background-color: #e4e8eb;
    margin: 0 10px;
    vertical-align: -1px;
}

.gnb .group-weather .weather-dust .bold {
    margin-left: 7px;
    font-size: 13px;
    color: #202020;
    font-weight: bold;
}

.gnb .group-weather .weather-dust .bold.normal::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url(../images/sp-bg.png);
    background-size: 442px 428px;
    background-position: -407px -262px;
    background-repeat: no-repeat;
    vertical-align: top;
    vertical-align: -4px;
}

.gnb .group-weather .weather-dust .bold.bad::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url(../images/sp-bg.png);
    background-size: 442px 428px;
    background-position: -407px -223px;
    background-repeat: no-repeat;
    vertical-align: top;
    vertical-align: -4px;
}

.gnb .group-weather .location {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    padding-left: 9px;
    color: grey;
    text-align: right;
}





/* .container */
.container {
    width: 1130px;
    margin: 0 auto;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
}






/* footer */
.footer {
    background-color: rgb(250, 251, 252);
    border-top: 1px solid rgb(228, 232, 235);
}

.footer .footer-inner {
    width: 1130px;
    padding: 0 30px 92px;
    margin: 0 auto;
}

.footer .footer-ad {
    overflow: hidden;
    padding: 24px 0;
    border-bottom: 1px solid #e4e8eb;
}

.footer .footer-ad .ad-group {
    display: flex;
}

.footer-ad .ad-group .ad-left,
.ad-center,
.ad-right {
    width: 350px;
    height: 86px;
    border: 0pt none;
}

/* .footer-ad .ad-left .left-wrap{} */
.footer-ad .left-wrap .left-image {
    overflow: hidden;
    position: relative;
    float: left;
    width: 160px;
    height: 86px;
}

.footer-ad .left-wrap .left-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.footer-ad .left-wrap .left-infor {
    overflow: hidden;
    height: 86px;
    padding: 2px 2px 0 16px;
    font-size: 12px;
    line-height: 1.25;
    box-sizing: border-box;
    text-align: left;
}

.footer-ad .left-wrap .color {
    display: block;
    overflow: hidden;
    font-weight: 700;
    letter-spacing: -0.25px;
    color: #58c464;
    white-space: nowrap;
}

.footer-ad .left-wrap .title {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.26px;
    color: #242424;
    white-space: nowrap;
}

.footer-ad .left-wrap .infor {
    overflow: hidden;
    line-height: 18px;
    letter-spacing: -0.25px;
    color: #424242;
    white-space: nowrap;
}

.footer-ad .left-wrap .first {
    margin-top: 8px;
}


.footer-ad .ad-group .ad-center {
    margin-left: 40px;
}



.footer-ad .ad-group .ad-right {
    margin-left: 40px;
}



/* .notice */
.footer .notice-group {
    overflow: hidden;
    padding: 16px 0 15px;
    border-bottom: 1px solid #e4e8eb;
    display: flex;
    justify-content: space-between;
}

.footer .notice-group .notice {
    display: flex;
}

.notice-group .notice .title {
    margin-right: 13px;
    color: #202020;
}

.footer .notice-group .all-link {
    font-weight: 700;
    color: #202020;
}

.footer .notice-group .all-link::after {
    display: inline-block;
    width: 8px;
    height: 12px;
    background-position: -444px -268px;
    background-repeat: no-repeat;
    vertical-align: top;
    content: '';
    margin-left: 10px;
    vertical-align: -2px;
}


/* .creator-group */
.footer .creator-group {
    overflow: hidden;
    border-bottom: 1px solid #e4e8eb;
    display: flex;
}

.footer .creator-group .left-wrap {
    width: 780px;
    padding: 20px 0;
}

.creator-group .left-wrap .creator-box {
    overflow: hidden;
    display: flex;
}

.creator-group .left-wrap .creator-box+.creator-box {
    margin-top: 9px;
}

.creator-group .left-wrap .title {
    width: 87px;
    font-weight: bold;
}

.creator-group .left-wrap .creator-link {
    color: #777;
}

.creator-group .left-wrap .creator-link+.creator-link::before {
    content: '';
    display: inline-block;
    width: 1px;
    height: 11px;
    background-color: #e4e8eb;
    vertical-align: -1px;
    margin: 0 8px;
}

.footer .creator-group .service-wrap {
    overflow: hidden;
    width: 350px;
    padding: 28px 0;
    display: flex;
}

.creator-group .service-wrap .service-box {
    max-width: 150px;
    display: flex;
}

.creator-group .service-wrap .service-box+.service-box {
    margin-left: 50px;
}

.creator-group .service-wrap .service-infor {
    overflow: hidden;
}

.creator-group .service-wrap .title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    padding-top: 2px;
    font-weight: bold;
}

.creator-group .service-wrap .infor {
    color: grey;
}

.creator-group .service-wrap .service-logo {
    margin-left: 12px;
}

.creator-group .service-wrap .service-logo>img {
    width: 48px;
    object-fit: cover;
}

/* .company-group */
.footer .company-group {
    padding-top: 25px;
    display: flex;
}

.footer .company-group .company-list {
    margin-right: 13px;
    display: flex;
}

.footer .company-group .company-item {
    color: #777;
}

.footer .company-group .company-item+.company-item::before {
    content: '';
    display: inline-block;
    width: 1px;
    height: 11px;
    margin: 0 8px;
    background-color: #e4e8eb;
    vertical-align: -1px;
}

.footer .company-group .color {
    font-weight: bold;
}

.footer .company-group .address {
    color: #202020;
    font-weight: 700;
}

.footer .company-group::after {
    content: '';
    display: table;
    table-layout: fixed;
    clear: both;
}