@font-face {
    font-family: 'NEXON Lv1 Gothic OTF';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@2.1/NEXON Lv1 Gothic OTF.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

.back_add{background-color:#fff;}
.tab-container {width:82%;
    margin: auto;
    padding: 79px 0;}
        .custom-tabs {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
	font-family: 'NEXON Lv1 Gothic OTF';
	line-height:22px;
}
.custom-tabs button{
    margin: auto;
    border-radius: 0;
    color: #fff;
}
.custom-tab-button {
    background-color: #0074c9;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    border-right: 1px solid #fff;
    border-bottom: 2px solid #004699;
}

.business-board-table th:nth-child(1),
.business-board-table td:nth-child(1) {
    width: 20%;
}


.business-board-table th:nth-child(2),
.business-board-table td:nth-child(2) {
    width: 10%;
}


.business-board-table th:nth-child(n+3),
.business-board-table td:nth-child(n+3) {
    width: auto;
}

.custom-tab-button:hover {
    background-color: #099371;
}
.custom-tab-button.active {
    background-color: #00469b;
}

.custom-tab-content {
    display: none;
}

.custom-tab-content.active {
    display: block;
}

        
        .business-board-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 10px;
			font-family: 'NEXON Lv1 Gothic OTF';
			line-height:22px;
        }
        .business-board-table th, .business-board-table td {
            /* border-top: 1px solid #000000; */
            border-bottom: 1px solid #ddd;
            padding: 12px;
            text-align: left;
        }
       
        .business-board-table th:first-child, .business-board-table td:first-child {
            border-left: none; 
        }
        .business-board-table th:last-child, .business-board-table td:last-child {
            border-right: none; 
        }
       
        .business-board-table th {
            background-color: #ffffff;
            font-weight: bold;
            color: #000000;
            font-family: 'NEXON Lv1 Gothic OTF';
            border-bottom: 2px solid #000000;
        }
       
        .business-board-table tbody tr:nth-child(even) {
            background-color: #fafafa;
        }
        .business-board-table tbody tr:hover {
            background-color: #f0f0f0;
        }
        
        .section-innovation h3, .section-center h3 {
            background-color: #f4bf41; 
            padding: 10px;
            border-radius: 0px;
            color: white;
			font-family: 'NEXON Lv1 Gothic OTF';
			padding: 25px;
font-size: 18px;
font-weight: bold;
        }
        .section-kunsan h3 {
            background-color: #ff8db9;
            padding: 10px;
            border-radius: 0px;
            color: white;
			font-family: 'NEXON Lv1 Gothic OTF';
			padding: 25px;
font-size: 18px;
font-weight: bold;
        }
        .section-techno h3, .section-startup h3 {
            background-color: #8795e8; 
            padding: 10px;
            border-radius: 0px;
            color: white;
			font-family: 'NEXON Lv1 Gothic OTF';padding: 25px;
font-size: 18px;
font-weight: bold;
        }
        .section-local h3, .section-program h3 {
            background-color: #00904b;
            padding: 10px;
            border-radius: 0px;
            color: white;
            font-family: 'NEXON Lv1 Gothic OTF';
            padding: 25px;
            font-size: 18px;
            font-weight: bold;
        }
        .section-university h3 {
            background-color: #f1a94e;
            padding: 10px;
            border-radius: 0px;
            color: white;
			font-family: 'NEXON Lv1 Gothic OTF';padding: 25px;
font-size: 18px;
font-weight: bold;
        }
        .section-culture h3, .section-jica h3 {
            background-color: #df7527; 
            padding: 10px;
            border-radius: 0px;
            color: white;
			font-family: 'NEXON Lv1 Gothic OTF';padding: 25px;
font-size: 18px;
font-weight: bold;
        }
        .tab-image {
            width: 100%;
            margin-top: 20px;
        }
		
.popup-layer {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: 500px;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;padding: 21px;height: 90vh;
}
.popup-layer img {
    width: auto;
    height: 100%;
    object-fit: cover;
}
.popup-close {
    position: absolute;
    top: 10px;
    right: 20px;
    background-color: #000;
    color: white;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 16px;
	 z-index: 9;
}

.popup-background {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.scroll-hint {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    text-align: center;
    font-size: 14px;
    z-index: 1;
}

@media only screen and (max-width: 768px) {
.business-board-table-wrapper {
        position: relative;
    }
    .scroll-hint {
        display: block;
    }
.tab-container {
    width: 90%;
    margin: auto;
    padding: 10px 0;
}
    
    .custom-tabs {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .custom-tab-button {
        width: 48%; 
        margin-bottom: 10px;
    }

   
    .business-board-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .business-board-table th, .business-board-table td {
        font-size: 14px;
        padding: 10px;
    }

    
    .popup-layer {
        width: 90%;
        height: auto;
    }

    
    .popup-layer img {
        width: 100%;
        height: auto;
    }
}

}