@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;300;400;500;700;900&display=swap&subset=japanese');


.header_image {  
    width: 100%
}

.header_image img {
    width: 100%
}

.pc_image { display: block !important;}
.sp_image { display: none !important; }

.main_box {
    width: 100%;
    padding: 3em 0;
    background-color: #ffffdd;
    text-align: center;
}

.main_inbox {
    display: inline-block;
    width: 960px;
    margin: auto;
}

.main_tit {
    font-size: 2.5em;
    margin-top: 0;
    margin-bottom: 0.5em;
    line-height: 1.2em;
}

.overview {
    display: flex;
    width: 100%;
    padding-bottom: 1em;
    margin: auto;
    justify-content: center;
}

.overview_l {
    display: inline-block;
    width: 15%;
    background-image: linear-gradient(
        to top right, 
        transparent, 
        transparent 49.5%,
        red 49.5%, 
        red 50.5%,
        transparent 50.5%,
        transparent
    )
}

.overview_c {
    /*width: calc(70% - 2em);*/
    display: inline-block;
    padding:0 1em 1em 1em;
    font-size: 1.3em;
}


.overview_r {
    display: inline-block;
    width: 15%;
    background-image: linear-gradient(
        to top left, 
        transparent, 
        transparent 49.5%,
        #ff0000 49.5%, 
        #ff0000 50.5%,
        transparent 50.5%,
        transparent
    )
}

.over_c_big {
    font-size: 1.8em;
}

.over_c_small {
    font-size: 0.85em;
}

.overview img {
    width: 100%;
}

.overview_cap01 {
    font-size: 2em;
    margin-top: 0.5em;
    font-weight: bold;
    line-height: 1.4em;
    color: #000000;
}

.cap_big {
    color: #ff0000;
    font-size: 1.5em;
}

.overview_cap02 {
    display: inline-block;
    width: 40%;
    padding: 1.5em 0;
    background-color: #ffffff;
    border: 4px solid #ff0000;
    border-radius: 6em;
    font-size: 1.5em;
    font-weight: bolder;
    margin: 0.25em 1em 0 1em;
    line-height: 1.2em;
}

.overview_cap02 span {
    display: inline-block;
    font-size: 2rem;
    font-weight: bolder;
    margin-top: 5px;
    color: #ff0000;
}

.r2_link {
    margin-top: 2rem;
    margin-bottom: 4rem;
}

.overview h2 {
    margin: 0 0 0.5em; 0;
    font-size: 2em;
    font-weight: bold;
    line-height: 1em;
}

.overview p {
    font-size: 2em;
    font-weight: bold;
    color: #ff0000;
    line-height: 1.25em;
}

.howto_title {
    display: flex;
    align-items: center;
    text-align: center; /* for no-flexbox browsers */
}

.howto_title:before,
.howto_title:after {
    border-top: 2px solid;
    border-color: #ff0000;
    content: "";
    display: inline; /* for IE */
    flex-grow: 1;
}

.howto_title:before {
    margin-right: 2em;
}

.howto_title:after {
    margin-left: 2em;
}

.howto_cap {
    color: #ffffff;
    font-size: 1.5em;
    font-weight: bold;
    background-color: #ff0000;
    margin-top: 3rem;
}

.howto_box {
    display: flex;
    justify-content: space-around;
    background-color: #fed2e5;
    padding: 6px 0;
}

.howto_inbox {
    display: inline-block;
    width: calc(24% - 2em);
    position: relative;
    padding: 1em;
    font-size: 0.95em;
    font-weight: bold;
    background-color: #ffffff;
}

