.maincon {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-statistics {
    background: #f4f5f9;
    display: flex;
    border-radius: 10px;
    padding: 9px 15px;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.main-statistics li {
    width: calc(100% / 3);
    display: flex;
    flex-direction: column;
}

.main-statistics li span {
    color: #7b7b7b;
    display: block;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 5px;
}

.main-statistics li span br {
    display: none;
}

.main-statistics li p {
    color: #2a52c9;
    font-size: 30px;
    font-weight: 600;
    line-height: 1;
}

.main-statisticslist {
    margin-top: 25px;
    display: flex;
    gap: 15px;
    align-items: stretch;
}

.main-statisticslist p {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    line-height: 1.2;
    border-radius: 10px;
    text-align: center;
    padding: 24px 10px;
    background: #f4f5f9;
    width: calc((100% - 60px) / 5);
    font-size: 18px;
    color: #7b7b7b;
    flex: 0 0 auto;
}

.main-statisticslist > div {
    gap: 15px;
    display: flex;
    width: 100%;
    position: relative;
    padding-top: 30px;
}

.main-statisticslist > div:after {
    position: absolute;
    width: calc((((100% - 30px) / 3) * 2) + 30px);
    height: 1px;
    top: 0;
    left: calc((100% - 30px) / 6);
    content: '';
    background: #eaecf3;
}

.main-statisticslist div > p {
    width: calc((100% - 30px) / 3);
    position: relative;
}

.main-statisticslist > div > p:nth-child(2):after, .main-statisticslist > div > p:last-child:after {
    position: absolute;
    content: '';
    width: 1px;
    height: 30px;
    background: #eaecf3;
    top: -30px;
    left: 50%;
}

.main-statisticslist div > .tit {
    top: -24px;
    width: 100%;
    left: 0;
    z-index: 2;
    position: absolute;
    text-align: center;
}

.main-statisticslist div > .tit > span {
    gap: 5px;
    background: #fff;
    display: inline-flex;
    align-items: flex-end;
    font-size: 18px;
    color: #7b7b7b;
    padding: 0 10px;
}

.main-statisticslist div > .tit > span > span {
    color: #2a52c9;
    line-height: 1;
    font-size: 32px;
    font-weight: 600;
}

.main-statisticslist p > span {
    margin-top: 5px;
    line-height: 1;
    display: block;
    color: #2a52c9;
    font-size: 32px;
    font-weight: 600;
}

.concard > .main-statistics + .title {
    margin-top: 25px;
}

.main-datachart {
    padding-left: 25px;
}

.main-datachart > li:first-child {
    margin-top: 0;
}

.main-datachart > li {
    align-items: center;
    display: flex;
    margin-top: 3px;
}

.main-datachart > li > p {
    letter-spacing: -2px;
    font-family: 'S-CoreDream', sans-serif;
    width: 210px;
    flex: 0 0 auto;
    color: #7b7b7b;
    font-size: 18px;
    font-weight: 500;
}

.main-datachart > li > p > span {
    font-weight: 300;
}

.main-datachart > li > div {
    align-items: center;
    display: flex;
    width: calc(100% - 220px);
}

.main-datachart > li > div > span:first-child {
    background: #3d65b9;
    display: inline-block;
    height: 20px;
    margin-right: 10px;
}

.main-datachart > li:nth-child(2) > div > span:first-child {
    background: #3d7ac6;
}

.main-datachart > li:nth-child(3) > div > span:first-child {
    background: #3395d6;
}

.main-datachart > li:nth-child(4) > div > span:first-child {
    background: #659e3d;
}

.main-datachart > li:nth-child(5) > div > span:first-child {
    background: #f18d27;
}

.main-datachart > li:nth-child(6) > div > span:first-child {
    background: #8e99ae;
}

.main-datachart > li:nth-child(7) > div > span:first-child {
    background: #51babb;
}

.main-datachart > li > div span:nth-child(2) {
    color: #2a52c9;
    font-size: 16px;
    font-weight: 600;
}

.main-table { /* padding-bottom: 30px; */
}

.main-table table {
    text-align: center;
    width: 100%;
}

.main-table thead {
    position: relative;
}

.main-table thead th {
    font-size: 18px;
    padding: 8px 0;
    background: #f4f5f9;
    color: #7b7b7b;
    font-weight: 600;
}

.main-table thead th:first-child {
    border-radius: 5px 0 0 5px;
    text-align: left;
    padding-left: 20px;
}

.main-table thead th:last-child {
    border-radius: 0 5px 5px 0;
}

.main-table tr:first-child td {
    padding-top: 5px;
}

.main-table td {
    border-bottom: 1px solid #f4f5f9;
    font-size: 18px;
    color: #7b7b7b;
    padding: 3px;
}

.main-table tr:last-child td {
    border-bottom: 0;
}

.main-table td.tal {
    padding-left: 12px;
}

#main-slidecon {
    width: calc(100% - 615px);
}

#addinfo {
    width: 600px;
    flex: 0 0 auto;
}

