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;
}

.sp-only{display: block; margin-left: 4.8rem;}
.pc-only{display: none;}

a{
    color:#0E53A2;
}

/* header */

.rcc-header{
    background-color: #000;
    width: 100%;
    height: auto;
    text-align: center;
    padding: 8px 0;
}

nav {
    width: 100%;
    margin: 0 auto;
    padding-top: 3%;
    padding-bottom: 3%;
    border-bottom: solid 1px #ccc;
}

nav ul{
    display: table;
    margin: 0 auto;
    padding: 0;
    text-align: center;
}
nav li{
    display: table-cell;
    min-width: 75px;
    padding: 0 1%
}
nav a{
    display: block;
    width: 100%;
    text-decoration: none;
    color: #555;
    padding-bottom: 5px;
    padding-top: 5px;
    font-size: 1.2rem;
    font-weight: bold;
}

.rcc-h1{
    font-size: 2.0rem;
    font-weight: bold;
    line-height: 3.0rem;
    color: #fff;
    height: auto;
    padding-left: 10px;
    padding-right: 10px;
}

.rcc-header div{
     width: auto;   
     height: 60px;
}

.rcc-header div img{
    width: 100%;
    height: auto;
}

.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:10px 10px;
}

.rcc-container .bnr{
    text-align: center;
    margin: 0% 0% 3% 0;
}

.rcc-container .bnr img{
    width: 50%;
	max-width: 257px;
}

.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-h2-1{
    background-color: #e60000;
    color: #fff;
    /*background: repeating-linear-gradient(-45deg, #fff5df, #fff5df 4px,#ffe4b1 3px, #ffe4b1 8px);*/
    font-size: 2.3rem;
    font-weight: bold;
    line-height: 1.5;
    padding: 10px 15px;
    width: 92%;
    margin-top: 0px;
}

.rcc-h2-1 span{
	font-size: 1.5rem;
}

.rcc-h3{
    line-height: 1.5;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 10px 10px 0px 0px;
    color: #000;
    display: flex;
    -webkit-align-items: stretch; /* 縦方向中央揃え（Safari用） */
    align-items: stretch; /* 縦方向中央揃え */
}

.rcc-h3::before{
    content: url(../images/h3-icon2.png);
    margin-right: 8px;
    margin-left: 6px;
    margin-top: 2px;

}

.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: 12px;
}

.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;
    text-align: left;
    padding-left: 13%;
    padding-top: 3%;
}
/*
.rcc-info-notice span{
    font-weight: bold;
}
*/

/* item */

.rcc-item{
    padding-bottom: 15px;
}

.rcc-item2-1{
    border: solid #e60000;
    width: 100%;
    margin-top: 30px;
    margin-bottom: 30px;
}

.rcc-item-inner{
    /*padding: 20px 10px;*/
    font-size: 1.6rem;
    line-height: 1.6;
}

.rcc-event-inner{
    /*padding: 20px 10px;*/
    font-size: 1.6rem;
    line-height: 1.6;
    margin: 1% 5% 3% 7%;
}

.rcc-item-inner.left{
    width: 550px;
    display: inline-block;
    vertical-align: top;
}

.rcc-item-inner.right{
    width: 300px;
    display: inline-block;
    text-align: center;
}

.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;
    margin: 1% 0 3% 0px;
    word-break: break-word;
}

.rcc-item2-1 p{
    margin-top: 20px;
    font-size: 1.5rem;
    line-height: 2;
    margin: 3% 3% 0% 5%;
    word-break: break-word;
}

.event-tag{
    padding-left: 12%;
    margin-top: -3%;
}
.rcc-item-list {
    display: flex;
    padding-left: 90px;
}

.twolines{
    display: flex;
    flex-wrap: wrap;
}

.twolines-inner-left{
    width: 380px;
    padding-right: 47px;
}

.twolines-inner-right{
    width: 380px;
}

/* 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;
}

/* チャレンジツアータグ */

.cg_tag_01 {
    flex: 0 0 29%;
    background-color: #D9043D;
    border-radius: 4px;
    font-size: 1.5em;
    text-align: center;
    width: 18%;
    height: 35px;
    /* border: 3px solid #adadad; */
    box-sizing: border-box;
    color: #fff;
    /* font-weight: bold; */
    display: inline-block;
    /* line-height: 25px; */
    padding: 1% 0px;
}

.cg_tag_02 {
    flex: 0 0 29%;
    background-color: #033E8C;
    border-radius: 4px;
    font-size: 1.5em;
    text-align: center;
    width: 18%;
    height: 35px;
    /* border: 3px solid #adadad; */
    box-sizing: border-box;
    color: #fff;
    /* font-weight: bold; */
    display: inline-block;
    /* line-height: 25px; */
    padding: 1% 0px;
}

