@charset "UTF-8";


/* banner */
.banner{height: 6rem;display: flex;align-items: center;justify-content: center;flex-direction: column;font-weight: bold;background: #fff;border-bottom: 1px solid #ccc;margin-bottom: 1.5rem;}
.banner h2{text-align: center;font-size: 2rem;color: #333;margin-bottom: 0.5rem;font-weight: bold;}
.banner p{text-align: center;font-size: 1.5rem;color: #666;}


/* home */
.home{padding: 0 1.4rem;margin-bottom: 3rem;position: relative;}
.home:last-of-type {margin-bottom: 5rem;}
.home h3 {font-size: 2.2rem;font-weight: bold;line-height: 1.4;margin: 1.5rem 0;}
.home p {font-size: 1.6rem;line-height: 1.4;color: #000;}
.firstnews::after{display:none;}
.home em{color: red;font-weight: 600;font-size: 1.6rem;}
.home .newsImg img{width: 100%;}
.home p.fisrtp{margin-bottom: 3rem;}
.home p span {font-weight: 600;margin-bottom: 1rem;margin-top: 2rem;display:block;font-size: 1.8rem;}
.home p:first-child span:first-child {margin-top: 0;}


/* recent */
.recent{padding: 0 1.4rem;position: relative;}
.recent h3 {font-size: 2rem;font-weight: bold;line-height: 1.4;}
.recent p {font-size: 1.8rem;line-height: 1.4;color: #000;}
.recent em{font-size: 0.9rem;color: red;display:flex;justify-content:flex-end;padding: 1rem 0.5rem 1rem 0;}
.firstnews::after{display:none;}
.newslink{height: 4rem;background: #ebeffb;color: #222;display:flex;align-items:center;justify-content:center;border-radius:10rem;margin-top: 3rem;font-size: 1.5rem;padding: 0 1rem;}
.newslink i {margin-left: 1.2rem;}
.newsImg img{width: 100%;}
.recent p.fisrtp{margin-bottom: 3rem;}
.recent p span {color: red;margin-bottom: 2rem;margin-top: 0.5rem;display:block;}
.background {margin-top: 1rem;background-color: #f3f9ff;padding: 1.2rem;border-radius: 8px;border: 1px solid #ccc;}


/* Q&A뉴스라인 */
.line {display:flex; align-items:center; justify-content:space-between; margin: 3rem 0;}
.line span:nth-child(1){width: 48.5%;}
.line span:nth-child(2){width: 1%;}
.line span:nth-child(3){width: 48.5%;}
.line span{background: #ccc; height: 2px; display:inline-block;}
.home:last-child .line span{display:none;}
.recent:last-child .line span{display:none;}
