/*form*/
input,
select,
textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    vertical-align: middle;
    color: inherit;
    font: inherit;
    background: rgba(0, 0, 0, 0);
    padding: 0;
    margin: 0;
    outline: 0;
    border-radius: 0;
    text-align: inherit
}

[type=checkbox] {
    -webkit-appearance: checkbox;
    -moz-appearance: checkbox;
    appearance: checkbox
}

[type=radio] {
    -webkit-appearance: radio;
    -moz-appearance: radio;
    appearance: radio
}

input {
    overflow: visible
}

select {
    text-transform: none
}

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

option {
    padding: 0
}

textarea {
    overflow: auto
}

.form_lead {
    margin-bottom: 3em;
    font-family: "Noto Sans JP", Thin;
    font-weight: 500;
    color: #3e3e3e;
}

dl {
    width: 100%;
    margin-bottom: 3em;
}

dl:first-of-type {
    margin-top: 2em;
}

dl:last-of-type {
    margin-bottom: 4em;
}

dt {
    width: 100%;
    margin-bottom: 1em;
}

dd {
    width: 100%;
}

.req {
    display: inline-block;
    width: 3.6em;
    text-align: center;
    background: #FFDEDE;
    border-radius: 13px;
    color: #e92e3c;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    margin-left: 0.8em;
}

dd div {
    margin-top: .8em;
}

dd div:first-of-type {
    margin-top: 0;
}

input,
textarea {
    display: block;
    width: 100%;
    background: #ededed;
    border-radius: 4px;
    padding: 1.25em 1em;
    background: #fff;
    border: solid 1px #cecece;
}

textarea {
    height: 8em;
}

::placeholder {
    color: #b7b7b7;
}

select {
    border: none;
    font-weight: 700;
    padding-right: 40px;
    display: block;
    width: 100%;
    padding: 1.25em 1em;
    border: solid 1px #cecece;
    border-radius: 4px;
}

#dealer-form .zip-form {
    width: 200px;
}

#dealer-form .prefecture-form {
    width: 150px;
    display: inline-block;
    margin-right: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
}

#dealer-form .address1-form {
    width: 320px;
    display: inline-block;
    margin-top: 5px;
    margin-bottom: 5px;
}

#dealer-form .name-form {
    margin-left: 8px;
}

#dealer-form #prefecture {
    width: 200px;
}

.form_selectWrap {
    background: #ededed;
    position: relative;
    display: block;
    width: 100%;
    max-width: 300px;
}

.form_selectWrap::before,
.form_selectWrap::after {
    position: absolute;
    right: 1rem;
    width: 1em;
    height: 1em;
    font-size: 10px;
    color: #767677;
    line-height: 1;
    pointer-events: none;
}

.form_selectWrap::after {
    bottom: 2.2em;
    content: "▼";
}

.form_selectWrap::before {
    top: 2.2em;
    content: "▲";
}

.label-2em {
    display: inline-block;
    width: 2em;
}

.label-5em {
    display: inline-block;
    width: 5em;
}

.label-2em:first-of-type,
.label-5em:first-of-type {}

input+.form_selectWrap,
.form_selectWrap+input,
.label-2em+input,
.label-2em+.form_selectWrap,
.label-5em+input,
.label-5em+.form_selectWrap {
    display: inline-block;
    margin-right: 1em;
}

input+.form_selectWrap:last-child,
.form_selectWrap+input:last-child,
.label-2em+input:last-child,
.label-5em+input:last-child,
.label-2em+.form_selectWrap:last-child,
.label-5em+.form_selectWrap:last-child,
input+.label-2em:last-child,
input+.label-5em:last-child,
.form_selectWrap+.label-2em:last-child,
.form_selectWrap+.label-5em:last-child {
    margin-right: 0;
}


.input20per {
    width: 20%;
    display: inline-block;
}

.input30per {
    width: 30%;
    display: inline-block;
}

.input40per {
    width: 40%;
    display: inline-block;
}

.input50per {
    width: 50%;
    display: inline-block;
}

.input60per {
    width: 60%;
    display: inline-block;
}

