@charset "utf-8";

/* form_modal.css で定義された CSS 変数のテーマカラーをここで上書きできます */
:root {
    --modal-color: #2680eb;
    --modal-color-light: #ecf5ff;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #ffffe4 inset;
}

input,
select,
.dummy_select {
    width: 100%;
    height: 40px;
    color: #333;
    font-size: 16px;
    line-height: 1.5;
    padding: 0 10px;
    box-sizing: border-box;
    appearance: none;
    border-radius: 3px;
    font-family: initial;
    border: solid 1px #ccc;
}

input[name="car_id"] {
    position: absolute;
    overflow: hidden;
    width: 0;
}

select::-ms-expand {
    display: none;
}

.dummy_select {
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
}

@media screen and (max-width: 960px) {

    #user_area,
    #submit_btn_box {
        display: none;
    }

    #user_area {
        padding-top: 10px;
    }
}

/* 必須・任意 */
span.req_on,
span.req_off {
    font-size: 12px;
    margin: 3px 8px 0 0;
    padding: 2px 6px;
    line-height: 1.5;
    color: #fff;
    display: inline-block;
    float: left;
    font-weight: 500;
}

span.req_on {
    background: #ff0000;
}

span.req_off {
    background: #27a424;
}

.err_msg {
    clear: both;
    padding-bottom: 0;
    color: #e50000;
    font-size: 13px;
    text-align: left;
    line-height: 1.6;
}

#next_btn,
.submit_btn {
    display: flex;
    width: 95%;
    padding: 18px 0;
    margin: 15px auto 20px;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 1px;
    color: #fff;
    font-family: "Noto Sans JP", sans-serif;
    background: linear-gradient(0deg, rgb(0, 75, 170) 0%, rgb(0, 75, 170) 50%, rgb(0, 115, 210) 50%, rgb(0, 115, 210) 100%);
    line-height: 1;
    border-radius: 7px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity .3s, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 6px 0 #003477;
    border: none;
}

#next_btn::after,
.submit_btn::after {
    display: inline-block;
    content: '';
    width: 1em;
    height: 1em;
    margin-left: .75em;
    background-image: url(../img/cv_form_btn_icon.png);
    background-repeat: no-repeat;
    background-size: contain;
}

#next_btn.disable {
    background: #dadada;
    color: #fff;
    box-shadow: 5px 5px 10px inset #cecece;
}

.submit_btn:hover {
    opacity: 0.85;
}

@media screen and (min-width:961px) {
    #next_btn {
        display: none;
    }
}

@media screen and (max-width: 960px) {

    #next_btn,
    .submit_btn {
        font-size: clamp(14px, 6vw, 24px);
    }
}

.main_form_inner {
    position: absolute;
    top: 45px;
    width: 485px;
    height: auto;
    padding: 25px 20px 20px;
    color: #000;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.4);
    text-align: left;
}

@media screen and (max-width: 960px) {
    .main_form_inner {
        position: relative;
        top: -4vw;
        width: 95%;
        padding: 8% 4% 5%;
        margin: 0 auto;
    }
}

.form_heading {
    margin-bottom: 12px;
    font-weight: bold;
    color: #3b3b3b;
    text-align: left;
    font-size: 16px;
    border-bottom: 1px solid #bbb;
}

.form_heading::before {
    content: '';
    display: inline-block;
    width: 25px;
    height: 25px;
    margin-right: 8px;
    margin-bottom: 3px;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-size: contain;
}

#car_area .form_heading::before {
    background-image: url("../img/form_icon_car.png");
}

#user_area .form_heading::before {
    background-image: url("../img/form_icon_customer.png");
}

.form_area {
    position: relative;
    width: 100%;
    padding-left: 8px;
    box-sizing: border-box;
}

@media screen and (max-width: 960px) {
    .form_area {
        width: 100%;
        padding-left: 0;
    }
}

.form_area.triangle::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 10px;
    width: 0;
    height: 0;
    margin-top: -3px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #333;
    pointer-events: none;
}

.form_area input[readonly],
.form_area select {
    padding: 0 30px 0 10px;
}

.form_area input,
.form_area select {
    background-color: #fff;
}

/* 入力項目　スタイル */
.form_item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    margin-bottom: 8px;
}

@media screen and (max-width: 960px) {
    .form_item {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }
}

.form_title {
    display: flex;
    width: 50%;
    margin-bottom: 5px;
    justify-content: flex-start;
    align-items: center;
    font-size: 13px;
}

@media screen and (max-width: 960px) {
    .form_title {
        width: 100%;
        text-align: left;
    }
}

/* JS実行前のチラつき防止（applyConfig() が実行されると上書きされる） */
@media screen and (min-width:961px) {
    .pc-hidden {
        display: none;
    }
}

@media screen and (max-width: 960px) {
    .sp-hidden {
        display: none;
    }
}

/*------------------------------ $form_sp_ver: PC でも SP レイアウトを使う ------------------------------*/
/* $form_sp_ver = true のとき form_box に sp_ver クラスが付与される */
#form_box.sp_ver #user_area,
#form_box.sp_ver .submit_btn_box {
    display: none;
}

#form_box.sp_ver .form_next_btn {
    display: flex;
}

/*------------------------------ $user_area_ttl_under_txt: 「お客様について」下テキスト ------------------------------*/
.user_area_ttl_under_txt {
    font-size: 13px;
    margin-bottom: 10px;
    text-align: start;
    line-height: 1.5;
}

