* {
    font-family: "Zen Maru Gothic", sans-serif;
}
body {
    background-image: url(../image/back_body_lower.jpg);
    background-size: 100%;
}

h2 {
    padding: 10px 15px;
    margin: 0;
    color: #E9545D;
}
.br_420 {
    display: none;
}

.rule_txt_area {
    border: solid 1px #014622;
    margin: 0 15px 20px;
    max-width: 760px;
}
.rule_top {
    margin: 0;
    background: #014622;
    padding: 5px 10px;
    color: #fff;
    font-size: 14px;
}
.rule_txt {
    margin: 0;
    padding: 5px 10px;
    font-size: 12px;
}
.rule_txt span {
    color: #E9545D;
}


#drawarea {
    display: none;
    width: 500px;
    height: 700px;
}
#canvas_area {
	display: none;
}
.view_on {
	display: block!important;
}

canvas {
	position: relative;
	border:3px solid #000;
}
.subtitle_span {
	font-size: 14px;
	font-weight: normal;
	color: #009143;
}
.upload_flex {
    display: flex;
    margin: 0 15px 20px;
    max-width: 760px;
}
.upload {
    /*margin-right: 30px;*/
}
.upload_btn {
    margin-bottom: 15px;
    height: 50px;
}
.canvas_area {
    display: block;
    padding: 10px;
    margin-top: 50px;
}
.canvas_area p {
    font-size: 14px;
	font-weight: normal;
	color: #009143;
    margin: 0 0 10px;
}
.stampimg_flex {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.stampimg_block {
    display: block;
    margin: 0 auto 10px;
    text-align: center;
    padding: 0 5px;
    width: calc(100% / 3 - 10px);
}
.img_block {
    height: 65px;
    display: flex;
    align-items: flex-end;
}
.img_block img {
    display: block;
    margin: 0 auto;
    max-height: 65px;
    max-width: 53px;
}
.stampimg_block label {
    font-size: 10px;
}
input[type="radio" i] {
    display: block;
    margin: 10px auto 0;
}

.download_btn {
    /*
    color: #fff;
    background-color: #009143;
    border: solid 3px #00461d;
    padding: 10px 0;
    width: 150px;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    */
    display: block;
    border: solid 2px #018148;
    background-color: #018148;
    color: #fff;
    padding: 10px 0px;
    font-size: 18px;
    position: relative;
    width: 150px;
    height: 28px;
    text-align: center;
    margin-left: 15px;
    cursor: pointer;
}
.download_btn:before, .download_btn:after {
    position: absolute;
    top: -3px;
    width: 0;
    height: 0;
    content: '';
    border: 26px solid transparent;
    border-right: 13px solid transparent;
    border-left: 13px solid transparent;
}
.download_btn:before {
    right: calc(100% + 2px);
    border-right-color: #018148;
}
.download_btn:after {
    left: calc(100% + 2px);
    border-left-color: #018148;
}

.reset_btn {
    background-color: #fff;
    color: #018148;
    padding: 5px 7px;
    font-size: 14px;
    border-style: none;
    border: solid 3px #018148;
    border-radius: 10px;
    margin-left: 85px;
    width: 85px;
    cursor: pointer;
    margin-bottom: 30px;
}

.close_area {
    position: fixed;
    bottom: 10px;
    left: 705px;
    text-align: center;
}
.close_area a {
    color: #fff;
    background-color: #00461d;
    border: solid 3px #00461d;
    padding: 10px 0;
    width: 95px;
    display: inline-block;
    text-align: center;
    opacity: 1;
    text-decoration: none;
    border-radius: 10px;
    font-size: 12px;
}
.close_area a:hover {
    /*opacity: 0.6;*/
    background-color: #009143;
}
input[type="range"] {
    width: 100%;
}



/* /////////////// */
/*   PCサイズ調整    */
/* /////////////// */

/* 横幅が小さいPC */
@media screen and (max-width:1200px){
}


/* /////////////// */
/*  レスポンシブ対応  */
/* /////////////// */
@media screen and (max-width:767px){
    h2 {
        font-size: 18px;
    }
    .upload_flex {
        display: block;
    }
    .stampimg_flex {
        max-width: 300px;
    }
    /*
    .stampimg_block {
        width: 130px;
    }
    */
    /*
    .stampimg_block img {
        height: 70px;
    }
    */
    #drawarea {
        margin-top: 40px;
    }
    .canvas_area {
        margin-top: 30px;
        margin-bottom: 70px;
    }
    .close_area {
        left: unset;
        right: 10px;
    }
    .subtitle_span {
        display: block;
    }
    input[type="range"] {
        max-width: 300px;
    }
}
@media screen and (max-width:550px){
    .rule_txt {
        height: 90px;
        overflow-y: scroll;
    }
    #drawarea {
        width: 250px;
        height: 350px;
    }
    .stampimg_flex {
        max-width: 220px;
    }
    .stampimg_block {
        width: 100px;
    }
    input[type="range"] {
        max-width: 220px;
    }
}
@media screen and (max-width:420px){
    .br_420 {
        display: inline;
    }
}