/* ============================================================
   KPFGH SKIN CSS
   국회국제보건의료포럼 그누보드5 스킨
   ============================================================ */

/* ── CSS 변수 ─────────────────────────────────────────────── */
:root {
    --primary:        #0A2D6E;   /* 의회 네이비 */
    --primary-dark:   #071e4d;   /* 호버용 진한 네이비 */
    --primary-light:  #e8edf7;   /* 연한 배경 */
    --accent:         #00417b;   /* 골드 포인트 */
    --accent-hover:   #00417b;
    --text:           #1e2535;
    --text-muted:     #5a6478;
    --border:         #dde2ed;
    --white:          #ffffff;
    --bg-light:       #f5f7fb;
    --trans:          0.22s ease;
}

/* ── 리셋 & 기본 ──────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
/* 초기화 */
html {font-size: 10px;line-height: 1.6; overflow-y:scroll;scroll-behavior: smooth;}
@media (max-width: 1780px) {
	html {font-size: 9.6px;}
}
@media (max-width: 1340px) {
	html {font-size: 9.5px;}
}
@media (max-width: 1280px) {
	html {font-size: 9.4px;	}
}
@media (max-width: 1080px) {
	html {font-size: 9.2px;	}
}
@media (max-width: 840px) {
	html {font-size: 9px;}
}
@media (max-width: 600px) {
	html {font-size: 8.8px;}
}

