@import "./Variables.scss"; // header .header-wrap { min-width: 1300px; } .top-menu { border-bottom: 1px solid $line; height: 50px; } .container-n { position: relative; width: 1200px; margin: 0 auto; padding: 0; vertical-align: top; .t-menu-link { display: inline-block; position: relative; height: 50px; line-height: 50px; padding: 0 14px; color: $gray100; font-size: 12px; border-right: 1px solid rgba(0, 0, 0, 0.04); } .t-menu-link:first-child { color: $secondary600; border-left: 1px solid rgba(0, 0, 0, 0.04); border-right: 0; } .t-menu-link:nth-child(2) { background: $gray400; color: $white; } .t-menu-link:last-child { border-right: 1px solid rgba(0, 0, 0, 0.04); } .rt { position: absolute; top: 0; right: 0; height: 50px; display: flex; flex-direction: row; align-items: center; font-size: 12px; .rt-c { padding: 0 10px; border-right: 1px solid rgba(0, 0, 0, 0.04); } .rt-c:last-child { border-radius: 0; } a { color: $gray200; font-weight: 600; } .btn-coupon { width: 64px; height: 28px; color: $white; background-color: $primary400; font-size: 11px; border-radius: 4px; margin-left: 10px; border: 0; cursor: pointer; } } } .top-head { position: relative; height: 96px; display: flex; align-items: flex-end; .logo { margin-right: 46px; } .total-search-wp { position: relative; .form-control { background: #ffffff; border: 1px solid #101010; border-radius: 35px; width: 560px; height: 64px; padding-left: 30px; padding-right: 90px; transition: all 0.2s; } .Btn { position: absolute; right: 16px; top: 24px; width: 52px; height: 42px; font-size: 20px; line-height: 100%; text-align: center; text-decoration: none; cursor: pointer; } } .btn-detail { width: 100px; height: 64px; border-radius: 100px; background-color: $black; color: $white; line-height: 66px; text-align: center; margin-left: 4px; cursor: pointer; } .paid-m { position: relative; width: 194px; margin-left: 20px; height: 70px; display: flex; .paid-m-img { display: absolute; width: 40px; height: 45.54px; z-index: 10; } .paid-m-btn { width: 176px; height: 60px; line-height: 64px; text-align: center; background-color: $secondary400; color: $white; border-radius: 60px; margin-left: -20px; margin-top: 10px; font-weight: 600; span { color: $primary400; } } } } nav { position: relative; height: 78px; ul { list-style: none; } .Navi { width: 1200px; height: 78px; margin: 0 auto; display: flex; flex-direction: row; .nv-row:first-child { margin-left: 192px; } .nv-row { height: 52px; line-height: 58px; padding: 0 19px; font-size: 17px; font-weight: 600; margin-top: 10px; a { color: #666666; font-weight: 400; } } .t { transition: all 0.2s ease; } span { width: 1px; height: 12px; background-color: rgba(0, 0, 0, 0.12); margin-top: 31px; } li .t:hover { font-weight: 600; color: $primary600; } } // 전체메뉴 .menu-all { display: flex; align-items: center; border: 0; bottom: 18px; font-size: 14px; margin-left: 174px; // cursor: pointer; transition: 0.3s ease; .all { border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 14px; background: url(/images/menu.svg) no-repeat center left; width: 100px; margin-top: 14px; p { margin-top: 2px; } } .all:hover { background: url(/images/menuB.svg) no-repeat center left; p { color: $primary600; } } } .all-wrapper { flex-direction: column; .gnb-container { flex-direction: column; } } .all-title { width: 100%; text-align: center; font-size: 30px; margin-bottom: 20px; } .gnb-tab-box { display: flex; flex-direction: column; position: relative; } .gnb-tab-box > ul { display: flex; flex-direction: row; border-bottom: 2px solid $primary600; } .gnb-tab-item { flex: 1; height: 52px; font-size: 14px; text-align: center; color: $gray100; border-top: 1px solid #eaebec; border-right: 1px solid #eaebec; cursor: pointer; } .gnb-tab-item:first-child { border-left: 1px solid #eaebec; } .gnb-tab-item.on { background: #1a2290; color: #fff; transition: all 0.4s ease; } .gnb-tab-content { display: none; } .gnb-tab-content.on { display: block; } .open-all { display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 10px 15px 8px; border: 1px solid #e3e3e3; background-color: transparent; position: absolute; right: 0; margin: 20px 0 16px; font-size: 12px; cursor: pointer; transition: 0.2s ease; border-radius: 4px; } .open-all:hover { background-color: $primary600; color: #fff; } .nav-all-wrapper { max-width: 1200px; margin-top: 60px; display: flex; flex-wrap: wrap; gap: 10px 52px; margin-bottom: 30px; .navi-subj { width: 260px; } .nv-sub { width: 260px; margin-left: 0; } } } .gnb-sub { position: absolute; top: 76px; left: 0; right: 0; min-height: 200px; background-color: $bgGray; z-index: 1000; width: 100%; padding: 50px 0 60px; display: block; transition: all 0.4s ease; box-shadow: 0px 10px 20px rgba(26, 26, 26, 0.066); border-bottom: 1px solid #e2e0e0; } .gnb-container { position: relative; width: 1200px; margin: 0 auto; vertical-align: top; display: flex; min-height: 340px; .conicon { width: 200px; display: flex; flex-direction: column; margin-top: -28px; img { width: 176px; height: 160px; } h2 { font-size: 28px; font-weight: 400; margin-left: 8px; height: 48px; } p { font-size: 13px; line-height: 20px; width: 180px; margin-left: 8px; } } } // nav detail .nav-wrapper { margin-left: 40px; display: flex; flex-wrap: wrap; // max-width: 940px; } .nv-sub { float: left; width: 190px; margin-left: 40px; margin-bottom: 40px; a:hover { color: $primary400; } .navi-subj { display: block; width: 190px; height: 46px; margin: 0 0 12px 0; font-size: 18px; color: #111; line-height: 46px; font-weight: 600; border-bottom: 1px solid #666; } .nv-item { display: flex; align-items: center; gap: 4px; width: 190px; height: 28px; line-height: 28px; cursor: pointer; font-size: 13px; img { width: 12px; height: 12px; margin-top: -2px; } } .nv-item:hover { color: #101010; } .d-menu { display: none; flex-direction: column; background-color: $white; margin: 0px auto; padding: 8px 0 8px 14px; margin-bottom: 6px; a { font-size: 13px; line-height: 24px; color: $gray400; } a:hover { color: #101010; } } } .gnb-all { position: absolute; top: 76px; left: 0; right: 0; min-height: 200px; background-color: $bgGray; z-index: 1000; width: 100%; padding: 50px 0 60px; display: block; transition: all 0.4s ease; display: none; .all-title { display: flex; font-size: 32px; width: 100%; justify-content: center; margin-top: 18px; } } // SNB .snb-wp { background-color: $white; position: relative; border-top: 1px solid #eee; border-bottom: 1px solid #eee; box-sizing: border-box; } .snb { height: 42px; display: flex; align-items: center; position: relative; .snb-icon { display: flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-left: 1px solid #eee; border-right: 1px solid #eee; box-sizing: border-box; background: url(/images/icon_snb.png) no-repeat center; transition: 0.2s; } .snb-nav { display: flex; align-items: center; z-index: 500; position: relative; top: 18px; margin-left: -1px; .depth1 { border-bottom: 1px solid #eee; } .depth2 { left: 239px; border-bottom: 1px solid #eee; } .depth3 { left: 478px; border-bottom: 1px solid #eee; } .depth4 { left: 717px; border-bottom: 1px solid #eee; } ul { width: 240px; max-height: 42px; position: absolute; top: 0; overflow: hidden; transition: all 0.2s; a:hover { color: #010101; background-color: #f1f1f1; } li { transition: 0.2s; height: 42px; display: flex; align-items: center; background-color: $white; border-left: 1px solid #eee; border-right: 1px solid #eee; transition: 0.2s ease; cursor: pointer; a { width: 100%; height: 100%; padding: 0 16px; // color: #707070; color: #a6a6a6; transition: 0.2s ease; line-height: 3.5; font-size: 13px; } } } ul.on { // height: auto; max-height: 500px; } } .snb-icon:hover { background: url(/images/icon_snb_b.png) no-repeat center; } .arrow-btn { flex-basis: 42px; height: 42px; // background: url(/images/icon_down.png) no-repeat center center; background: url(/images/icon_down.png) no-repeat center right; position: absolute; width: 224px; } .arrow-btn.on { background: url(/images/icon_up.png) no-repeat center right; position: absolute; width: 224px; } .my-menu-btn { display: none; flex-direction: row; position: absolute; left: 1016px; align-items: center; justify-content: left; height: 40px; padding: 0 10px 0 0; transition: ease 0.3s; p { margin-top: 1px; margin-left: 28px; font-size: 13px; } } .my-menu-btn.add { background: url(/images/icon_mymenu_add.png) no-repeat center left; } .my-menu-btn.rem { background: url(/images/icon_mymenu_rem.png) no-repeat center left; } .my-menu-btn.on { display: flex; } .my-menu-btn.add:hover { background: url(/images/icon_mymenu_add_B.png) no-repeat center left; p { color: $primary600; } } .my-menu-btn.rem:hover { background: url(/images/icon_mymenu_rem_B.png) no-repeat center left; p { color: $primary600; } } } .gnb-sub { display: none; transition: ease 0.3s; } // SNB 콘텐츠영역 샘플 .content-area { position: relative; width: 100%; height: 920px; background-color: rgb(235, 235, 235); font-size: 6rem; color: rgba(0, 0, 0, 0.1); display: flex; align-items: center; justify-content: center; }