form {
    font-size: 18px;
}
input[type="text"],input[type="email"], textarea{
    box-sizing: border-box;
    resize:vertical;
    width:100%;
    vertical-align: bottom;
    border: #bbb 1px solid;
    border-radius: 8px;
    padding: 8px;
    transition: .3s;
    font-size: 100%;
    margin: 10px 5px;
}
input[type="text"]:hover,input[type="email"]:hover, textarea:hover{
    background: #edf4ff;
    border: 1px solid #4881d9;
}
input[type="text"],input[type="email"],textarea,select {
    outline: none;
}
input[type="text"]:focus,input[type="email"]:focus, textarea:focus{
    background: #edf4ff;
    border: 1px solid #4881d9;
}
textarea {
    min-height: 15em;
}
select {
    padding: 10px 35px 10px 10px;
    border-radius: 8px;
    background-color: #fff;
    border: #bbb 1px solid;
    transition: .3s;
    position: relative;
    font-size: 100%;
    margin: 10px 5px;
}
select:hover,select:focus {
    background: #edf4ff;
    border: 1px solid #4881d9;
}
select option {
    background: #fff;
}
input[type="radio"] , input[type="checkbox"] {
    /* display: none; */
    width: 0;
    /* height: 0; */
    opacity: 0;
    position: absolute;
}
input[type="radio"] + label,
input[type="checkbox"] + label {
    position: relative;
    display: inline-block;
    padding: 10px 10px 10px 35px;
    cursor: pointer;
    border: #bbb 1px solid;
    border-radius: 8px;
    margin: 10px 5px;
    transition: .3s;
}
input[type="radio"]:checked + label,
input[type="radio"] + label:hover ,
input[type="checkbox"]:checked + label,
input[type="checkbox"] + label:hover {
    background: #edf4ff;
    border: 1px solid #4881d9;
}
input[type="radio"] + label::before,
input[type="checkbox"] + label::before {
    position: absolute;
    content: '';
    top: 0;
    bottom: 0;
    margin: auto;
    left: 8px;
    width: 14px;
    height: 14px;
    background: #eee;
    border: 1px solid #bebebe;
}
input[type="radio"]:checked + label::after,
input[type="checkbox"]:checked + label::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    left: 12px;
}
input[type="radio"] + label::before {
    border-radius: 100%;
}
input[type="radio"]:checked + label::after {
    width: 8px;
    height: 8px;
    background: #3498db;
    border-radius: 100%;
}
input[type="checkbox"] + label::before {
    border-radius: 2px;
}
input[type="checkbox"]:checked + label::after {
    width: 5px;
    height: 9px;
    top: -5px;
    border-right: 3px solid #3498db;
    border-bottom: 3px solid #3498db;
    transform: rotate(45deg);
}
button {
    padding: 6px;
    margin-left: 0.5em;
    position: relative;
    display: inline-block;
    cursor: pointer;
    border: #bbb 1px solid;
    border-radius: 8px;
    margin: 10px 5px;
    transition: .3s;
    outline: none;
    font-size: 80%;
}
button:hover, button:focus {
    background: #edf4ff;
    border: 1px solid #4881d9;
}




dl {
    display: flex;
    border-bottom: 1px solid #b4b4b4;
}

dl:first-of-type {
    border-top: 1px solid #b4b4b4;
}
dt,dd {
    box-sizing: border-box;
}
dt {
    width: 25%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-left: 1px solid #b4b4b4;
    background: #f0f0f0;
    padding: 30px 20px;
}
dt span {
    display: inline-block;
    font-size: 70%;
    background: #df6263;
    color: #fff;
    line-height: 1;
    text-align: center;
    padding: 5px 0;
    min-width: 4.1em;
    margin-left: 0.5em;
}
dd {
    width: 75%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border-right: 1px solid #b4b4b4;
    border-left: 1px solid #b4b4b4;
    padding: 10px 15px;
}
dd > .block {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
dd > .example {
    font-size: 80%;
    color: #777;
    margin-left: 5px;
}
dd > .note {
    font-size: 80%;
    color: #3366ab;
    margin-left: 5px;
}
.btnWrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}
.btnWrap input[type="submit"] {
    font-size: 18px;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    max-width: 400px;
}
.permissionWrap {
    text-align: center;
    margin-top: 30px;
}
input#permission + label {
    width: 100%;
    box-sizing: border-box;
    max-width: 520px;
    margin: auto;
}
.permissionWrap p{
    margin-bottom: 20px;
}
.permissionWrap p a{
    color: #004097;
    text-decoration: underline;
}
.permissionWrap p a:hover {
    text-decoration: none;
}
#thanks main {
    min-height: 50vh;
}
#thanks h1 {
    font-size: 200%;
    text-align: center;
}
#thanks h1 + p {
    text-align: center;
    margin-top: 20px;
}
@media screen and (max-width:767px) {
    input[type="text"], input[type="email"], textarea {
        padding: 10px 5px;
        margin: 5px 0;
    }
    input[type="radio"] + label,
    input[type="checkbox"] + label {
        width: 100%;
        padding: 15px 10px 15px 35px;
        margin: 5px 0;
    }
    select {
        width: 100%;
        padding: 15px 35px 15px 10px;
        margin: 5px 0;
    }
    dl {
        display: block;
        border: none !important;
    }
    dt, dd {
        width: 100%;
        padding: 10px 0;
        box-sizing: border-box;
        border: none;
    }
    dt {
        justify-content: center;
    }
    dd > .block span {
        margin-top: 5px;
    }
    input#permission + label {
        font-size: 14px;
    }
    .permissionWrap p {
        font-size: 14px;
    }
}