header{
    padding: 1.5rem 0 ;
    border-bottom: 2px solid #F6F6F6;
}
header .header_wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1200px;
}
header .header_wrap nav{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}
header .header_wrap nav a {
    font-size: 18px;
    color: #606060;
}
header img {
    width: 12rem;
}
.width_1200 {
    max-width: 1200px;
    margin: 0 auto;
}
main{
    max-width: 1200px;
    padding: 1rem 0;
    margin: 0 auto;
}
.index_top_left {
    display: flex;
    width: 68%;
    flex-flow: column nowrap;
    gap: 1rem;
    background-color: #F7F0E6;
    padding: 2rem 2rem 0;
    border-radius: 1rem;
    margin: 2rem 0;
    height: 419px;
    justify-content: space-between;
}
.index_top_left h3 {
    color: #7F5033;
    font-size: 24px;
    font-family: 'Paperlogy-6SemiBold';
    
}
.index_top_left span {
    font-size: 20px;
    line-height: 1.4;
    color: #7C7A76;
}
.index_left_btm{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.index_left_btm img {
    width: 29rem;
}
.index_left_btm p {
    background-color: #7E4F31;
    font-size: 18px;
    padding: .5rem 2rem;
    border-radius: 4rem;
    color: #fff;
    font-family: 'Paperlogy-4Regular';
}
.index_top_contents{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.index_top_right{
    width: 30%;
    height: 419px;
    display: flex;
    flex-flow: column nowrap;
    background-color: #F5F5F5;
    justify-content: space-between;
    border-radius: 1rem;
    padding: 2rem;
}
.right_btm{
    display: flex;
    align-items: center;
    flex-flow: column nowrap;
}


.index_top_right a {
    background-color: #fff;
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 1rem;
    padding: 1rem 1.5rem;
    gap: 1.5rem;
    box-shadow: .1rem .2rem .5rem rgba(61, 62, 77, 0.1);
}
.index_top_right a img{
    width: 2.5rem;
}
.index_top_right h3 {
    font-size: 24px;
    font-family: 'Paperlogy-6SemiBold';
    margin-bottom: 1rem;
}
.index_top_right span {
    color: #818181;
    font-size: 20px;
}
.index_main_titles{
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Paperlogy-6SemiBold';
    font-size: 30px;
    color: #3D2A2E;
    margin:  4rem 0;
}
.index_bottom{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-flow: row wrap;
    margin-bottom: 5rem;
}
.index_bottom a {
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column nowrap;
    margin-bottom: 2rem;
    height: 20rem;
    border-radius: 1rem;
    gap: 2rem;
}

.index_bottom a  img{
    height: 6em;
}
.move_btn{
    transform: translateY(3rem);
}
.index_bottom a:nth-of-type(1) {
    background-color: #FDE7DC;
}
.index_bottom a:nth-of-type(2) {
    background-color: #D0E4FD;
}
.index_bottom a:nth-of-type(3) {
    background-color: #E8F8F7;
}
.index_bottom a:nth-of-type(4) {
    background-color: #FFF1CE;
}
.index_bottom a:nth-of-type(5) {
    background-color: #F7F0E6;
}
.index_bottom a:nth-of-type(6) {
    background-color: #F5F5F5;
}
.index_bottom a span{
    font-size: 26px;
    color: #414141  ;
}
.sub_main_titles{
    padding: 2rem 0;
    color: #7F5033;
    font-size: 24px;
    font-family: 'Paperlogy-6SemiBold';
    position: relative;
    margin: 1rem 0;
}
.subbox pre{
    color: #868686;
    line-height: 1.4;
    font-size: 17px;
}
.subbox{
    margin-bottom:2rem;
}
.subbox h3 {
    font-size: 19px;
    font-family: 'Paperlogy-6SemiBold';
    margin-bottom: 1rem;
}

.header_active{
    font-size: 19px  !important;
    color: #794829 !important; 
    font-weight: 900;
}
.subbox pre span{
    font-size: 19px;
    font-family: 'Paperlogy-6SemiBold';
    margin-bottom: 1rem;
}
.sub_main_titles::before{
    display: block;
    width: 3.5rem;
    height: 3px;
    content: "";
    border-radius: 1rem;
    background-color: #7E4F31;
    position: absolute;left: 0 ;top:  .6rem;
}

@media screen and (max-width: 1200px){
    main{
        padding:  1rem 2rem;
    }
    header{
        padding: 0;
        border: 0;
    }
    header .header_wrap{
        flex-flow: column nowrap;
    }
    header .header_wrap nav{
        padding: 1.4rem 0;
        width: 100%;
        border-bottom: 2px solid #F6F6F6;
        border-top: 2px solid #F6F6F6;
        gap: 3rem;
    }
    header h1 {
        padding: 1rem 0;
    }
    .index_bottom a {
        width: 48%;
    }
    .move_btn{
        transform: translate(0);
    }
    .index_top_contents {
        flex-flow: column nowrap;
    }
    .index_top_left{
        width: 100%;
    }
    .index_top_right{
        width: 100%;
        height: auto;
        padding: 1.5rem;
    }
    .right_btm{
        flex-flow: row nowrap;
        justify-content: space-between;
        margin-bottom: 2rem;
    }
    .index_top_right a{
        flex-flow: column nowrap;
        width: 32%;
        height: 15rem;
        align-items: center;
        justify-content: center;
    }
    .index_top_right span{
        font-size: 1.6rem;
        line-height: 1.4;
        text-align: center;
    }
    .index_top_right a img{
        width: 4rem;
    }
    .movebtn2{
        transform: translateY(2rem);
    }
    .index_main_titles {
        font-size: 2rem;
    }
}
@media screen and (max-width: 786px){
    .sub_main_titles {
        font-size: 2rem;
    }
    .subbox pre span{
        font-size: 18px;
    }
    .subbox pre {
        font-size: 16px;
    }
    .subbox h3{
        font-size: 18px;
    }
    .index_bottom a span {
        font-size: 18px;
    }
    .index_bottom a {
        height: 16rem;
    }
    .index_left_btm img{
        display: none;
    }
    .index_top_left span{
        font-size: 1.6rem;
    }
    .index_top_left{
        justify-content: flex-start;
        height: 28rem;
        background-image: url(../img/main-img.png);
        background-repeat: no-repeat;
        background-position: 100% 100% ;
        background-size: 30rem;
    }
    .index_top_right h3 {
        font-size: 22px;
        font-family: 'Paperlogy-6SemiBold';
        margin-bottom: 1rem;
        padding: 1rem 0;
    }
    header .header_wrap nav a {
        font-size: 16px;
    }
    .header_active{
        font-size: 18px !important;
    }
    .br_im {
        display: none;
    }
}
@media screen and (max-width: 500px){
    
    .index_top_left{
        
        background-size: 22rem;
    }
}
