@charset "utf-8";

#LP_wrap h1 {
    max-width: 1080px;
    width: 100%;
    margin: 10px auto;
    font-size: 5vw;
    text-align: center;
}

#LP_contents *{
    box-sizing: border-box;
    line-height: 2;
}

#LP_contents{
    max-width: 1080px;
    margin: 0 auto;
}

#LP_contents .space{
    width: 96%;
    margin: 0 auto;
}

#LP_contents .space hr{
    border: none;
    border-bottom: 1px #cccccc dotted;
}

#LP_contents p{
    font-size: 4vw;
}

#LP_contents h2{
    margin: 50px 0 20px 0;
    padding: 4px 0 4px 16px;
    background-color: #fdeaea;
    border-bottom: #f5bfbf solid 6px;
    font-size: 5vw;
    font-weight: bold;
}

#LP_contents h3{
    margin: 40px 0 20px 0;
    border-bottom: 1px solid #000000;
    font-weight: bold;
    font-size: 4.5vw;
}

#LP_contents img{
    width: 100%;
}

#LP_contents #trouble{
    margin: 20px 0;
    background: #e8e8e8;
}

#LP_contents #trouble p:first-of-type{
    text-align: center;
    padding-top: 10px;
}

#LP_contents #trouble ul{
    background: url(../img/948995.png) no-repeat;
    background-position: right;
    background-size: 28% auto;
    padding-bottom: 20px;
}

#LP_contents #trouble li{
    font-size: 2.8vw;
    position: relative;
    display: inline-block;
    margin: 4px 0;
    padding: 4px;
    min-width: 120px;
    max-width: 100%;
    background: #FFF;
    box-sizing: border-box;
    border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    width: 70%;
}

#LP_contents #trouble li:before{
    content: "";
    position: absolute;
    top: 50%;
    right: -7px;
    margin-top: -5px;
    border: 4px solid transparent;
    border-left: 4px solid #fff;
    z-index: 2;
}

#LP_contents #trouble + p{
    text-align: center;
    font-weight: bold;
}

#LP_contents .LP_w1{
    margin: 10px auto 30px;
}

#LP_contents .gather_wrap{
    margin: 30px 0;
}

#LP_contents .gather_wrap p:nth-of-type(2){
    width: 90%;
    margin-bottom: 0;
}

#LP_contents .gather_wrap p:nth-of-type(3){
    text-align: center;
}

#LP_contents .gather_wrap p:nth-of-type(3) img{
    width: 14%;
    margin: 20px auto;
}

#LP_contents .center{
    text-align: center;
}

#LP_contents .bold{
    font-weight: bold;
}

#LP_contents .uwaoki_inner{
    margin: 0 10px;
    border: 1px solid #edebeb;
}

#LP_contents .uwaoki_inner p{
    background: #edebeb;
    padding: 8px 4px;
}

#LP_contents #uwaoki{
    display: -webkit-flex;
    display: flex;
    flex-direction: row;
    -webkit-justify-content: space-around;
    justify-content:         space-around;
    margin-top: 30px;
}

#LP_contents .link_btn a{
    display: block;
    margin: 40px auto;
    padding: 4px;
    background-color: #ff3333;
    width: 74%;
    border-radius: 10px;
    color: #ffffff;
    font-size: 5vw;
    font-weight: bold;
    text-align: center;
}

#LP_contents .link_btn a:hover{
    opacity: 0.7;    
}

#LP_contents .link_btn a img{
    width: 4%;
    margin: 0 8px 0 0!important;
    vertical-align: middle;
}

#LP_contents #about_hekimen .link_btn a{
    font-size: 3vw;
    padding: 8px;
}

#LP_contents .yellow_line {
    background:linear-gradient(transparent 60%, #ffffbc 0%);
}

#LP_contents .pink_line {
    background:linear-gradient(transparent 60%, #f9d1d1 100%);
}

#LP_contents .LP_center{
    text-align: center;
    margin-bottom: 8px;
    font-weight: bold;
}


#LP_contents #popular_w .link_btn a{
    margin-top: 10px;
}


#LP_contents .space .popular{
    padding: 8px;
    margin-bottom: 16px;
}

#LP_contents #LP_show_room img{
    margin-bottom: 12px;
}

#LP_contents .space .popular p:last-child{
    text-align: right;
    margin-top: 8px;
}

#LP_contents .popular_detail ul{
    background-color: #edebeb;
    overflow: hidden;
}

#LP_contents .popular_detail ul:first-of-type{
    display: flex;
    justify-content: space-around;
    padding-top: 10px;
}

#LP_contents .popular_detail li{
    float: left;
    width: 33.3%;
    text-align: center;
}
#LP_contents .popular_detail ul:first-of-type li{
    width: 16px;
    height: 16px;
    border-radius: 8px;
}

