header {
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    padding: 0 1.5rem;
    z-index: 7777;
    background: #fff;
    box-shadow: 0 0.2rem 0.2rem rgba(0, 0, 0, 0.2);
    margin-bottom: 3rem;
}
header h1 {
    width: 18rem;
}
header h1 a {
    width: 100%;
}
header h1 a img {
    width: 100%;
}
header #menuBtn {
    width: 2.3rem;
    position: absolute;
    right: 1.5rem;
}
header #menuBtn img {
    width: 100%;
}

.navBg {
    background: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    z-index: 8888;
}
nav {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    /* min-height: 61.913rem; */
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9999;
    padding: 1.5rem 0;
}
nav .close-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    margin: 0 1.5rem;
    border-bottom: 0.1rem solid #f2f2f2;
}
nav .close-wrap a {
    width: fit-content;
    padding: 0;
}
nav .close-wrap a img {
    width: 18rem;
    height: 2.813rem;
    margin-bottom: 0;
}
nav .close-wrap button img {
    width: 1.8rem;
}
nav a {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 1.5rem;
}
nav a.top {
    font-size: 2rem;
    font-weight: 700;
}
nav .subMenu {
    margin-top: -2rem;
}
nav a.top.subMenuBtn {
    justify-content: space-between;
}
nav a.sub {
    font-size: 2rem;
    font-weight: 500;
    color: #7f7f7f;
    width: fit-content;
    padding-left: 0;
    padding-right: 0;
    margin: 1.5rem;
}
nav a img {
    height: 2rem;
    margin-bottom: 0.5rem;
}

nav .search-wrap {
    height: 5rem;
    margin: 2rem 1.5rem 0.5rem 1.5rem;
    padding: 0 1.5rem;
    border-radius: 3rem;
    border: 0.1rem solid #ffa300;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
}
nav .search-wrap input {
    height: 100%;
    width: 80%;
    font-size: 1.8rem;
    font-weight: 500;
}
nav .search-wrap .btn-wrap button:nth-of-type(1) img {
    width: 2rem;
}
nav .search-wrap .btn-wrap button:nth-of-type(2) img {
    width: 2.5rem;
}

nav .search-result {
    width: 100%;
}
nav .result-wrapper {
    width: 100%;
    margin: 0.5rem 1.5rem 0 1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    background-color: #ffa300;
    max-height: 37rem;
    overflow-y: scroll;
}
nav .result-wrapper a.result .white-arrow {
    margin-left: auto;
}
nav .search-result .result-wrapper a.result {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
    height: 7rem;
    border-bottom: 0.1rem solid #fff;
}
nav .search-result .result-wrapper a.result:last-of-type {
    border: 0;
}
nav .search-result .result-wrapper a.result span {
    font-size: 1.8rem;
    font-weight: 300;
    color: #fff;
    white-space: nowrap;
}
nav .search-result .result-wrapper a.result span.second {
    padding: 1.5rem 0;
    margin-right: 1rem;
    font-size: 1.8rem;
    font-weight: 300;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}
nav .search-result .result-wrapper a.result span.dot{
    display: inline-block;
    margin-right: 1rem;
}
nav .search-result .result-wrapper a.result span.add {
    display: inline-block;
    margin: 0 0.5rem;
}
nav .search-container {
    position: relative;
}
nav .search-result {
    position: absolute;
    width: 100%;
    top: 8rem;
}


main {
    display: flex;
    flex-direction: column;
    padding: 0 1.5rem 5rem;
    min-height: 100vh;
}





/* common */
::-webkit-scrollbar {
    display: none;
}
::placeholder {

}
.section {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.section.home {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}
.title.left {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}
.title h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 0.5rem;
}
.title span {
    font-size: 1.6rem;
    font-weight: 500;
    color: #7f7f7f;
}
.section.sub h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
}
.section.sub pre {
    font-size: 1.6rem;
    font-weight: 300;
    color: #7f7f7f;
    line-height: 1.4;
    margin-bottom: 2rem;
}
.section.sub pre:last-of-type {
    margin-bottom: 5rem;
}
.section.sub.D pre:last-of-type {
    margin-bottom: 0;
}
.section.sub pre span.point1 {
    display: inline-block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ff9f00;
    margin-bottom: 1rem;
}
.section.sub pre span.point2 {
    display: inline-block;
    font-size: 1.7rem;
    font-weight: 500;
    color: #1f4eae;
    margin-bottom: 0.5rem;
}

