@charset "utf-8";

@media screen and (max-width: 767px) {

    .firstview {
        background: url(../images/wisdom/firstview.png);
        height: 666px;
        /* background-size: cover; */
        margin-top: -187px;
        background-repeat: no-repeat;
        background-position: center;
    }

    .firstview .text .box {
        position: absolute;
        top: 245px!important;
        right: 23px!important;
        text-shadow: #fff 1px 1px 1px, #fff -1px 0px 1px, #fff 0px -1px 1px, #fff 0px 1px 1px, #fff 1px 1px 1px, #fff -1px 1px 1px, #fff 1px -1px 1px, #fff -1px -1px 1px, #fff 1px 1px 1px, #fff -1px 1px 1px, #fff 1px -1px 1px, #fff -1px -1px 1px, #fff 1px 1px 1px, #fff -1px 1px 1px, #fff 1px -1px 1px, #fff -1px -1px 1px;
    }
    
    .sec01 {
        background: url(../images/caries/back_white.png);
        margin-top: -290px;
        background-position: top;
        background-repeat: no-repeat;
        padding-top: 0;
    }
    
    .sec01 .contents {
        padding: 40px 0 90px;
        text-align: center;
        position: relative;
        width: 90%;
        margin: 0 auto;
    }
    
    .sec01 .contents .title {
        font-size: 22px;
        font-weight: 700;
        margin-top: 10px;
        line-height: 1.7;
        border-bottom: dotted 4px #cb991d;
        width: 90%;
        margin: 15px auto 25px;
        letter-spacing: 6px;
    }
    
    /* .sec01 .contents p:nth-child(3) {
        line-height: 2;
    } */
    
    .sec01 .contents p:nth-child(3) {
        position: absolute;
        top: 570px;
        left: 0px;
    }
    
    .sec01 .contents .boxs {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        width: 333px;
        margin: 65px auto 0;
    }
    
    .sec01 .contents .boxs .box ,.sec01 .contents .boxs .box02 ,.sec01 .contents .boxs .box03 ,.sec01 .contents .boxs .box04 {
        position: relative;
        margin: 7px;
        width: 45%;
    }
    
    .sec01 .contents .boxs .box02 ,.sec01 .contents .boxs .box03 {
        margin-top: 7px;
    }
    
    .sec01 .contents .boxs .box p:nth-child(2) {
        position: absolute;
        top: 43px;
        left: 33px;
        line-height: 1.8;
        font-weight: 600;
        font-size: 18px;
    }
    
    .sec01 .contents .boxs .box02 p:nth-child(2) {
        position: absolute;
        top: 55px;
        left: 58px;
        line-height: 1.8;
        font-weight: 600;
        font-size: 18px;
    }
    
    .sec01 .contents .boxs .box03 p:nth-child(2) {
        position: absolute;
        top: 40px;
        left: 51px;
        line-height: 1.8;
        font-weight: 600;
        font-size: 18px;
    }
    
    .sec01 .contents .boxs .box04 p:nth-child(2) {
        position: absolute;
        top: 40px;
        left: 26px;
        line-height: 1.8;
        font-weight: 600;
        font-size: 18px;
    }
    
    .sec01 .contents p:nth-child(5) {
        position: absolute;
        right: 0;
        bottom: 0px;
    } 
    
    .sec01 .contents p:nth-child(6) {
        margin-top: 75px;
        line-height: 2;
    }
    
    .sec02 {
        background: url(../images/index/top_back.png);
        background-position: top;
        background-size: cover;
        padding-top: 50px;
        text-align: center;
    }
    
    .sec02 .contents {
        position: relative;
    }
    
    .sec02 .contents p:nth-child(3) img {
        position: relative;
        right: 150px;
        bottom: 135px;
    }
    
    .sec02 .contents p:nth-child(4) img {
        position: absolute;
        top: -612px;
        right: 3%;
        z-index: 1;
        width: 100%;
    }
    
    .sec02 .contents .q_and_a {
        position: relative;
        width: 100%;
        margin: 0 auto;
    }
    
    .sec02 .contents .q_and_a .top {
        display: flex;
        justify-content: flex-start;
        font-size: 18px;
        color: #101010;
        width: 95%;
        margin: 0 auto;
    }
    
    .sec02 .contents .q_and_a .top p:nth-child(2) {
        margin-left: 15px;
        text-align: left;
        margin-top: 10px;
    }
    
    .sec02 .contents .q_and_a .bottom {
        background: rgba(164,125,85,0.06);
        width: 90%;
        margin: -30px auto 0;
        display: flex;
        align-items: center;
        text-align: left;
        padding-left: 0;
    }
    
    .sec02 .contents .q_and_a .bottom p:nth-child(1) {
        position: relative;
        top: 25px;
        border-bottom: unset;
        width: 20%;
        margin: 0;
        padding-left: 15px;
    }
    
    .sec02 .contents .q_and_a .bottom p:nth-child(2) {
        margin-left: 30px;
        line-height: 2;
    }
    
    .sec02 .contents .title {
        width: 90%;
        margin: 50px auto 0;
        font-size: 22px;
        border-bottom: dashed #cb991d;
        font-weight: 500;
    }
    
    .boldb65220 {
        color: #b65220;
        font-weight: 500;
    }
    
    .sec02 .contents .boxs {
        margin-top: 40px;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
        margin: 0 auto;
        max-width: 375px;
    }
    
    .sec02 .contents .boxs .box ,.sec02 .contents .boxs .box02 ,.sec02 .contents .boxs .box03 ,.sec02 .contents .boxs .box04 {
        position: relative;
        margin: 20px 10px;
    }
    
    .sec02 .contents .boxs .box p:nth-child(2) {
        position: absolute;
        top: 40px;
        font-size: 18px;
        left: 115px;
        text-align: left;
    }
    
    .sec02 .contents .boxs .box p:nth-child(3) {
        position: absolute;
        top: 120px;
        width: 305px;
        left: 24px;
        text-align: left;
        line-height: 1.7;
    }
    
    .sec02 .contents .boxs .box02 p:nth-child(3) {
        position: absolute;
        top: 33px;
        font-size: 18px;
        left: 88px;
        text-align: left;
        width: 70%;
    }
    
    .sec02 .contents .boxs .box02 p:nth-child(4) {
        position: absolute;
        bottom: 40px;
        width: 85%;
        left: 35px;
        text-align: left;
        line-height: 2;
        letter-spacing: 0;
    }
    
    .sec02 .contents .boxs .box02 p:nth-child(5) img {
        position: absolute;
        left: 0;
        top: 290px;
        width: 17%;
    }
    
    .sec02 .contents .boxs .box02 p:nth-child(6) img {
        position: absolute;
        right: 0;
        top: 604px;
        width: 20%;
    }
    
    .sec02 .contents .text {
        margin-top: 20px;
    }
    
    .sec02 .contents .text p:nth-child(1) {
        font-size: 22px;
        font-weight: 500;
    }
    
    .sec02 .contents .text p:nth-child(2) {
        margin-top: 30px;
    }

    .sec02 .contents .text p:nth-child(3) {
        width: 90%;
        margin: 30px auto 0;
        text-align: left;
        font-size: 15px;
    }
    
    .sec02 .contents .bottom {
        margin-top: 80px;
    }
    
    .sec02 .contents .bottom p:nth-child(1) {
        font-size: 24px;
        border-bottom: dotted 4px #CB991D;
        width: 90%;
        margin: 0 auto;
        padding-bottom: 10px;
        line-height: 1.8;
    }
    
    .sec02 .contents .bottom .box03 p:nth-child(1) ,.sec02 .contents .bottom .box04 p:nth-child(1) {
        border-bottom: unset;
        width: 100%;
    }
    
    .colorCB991D {
        color: #cb991d;
        font-weight: 700;
    }
    
    .sec02 .contents .boxs .box03 p:nth-child(2) {
        position: absolute;
        top: 40px;
        font-size: 18px;
        left: 120px;
        text-align: left;
    }
    
    .sec02 .contents .boxs .box03 p:nth-child(3) {
        position: absolute;
        top: 125px;
        width: 305px;
        left: 27px;
        text-align: left;
        line-height: 2;
    }
    
    .sec02 .contents .boxs .box04 p:nth-child(2) {
        position: absolute;
        top: 40px;
        font-size: 18px;
        left: 120px;
        text-align: left;
    }
    
    .sec02 .contents .boxs .box04 p:nth-child(3) {
        position: absolute;
        bottom: 35px;
        width: 305px;
        left: 27px;
        text-align: left;
        line-height: 1.7;
    }
    @media screen and (max-width: 370px) {
    .sec02 .contents .last .inner .box p:nth-child(1) img {
        position: relative;
        right: 125px;
        top: 682px!important;
    }

}