#LP_contents .popular_detail ul:first-of-type li:first-child{
    background: #ddc098;
}

#LP_contents .popular_detail ul:first-of-type li:nth-child(2){
    background: #7c5d48;
}

#LP_contents .popular_detail ul:first-of-type li:nth-child(3){
    background: #ffffff;
    border: 1px solid #999999;
}

#LP_contents .popular_detail p:first-of-type{
    margin: 8px 0;
}

#LP_contents .popular h3{
    margin: 10px 0;
    text-indent: 4em;
    border: none;
    font-size: 16px;
}

#LP_contents .p_no1 h3{
    background: url(../img/crown1.png) no-repeat;
    background-position: 14px;
    background-size: contain;
}

#LP_contents .p_no2 h3{
    background: url(../img/crown2.png) no-repeat;
    background-position: 14px;
    background-size: contain;
}

#LP_contents .p_no3 h3{
    background: url(../img/crown3.png) no-repeat;
    background-position: 14px;
    background-size: contain;
}

#LP_contents .popular > p:first-of-type {
    transform: rotate(-18deg) translateY(-32px);
    -moz-transform: rotate(-18deg) translateY(-32px);
    -webkit-transform: rotate(-18deg) translateY(-32px); 
    font-size: 3vw;
}

@media screen and (min-width: 400px){
    #LP_contents .popular > p:first-of-type {
        transform: rotate(-18deg) translateY(-36px);
    }
}
    
@media screen and (min-width: 440px){
    #LP_contents .popular > p:first-of-type {
        transform: rotate(-18deg) translateY(-44px);
    }
}

@media screen and (min-width: 490px){
    #LP_contents .popular > p:first-of-type {
        transform: rotate(-18deg) translateY(-52px);
    }
}

@media screen and (min-width: 560px){
    #LP_contents .popular > p:first-of-type {
        transform: rotate(-18deg) translateY(-64px);
    }
}

@media screen and (min-width: 650px){
    #LP_contents .popular > p:first-of-type {
        transform: rotate(-18deg) translateY(-74px);
    }
}

@media screen and (min-width: 700px){
    #LP_contents .popular > p:first-of-type {
        transform: rotate(-18deg) translateY(-84px);
    }
}


#LP_contents .popular_detail p:last-of-type a{
    color: #E67C7C;
}

#LP_contents .popular_detail p:last-of-type a:hover{
    opacity: 0.7;
}

#LP_contents #merit h3{
    font-size: 16px;
    border-bottom: #ff6666 1px solid;
}

#LP_contents #merit h3 img{
    width: 12%;
    vertical-align: middle;
}

#LP_contents #LP_contact .space p:first-of-type{
    margin-bottom: 30px;
}

#LP_contents #LP_contact .space p:nth-of-type(2),
#LP_contents #LP_contact .space p:nth-of-type(3),
#LP_contents #LP_contact .space p:nth-of-type(4){
    text-align: center;    
}

#LP_contents #LP_contact .space p:nth-of-type(3){
    font-size: 36px;
}

#LP_contents #LP_contact .space p:nth-of-type(3) img{
    width: 32px;
    vertical-align: initial;
    margin-right: 4px;
}

#LP_contents #flow .flow_detail{
    overflow: hidden;
}

#LP_contents #flow .flow_detail img{
    float: right;
    width: 24%;
}

#LP_contents #flow .flow_detail p{
    float: left;
    width: 76%;
    font-size: 3vw;
}


#LP_contents #flow .flow_wrap {
    position: relative;
    display: inline-block;
    margin: 10px 0;
    padding: 7px 10px;
    max-width: 100%;
    background: #FFF;
    border: solid 3px #aaa;
    box-sizing: border-box;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}

#LP_contents #flow .flow_wrap:not(:last-of-type):before{
    content: "";
    position: absolute;
    bottom: -24px;
    left: 20%;
    margin-left: -15px;
    border: 12px solid transparent;
    border-top: 12px solid #FFF;
    z-index: 2;
}

#LP_contents #flow .flow_wrap:not(:last-of-type):after{
    content: "";
    position: absolute;
    bottom: -30px;
    left: 20%;
    margin-left: -17px;
    border: 14px solid transparent;
    border-top: 14px solid #aaa;
    z-index: 1;
}



#LP_contents #flow .flow_wrap h3{
    border: none;
    margin: 0 0 10px 0;
    text-indent: 6em;
}

#LP_contents #flow .flow_wrap:first-of-type h3{
    background: url(../img/step1.png) no-repeat;
    background-size: contain;
}

#LP_contents #flow .flow_wrap:nth-of-type(2) h3{
    background: url(../img/step2.png) no-repeat;
    background-size: contain;
}

