@charset "utf-8";

/* 汎用
----------------------------------------------------*/
/* clear clerfix */
.clear {
    clear: both;
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 0;
}

.content:after,
.clearfix:after {
    content: ".";
    display: block;
    visibility: hidden;
    height: 0.1px;
    font-size: 0.1em;
    line-height: 0;
    clear: both;
}

body {
    font-family: sans-serif;
}


/* header
----------------------------------------------------*/
header {
    margin: 0 0 20px;
}

h1 {
    font-size: 28px;
    padding: 10px 10px 10px 70px;
    background: url("../img/h1.png") left center no-repeat;
}

/*header img {
    width: 75px;
    height: 65px;
    position: absolute;
    top: 30px;
    right: 40px;
    border: 2px solid #4db1de;
}

header .home {}*/


/* body
----------------------------------------------------*/

body {
    width: 90%;
    margin: 30px auto 0;
    max-width: 1000px;
    font-size: 2rem;
    background-image: url("../img/bg.jpg");
}

.mondai {
    margin: 10px 0 0 0;
    font-size: 30px;
}

.cyan {
    background: rgba(0, 0, 0, 0) linear-gradient(transparent 60%, #cce5ff 0%) repeat scroll 0 0;
    width: 110px;
    color: #248db2;
}

input[type=radio] {
    display: none;
}

input[type="radio"]:checked + label {
    background: #4db1de;
    color: #ffffff;
}

label {
    display: block;
    margin: 20px auto;
    padding: 10px 40px;
    width: 60%;
    color: black;
    text-align: center;
    line-height: 45px;
    border: 4px solid #4db1de;
    border-radius: 15px;
    font-size: 40px;
}

input {
    width: 2rem;
    height: 2rem;
}

input[type="radio"]:checked + label.maru {
    background: #4db1de url("../img/maru.png") 20px center no-repeat;
}

input[type="radio"]:checked + label.batu {
    background: #4db1de url("../img/batu.png") 20px center no-repeat;
}

.seikai {
    background: url("../img/maru.png") 20px center no-repeat;
    font-weight: bold;
}


.box {
    margin: 0px 0px 50px;
    border: 3px solid #999999;
    background-color: white;
    padding: 20px;
}

.supbox {
    position: relative;
    display: inline-block;
    padding: 15px 20px;
    min-width: 250px;
    max-width: 100%;
    background: #f8d0ce;
    border-radius: 15px;
    font-size: 30px;
    margin: 0 0 0 30%;
}

.supbox:before {
    content: '';
    position: absolute;
    left: 20px;
    top: -12px;
    display: block;
    width: 0;
    height: 0;
    border-right: 15px solid transparent;
    border-bottom: 15px solid #f8d0ce;
    border-left: 15px solid transparent;
}

.supbox p {
    margin: 0;
    padding: 0;
}

.suppliment {
    background: rgba(0, 0, 0, 0) linear-gradient(transparent 60%, #EA9DA3 0%) repeat scroll 0 0;
}

.qin {
    color: #248db2;
}

/* 集計 */
.checker {
    margin: 20px auto;
    padding: 10px 0;
    width: 30%;
    height: 68px;
    color: black;
    text-align: center;
    line-height: 45px;
    border: 4px solid #b6d875;
    background-color: #b6d875;
    border-radius: 5px;
    font-size: 40px;
    font-weight: bold;
    display: block;
    border-bottom: solid 6px #7f9751;
    border-right: solid 4px #7f9751;
}

#check {
    margin: 0 0 50px;
}

#checkbox {
    text-align: center;

}

#alertbox {
    width: 92%;
    padding: 0.2em 0.5em;
    margin: 0 auto 1em;
    background: #FFD9D1;
    box-shadow: 0px 0px 0px 7px #FFD9D1;
    border: dashed 2px white;
    text-align: center;
}

#rel {
    text-align: center;
}

.relorder {
    margin: 20px auto;
    padding: 10px 0;
    width: 30%;
    height: 68px;
    color: black;
    text-align: center;
    line-height: 45px;
    border: 4px solid #efbe25;
    background-color: #efbe25;
    border-bottom: solid 6px #A78519;
    border-right: solid 4px #A78519;
    border-radius: 5px;
    font-size: 35px;
    font-weight: bold;
}

#checkbox {
    width: 92%;
    padding: 0.2em 0.5em;
    margin: 0 auto 1em;
    background: #FFD9D1;
    box-shadow: 0px 0px 0px 7px #FFD9D1;
    border: dashed 2px white;
    text-align: center;
}

#btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    margin: 0;
    width: 125px;
    height: 125px;
    background: #4db1de url("../img/arrow.png") 35px 50px/55px 55px no-repeat;
    color: white;
    text-align: center;
    border-radius: 100%;
    opacity: 70%;
    font-size: 25px;
}

#btn a {
    text-decoration: none;
    color: white;
    display: block;
    width: 125px;
    height: 125px;
    padding: 10px 0 0 0;
}
