header{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column nowrap;
    gap: 1rem;
    padding: 2rem 0;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 1rem;
}
header img {
    width: 19rem;
}
nav{
    display: flex;
    align-items: center;
    gap: 3rem;
}
nav a {
    font-size: 16px;
    font-weight: 600;
    padding-bottom: 1.5rem;
    color: #3E4F5C;
    border-bottom: 4px solid #fff;
}
main{
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 4rem;
}
.home_banner img{
    width: 17%;
}
.home_banner{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 4rem 0;
    flex-flow: column;
}
.home_banner span {
    font-size: 2rem;
    font-family: 'yg-jalnan';
    color: #0035B4;
}
.home_banner p{
    font-size: 2rem;
    font-family: 'yg-jalnan';
}
.index_btn_top{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.index_btn_top a {
    display: flex;
    flex-flow: column nowrap;
    width: 32%;
    padding: 2rem ;
    gap: 4rem;
    border-radius: 1rem;
}
.index_btn_top a img{
    width: 3rem;
}
.index_btn_top a:nth-of-type(1){
    background-color: #4EA58A;
}
.index_btn_top a:nth-of-type(2){
    background-color: #479BC9;
}
.index_btn_top a:nth-of-type(3){
    background-color: #8D65CE;
}
.index_btn_top h3{
    font-size:1.8rem;
    color: #fff;
    font-weight: 600;
}
.top_bottom{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.top_bottom span {
    font-size: 20px;
    color: #fff;
}

.index_bottom_btn{
    margin-top: 4rem;
}
.sub_titles{
    display: flex;
    align-items: center;
    text-align: center;
    font-size: 1.8rem;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 4rem;
    color: #3A3D41;
}

.bottom_btn_left{
    display: flex;
    flex-flow: column nowrap;
    width: 69%;
    justify-content: space-between;
    height: 430px;
}

.left_top{
    width: 100%;
}
.left_top a {
    display: flex;
    flex-flow: column nowrap;
    background-color: #ECF5FE;
    padding: 4rem 2rem;
    border-radius: 1rem;
    border: 1px solid #B4BAC2;
}
.left_top a  span {
    font-size: 1.8rem;
    font-weight: 600;
}
.img_box{
    display: flex;
    align-items: center;
    justify-content: right;
}
.left_bottom{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.left_bottom a{
    border: 1px solid #B4BAC2;
    border-radius: 1rem;
    width: 48.5%;
    padding: 2rem 2rem;
    background-color: #ECF5FE;
    display: flex;
    flex-flow: column;
    gap: 3rem;
}
.left_bottom a span {
    font-size: 1.8rem;
    font-weight: 600;
    color:#29354F;
}
.index_bottom_btn img{
    width: 3rem;
}

.index_btn_all{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.bottom_btn_right{
    width: 29%;
    height: 430px;
    background-color: #FCEFE7;
    border: 1px solid #B4BAC2;
    border-radius: 1rem;
}
.bottom_btn_right a {
    display: flex;
    flex-flow: column;
    height: 100%;
    padding: 2rem;
    gap: 7rem;
    justify-content: flex-end;
}
.bottom_btn_right a span {
    font-size: 1.8rem;
    font-weight: 600;
}

.sub_contents{
    font-size: 17px;
    color: #81868D;
    line-height: 1.2;
    margin-top: 1rem;
}

.sub1_sub_titles{
    font-size: 20px;
    color: #0E95FF;
    font-weight: 600 ;
    padding: 3rem 0 2rem;
}
.sub1_contents{
    font-size: 17px;
    line-height: 1.4;
    color: #72777F;
}
.sub1_botm_box{
    padding: 2rem;
    border: 1px solid #BEC3CB;
    border-radius: 1rem;
}
.point3{
    font-size: 18px;
    line-height: 1.4;
    color: #53A78D;
}
.sub_titles_box{
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 2rem;
}
.main_title{
    font-size: 20px;
    color: #043FB8;
    font-weight: 600;
}
.sub_titles_box img{
    width: 1.5rem;
}

.sub_next{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    background-color: #003CB7;
    color: #fff;
    margin: 0 auto;
    padding: 2rem ;
    border-radius: 1rem;
    font-size: 18px;
    font-weight: 600;
    margin-top: 2rem;
}

@media screen and (max-width: 1200px){
main{
    padding:  0 2rem 4rem;
}
.index_btn_all{
    flex-flow: column nowrap;
}
.bottom_btn_left{
    width: 100%;
    height: auto;
}
.bottom_btn_right{
    width: 100%;
    height: auto;
    margin-top: 1rem;

}
.bottom_btn_right a{
    gap: 0;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
}
.left_bottom a{
    height: 16rem;
}
.left_top {
    margin-bottom: 1rem;
}
.left_top a{
    flex-flow: row;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
}
}
@media screen and (max-width: 768px){
main{
    padding:  0 2rem 4rem;
}
.home_banner img {
    width: 44%;
}
.main_title {
    font-size: 18px;
    color: #043FB8;
    font-weight: 600;
}
.sub_next {
    width: 100%;
    font-size: 17px;
}
.left_bottom a {
    height: 12rem;
}
.index_btn_top a{
    height: 12rem;
    padding: 1rem;
    justify-content: space-around;

}
.index_btn_top h3 {
    font-size: 1.5rem;
}
.top_bottom span{
    font-size: 1.6rem;
}
.sub_titles {
    margin-top: 7rem;
}
nav {
    gap: 1.3rem;
}
.sub1_sub_titles {
    font-size: 18px;
    color: #0E95FF;
    font-weight: 600;
    padding: 3rem 0 2rem;
    line-height: 1.2;
}
.sub_contents {
    font-size: 16px;
    color: #81868D;
    line-height: 1.2;
    margin-top: 1rem;
}
}
.active1{
    color: #0036B5;
    border-bottom: 4px solid #0036b5;
}