section{
    width: 95%;
    margin: 0 auto;
}

.human_img_container{
    width: 100%;
    height: 110px;
    padding-top: 30px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 2px solid lightgrey;
}

.human_img{
    width: 35px;
    margin:0 7px 0;
}

.human_img>img{
    width: 100%;
}

.human_img>p{
    font-size: 12px;
    text-align: center;
    font-family:'NotoSansKR-Bold' ;
    letter-spacing: normal;
}

.human_text_box{
    width: 100%;
    margin-top: 10px;
}

.human_text_box>p{
    font-size: 12px;
    font-family:'NotoSansKR-Regular' ;
    color: #797979;
    margin-bottom: 5px;
}

.human_text_box>p>span{
    margin-right: 8px;
}

.section2{
    margin-top: 40px;
}

.service_container{
    width: 100%;
    margin: 0 auto;
    padding-bottom: 30px;
    border-radius: 15px;
    
    box-shadow: 2px 2px 2px rgba(0,0,0,0.1);

    border: 1px solid #C0D9EE;
}

.service_title{
    width: 100%;
    height: 55px;
    text-align: center;
    background-color: #C0D9EE;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.service_title>p{
    padding-top: 5px;
    font-size: 15px;
    font-family:'NotoSansKR-Bold' ;
    color: #26284E;
}

.notice_title{
    width: 100%;
    height: 55px;
    text-align: center;
    background-color: #C0D9EE;
    /*border-top-left-radius: 15px;
    border-top-right-radius: 15px;*/
}

.notice_title>p{
    padding-top: 5px;
    font-size: 15px;
    font-family:'NotoSansKR-Bold' ;
    color: #26284E;
}

.service_pay{
    width: 85%;
    margin: 20px auto 0;
}

.service_text{
    width: 100%;
}

.service_text>p{
    font-family:'NotoSansKR-Bold' ;
    color: #26284E;
    font-size: 16px;
}

.service_no1{
    width: 256px;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
}

.service_no1_text{
    display: flex;
    justify-content: left;
    align-items: center;
}

.number{
    width: 15px;
    height: 15px;
    border-radius: 6px;
    
    background-color: #1E2860;
}

.number>p{
    color: #fff;
    text-align: center;
    line-height: 15px;
    padding-right: 1px;
    font-size: 10px;
    font-family:'Roboto-Medium' ;
}

.number_text{
    margin-left: 5px;
    margin-bottom: 3px;
    color: #26284E;
    font-size: 13px;
    font-family:'NotoSansKR-Medium' ;
}

.red_small{
    font-size: 10px;
    color: #FF3120;
    font-family:'NotoSansKR-Regular' ;
    margin-left: 5px;
}

.select_box {
    margin-top: 10px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.select_box input[type=radio]{
    display: none;
}
.select_box input[type=radio]+label{
    display: inline-block;
    cursor: pointer;
    height: 30px;
    width: 48%;
    border: 1px solid #EBEBEB;
    border-radius: 15px;
    line-height: 30px;
    text-align: center;
    font-family:'NotoSansKR-Bold' ;
    font-size: 13px;
}
.select_box input[type=radio]+label{
    background-color: #fff;
    color: #999999;
}
.select_box input[type=radio]:checked+label{
    /*background-color: #324879;*/
    background-color: #acc2d5;
    color: #fff;
}

.service_no2{
    margin-top: 20px;
    width: 256px;
    margin-left: auto;
    margin-right: auto;
}

.service_no2_text{
    height: 30px;
    display: flex;
    justify-content: left;
    align-items: center;
}

#margin_top{
    /*margin-top: 14px;*/
}

.account_number{
    margin-top: 20px;
    text-align: center;
}

.account_number>p{
    font-family:'NotoSansKR-Regular' ;
    color: #20285D;
    font-size: 12px;
}

