@charset "utf-8";

/* 230720 SY */

/* common reset */
.clearfix::after {
  content: "";
  display: block;
  clear: both;
}
.txt_blind {
  overflow: hidden;
  display: inline-block;
  position: absolute;
  border: 0;
  width: 1px;
  height: 1px;
  -webkit-clip: rect(0, 0, 0, 0);
  -moz-clip: rect(0, 0, 0, 0);
  -ms-clip: rect(0, 0, 0, 0);
  -o-clip: rect(0, 0, 0, 0);
  clip: rect(0, 0, 0, 0);
  -webkit-clip-path: inset(50%);
  -ms-clip-path: inset(50%);
  clip-path: inset(50%);
}
.center {
  width: 1800px;
  margin: 0 auto;
  display: block;
}

/* select box */
.select_box_wrapper {
  width: 100%;
}
.select_box_wrapper .selct_box {
  float: left;
  position: relative;
  margin-bottom: 10px;
  margin-right: 10px;
}
.select_box_wrapper .selct_box .top_view {
  position: relative;
  background: #304095;
  border: 1px solid #304095;
  color: #fff;
  border-radius: 10px;
  padding: 0 30px 0 10px;
  height: 40px;
  line-height: 40px;
  font-size: 19px;
  text-align: left;
}

.select_box_wrapper .selct_box:nth-child(2) .top_view {
  min-width: 710px;
}

.select_box_wrapper .selct_box .top_view span {
}

.select_box_wrapper .selct_box .top_view:before {
  content: "";
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  border-bottom: 5px solid transparent;
  border-top: 5px solid #fff;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  top: 17px;
  right: 12px;
}
.select_box_wrapper .selct_box.open .top_view:before {
  border-bottom: 5px solid #fff;
  border-top: 5px solid transparent;
  top: 12px;
}

.select_box_wrapper .selct_box .select_list {
  display: none;
  position: absolute;
  border: 1px solid #304095;
  border-radius: 10px;
  background: #fff;
  padding: 12px 30px 5px 10px;
  z-index: 1;
}
.select_box_wrapper .selct_box:nth-child(2) .select_list {
  min-width: 710px;
}
.select_box_wrapper .selct_box.open .select_list {
  display: block;
}
.select_box_wrapper .selct_box .select_list .select_item {
  margin-bottom: 5px;
}
.select_box_wrapper .selct_box .select_list .select_item .select_item_a {
  font-size: 19px;
}
.select_box_wrapper .selct_box .select_list .select_item .select_item_a:hover {
  color: #e7204b;
  font-weight: 700;
}

.select_box_wrapper .chartView_btn {
  float: right;
  border-radius: 10px; /* background: #5a3f9c; */
  background: #475dc4;
  color: #fff;
  height: 40px;
  line-height: 40px;
  padding: 0 20px;
  border: 1px solid #475dc4;
  font-weight: 700;
}
.select_box_wrapper .chartView_btn:hover {
  background: #3a52bb;
}

/* chart box common */
.chart_box {
  border: 1px solid #304095;
  border-radius: 10px;
  background: #fff;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 30px 40px 30px 40px;
}
.chart_box h2 {
  color: #304095;
  text-align: center;
  font-size: 19px;
  font-weight: 800;
  padding-bottom: 10px;
}
.chart_box h3 {
  color: #304095;
  text-align: center;
  font-size: 19px;
  font-weight: 800;
}

.board_line_01 .chart_box h3 {
  letter-spacing: 18px;
}

/* chart common */
svg {
  display: block;
  width: 100%;
  background: transparent;
  overflow: visible;
}
svg rect.selection {
  stroke: none;
}

#root {
  max-width: 1500px;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  height: 100vh;
  max-height: 2000px;
  padding: 0 50px;
  text-align: center;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/* legend */
.bg_01 {
  background: #5159ac;
}
.bg_02 {
  background: #00af50;
}
.bg_03 {
  background: #01cd9c;
}
.bg_04 {
  background: #54bad1;
}
.bg_05 {
  background: #06909d;
}
.bg_06 {
  background: #00286e;
}
/* .bg_01 { background: #73A1DA; }
.bg_02 { background: #2C65AA; }
.bg_03 { background: #4A6B8C; }
.bg_04 { background: #688AAD; } 
.bg_05 { background: #327ACC; } 
.bg_06 { background: #00286E; } */