.main-statisticschart {
    margin-bottom: 20px;
    position: relative;
}

.main-statisticschart > div {
    display: flex;
    gap: 25px;
    top: 0;
    left: 0;
    padding: 0 30px 0 147px;
}

.main-statisticschart > div span {
    width: 50%;
    text-align: center;
    color: #7b7b7b;
    font-size: 20px;
}

.main-statisticschart li {
    align-items: center;
    margin-top: 10px;
    display: flex;
    border-radius: 5px;
    background: #f4f5f9;
}

.main-statisticschart li .tit {
    background: #2a52c9;
    flex: 0 0 auto;
    border-radius: 5px;
    width: 117px;
    display: flex;
    height: 52px;
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    justify-content: center;
    align-items: center;
}

.main-statisticschart li > div {
    width: 100%;
    display: flex;
    padding: 0 30px;
    gap: 25px;
}

.main-statisticschart li > div > div {
    text-align: center;
    width: calc((100% - 25px) / 2);
}

.main-statisticschart li > div > div > span {
    margin-bottom: 5px;
    line-height: 1;
    display: block;
    font-weight: 600;
    font-size: 22px;
    color: #414141;
}

.main-statisticschart li > div > div > p {
    width: 100%;
    position: relative;
    background: #e4e4e4;
    height: 10px;
    border-radius: 5px;
}

.main-statisticschart li > div > div > p span {
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 10px;
    height: 100%;
    background: #2a52c9;
}

.main-statisticschart li:nth-child(2) .tit {
    background: #2ac975;
}

.main-statisticschart li:nth-child(2) > div > div > p span {
    background: #2ac975;
}

.main-statisticschart li:nth-child(3) .tit {
    background: #eb8430;
}

.main-statisticschart li:nth-child(3) > div > div > p span {
    background: #eb8430;
}

.main-statisticschart li:nth-child(4) .tit {
    background: #868686;
}

.main-statisticschart li:nth-child(4) > div > div > p span {
    background: #868686;
}

#main-slidecon.concard {
    padding: 0;
    position: relative;
}

#main-swiper {
    overflow: hidden;
    padding: 20px 20px 10px;
}

#main-swiper .swiper-slide {
    opacity: 0 !important;
    display: flex;
    gap: 35px;
}

#main-swiper .swiper-slide .img {
    border-radius: 15px;
    width: 361px;
    height: 257px;
    box-shadow: 1px 1px 20px 0px #a4a4a478;
    overflow: hidden;
}

#main-swiper .swiper-slide .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#main-swiper .swiper-slide .infotext {
    padding-top: 20px;
}

#main-swiper .swiper-slide .titles {
    padding-right: 70px;
    display: flex;
    gap: 5px;
}

#main-swiper .swiper-slide .titles span {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    color: #fff;
    font-weight: 600;
    min-height: 32px;
    border-radius: 5px;
    padding: 5px 15px;
}

#main-swiper .swiper-slide .titles span.bg1 {
    background: #2a52c9;
}

#main-swiper .swiper-slide .titles span.bg2 {
    background: #102c7e;
}

#main-swiper .swiper-slide .infotext > a {
    display: inline-block;
    margin: 10px 0 0 10px;
    font-size: 20px;
    color: #7b7b7b;
    font-weight: 500;
}

#main-swiper .swiper-slide .infotext ul {
    padding-left: 10px;
    margin-top: 25px;
}

#main-swiper .swiper-slide .infotext li {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    font-size: 18px;
}

#main-swiper .swiper-slide .infotext li span {
    width: 70px;
    flex: 0 0 auto;
    color: #102c7e;
    font-weight: 500;
}

#main-swiper .swiper-slide .infotext li p {
    color: #7b7b7b;
}

.progressbar {
    display: flex;
    padding: 15px 40px 20px;
    align-items: center;
}

