header {
    height: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    padding: 0 1.5rem;
    z-index: 7777;
    background: #fff;
}
header h1 {
    width: 12rem;
}
header h1 a {
    width: 100%;
}
header h1 a img {
    width: 100%;
}
header #backBtn {
    width: 2.5rem;
    position: absolute;
    left: 1.5rem;
}
header #backBtn img {
    width: 100%;
}

.bannerImg {
    width: 100%;
    padding: 1.5rem 0;
}
.bannerImg a {
    width: 100%;
}
.bannerImg a img {
    width: 100%;
}

main {
    padding: 1rem 1.5rem 10rem;
}
#main {
    padding: 1rem 0 10rem;
}
main .hotWrap {
    padding-bottom: 3rem;
}
main .hotWrap h2 {
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
main .hotWrap h2 img {
    width: 1.5rem;
}
main .hotWrap .category {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
main .hotWrap .category a {
    width: 25%;
    font-size: 1.6rem;
    font-weight: 600;
    padding: 1rem 1rem;
    background-color: #efefef;
    border-radius: 5rem;
    text-align: center;
}
main .hotWrap .category a.active {
    color: #fff;
    background: #2d2d2d;
}
main .hotWrap .hotSwiper {
    height: max-content;
    overflow: hidden;
    display: none;
}
main .hotWrap .hotSwiper.active {
    display: block;
}
main .hotWrap .hotSwiper .swiper-slide {}
main .hotWrap .hotSwiper .swiper-slide .image {
    width: 100%;
    margin-bottom: 1rem;
}
main .hotWrap .hotSwiper .swiper-slide .image img {
    width: 100%;
}
main .hotWrap .hotSwiper .swiper-slide .type {
    margin-bottom: 1rem;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 5rem;
    background: #af8be3;
    width: max-content;
}
main .hotWrap .hotSwiper .swiper-slide h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}
main .hotWrap .hotSwiper .swiper-slide p {
    font-size: 1.4rem;
    white-space: nowrap;       /* 한 줄로 표시 */
    overflow: hidden;          /* 넘치는 텍스트 숨김 */
    text-overflow: ellipsis;   /* ...으로 생략 */
}
main .menuWrap {
    padding: 3rem 0;
}
main .menuWrap h2 {
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
}
main .menuWrap .menu {
    display: flex;
    gap: 1.5rem;
}
main .menuWrap .menu > a {
    width: 100%;
    position: relative;
    width: 50%;
}
main .menuWrap .menu > a > img {
    width: 100%;
}
main .menuWrap .menu > a .text {
    position: absolute;
    left: 1.5rem;
    top: 2.5rem;
}
main .menuWrap .menu > a .text p {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}
main .menuWrap .menu > a .text h3 {
    font-size: 1.6rem;
    font-weight: 800;
}
main .menuWrap .menu .col {
    width: 50%;
    display: flex;
    flex-flow: column nowrap;
    gap: 1.5rem;
}
main .menuWrap .menu .col a {
    height: 50%;
    position: relative;
}
main .menuWrap .menu .col a > img {
    width: 100%;
}
main .menuWrap .menu .col a .text {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
}
main .menuWrap .menu .col a .text p {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}
main .menuWrap .menu .col a .text h3 {
    font-size: 1.6rem;
    font-weight: 800;
}
main .newsWrap {
    padding-top: 3rem;
}
main .newsWrap h2 {
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
main .newsWrap h2 a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.4rem;
}
main .newsWrap h2 a img {
    width: 1rem;
}

/* 리스트 */
main #filterFrm {
    display: flex;
    gap: 1rem;
    height: 5rem;
    margin-bottom: 1rem;
}
main #filterFrm .typeSel {
    width: 40%;
    border-radius: 1rem;
    position: relative;
    background: #efefef;
    border: 1px solid #e2e2e2;
    box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.1);
}
main #filterFrm .typeSel > a {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    width: 100%;
    height: 100%;
    color: #757575;
    background-image: url(../img/arrow-2.png);
    background-repeat: no-repeat;
    background-size: 1.5rem;
    background-position: right 1.5rem center;
}
main #filterFrm .typeSel .typeOption {
    display: none;
    flex-flow: column nowrap;
    position: absolute;
    width: 100%;
    left: 0;
    top: 5rem;
    background: #efefef;
    border: 1px solid #e2e2e2;
    box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.1);
    height: 20rem;
    overflow-y: auto;
}
main #filterFrm .typeSel .typeOption.active {
    display: flex;
}
main #filterFrm .typeSel .typeOption a {
    font-size: 1.4rem;
    padding: 1.5rem;
}
main #filterFrm .typeSel .typeOption a.active {
    color: #af8be3;
    font-weight: 600;
}
main #filterFrm .search {
    padding-right: 1.5rem;
    width: 60%;
    background: #efefef;
    border: 1px solid #e2e2e2;
    border-radius: 1rem;
    box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}