.under {
    background: linear-gradient(transparent 50%, #fff45c 50%);
}

.in1 {
    position: absolute;
    left: -5px;
    top: -5px;
}

.howto_annotation {
    text-align: left;
    font-size: 0.85em;
    padding-left: 1em;
    margin-bottom: 5rem;
}

.note_title {
    display: flex;
    align-items: center;
    text-align: center; /* for no-flexbox browsers */
}

.note_title:before,
.note_title:after {
    border-top: 2px solid;
    border-color: #ff0000;
    content: "";
    display: inline; /* for IE */
    flex-grow: 1;
}

.note_title:before {
    margin-right: 2em;
}

.note_title:after {
    margin-left: 2em;
}

.note_box01 {
    width: 90%;
    padding: 0 5%;
}

.note_box01 p {
    display: inline-block;
    text-align: left;
    margin-bottom: 2rem;
}

.note_box02 {
    background-color: #ffffff;
    border: 1px solid #666666;
    padding: 1rem;
    text-align: left;
}

.note_cap {
    display: block;
    font-weight: bold;
    margin-top: 2rem;
}

.note_cap_s {
    display: block;
    font-weight: bold;
}

.note_box02 p {
    padding-left: 1rem;
}


.note_box02 ul {
    list-style-type: disc;
    margin-left: 1rem;
    padding-left: 1em;
}

.coupon { width: 100%}

.coupon p {
    font-size: 1em;
    font-weight: normal;
    margin-top: 4px;
}

.coupon a {
    display: inline-block;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    width: 50%;
    padding: 0.4em 0;
    border: 2px solid #ffffff;
    border-radius: 0.5em;
    box-shadow: 0 4px 8px 0 #9d9d8d;  
}

.coupon a span {
    font-size: 1.5em;
}

.registration_c {
    background-color: #ff0000;
    margin: 2em auto 0 auto;
}
.registration_c:hover {
    color: #fb9292;
    background-color: #ff4242;
    box-shadow: 0 0 8px 0 #9d9d8d;
}

.login_c {
    background-color: #0000ff;
    margin: 1em auto 0 auto;
}
.login_c:hover {
    color: #c0c0fe;
    background-color: #5a5afa;
    box-shadow: 0 0 8px 0 #9d9d8d;  
}


@media only screen and (max-width: 640px) {
    
    .main_inbox {
        width: 98%;
    }
  
    .pc_image{ display: none !important;}
    .sp_image{ display: block !important;}
    
    .overview_l {
        width: 12%;
        background-image: linear-gradient(
            to top right, 
            transparent, 
            transparent 49%,
            red 49%, 
            red 51%,
            transparent 51%,
            transparent
        )
    }

    .overview_c{
        display: inline-block;
        width: auto;
        padding:0 0 0.5em 0;
    }

    .overview_r {
        width: 12%;
        background-image: linear-gradient(
            to top left, 
            transparent, 
            transparent 49%,
            #ff0000 49%, 
            #ff0000 51%,
            transparent 51%,
            transparent
        )
    }

    .overview_cap01 {
        font-size: 1em;
        margin: 0.75em 0 0 0;
    }

    .overview_cap02 {
        width: calc(49% - 1em);
        padding: 0.5em 0;
        font-size: 0.95em;
        margin: 0.25em 0.25em 0 0.25em;
        line-height: 1.2em;
    }

    .overview_cap02 span {
        display: inline-block;
        font-size: 1.1rem;
        font-weight: bold;
        margin-top: 5px;
        color: #ff0000;
    }


    .main_tit {
        font-size: 1.2em;
        line-height: 1.2em;
    }

    .overview p { font-size: 1.15rem;}
    
    .r2_link { width: 100%;}

    .howto_title { font-size: 1.3em}
    
    .howto_cap {
        font-size: 1.1em;
        padding: 0.3em 0 0.3em 0;
        margin-top: 0;
    }
    
    .break {
        display: inline-block;
    }
    
    .howto_box { flex-wrap: wrap;}
    
    .howto_box { padding:0 0 10px 0;}
    
    .howto_inbox {
        margin-top: 10px;
        width: calc(46% - 2em);
    }

    .how_imge { width: calc(100% - 2em);}

    .in1 {
    position: absolute;
    left: -8px;
    top: -8px;
}
    
    .note_title { font-size: 1.3em;}
    
    .coupon a {
        width: 80%;
        font-size: 1.1em;
    }
    
    .coupon a span {
        font-size: 1.1em;
    }
}