.input70per {
    width: 70%;
    display: inline-block;
}

.input80per {
    width: 80%;
    display: inline-block;
}

.input90per {
    width: 90%;
    display: inline-block;
}

.form_radioWrap,
.form_checkWrap {
    display: block;
    width: 100%;
}

.form_radioWrap label,
.form_checkWrap label {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    white-space: nowrap;
    margin-right: 2.5em;
}

.form_radioWrap td {
    white-space: nowrap;
}

.form_radioWrap td input {
    display: inline;
    accent-color: #e92e3c;
    padding: 0px;
    margin-right: .5em;
    width: auto;
}

.form_radioWrap label>input {
    accent-color: #e92e3c;
    margin-right: .5em;
}

.form_checkWrap label>input {
    margin-right: .5em;
}

.notice {
    margin-top: 1em;
    color: #e92e3c;
}

.form_help {
    margin-top: 10px;
    margin-bottom: 4px;
}

.notice_box {
    width: 100%;
    border: solid 1px #cecece;
    height: 18em;
    margin-bottom: 1em;
    overflow: auto;
    padding: 1.25em 1em;
    font-size: 1rem;
    border-radius: 4px;
}

.notice a,
.notice_box a {
    color: #e92e3c;
    border-bottom: solid 2px #e92e3c;
}

/* confirm-mode */
.confirm-mode dl {
    margin-bottom: 3em;
}

.common-button-area {
    margin-top: 60px;
}

.confirm-only {
    display: none;
}

.confirm-mode .confirm-only {
    display: block;
}

.confirm-mode .input-only {
    display: none;
}

.confirm-mode .req {
    display: none;
}

.confirm-mode .label-2em {
    display: none;
}

.confirm-mode textarea {
    padding: 5px 10px;
    border: 1px solid #F0F0F0;
}

.confirm-mode input[type=text] {
    padding: 0px;
    border: none;
    __width: auto;
    min-width: 1em;
}

.confirm-mode select {
    padding: 0px;
    border: none;
    width: auto;
    min-width: 1em;
    background-color: #FFFFFF;
    font-weight: normal;
}

.confirm-mode .form_selectWrap {
    background-color: #FFFFFF;
}

.confirm-mode .form_selectWrap:before {
    top: 0px;
    content: '';
}

.confirm-mode .form_selectWrap:after {
    bottom: 0px;
    content: '';
}

@media(min-width: 768px) {
    dl {
        display: table;
        width: 100%;
        margin-botom: 1.6em;
    }

    dt {
        display: table-cell;
        min-width: 10em;
        width: 30%;
        margin-botom: .8em;
        vertical-align: middle;
        padding-right: 1em;
    }

    dt.vTop {
        vertical-align: top;
        padding-top: 1.25em;
    }

    dd {
        display: table-cell;
        width: 70%;
        vertical-align: middle;
    }

}

/*form img*/

.form-img-radio .radio-box {
    cursor: pointer;
    border-radius: 6px;
    border: solid 2px #B1B1B1;
    margin-bottom: 6px;
    margin-right: 6px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
    padding: 0px 10px 7px 10px;
}

.form-img-radio label {}

.form-img-radio label input[type="radio"] {
    display: none !important;
}

.form-img-radio label input[type="radio"]:checked+div {
    border: 4px solid #D70A18;
}

.form-img-radio .radio-box .model-logo {
    margin-top: 0px !important;
}

#requestType.form-img-radio label:nth-child(1) {
    background-image: url(./testdrive.png.xhtml);
}

#requestType.form-img-radio label:nth-child(2) {
    background-image: url(./reserve.png.xhtml);
    background-position: 50% 16%;
}

#requestType.form-img-radio label {
    background-repeat: no-repeat;
    background-size: auto 45%;
    background-position: 50% 30%;
    text-align: center;
    vertical-align: text-bottom !important;
}

#requestType.form-img-radio .request-text {
    line-height: 1.3 !important;
    white-space: nowrap;
}

#requestType.form-img-radio label:nth-child(1) .request-text {
    margin-bottom: .5em;
}

#requestType.form-img-radio .request-text small {
    font-size: .75em;
}