.two-row {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}
.btn-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.aButton {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    padding: 2rem;
    border-radius: 1rem;
    line-height: 1.3;
}

.one {
    width: 100%;
}
.two {
    width: calc(100% / 2 - 1rem);
}
.three {
    width: calc(100% / 3 - 1.5rem);
}
.long {
    width: calc(100% / 1.5 - 1rem);
}

.ft-white {
    font-weight: 500;
    color: #fff;
}

.border {
    margin-bottom: 1.5rem;
    box-shadow: 0 0.1rem 0.2rem 0.2rem rgba(0, 0, 0, 0.2);
}
.border.bgimg {
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 1.5rem;
    height: 10rem;
    box-shadow: 0 0.1rem 0.2rem 0.2rem rgba(0, 0, 0, 0.2);
}
.border.bgimg:nth-of-type(1) {
    background-image: url(../img/main_img3.png);
    background-repeat: no-repeat;
    background-size: 10rem;
    background-position: right 1.5rem bottom;
}
.border.bgimg:nth-of-type(2) {
    background-image: url(../img/main_img4.png);
    background-repeat: no-repeat;
    background-size: 7rem;
    background-position: right bottom;
}
.border.bgimg:nth-of-type(3) {
    background-image: url(../img/main_img5.png);
    background-repeat: no-repeat;
    background-size: 9rem;
    background-position: right bottom;
}
.border.bgimg:nth-of-type(4) {
    background-image: url(../img/main_img6.png);
    background-repeat: no-repeat;
    background-size: 9rem;
    background-position: right bottom;
}
.border.bgimg:nth-of-type(5) {
    background-image: url(../img/main_img7.png);
    background-repeat: no-repeat;
    background-size: 7rem;
    background-position: right bottom;
}
.yellow {
    background-color: #ffa300;
    background-image: url(../img/main_img8.png);
    background-size: 10rem;
    background-repeat: no-repeat;
    background-position: right 2rem bottom 0;
    margin-top: 2rem;
}
.blue {
    background-color: #1b2a8f;
}
.blue.bgimg {
    background-image: url(../img/main_img2.png);
    background-size: 9rem;
    background-repeat: no-repeat;
    background-position: right 2rem bottom 0;
}
.pink {
    background-color: #eda49e;
}
.pink.bgimg {
    background-image: url(../img/sub_img.png);
    background-size: 8rem;
    background-repeat: no-repeat;
    background-position: right 2rem bottom 0;
}

.white-arrow {
    height: 1.5rem;
    margin-left: 1rem;
}
.arrow {
    height: 2rem;
    margin-left: 1rem;
}
.icon {
    margin-right: 1rem;
}
.chart {
    width: 100%;
    margin-top: -3.5rem;
    margin-bottom: 5rem;
}