#LP_contents #flow .flow_wrap:nth-of-type(3) h3{
    background: url(../img/step3.png) no-repeat;
    background-size: contain;
}


/*スライダー部分*/
.c-container img{
    width: 100%;
}


/*スライダー部分ここまで*/


@media screen and (max-width: 768px){
    #smp_footer {
        display:none!important;
    }
}

@media screen and (min-width: 480px){
    #LP_contents p {
        font-size: 3vw;
    }
    
    #LP_contents h2{
        font-size: 4.4vw;
        margin: 70px 0 20px 0;
    }
    
    #LP_contents h3{
        font-size: 4vw;
        margin: 50px 0 20px 0;
    }
    
    #LP_contents span{
        font-size: 3.8vw;
    }
    
    #LP_contents .popular h3{
        font-size: 20px;
    }
    
    #LP_contents .center{
        font-size: 4vw;
    }
    
    #LP_contents .link_btn a{
        padding: 4px;
        font-size: 4vw;
        width: 72%;
    }
    
    #LP_contents .LP_w1 {
        margin: 24px auto 30px;
    }
        
    #LP_contents .popular_detail p:first-of-type {
        margin: 16px 0;
    }
    
    #LP_contents .space .popular p:last-child {
        margin-top: 16px;
    }
    
    #LP_contents #merit h3{
        font-size: 3vw;
    }
    
    #LP_contents #trouble li{
        font-size: 12px;
        padding: 10px 20px;
    }
    
    #LP_contents #trouble ul{
        background-size: auto 76%;
    }
}

@media screen and (min-width: 600px){
    #LP_wrap h1{
        font-size: 4.2vw;
    }
    
    #LP_contents h2 {
        margin: 100px 0 20px 0;
    }
}

@media screen and (min-width: 768px){
    #LP_wrap h1{
        font-size: 26px;
    }
    
    #LP_contents h2{
        font-size: 24px;
    }
    
    #LP_contents h3{
        font-size: 22px;
    }
    
    #LP_contents p{
        font-size: 16px;
    }
    
    #LP_contents span{
        font-size: 20px;
    }
    
    #LP_contents .gather_wrap p:nth-of-type(3) img{
        width: 8%;
    }
    
    #LP_contents .center {
        font-size: 16px;
    }
    
    #LP_contents .link_btn a,
    #LP_contents #about_hekimen .link_btn a{
        width: 40%;
        font-size: 20px;
    }
    
    #LP_contents .link_btn a img{
        width: 3%;
        margin: 0 12px 0 0!important;
    }
    
    #LP_contents .popular > p:first-of-type {
        transform: rotate(-18deg) translateY(-134px) translateX(10px);
    }
    
    #LP_contents .popular > p:first-of-type {
        font-size: 16px;
    }
    
    #LP_contents #merit h3 {
        font-size: 20px;
    }
    
    #LP_contents #merit h3 img {
        width: 4%;
    }
    
    #LP_contents #flow .flow_detail p{
        font-size: 16px;
    }
    
    #LP_contents #flow .flow_detail img {
        width: 16%;
        margin-right: 4%;
    }
    
    #LP_contents #flow .flow_wrap{
        padding: 12px 18px;
    }
    
    #LP_contents #flow .flow_wrap:not(:last-of-type):before{
        left: 12%;
    }
    
    #LP_contents #flow .flow_wrap:not(:last-of-type):after{
        left: 12%;
    }
    
    #LP_contents .LP_w1{
        text-align: center;
    }
    
    #LP_contents .LP_w1 img{
        width: 80%;
        margin-bottom: 30px;
    }
    
    #LP_contents .popular{
        overflow: hidden;
    }
    
    #LP_contents .popular .popular_item_img{
        width: 60%;
        float: left;
    }
    
    #LP_contents .popular .popular_item_img img{
        width: 90%;
    }
    
    #LP_contents .popular .popular_detail{
        width: 40%;
        float: right;
    }
    
    #LP_contents #uwaoki{
        margin-bottom: 70px;
    }
    
    #LP_contents .LP_center{
        font-size: 20px;
    }
    
    #LP_contents #LP_show_room .LP_center + img{
        width: 80%;
        margin: 0 10% 30px;
    }
    
    #LP_contents #trouble{
        margin: 50px 0;
    }
        
    #LP_contents #trouble p:first-of-type{
        font-size: 20px;
    }
    
    #LP_contents #trouble li {
        font-size: 16px;
        margin: 8px 0;
        padding: 10px 40px;
        width: 76%;
    }
    
    #LP_contents #trouble + p + p{
        text-align: center;
    }
    
    #LP_contents #trouble li:before{
        right: -16px;
        margin-top: -10px;
        border: 10px solid transparent;
        border-left: 10px solid #fff;
    }
    
}