@charset "utf-8";

/* intro */
.intro{
    background-image: url(../img/intro_autonomic.jpg);
}
main{
    padding-top: 15rem;
}
main .content_card .text_box{
    padding: 5.5rem 8rem;
}
main .content_card>img{
    width: 500px;
}


/* symptom */
.symptom{
    padding-bottom: 18rem;
}
.symptom::before{
    content: '';
    position: absolute;
    left: 0;
    top: 61.2%;
    width: 100%;
    border: 0;
    border-top: 1px solid var(--main);
}
.symptom .symptom_list{
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 4rem;
}
.symptom .symptom_list div{
    width: calc(25% - 3rem);
    aspect-ratio: 1 / 1;
    background: var(--pale-main);
    border: 1px solid var(--main);
    border-radius: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.symptom .symptom_list div b{
    font-family: "roboto", sans-serif;
    color: var(--main);
    font-weight: 500;
    font-size: 1.8rem;
    line-height: 2.56rem;
}
.symptom .symptom_list div p{
    margin-top: 2rem;
    line-height: 2.75rem;
    font-weight: 400;
    letter-spacing: -0.02em;
}


/* cause */
.cause{
    background: url(../img/cause.jpg) no-repeat;
    background-size: cover;
}
.cause .title h2{
    color: #fff;
}
.cause .continer{
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
}
.cause .continer button{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 5.6rem;
    height: 5.6rem;
    z-index: 2;
    display: none;
}
.cause .continer button img{
    width: 100%;
    object-fit: contain;
}
.cause .continer article{
    width: calc(33.33% - 1.34rem);
    display: flex;
    flex-direction: column;
    padding: 6rem 4rem;
    background: rgba(255, 255, 255, .95);
    border: .8px solid #d9d9d9;
    border-radius: 1.2rem;
    animation: cause_fadeIn 1s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes cause_fadeIn{
    0%{opacity: 0; transform: translateY(3.5rem);}
    100%{opacity: 1; transform: translateY(0);}
}
.cause .continer article h4{
    color: var(--point);
}
.cause .continer article small{
    margin-top: 5px;
    color: #a9a9a9;
}
.cause .continer article hr{
    width: 45px;
    border: 0;
    border-top: 2px solid var(--main);
    border-radius: 12px;
    margin: 3rem 0 3.5rem;
}
.cause .continer article ul{
    list-style: disc;
    padding-left: 12px;
}
.cause .continer article ul li{
    color: #555;
}


/* .system */
.system .card{
    width: 100%;
    position: relative;
    border: 1px solid #d9d9d9;
    border-radius: 2.4rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.system .card .t_name{
    display: flex;
    height: 9.6rem;
    justify-content: space-between;
}
.system .card .t_name button{
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #d9d9d9;
    color: #BBBBBB;
    cursor: pointer;
    transition: .5s;
}
.system .card .t_name button.on{
    color: var(--dark-main);
    border-bottom: 4px solid var(--dark-main);
}
.system .card .t_name button img{
    width: 3rem;
    object-fit: contain;
    margin-right: 1rem;
    display: none;
}
.system .card .t_name button.on img{
    display: block;
}
.system .card .card_contents{
    position: relative;
    width: 100%;
    height: 50rem;
}
.system .card .card_contents article{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #FFFFFF;
    justify-content: space-between;
    display: none;
}
.system .card .card_contents article.on{
    display: flex;
    animation: system_fadeIn 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes system_fadeIn{
    0%{opacity: 0;}
    100%{opacity: 1;}
}
@keyframes system_goUp{
    0%{transform: translateY(3rem);}
    100%{transform: translateY(0);}
}
.system .card .card_contents article .l_box{
    flex: 1;
    height: auto;
    max-width: 57.5%;
    padding: 10rem;
    animation: system_goUp 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.system .card .card_contents article .l_box p{
    color: #555;
}
.system .card .card_contents article .l_box p:first-of-type{
    margin-top: 4rem;
    margin-bottom: 1.6rem;
}
.system .card .card_contents article img{
    width: 500px;
    height: 100%;
    max-width: 42.5%;
    object-fit: cover;
}

/* cure */
.cure{
    padding-top: 5rem;
    padding-bottom: 21rem;
}
.cure .cure_list{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15rem;
}
.cure .cure_list>div{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18rem;
}
.cure .cure_list>div:nth-child(2){
    flex-direction: row-reverse;
}
.cure .cure_list>div .t_box{
    flex: 1;
}
.cure .cure_list>div .t_box b{
    font-family: "roboto", sans-serif;
    font-weight: 400;
    font-size: 4.2rem;
    line-height: 6.5rem;
    color: var(--main);
}
.cure .cure_list>div .t_box h4{
    margin-top: 2rem;
}
.cure .cure_list>div .t_box p{
    color: #555;
}
.cure .cure_list>div .t_box p:first-of-type{
    margin-top: 2rem;
    margin-bottom: 1.6rem;
}
.cure .cure_list>div .img_box{
    width: 50rem;
    max-width: 42.37%;
    position: relative;
}
.cure .cure_list>div .img_box::before{
    content: '';
    position: absolute;
    left: 12rem;
    bottom: -6rem;
    width: 100vw;
    height: 24rem;
    max-height: 47%;
    background: var(--pale-main);
    z-index: -1;
}
.cure .cure_list>div:nth-child(2) .img_box::before{
    left: auto;
    right: 12rem;
}
.cure .cure_list>div .img_box img{
    width: 100%;
    object-fit: cover;
}




















/* 반응형 코드 */
@media (min-width: 1920px) {

}
@media (max-width: 1440px) {
    .symptom .symptom_list{
        gap: 2rem;
    }
    .symptom .symptom_list div{
        width: calc(25% - 1.5rem);
    }
    .symptom .symptom_list div p{
        margin-top: 1rem;
    }
    .cause .continer{
        gap: 1.5rem;
    }
    .cause .continer article{
        width: calc(33.33% - 1rem);
        padding: 3.5rem 3rem;
    }
    .cause .continer article hr{
        margin: 2.5rem 0 2.9rem;
    }
    .system .card .t_name button h4{
        font-size: 2.2rem;
        line-height: 3.3rem;
    }
    .system .card .card_contents article .l_box{
        padding: 10rem 7rem;
    }
    .system .card .card_contents article .l_box br{
        display: none;
    }
    .cure{
        padding-bottom: 15rem;
    }
    .cure .cure_list>div{
        gap: 9%;
    }
    .cure .cure_list>div:nth-child(3) .t_box{
        padding-right: 4%;
    }
    .cure .cure_list>div:nth-child(3) .t_box p br{
        display: none;
    }
}
@media (max-width: 1024px) {
    main .content_card .text_box{
        padding: 6rem;
    }
    .cause .continer{
        justify-content: center;
    }
    .cause .continer button{
        display: block;
    }
    .cause .continer button.left{
        left: 5%;
    }
    .cause .continer button.right{
        right: 5%;
    }
    .cause .continer article{
        width: 360px;
        flex-shrink: 0;
        padding: 6rem 4rem;
        display: none;
    }
    .cause .continer article.on{
        display: flex;
    }
    .cause .continer article hr{
        margin: 3rem 0 3.5rem;
    }
    .symptom::before{
        display: none;
    }
    .symptom .symptom_list{
        flex-wrap: wrap;
        justify-content: center;
    }
    .symptom .symptom_list div{
        width: calc(50% - 1rem);
        max-width: 280px;
    }
    .system .card .t_name button{
        flex-direction: column;
    }
    .system .card .t_name button img{
        width: 2.6rem;
        margin-right: 0;
        margin-bottom: 5px;
        display: block;
        opacity: .1;
    }
    .system .card .t_name button.on img{
        opacity: 1;
    }
    .system .card .t_name button h4{
        font-size: 1.8rem;
        line-height: 2.6rem;
    }
    .system .card .card_contents{
        height: 45rem;
    }
    .system .card .card_contents article .l_box{
        padding: 8rem 4.5rem;
    }
    .system .card .card_contents article .l_box p:first-of-type{
        margin-top: 3rem;
        margin-bottom: 1.2rem;
    } 
    .cure .cure_list>div:nth-child(3) .t_box{
        padding-right: 0;
    }
    .cure .cure_list>div .t_box p br{
        display: none;
    }
}
@media (max-width: 768px) {
    main .content_card .text_box{
        padding: 5rem;
    }
    .cause .continer button.left{
        left: 0;
    }
    .cause .continer button.right{
        right: 0;
    }
    .cause .continer article{
        width: 68%;
    }
    .system .card .card_contents article .l_box{
        padding: 6rem 4rem;
    }
    .system .card .card_contents{
        height: 55rem;
    }
    .system .card .card_contents article{
        flex-direction: column-reverse;
        height: auto;
    }
    .system .card .card_contents article .l_box{
        width: 100%;
        height: auto;
        max-width: none;
        padding: 4rem;
    }
    .system .card .card_contents article img{
        width: 100%;
        height: 180px;
        max-width: none;
    }
    .system .card .card_contents article:first-of-type img{
        object-position: center 85%;
    }
    .cure .cure_list>div{
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 7rem;
    }
    .cure .cure_list>div:nth-child(2){
        flex-direction: column;
        align-items: flex-end;
    }
    .cure .cure_list>div .img_box{
        width: 63%;
        max-width: none;
    }
    .cure .cure_list>div .img_box::before{
        bottom: -4.5rem;
    }
    .cure .cure_list>div .t_box p:first-of-type{
        margin-top: 1.6rem;
        margin-bottom: 1.2rem;
    }
} 
@media (max-width: 480px) {
    main{
        padding-top: 10rem;
    }
    main .content_card .text_box{
        padding: 4rem;
    }
    .symptom .symptom_list{
        gap: 1.4rem;
    }
    .symptom .symptom_list div{
        width: calc(50% - .7rem);
        border-radius: 15%;
    }
    .cause{
        padding: 13rem 0;
    }
    .cause .continer article{
        width: calc(100% - 40px);
        padding: 6rem 5rem;
    }
    .system{
        padding: 14rem 0;
    }
    .system .card .t_name{
        height: 9rem;
    }
    .system .card .t_name button{
        flex-direction: row;
    }
    .system .card .t_name button h4{
        font-size: 14px;
        line-height: 22.6px;
    }
    .system .card .t_name button h4 span{
        display: none;
    }
    .system .card .t_name button img{
        margin-right: 8px;
        margin-bottom: 0;
    }
    .system .card .card_contents{
        height: 58rem;
    }
    .system .card .card_contents article img{
        height: 160px;
    }
    .cure{
        padding-top: 0;
    }
    .cure .cure_list>div{
        gap: 6rem;
    }
    .cure .cure_list>div .img_box{
        width: 85%;
    }
}

@media (max-width: 388px) {
    .system .card .card_contents{
        height: 64rem;
    }
}
  