@charset "utf-8";
/* CSS Document */

/***************************************
 * Infomation : 토양지하수종합정보시스템
 * FileName   : newmain.css 
 * Update     : 2026.09.21.
****************************************/

:root {

    /* main_section02 */
    --main-card-01: #723907;
    --main-card-02: #5233aa;
    --main-card-03: #045e29;
    --main-card-04: #016cb4;
    --main-card-05: #007a7f;
    
    --main-inner: 1200px;

}

/*##################### Main GNB #####################*/
#header .header_gnb h1 a{ background: url("../images/common/logo_main.png") no-repeat;}
#header .header_gnb:hover h1 a{background: url("../images/common/logo.png") no-repeat;}

#header .header_gnb{ position: absolute; width: 100%;}
#header .header_gnb:hover{ background-color: #fff;}
#header .header_gnb .gnb-menu .gnb-menu-list .gnb-menu-item{ color: #fff;}
#header .header_gnb:hover .gnb-menu .gnb-menu-list .gnb-menu-item{ color: #1d1d1d;}
.submenuBg{ top: 100px;}

#header .header_gnb::before{ display: none;}
#header .header_gnb:hover::before{ display: block;}

.main_inner{ width: var(--main-inner); margin: 0 auto;}

/*##################### main_section01 #####################*/
.main_section01{ height: 867px; background: url("../images/newmain/newmain_visual_img.jpg") no-repeat; background-size: cover;}
.main_section01 .main_inner{ height: 100%; display: flex; flex-direction: column; justify-content: space-between;}

.main_slogan{ font-family: 'Escoredream'; color: #fff; text-align: center; padding-top: 155px;}
.main_slogan .text01{ font-size: 68px; font-weight: 400;}
.main_slogan .text01 strong{ font-weight: 600;}
.main_slogan .text02{ font-size: 24px;}

/* Main Slogan Event */
.main_slogan .text01 .t01.wave{}
.main_slogan .text01 .t02.wave{}
.text02.wave_anim .wave{}

.wave_anim {
	overflow: hidden;
}

.wave_anim .wave {
	animation-duration: 5s;
	animation-iteration-count: infinite;
	animation-fill-mode: both;
}

.wave_anim > .wave {
	display: inline-block;
}

/* delay 없음 (0s) : 0%~28% 구간(=1.4s/5s)에서 wave 재생, 나머지는 유지 */
.main_slogan .text01 .t01.wave{
	animation-name: common_wave_d0;
}
@keyframes common_wave_d0 {
	0%   { opacity: 0; transform: translateY(125%); animation-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);}
	28%  { opacity: 1; transform: translateY(0);}
	100% { opacity: 1; transform: translateY(0);}
}

/* delay 0.2s : 0.2s/5s=4% 지점까지 대기 후 28% 재생 → 32%에서 완료 */
.main_slogan .text01 .t02.wave{
	animation-name: common_wave_d2;
}
@keyframes common_wave_d2 {
	0%   { opacity: 0; transform: translateY(125%);}
	4%   { opacity: 0; transform: translateY(125%); animation-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);}
	32%  { opacity: 1; transform: translateY(0);}
	100% { opacity: 1; transform: translateY(0);}
}

/* delay 0.6s : 0.6s/5s=12% 지점까지 대기 후 28% 재생 → 40%에서 완료 */
.text02.wave_anim .wave{
	animation-name: common_wave_d6;
}
@keyframes common_wave_d6 {
	0%   { opacity: 0; transform: translateY(125%);}
	12%  { opacity: 0; transform: translateY(125%); animation-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);}
	40%  { opacity: 1; transform: translateY(0);}
	100% { opacity: 1; transform: translateY(0);}
}

.main_dash_copr_wrap{ overflow: hidden; display: flex; align-items: flex-end;}

