@charset "utf-8";

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

    .firstview {
        background: url(../images/filling/firstview.png);
        height: 666px;
        background-size: 2000px;
        margin-top: -187px;
        background-repeat: no-repeat;
        /* background-position: top 120px center; */
        background-position: top 120px right -777px;
    }

    .firstview .text .box {
        position: absolute;
        top: 220px!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;
    }

    .firstview .text p:nth-child(2) img {
        position: absolute;
        top: 268px;
        left: 17px;
        width: 8%;
    }
    
    .sec01 {
        background: url(../images/caries/back_white.png);
        margin-top: -290px;
        background-position: top;
        background-repeat: no-repeat;
        padding-top: 0;
        padding-top: 0;
    }
    
    .sec01 .contents {
        padding: 40px 0 100px;
        text-align: center;
        position: relative;
        width: 100%;
        margin: 0 auto;
    }
    
    .sec01 .contents .title {
        font-size: 22px;
        font-weight: 700;
        line-height: 1.7;
        border-bottom: dotted 4px #cb991d;
        width: 90%;
        margin: 15px auto 25px;
        letter-spacing: 6px;
        padding-bottom: 10px;
    }
    
    .sec01 .contents p:nth-child(3) {
        line-height: 2;
        width: 90%;
        margin: 0 auto;
    }
    
    .sec01 .contents p:nth-child(4) {
        position: absolute;
        top: 979px;
        left: 35px;
    }
    
    .sec01 .contents .boxs {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 20px;
    }
    
    .sec01 .contents .boxs .box ,.sec01 .contents .boxs .box02 ,.sec01 .contents .boxs .box03 ,.sec01 .contents .boxs .box04 {
        position: relative;
        margin: 6px;
    }
    
    .sec01 .contents .boxs .box02 ,.sec01 .contents .boxs .box03 {
        margin-top: 6px;
    }
    
    .sec01 .contents .boxs .box p:nth-child(2) {
        position: absolute;
        top: 45px;
        left: 41px;
        line-height: 1.8;
        font-weight: 600;
    }
    
    .sec01 .contents .boxs .box02 p:nth-child(2) {
        position: absolute;
        top: 55px;
        left: 25px;
        line-height: 1.8;
        font-weight: 600;
    }
    
    .sec01 .contents .boxs .box03 p:nth-child(2) {
        position: absolute;
        top: 45px;
        left: 25px;
        line-height: 1.8;
        font-weight: 600;
    }
    
    .sec01 .contents .boxs .box04 p:nth-child(2) {
        position: absolute;
        top: 45px;
        left: 27px;
        line-height: 1.8;
        font-weight: 600;
    }
    
    .sec01 .contents p:nth-child(6) {
        position: absolute;
        right: 5px;
        bottom: 125px;
    } 
    
    .sec01 .contents p:nth-child(7) {
        margin-top: 60px;
        line-height: 2;
    }
    
    /* -----sec02------ */
    
    .sec02 {
        background: url(../images/index/top_back.png);
        background-position: top;
        background-size: cover;
        padding-top: 100px;
        text-align: center;
    }
    
    .sec02 .contents .top {
        position: relative;
       width: 95%;
       margin: 0 auto;
    }

    .sec02 .contents .top p:nth-child(2) {
        /* width: 90%;
        margin: 0 auto; */
    }
    .sec02 .contents .top p:nth-child(2) img {
        width: 100%;
        max-width: 378px;
    }

    .sec02 .contents .top p:nth-child(4) {
        text-align: left;
        width: 95%;
        margin: 0 auto 0;
        line-height: 2;
    }
    
    .sec02 .contents .top .title ,.sec02 .contents .top3 .title {
        font-size: 19px;
        color: #ffffff;
        font-weight: 700;
        position: relative;
        bottom: 75px;
        letter-spacing: 0px;
    }
    
    .sec02 .contents .top p:nth-child(3) {
        width: 100%;
        margin: 0 auto 0;
        text-align: left;
        line-height: 2;
    }
    
    .bold18 {
        font-size: 18px;
        font-weight: 700;
    }
    
    .sec02 .contents .top .center {
        position: relative;
    }
    
    .sec02 .contents .top .center p:nth-child(1) {
        position: relative;
        right: 400px;
        top: 80px;
    }
    
    .sec02 .contents .top .center .subtitle {
        font-size: 20px;
        letter-spacing: 2px;
        margin-top: -50px;
    }
    
    .sec02 .contents .top .center p:nth-child(3) img {
        position: relative;
        left: 0;
        bottom: 28px;
    }
    
    .sec02 .contents .top .center p:nth-child(4) {
        font-size: 29px;
        letter-spacing: 2px;
        margin-top: -40px;
        text-align: center;
    } 
    
    .font50 {
        font-size: 50px;
        color: #cb991d;
    }
    
    .font29 {
        font-size: 29px;
        color: #cb991d;
    }
    
    .sec02 .contents .top .center .boxs_top ,.sec02 .contents .top .center .boxs_bottom {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .sec02 .contents .top .center .boxs_top .box ,.sec02 .contents .top .center .boxs_top .box2 ,.sec02 .contents .top .center .boxs_top .box3 {
        position: relative;
        margin: 20px 35px;
    }
    
    .sec02 .contents .top .center .boxs_top .box p:nth-child(1) ,.sec02 .contents .top .center .boxs_top .box2 p:nth-child(1) ,.sec02 .contents .top .center .boxs_top .box3 p:nth-child(1) ,.sec02 .contents .top .center .boxs_bottom .box4 p:nth-child(1) ,.sec02 .contents .top .center .boxs_bottom .box5 p:nth-child(1) {
        position: unset;
    }
    
    .sec02 .contents .top .center .boxs_top .box p:nth-child(2) {
        position: absolute;
        bottom: 30px;
        font-size: 18px;
        left: 35px;
        line-height: 1.5;
    }
    
    .sec02 .contents .top .center .boxs_top .box2 p:nth-child(2) {
        position: absolute;
        bottom: 30px;
        font-size: 18px;
        left: 25px;
        line-height: 1.5;
    }
    
    .sec02 .contents .top .center .boxs_top .box3 p:nth-child(2) {
        position: absolute;
        bottom: 30px;
        font-size: 18px;
        left: 17px;
        line-height: 1.5;
    }
    
    .sec02 .contents .top .center .boxs_bottom .box4 , .sec02 .contents .top .center .boxs_bottom .box5 {
        position: relative;
        margin: 20px 35px;
    }
    
    .sec02 .contents .top .center .boxs_bottom .box4 p:nth-child(2) {
        position: absolute;
        bottom: 27px;
        font-size: 18px;
        left: 25px;
        line-height: 1.5;
    }
    
    .sec02 .contents .top .center .boxs_bottom .box5 p:nth-child(2) {
        position: absolute;
        bottom: 27px;
        font-size: 18px;
        left: 18px;
        line-height: 1.5;
    }
    
    .sec02 .contents .top .center p:nth-child(7) img {
        position: relative;
        left: -150px;
        bottom: 20px;
    }
    
    .sec02 .contents .content {
        margin-top: -30px;
        width: 100%;
        margin: 0 auto;
    }
    
    .sec02 .contents .content .box {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .sec02 .contents .content .box .right {
        width: 78%;
        text-align: left;
        margin: 40px auto 0;
        line-height: 2.2;
    }
    
    .sec02 .contents .content .top3 {
        max-width: 351px;
        margin: 65px auto 0;
    }

    .sec02 .contents .content .top3 p:nth-child(2) img {
        width: 100%;
    }

    .sec02 .contents .content .top3 p:nth-child(2) {
        position: relative;
        bottom: 5px;
    }
    
    .sec02 .contents .content .bottom {
        border: 1px dashed #3c250e;
        background: #fff;
        width: 90%;
        margin: 0 auto;
        padding: 40px 0;
        font-size: 17px;
        color: #231815;
    }
    
    .sec02 .contents .content .bottom .box {
        position: relative;
        display: block;
    }
    
    .sec02 .contents .content .bottom .box .name {
        position: relative;
        bottom: 35px;
    }
    
    .sec02 .contents .content .bottom .value {
        position: relative;
        bottom: 10px;
        line-height: 2;
    }
    
    .sec02 .contents .content .bottom .tax {
        text-align: right;
    margin: 10px 0px -10px 0;
    }

    .sec02 .contents .last .inner .box p:nth-child(1) img {
        position: relative;
        right: 125px;
        top: 442px!important;
    }
    
}