main #filterFrm .search input {
    width: calc(100% - 1.5rem);
    background: none;
    font-size: 1.4rem;
    padding: 0 1.5rem;
    height: 100%;
}
main #filterFrm .search img {
    width: 1.5rem;
}
main .result {
    display: flex;
    flex-flow: column nowrap;
}
main .result a {
    padding: 2rem 2rem 2rem 0;
    border-bottom: 2px solid #efefef;
    background-image: url(../img/arrow-3.png);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 1.5rem;
}
main .result a:last-child {
    border: none;
}
main .result a > p {
    font-size: 1.4rem;
    color: #747474;
    margin-bottom: 0.5rem;
}
main .result a > h2 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}
main .result a .wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}
main .result a .wrap h3 {
    font-size: 1.4rem;
    color: #fff;
    background: #af8be3;
    border-radius: 5rem;
    padding: 0.5rem 1rem;
}
main .result a .wrap p {
    font-size: 1.4rem;
    line-height: 1.4;
    font-weight: 600;
}
main .pagination {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}
main .pagination a {
    font-size: 1.4rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
main .pagination a img {
    width: 40%;
}
main .pagination a.active {
    font-weight: 800;
    color: #fff;
    background: #af8be3;
    border-radius: 100%;
}

/* 토글 */
main > h2 {
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 2rem;
}
main .toggle {
    display: flex;
    flex-flow: column nowrap;
    gap: 2rem;
}
main .toggle .open {
    border-radius: 1rem;
    border: 1px solid #e2e2e2;
}
main .toggle .open h3 {
    padding: 2rem;
    font-size: 1.6rem;
    font-weight: 800;
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 1.4;
    gap: 1rem;
}
main .toggle .open h3 img {
    width: 2.5rem;
}
main .toggle .open .detail {
    padding: 1.5rem;
    background: #efefef;
    display: flex;
    flex-flow: column nowrap;
    gap: 1rem;
}
main .toggle .open .detail pre {
    font-size: 1.4rem;
    line-height: 1.4;
    font-weight: 800;
    display: flex;
    align-items: center;
}
main .toggle .open .detail .wrap {
    display: flex;
    gap: 0.5rem;
}
main .toggle .open .detail h4 {
    font-size: 1.4rem;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 5rem;
    background-color: #af8be3;
    height: max-content;
}
main .toggle .open .detail p {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.4;
}

/* 뉴스 */
main .news {
    display: flex;
    flex-flow: column nowrap;
    gap: 2rem;
}
main .news a {
    display: flex;
    gap: 1.5rem;
    height: 14rem;
}
main .news a .image {
    width: 40%;
    border-radius: 1rem;
    overflow: hidden;
}
main .news a .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
main .news a .text {
    position: relative;
    width: 60%;
}
main .news a .text h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
}
main .news a .text p {
    font-size: 1.4rem;
    line-height: 1.4;
    color: #7b7b7b;
}
main .news a .text .date {
    position: absolute;
    bottom: 0;
    left: 0;
    color: #a3a3a3;
}

main .newsHome {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
}
main .newsHome a {
    width: calc(50% - 0.75rem);
    display: flex;
    flex-flow: column nowrap;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #e7e7e7;
}
main .newsHome a .image {
    width: 100%;
    height: 50%;
    object-fit: cover;
}
main .newsHome a .image img {
    width: 100%;
    height: 100%;
}
main .newsHome a .text {
    height: 50%;
    padding: 1rem;
}
main .newsHome a .text h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    white-space: nowrap;       /* 한 줄로 표시 */
    overflow: hidden;          /* 넘치는 텍스트 숨김 */
    text-overflow: ellipsis;
}
main .newsHome a .text p {
    font-size: 1.4rem;
    line-height: 1.4;
    color: #7b7b7b;
    margin-bottom: 0.5rem;
}
main .newsHome a .text .date {
    color: #a3a3a3;
}

/* 서브 */
main .bnr {
    width: 100%;
    position: relative;
    display: inline-block;
}
main .bnr img {
    width: 100%;
}
main .bnr .text {
    position: absolute;
    left: 3rem;
    top: 50%;
    transform: translateY(-50%);
}
main .bnr .text p {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 0.5rem;
}
main .bnr .text h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
}
main .content {
    padding: 3rem 1.5rem;
    border-bottom: 5px solid #efefef;
}
main .content:last-child {
    border: none;
}
main .content h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #af8be3;
    margin-bottom: 1rem;
}
main .content pre {
    font-size: 1.4rem;
    line-height: 1.4;
    color: #7b7b7b;
}