@import "./Variables.scss"; // main banner .body-wrap { clear: both; position: relative; min-width: 1300px; margin: 0 auto; overflow: hidden; } .main-banner-wp { background-image: url(/images/BG-mainbanner.png); background-size: cover; } .main-banner-con { display: grid; grid-template-columns: 660px 448px; grid-column-gap: 88px; position: relative; width: 1200px; margin: 0 auto; } .main-banner { position: relative; height: 318px; margin-top: 60px; margin-bottom: 20px; .swiper-side { width: 660px; height: 280px; position: relative; } .text-box { position: absolute; top: 40px; left: 40px; h2 { font-size: 42px; font-weight: 600; width: 520px; line-height: 56px; margin-bottom: 16px; overflow: hidden; text-overflow: ellipsis; } p { width: 400px; max-height: 40px; overflow: hidden; text-overflow: ellipsis; line-height: 20px; } } .swiper { // width: 660px; // height: 300px; margin: 0; } .swiper > .swiper-pagination { display: flex; gap: 10px; left: 40px; bottom: 40px; width: auto; } .swiper-pagination-bullet { width: 8px; height: 8px; background-color: #1a2290; opacity: 0.5; } .swiper-pagination-bullet-active { opacity: 1; } .con-btn-box { position: absolute; left: 200px; bottom: 34px; z-index: 1; } button { border: 0; } .slide-auto { width: 8px; height: 12px; } .slide-auto.stop { background: url(/images/icon_pause.png) no-repeat center center; } .slide-auto.start { background: url(/images/icon_start.png) no-repeat center center; } } .left-banner { position: absolute; left: -190px; top: 60px; display: flex; flex-direction: column; gap: 10px; z-index: 100; .left-b-item { width: 160px; height: 120px; overflow: hidden; } } .right-banner { position: absolute; right: -190px; top: 60px; display: flex; flex-direction: column; gap: 12px; z-index: 100; .right-b-item { width: 160px; height: 260px; overflow: hidden; } } // 메인배너 우측 토픽 .topic-box { // width: 446px; // height: 280px; margin: auto 0; } .thumb-box { display: flex; gap: 24px; } .thumb-box img { flex-shrink: 0; flex-basis: 112px; width: 112px; height: 68px; } .thumb-box dl { padding: 2px 0; } .thumb-box dt { font-size: 17px; line-height: 20px; font-weight: 600; color: #fff; } .thumb-box dd { display: -webkit-box; margin-top: 6px; font-size: 13px; font-weight: 400; line-height: 16px; color: #fff; text-overflow: ellipsis; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .tab-box { margin-top: 2.75rem; } .tab-box > ul { display: flex; } .tab-item { flex: 1; height: 48px; border-top: 1px solid #dae1e6; border-left: 1px solid #dae1e6; border-bottom: 1px solid #dae1e6; padding: 0px 22px; box-sizing: border-box; background: #fff; color: #222; line-height: 48px; cursor: pointer; position: relative; a { display: flex; position: absolute; top: 5px; right: 6px; align-items: center; justify-content: center; width: 40px; height: 40px; line-height: 40px; color: $textBlack; font-size: 19px; } } .tab-item:last-child { border-right: 1px solid #dae1e6; } .tab-item.on { background: #363d9d; color: #fff; transition: all 0.4s ease; border: 1px solid #dae1e6; // box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.2); a { color: $white; } } .tab-content { display: none; max-height: 122px; overflow: hidden; } .tab-content.on { display: block; } .notice-list { padding-top: 24px; box-sizing: border-box; } .notice-item { display: flex; flex-wrap: nowrap; align-items: center; cursor: pointer; span { line-height: 20px; } } .notice-item + .notice-item { margin-top: 5px; } .notice-item span:nth-child(1) { width: 78px; text-align: center; flex-shrink: 0; height: 28px; margin-right: 16px; background-color: #363d9d; font-size: 12px; color: #fff; line-height: 2rem; border-radius: 3px; } .notice-item span:nth-child(2) { margin-right: 10px; font-size: 14px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .notice-item span:nth-child(3) { font-size: 13px; color: rgba(255, 255, 255, 0.5); } // 메인탭바 .main-tab-wp { position: relative; min-height: 318px; background-color: #f3f6fc; } .tab-con { position: relative; width: 1200px; margin: 0 auto; padding: 54px 0; .tab-menu > ul { display: flex; } .tab-menu-item { flex: 1; height: 48px; border-top: 1px solid #dae1e6; border-bottom: 1px solid #dae1e6; border-left: 1px solid #dae1e6; padding: 0px 22px; box-sizing: border-box; background: #fff; color: #222; line-height: 48px; cursor: pointer; position: relative; a { display: flex; position: absolute; top: 5px; right: 6px; align-items: center; justify-content: center; width: 40px; height: 40px; line-height: 40px; color: $textBlack; font-size: 19px; } } .tab-menu-item:last-child { border-right: 1px solid #dae1e6; } .tab-menu-item.on { background: #1a2290; color: #fff; box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.2); border-top: 1px solid #1a2290; border-bottom: 1px solid #1a2290; transition: all 0.5s ease; a { color: $white; } } .tab-menu-content.on { display: grid; transition: all 0.5s ease; } .tab-menu-content { display: none; overflow: hidden; grid-template-columns: 1fr 1fr; gap: 60px; .con-left .con-right { display: flex; flex-direction: column; } .con-list { padding-top: 24px; box-sizing: border-box; } .con-items { display: flex; flex-wrap: nowrap; align-items: center; a { display: flex; align-items: center; margin-bottom: 4px; gap: 28px; } span:nth-child(1) { width: 450px; text-align: left; height: 28px; margin-right: 16px; font-size: 14px; color: #222222; line-height: 1.75rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } span:nth-child(2) { width: 72px; height: 28px; line-height: 1.75rem; text-align: right; font-size: 13px; color: #707070; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } } } } // 메인 콘텐츠영역 .main-contents-wp { position: relative; display: flex; flex-direction: column; padding: 54px 0; } // 카드형 콘텐츠 .post-con { display: flex; gap: 44px; width: 1200px; margin: auto; // padding: 102px 0px 93px; box-sizing: border-box; } .view-box { flex: 1; height: 231px; } .view-header, .text-header { display: flex; align-items: center; // width: 447px; } .view-title, .text-title { font-size: 24px; font-weight: 600; } .view-btn { margin-left: 18px; button { width: 28px; height: 28px; border: 1px solid #eaeaea; } } .view-btn-left { background: url(/images/icon_arrow_left.png) no-repeat center #fff; } .view-btn-right { background: url(/images/icon_arrow_right.png) no-repeat center #fff; } .view-detail-btn { flex-shrink: 0; margin-left: auto; } .view-detail-btn button { height: 24px; padding-left: 24px; box-sizing: border-box; background: url(/images/icon_plus_black.png) no-repeat left center #fff; font-size: 12px; color: #707070; } .view-body { position: relative; width: 576px; height: 170px; margin-top: 19px; overflow: hidden; } .view-list { display: flex; gap: 24px; position: absolute; left: 0; min-height: 170px; transition: 0.5s; cursor: pointer; } .view-list dt { width: 176px; height: 112px; } .view-list dd { margin-top: 16px; } .view-list dd > p { margin-bottom: 10px; font-size: 14px; color: #101010; font-weight: 600; } .view-list dd > p:last-of-type { display: flex; justify-content: space-between; font-weight: 200; } .view-list dd span:nth-of-type(1) { font-size: 12px; color: #bababa; } .view-list dd span:nth-of-type(2) { font-size: 11px; color: #00c398; } // 텍스트형 콘텐츠 .text-con { display: flex; gap: 60px; width: 1200px; margin: auto; box-sizing: border-box; margin-top: 48px; .text-left-box { flex: 690px; } .text-right-box { flex: 447px; width: 447px; flex-direction: column; } .tc-body { position: relative; width: 100%; margin-top: 19px; display: flex; flex-direction: column; .tc-items { display: flex; flex-direction: column; gap: 8px; padding-bottom: 16px; width: 690px; span { display: block; width: 184px; background-color: #f7f9fa; color: $textGray; font-size: 12px; padding: 8px 8px; border-radius: 4px; text-align: center; letter-spacing: 0.042em; margin-bottom: 2px; } p { display: -webkit-box; overflow: hidden; text-overflow: ellipsis; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 14px; color: $textBlack; line-height: 20px; padding: 0 8px; } } } .reco-body { position: relative; width: 100%; margin-top: 22px; .reco-item { width: 447px; display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; span { color: #bababa; font-size: 12px; padding-left: 4px; } .icon-box { display: flex; flex-direction: row; .icon { font-size: 11px; height: 24px; line-height: 25px; display: flex; padding: 0 12px; border-radius: 20px; margin-right: 4px; } .icon-w { background-color: $white; border: 1px solid #aaaaaa; } .icon-b { background-color: #3747de; color: $white; } } p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; line-height: 20px; } } } .line { display: flex; height: 1px; background-color: #e4e8eb; margin: 24px 0; } } .exp-con { .text-header { .text-title { margin-top: 10px; } } .exp-body { margin-top: 18px; p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; line-height: 20px; } span { font-size: 12px; line-height: 20px; color: #3747de; } span:first-child { float: left; } span:last-child { float: right; color: #bababa; } } } .line { margin: 60px auto; height: 1px; background-color: #e4e8eb; } .dividing { width: 1200px; margin: 26px auto 40px; height: 1px; background-color: #e4e8eb; } .data-con { display: flex; gap: 48px; width: 1200px; margin: auto; box-sizing: border-box; .counsel-tab-box { flex: 560px; } } // counsel tab .counsel-tab-box > ul { display: flex; } .counsel-tab-item { flex: 1; height: 48px; border-top: 1px solid #dae1e6; border-left: 1px solid #dae1e6; border-bottom: 1px solid #dae1e6; padding: 0px 18px; box-sizing: border-box; background: #fff; color: #222; line-height: 48px; cursor: pointer; font-size: 14px; position: relative; a { display: flex; position: absolute; top: 5px; right: 2px; align-items: center; justify-content: center; width: 40px; height: 40px; line-height: 40px; color: $textBlack; font-size: 19px; } } .counsel-tab-item:last-child { border-right: 1px solid #dae1e6; } .counsel-tab-item.on { background: #1a2290; color: #fff; transition: all 0.4s ease; box-shadow: 0px 3px 4px rgb(0 0 0 / 20%); border-bottom: 1px solid #1a2290; a { color: $white; } } .counsel-tab-content { display: none; } .counsel-tab-content.on { display: block; } .counsel-list { padding-top: 24px; box-sizing: border-box; } .counsel-item { display: flex; flex-wrap: nowrap; align-items: center; cursor: pointer; font-size: 13px; height: 24px; margin-bottom: 8px; } .icon-red { width: 38px; height: 24px; line-height: 24px; font-size: 12px; background: rgba(250, 17, 87, 0.06); border-radius: 2px; color: #fa1157; text-align: center; margin-right: 16px; } .icon-com { width: 36px; height: 24px; line-height: 24px; font-size: 12px; background: $white; border-radius: 4px; color: #41468f; text-align: center; border: 1px solid #d1d3e9; } .counsel-item span:nth-child(2) { width: 278px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 16px; margin-top: 4px; margin-right: 42px; } .counsel-item span:nth-child(3), .counsel-item span:nth-child(4) { font-size: 12px; color: #333333; margin-right: 19px; margin-top: 4px; } // 기준환율 .exchange-box { border: 1px solid #eaeaea; padding: 20px 20px; .title { display: flex; justify-content: space-between; box-sizing: border-box; color: #222; line-height: 20px; font-size: 18px; cursor: pointer; } .date { font-size: 9px; color: #bababa; } .country { width: 100%; margin-top: 18px; .ctry-item { display: grid; grid-template-columns: 16px 48px 54px 58px 40px 16px; font-size: 11px; margin-bottom: 14px; span:nth-child(3) { color: #aaaaaa; } span:nth-child(4) { text-align: right; } span:nth-child(5) { text-align: right; } span:nth-child(6) { padding-left: 9px; } } .ctry-item:last-child { margin-bottom: 0; } .plus { color: #fa1157; } .minus { color: #3747de; } } } // 세무일정 .schedule-box { width: 274px; padding: 20px 20px; background-color: #f3f6fc; .title { display: flex; justify-content: space-between; color: #222; line-height: 20px; font-size: 18px; cursor: pointer; } .yd { font-size: 13px; line-height: 20px; margin-top: 4px; } .month { display: flex; width: 100%; height: 26px; justify-content: center; align-items: center; gap: 20px; margin-top: 4px; margin-bottom: 4px; } .month-btn { width: 20px; height: 20px; background-color: $white; box-shadow: 0px 2px 6px rgba(26, 34, 144, 0.12); border-radius: 100px; span { color: #3747de; font-size: 18px; line-height: 20px; font-weight: 600; } } .calr-area { background-color: $white; table { width: 232px; table-layout: fixed; tr:last-child { padding-bottom: 4px; } tr:nth-child(2) { margin-top: 4px; } tr { display: flex; flex-direction: row; justify-content: space-between; th { width: 33.1428571429px; height: 14px; padding: 5px 0 5px 0; font: 8px "verdana"; color: #fff; text-align: center; vertical-align: middle; background: #1a2290; } td { position: relative; width: 20px; height: 20px; line-height: 20px; vertical-align: middle; font: 10px "verdana"; line-height: 20px; text-align: center; vertical-align: middel; } td:last-child { color: #3747de; padding-right: 5px; } td:first-child { color: #fa1157; padding-left: 5px; } } .today { display: flex; background: #00c398; width: 20px; height: 20px; border-radius: 16px; align-items: center; justify-content: center; color: $white; } .disabled { color: #d4d8df; display: flex; width: 20px; height: 20px; align-items: center; justify-content: center; } } } } // recommend .main-recommend-wp { position: relative; min-height: 318px; background-color: #f7f9fa; } .recommend-con { display: flex; width: 1200px; margin: auto; box-sizing: border-box; gap: 42px; padding: 60px 0; .reco-box { flex: 1; } .reco-header { display: flex; align-items: center; padding-right: 4px; .reco-title { font-size: 22px; font-weight: 600; } .reco-btn { margin-left: 10px; button { width: 28px; height: 28px; border: 1px solid #eaeaea; } } .reco-btn-left { background: url("/images/icon_arrow_left_3.png") no-repeat center transparent; } .reco-btn-right { background: url("/images/icon_arrow_right_3.png") no-repeat center transparent; } } .reco-detail-btn { flex-shrink: 0; margin-left: auto; button { height: 24px; padding-left: 24px; box-sizing: border-box; background: url("/images/icon_plus_black.png") no-repeat left center; font-size: 12px; color: #707070; } } .reco-body { position: relative; width: 370px; height: 177px; margin-top: 10px; overflow: hidden; .reco-list { display: flex; gap: 20px; position: absolute; left: 0; min-height: 170px; transition: 0.5s; cursor: pointer; dt { width: 176px; height: 112px; overflow: hidden; img { object-fit: cover; width: 100%; } } dd { margin-top: 16px; p:first-child { font-size: 15px; line-height: 26px; font-weight: 600; width: 174px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } p:last-child { font-size: 12px; line-height: 16px; font-weight: 200; color: #bababa; } } } .book { p:last-child { width: 117px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } } .ebook { p:last-child { display: flex; justify-content: space-between; width: 172px; } span { color: #bababa; } } } }