dl {
    border-bottom: 1px solid #b6c9db;
    margin-bottom: 0;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

dt {
    text-align: right;
    font-weight: normal;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-bottom: 0;
}
@media ( max-width:767px) {
    dt {
        text-align: left;
    }
}

dd {
    width: 70%;
    text-align: left;
    padding-left: 1rem;
    margin-bottom: 0;
}

label:hover {
    cursor: pointer;
}

input[type=radio]:hover, input[type=checkbox]:hover {
    cursor: pointer;
}

.choice_img {
    max-height: 100px;
    display: block;
}

.conf_control {
    display: none;
}

.err_msg {
    color: #970000;
    background-color: #f8d7da;
    border: 1px solid #970000;
    padding: 5px 12px;
    border-radius: 3px;
    margin-top: 3px;
    display: none;
    width: 100%;
    font-size: 80%;
}

input, textarea, select {
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
input[type=radio],input[type=checkbox]{
    display: inline;
    width: unset;
    height: unset;
    padding: unset;
}

input:focus, textarea:focus, select:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.1rem rgba(0, 123, 255, .25);
}

.custom_contents{
    height: 100px;
}
input[name="zip"],select[name="pref"]{
    width: 200px;
    display: inline;
}
input[name="last_name"],input[name="first_name"]{
    display: inline;
}
.font80{
    font-size: 80%;
}


.js_main_form dl dt {
    font-weight: bold;
}
.is_required {
    display: inline-flex;
    border: 1px #970000 solid;
    border-radius: .25rem;
    padding: 0 .25rem;
    margin-left: .25rem;
    font-size: 80%;
}
.text-danger {
    color: #970000;
}
.btn-primary {
    background: #423737;
    border-color: #423737;
}
.btn-primary:hover {
    background-color: #423737;
    border-color: #423737;
    opacity: .7;
}
.btn-primary:not(:disabled):not(.disabled):active {
    background-color: #423737;
    border-color: #423737;
}
.btn-outline-primary {
    color: #423737;
    border-color: #423737;
}
.btn-outline-primary:hover {
    color: #fff;
    background-color: #423737;
    border-color: #423737;
    opacity: .7;
}
.btn-outline-primary:not(:disabled):not(.disabled):active {
    background-color: #423737;
    border-color: #423737;
}
.btn {
    padding: 1.25rem .75rem;
    border-radius: 100vmax;
}
textarea#contents {
    padding: .375rem .75rem;
    width: 100%;
}
textarea.form-control {
    min-height: 10rem;
}
.personal_description {
    font-size: 1rem;
}
.personal_description a {
    color: initial;
    text-decoration: underline;
}

/* original */
.container {
    padding: 100px 0 50px;
}
.container h1 {
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 2;
    letter-spacing: .05rem;
    padding-bottom: 2.5rem;
}
.fixed-bottom {
    background: #423737;
}
form.js_main_form {
    margin-top: 3rem;
}
.form-control {
    border-color: #423737;
}

@media screen and (max-width: 767px) {
    .container {
        padding: 4rem 0 2rem;
    }
    .js_conf_btn {
        max-width: 90%;
    }
    .is_required {
        margin-bottom: .25rem;
    }
    .personal_description {
        font-size: inherit;
    }
    .btn_wrap {
        margin-left: auto;
        margin-right: auto;
    }
    .btn {
        max-width: none;
        padding: 1rem .75rem;
    }
}

.form-example {
    margin-top: 0.5rem;
    color: #938989;
}
.form-example a {
    display: inline-block;
    pointer-events: none;
    color: currentcolor;
}
.radio-style {
    position: relative;
    padding-left: 1.5rem;

}
.radio-style input[type=radio] {
    border: none;
}
.radio-style .ico {
    display: inline-block;
    width: 1rem;
    aspect-ratio: 1 / 1;
    border-radius: 100vmax;
    border: 1px #423737 solid;
    position: absolute;
    inset: .5rem auto 0 0;
}
.radio-style input[type=radio]:checked + .ico {
    border: 5px #938989 solid;
}
.select-wrap {
    position: relative;
    width: 100%;
}
.select-wrap::before {
    content: '';
    width: .5rem;
    aspect-ratio: 1/cos(30deg);
    clip-path: polygon(50% 100%,100% 0,0 0);
    background: linear-gradient(45deg,#423737,#423737);
    position: absolute;
    inset: 0 1rem 0 auto;
    margin: auto;
}