.cg_tag_03 {
    flex: 0 0 29%;
    background-color: #F2B705;
    border-radius: 4px;
    font-size: 1.5em;
    text-align: center;
    width: 18%;
    height: 35px;
    /* border: 3px solid #adadad; */
    box-sizing: border-box;
    color: #fff;
    /* font-weight: bold; */
    display: inline-block;
    /* line-height: 25px; */
    padding: 1% 0px;
}

.cg_tag_04{
    flex: 0 0 29%;
    background-color: #16A69A;
    border-radius: 4px;
    font-size: 1.5em;
    text-align: center;
    width: 18%;
    height: 35px;
    /* border: 3px solid #adadad; */
    box-sizing: border-box;
    color: #fff;
    /* font-weight: bold; */
    display: inline-block;
    /* line-height: 25px; */
    padding: 1% 0px;
}

.cg_tag_05{
    flex: 0 0 29%;
    background-color: #F28705;
    border-radius: 4px;
    font-size: 1.5em;
    text-align: center;
    width: 18%;
    height: 35px;
    /* border: 3px solid #adadad; */
    box-sizing: border-box;
    color: #fff;
    /* font-weight: bold; */
    display: inline-block;
    /* line-height: 25px; */
    padding: 1% 0px;
}

.cg_tag_06{
    flex: 0 0 29%;
    background-color: #A60D94;
    border-radius: 4px;
    font-size: 1.5em;
    text-align: center;
    width: 18%;
    height: 35px;
    /* border: 3px solid #adadad; */
    box-sizing: border-box;
    color: #fff;
    /* font-weight: bold; */
    display: inline-block;
    /* line-height: 25px; */
    padding: 1% 0px;
}

.cg_tag_07{
    flex: 0 0 29%;
    background-color: #14ae47;
    border-radius: 4px;
    font-size: 1.5em;
    text-align: center;
    width: 18%;
    height: 35px;
    /* border: 3px solid #adadad; */
    box-sizing: border-box;
    color: #fff;
    /* font-weight: bold; */
    display: inline-block;
    /* line-height: 25px; */
    padding: 1% 0px;
}

.cg_tag_01 a,.cg_tag_02 a,.cg_tag_03 a,.cg_tag_04 a,.cg_tag_05 a,.cg_tag_06 a,.cg_tag_07 a
 {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.3rem;
}

/* footer */

.rcc-footer p{
    margin: 0 auto;
    text-align: center;
    line-height: 1.5;
    padding: 0px 20px 10px;
}


@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) {
	
	.sp-only{display: none;}
	.pc-only{display: inline-block;}

    .rcc-container{
        padding:5px 0;
    }

    .rcc-container .bnr{
        width: 40%;
        margin: 0 0px 3% 0px;
        position: relative;
        right: -52%;
    }

    .rcc-container .bnr img{
        margin: 0 0px 3% 12%;
    }

    .rcc-container-inner{
        width: 100%;
        max-width: 903px;
        margin:0 auto;
    }
    /* header */

    .rcc-header{
        background-color: #000;
        width: 903px;
        height: auto;
        margin: 0 auto;
        padding: 1px;
    }
    
    nav{
        padding-top: 15px;
        padding-bottom: 15px;
        border-bottom: solid 1px #ccc;
        width: 70%;
        margin: 0 auto;
    }
    nav ul{
        display: table;
        margin: 0 auto;
        padding: 0 ;
        width: 80%;
        text-align: center;
    }
    nav li{
        display: table-cell;
        min-width: 50px;
        padding: 0px 30px;
    }
    nav a{
        display: block;
        width: 100%;
        text-decoration: none;
        color: #555;
        padding-bottom: 5px;
        font-size: 1.5rem;
        font-weight: bold;
    }
    nav li:hover{
        color: #E7DA66;
        border-bottom: 3px solid #F0E475;
    }

    .rcc-h1{
        font-size: 2.0rem;
        font-weight: bold;
        color: #fff;
        height: auto;
        padding:15px;
    }

    .rcc-header div{
     padding-top: 10px;
     width: auto;   
     height: auto;
    }

    .rcc-header div img{
        width: 70%;
        height: auto;
    }

    .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;
        width: 100%;
    }

    .rcc-h2-1{
        background-color: #e60000;
        color: #fff;
        /*background: repeating-linear-gradient(-45deg, #fff5df, #fff5df 4px,#ffe4b1 3px, #ffe4b1 8px);*/
        font-size: 2.5rem;
        font-weight: bold;
        line-height: 1.5;
        padding: 10px 15px;
        width: 97%;
    }

    .rcc-h3{
        font-size: 1.6rem;
        padding-left: 8px;
    }

    .rcc-h4{
        font-size: 1.6rem;
    }

    /* info */

    .rcc-info p{
        font-size: 1.6rem;
    }

    .rcc-info .rcc-info-notice{
        font-size: 1.2rem;
        line-height: 1.5;
        text-align: left;
        margin-left: 152px;
        padding-top: 20px;
    }

    /* item */

    .rcc-item ul li{
        font-size:1.6rem;
    }

    .rcc-item p{
        font-size: 1.6rem;
    }
    
} 

