@charset "utf-8";

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


    .firstview {
        background: url(../images/whitening/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-top: 40px;
        text-align: center;
        position: relative;
        width: 100%;
        margin: 0 auto;
    }
    
    .sec01 .contents .title {
        font-size: 22px;
        font-weight: 700;
        margin-top: 10px;
        line-height: 1.7;
        letter-spacing: 5px;
    }
    
    .sec01 .contents p:nth-child(3) {
        line-height: 2;
        margin-top: 30px;
        width: 90%;
        margin: 30px auto 0;
        text-align: left;
    }
    
    .sen {
        border-bottom: dotted 4px #cb991d;
        font-weight: 600;
    }
    
    .sec02 {
        background: url(../images/index/top_back.png);
        background-position: top;
        margin-top: 40px;
    }
    
    .sec02 .contents {
        text-align: center;
    }
    
    .sec02 .contents .top {
        position: relative;
        padding-top: 30px;
        max-width: 351px;
        margin: 0 auto;
    }

    .sec02 .contents .top p:nth-child(2) img {
        width: 100%;
    }
    
    .sec02 .contents .top .title {
        position: relative;
        color: #fff;
        font-size: 24px;
        font-weight: 700;
        top: -74px;
        line-height: 1.3;
    }
    
    .sec02 .contents .subtitle {
        font-size: 22px;
        font-weight: 500;
        letter-spacing: 3px
    }
    
    .sec02 .contents .merit {
        position: relative;
        width: 100%;
        margin: 0 auto;
    }
    
    .sec02 .contents .merit .top p:nth-child(1) {
        font-size: 20px;
    }
    
    .sec02 .contents .merit .top p:nth-child(2) {
        margin-top: -35px;
    }   
    
    .sec02 .contents .merit .top p:nth-child(3) {
        font-size: 29px;
        letter-spacing: 2px;
        text-align: center;
        position: unset;
    }
    
    .font50 {
        font-size: 50px;
        color: #cb991d;
    }
    
    .font29 {
        font-size: 29px;
        color: #cb991d;
    }
    
    .sec02 .contents .merit .top p:nth-child(4) {
        position: absolute;
        top: 21px;
        left: 11px;
    }
    
    .sec02 .contents .merit .boxs {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .sec02 .contents .merit .boxs .box {
        position: relative;
        margin: 20px;
    }
    
    .sec02 .contents .merit .boxs .box p:nth-child(2) {
        position: absolute;
        top: 155px;
        width: 84%;
        margin: 0px auto 0;
        left: 23px;
    }
    
    .bolid20 {
        font-weight: bold;
    }
    
    .sec02 .contents .merit p:nth-child(3) img {
        position: relative;
        left: 0px;
        bottom: 50px;
    }
    
    .sec02 .contents .merit .text p:nth-child(1) {
        font-size: 22px;
        font-weight: 500;
        width: 90%;
        margin: 0 auto 30px;
        border-bottom: 2px dashed #18973b;
        padding-bottom: 15px;
        letter-spacing: 2px;
    }
    
    .sec02 .contents .merit .text .boxs .left {
        width: 100%;
    }
    
    .sec02 .contents .merit .text .boxs .left p {
        border: unset;
        margin: 0 auto;
    }
    
    .sec02 .contents .merit .text .boxs .right {
        width: 95%;
    }
    
    .sec02 .contents .merit .text .boxs .right p {
        font-size: 18px;
        border: unset;
        width: 91%;
        text-align: left;
        letter-spacing: 0px;
        line-height: 1.7;
        font-weight: 400;
        margin: 0 auto;
    }
    
    .sec02 .contents .top .subtitle{
        font-size: 22px;
        color: #ffffff;
        font-weight: 700;
        position: relative;
        bottom: 76px;
        letter-spacing: 2px;
    }
    
    .sec02 .contents .sikumi {
        margin-top: -90px;
        width: 100%;
        margin: 0 auto;
    }
    
    .sec02 .contents .sikumi .content {
        position: relative;
        background: url(../images/index/all_back.jpg);
    }

    .sec02 .contents .sikumi .content p:nth-child(2) img {
        margin-left: -15px;
    }
    
    .sec02 .contents .sikumi .content p:nth-child(3) {
        width: 165px;
        position: absolute;
        top: 160px;
        left: 190px;
        text-align: left;
        line-height: 1.8;
    }
    
    .sec02 .contents .sikumi .content p:nth-child(4) {
        width: 122px;
        position: absolute;
        top: 380px;
        left: 200px;
        text-align: left;
        line-height: 1.8;
    }

    .sec02 .contents .flow .top .etc {
        top: -62px;
    }
    
    .sec02 .contents .sikumi .content p:nth-child(5) {
        width: 122px;
        position: absolute;
        top: 580px;
        left: 200px;
        text-align: left;
        line-height: 1.8;
    }
    
    .sec02 .contents .sikumi .content p:nth-child(6) {
        width: 170px;
        position: absolute;
        top: 720px;
        left: 190px;
        text-align: left;
        line-height: 1.8;
    }

    .tigai .content p {
        overflow: scroll;
    }

    .tigai .content p img {
        max-width: 917px;
    }
    
    .sec02 .contents .flow {
        background: url(../images/index/all_back.jpg);
    }
    
    .sec02 .contents .flow .content {
        display: flex;
        width: 100%;
        margin: 0 auto;
    }
    
    .sec02 .contents .flow .content .left {
        width: 30%;
    }
    
    .sec02 .contents .flow .content .right {
        width: 90%;
        margin: 0 auto;
    }

    .sec02 .contents .flow .content .right p:nth-child(3), .sec02 .contents .flow .content .right p:nth-child(5), .sec02 .contents .flow .content .right p:nth-child(7) {
        margin-top: 30px;
    }

    .sec02 .contents .flow .content .right p:nth-child(9) {
        margin-top: 50px;
    }
    
    .sec02 .contents .flow .content .right .no1 {
        text-align: left;
        margin-top: 50px;
    }
    
    .sec02 .contents .flow .content .right .topic {
        font-size: 23px; 
        font-weight: 500;
        color: #a47d55;
    }
    
    .sec02 .contents .flow .content .right .no1 p:nth-child(2) {
        line-height: 2;
        margin-top: 20px;
    }
    
    .sec02 .contents .flow .content .right .no1 .box {
        width: 90%;
        background: rgba(255,255,255,0.36);
        padding: 10px 20px;
        line-height: 1.7;
        margin: 15px 0;
    }
    
    .sec02 .contents .flow .content .right .no2 {
        text-align: left;
        margin-top: 20px;
    }
    
    .sec02 .contents .flow .content .right .no2 p:nth-child(2) {
        margin-top: 25px;
        line-height: 1.7;
    }
    
    .sec02 .contents .flow .content .right .no3 ,.sec02 .contents .flow .content .right .no4 {
        text-align: left;
        margin-top: 20px;
    }
    
    .sec02 .contents .flow .content .right .no3 p:nth-child(2) ,.sec02 .contents .flow .content .right .no4 p:nth-child(2) {
        margin-top: 25px;
        line-height: 1.7;
    }
    
    .sec02 .contents .flow .content .right .no4 .boxs {
        margin-top: 25px;
    }
    
    .sec02 .contents .flow .content .right .no4 .boxs .box {
        position: relative;
        margin-bottom: 30px;
        display: flex;
    }
    
    .sec02 .contents .flow .content .right .no4 .boxs .box p:nth-child(1) {
        position: unset;
        margin: 0 auto;
    }
    
    .sec02 .contents .flow .content .right .no4 .boxs .box p:nth-child(2) {
        position: unset;
        width: 90%;
        margin: 15px auto 0 10px;    
    }
    
    .sec02 .contents .flow .content .right .no4 .boxs .box p:nth-child(3) {
        position: absolute;
        width: 115px;
        left: 26px;
        margin-top: 10px;
    }
    
    .sec02 .contents .flow .content .right .no4 .boxs .box p:nth-child(4) {
        position: absolute;
        width: 111px;
        left: 40px;
        margin-top: 10px;
    }
    
    .sec02 .contents .flow .content .right .no4 .boxs .box p:nth-child(5) {
        position: absolute;
        width: 110px;
        left: 0px;
        margin-top: 10px;
    }
    
    .sec02 .contents .flow .content .right .no5 {
        text-align: left;
        margin-top: 30px;
    }
    
    .sec02 .contents .flow .content .right .no5 p:nth-child(2) {
        margin-top: 25px;
        line-height: 1.7;
    }

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

    .sec02 .money {
        width: 90%;
        margin: 0px auto;
        background: #fff;
        padding: 20px 15px 10px;
        font-size: 14px;
        max-width: 545px;
    }

    .sec02 .money .subtitle {
        font-size: 18px;
        font-weight: unset;
        letter-spacing: 3px;
        margin-bottom: 15px;
    }

}

@media screen and (min-width: 376px) and (max-width: 414px) {

.sec02 .contents .sikumi .content p:nth-child(3) {
    width: 165px;
    position: absolute;
    top: 160px;
    left: auto;
    text-align: left;
    line-height: 1.8;
    right: 2%;
}

.sec02 .contents .sikumi .content p:nth-child(4) {
    width: 122px;
    position: absolute;
    top: 380px;
    left: auto;
    text-align: left;
    line-height: 1.8;
    right: 12%;
}

.sec02 .contents .sikumi .content p:nth-child(5) {
    width: 122px;
    position: absolute;
    top: 580px;
    left: auto;
    text-align: left;
    line-height: 1.8;
    right: 12%;
}

.sec02 .contents .sikumi .content p:nth-child(6) {
    width: 170px;
    position: absolute;
    top: 720px;
    left: auto;
    text-align: left;
    line-height: 1.8;
    right: 0;
}

}

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

    .sec02 .contents .sikumi .content p:nth-child(3) {
        width: 165px;
        position: absolute;
        top: 160px;
        left: 200px;
        text-align: left;
        line-height: 1.8;
        right: 0;
        margin: auto;
    }

    .sec02 .contents .sikumi .content p:nth-child(4) {
        width: 122px;
        position: absolute;
        top: 380px;
        left: 200px;
        right: 0px;
        line-height: 1.8;
        margin: auto;
    }

    .sec02 .contents .sikumi .content p:nth-child(5) {
        width: 122px;
        position: absolute;
        top: 580px;
        left: 200px;
        text-align: left;
        line-height: 1.8;
        right: 0px;
        margin: auto;
    }

    .sec02 .contents .sikumi .content p:nth-child(6) {
        width: 175px;
        position: absolute;
        top: 720px;
        left: 200px;
        right: 0px;
        line-height: 1.8;
        margin: auto;
    }

}