.unit {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 15px;
  text-align: right;
  margin-bottom: 15px;
}
.board_section_01 .unit {
  padding-right: 35px;
}

.legend .item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.legend .item .square {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 5px;
  margin-top: 9px;
}
.legend .item .txt {
  color: #012060; /* font-weight: 400; */
  font-size: 17px;
  font-family: "Noto Sans KR";
}
.board_section_02 .legend .item .square {
  margin-top: 6px;
}
.board_section_02 .legend .item .txt {
  font-size: 14px;
}

.hover_txt {
  position: absolute;
  padding: 5px;
  border: 1px solid #304095;
  border-radius: 5px;
  background: #fff;
  z-index: 999;
  font-size: 15px;
  line-height: 1;
  font-family: "Noto Sans Kr", sans-serif;
  font-weight: 400;
  left: 164px;
  top: 124px;
}
.hover_txt .value {
  display: block;
  margin-top: 5px;
  text-align: right;
  color: #304095;
}

/* PC */
body {
  background: #f2f2f2;
}

.wrap {
  width: 100%;
  position: relative;
  padding-bottom: 130px;
}
header {
  text-align: center;
  margin-bottom: 30px;
  padding-top: 50px;
}
header h1 {
  font-family: "GmarketSans";
  font-weight: 700;
  color: #304095;
  font-size: 36px;
}

footer {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 130px;
  background: #444;
  text-align: center;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
footer .f_logo {
  padding-top: 40px;
}

.board_wrapper {
  padding: 20px 0 40px;
}

/* section01 */
.board_section_01 {
  margin-bottom: 40px;
}
.board_section_01 .chart_box {
  padding-bottom: 50px !important;
  position: relative;
}

/* chart00 : 향후 5년 */
.dataChart00 {
  position: relative;
  padding-bottom: 177px;
  padding-left: 40px;
}
.dataChart00 svg {
}
.dataChart00 .unit {
  text-align: right;
  margin-bottom: 15px;
}
/* 막대 수치 텍스트 */
.dataChart00 svg text {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 15px;
  fill: #ffffff;
  font-weight: 500;
}
/* x축 텍스트 */
.dataChart00 svg g.tick text {
  font-size: 15px;
  fill: #595959;
  font-family: "Noto Sans KR", sans-serif;
  font-weight: 400;
}
/* y축 텍스트 */
.dataChart00 svg text tspan {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 15px;
  fill: #595959;
}
.dataChart00 .legend {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  position: absolute;
  left: 50%;
  bottom: 0;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  height: 20px;
  width: 100%;
}
.dataChart00 .legend .item {
  margin: 0 35px;
}

/* section02 */
.board_section_02 {
  display: none;
}
.board_section_02.open {
  display: block;
}

/* hide button */
.tglBtn_wrap .tglBtn {
  width: 100%;
  height: 40px;
  line-height: 40px;
  border-radius: 10px;
  background: #002060;
  color: #fff;
  margin-bottom: 40px;
}
.tglBtn_wrap .tglBtn span {
  position: relative;
}
.tglBtn_wrap .tglBtn span.show {
  display: inline-block;
}
.tglBtn_wrap .tglBtn span.hide {
  display: none;
}
.tglBtn_wrap .tglBtn.open span.show {
  display: none;
}
.tglBtn_wrap .tglBtn.open span.hide {
  display: inline-block;
}
.tglBtn_wrap .tglBtn > span::before {
  content: "";
  display: block;
  position: absolute;
  width: 8px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  top: 13px;
  right: -20px;
}
.tglBtn_wrap .tglBtn.open span::before {
  -webkit-transform: rotate(-135deg);
  -ms-transform: rotate(-135deg);
  transform: rotate(-135deg);
  top: 17px;
}

/* section02_line01 */
.board_section_02 .board_line_01 {
  margin-bottom: 20px;
}
.board_section_02 .board_line_01 .chart_box {
  float: left;
  margin-right: 1.25%;
  padding: 25px 25px 25px 25px;
  height: 404px;
}

.board_section_02 .board_line_01 .chart_box:nth-child(1) {
  width: 26%;
}
/* .board_section_02 .board_line_01 .chart_box:nth-child(1) h3 { padding-bottom: 0; } */
.board_section_02 .board_line_01 .chart_box:nth-child(2) {
  width: 35.75%;
}
.board_section_02 .board_line_01 .chart_box:last-child {
  width: 35.75%;
  margin-right: 0;
}

/* chart01 : 성별 */
.dataChart01 {
  min-height: 210px;
}
.chart_wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding-bottom: 30px;
  padding-top: 15px;
}
.dataChart01_1 {
  position: relative;
  margin-right: 20px;
}
.dataChart01_2 {
  position: relative;
}
.dataChart01_1 > svg,
.dataChart01_2 > svg {
  width: 180px;
}
.dataChart01_1::after,
.dataChart01_2::after {
  content: "";
  display: block;
  width: 90px;
  height: 90px;
  position: absolute;
  background: url(../img/sub/dashBoard_img_01.png);
  left: 45px;
  top: 45px;
}
.dataChart01_2::after {
  background: url(../img/sub/dashBoard_img_02.png);
}
.dataChart01_1 > svg text,
.dataChart01_2 > svg text {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 15px;
  fill: #ffffff;
  font-weight: 500;
}
.board_line_01 .chart_box:first-child .legend {
  padding-left: 20px;
}
.board_line_01 .chart_box:first-child .legend .item {
  float: left;
  width: 50%;
}

