/* 상단요약 */
.summary-wrap {
    display: flex;
    width: 100%;
    gap: 3rem;
    border: 1px solid #e4e4e4;
    border-radius: 1rem;
    padding: 3rem;
    justify-content: space-between;
}
.summary-wrap-container {
    width: 31rem;
    padding-top: 0.8rem;
}
.summary-wrap-sub {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}
.summary-wrap-sub p {
    font-size: 1.4rem;
    letter-spacing: -0.1rem;
    color: var(--sub-color);
}
.summary-wrap-sub h3 {
    font-size: 2.4rem;
    font-family: "Roboto";
    font-weight: 500;
    color: #000;
    margin: 1.3rem 0;
}
.summary-wrap-sub h4 {
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: -0.1rem;
    color: var(--sub-color);
}
.summary-wrap-sum {
    font-size: 4.8rem;
    font-family: "Roboto";
    font-weight: 600;
    padding: 2.5rem 0;
    color: var(--act-color);
    margin-bottom: 4rem;
}
/* 년도 셀렉트 */
.select-wrapper {
    width: 9.5rem;
    --radius: 0.6rem;
    position: relative;
    display: inline-block;
}
.select-wrapper ~ span {
    margin: 0 0.3rem;
    font-size: 1.6rem;
}
.select-btn,
.select-content ul li {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-family: "Roboto";
    letter-spacing: normal;
}
.select-content {
    position: absolute;
    top: 4rem;
}
.select-btn {
    padding: 1rem;
    font-size: 1.4rem;
    border-radius: var(--radius);
    justify-content: space-between;
    background: #fff;
}
.select-btn img {
    width: 1.6rem;
    transition: transform 0.3s linear;
}
.select-wrapper.active .select-btn img,
.select-wrapper1.active .select-btn img {
    transform: rotate(-180deg);
}
.select-content {
    display: none;
    width: 9.5rem;
    padding: 0.5rem;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--line-color);
    z-index: 100;
}
.select-wrapper.active .select-content {
    display: block;
}
.select-content .select-search {
    position: relative;
}
.select-content .options {
    max-height: 12rem;
    overflow-y: auto;
    text-align: center;
}
.options::-webkit-scrollbar {
    width: 7px;
}
.options::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 25px;
}
.options::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 25px;
}
.options::-webkit-scrollbar-thumb:hover {
    background: #b3b3b3;
}
.options li {
    display: flex;
    justify-content: center;
    padding: 0.7rem;
    font-size: 1.4rem;
}
.options li:hover,
li.selected {
    border-radius: var(--radius);
    background: #f2f2f2;
}

/* 슬라이더 */
.sidler-wrap {
    overflow: hidden;
    position: relative;
    padding-bottom: 3rem;
    width: 61rem;
}
.inner-list {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s ease-out;
    height: 100%;
}
.inner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    margin: 0 4rem;
    overflow: auto;
}
.button {
    width: 3rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--act-sub-color);
    cursor: pointer;
    opacity: 0.6;
}
.button.left {
    left: 0;
    display: block;
}
.button.right {
    right: 0;
    display: block;
}
.markNav {
    position: absolute;
    left: 50%;
    bottom: 0.5rem;
    transform: translateX(-50%);
}
.mark {
    display: inline-block;
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 50%;
    margin: 0 0.4rem;
}
.graph-title {
    width: 530px;
    padding: 1rem;
}
.graph-title > p {
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: -0.1rem;
    color: var(--sub-color);
}
.graph-wrap {
    position: relative;
    width: 530px;
    height: 160px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.graph-bar {
    position: absolute;
    bottom: 20px;
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-end;
}
.graph,
.month-numtxt {
    display: inline-block;
    width: 24px;
    margin: 0 10px;
}
.graph {
    border-radius: 4px;
    background: #e4e4e4;
}
.graph.high {
    background: var(--act-sub-color);
}
.graph:hover {
    /* background: #c0c0c0;; */
    background: #a9b8ff;
    cursor: pointer;
}
.month-txt {
    position: absolute;
    bottom: 0;
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-end;
}
.month-numtxt {
    font-family: "Roboto";
    font-size: 1.2rem;
    text-align: center;
}
.graph-sub-title {
    font-family: "Roboto";
    font-size: 1.4rem;
    letter-spacing: -0.1rem;
    color: rgb(131, 131, 131);
}
.salesRate {
    display: inline-block;
    font-family: "Roboto";
    font-weight: 600;
    letter-spacing: normal;
    color: #000;
    padding-right: 1.5rem;
    padding-top: 2rem;
}
/* 하위서브메뉴 */
.sub-item-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 3rem;
    width: 100%;
    margin: 5rem 0;
}
.sub-item {
    width: 80%;
    margin: 0 auto;
    position: relative;
}
.sub-item > div {
    margin: 2rem 0;
}
.sub-item h3 {
    font-size: 2rem;
    letter-spacing: -0.1rem;
    margin-bottom: 1rem;
}
.sub-item > p {
    font-size: 1.3rem;
    letter-spacing: -0.1rem;
    margin-bottom: 3rem;
}
.sub-item > p > span{
    letter-spacing: normal;
    font-family: "Roboto";
}
.sub-item > span {
    position: absolute;
    top: .5rem;
    right: 0;
    font-size: 1.3rem;
    letter-spacing: -0.1rem;
    cursor: pointer;   
}
.sub-item-chapter {
    display: flex;
    justify-content: space-between;
}
.sub-item-chapter p {
    font-size: 1.3rem;
    margin: 0.5rem 0;
}
.sub-item-chapter p:first-child {
    letter-spacing: -0.1rem;
}
.sub-item-chapter p:last-child {
    font-family: "Roboto";
    font-weight: 600;
    position: relative;
    top: 0.5rem;
}
.sub-item-graph {
    position: relative;
}
.graph-item {
    display: block;
    height: 6px;
    border-radius: 3px;
}
.graph-item.bg {
    width: 100%;
    background: #e4e4e4;
}
.graph-item.goryeong {
    position: absolute;
    top: 0;
    width: 62%;
    background: var(--act-sub-color);
}
.graph-item.bukyoung {
    position: absolute;
    top: 0;
    width: 38%;
    background: var(--act-sub-color);
}