body {font-size:1.6rem;
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.cm-fl { float:left; }
.cm-fr { float:right; }
.clearfix{ *zoom: 1; }
.clearfix:after{content: ""; display: block; clear: both }
button {border: none; background: transparent;}

.sub_container {display: flex; flex-flow: row; margin: 100px auto; gap: 50px;}
.leftmenu_area {width: 23%;}
.leftmenu_area .leftmenu_top {text-align: center; background: var(--primary); color: var(--white); height: 100px; line-height: 100px; font-size: 3rem; font-weight: 600; border-radius: 15px 15px 0 0;}
.leftmenu_area .leftmenu {}
.leftmenu_area .leftmenu li {border: 1px solid #ddd; border-top: none; padding: 0;}
.leftmenu_area .leftmenu li:last-child {border-radius: 0 0 15px 15px; overflow: hidden;}
.leftmenu_area .leftmenu li a {padding: 15px 18px; display: block; box-sizing: border-box; width: 100%; font-size: 1.8rem;transition: all 0.25s ease-in-out; color: #000;}
.leftmenu_area .leftmenu li a:hover, .leftmenu_area .leftmenu li.active a {background: rgba(0, 65, 123, 0.1); font-weight: 500;}
.leftmenu_area .mobile-leftmenu {display: none;}
.rightcont_area {flex: 1;}
.rightcont_area .top_txt {border-bottom: 1px solid #ddd; margin-bottom: 30px; padding-bottom: 30px;}
.rightcont_area .top_txt .menu_tit {font-size: 4rem; font-weight: 600;}
.breadcrumb__seperator {color: #767676;}
.breadcrumb__item {color: #767676; font-size: 1.5rem; line-height: 1.5; letter-spacing: -0.02em; letter-spacing: normal;}
.breadcrumb__item_b {color: #000; font-size: 1.5rem; font-weight: 600; line-height: 1.5; letter-spacing: -0.02em; letter-spacing: normal;}
.p_wrap p {font-size: 1.8rem; word-break: keep-all;}
.p_wrap .greeting_sign {font-size: 2.3rem; padding-top: 50px; font-weight: 600;}
ul.tab01 {margin-bottom: 40px; display: flex; gap: 20px}
ul.tab01 li {background-color: #f4f5f6;border-radius: 0.75rem; width: 33.33%; text-align: center; height: 60px; line-height: 60px;}
ul.tab01 li a {flex: 1; font-size: 1.8rem; text-align: center; display: block; box-sizing: border-box; font-weight: 500;}
ul.tab01 li.active {background-color: var(--primary); color: #fff;}
ul.tab {margin-bottom: 40px; display: flex; gap: 20px;flex-wrap: wrap; /*justify-content: space-between;*/}
ul.tab li {background-color: #f4f5f6;border-radius: 0.75rem; width: calc(33% - 11px); text-align: center; height: 60px; line-height: 60px;}
ul.tab li a {flex: 1; font-size: 1.8rem; text-align: center; display: block; box-sizing: border-box; font-weight: 500;}
ul.tab li.active {background-color: var(--primary); color: #fff;}
.publish_tit {font-size: 3rem !important; color: var(--primary); font-weight: 600; padding-bottom: 5px;}
.publish_tit2 {font-size: 2.3rem !important; color: var(--primary); font-weight: 600; padding-bottom: 20px;}
.publish_icon .service-ul{display:flex; flex-flow: wrap; justify-content: space-between; margin-top:40px}
.publish_icon .service-ul > li{width:32%; margin-bottom: 20px;}
.publish_icon .service-ul > li {overflow:hidden;display:block;padding:32px 20px;border-radius:16px}
.publish_icon .service-ul > li:nth-child(1) {background-color:#fcd0b1}
.publish_icon .service-ul > li:nth-child(2) {background-color:#f2eb8f}
.publish_icon .service-ul > li:nth-child(3) {background-color:#f5a865}
.publish_icon .service-ul > li:nth-child(4) {background-color:#e5db5f}
.publish_icon .service-ul > li:nth-child(5) {background-color:#b5d073}
.publish_icon .service-ul > li:nth-child(6) {background-color:#add4bf}
.publish_icon .service-ul > li:nth-child(7) {background-color:#84cad2}
.publish_icon .service-ul > li:nth-child(8) {background-color:#bfa6ce}
.publish_icon .service-ul > li:nth-child(9) {background-color:#afdff4}
.publish_icon .service-ul > li > .img{display:block;margin:0 auto;width:64px;height:64px;background:url('../../images/publish_icon01.svg') no-repeat;background-size:64px auto;}
.publish_icon .service-ul > li:nth-child(2) .img{background-image:url('../../images/publish_icon02.png')}
.publish_icon .service-ul > li:nth-child(3) .img{background-image:url('../../images/publish_icon03.svg')}
.publish_icon .service-ul > li:nth-child(4) .img{background-image:url('../../images/publish_icon04.svg')}
.publish_icon .service-ul > li:nth-child(5) .img{background-image:url('../../images/publish_icon05.svg')}
.publish_icon .service-ul > li:nth-child(6) .img{background-image:url('../../images/publish_icon06.svg')}
.publish_icon .service-ul > li:nth-child(7) .img{background-image:url('../../images/publish_icon07.svg')}
.publish_icon .service-ul > li:nth-child(8) .img{background-image:url('../../images/publish_icon08.svg')}
.publish_icon .service-ul > li:nth-child(9) .img{background-image:url('../../images/publish_icon09.svg')}
.publish_icon .service-ul .tx1{display:block;text-align:center;margin-top:20px;font-size:1.6rem;line-height: 1.4; color:#333; word-break: keep-all;}

.mission_cont {margin-bottom: 100px;}
.mission_cont:last-child {margin-bottom: 0;}
.mission_tit {font-size: 3rem !important; color: var(--primary); font-weight: 600; padding-bottom: 30px; text-align: center; position: relative; margin-bottom: 40px;}
.mission_tit:after {content: ''; position: absolute; width: 100px; height: 1px; bottom: 0; left: 50%; transform: translateX(-50%); background-color: var(--primary);}
.mission_txt {text-align: center;}

.ci_cont {margin: 100px 0;}
.ci {padding: 100px 30px; border: 1px solid #ddd; border-radius: 20px; overflow: hidden; display: flex; justify-content: center;}
.ci img {width: 300px;}
.ci2 {padding: 100px 30px; border: 1px solid #ddd; border-radius: 20px; overflow: hidden; display: flex; justify-content: center;}

.pc {display: block;}
.mo {display: none;}

@media (max-width: 980px) {
    .publish_icon .service-ul > li{width:49%; margin-bottom: 20px;}
}

@media (max-width: 920px) {
    .mission_txt br {display: none;}
}

@media (max-width: 768px) {
    .sub_container {display: block; margin: 30px auto 80px;}
    .leftmenu_area {width: 100%; margin-bottom: 50px;}
    .leftmenu_area .leftmenu {display: none;}
    .leftmenu_area .mobile-leftmenu {display: block;width: 100%;
        max-width: 100%;            /* 콘텐츠 영역을 벗어나지 않게 설정 */
        padding: 12px 15px;
        font-size: 16px;
        color: #333;
        border: 1px solid #ccc;
        border-radius: 4px;
        background-color: #fff;
        font-weight: 500;
        cursor: pointer;
        outline: none;
        box-sizing: border-box;
        
        /* 꿀팁: 본문 콘텐츠나 타이틀과의 간격을 위해 위아래 여백을 줍니다 */
        margin: 15px 0;}
    
    ul.tab01 {gap: 10px}
    ul.tab01 li {height: 40px; line-height: 40px;}
    ul.tab {gap: 10px}
    ul.tab li {width: calc(33% - 5px); height: 40px; line-height: 40px;}

    
    .mission_cont {margin-bottom: 80px;}
    
    .ci_cont {margin: 80px 0;}
    .ci {padding: 60px; border: 1px solid #ddd; border-radius: 20px; overflow: hidden; display: flex; justify-content: center;}
    .ci2 {padding: 60px; border: 1px solid #ddd; border-radius: 20px; overflow: hidden; display: flex; justify-content: center;}
    
    .pc {display: none;}
    .mo {display: block;}
}

@media (max-width: 519px) {
    ul.tab li {width: calc(33% - 6px);}
}


.president-list {display: flex; flex-wrap: wrap; align-items: stretch; justify-content: center; margin: 0 -15px;}
.president-list>li {width: 33.33%; padding: 0 15px; margin-bottom: 30px;}
.president-list>li span {display: block;}
.president-list>li .img {margin-bottom: 15px; border-radius: 15px; overflow: hidden; background: #f4f5f6; text-align: center; }
.president-list>li .img.no-img {}
.president-list>li .position {font-size: 1.5rem; color: #666; padding-bottom: 5px;}
.president-list>li .name {font-size: 2rem; color: #000; font-weight: 600;}
.president-list>li i {font-size: 3rem; color: #d5d5d5;}
.member {margin-top: 80px;}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

@media screen and (max-width: 768px) {
    .long-table table { 
    display: block;
    width: 100%;
    overflow-x: auto;            /* 가로 방향으로 넘칠 때만 스크롤 바 생성 */
    -webkit-overflow-scrolling: touch; /* iOS(아이폰)에서 부드러운 스크롤 지원 */
    white-space: nowrap;         /* 표 안의 텍스트가 강제로 줄바꿈되지 않도록 고정 */
  }
}
/***** 공통 테이블 *****/
.business-cm-table {
    width: 100%;
    border-top: 3px solid #000;
}

.business-cm-table th {
    padding: 2.1rem 0;
    background-color: #f4f3f1;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
    color: #333;
}

.business-cm-table th:last-child {
    border-right: 0;
}

.business-cm-table td {
    padding: 2rem 1.7rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.6;
    color: #333;
    box-sizing: border-box;
    word-break: keep-all;
}

.business-cm-table td.text-align-left {
    text-align: left;
}

.business-cm-table td:last-child {
    border-right: 0;
}

@media (max-width: 768px) {
    .president-list>li {width: 50%; padding: 0 15px; margin-bottom: 30px;}
}


.wrap_controllers {display: none;}
.map-box {
    width: 100%;
    height: 540px;
    position: relative;
    margin-bottom: 50px;
}

.map-bg {
    position: relative;
    width: 100%;
    height: 100%
}

.map-bg__img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover
}

.map-bg__logo {
    position: absolute;
    top: 45%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    z-index: 1;
    width: 16.9375em
}

.come-info {
    background-color: #fff;
    width: 85%;
    position: absolute;
    bottom: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    padding: 1.875em 1.25em;
    border: 1px solid #f4f5f6;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: space-evenly;
    -ms-flex-pack: space-evenly;
    justify-content: space-evenly;
    -webkit-column-gap: 1.25em;
    -moz-column-gap: 1.25em;
    column-gap: 1.25em;
    z-index: 1
}


.come-info .list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-column-gap: 0.625em;
    -moz-column-gap: 0.625em;
    column-gap: 0.625em
}
.come-info .list:first-child {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;  
    width: 100%;
    
    /* 주소 내용을 가운데로 정렬 */
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    
    margin-bottom: 15px;
}
@media (max-width: 1024px) {
    .come-info {
        -webkit-box-orient:vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        row-gap: 1.25em
    }
    .come-info .list:first-child {
        width: auto;    
        margin-bottom: 0px;
    }
}


.come-info .list .icon {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content
}
.come-info .list i {color: var(--primary); font-size: 1.8rem}

.come-info .list .info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-column-gap: 0.625em;
    -moz-column-gap: 0.625em;
    column-gap: 0.625em
}

.come-info .list .info .tit {
    font-size: 1.5rem;
    color: #111
}

.come-info .list .info .text {
    font-size: 1.5rem;
    color: #666
}

.traffic-wrap__title {
    font-size: 2rem;
    font-weight: 600;
    color: #394fe3
}

.traffic-box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    gap: 3.125em;
    flex-direction: column;
}

@media (max-width: 1024px) {
    .traffic-box {
        -webkit-box-orient:vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        row-gap: 1.25em;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start
    }
}

.traffic-box__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-column-gap: 1.5625em;
    -moz-column-gap: 1.5625em;
    column-gap: 1.5625em
}

.traffic-box__list .icon {
    width: 80px;
    height: 80px
}
.traffic-box .caution {font-size: 1.8rem; color: #000;}

@media (max-width: 1024px) {
    .traffic-box__list .icon {
        width:65px;
        height: 65px
    }
}

.traffic-box__list .tit p {
    font-size: 1.8rem;
    font-weight: 500;
    padding-bottom: 10px;
    color: #111
}

.traffic-box__list .tit span {
    font-size: 1.5rem;
    color: #666
}


.global {margin-bottom: 100px; position: relative;}
.global:last-child {margin-bottom: 0;}
.global p.txt {font-size: 1.8rem; word-break: keep-all;}
.global_img {width: 100%; border-radius: 20px; overflow: hidden; margin-bottom: 30px;}
.global_img img {width: 100%;}
.global_img2 {width: 100%; border:1px solid #ddd; border-radius: 20px; overflow: hidden; margin-bottom: 30px; display: flex; justify-content: center;}
.global_slogan {background: rgba(0, 65, 123, 0.05); text-align: center; font-size: 2.5rem; padding: 30px 50px; word-break: keep-all; margin-bottom: 30px; border-radius: 20px; overflow: hidden;}
.dot li {position: relative; padding-left: 15px; font-size: 1.8rem; margin-bottom: 10px; line-height: 1.4; word-break: keep-all;}
.dot li:before {content: ''; position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #333; left: 0; top: 10px;}
.dot li:last-child {margin-bottom: 0;}
.publish_sub_tit {font-size: 2.3rem; font-weight: 600;}
.global .d_btn {position: absolute; top: 0; right: 0;}

@media all and (max-width: 768px) {
    .global_slogan {font-size: 2rem; padding: 30px;}
}

/* Timeline Style */
.timeline {
  position: relative;
}

.timeline__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 10px;
  width: 1px;
  background-color: #e0e0e0;
}

.timeline__items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline__item {
  position: relative;
  padding-left: 35px;
  margin-bottom: 25px;
}

.timeline__top {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.timeline__circle {
  position: absolute;
  left: 3px;
  width: 16px;
  height: 16px;
  background-color: #0A2D6E;
  border-radius: 50%;
  z-index: 1;
}

.timeline__title {
  font-size: 2.3rem;
  font-weight: bold;
  color: #0A2D6E;
}

.timeline__title a {
  color: #0A2D6E;
  text-decoration: none;
}

.timeline__title a:hover {
  text-decoration: underline;
}

.timeline__desc {
  background-color: #f5f5f5;
  border-radius: 6px;
  padding: 15px;
  color: #666;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.timeline__desc p {display: flex;
  align-items: flex-start; /* 날짜와 본문의 상단 라인을 맞춤 */
  line-height: 1.5;        /* 줄간격을 여유 있게 조절 (원하는 대로 변경 가능) */
  margin-bottom: 8px; word-break: keep-all;}
.timeline__desc span {color: #333; flex-shrink: 0;          /* 화면이 줄어들어도 날짜 너비가 좁아지지 않도록 고정 */
  width: 90px;             /* 날짜가 차지할 공간 (글자 수에 맞춰 적당히 조절) */
  margin-right: 12px;      /* 날짜와 우측 텍스트 사이의 간격 */
  font-weight: bold;}

/* Responsive adjustments */
@media (max-width: 768px) {
  .timeline__item {
    padding-left: 35px;
  }
  
  .timeline__line {
    left: 15px;
  }
  
  .timeline__circle {
    left: 8px;
  }
    .timeline__desc span {width: 70px;}
}


/* 공통 :: 버튼 */
.cm-main-btn{position: relative; display: flex; align-items:center; justify-content:space-between; width:26rem; height:5rem; border-radius:2.5rem; overflow:hidden; padding:0 3rem; box-sizing:border-box;}
.cm-main-btn:before{position: absolute; content:''; top:0; left:0; width:100%; height:100%; border:2px solid #0A2D6E; border-radius:3rem; box-sizing:border-box;}
.cm-main-btn .txt{position: relative; font-size:1.5rem; color:#0A2D6E; font-weight:600; z-index:1; transition:all 0.4s ease-in-out;}
.cm-main-btn .icon{position: absolute; top:50%; right:2rem; transform:translateY(-50%); width:1.2rem; height:1.2rem; border-radius:50%; background:#0A2D6E; transition:all 0.4s ease-in-out;}
.cm-main-btn .hover-icon{position: absolute; top:50%; right:2rem; transform:translateY(-50%); width:1.2rem; height:1.2rem; border-radius:50%; background:#fff; transition:all 0.4s ease-in-out; opacity:0;}
.cm-main-btn:hover .txt{color:#fff;}
.cm-main-btn:hover .icon{width:60rem; height:60rem; right:-28rem;}
.cm-main-btn:hover .hover-icon{opacity:1;}