.progressbar #toggleBtn {
    flex: 0 0 auto;
    font-size: 18px;
    gap: 5px;
    align-items: center;
    color: #7b7b7b;
    display: flex;
    width: 105px;
    color: #7b7b7b;
}

.progressbar #toggleBtn:before {
    display: flex;
    align-items: center;
    justify-content: center;
    content: '';
    width: 21px;
    height: 21px;
    border-radius: 3px;
    background: url(../images/main-swiper_stop.png) no-repeat center center;
}

.progressbar #toggleBtn.stop-active:before {
    background: url(../images/main-swiper_play.png) no-repeat center center;
}

.count-progress-wrap {
    width: 100%;
    height: 3px;
    overflow: hidden;
}

.count-progress-bar {
    display: block;
    width: 0%;
    height: 100%;
    background: #4984e7;
}

.controlbtn {
    z-index: 999;
    align-items: center;
    position: absolute;
    right: 20px;
    top: 47px;
    display: flex;
    gap: 5px;
}

.controlbtn > a {
    width: 14px;
    height: 18px;
    font-size: 0;
}

.controlbtn .prevbtn {
    background: url(../images/main-swiper_prev.png) no-repeat center center;
}

.controlbtn .nextbtn {
    background: url(../images/main-swiper_next.png) no-repeat center center;
}

.pagination {
    width: auto;
    display: flex;
    gap: 2px;
    font-size: 13px;
    color: #7b7b7b;
}

#main-swiper .swiper-slide.swiper-slide-active {
    opacity: 1 !important;
}


@media screen and (max-width: 1900px) {
    #addinfo {
        width: calc(40% - 11px);
    }

    #main-slidecon {
        width: calc(60% - 11px);
    }

    #main-swiper .swiper-slide {
        gap: 20px;
    }
}

@media screen and (max-width: 1400px) {
}

@media screen and (max-width: 1024px) {
    .maincon2 {
        flex-direction: column;
    }

    #main-slidecon {
        order: 2;
    }

    .main-statisticslist {
        background: #f4f5f9;
        border-radius: 15px;
    }

    .main-statisticslist div > p {
        display: none;
    }

    .main-statisticslist div > .tit {
        position: static;
        background: none;
    }

    .main-statisticslist div > .tit > span {
        background: none;
        line-height: 1.2;
        border-radius: 10px;
        text-align: center;
        padding: 24px 10px;
        background: #f4f5f9;
        font-size: 18px;
        color: #7b7b7b;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
    }

    .main-statisticslist div > .tit > span > span {
        display: block;
    }

    .main-statisticslist div > .tit > span {
        background: none;
    }

    .main-statisticslist > div:after {
        display: none;
    }

    .main-statisticslist p {
        width: calc((100% - 30px) / 3);
    }
}

@media screen and (max-width: 768px) {
    .main-table {
        padding-bottom: 0;
    }

    .main-statisticschart {
        margin-bottom: 0;
    }

    .concard > .tit {
        font-size: 30px;
    }

    .main-statistics li span {
        font-size: 22px;
        word-break: keep-all;
    }

    .concard-two .main-statistics li span {
        font-size: 17px;
    }

    .concard-two .main-statistics li span br {
        display: block;
    }

    .main-statistics li p {
        font-size: 30px;
    }

    .main-statisticslist p {
        font-size: 17px;
    }

    .main-statisticslist p > span {
        font-size: 30px;
    }

    .main-statisticschart li .tit {
        width: 80px;
        font-size: 22px;
    }

    .main-statisticschart > div {
        gap: 20px;
        padding: 0 20px 0 100px;
    }

    .main-statisticschart li > div {
        gap: 20px;
        padding: 0 20px;
    }

    .main-statisticschart li > div > div {
        width: calc(50% - 10px);
    }

    #main-swiper {
        padding: 0;
    }

    #main-swiper .swiper-slide {
        flex-direction: column;
        gap: 0;
    }

    #main-swiper .swiper-slide .img {
        box-shadow: none;
        border-radius: 15px 15px 0 0;
        width: 100%;
        height: 335px;
    }

    #main-swiper .swiper-slide .infotext {
        padding: 70px 25px 40px;
    }

    .progressbar {
        padding: 0 20px;
        position: absolute;
        top: 360px;
        width: 100%;
        left: 0;
    }

    .controlbtn {
        top: 413px;
    }

    .main-datachart {
        padding-left: 0;
    }

    .main-datachart > li > p {
        width: 150px;
    }

    .main-datachart > li > p span {
        display: block;
    }

    .main-datachart > li > div {
        width: calc(100% - 150px);
    }
}