/*------------------------------ $submit_btn_upper_txt: 送信ボタン上テキスト ------------------------------*/
.submit_btn_upper_txt {
    font-size: 13px;
    margin-bottom: 8px;
    text-align: center;
}

/*------------------------------ ご売却希望時期 ラジオボタン ------------------------------*/
#period_group,
#radio_group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 10px;
}

#period_group .question_head,
#radio_group .question_head {
    width: 35%;
    margin-bottom: 8px;
    font-size: 13px;
}

/* ラジオボタン群を3列グリッドで並べる */
#period_group .form_area.question.radio,
#radio_group .form_area.question.radio {
    display: flex;
    align-items: center;
    width: 25%;
    margin-bottom: 8px;
}

/* ラジオ input 自体のリセット（form.css グローバルの appearance:none / border / padding を上書き） */
#period_group input[type="radio"],
#radio_group input[type="radio"] {
    appearance: auto;
    -webkit-appearance: radio;
    width: 16px;
    height: 16px;
    min-width: 16px;
    flex-shrink: 0;
    margin: 0 6px 0 0;
    background-image: none;
    border: none;
    padding: 0;
    line-height: normal;
    cursor: pointer;
}

/* ラジオボタンへの点滅アニメーションを無効化 */
input[type="radio"].target_item {
    border: none;
    animation: none;
    box-shadow: none;
}

#period_group .radio-label,
#radio_group .radio-label {
    font-size: 13px;
    cursor: pointer;
    line-height: 1.4;
}

@media screen and (max-width: 960px) {

    #period_group .question_head,
    #radio_group .question_head {
        width: 100%;
    }

    #period_group .form_area.question.radio,
    #radio_group .form_area.question.radio {
        width: 35%;
    }
}

/*------------------------------ SSL ------------------------------*/
.ssl_information {
    text-align: left;
    font-size: 0.8rem;
    line-height: 1.4;
}

.ssl_information span {
    font-size: 14px;
    font-weight: bold;
}

.ssl_information span::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAVCAYAAACkCdXRAAABTElEQVQ4ja3UsWoUURTG8d+EyWJQkKzbpMgWJhAQm8gKeYNY2G4ICz7CPkr69JIgqXwCGxsLkyoWNjYrrIWlG0MUJsWeTWaHmdmR9YPhnHs55z/fmTszSXaiTCkO8QYv0MFPXOAt3uEvGGR3TUkJbBNn2Cu9zVSfcIBRHrZSKGrjQwF0hW8RZ9qLuna+uQg7wnbkP9DHY2xF7Me+qDvKN+fH3AwHKX6hh68lI+7gMx6ZPrenBtmo6Ox1gOC4AiT2jyNPsV/mbA0PIp/gpgIGLTyM/Nog+z0jf8FGTeNinSYwTvFsKdC91ounuZSawDJ8j7gUbIKXpq9NL9bz6t5fi2DvcR75RaznAHml6tWZc8CTuuJFzvZ1DQM0xKt/h82PMfvo6/4iyI/ZraxpFWKlkuzjwiP/g0s8x2ozZ9VaxW6DukYvbWOtYPyfWONbOhQ/85bcc2sAAAAASUVORK5CYII=");
    background-repeat: no-repeat;
    background-position: left;
    vertical-align: inherit;
    background-size: contain;
    margin-right: 4px;
}

.ssl_information p {
    font-size: 12px;
    line-height: 1.4;
}

/*------------------------------ 利用規約とプライバシーポリシー------------------------------*/
.form-agreement {
    font-size: 12px;
    text-align: center;
    color: #555;
}

.form-agreement a {
    text-decoration: underline;
    color: #555;
}

/*------------------------------ 同意する------------------------------*/
.agree-txt {
    font-size: 13px;
    margin: 14px 0 8px;
    line-height: 1.5;
}

.terms {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    text-align: center;
    font-size: 16px;
    margin-bottom: 10px;
}

.terms input[id="chkbox"],
.terms input[id="chkbox2"] {
    width: 20px;
    height: 20px;
    box-sizing: border-box;
    appearance: checkbox;
    -webkit-appearance: checkbox;
    vertical-align: middle;
    margin: 0;
}

/*-------------- 自動車税のお知らせ　--------------*/
.jizei_text1 {
    margin-bottom: 10px;
    line-height: 1.5;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}

.jizei_text1 span {
    color: #2249a8;
}

.jizei_text2 {
    font-size: 11px;
}

@media screen and (max-width: 960px) {
    .jizei_text1 {
        display: none;
    }
}

/* **************************************************************************************** */
/* ************************************* 以下編集しない ************************************* */
/* **************************************************************************************** */
/* 点滅 */
.target_item {
    border: 3px solid #f12;
    animation-name: borderFlashing;
    animation-duration: 1s;
    animation-timing-function: ease;
    animation-iteration-count: infinite;
}

@keyframes borderFlashing {
    0% {
        box-shadow: 0 0 0 0px #f12, 0 0 0 0px #fff, 0 0 0 1px #f12
    }

    100% {
        box-shadow: 0 0 0 0px #f12, 0 0 0 0px rgba(255, 255, 255, 0), 0 0 0 5px rgba(100, 164, 134, 0)
    }
}

/* 送信ボタン後のloading画像 */
#loading_img {
    display: none;
}

.loading_img {
    display: none;
    width: 10%;
}

/* #layer はモーダル背景。main.js が動的に追加するため定義のみ残す */
#layer {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 990;
    background-color: #000;
    opacity: 0.6;
}

.tel_display {
    display: none;
}