#form_wrapper {
    margin-top: 2rem;
}

dl {
    padding: 1em 0;
    border-bottom: 2px dotted #d0d0d0
}

dl>dt {
    display: inline-block;
    vertical-align: middle;
    width: 26%;
    font-weight: 500;
    position: relative
}

dl>dd {
    display: inline-block;
    vertical-align: middle;
    width: 66%
}

/* ▼ スマホ時は縦並びに変更 */
@media screen and (max-width: 767px) {
    dl {
        display: block;
    }

    dl>dt,
    dl>dd {
        display: block;
        width: 100%;
    }

    dl>dt {
        margin-bottom: 0.5em;
    }
}

span.required {
    background: #d15454;
    border-radius: 20px;
    color: #fff;
    font-size: 75%;
    padding: 1px 8px;
    position: absolute;
    right: 5px;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="password"],
textarea {
    height: 2.75em;
    font-size: 16px;
    padding: 0.35em .65em;
    border-radius: 4px;
    border: 2px solid #d4d4d4;
    background: #f8f8f8;
    margin-bottom: 4px;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border: 2px #2c3e50 solid;
    border-radius: 8px;
    box-shadow: 0px 0px 15px -5px #2c3e50
}

input[type="text"],
input[type="email"] {
    width: 100%
}

input[name="phone"],
input[name="fax"],
input[name^="zip_code"] {
    width: 20%
}

input[type="password"] {
    width: 50%
}

textarea {
    width: 100%;
    height: 8em
}

input[type="radio"],
input[type="checkbox"] {
    width: 16px;
    height: 16px;
    vertical-align: -0.2em
}

label {
    margin-right: 1em
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 50%;
    height: 2.8em;
    font-size: 100%;
    padding: 0.3em 1em;
    border-radius: 8px;
    border: 2px solid #d4d4d4;
    background: #f8f8f8
}

select::-ms-expand {
    display: none
}

.select_box label {
    position: relative
}

.select_box label:after {
    content: '\f078';
    margin-right: 0.5rem;
    color: #2c3e50;
    position: absolute;
    top: 2px;
    right: 0;
    pointer-events: none
}

.ie8 .select_box label:after,
.ie9 .select_box label:after {
    content: ''
}

#privacy {
    background: url(../img/bg_bottom01.png) no-repeat;
    box-sizing: border-box;
    width: 962px;
    height: 237px;
    text-align: center;
    padding: 20px 0 20px 50px;
    color: #fff;
    margin: 40px 0;
    position: relative
}

#privacy .scroll {
    overflow-y: scroll;
    width: 860px;
    height: 85px;
    padding-right: 10px;
    text-align: left;
    white-space: normal
}

#privacy a {
    color: #cdd154;
    font-weight: 500
}

#btnarea {
    text-align: center;
    margin-top: 40px
}

#btnarea p {
    text-align: center;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

#btnarea input {
    border: none;
    min-width: 160px;
    height: 50px;
    background: #2c3e50;
    color: #fff;
    border-radius: 8px;
    box-shadow: 0px 5px 0px 0px #101d2a;
    font-size: 100%;
    font-weight: 500;
    cursor: pointer;
    max-width: 42%;
}

#btnarea input:hover {
    background: #101d2a
}

.required.empty,
.required.unselected {
    background: #ffdecc
}

.agree.unselected {
    background: #ff6363
}

.required-field.empty,
.required-select.unselected,
.required-radio.unselected,
.required-check.unselected {
    background: #ffdecc
}

.required-balloon {
    position: relative;
    display: block;
    width: 140px;
    margin: 6px 0 3px;
    padding: 2px 10px;
    background: #d15454;
    color: white;
    font-size: .875em
}

#privacy p>.required-balloon {
    position: absolute;
    left: calc(50% - 40px)
}

.required-balloon::after {
    display: block;
    position: absolute;
    top: -6px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: solid 5px transparent;
    border-right: solid 5px transparent;
    border-bottom: solid 6px #d15454;
    content: ''
}