@charset "utf-8";
/* CSS Document */

/* 모바일 : 2025 해외투자 포트폴리오 */
/* S : Common Set */
body {
  line-height: 1.5;
  font-family: 'Noto Sans KR', sans-serif, 'Nanum Gothic', '맑은고딕', Malgun Gothic, '돋움', Dotum, '굴림', Gulim, Helvetica, Apple Gothic, Arial, sans-serif;
  color: #333;
  -webkit-text-size-adjust: none; /* 가로세로 전환시 폰트사이즈 고정 */
}

/* 타이틀 숨김 */
.blind {position: absolute; left: -9999px; width: 0; height: 0; font-size: 0; line-height: 0;}
.hide {display: none;}

/* Link Set */
a:link {color: #333; text-decoration: none;}
a:visited {color: #333; text-decoration: none;}
a:hover {color: #333; text-decoration: none;}
a:active {color: #333; text-decoration: none;}
a:focus {color: #333; text-decoration: none;}

/* Form Style */
input {width: 100%; padding: 10px 10px 12px 10px; border: none; font-size: 0.9rem; background-color: #f1f1f1;}
input:focus {outline: 1px solid #ccc;} /* 선택 시 outline 테두리 */
select:focus {outline: none;}
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #ccc;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #ccc;
}
::-ms-input-placeholder { /* Microsoft Edge */
  color: #ccc;
}


/* TOP으로 이동 */
.movetop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  z-index: 1;
  text-indent: -9999px;
  background: rgba(255, 255, 255, 0.5) url(../images/icon.png) no-repeat 14px 10px / 50%;
  border: 1px solid #ccc;
  border-radius: 12px;
  cursor: pointer;
}
/* E : Common Set */



/*** Header ***/
header {background-color: #00b16a;}
h1 {display: flex; justify-content: center; align-items: center;}
h1 a {display: inline-block; text-indent: -9999px; width: 180px; background: transparent url(../images/logo.png) no-repeat center / 50%;}
.logoarea button {
  position: absolute; right: 0; top: 0; width: 50px; height: 50px; text-indent: -9999px;
  background: transparent url(../images/ico_allmenu.png) no-repeat center / 60%; border: none;
}
 


/*** 상단이미지 ***/
.topimg {display: flex; justify-content: center; align-items: center; flex-direction: column; padding: 5% 15%;}
.topimg p:nth-child(1) {display: flex; justify-content: center; margin-bottom: 20px;}
.topimg p:nth-child(1) img {width: 80%;}

.topimg_sub {display: flex; justify-content: center; align-items: center; flex-direction: column; padding: 5% 15%;}
.topimg_sub p:nth-child(1) {display: flex; justify-content: center; margin-bottom: 20px;}
.topimg_sub p:nth-child(1) img {width: 60%;}
.topimg_sub p:nth-child(2) {width: 90%;}



/* 전체메뉴 */
.allnav {position: absolute; right: 10px; top: 10px; z-index: 999; padding-top: 20px; border-radius: 20px; background-color: #2c3e50;}
.allnav button {
  position: absolute; right: 5px; top: 5px; width: 40px; height: 40px; text-indent: -9999px;
  background: transparent url(../images/ico_close.png) no-repeat center / 40%; border: none;
}
.allnav nav ul {margin: 20px;}
.allnav nav ul li a {display: block; padding: 10px 10px; color: #fff; border-bottom: 1px dashed #00b16a;}
.allnav nav ul li:last-child a {border-bottom: none;}



/*** Footer ***/
footer {padding: 20px 0 40px 0; border-top: 1px solid #ddd; background-color: #f8f8f8;}
footer p {font-weight: bold; margin-bottom: 10px; font-size: 0.95rem;}
address {margin: 4px 0 5px 0; font-style: normal;}
address span {margin-right: 20px; font-size: 0.8rem; color: #666; line-height: 1.2; display: inline-block;}
address span:nth-child(1) {display: block; margin-bottom: 5px;}
small {font-size: 0.7rem; color: #999;}



/*** Layout ***/
.container {padding: 20px 0 100px 0; background-color: #deece6;}
.inwrap {margin: 0 15px;}
.w_pad {margin: 0 15px;}
h2 {padding: 8px 20px; color: #fff; font-size: 1.1rem; border-radius: 8px; background-color: #2c3e50;}


/*** container ***/
/* 타이틀 박스 */
.titbox {margin-bottom: 10px; padding: 25px 30px; background-color: #fff; border-top-left-radius: 50px; border-top-right-radius: 50px;}
.titbox p:nth-child(1) {display: flex; align-items: center; margin-bottom: 5%;}
.titbox p:nth-child(1) span:nth-child(1) {margin-right: 20px;}
.con01 p:nth-child(1) span:nth-child(2) img {width: 94%;}


/* 기본 테이블 */
table {border-spacing: 0; width: 100%; border-collapse: collapse;}
table, th, td {padding: 10px 8px; vertical-align: middle; font-size: 0.85rem; border: 1px solid #ccc;}
table th {background-color: #eee;}
table td {background-color: #fff; text-align: right;}
caption {font-weight: bold; text-align: left; color: #2e54ce; margin: 10px 0;}
.note {display: flex; flex-direction: column; font-size: 0.8rem; color: #AAA; margin-bottom: 40px;}
.date {padding: 4px 10px; text-align: right; color: #666; font-size: 0.9rem;}
.greenbg {padding: 10px 20px; font-size: 0.95rem; color: #fff; font-weight: normal; text-align: left; background-color: #00b16a;}
.table01, .table02 {margin: 8px 0; width: 900px;}
.table03 {margin-bottom: 40px;}
.table03 td {padding: 6px 8px;}
.table03 tr > td:nth-last-child(2) {text-align: left;}
.table03 tr > td.sum {padding: 8px 8px; text-align: center; font-weight: bold;}
.table03 .greenbg {text-align: center;}
.width40 {width: 40px;}


/* 테이블 스크롤 */
.scrollbox {padding: 0 15px; overflow-x: auto;}


/* 해외투자 포트폴리오 온오프 박스 */
.onoffbox {margin-top: 20px; margin-bottom: 30px; padding-bottom: 30px; border-bottom: 1px dashed #ccc;}
.btnbox {display: flex; justify-content: center;}
.btnbox p {
  display: flex; justify-content: space-between; align-items: center; flex-direction: column; padding: 20px; width: 100%;
  border-radius: 10px; background-color: #2c3e50;
}
.btnbox p img {margin-right: 0; margin-bottom: 20px;}
.btnbox p button {padding: 6px 40px 6px 20px; font-size: 1rem; color: #fff; border-radius: 50px; border: none;}
.btnbox p button.down {background: #00b16a url(../images/arrow_down.png) no-repeat right 20px center / 10%;}
.btnbox p button.up {background: #00b16a url(../images/arrow_up.png) no-repeat right 20px center / 10%;}

.graphbox {border: 1px solid #ccc; margin-top: 20px;}
.graphbox_tit {padding: 12px 0; text-align: center; font-weight: bold; font-size: 1.1rem; color: #333; background-color: #eee;}
.graphbox_con {display: flex; justify-content: center; flex-direction: column; padding: 15px; background-color: #fff;}
.instruction {margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px dashed #ddd;}
.instruction p {margin-bottom: 20px; font-size: 0.95rem;}
.instruction p:last-child {margin-bottom: 0;}
.instruction p img {width: 80%;}
.graphimg {display: flex; justify-content: center; align-items: center; border: 1px solid #ddd;}


/* 버튼탭 */
.btntab {display: flex; justify-content: center; align-items: center; margin: 20px;}
.btntab button {padding: 10px 20px; font-size: 1rem; color: #333; background-color: #eefff8; border: none;}
.btntab button:nth-child(1) {border-top-left-radius: 20px; border-bottom-left-radius: 20px;}
.btntab button:nth-child(2) {border-top-right-radius: 20px; border-bottom-right-radius: 20px;}
.btntab button.on {color: #fff; background-color: #00b16a;}


/* 가로 섬네일 */
.thumb_h {position: relative; padding: 20px 10px; margin: 15px 0; background-color: #eefff8;}
.thumb_h a {display: flex;}
.thumb_h .thumb {position: relative; background-color: #eee; flex-basis: 130px; margin-right: 15px; height: 84px; border: 1px solid #ddd; border-radius: 20px;}
.thumb_h .thumb img {width: 100%; height: 100%; border-radius: 20px;}
.thumb_h .txt {flex: 1;}
.thumb_h .category {margin-bottom: 5px; color: #00b16a; font-weight: bold; font-size: 0.95rem;}
.thumb_h .subject {display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 1.1rem; font-weight: bold; line-height: 24px;}


/* 더보기 */
.btn_more {display: flex; justify-content: center; margin-top: 30px;}
.btn_more a {padding: 10px 50px; font-size: 1rem; border-radius: 50px; border: 1px solid #ccc; background-color: #fff;}
.btn_more a:hover {text-decoration: none; color: #fff; border: 2px solid #2c3e50; background-color: #2c3e50;}

.chart-container {margin: 0 auto;}
.no-news {
    width: 80vw;            
    max-width: 300px;       
    aspect-ratio: 1 / 1;    
    margin: 40px auto;      
    display: flex;
    justify-content: center;
    align-items: center;
    color: #2c3e50;         
    font-size: 1.2rem;
    text-align: center;
    font-weight: bold;
}