@charset "utf-8";

/* form_modal.css で定義された CSS 変数のテーマカラーをここで上書きできます */
:root {
    --modal-color: #d51818;
    --modal-color-light: #fff3f3;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #ffffe4 inset;
}
input, select {
    width: 100%;
    height: 37px;
    color: #333;
    background-color: #fff;
    font-size: 16px;
    line-height: 1.5;
    padding-inline: 10px 30px;
    appearance: none;
    border-radius: 2px;
    font-family: "LINE Seed JP", sans-serif;
    border: solid 1px #888;
}
@media (max-width: 960px) {
    input, select {
        display: block;
    }
}
input[name="car_id"] {
    position: absolute;
    overflow: hidden;
    width: 0;
}
select::-ms-expand {
    display: none;
}
@media (max-width: 960px) {
    #user_area,
    #submit_btn_box {
        display: none;
    }
}
.err_msg {
    clear: both;
    padding-bottom: 0;
    color: #e50000;
    font-size: 13px;
    text-align: left;
    line-height: 1.6;
}

/*------------------------------ ページ独自 ------------------------------*/
.main_form {
    position: absolute;
    top: 30px;
    width: 400px;
    background-color: #fff;
    color: #000;
    border-radius: 4px;
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 40%);
}

.c-form__text_box {
    position: absolute;
    top: -30px;
    right: 0;
    left: 0;
    display: block;
    max-width: 100%;
    margin: 0 auto;
    z-index: 1;
}
@media (max-width: 960px) {
    .main_form {
        position: relative;
        width: 95%;
        margin: 10px auto;
    }
}

/*------------------------------ フォームinner ------------------------------*/
.contact_form {
    padding: 50px 15px 15px;
}
@media (max-width: 960px) {
    .contact_form {
        padding-top: 40px;
    }
}
.contact_form #user_area {
    margin-top: 15px;
}

/*------------------------------ car_area & user_area タイトル ------------------------------*/
.form_heading {
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    border-bottom: 1px solid #bbb;
}
.form_heading::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    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_item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    margin-top: 7px;
}
@media (max-width: 960px) {
    .form_item {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        margin-bottom: 8px;
    }
}

/*------------------------------ 項目タイトル ------------------------------*/
.form_title {
    display: flex;
    width: 40%;
    margin-bottom: 5px;
    align-items: baseline;
    justify-content: flex-start;
    font-size: 13px;
}
@media (max-width: 960px) {
    .form_title {
        width: 100%;
        text-align: left;
    }
}
/* 必須・任意 */
span.req_on,
span.req_off {
    font-size: 12px;
    margin: 3px 5px 0 0;
    padding: 2px 5px;
    line-height: 1.4;
    color: #fff;
    display: inline-block;
    float: left;
    font-weight: 500;
}
span.req_on {
    background: #ff0000;
}
span.req_off {
    background: #27a424;
}

/*------------------------------ 項目入力欄 ------------------------------*/
.form_area {
    position: relative;
    width: 70%;
    padding-left: 8px;
}
@media (max-width: 960px) {
    .form_area {
        width: 100%;
        padding-left: 0;
    }
}
.form_area.triangle::after {
    content: "";
    position: absolute;
    top: 18px;
    right: 10px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #333;
    pointer-events: none;
}

/*------------------------------ 次へボタン、送信ボタン ------------------------------*/
#next_btn,
.submit_btn_box button.submit_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 13px auto;
    padding-block: 18px;
    color: #fff;
    font-weight: 700;
    font-size: 23px;
    line-height: 1;
    text-align: center;
    border: none;
    background: linear-gradient(0deg, rgba(78,164,6,1) 0%, rgba(78,164,6,1) 50%, rgba(97,184,10,1) 50%, rgba(97,184,10,1) 100%);
    border-radius: 5px;
    cursor: pointer;
    transition: opacity .3s;
    font-family: "LINE Seed JP", sans-serif;
}

.submit_btn_box button.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 {
    color: #fff;
    background: #dadada;
    text-shadow: -2px -1px 2px #a8a8a8;
    border-bottom: none;
    box-shadow: 5px 5px 10px inset #cecece;
}
.submit_btn_box button.submit_btn:hover {
    opacity: 0.85;
}
@media screen and (min-width:961px) {
    #next_btn {
        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: 100%;
    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: 33.33%;
    margin-bottom: 8px;
    padding-right: 4px;
}
/* ラジオ 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;
}

/*------------------------------ SSL ------------------------------*/
.ssl_information {
    font-size: 0.8rem;
    text-align: left;
    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: 11px;
    line-height: 1.4;
}

/*------------------------------ 利用規約とプライバシーポリシー------------------------------*/
.form-agreement {
    margin-block: 10px;
    font-size: 13px;
    text-align: center;
}
.form-agreement a {
    text-decoration: underline;
    color: #0095E3;
}

/*------------------------------ 同意する------------------------------*/
.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;
    appearance: checkbox;
    -webkit-appearance: checkbox;
    vertical-align: middle;
    margin: 0;
}

/* **************************************************************************************** */
/* ************************************* 以下編集しない ************************************* */
/* **************************************************************************************** */
/* JS実行前のチラつき防止（applyConfig() が実行されると上書きされる） */
@media (min-width:961px) {
    .pc-hidden {
        display: none;
    }
}
@media (max-width: 960px) {
    .sp-hidden {
        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;
}