.feed-purchase-wrap {
    overflow: hidden;
    position: relative;
    width: 100%;
}
.feed-graph-wrap {
    position: relative;
    height: 110px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    overflow: auto;
    padding-bottom: 1rem;
}
.feed-graph-bar {
    position: absolute;
    bottom: 20px;
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-end;
}
.feed-graph,
.feed-month-numtxt {
    display: inline-block;
    width: 18px;
    margin: 0 8px;
}
.feed-graph {
    border-radius: 3px;
    background: #e4e4e4;
}
.feed-graph.high {
    background: #ff9b21;
}
.feed-month-txt {
    position: absolute;
    bottom: 0;
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-end;
}
.feed-month-numtxt {
    font-family: "Roboto";
    font-size: 1.1rem;
    text-align: center;
}
/* 하위 슬라이더 */
.slide_wrap {
    position: relative; 
    width: 26rem;
    height: 10rem;
    display: flex;
    justify-content: space-between;
    overflow: hidden;    
}
.slide_list{
    position: relative;
}
.slide_content { 
    padding: 0 1rem; 
    width: 100%;
    height: 10rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}
.slide_content img{
    max-width: 100%;
}
.slide_content h4{
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: -.1rem;
    color: #000;
    margin-bottom: 1rem;
}
.slide_content p{
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: -.1rem;
    margin: .3rem 0;
    color: #555;
}
.slide_content span{
    font-size: 1.4rem;
    font-family: 'Roboto';
    color: #555;
}

.slide_pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    position: absolute; 
    right: 0;
    top:50%;    
    list-style: none; 
    margin: 0;
    transform: translateY(-50%);
 }
.slide_pagination .dot { 
    display: inline-block; 
    width: .6rem; 
    height: .6rem;
    overflow: hidden; 
    background: #ddd;
    border-radius: 50%; 
    transition: 0.3s; 
}
.slide_pagination .dot.dot_active {
    width: .6rem;
    height: 3.5rem;
    border-radius: .3rem; 
    background: #ddd; 
}
/* 스크롤 */
.inner::-webkit-scrollbar {
    /* 스크롤바 전체폭을 설정 */
    width: 16px;
    height: 16px;
    background-clip: padding-box;
    border: 8px solid transparent;
}
.inner::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background: #c2c2c2;
    background-clip: padding-box;
    border: 5px solid transparent;
    /* 버튼의 보이는크기조절부 */
}
.inner::-webkit-scrollbar-track {
    background-color: #e4e4e4;
    background-clip: padding-box;
    border: 7px solid transparent;
    /* 트랙의 폭조절(좌우투명선으로 줄임) */
}

.feed-graph-wrap::-webkit-scrollbar {
    /* 스크롤바 전체폭을 설정 */
    width: 14px;
    height: 14px;
    background-clip: padding-box;
    border: 8px solid transparent;
}
.feed-graph-wrap::-webkit-scrollbar-thumb {
    border-radius: 7px;
    background: #c2c2c2;
    background-clip: padding-box;
    border: 5px solid transparent;
    /* 버튼의 보이는크기조절부 */
}
.feed-graph-wrap::-webkit-scrollbar-track {
    background-color: #e4e4e4;
    background-clip: padding-box;
    border: 6px solid transparent;
    /* 트랙의 폭조절(좌우투명선으로 줄임) */
}

/* responsive */

@media (max-width: 1025px) {
    .graph-wrap {
        width: 100%;
        margin-bottom: 1rem;
    }
    .graph-title {
        position: sticky;
        left: 0;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .summary-wrap {
        flex-wrap: wrap;
        justify-content: center;
    }
}
