body {
    margin: 0;
    font-family: 'ヒラギノ角ゴ Pro W3';
    font-size: 15px;

}

.logo {
    font-family: 'ヒラギノ角ゴ Pro W3';
    font-weight: bold;
    font-size: 25px;
    padding-top: 30px;
    text-align: center;
}

.design-logo {
    display: inline-block;
    width: 340px;
    height: 70px;
    text-align: center;
    background-color: #9ec34b;
    font-size: 25px;
    line-height: 70px;
    color: #FFF;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid #9ec34b;
    position: relative;
    overflow: hidden;
    z-index: 1;

}

.design-logo:after {
    width: 100%;
    height: 0;
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: #FFF;
    opacity: 0;
    transform: translateX(-50%) translateY(-50%) rotate(45deg);
    transition: 0.2s;
    z-index: -1;
}

.design-logo:hover {
    color: #9ec34b;
}

.design-logo:hover:after {
    height: 340%;
    opacity: 1;
}

.nav {
    display: inline-block;
    width: 100%;
    height: 5em;
    padding-top: 10px;
    padding-bottom: 20px;
    text-align: center;
    
}

ul {
    padding-left: 0;
    padding-right: 0;

}

.btn {

    display: inline-block;
    padding: 1em;
    margin-bottom: 10px;
    font-family: 'arial unicode ms';
    font-size: 15px;
    text-decoration: none;
    background: #20b2aa;
    /*ボタン色*/
    color: #FFF;
    border-bottom: solid 5px #126662;
    border-radius: 3px;
}

.btn:hover {
    background: #126662;
    color: #FFF;
    border-bottom: solid 5px #20b2aa;
}

.btn:active {
    /*ボタンを押したとき*/
    -webkit-transform: translateY(4px);
    transform: translateY(4px);
    /*下に動く*/
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.2);
    /*影を小さく*/
    border-bottom: none;
}

.nav li {
    display: inline;
    list-style-type: none;
}

.basic-body {
    width: 70%;
    margin: 0 auto;

}

h3 {
    font-size: 25px;
    text-align: center;
    position: relative;
    display: inline-block;
    font-weight: bold;
    padding: 5px 11px 5px 15px;
    text-decoration: none;
    color: #002470;
    transition: 0.8s;
}
h3:before {
    position: absolute;
    display: inline-block;
    content: '';
    width: 7px;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 3px;
    background: #ebd620;
}

.index-body {
    text-align: center;
    margin: 0 auto;
}

.box {
    display: flex;
    justify-content: center;
}

.left {
    padding-bottom: 10px;
    padding-left: 1%;
    padding-right: 10px;
    float: left;
    text-align: center;

}

.right {
    padding-top: 30px;
    padding-left: 10px;
    text-align: center;
    float: right;
}

#popup {
    width: 50%;
    line-height: 0;
    background: rgb(86, 197, 248);
    padding: 1%;
    box-sizing: border-box;
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

img {
    width: 100%;
}
label {
    width: 200px;
    display: block;
    margin-left: 75%;
}
label span {
    display: block;
    background-color: #8760e2;
    color: #fff;
    border: 1px solid #8760e2;
    width: 150px;
    line-height: 30px;
    border-radius: 4px;
    text-align: center;
}
label span:hover {
    cursor: pointer;
    background-color: #fff;
    color: #8760e2;
    border: 1px solid #8760e2;
}
input[type="checkbox"] {
    display: none;
}

input[type="checkbox"]:checked + #popup {
    display: block;
    transition: 0.2s;
}

.mondai {
    max-width: 130px;
}

.mondai2_1 {
    max-width: 330px;
    padding: 10px;
}

footer {
    margin-top: 30px;
    margin-right: auto;
    margin-left: auto;
    font-size: 11px;
    color: black;
    border-top: 1px solid gray;
    text-align: right;
    position: relative;
    clear: both;
}
