html,body{
    background-color: #fff;
    font-family: "Noto Sans JP",sans-serif;
    color: #000;
    font-size: 62.5%;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
}

a{
    color:#0E53A2;
}

/* header */

.rcc-header{
    background-color: #000;
    width: 100%;
    height: 110px;
    text-align: center;
}

.rcc-h1{
    font-size: 2.0rem;
    font-weight: bold;
    color: #fff;
    height: 60px;
    padding-top:10px;
    padding-bottom: 20px;
}

.rcc-header div{
     padding-top: 10px;
     width: auto;   
     height: 60px;
}

.rcc-header div img{
    width: auto;
    height: 100%;
}

.underline-green{
    font-size: 1.6rem;
    font-weight: bold;
    display: inline-block;
    background:linear-gradient(transparent 70%, #88D3A2 70%);
    vertical-align:bottom;
    margin-top: 5px;
}

.underline-blue{
    font-size: 1.6rem;
    font-weight: bold;
    display: inline-block;
    background:linear-gradient(transparent 70%, #85ADD4 70%);
    vertical-align:bottom;
    margin-top: 5px;
}

.underline-orange{
    font-size: 1.6rem;
    font-weight: bold;
    display: inline-block;
    background:linear-gradient(transparent 70%, #F8C384 70%);
    vertical-align:bottom;
    margin-top: 5px;
}

.underline-yellow{
    font-size: 1.6rem;
    font-weight: bold;
    display: inline-block;
    background:linear-gradient(transparent 70%, #FFF28A 70%);
    vertical-align:bottom;
    margin-top: 5px;
}

.big-red{
    font-size: 1.8rem;
    font-weight: bold;
    display: inline-block;
    color: #F28597;
    vertical-align:bottom; 
    margin-top: 5px;
}


/* container*/

.rcc-container{
    padding:30px 10px;
}

.rcc-container-inner{
    width: 100%;
    margin:0 auto;
}

.rcc-h2{
    background-color: #000;
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
    line-height: 1.5;
    padding: 5px 10px;
}

.rcc-h3{
    line-height: 1.5;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 10px 0;
    color: #000;
    display: flex;
    -webkit-align-items: center; /* 縦方向中央揃え（Safari用） */
    align-items: center; /* 縦方向中央揃え */
}

.rcc-h3::before{
    content: url(../images/h3-icon2.png);
    margin-right: 8px;

}

.rcc-h4{
    font-size: 1.5rem;
    line-height: 1.5;
    font-weight: bold;
    color: #000;
    padding: 10px 0;
    margin-top: 10px;
}

/* info */
.rcc-info{
    text-align: center;
    padding-bottom: 40px;
}

.rcc-info p{
    font-size: 1.5rem;
    line-height: 1.5;
    margin-bottom: 10px;
}
.rcc-info-certificate-img{
    margin: 0 auto;
    width: 100%;
    height: auto;
    text-align: center;
    padding: 40px 50px 40px;
} 
.rcc-info-certificate-img img{
    margin:0 auto;
    max-width: 300px;
    width: 100%;
    height: auto; /*672px*/
    text-align: center;
    border: 1px solid #ccc;
}

.rcc-info .rcc-info-notice{
    font-size: 1.2rem;
    line-height: 1.4;
}
/*
.rcc-info-notice span{
    font-weight: bold;
}
*/

/* item */

.rcc-item{
    padding: 20px 0;
}

.rcc-item-inner{
    padding: 20px 10px;
}

.rcc-item ul{
    list-style-type: disc;
}

.rcc-item ul li{
    font-size:1.5rem;
    line-height: 1.5;
    padding: 5px 0;
    margin-left: 20px;
}

.rcc-item p{
    margin-top: 20px;
    font-size: 1.5rem;
    line-height: 1.5;
}


/* application */

.rcc-app{
    padding: 20px 0;    
}

.rcc-app-inner{
    padding: 20px 10px;
}

.rcc-app p{
    font-size: 1.5rem;
    line-height: 1.5;
}

.rcc-app ul{
    list-style-type: disc;
}
.rcc-app ul li{
    font-size:1.5rem;
    line-height: 1.5;
    padding: 5px 0;
    margin-left: 20px;
}

.rcc-app ul + h3{
    margin-top: 20px;
}
/* image*/

.underline-red{
    font-weight: bold;
    background:linear-gradient(transparent 80%, #F28597 80%);
    vertical-align:bottom;
    padding-bottom: 1px;
}

.rcc-image{
    padding: 20px 0;    
}

.rcc-image-inner{
    padding: 30px 10px 20px;
}

.rcc-image p{
    font-size: 1.5rem;
    line-height: 1.5;
}
.rcc-image-imgflexbox + p {
    margin-top: 20px;
}

.rcc-image-inner p + p{
    margin-top: 20px;
}

.rcc-image p + h3{
    margin-top: 20px;
}

.rcc-image-imgflexbox{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.rcc-image-imgflexbox div{
    align-items: flex-start;
    width: 100%;
    height: auto;
    position: relative;

}
.rcc-image-imgflexbox div:first-child{
    margin-bottom: 10px;
}

.rcc-image-imgflexbox img{
    width: 100%;
    height: auto;
    border: 1px solid #ccc;
}


.before-image{
    margin-top: 0px;
    font-weight:bold;
    position: absolute;
    top:5px;
    left: 5px;
    background-color: #fff;
    border: 3px solid #F28597;
    padding: 5px 8px;
}

.after-image{
    margin-top: 0px;
    font-weight:bold;
    position: absolute;
    top:5px;
    left: 5px;
    background-color: #fff;
    border: 3px solid #F28597;
    padding: 5px 8px;
}

/* payment */

.rcc-payment{
    padding: 20px 0;    
}

.rcc-payment-inner{
    padding: 30px 10px 20px;
}

.rcc-payment p{
    font-size: 1.5rem;
    line-height: 1.5;
}

.rcc-payment h3+ p{
    margin-top:10px;
}

.rcc-payment img {
    max-width: 100%;
}

.rcc-payment ul{
    margin-top: 10px;
    list-style-type: disc;
}
.rcc-payment ul li{
    font-size:1.5rem;
    line-height: 1.5;
    padding: 5px 0px;
    margin-left: 20px;
}

.rcc-payment h3{
    margin-top: 20px;
}

/* faq */

.rcc-faq{
    padding: 20px 0;    
}

.rcc-faq-inner{
    padding: 30px 10px 20px;
}

.rcc-faq-sec:nth-child(+2){
    margin-top: 20px;
}

.rcc-faq p{
    font-size: 1.5rem;
    line-height: 1.5;
}

.faq-question{
   font-weight: bold; 
}

.faq-answer{
   font-weight: bold; 
}

/* teams */
.rcc-terms{
    padding: 20px 0;    
}

.rcc-terms h3:before{
    content: '';
    margin-right: 0;
}

.rcc-terms-inner-notice{
    background-color: #eeeeee;
    padding: 20px 20px;
    margin-top: 20px;
}

.rcc-terms-inner-rule{
    background-color: #eeeeee;
    padding: 20px 20px;
    margin-top: 20px;
}

.rcc-terms p{
    font-size: 1.3rem;
    line-height: 1.3;
    margin: 0;
}

.rcc-terms ul{
    margin-top: 10px;
    list-style-type: disc;
}

.rcc-terms ul li{
    font-size:1.3rem;
    line-height: 1.3;
    padding: 5px 0px;
    margin-left: 20px;
}

.rcc-terms h4{
    font-size: 1.3rem;
}

.rcc-terms ol{
    margin-top: 0;
    list-style-type: decimal;
}
.rcc-terms ol li{
    font-size:1.3rem;
    line-height: 1.3;
    padding: 5px 0px;
    margin-left: 30px;
}


/* form */
.rcc-form{
    padding: 20px 0;    
}

.rcc-form-inner{
    padding: 30px 10px 20px;
}

.rcc-form p{
    font-size: 1.5rem;
    line-height: 1.5;
}

.rcc-form-link{
    font-size: 1.5rem;
    color: #fff;
    background-color: #000;
    padding: 20px;
    border-radius: 5px;
    opacity: 0.5;
}

.rcc-form-link-check{
    font-size: 1.5rem;
    padding: 20px;
    opacity: 1;
}

.rcc-form-agree{
    margin-top: 20px;
    margin-left: 5px;
    font-size: 1.5rem;
    line-height: 1.5;
    font-weight: bold;
}

.rcc-form-agree label{
    padding-top: 20px;
}

.rcc-form input[type=checkbox] {
    transform: scale(1.5);
    position: relative;
    top: -2px;
    margin-right: 2px;
}

.rcc-form-button{
    margin-top: 20px;    
}

/* contact */
.rcc-contact{
    padding: 20px 0;    
}

.rcc-contact-inner{
    padding: 30px 10px 20px;
}

.rcc-contact p{
    font-size: 1.5rem;
    line-height: 1.5;
}

.rcc-contact p + p{
    margin-top: 10px;
}


/* footer */

.rcc-footer p{
    margin: 0 auto;
    text-align: center;
    line-height: 1.5;
    padding: 0px 20px 10px;
}

.rcc-footer .footer-link{
    font-size: 1.2rem;
}

/* -----------フォーム本体------------ */
/* rubiks-certificate */


#before_preview img {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 10px 0;
  border: solid 1px silver;
}

#after_preview img {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 10px 0;
  border: solid 1px silver;
}

.rubiks-certificate-form input{
    font-size: 1.5rem;
    border: 1px solid #ccc;
    margin-top: 10px;
    margin-bottom: 10px;
    padding:5px;
    width: 100%;
}


.form-label{
    margin-top: 20px;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.5;
}

.required{
    color:red;
    font-size: 1.2rem;
}

.form-inner{
    padding: 20px 0;
}

.form-notice{
    font-size: 1.4rem;
    line-height: 1.5;
}

.form-photo{
    padding-bottom: 60px;
}

.form-name{
    padding-bottom: 60px;
}

.form-address{
    padding-bottom: 60px;
}

.form-payment{
    padding-bottom: 60px;
}
.form-checkbox p{
    font-weight: bold;
}

input#creditcard{   
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    left: 15px;
    top: 45%;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
    vertical-align: middle;
}

input#daibiki{   
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    left: 15px;
    top: 45%;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
    vertical-align: middle;
}

.form-checkbox {
    position: relative;
}

.form-checkbox p{
    margin-left: 40px;
}

.form-checkbox label{
    display: block;
    font-size: 1.5rem;
    margin-top: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    padding: 10px;
}

.form-checkbox ul{
    margin-top: 10px;
    margin-left: 40px;
}

.form-checkbox ul li{
    font-size: 1.4rem;
    line-height: 1.5;
    list-style: disc;
    margin-left: 20px;
    padding: 2px 0;
}

/*
.form-checkbox input[type="radio"]{
    display: none;
}
*/

input[type="radio"]:checked + label {
    border: 3px solid #0175FF;
}



.form-check{
    padding-bottom: 60px;
}

.rubiks-certificate-form input.soushin{
    display: block;
    font-size: 2.0rem;
    color: #fff;
    border: none;
    background-color: #0E53A2;
    padding: 20px;
    border-radius: 5px;
    opacity: 1;
    width: 90%;
    margin: 0 auto;
    margin-top: 40px;
    text-align: center;
    
}

/* 送信完了画面後で修正 */
.entry-title{
    font-size:1.8rem;
    font-weight: bold;
    line-height: 1.5;
    margin: 20px 0;
}

.entry-content{
    margin-top: 40px;
    font-size: 1.5rem;
    line-height: 1.5;
}

.payment-link a{
    display: block;
    font-size: 2.0rem;
    color: #fff;
    border: none;
    background-color: #0E53A2;
    padding: 20px;
    border-radius: 5px;
    opacity: 1;
    width: 90%;
    margin: 0 auto;
    margin-top: 40px;
    margin-bottom: 40px;
    text-align: center;
}

/* 特定商取引法ページ、プライバシーポリシー */
.rcc-container-inner-page{
    width: 100%;
    margin:0 auto;
    font-size: 1.5rem;
    line-height: 1.5;
}

.rcc-container-inner-page h2{
    font-size: 1.8rem;
    font-weight: bold;
}

.rcc-container-inner-page h3{
    font-weight: 2.4rem;
}

.rcc-container-inner-page table{
    margin-top: 20px;
}

.rcc-container-inner-page table td{
    border: 1px solid #ccc;
    padding: 10px;
    vertical-align: middle;
}


@media screen and (min-width:480px) {
    
    .rcc-image-imgflexbox{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    .rcc-image-imgflexbox div{
        align-items: flex-start;
        width: 48%;
        height: auto;
        position: relative;
    }

    .rcc-image-imgflexbox img{
        width: 100%;
        height: auto;
        border: 1px solid #ccc;
    }
    
    .rcc-image-imgflexbox div:first-child{
        margin-bottom: 0;
    }      

}


@media screen and (min-width:960px) {

    .rcc-container{
        padding:30px 0;
    }

    .rcc-container-inner{
        width: 100%;
        max-width: 720px;
        margin:0 auto;
    }
    /* header */

    .rcc-header{
        background-color: #000;
        width: 100%;
        height: 110px;
        text-align: center;
    }

    .rcc-h1{
        font-size: 2.0rem;
        font-weight: bold;
        color: #fff;
        height: 60px;
        padding-top:10px;
        padding-bottom: 20px;
    }

    .rcc-header div{
     padding-top: 10px;
     width: auto;   
     height: 60px;
    }

    .rcc-header div img{
        width: auto;
        height: 100%;
    }

    .underline-green{
        font-size: 1.8rem;
    }

    .underline-blue{
        font-size: 1.8rem;
    }

    .underline-orange{
        font-size: 1.8rem;
    }

    .underline-yellow{
        font-size: 1.8rem;
    }

    .big-red{
        font-size: 2.0rem;
    }

    .rcc-h2{
        font-size: 1.8rem;
        padding: 10px 15px;
    }

    .rcc-h3{
        font-size: 1.6rem;
    }

    .rcc-h4{
        font-size: 1.6rem;
    }

    /* info */

    .rcc-info p{
        font-size: 1.6rem;
    }

    .rcc-info .rcc-info-notice{
        font-size: 1.5rem;
        line-height: 1.5;
    }

    /* item */

    .rcc-item ul li{
        font-size:1.6rem;
    }

    .rcc-item p{
        font-size: 1.6rem;
    }


    /* application */

    .rcc-app p{
        font-size: 1.6rem;
    }

    .rcc-app ul li{
        font-size:1.6rem;
    }

    /* image*/

    .rcc-image p{
        font-size: 1.6rem;
    }
    
 
    /* payment */


    .rcc-payment p{
        font-size: 1.6rem;
    }
    
    /* faq */

    .rcc-faq p{
        font-size: 1.6rem;
    }


    /* teams */

    .rcc-terms p{
        font-size: 1.4rem;
        line-height: 1.4;
    }

    .rcc-terms ul li{
        font-size:1.4rem;
        line-height: 1.4;
    }

    .rcc-terms h4{
        font-size: 1.4rem;
    }

    .rcc-terms ol li{
        font-size:1.4rem;
        line-height: 1.4;
    }


    /* form */
    .rcc-form p{
        font-size: 1.6rem;
    }

    .rcc-form-link{
        font-size: 1.6rem;
    }

    .rcc-form-link-check{
        font-size: 1.6rem;
    }

    .rcc-form-agree{
        font-size: 1.6rem;
    }

    /* contact */

    .rcc-contact p{
        font-size: 1.6rem;
    }
    
    /* フォーム本体 */
    .rubiks-certificate-form input{
        font-size: 1.6rem;
    }


    .form-label{
        font-size: 1.6rem;
    }
    
    /* 特定商取引法ページ、プライバシーポリシー */
    .rcc-container-inner-page{
        width: 100%;
        max-width: 720px;
        margin:0 auto;
        font-size: 1.6rem;
        line-height: 1.5;
    }
    
    .rcc-container-inner-page h2{
        font-size: 1.8rem;
        font-weight: bold;
        margin-top: 10px;
    }
    
    .rcc-container-inner-page table{
        margin-top: 20px;
    }
    
    /* 送信完了画面 */
    
    .entry-title{
    font-size:2.0rem;
    font-weight: bold;
    line-height: 1.5;
    margin: 20px 0;
    }

    .entry-content{
    margin-top: 40px;
    font-size: 1.6rem;
    line-height: 1.5;
    }

    
} 