@media screen and (max-width:767.8px) {
    .form-img-radio {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        width: 100%;
    }

    .form-img-radio .radio-box {
        width: 160px;
        height: 120px;
    }

    .form-img-radio .radio-box img {
        max-width: 100%;
        max-height: 90px;
    }

    .form-img-radio .radio-box .model-logo img {
        max-width: 120px;
        max-height: 15px;
    }

    #requestType.form-img-radio .request-text {
        font-size: .9em;
    }

    #requestType.form-img-radio .request-text small {
        font-size: .6em;
    }
}

@media screen and (min-width:768px) {
    .form-img-radio {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .form-img-radio .radio-box {
        width: 190px;
        height: 135px;
    }

    .form-img-radio .radio-box img {
        max-width: 140px;
        max-height: 100px;
    }

    .form-img-radio .radio-box .model-logo img {
        max-width: 150px;
        max-height: 15px;
    }
}

.personal-info {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    border-top: solid 1px #DDDDDD;
    padding-top: 2em;
}

a.button-open {
    margin: 0 auto;
    cursor: pointer;
    color: #1B84DE;
    border: #1B84DE;
    text-decoration: underline;
}

.form_checkWrap {
    margin-top: .8em;
    font-size: 1.2em;
    font-weight: 600;
}


.datepickerDealer:disabled {
    background-color: #EEEEEE !important;
}

.confirm-mode .datepickerDealer:disabled {
    background-color: #FFFFFF !important;
}




/*ckbtn*/
.check-area {
    box-shadow: none !important;
    border: #D70C19;
    padding: 0;
    transition: 0.5s;
    text-align: center;
    width: 100% !important;
    margin-right: auto;
    margin-left: auto;
}

.ckbtn {
    transition: 0;
    background-color: #ffffff;
}

.ckbtn-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: auto;
    margin-left: auto;
}