.main_dashboard{ position: relative; padding: 38px 60px 0 60px; width: 820px; height: 485px; border-radius: 20px 20px 0 0; background-color: #01805a; box-shadow: 8px 5px 10px rgba(0, 0, 0, 0.1); display: flex; gap: 52px; z-index: 2;}

.main_dash_info{ flex: 1;}
.main_dash_info .tit{ padding-top: 10px; font-family: 'Escoredream'; font-size: 36px; color: #fff; line-height: 1.3;}

.main_dashboard .desc{ margin-top: 18px; font-size: 17px; color: #fff;}

.main_dash_map{ position: relative; width: 354px; height: 415px; background: url("../images/newmain/dashmap_bg.png") no-repeat;}

.main_dash_map .unit{ font-size: 13px; color: #c6ebe0; display: inline-flex; align-items: center; gap: 7px; position: absolute; top: 0; right: 0;}
.main_dash_map .unit::before{ content: ""; width: 3px; height: 3px; border-radius: 3px; background-color: #c6ebe0; display: inline-flex;}

.dm_info{ position: absolute;
  width: 52px; height: 52px; border-radius: 100%; display: inline-flex; flex-direction: column; justify-content: center; align-items: center; line-height: 1.2;
  border: 4px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box,
              linear-gradient(125deg, #eb950e, #17c434) border-box;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1)  ; 
}
.dm_info b{ font-size: 15px; letter-spacing: 0;}
.dm_info em{ font-size: 15px;}

.dash_b_04 .dm_info b{ letter-spacing: -.6px;}

.dm_info.dmi01{ left: 76px; top: 82px;} /* 서울 */
.dm_info.dmi02{ left: 10px; top: 53px;} /* 인천 */
.dm_info.dmi03{ left: 66px; top: 17px;} /* 경기 */
.dm_info.dmi04{ left: 169px; top: 46px;} /* 강원 */
.dm_info.dmi05{ left: 115px; top: 206px;} /* 대전 */
.dm_info.dmi06{ left: 86px; top: 147px;} /* 세종 */
.dm_info.dmi07{ left: 150px; top: 126px;} /* 충북 */
.dm_info.dmi08{ left: 20px; top: 160px;} /* 충남 */
.dm_info.dmi09{ left: 44px; top: 236px;} /* 전북 */
.dm_info.dmi10{ left: 62px; top: 321px;} /* 전남 */
.dm_info.dmi11{ left: 219px; top: 156px;} /* 경북 */
.dm_info.dmi12{ left: 155px; top: 287px;} /* 경남 */
.dm_info.dmi13{ left: 190px; top: 222px;} /* 대구 */
.dm_info.dmi14{ left: 262px; top: 240px;} /* 울산 */
.dm_info.dmi15{ left: 224px; top: 296px;} /* 부산 */
.dm_info.dmi16{ left: 288px; top: 345px;} /* 제주 */

.dashmap{ display: none;}
.dashmap.dash_b_01{ display: block;}

.dash_map_tab{ margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px;}
.dash_map_tab li{}
.dash_map_tab li:nth-child(1){ flex: 0 1 116px;}
.dash_map_tab li:nth-child(2){ flex: 0 1 166px;}
.dash_map_tab li:nth-child(3){ flex: 0 1 100%;}
.dash_map_tab li:nth-child(4){ flex: 0 1 100%;}
.dash_map_tab li button{ width: 100%; font-size: 17px; color: #fff; height: 40px; border-radius: 5px; border: 1px solid #fff; display: flex; align-items: center; justify-content: center;}

.dash_map_tab li.on button{ color: #026648; background-color: #fff;}

.main_copr{ position: relative; flex: 1; height: 455px; border-radius: 0 20px 0 0; background-color: #eef2f7; padding: 20px;}

.main_copr_top{ padding: 8px 0 0 15px; height: 76px;}
.main_copr_top .tit{ font-family: 'Escoredream'; font-size: 24px; margin-bottom: 4px;}
.main_copr_top .date{ font-size: 13px; color: #464c53; letter-spacing: 0;}

.corp_info_list{ position: relative; border-bottom: 1px solid #cdd1d5; padding-bottom: 20px;}
.corp_info_list::after{ content: ""; width: 111px; height: 69px; background: url("../images/newmain/copr_img.png") no-repeat; position: absolute; right: 8px; top: -69px;}

.corp_info_list li{ }
.corp_info_list li:not(:first-child){ margin-top: 5px;}
.corp_info_list li a{ position: relative; height: 40px; padding: 0 50px 0 20px; border-radius: 8px; background-color: #fff; display: flex; align-items: center; justify-content: space-between;}
.corp_info_list li a::after{
    content: "";
	display: inline-flex;
    width: 20px;
    height: 20px;
    forced-color-adjust: none;
	-webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center center;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center center;
    mask-size: contain;
    -webkit-mask-image: url("../images/common/ico_angle.svg");
    mask-image: url("../images/common/ico_angle.svg");	
	background-color: #01805a;
    
    position: absolute;
    right: 16px;
    top: 10px;
    transform: rotate(-90deg);
}

.corp_info_list li a .name{ font-size: 17px;}
.corp_info_list li a .num{ font-size: 17px;}

.sgis_point_num{ margin-top: 20px; padding: 16px; border-radius: 10px; border: 4px solid #fff; height: 124px; background: linear-gradient(90deg,rgba(234, 252, 236, 1) 0%, rgba(255, 241, 227, 1) 100%); display: flex; flex-direction: column;}
.sgis_point_num .top{}
.sgis_point_num .top .tit{ font-size: 19px;}
.sgis_point_num .top .update{ font-size: 15px; color: #464c53;}

.sgis_point_num .foot{ text-align: right;}
.sgis_point_num .foot span{ font-size: 15px;}
.sgis_point_num .foot span b{ font-size: 26px;}

.spnum{ display: none;}
.spnum.dash_b_01{ display: block;}

/*##################### main_section02 #####################*/
.main_section02{ position: relative; padding-top: 80px; z-index: 2;}

.main_link_card{ position: relative; z-index: 02; display: flex; gap: 20px;}
.main_link_card li{ flex: 1;}
.main_link_card li a{ position: relative; display: block; padding: 30px 25px 0 25px; background-color: #fff; border-radius: 10px 30px 10px 10px; height: 360px; box-shadow: 4px 4px 10px rgba(41, 62, 53, 0.1); background-repeat: no-repeat;}
.main_link_card li .text01{ font-family: 'Escoredream'; font-weight: 600; font-size: 18px; font-weight: bold; position: relative; padding-top: 16px;}
.main_link_card li .text02{ margin-top: 18px; position: relative; font-size: 15px; font-weight: bold; z-index: 2; display: inline-flex;}
.main_link_card li .text02::before{ content: ""; height: 13px; width: calc(100% + 5px); position: absolute; left: -3px; bottom: -1px; opacity: .1;}

.main_link_card li .text02:has(span){ flex-direction: column; align-items: flex-start;}
.main_link_card li .text02:has(span)::before{ display: none;}
.main_link_card li .text02 span{ position: relative; display: inline-flex;}
.main_link_card li .text02 span::before{ content: ""; height: 13px; width: calc(100% + 5px); position: absolute; left: -3px; bottom: -1px; opacity: .1;}

.main_link_card li .text03{ margin-top: 8px; font-size: 15px; color: #464c53;}

.main_link_card li:nth-child(1) a{ background-image: url("../images/newmain/card_bg01.png"); background-position: left -30px bottom -30px;}
.main_link_card li:nth-child(2) a{ background-image: url("../images/newmain/card_bg02.png"); background-position: left -70px bottom -14px;}
.main_link_card li:nth-child(3) a{ background-image: url("../images/newmain/card_bg03.png"); background-position: left -20px bottom -12px;}
.main_link_card li:nth-child(4) a{ background-image: url("../images/newmain/card_bg04.png"); background-position: left -36px bottom -28px;}
.main_link_card li:nth-child(5) a{ background-image: url("../images/newmain/card_bg05.png"); background-position: left -26px bottom -8px;}

.main_link_card li:nth-child(1) .text01 span{ color: var(--main-card-01);}
.main_link_card li:nth-child(2) .text01 span{ color: var(--main-card-02);}
.main_link_card li:nth-child(3) .text01 span{ color: var(--main-card-03);}
.main_link_card li:nth-child(4) .text01 span{ color: var(--main-card-04);}
.main_link_card li:nth-child(5) .text01 span{ color: var(--main-card-05);}

.main_link_card li:nth-child(1) .text02{ color: var(--main-card-01);}
.main_link_card li:nth-child(2) .text02{ color: var(--main-card-02);}
.main_link_card li:nth-child(3) .text02{ color: var(--main-card-03);}
.main_link_card li:nth-child(4) .text02{ color: var(--main-card-04);}
.main_link_card li:nth-child(5) .text02{ color: var(--main-card-05);}

.main_link_card li:nth-child(1) .text02::before{ background-color: var(--main-card-01);}
.main_link_card li:nth-child(2) .text02::before{ background-color: var(--main-card-02);}
.main_link_card li:nth-child(3) .text02::before{ background-color: var(--main-card-03);}
.main_link_card li:nth-child(4) .text02::before{ background-color: var(--main-card-04);}
.main_link_card li:nth-child(5) .text02 span::before{ background-color: var(--main-card-05);}

.main_link_card li .card_arrow{ width: 40px; height: 40px; border-radius: 40px; background: url("../images/newmain/icon_go.png") no-repeat right 15px center #d6e0eb; display: inline-flex; align-items: center; position: absolute; right: 25px; bottom: 30px; transition: width 0.6s ease;}

.main_link_card li a .card_arrow::before{ content: "바로가기"; font-size: 15px; opacity: 0; transition: transform 0.3s ease;}

.main_link_card li a:hover .card_arrow{ width: 106px; padding-left: 18px;}
.main_link_card li a:hover .card_arrow::before{  animation: arr03_show 1.4s both;}

@keyframes arr03_show {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}


/*##################### main_section03 #####################*/
.main_section03{ position: relative; margin-top: 80px; z-index: 2;}

.sgis_link_wrap{ height: 420px; border-radius: 15px; overflow: hidden; padding: 0 0 0 64px; display: flex; align-items: center;
    background-color: #e0d9bb;
    background-image: url("../images/newmain/sgis_bg.png");
    background-position: right -40px top 58px;
    background-repeat: no-repeat;
}

.sgis_link_wrap .left .text01{ font-family: 'Escoredream'; font-size: 34px;}
.sgis_link_wrap .left .text01 strong{ display: block;}
.sgis_link_wrap .left .text02{ margin-top: 20px; margin-bottom: 36px; font-size: 15px; color: #464c53;}
.sgis_link_wrap .left .text02 p + p{ margin-top: 20px;}

.btn_gisdata_link{
    font-size: 19px;
    font-weight: bold;
    width: 338px;
    height: 60px;
    border-radius: 8px;
    background-color: #fff;
    padding: 0 20px 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.25s ease, color 0.25s ease;
}
.btn_gisdata_link span{
    width: 40px;
    height: 40px;
    border-radius: 100%;
    background-color: #01805a;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.25s ease;
}
.btn_gisdata_link span::after{
    content: ""; 
    display: inline-flex;
    width: 16px;
    height: 16px;
    forced-color-adjust: none;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center center;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center center;
    mask-size: contain;
    -webkit-mask-image: url("../images/common/icon_arrow.svg");
    mask-image: url("../images/common/icon_arrow.svg");	
    background-color: #fff;
    transition: background-color 0.25s ease;
}

.btn_gisdata_link:hover{ background-color: #01805a; color: #fff;}
.btn_gisdata_link:hover span{ background-color: #fff;}
.btn_gisdata_link:hover span::after{ background-color: #01805a;}

/*##################### main_section04 #####################*/
.main_section04{ margin-top: 80px; padding-top: 30px;}

.sgis_page_link{ height: 280px; border-radius: 10px 100px 10px 10px; background-color: #eef2f7; display: flex;}
.sgis_page_link .link_wrap{}
.sgis_page_link .link_wrap .tit{ margin-top: -35px; font-family: 'Escoredream'; font-weight: 600; font-size: 24px; text-align: center; padding-top: 76px; background-repeat: no-repeat; background-position: top -5px center;}

.sgis_page_link .link_wrap ul{ display: flex; margin-top: 46px; padding: 0 40px;}
.sgis_page_link .link_wrap ul li{ flex: 1;}
.sgis_page_link .link_wrap ul li a{ display: block; text-align: center; font-size: 15px;}
.sgis_page_link .link_wrap ul li a:hover{ text-decoration: underline;}
.sgis_page_link .link_wrap ul li a .icon{ margin-bottom: 8px; height: 60px; display: flex; justify-content: center; align-items: center;}

.sgis_page_link .link_wrap ul li a:hover .icon{transform: rotateY(360deg); transition-duration: 0.4s;}

@keyframes opacity_show {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

.sgis_page_link .link_wrap.sgis{ flex: 1;}
.sgis_page_link .link_wrap.golji{ width: 450px;}

.sgis_page_link .link_wrap.golji ul{ border-left: 1px solid #cdd1d5;}

.sgis_page_link .link_wrap.sgis .tit{ color: #4a2c08; background-image: url("../images/newmain/page_link_tit01.png");}
.sgis_page_link .link_wrap.golji .tit{ color: #082f76; background-image: url("../images/newmain/page_link_tit02.png");}

/*##################### main_section05 #####################*/
.main_section05{ position: relative; margin-top: 80px; z-index: 2;}
.main_sec_top{ margin-bottom: 30px; display: flex; align-items: center; justify-content: space-between;}
.main_sec_tit{ font-family: 'Escoredream'; font-weight: 600; font-size: 24px;}

.info_bbs_tab_wrap{ position: relative; padding-right: 90px;}
.info_bbs_tab{ display: flex; gap: 22px;}
.info_bbs_tab li{}
.info_bbs_tab li button{ position: relative; height: 40px; font-size: 17px;}
.info_bbs_tab li.on button{ color: #01805a; font-weight: bold;}
.info_bbs_tab li.on button::before{ content: ""; width: 100%; height: 2px; background-color: #01805a; position: absolute; left: 0; bottom: -2px;}
.info_bbs_tab li a{ width: 40px; height: 40px; border-radius: 40px; background-color: #eef2f7; position: absolute; right: 0; top: 0; display: none;}
.info_bbs_tab li a::before,
.info_bbs_tab li a::after{ content: ""; width: 14px; height: 2px; background-color: #242525; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);}
.info_bbs_tab li a::after{ transform: translate(-50%, -50%) rotate(90deg);}
.info_bbs_tab li.on a{ display: inline-flex;}

.infobbs_tab_cont{ }
.ifbs_list ul{ display: flex; gap: 20px;}
.ifbs_list ul li{ flex: 1; height: 155px; background-color: #fff; border: 1px solid #d8d8d8; border-radius: 10px; padding: 20px;}
.ifbs_list ul li .ibt_top{ margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between;}
.ifbs_list ul li .ibt_top .tit{ background-color: #01805a; height: 30px; border-radius: 30px; padding: 0 15px; font-size: 15px; color: #fff; display: inline-flex; align-items: center;}
.ifbs_list ul li .ibt_top .date{ font-size: 15px; color: #464c53;}

.infobbs_tab_cont ul li a{
    font-size: 17px;
    width: 100%;
    display: -webkit-box !important;
    overflow: hidden;
    max-height: 3em;
    line-height: 1.5 !important;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
    white-space: normal !important;
    height: auto;
}
.infobbs_tab_cont ul li a:hover{ text-decoration: underline;}

.ifbs_list{ display: none;}
.ifbs_list.mbl01{ display: flex;}

/*##################### main_section06 #####################*/
.main_section06{ position: relative; margin-top: 90px; margin-bottom: 90px; z-index: 2;}

.siteinfo_link_wrap{ display: flex; gap: 86px;}
.siteinfo_link_wrap .tit{ position: relative; width: 315px; padding: 0 28px 0 12px; font-family: 'Escoredream'; font-weight: 600; font-size: 19px; color: #fff; border-radius: 8px 30px 8px 8px; background: linear-gradient(90deg,rgba(8, 130, 74, 1) 0%, rgba(33, 164, 95, 1) 100%); display: flex; align-items: center; justify-content: flex-end;}
.siteinfo_link_wrap .tit::before{ content: ""; width: 127px; height: 100px; background: url("../images/newmain/sil_img.png") no-repeat; position: absolute; left: 12px; bottom: 0;}

.site_info_link{ flex: 1; display: flex; gap: 40px;}
.site_info_link li{ flex: 1;}
.site_info_link li a{ position: relative; height: 50px; padding-left: 44px; font-size: 17px; border-bottom: 1px solid #cdd1d5; background-repeat: no-repeat; background-position: left 0 center; display: flex; align-items: center;}

.site_info_link li a::after{
	content: "";
	display: inline-flex;
    width: 14px;
    height: 13px;
    forced-color-adjust: none;
	-webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center center;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center center;
    mask-size: contain;
    -webkit-mask-image: url("../images/newmain/icon_arrow.svg");
    mask-image: url("../images/newmain/icon_arrow.svg");	
	background-color: #1d1d1d;

    position: absolute;
    right: 0;
    top: 18px;
}

.site_info_link li a:hover::after{
	animation: arrowNudge 0.5s ease;
}

@keyframes arrowNudge{
	0%   { right: 0;}
	40%  { right: 12px;}
	100% { right: 0;}
}

.site_info_link li .service{ background-image: url("../images/newmain/sil_icon01.png");}
.site_info_link li .info{ background-image: url("../images/newmain/sil_icon02.png");}
.site_info_link li .sitemap{ background-image: url("../images/newmain/sil_icon03.png");}

/*################ Main BG ################*/
.main_section_middle_bg{ position: relative;}
.main_section_middle_bg::before{ content: ""; position: absolute; border-radius: 0 0 50px 0; background-color: #f0f7f4; height: 730px; width: 92%; left: 0; top: 0;}
.main_section_middle_bg::after{ content: "SGIS"; position: absolute; color: #fff; font-size: 260px; font-family: 'Gmarket Sans'; font-weight: 700; transform: rotate(90deg); top: 215px; left: -300px;}

.main_section_foot_bg{ position: relative;}
.main_section_foot_bg::before {
    content: "";
    position: absolute;
    border-radius: 50px 0 0 0;
    background-color: #faf9f2;
    height: 315px;
    width: 92%;
    right: 0;
    bottom: 0;
}