/* 공통스타일링 */
@font-face {
  font-family: "nanum";
  src: url("./font/NanumSquare_acR.ttf");
}
@font-face {
  font-family: "nanumThin";
  src: url("./font/NanumSquareL.ttf");
}
@font-face {
  font-family: "nanumThick";
  src: url("./font/NanumSquare_acEB.ttf");
}
@font-face {
  font-family: "gmarketBold";
  src: url("./font/GmarketSansTTFBold.ttf");
}
@font-face {
  font-family: "gmarketLight";
  src: url("./font/GmarketSansTTFLight.ttf");
}
@font-face {
  font-family: "gmarketMedium";
  src: url("./font/GmarketSansTTFMedium.ttf");
}

body {
  margin-bottom: 14rem;
}
#wrap {
    width:100%;min-height: 100vh;padding-top: 5rem; 
}
header {position: fixed;left: 0;top: 0;width: 100%;height: 5rem;z-index: 100;display: flex;padding-left: 2rem;align-items: center;background-color: #fff;}
header img {width: 15rem;}
.intro {width: 100%;padding: 0 2rem;}
.homeimg {width: 100%;padding: 1rem 1.5rem;}
.homepre {font-size: 1.6rem;line-height: 1.4;color: #666;margin: 1rem 1.5rem;}
.homeh3 {font-size: 1.8rem;color: #000;font-weight: 600;margin: 1rem 2rem .5rem;}
#wrap.sub {
    padding-bottom:1rem;
    padding-top: 10rem;
}


/* index */
.index {background: #f7ffe5 url('../img/splash.png') no-repeat center / cover;text-align: center;width: 100%;min-height: 100vh;display: flex;flex-direction: column;justify-content: space-evenly;align-items: center;}
.index img {width: 18rem;margin-bottom: 23rem;}
.index .process_wrap h2 {font-size: 1.4rem;font-weight: 600;color: #a6a8ab;line-height: 1.4;}
.index .process_wrap .process {border-radius: 10rem;width: 15rem;height: 2rem;border: 2px solid #a6a8ab;padding: 2px;}
.index .process_wrap .process .inner {width: 100%;height: 100%;background-image: linear-gradient(#9ccd4e 0%, #9ccd4e 15%, #cee6a7 15%, #cee6a7 40%, #9ccd4e 40%);border-radius: 10rem;box-shadow: 0 0 1rem rgba(255, 255, 255, .1) inset;}



/* news */
.news_wrap {margin-bottom: 2rem;}
.news_wrap h2 {font-size: 2rem;font-weight: 600;color: #ffc090;margin: 0 2rem .5rem;}
.news_wrap .swiper {padding: 1rem 1.5rem 0;}
.swiper-wrapper a {display: block;padding: 2rem 1.5rem ;border: 1px solid #79a773;border-radius: .7rem;}
.swiper-wrapper a .title {font-size: 2rem;font-weight: 600;margin-bottom: 1rem;padding-bottom: 1rem;min-height:4rem;}
.swiper-wrapper a .date {font-size: 1.6rem;color: #8a8a8a;font-weight: 300;padding-bottom: 1rem;margin-bottom: 1rem;border-bottom: 1px solid #79a773;}
.swiper-wrapper a .content {color: #1e1e1f;font-size: 1.6rem;line-height: 1.4;margin-bottom: 1rem;}
.swiper-pagination-bullet {background-color: #4f724a !important;margin: .2rem !important;opacity: .4 !important;}
.swiper-pagination-bullet-active {
opacity: 1 !important;}




/* tab_wrap */
.tab_wrap {background-color: #fff;width: 100%;padding: 1.5rem 1.5rem 1rem;padding-left: 0;position: fixed;top: 5rem;left: 0;z-index: 9998;display: flex;justify-content: center;flex-direction: column;}
.tab_wrap .swiper {height: 3.5rem;}
.tab_wrap .sub_menu {width: 100%;padding-right: 3rem;}
.tab_wrap .share_wrap {width: 8%;text-align: center;}
.tab_wrap .share_wrap .share {text-indent: -9999px;position: absolute;top: 50%;transform: translateY(-50%);right: 0;width: 2.8rem;height: 2.8rem;z-index: 100;background: url("../img/share.png") no-repeat center / contain;}
.tab_wrap .swiper {position: relative;}
.tab_wrap .swiper:after {content: '';
    z-index: 1;position: absolute;
    right: 0;
    top: 0;height: 100%;width: 3rem;background: linear-gradient(90deg, transparent 0%, #fff 70%);
}
.tab_wrap .swiper-wrapper {align-items: center;}
.tab_wrap .swiper-wrapper .swiper-slide {width: fit-content !important;}
.tab_wrap .swiper-wrapper .swiper-slide p {border: 1px solid #71b499;background: #f4f9f4;color: #75907b;font-weight: 500;padding: 0.7rem 1.5rem;font-size: 1.7rem;border-radius: 1rem;display: flex;align-items: center;justify-content: center;}
.tab_wrap .swiper-wrapper .swiper-slide p span {font-size: 1.7rem;color: #666;font-weight: 500;}
.tab_wrap .swiper-wrapper .swiper-slide.on p {background-image: linear-gradient(50deg, #5d8e8a 0%, #a6d6c4 100%);color: #fff;}
.tab_wrap .swiper-wrapper .swiper-slide.on p span {color: #dbf253;}




/* content_wrap */
.content_wrap {
    display: none;
    margin: 2rem;
    padding: 2rem 1.5rem;
    transition: 0.3s ease;
    border-radius: .7rem;
    border: 1px solid #79a873;
}
.content_wrap.on {display: block;}
.content_wrap h2 {color: #091b30;font-size: 2.2rem;line-height: 1.3;font-weight: bold;width: fit-content;padding-left: .5rem;margin-bottom: 2rem;background-image: linear-gradient(transparent 0, transparent 70%, #c9eea9 70%);}
.content_wrap h2 span {font-size: inherit;font-weight: inherit;color: #f86d00;}
.content_wrap h3 {color: #006934;line-height: 1.6;font-weight: bold;font-size: 2rem;position: relative;margin-bottom: .5rem;}
.content_wrap pre {line-height: 1.4;font-size: 1.8rem;margin-bottom: 3rem;word-break: break-all;}
.content_wrap pre:last-of-type {margin-bottom: 0;}
.content_wrap pre .link {font-size: inherit;font-weight: inherit;word-break: break-all;}
.content_wrap pre .emo {height: 2rem;margin-right: .5rem;transform:translateY(.4rem);}
.content_wrap pre b {font-size: 1.9rem;font-weight: bold;color: #f86f03;line-height: 1.6;}
.content_wrap pre .bold {color: #40404a;font-weight: bold;font-size: inherit;padding-top: 2rem;display: block;}
.content_wrap img {width: 100%;margin-bottom: .5rem;}
.hometax {position: fixed;display: none;bottom: 8.5rem;left: 50%;transform: translateX(-50%);width: 95%;height: 5.5rem;border-radius: 2rem;font-weight: 600;color: #fff;font-size: 1.8rem;justify-content: center;align-items: center;background-image: linear-gradient(to right,  #f78617 0%, #fc5b35 100% );}
.hometax.on {display: flex;}
.hometax img {height: 3rem;margin-right: .5rem;}




/* qna */
.box_wrap {
    padding: 0;
    border-radius: 0;
    border: 1px solid #699382;
}
.box_wrap h2 {margin: 0 2rem 2rem;}
.box_wrap .box h4 {
    color: #707070;
    line-height: 1.3;
    font-size: 1.9rem;
    font-weight: 500;
    position: relative;
    word-break: break-all;
    border-bottom: 1px solid #699382;
    padding: 1.5rem 4rem 1.5rem 3.8rem;
    background: url('../img/arrow-down.png') no-repeat 95% center / 1.5rem;
}
.box_wrap .box.on h4 {
    background: #5c8d89 url('../img/arrow-up.png') no-repeat 95% center / 1.5rem;
    color: #fff;
    font-weight: bold;
}
.box_wrap .box h4::before {content:"Q. ";font-size: inherit;color: #707070;font-weight: 600;margin-right: .5rem;position: absolute;left: 1.5rem;}
.box_wrap .box.on h4::before {
    color: #fff;
    font-weight: 600;
}
.box_wrap .box:last-of-type h4 {border: none;}
.box_wrap .box pre {
    color: #777;
    display: none;
    line-height: 1.3;
    font-size: 1.8rem;
    position: relative;
    border-bottom: 1px solid #699382;
    padding: 1.5rem 2rem 2.5rem;
}
.box_wrap .box.on pre {
    background-color: #f4f9f4;
}
.box_wrap .box pre .link {border-bottom: 1px solid #aaa;color: inherit;}
.box_wrap .box.on pre {display: block;}
.box_wrap .box:last-of-type pre {
    border-bottom: none;
}




/* 계산기 */
#calc {margin-top:2rem;padding-top: 2rem;border-top: 1px solid #e3e3e3;}
#calc h4 {
    /* font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.4;
    margin-right: .5rem;
    width: fit-content;
    padding: 0 .5rem;
    background-image: linear-gradient(transparent 0%, transparent 70%, #e6f1b5 70%); */
    color: #006934;
    line-height: 1.6;
    font-weight: bold;
    font-size: 2rem;
    position: relative;
}
#calc div {display: flex;flex-wrap: wrap;margin-bottom: 2rem;margin-top: 1.5rem;}
#calc div.plus {flex-direction: column;align-items: end;}
#calc div.plus p {font-size: 1.6rem;font-weight: 600;margin: 0 0 1rem;display: flex;align-items: center;}
#calc div.plus button.minus {border-radius: .5rem;border: 1px solid #ddd;width: 2rem;height: 2rem;display: flex;justify-content: center;align-items: center;font-size: 1.6rem;font-weight: 600;margin-left: 1rem;}
#calc .calBtn {border: 1px solid #006934;background-color: #f4f9f4;padding: .5rem 1.5rem;font-size: 1.6rem;display: flex;justify-content: center;align-items: center;text-align: center;border-radius: 10rem;margin-bottom: 1rem;margin-right: .5rem;}
#calc .calBtn.color {background-color: #006934;color: #fff;}
#calc .calBtn.gray {background-color: #e3e3e3;color: #000;}
#calc .result {font-size: 2rem;font-weight: 600;line-height: 1.4;}
#calc > span {display: flex;justify-content: space-between;}

.new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}
.new a {
    padding: 1rem;
    font-size: 1.4rem;
    color: #fff;
    background-color: #ffc090;
    margin-right: 1.5rem;
    border-radius: 0.5rem;
}
/* news영역 */
.contentHeader {
  padding: 1.5rem;
}
.contentHeader img{
  width: 50%;
}
.newsTopText {
  margin-bottom: 2rem;
  padding: 0 1.5rem;
}
.newsTopText div:first-child {
  font-size: 2rem;
  color: #5d867f;
  font-weight: 700;
  margin-bottom: 1rem;
}
.newsTopText div:last-child {
  font-size: 2rem;
  color: #949494;
  font-weight: 600;
}
.contents_wrap li {
    padding: 2rem 1.5rem;
    border-radius: 0.5rem;
    border: 0.2rem solid #bdcabb;
    box-shadow: 0.2rem 0.2rem 0.5rem #f8f8f8;
    margin-bottom: 2rem;
  }
  .contents_wrap li .newsTitle {
    font-size: 2rem;
    font-family: gmarketMedium;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #172512;
    font-weight: 700;
  }
  .contents_wrap li .newscontent {
    font-size: 1.6rem;
    font-family: nanum;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: rgb(77, 77, 77);
  }
  .moreFlex {
    display: flex;
    justify-content: space-between;
    border-bottom: 0.1rem solid #dee4d8;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    align-items: center;
  }
  .moreFlex p {
    font-size: 1.4rem;
    font-family: nanum;
    line-height: 1.3;
    color: gray;
  }
  .moreFlex span {
    font-size: 1.4rem;
    font-family: nanum;
    line-height: 1.3;
    color: #fff;
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #5a8c87;
    border-radius: 0.7rem;
  }
  
  .box {
    /* padding: 2rem; */
  }
  .box h2 {
    font-size: 2rem;
    font-family: gmarketMedium;
    line-height: 1.3;
    margin-bottom: 1rem;
  }
  .box span {
    font-size: 1.4rem;
    font-family: nanum;
    line-height: 1.3;
    color: #b9b9b9;
    margin-bottom: 2rem;
    display: block;
  }
  .box pre {
    font-size: 1.6rem;
    font-family: nanum;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #757474;
  }
  .newsImg {
    width: 100%;
  }
  .newsSubBtn {
    padding: 2rem;
    width: 100%;
    display: block;
    background-color: #158858;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .newsSubBtn h5 {
    color: #fff;
    font-size: 1.6rem;
    margin-right: 2rem;
  }
  .newsSubBtn img {
    width: 1rem;
    height: 1.7rem;
  }
  .content_box {
    padding: 2rem;
    border-radius: 1rem;
    border: 0.2rem solid #bdcabb;
  }
  .news_sub {
    padding: 1.5rem;
  }
  .content_box  img {
    width: 100%;
  }
  .content_box p {
    font-size: 1.4rem;
    font-family: nanum;
    line-height: 1.3;
    color: gray;
    margin-bottom: 2rem;
  }
  .content_box h3 {
    font-size: 2rem;
    font-family: gmarketMedium;
    line-height: 1.3;
    margin-bottom: 2rem;
    color: #172512;
    font-weight: 700;
    border-bottom: 0.1rem solid #dee4d8;
    padding-bottom: 2rem;
  }
  .newsBtn {
    padding: 1.5rem;
    background-color: #5c8d89;
    display: block;
    margin-top: 3rem;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.6rem;
    color: #fff;
  }
  .newsWrap {
    padding: 0 1.5rem;
  }