@media screen and (max-width:767.8px) {
    .check-btn {
        margin-right: auto;
        margin-left: auto;
        text-align: center;
    }

    .ckbtn-tx {
        display: block;
        font-family: "Noto Sans JP", sans-serif;
        font-size: 1.05em;
        color: #D70C19;
        padding: 15px 50px 15px 50px;
        transition: 0.5s;
        white-space: nowrap;
        width: 100%;
        margin-right: auto;
        margin-left: auto;

    }

    .ckbtn-none {
        text-align: center;
        width: 100%;
    }

    .ckbtn-none-tx {
        display: block;
        font-family: "Noto Sans JP", sans-serif;
        font-size: 1.05em;
        color: #B1B1B1;
        padding: 15px 50px 15px 50px;
        transition: 0.5s;
        white-space: nowrap;
    }

    .ckbtn-circle {
        background-color: #D70C19;
        border-radius: 50%;
        width: 20px;
        height: 20px;
        color: #f5f5f5;
        font-size: 0.5em;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.5s;
        font-weight: bold;
    }

    .ckbtn-none-circle {
        background-color: #B1B1B1;
        border-radius: 50%;
        width: 20px;
        height: 20px;
        color: #f5f5f5;
        font-size: 0.5em;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.5s;
        font-weight: bold;
    }

    .ckbtn-none-stl {
        border: solid 1.5px #B1B1B1;
        border-radius: 50px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        width: 100%;
    }

    .ckbtn-stl {
        border: solid 1.5px #D70C19;
        border-radius: 50px;
        transition: 0.5s;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .check-area:hover .ckbtn {
        background-color: #ffffff;
    }

    .check-area:hover .ckbtn-stl {
        background-color: #D70C19;
    }

    .check-area:hover .ckbtn-circle {
        background-color: #f5f5f5;
        color: #D70C19;
    }

    .check-area:hover .ckbtn-tx {
        color: #f5f5f5 !important;
    }
}

@media screen and (min-width:768px) {
    .ckbtn-tx {
        display: block;
        font-family: "Noto Sans JP", sans-serif;
        font-size: 1.05em;
        color: #D70C19;
        padding: 15px 100px 15px 100px;
        transition: 0.5s;
        white-space: nowrap;
        width: fit-content;

    }

    .ckbtn-none-tx {
        display: block;
        font-family: "Noto Sans JP", sans-serif;
        font-size: 1.05em;
        color: #B1B1B1;
        padding: 15px 100px 15px 100px;
        transition: 0.5s;
        width: fit-content;
        white-space: nowrap;
    }

    .ckbtn-circle {
        background-color: #D70C19;
        border-radius: 50%;
        width: 20px;
        height: 20px;
        color: #f5f5f5;
        font-size: 0.5em;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.5s;
        font-weight: bold;
    }

    .ckbtn-none-circle {
        background-color: #B1B1B1;
        border-radius: 50%;
        width: 20px;
        height: 20px;
        color: #f5f5f5;
        font-size: 0.5em;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.5s;
        font-weight: bold;
    }

    .ckbtn-none-stl {
        border: solid 1.5px #B1B1B1;
        border-radius: 50px;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }

    .ckbtn-stl {
        border: solid 1.5px #D70C19;
        border-radius: 50px;
        transition: 0.5s;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }

    .check-area:hover .ckbtn {
        background-color: #ffffff;
    }

    .check-area:hover .ckbtn-stl {
        background-color: #D70C19;
    }

    .check-area:hover .ckbtn-circle {
        background-color: #f5f5f5;
        color: #D70C19;
    }

    .check-area:hover .ckbtn-tx {
        color: #f5f5f5 !important;
    }

}

/*modal*/

.button-open {
    margin: 0 auto;
    cursor: pointer;
    color: #1B84DE;
    border: #1B84DE;
    text-decoration: underline;
}

.modal-head {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #5D5D5D;
    margin-bottom: 15px;
}

.modal-tx {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #5D5D5D;
    padding-bottom: 10px;
}

.modal-tx a {
    color: #1B84DE;
    border: #1B84DE;
    text-decoration: underline;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    width: 100%;
    height: 100%;
    z-index:30000;
}


@media screen and (max-height:800px) and (max-width:376px) {
    .modal-se {
        display: none;
    }

    .modal-tx {
        font-family: "Noto Sans JP", sans-serif;
        font-size: 13px;
        font-weight: 400;
        color: #5D5D5D;
        padding-bottom: 10px;
    }
}

@media screen and (max-width:767.8px) {
    .modal-window {
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 80%;
        max-width: 904px;
        height: fit-content;
        max-height: 100%;
        background-color: #ffffff;
        border-radius: 5px;
        z-index: 40000;
        padding: 2rem;
    }

    .button-close {
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        top: 110%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 70px;
        height: 70px;
        padding: 1em;
        background-color: transparent;
        color: #ffffff;
        font-family: "Poppins", sans-serif;
        font-size: 15px;
        font-weight: 500;
        text-align: center;
        border-radius: 50%;
        cursor: pointer;
        border: solid #ffffff;
    }
}

@media screen and (min-width:768px) {
    .modal-window {
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 72%;
        max-width: 904px;
        height: fit-content;
        background-color: #ffffff;
        border-radius: 5px;
        z-index: 40000;
        padding: 2rem;
    }

    .button-close {
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        top: 125%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 70px;
        height: 70px;
        padding: 1em;
        background-color: transparent;
        color: #ffffff;
        font-family: "Poppins", sans-serif;
        font-size: 15px;
        font-weight: 500;
        text-align: center;
        border-radius: 50%;
        cursor: pointer;
        border: solid #ffffff;
    }
}

.no_scroll {
    overflow: hidden;
}

.send-btn-area {
    box-shadow: none !important;
    border: #D70C19;
    padding: 0;
    transition: 0.5s;
    text-align: center;
    width: 100% !important;
    margin-right: auto;
    margin-left: auto;
}
    
.pre-btn-area {
    box-shadow: none !important;
    border: #3E3E3E;
    padding: 0;
    text-align: center;
    width: 100% !important;
    margin-right: auto;
    margin-left: auto;
}

@media screen and (max-width:767.8px){
    .send-pre-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-bottom: 3em;
        width: 92%;
        margin-right: auto;
        margin-left: auto;
    }
    .pre-btn {
        margin-bottom: 2em;
    }
    .pre-btn-tx {
        display: block;
        font-family: "Noto Sans JP", sans-serif;
        font-size: 1.05em;
        color: #3E3E3E;
        padding-top: 15px;
        padding-bottom: 15px;
        transition: 0.5s;
        width: 100%;
        white-space: nowrap;
        text-align: center;
    }
    .pre-btn-stl {
        border: solid 1.5px #3E3E3E;
        border-radius: 50px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        transition: 0.5s;
    }
    .pre-btn-circle {
        background-color: #3E3E3E;
        border-radius: 50%;
        width: 20px;
        height: 20px;
        color: #ffffff;
        font-size: 0.5em;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.5s;
        font-weight: bold;
    }
    .pre-btn-area:hover .pre-btn-stl {
        background-color: #3E3E3E;
    }
    .pre-btn-area:hover .pre-btn-circle {
        background-color: #ffffff !important;
        color: #3E3E3E;
    }
    .pre-btn-area:hover .pre-btn-tx {
        color: #ffffff !important;
    }
    .send-btn-tx {
        display: block;
        font-family: "Noto Sans JP", sans-serif;
        font-size: 1.05em;
        color: #D70C19;
        padding-top: 15px;
        padding-bottom: 15px;
        transition: 0.5s;
        width: 100%;
        white-space: nowrap;
    }
    .send-btn-stl {
        border: solid 1.5px #D70C19;
        border-radius: 50px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        transition: 0.5s;
    }
    .send-btn-circle {
        background-color: #D70C19;
        border-radius: 50%;
        width: 20px;
        height: 20px;
        color: #ffffff;
        font-size: 0.5em;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.5s;
        font-weight: bold;
    }
    .send-btn-area:hover .send-btn-stl {
        background-color: #D70C19;
    }
    .send-btn-area:hover .send-btn-circle {
        background-color: #ffffff !important;
        color: #D70C19;
    }
    .send-btn-area:hover .send-btn-tx {
        color: #ffffff !important;
    }
}
@media screen and (min-width:768px){
    .send-pre-btn {
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        margin-bottom: 3em;
    }
    .pre-btn-tx {
        display: block;
        font-family: "Noto Sans JP", sans-serif;
        font-size: 1.05em;
        color: #3E3E3E;
        padding: 15px 100px 15px 100px;
        transition: 0.5s;
        width: fit-content;
        white-space: nowrap;
    }
    .pre-btn-stl {
        border: solid 1.5px #3E3E3E;
        border-radius: 50px;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
        transition: 0.5s;
    }
    .pre-btn-circle {
        background-color: #3E3E3E;
        border-radius: 50%;
        width: 20px;
        height: 20px;
        color: #ffffff;
        font-size: 0.5em;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.5s;
        font-weight: bold;
    }
    .pre-btn-area:hover .pre-btn-stl {
        background-color: #3E3E3E;
    }
    .pre-btn-area:hover .pre-btn-circle {
        background-color: #ffffff !important;
        color: #3E3E3E;
    }
    .pre-btn-area:hover .pre-btn-tx {
        color: #ffffff !important;
    }
    .send-btn-tx {
        display: block;
        font-family: "Noto Sans JP", sans-serif;
        font-size: 1.05em;
        color: #D70C19;
        padding: 15px 100px 15px 100px;
        transition: 0.5s;
        width: fit-content;
        white-space: nowrap;
    }
    .send-btn-stl {
        border: solid 1.5px #D70C19;
        border-radius: 50px;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
        transition: 0.5s;
    }
    .send-btn-circle {
        background-color: #D70C19;
        border-radius: 50%;
        width: 20px;
        height: 20px;
        color: #ffffff;
        font-size: 0.5em;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.5s;
        font-weight: bold;
    }
    .send-btn-area:hover .send-btn-stl {
        background-color: #D70C19;
    }
    .send-btn-area:hover .send-btn-circle {
        background-color: #ffffff !important;
        color: #D70C19;
    }
    .send-btn-area:hover .send-btn-tx {
        color: #ffffff !important;
    }
}