@media screen and (max-width: 479px) {
    .main-statisticschart li .tit, .main-statisticschart > div span {
        font-size: 18px;
    }

    #main-swiper .swiper-slide .infotext {
        padding: 70px 10px 40px;
    }

    .controlbtn {
        right: 10px;
    }
}

/* PC 화면 전체 비율 축소 */
@media screen and (min-width: 1401px) {
    body > div {
        zoom: 0.89;
    }
}

/* 개발 기능용 스타일 통합: 검색 결과 및 슬라이드 긴 텍스트 처리 */
.searcharea {
    position: relative;
}

.searcharea input {
    color: #333;
}

#redevelopSearchResult {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 10px;
    right: 10px;
    z-index: 1000;
    max-height: 360px;
    overflow-y: auto;
    padding: 8px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}

#redevelopSearchResult:after {
    display: none;
}

#redevelopSearchResult .redevelop-search-item {
    display: block;
    width: 100%;
    padding: 10px 12px;
    text-align: left;
    background: #fff;
    border: 0;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

#redevelopSearchResult .redevelop-search-item:last-child {
    border-bottom: 0;
}

#redevelopSearchResult .redevelop-search-item:hover {
    background: #f1f5ff;
}

#redevelopSearchResult .redevelop-search-item strong {
    display: block;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

#redevelopSearchResult .redevelop-search-item span {
    display: block;
    margin-top: 3px;
    color: #777;
    font-size: 12px;
    line-height: 1.4;
}

#main-swiper .swiper-slide .img {
    flex: 0 0 361px;
    min-width: 0;
}

#main-swiper .swiper-slide .img a {
    display: block;
    width: 100%;
    height: 100%;
}

#main-swiper .swiper-slide .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#main-swiper .swiper-slide .infotext {
    min-width: 0;
    flex: 1 1 0;
    width: auto;
}

#main-swiper .swiper-slide .infotext li p {
    min-width: 0;
    overflow-wrap: break-word;
    word-break: keep-all;
}

@media screen and (max-width: 768px) {
    #main-swiper .swiper-slide .img {
        flex: 0 0 auto;
    }

    #main-swiper .swiper-slide .infotext {
        width: 100%;
    }
}

/* 기존 main.jsp 내부 스타일을 그대로 외부 CSS로 이동 */
#redevelopMap {
    width: 100%;
    height: 100%;
    min-height: 520px;
}

.map {
    position: relative;
}

.redevelop-map-legend {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 10;
    background: rgba(16, 35, 65, .93);
    color: #fff;
    padding: 10px 12px;
    border-radius: 4px;
    font-size: 12px;
    pointer-events: none;
    line-height: 1.65;
}

.redevelop-map-legend .legend-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-right: 6px;
}

.redevelop-map-legend .rebuild {
    background: #4f7fd8;
}

.redevelop-map-legend .other {
    background: #e57a44;
}

.redevelop-map-legend .selected-site {
    border-top: 1px solid rgba(255, 255, 255, .25);
    margin-top: 5px;
    padding-top: 5px;
    max-width: 230px;
}

.redevelop-map-info {
    position: relative;
    padding: 9px 12px;
    background: #0d2a58;
    border: 1px solid #3977dd;
    color: #fff;
    font-size: 12px;
    line-height: 1.5;
    width: max-content;
    max-width: 280px;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: break-word;
    box-sizing: border-box;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
    pointer-events: none;
}

.redevelop-map-info strong {
    display: block;
    font-size: 13px;
    font-weight: bold;
}

.redevelop-map-info > div {
    color: #b7d3ff;
    white-space: normal;
    line-height: 1.5;
}

.redevelop-map-info::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -9px;
    transform: translateX(-50%);
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 9px solid #0d2a58;
}

#etcTypeStats li > div {
    display: flex;
    align-items: center;
    min-width: 0;
}

#etcTypeStats .redevelop-stat-bar {
    display: inline-block;
    height: 18px;
    flex: 0 1 auto;
}

#etcTypeStats li > div > span:last-child {
    margin-left: 8px;
    flex: 0 0 auto;
}


#rebuildTypeStats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
}

#rebuildTypeStats > li {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    text-align: center;
}

#rebuildTypeStats > li > span,
#rebuildTypeStats > li > p {
    width: 100%;
    text-align: center;
}