/* home */
.home-top .banner {
    padding: 2.5rem 1.5rem;
    border-radius: 1rem;
    border: 0.1rem solid #f2f2f2;
    margin-bottom: 2rem;
    background-image: url(../img/main_img1.png);
    background-size: 14rem;
    background-repeat: no-repeat;
    background-position: right 0.5rem bottom 0;
}
.home-top .banner p {
    width: 70%;
    font-size: 1.9rem;
    font-weight: 700;
    color: #1e4dae;
    margin-bottom: 1rem;
    line-height: 1.3;
}
.home-top .banner pre {
    width: 70%;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.3;
}
a.aButton.yellow .two-row span {
    font-size: 1.6rem;
    font-weight: 300;
}
a.aButton.yellow .two-row h2 {
    font-size: 2rem;
    font-weight: 500;
    margin-top: 0.5rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
a.more {
    font-size: 1.6rem;
    font-weight: 300;
    color: #7f7f7f;
}






/* sub */
.section hr {
    border: 0;
    background-color: #f2f2f2;
    height: 0.3rem;
    margin: 0 -1.5rem 2rem;
}
.section.sub.B .btn-wrap:nth-of-type(1) a.aButton {
    height: 7rem;
}
.section.sub.B .btn-wrap:nth-of-type(1) .icon {
    width: 3.5rem;
}
.section.sub.B .btn-wrap:nth-of-type(2) .icon {
    width: 3.5em;
}
.section.sub.B .btn-wrap:nth-of-type(3) .icon {
    height: 3rem;
}
.section.sub.B .btn-wrap:nth-of-type(4) .icon {
    height: 3rem;
}
.section.sub.B .btn-wrap:nth-of-type(5) .icon {
    height: 3.5rem;
}
.section.sub.C .btn-wrap .icon {
    width: 3.5rem;
}
.section.sub.C .btn-wrap .white-arrow {
    margin-left: auto;
}

.category {
    overflow-x: scroll;
    margin-bottom: 3rem;
}
.category .category-wrap {
    width: fit-content;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-radius: 5rem;
    background-color: #f2f2f2;
    padding: 0.3rem;
}
.category span {
    font-size: 1.8rem;
    font-weight: 300;
    color: #aeaeae;
    padding: 0.5rem 1.5rem;
    border-radius: 5rem;
    white-space: nowrap;
}
.category span.active {
    font-weight: 500;
    color: #fff;
    background-color: #1b2a8f;
}

.section.sub.C .btn-wrap {
    margin-top: auto;
}

.section.sub .aButton.two.blue {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 15rem;
    padding-top: 2.5rem;
    margin-bottom: 1rem;
}
.section.sub .aButton.two.blue img {
    width: 4.5rem;
}
.section.sub .aButton.two.blue:nth-of-type(2) img {
    width: 4.5rem;
}
.section.sub .aButton.two.blue:nth-of-type(3) img {
    width: 5.5rem;
}
.section.sub .aButton.two.blue:nth-of-type(4) img {
    width: 5.5rem;
}

.section.sub .aButton.one.pink.center {
    justify-content: center;
}

.calling-wrap {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 5rem;
}
.preImg {
    width: 6rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 2.1rem 0;
    gap: 1.3rem;
}
.preImg img {
    width: 100%;
}
.preImg img:nth-of-type(1) {
    margin-bottom: 0.3rem;
}
.preImg img:nth-of-type(2) {
    margin-bottom: 0.5rem;
}
.preImg img:nth-of-type(3) {
    margin-bottom: 0.5rem;
}
.preContent {
    width: 70%;
    padding: 1.5rem 0;
}
.section.sub.D .preContent span.point1 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}




/* news */
.news-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.news-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 11rem;
}
.news-item .left {
    width: 45%;
    height: 100%;
    border-radius: 1rem;
    border: 0.1rem solid #f2f2f2;
    overflow: hidden;
    position: relative;
}
.news-item .right {
    width: 53%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-top: 1rem;
}

.news-item .left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-item .left p {
    position: absolute;
    top: 1rem;
    left: 0.5rem;
    font-size: 1.2rem;
    font-weight: 300;
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 5rem;
    background-color: #eda49e;
}

.news-item .right h3 {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 최대 2줄 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}
.news-item .right p {
    font-size: 1.4rem;
    font-weight: 300;
    color: #7f7f7f;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 최대 2줄 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}


.news-item.home {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 18rem;
    width: calc(100% - 1rem);
    border-radius: 1rem;
    border: 0.1rem solid #f2f2f2;
    overflow: hidden;
}
.news-item.home .left {
    width: 100%;
    height: 55%;
    border: 0;
    border-radius: 0;
    position: relative;
}
.news-item.home .right {
    width: 100%;
    height: 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 1rem;
}

.news-item.home .right h3 {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 1; /* 최대 2줄 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}








/* 반응형 */
@media screen and (max-width: 375px) {
    .section.home .aButton.border {
        font-size: 1.6rem;
        padding: 1rem 1.5rem;
    }
    .border.bgimg:nth-of-type(1) {
        background-size: 9rem;
    }
    .border.bgimg:nth-of-type(2) {
        background-size: 6.5rem;
    }
    .border.bgimg:nth-of-type(3) {
        background-size: 8.5rem;
    }
    .border.bgimg:nth-of-type(4) {
        background-size: 8.5rem;
    }
    .border.bgimg:nth-of-type(5) {
        background-size: 6.5rem;
    }
}