@media screen and (max-width:768px) {
       /* チャレンジツアータグ */

.cg_tag_01 {
    flex: 0 0 29%;
    background-color: #D9043D;
    border-radius: 4px;
    font-size: 1.5em;
    text-align: center;
    width: 30%;
    height: 30px;
    /* border: 3px solid #adadad; */
    box-sizing: border-box;
    color: #fff;
    /* font-weight: bold; */
    display: inline-block;
    /* line-height: 25px; */
    padding: 2% 0px;
    margin-bottom: 0.5rem;
}

.cg_tag_02 {
    flex: 0 0 29%;
    background-color: #033E8C;
    border-radius: 4px;
    font-size: 1.5em;
    text-align: center;
    width: 30%;
    height: 30px;
    /* border: 3px solid #adadad; */
    box-sizing: border-box;
    color: #fff;
    /* font-weight: bold; */
    display: inline-block;
    /* line-height: 25px; */
    padding: 2% 0px;
    margin-bottom: 0.5rem;
}

.cg_tag_03 {
    flex: 0 0 29%;
    background-color: #F2B705;
    border-radius: 4px;
    font-size: 1.5em;
    text-align: center;
    width: 30%;
    height: 30px;
    /* border: 3px solid #adadad; */
    box-sizing: border-box;
    color: #fff;
    /* font-weight: bold; */
    display: inline-block;
    /* line-height: 25px; */
    padding: 2% 0px;
    margin-bottom: 0.5rem;
}

.cg_tag_04{
    flex: 0 0 29%;
    background-color: #16A69A;
    border-radius: 4px;
    font-size: 1.5em;
    text-align: center;
    width: 30%;
    height: 30px;
    /* border: 3px solid #adadad; */
    box-sizing: border-box;
    color: #fff;
    /* font-weight: bold; */
    display: inline-block;
    /* line-height: 25px; */
    padding: 2% 0px;
    margin-bottom: 0.5rem;
}

.cg_tag_05{
    flex: 0 0 29%;
    background-color: #F28705;
    border-radius: 4px;
    font-size: 1.5em;
    text-align: center;
    width: 30%;
    height: 30px;
    /* border: 3px solid #adadad; */
    box-sizing: border-box;
    color: #fff;
    /* font-weight: bold; */
    display: inline-block;
    /* line-height: 25px; */
    padding: 2% 0px;
    margin-bottom: 0.5rem;
}

.cg_tag_06{
    flex: 0 0 29%;
    background-color: #A60D94;
    border-radius: 4px;
    font-size: 1.5em;
    text-align: center;
    width: 30%;
    height: 30px;
    /* border: 3px solid #adadad; */
    box-sizing: border-box;
    color: #fff;
    /* font-weight: bold; */
    display: inline-block;
    /* line-height: 25px; */
    padding: 2% 0px;
    margin-bottom: 0.5rem;
}

.cg_tag_07{
    flex: 0 0 29%;
    background-color: #14ae47;
    border-radius: 4px;
    font-size: 1.5em;
    text-align: center;
    width: 30%;
    height: 30px;
    /* border: 3px solid #adadad; */
    box-sizing: border-box;
    color: #fff;
    /* font-weight: bold; */
    display: inline-block;
    /* line-height: 25px; */
    padding: 2% 0px;
    margin-bottom: 0.5rem;
}

.cg_tag_01 a,.cg_tag_02 a,.cg_tag_03 a,.cg_tag_04 a,.cg_tag_05 a,.cg_tag_06 a,.cg_tag_07 a
 {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.3rem;
}

.rcc-item-inner.left{
    width: 100%;
}

.rcc-item-inner.right{
    width: 90%;
    margin: 0 12px;
}

.rcc-item-inner.right img{
    width: 90%;
    text-align: center;
}

.rcc-item2-1 p{
    word-break: break-word;
    margin: 5% 3% 0% 5%;
}

.rcc-item2-1-sp{
    margin-left: 4.8rem;
}

.event-tag{
    text-align: center;
    margin-top: 1%;
}

.rcc-item-list {
    /* display: flex; */
    padding-left: 30px;
}

.twolines-inner-left{
    width: 100%;
}

.twolines-inner-right{
    width: 100%;
}

}