.account_name_box{
    width: 100%;
    margin-top: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.account_name_box>p{
    font-family:'NotoSansKR-Regular' ;
    color: #20285D;
    font-size: 12px;
}

.account_input_box{
    margin-left: 10px;
    width: 113px;
    height: 18px;
    line-height: 18px;
}

.account_input_box>input{
    width: 100%;
    height: 16px;
    border: 1px solid rgba(121,121,121,0.3);
}

.account_name_box>button{
    margin-left: 10px;
    text-align: center;
    width: 70px;
    height: 18px;
    line-height: 18px;
    margin-top: 2px;
    border-radius: 12px;
    background-color: #374775;
    border: 0;
    color: #fff;
    font-family:'NotoSansKR-Regular' ;
    font-size: 11px;
    cursor: pointer;
}

.section3{
    margin-top: 40px;
    /*margin-bottom: 40px;*/
}

.expert_title{
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
}

.expert_title>p{
    color: #232857;
    font-family:'NotoSansKR-Bold' ;
    font-size: 16px;
}

.expert_container {
    width: 100%;
    margin-bottom: 20px;
}

.expert_select_area {
    border: 1px solid rgba(112,112,112,0.3);
    border-radius: 15px;
    overflow: hidden;
}

.expert_select_area_top {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    background-color: #C0D9EE;
}

.expert_col {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-left: 1px solid rgba(112,112,112,0.3);
}

.expert_col:first-child {
    border-left: none;
}

.expert_col p {
    font-family: 'NotoSansKR-Bold';
    color: #242854;
    font-size: 14px;
    line-height: 1.2;
}

/* 컬럼 너비 설정 */
.expert_col.rank { width: 15%; }
.expert_col.name { width: 25%; }
.expert_col.hit_rate { width: 30%; }
.expert_col.analysis_cnt { width: 30%; }

/* 데이터 행 스타일 */
.expert_select_area_info {
    background-color: #fff;
}

.expert_info {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid rgba(112,112,112,0.3);
}

/* 버튼 스타일 */
.btn_expert_setting {
    margin: 20px 0;
    text-align: center;
}

.btn_expert_setting button {
    width: 200px;
    height: 40px;
    background-color: #374775;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 16px;
    font-family: 'NotoSansKR-Bold';
    cursor: pointer;
}

/* 섹션 레이아웃 */
.section2, .section3, .section4, .section5 {
    width: 100%;
    /*margin-bottom: 30px;*/
    margin-top: 20px;
}

/* 기본 레이아웃 */
.ranking_container {
    width: 95%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;    
    flex-wrap: wrap;
    justify-content: flex-start;
}

.section2, .section3, .section4, .section5 {
    width: 100%;
}

.expert_container {
    width: 100%;
}

/* 기존 스타일 유지 */
.expert_title {
    margin-bottom: 15px;
}

.expert_title > p {
    color: #232857;
    font-family: 'NotoSansKR-Bold';
    font-size: 16px;
    text-align: center;
}

/* 컬럼 스타일 */
.expert_select_area_top {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    background-color: #C0D9EE;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.expert_col {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-left: 1px solid rgba(112,112,112,0.3);
}

.expert_col:first-child {
    border-left: none;
}

/* 컬럼 너비 */
.expert_col.rank { width: 15%; }
.expert_col.name { width: 25%; }
.expert_col.hit_rate { width: 30%; }
.expert_col.analysis_cnt { width: 30%; }

/* 필터 영역 스타일 */
.filter_container {
    width: 100%;
    padding: 20px 0;
}

.filter_group {
    margin-bottom: 20px;
}

.filter_group:last-child {
    margin-bottom: 0;
}

.filter_title {
    text-align: center;
    font-family: 'NotoSansKR-Bold';
    color: #242854;
    font-size: 15px;
    margin-bottom: 10px;
}

.location_filter,
.period_filter {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 40px;
    border: 1px solid #0F4C81;
    border-radius: 5px;
    overflow: hidden;
    width: 100%;
}

.location_filter li,
.period_filter li {
    height: 100%;
    flex: 1;
    display: flex;
}

/* 구분선 */
.location_filter li:not(:last-child),
.period_filter li:not(:last-child) {
    border-right: 1px solid #0F4C81;
}

/* active 상태일 때는 border 없애기 */
.location_filter li .tab_link.active,
.period_filter li .tab_link.active {
    border-right: none;
}

.location_filter li:has(.tab_link.active) + li:after,
.period_filter li:has(.tab_link.active) + li:after {
    display: none;
}

.tab_link {
    width: 100%;
    height: 100%;
    padding: 0;
    background: #fff;
    color: #0F4C81;
    font-family: 'NotoSansKR-Medium';
    font-size: 13px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    text-align: center;
    line-height: 1;
}

.tab_link.active {
    background: #0F4C81;
    color: #fff;
}

/* 공통 탭 스타일 */
.tab_style {
    width: 100%;
    margin: 0 auto;
}

.location_filter,
.period_filter {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 40px;
    border: 1px solid #0F4C81;
    border-radius: 5px;
    overflow: hidden;
    width: 100%;
}

.location_filter li,
.period_filter li {
    height: 100%;
    flex: 1;
    display: flex;
}

.tab_link {
    width: 100%;
    height: 100%;
    padding: 0;
    background: #fff;
    color: #0F4C81;
    font-family: 'NotoSansKR-Medium';
    font-size: 13px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    text-align: center;
    line-height: 1;
}

.tab_link.active {
    background: #0F4C81;
    color: #fff;
}


/* 필터 그룹 간격 */
.filter_group {
    margin-bottom: 20px;
}

.filter_group:last-child {
    margin-bottom: 0;
}

.filter_title {
    text-align: center;
    font-family: 'NotoSansKR-Bold';
    color: #242854;
    font-size: 15px;
    margin-bottom: 10px;
}

/* 기존 기간 필터 스타일 유지 */

.expert_row {
    display: flex;
    align-items: center;
    height: 28px;
    border-bottom: 1px solid #eee;
}

.expert_row:last-child {
    border-bottom: none;
}

.expert_col {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.expert_col p {
    margin: 0;
    font-size: 14px;
    color: #333;
}

.expert_col.rank { width: 15%; }
.expert_col.name { width: 25%; }
.expert_col.hit_rate { width: 30%; }
.expert_col.analysis_cnt { width: 30%; }



/* 374px 이상일 때 2단 레이아웃 */
@media screen and (min-width: 374px) {

    .location_filter,
    .period_filter {
        height: 45px;
    }
    
    .tab_link {
        font-size: 14px;
        padding: 0 10px;
    }

    .expert_title > p { font-size: 16px; }
    .expert_col p { font-size: 13px; }

}

/* 800px 이상일 때 3단 레이아웃 */
@media screen and (min-width: 800px) {
/* 기본 레이아웃 */
    .ranking_container {
        display: grid;
        grid-template-columns: 1fr 1fr;  /* A가 B보다 2배 넓게 */
        grid-template-rows: auto auto;
        column-gap: 20px;

    }
    .section5 {
        grid-column: 1;
        grid-row: 1;
    }            

    .section2 {
        grid-column: 2;
        grid-row: 1;
    }
    .section3 {
        grid-column: 1;
        grid-row: 2;
    }
    .section4 {
        grid-column: 2;
        grid-row: 2;
    }
    
    .section2, .section3, .section4, .section5 {
        margin-bottom: 0;
    }

    .location_filter,
    .period_filter {
        height: 48px;
    }
    
    .tab_link {
        font-size: 15px;
        padding: 0 25px;
    }

    .expert_title > p { font-size: 18px; }
    .expert_col p { font-size: 14px; }
    
}


