@charset "utf-8";

/* 내용관리 */
#ctt {margin:0;padding:0;background:#fff; width: 100%;}
.ctt_admin {text-align:right}
#ctt header h1 {display: none;}
#ctt_con {padding:40px 0;line-height:1.6em; max-width: 1200px; margin: 0 auto;}
#ctt_con img{max-width:100%;height:auto;max-height: 700px;}
.ctt_img {text-align:center; margin-bottom: 20px;}

/* Tab Navigation */
.co_tab_nav {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 2px solid #eee;
    max-width: 1200px;
    margin: 0 auto;
}
.co_tab_nav li {
    flex: 1;
}
.co_tab_nav li a {
    display: block;
    padding: 15px;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    color: #555;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px; /* to align with the bottom border */
    transition: all 0.3s ease;
}
.co_tab_nav li a:hover {
    color: #0B3F59;
}
.co_tab_nav li a.active {
    color: #0B3F59;
    border-bottom-color: #0B3F59;
}

/* 공통 섹션 스타일 */
.co_section {
    padding: 80px 20px;
    box-sizing: border-box;
}
.co_title {
    font-size: 32px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 60px;
    color: #222;
}

/* 1. 프로모션 섹션 */
.promo_section {
    padding: 0;
    margin-bottom: 40px;
}
.promo_section .ctt_img {
    margin-bottom: 0;
}
.promo_text, .promo_subtext {
    text-align: center;
    padding: 20px;
}
.promo_text {
    font-weight: 500;
    font-size: 18px;
    color: #333;
}
.promo_subtext {
    font-size: 15px;
    color: #555;
    padding-top: 0;
}

.btn_bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 30px;
    background-color: #f7f7f7;
}
.btn_promo {
    flex: 1;
    max-width: 220px;
    padding: 15px;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    font-weight: 500;
    font-size: 16px;
    transition: background-color 0.3s;
}
.btn_promo.btn_blue {
    background-color: #0B3F59;
}
.btn_promo.btn_blue:hover {
    background-color: #156a94;
    color: #fff;
}


/* 2. 이야기 섹션 */
.story_content {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}
.story_content .story_img {
    flex: 1;
    max-width: 500px;
    margin-bottom: 0;
}
.story_content .story_text {
    flex: 1;
}
.story_text h3 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 500;
}
.story_text p {
    font-size: 16px;
    color: #333;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* 역사 타임라인 */
.history_timeline table {
    width: 100%;
    border-collapse: collapse;
    border-top: 2px solid #333;
}
.history_timeline th, .history_timeline td {
    padding: 25px 15px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}
.history_timeline th {
    text-align: left;
    font-size: 20px;
    font-weight: 500;
    color: #0B3F59;
    width: 150px;
}
.history_timeline td {
    color: #555;
}

/* 3. 오시는 길 섹션 */
.location_section {
    background-color: #f9f9f9;
}
.location_map .address {
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    margin-top: 20px;
}
.location_info {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-top: 60px;
    text-align: left;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}
.location_info .info_block {
    flex: 1;
}
.info_block h3 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 500;
    border-bottom: 2px solid #0B3F59;
    padding-bottom: 15px;
    color: #0B3F59;
}
.info_block p {
    font-size: 15px;
    color: #555;
    line-height: 2;
}
.info_block .small_text {
    font-size: 13px;
    color: #777;
    line-height: 1.6;
}

/* 반응형 */
@media (max-width: 992px) {
    .story_content {
        flex-direction: column;
    }
}
@media (max-width: 768px) {
    .co_title {
        font-size: 26px;
        margin-bottom: 40px;
    }
    .location_info {
        flex-direction: column;
        text-align: center;
    }
    .info_block h3 {
        display: inline-block;
    }
    .history_timeline th, .history_timeline td {
        display: block;
        width: 100% !important;
        text-align: center;
        padding-left: 10px;
        padding-right: 10px;
    }
    .history_timeline th {
        padding-bottom: 10px;
    }
    .history_timeline td {
        padding-top: 0;
    }
    .btn_bar {
        flex-direction: column;
        align-items: center;
    }
    .btn_promo {
        max-width: 100%;
        width: 100%;
    }
}

