/* 언어설정 */
@charset 'utf-8';

@font-face {
    font-family: 'SUIT-Regular';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_suit@1.0/SUIT-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'KCCHyerim-Regular';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2411-3@1.0/KCCHyerim-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

/* 전체설정 */
* {
    margin: 0;
    padding: 0;
    font-family: 'SUIT-Regular';
}

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--main-text);
}

img {
    vertical-align: bottom;
}

html,
body {
    overflow-x: hidden;
    scroll-behavior: smooth;

}

.body {
    max-width: 100%;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
    /* 스크롤 막기 */
    touch-action: none;
    /* 터치 시 흔들림 방지 (모바일 UX 향상) */
}

/* 색상설정 */
:root {
    --main-navi: #204B62;
    --main-text: #333;
    --main-white: #fff;
}

/* 상세설정 ---------------------------------------------------------------------------- */

main {
    margin-top: 60px;
}

.txt {
    background-image: url(/img/success_bg2.png);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    width: 100%;
    height: 400px;
    /* 또는 원하는 높이 */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.txt h1 {
    font-size: 60px;
    margin-top: 50px;
    font-weight: bold;
    display: inline-block;
    color: #fff;
}


/* 내용 설정 */

.map-section {
    margin: 80px auto;
    max-width: 1000px;
    padding: 0 20px;
}

.map-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    font-size: 18px;
    gap: 10px;
}

.map-tabs .tab {
    background: none;
    border: none;
    cursor: pointer;
    font-weight: bold;
    color: #444;
    padding: 5px 10px;
    font-size: 25px;
}

.map-tabs .tab.active {
    color: #204B62;
    border-bottom: 2px solid #204B62;
}

.map-tabs .divider {
    color: #ccc;
    font-size: 16px;
}

.map-image {
    width: 100%;
    height: 300px;
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    border: solid #333 4px;
}

.map-image iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 10px;
}

/* 정보 테이블 */
.info-table {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 16px;
    color: #333;
    margin-left: 50px;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-row .label {
    font-weight: bold;
    min-width: 90px;
    color: #204B62;
    font-size: 25px;
}

.info-row .bar {
    color: #204B62;
    font-size: 25px;
    font-weight: bold;
}

.info-row .text {
    flex: 1;
    font-size: 20px;
    color: #333;
}

.highlight {
    color: #d10000;
    font-weight: bold;
    margin-left: 6px;
}

.home-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #204B62;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
}


.home-btn:hover {
    background: #204B62;
}





/* 미디어 쿼리 구간------------------------------------------------------------------------------------- */


/* PC 전용 */
@media screen and (min-width: 1440px) {}

/* 노트북 전용 */
@media screen and (min-width: 1025px) and (max-width: 1439px) {
    .txt h1 {
        font-size: 45px;
        margin-top: 50px;
        font-weight: bold;
        display: inline-block;
        color: var(--main-white);
    }
}

/* 태블릿 전용 */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .txt h1 {
        font-size: 45px;
        margin-top: 50px;
        font-weight: bold;
        display: inline-block;
        color: var(--main-white);
    }
}

/* 모바일 전용 */
@media screen and (min-width: 481px) and (max-width: 767px) {

    .txt h1 {
        font-size: 40px;
        margin-top: 50px;
        font-weight: bold;
        display: inline-block;
        color: var(--main-white);
    }

    .map-section {
        padding: 0 15px;
      }
    
      .map-tabs {
        font-size: 16px;
        gap: 8px;
      }
    
      .info-table {
        font-size: 15px;
      }
    
      .info-row {
        flex-wrap: wrap;
      }
    
      .info-row .label {
        min-width: auto;
      }
}

@media screen and (max-width: 480px) and (orientation: portrait) {

    .txt {
        height: 250px;          /* 배경 영역 축소 */
    }

    .txt h1 {
        font-size: 35px;
        margin-top: 50px;
        font-weight: bold;
        display: inline-block;
        color: var(--main-white);
    }

    .info-table {
        margin-left: 0px;
    }

    .info-table .label {
        font-size: 22px;
        min-width: 0px;
    }

    .info-table .bar {
        font-size: 22px;
    }

    .info-table .text {
        font-size: 17px;
    }

    .highlight {
        font-size: 15px;
    }

    .map-tabs .tab{
        font-size: 14px;
    }

    .map-section  {
        margin: 40px auto;
        padding: 0 20px;
    }
}