@charset "utf-8";

/* 내용관리 */


/* .sec .cont p span {
    font-size: 1.4em;
} */


.sec {
    border-bottom: 1px solid #ccc;
}

.sec:last-child {
    border-bottom: none;
}

.sec .cont {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 20px;
    margin-bottom: 60px;
}

.sec .flex_wr {
    height: 100%;
    display: flex;
    flex-flow: column;
    /* justify-content: space-between; */
}

.sec .cont .img_wr {
  width: 100%;
  display: inline-block;

}

.sec .cont .img_wr img {
    border: 1px solid #ddd;
    border-radius: 0;
}
.sec .cont .img_wr .txt_wr {
    padding: 20px 0;
    word-break: keep-all;
}

.sec {
    margin-bottom: 60px;
}

/* .sec .cont .img_wr:nth-child(odd) {
    flex-flow: row-reverse;
    text-align: right;
}
.sec .cont .img_wr:nth-child(even) {
    flex-flow: row;
} */

.sec .cont img {
    margin-bottom: 20px;
    border-radius: 20px;
}

.sec .cont h4 {
    font-size: 1rem;
    text-align: center;
}

.sec .cont p {
    font-size: 0.875rem;
}


.sec5 .img::after {
    padding-bottom: 80%;
}

.img {
    border: 1px solid #ccc;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;   
}

.img::after {
    content: '';
    display: block;
    padding-bottom: 135%;
}

@media (max-width: 1024px) {



.sec {
    margin-bottom: 30px;
}

.sec .tit {
    padding: 0;
    margin-bottom: 40px;
}

.sec .cont {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 25px;
    margin-bottom: 30px !important;
}

.sec .cont .img_wr .txt_wr {
    padding: 0;
}

.sec .cont .img_wr {
    width: 100%;
}

.sec .cont .img_wr:nth-child(odd){
    flex-flow: column;
    text-align: center;
}

.sec .cont .img_wr:nth-child(even){
    flex-flow: column;
    text-align: center;
}



}