/* chart02 : 연령별 */
.dataChart02 {
  position: relative;
  padding-left: 30px;
  padding-bottom: 38px;
  margin-top: -30px;
}
/* 막대 수치 텍스트 */
.dataChart02 svg text {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 24px;
  fill: #ffffff;
  font-weight: 500;
}
/* x,y축 텍스트 */
.dataChart02 svg g.tick text {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 23px;
  fill: #595959;
  font-weight: 400;
}
.dataChart02 .legend {
  position: absolute;
  left: 0;
  bottom: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  width: 100%;
  padding-left: 20px;
}
.dataChart02 .legend .item {
  width: 37%;
  padding-left: 0px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.dataChart02 .legend .item:nth-child(3) {
  width: 26%;
}

/* chart03 : 학력별 */
.dataChart03 {
  position: relative;
  padding-bottom: 38px;
  padding-left: 30px;
  margin-top: -30px;
}
/* 막대 수치 텍스트 */
.dataChart03 svg text {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 24px;
  fill: #ffffff;
  font-weight: 500;
}
/* x,y축 텍스트 */
.dataChart03 svg g.tick text {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 23px;
  fill: #595959;
  font-weight: 400;
}
.dataChart03 .legend {
  position: absolute;
  left: 0;
  bottom: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  width: 100%;
  padding-left: 20px;
}
.dataChart03 .legend .item {
  width: 37%;
  padding-left: 0px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.dataChart03 .legend .item:nth-child(3) {
  width: 26%;
}

/* section02_lin02 */
.board_section_02 .board_line_02 {
  margin-bottom: 20px;
}
.board_section_02 .board_line_02 .chart_box {
  float: left;
  width: 49.375%;
  margin-right: 1.25%;
}
.board_section_02 .board_line_02 .chart_box:last-child {
  margin-right: 0;
}

/* chart04 : 가구소득별 */
.dataChart04 {
  position: relative;
  padding-bottom: 35px;
  padding-left: 100px;
  margin-top: -30px;
}
/* 막대 수치 텍스트 */
.dataChart04 svg text {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 20px;
  fill: #ffffff;
  font-weight: 500;
}
/* x,y축 텍스트 */
.dataChart04 svg g.tick text {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 19px;
  fill: #595959;
  font-weight: 400;
}
.dataChart04 .legend {
  position: absolute;
  left: 0;
  bottom: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  width: 100%;
  padding-left: 50px;
}
.dataChart04 .legend .item {
  width: 37%;
  padding-left: 0px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.dataChart04 .legend .item:nth-child(3) {
  width: 26%;
}

/* chart05 : 개인소득별 */
.dataChart05 {
  position: relative;
  padding-bottom: 35px;
  padding-left: 100px;
  margin-top: -30px;
}
/* 막대 수치 텍스트 */
.dataChart05 svg text {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 20px;
  fill: #ffffff;
  font-weight: 500;
}
/* x,y축 텍스트 */
.dataChart05 svg g.tick text {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 19px;
  fill: #595959;
  font-weight: 400;
}
.dataChart05 .legend {
  position: absolute;
  left: 0;
  bottom: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  width: 100%;
  padding-left: 50px;
}
.dataChart05 .legend .item {
  width: 37%;
  padding-left: 0px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.dataChart05 .legend .item:nth-child(3) {
  width: 26%;
}

/* 스크롤 스타일 추가 */
div::-webkit-scrollbar {
  width: 0px;
  height: 8px;
}
div::-webkit-scrollbar-track {
  background: #e9eaf0;
  border-radius: 5px;
}
div::-webkit-scrollbar-thumb {
  background: #d3d6e1;
  border-radius: 5px;
}
div::-ms-scrollbar {
  width: 0px;
  height: 8px;
}
div::-ms-scrollbar-track {
  background: #e9eaf0;
  border-radius: 5px;
}
div::-ms-scrollbar-thumb {
  background: #d3d6e1;
  border-radius: 5px;
}
div::-moz-scrollbar {
  width: 0px;
  height: 8px;
}
div::-moz-scrollbar-track {
  background: #e9eaf0;
  border-radius: 5px;
}
div::-moz-scrollbar-thumb {
  background: #d3d6e1;
  border-radius: 5px;
}

/* Mobile */
@media screen and (max-width: 900px) {
  header {
    margin-bottom: 0;
  }
  footer .center {
    width: 100%;
  }
  .select_box_wrapper .chartView_btn {
    display: none;
  }
  .board_wrapper {
    padding: 40px 20px 0;
  }
  .board_wrapper .center {
    width: 100%;
  }
  .chart_box {
    padding: 30px 20px 30px 20px;
    border-radius: 7px;
  }
  .tglBtn_wrap .tglBtn {
    border-radius: 7px;
  }
  .select_box_wrapper .selct_box .top_view {
    position: relative;
    border-radius: 7px;
    font-size: 15px;
  }
  .select_box_wrapper .selct_box .top_view span {
    display: block;
    width: 100%;
  }
  .select_box_wrapper .selct_box .select_list {
    border-radius: 7px;
  }
  .select_box_wrapper .selct_box .select_list .select_item .select_item_a {
    font-size: 15px;
  }
  .select_box_wrapper .selct_box:nth-child(2) .top_view {
    min-width: 0;
  }
  .select_box_wrapper .selct_box:nth-child(2) .select_list {
    min-width: 0;
  }

  .chart_box h2 {
    font-size: 20px;
  }
  .chart_box h3 {
    font-size: 18px;
  }
  .dataChart00 {
    overflow-x: auto;
    padding-top: 10px;
    padding-bottom: 180px;
  }
  .dataChart00 svg {
    width: 1400px;
  }
  .dataChart00 .legend {
    position: absolute;
    bottom: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    padding-bottom: 20px;
    padding-left: 20px;
  }
  .dataChart00 .legend .item {
    width: 37%;
    padding-left: 0px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 0;
  }
  .dataChart00 .legend .item:nth-child(3) {
    width: 26%;
  }
  .dataChart00 .legend .item .txt {
    font-size: 15px;
  }
  .board_section_02 .board_line_01 .chart_box .board_section_02 .board_line_01 {
    margin-bottom: 0;
  }
  .board_section_02 .board_line_01 .chart_box {
    width: 100% !important;
    margin-right: 0;
    margin-bottom: 20px;
    height: auto;
  }
  .board_section_02 .board_line_02 .chart_box {
    width: 100% !important;
    margin-right: 0;
  }
  .board_section_02 .board_line_02 .chart_box:not(:last-child) {
    margin-bottom: 20px;
  }

  /* 성별 파이 차트 */
  .board_section_02 .board_line_01 .chart_box:nth-child(1) .legend {
    width: 100% !important;
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -ms-flex-wrap: wrap !important;
    flex-wrap: wrap !important;
  }
  .board_section_02 .board_line_01 .chart_box:nth-child(1) .legend .item {
    width: 50% !important;
    margin-right: 0 !important;
  }

  .dataChart02 {
    overflow-x: auto;
    padding-bottom: 100px;
  }
  .dataChart02 svg {
    width: 791px;
  }
  .dataChart02 svg text {
    font-size: 18px;
  }
  .dataChart02 svg g.tick text {
    font-size: 18px;
  }
  .dataChart02 .legend {
    padding-bottom: 20px;
  }

  .dataChart03 {
    overflow-x: auto;
    padding-bottom: 100px;
    padding-top: 10px;
  }
  .dataChart03 svg {
    width: 791px;
  }
  .dataChart03 svg text {
    font-size: 18px;
  }
  .dataChart03 svg g.tick text {
    font-size: 18px;
  }
  .dataChart03 .legend {
    padding-bottom: 20px;
  }

  .dataChart04 {
    overflow-x: auto;
    padding-bottom: 100px;
    padding-left: 138px;
  }
  .dataChart04 svg {
    width: 801px;
  }
  .dataChart04 svg text {
    font-size: 20px;
  }
  .dataChart04 svg g.tick text {
    font-size: 18px;
  }
  .dataChart04 .legend {
    padding-bottom: 20px;
  }

  .dataChart05 {
    padding-left: 138px;
    padding-bottom: 100px;
    overflow-x: auto;
  }
  .dataChart05 svg {
    width: 801px;
  }
  .dataChart05 svg text {
    font-size: 20px;
  }
  .dataChart05 svg g.tick text {
    font-size: 18px;
  }
  .dataChart05 .legend {
    padding-bottom: 20px;
  }
}

@media screen and (max-width: 650px) {
  .select_box_wrapper {
    position: relative;
  }
  .select_box_wrapper .selct_box {
    width: 100%;
  }
  .select_box_wrapper .selct_box .top_view {
    width: 100%;
    text-align: left;
  }
  .select_box_wrapper .selct_box .top_view span {
    overflow: hidden;
    word-break: keep-all;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .select_box_wrapper .selct_box.open .select_list {
    width: 100%;
  }

  .dataChart00 .legend {
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
    width: 1000px !important;
  }
  .legend {
    padding-left: 0 !important;
    width: 880px !important;
    left: 0 !important;
    -ms-flex-wrap: nowrap !important;
    flex-wrap: nowrap !important;
  }
  .legend .item {
    width: auto !important;
    margin-right: 15px !important;
  }
  .legend .item .square {
    margin-top: 6px;
  }

  .dataChart02 {
    padding-left: 34px;
  }
  .dataChart02 svg {
    width: 670px;
  }
  .dataChart02 svg text {
    font-size: 19px;
  }
  .dataChart02 svg g.tick text {
    font-size: 18px;
  }

  .dataChart03 {
    padding-left: 34px;
  }
  .dataChart03 svg {
    width: 670px;
  }
  .dataChart03 svg text {
    font-size: 19px;
  }
  .dataChart03 svg g.tick text {
    font-size: 18px;
  }

  .dataChart04 {
    padding-left: 111px;
  }
  .dataChart04 svg text {
    font-size: 16px;
  }
  .dataChart04 svg g.tick text {
    font-size: 14px;
  }

  .dataChart05 {
    padding-left: 111px;
  }
  .dataChart05 svg text {
    font-size: 16px;
  }
  .dataChart05 svg g.tick text {
    font-size: 14px;
  }
}

@media screen and (max-width: 500px) {
  header {
    padding-top: 30px;
  }
  header h1 {
    font-size: 26px;
    padding: 0 20px;
  }
  .board_wrapper {
    padding: 30px 20px 0;
  }
}

@media screen and (max-width: 450px) {
  .chart_wrap {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .chart_wrap > div {
    width: 100% !important;
    margin-right: 0 !important;
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  .chart_wrap > div:first-child {
    margin-bottom: 15px;
  }
  .board_section_02 .board_line_01 .chart_box:nth-child(1) .legend .item {
    width: 100% !important;
  }
  .dataChart01_1::after,
  .dataChart01_2::after {
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
  }

  footer .center {
    padding: 0 20px;
  }
  footer .center img {
    width: 100%;
  }
}

/* 230823 10:47 */
