
/*‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
        FORM
_______________________________________________________*/
/*form_modal_style_v1.1.css*/
input:-webkit-autofill {/* inputの背景が自動でになるのを防ぐ（chromeのuser agent stylesheetを上書き）*/
    -webkit-box-shadow: 0 0 0 1000px #ffffe4 inset;
}
input,select{
    color: #333;
    line-height: 1.5;
    width: 100%;
    height: 40px;
    padding: 0 15px;
    border: solid 1px #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
input[name="car_id"] {
    position: absolute;
    overflow: hidden;
    width: 0;
}
select::-ms-expand {
    display: none;
}
dl:nth-child(2) input,
dl:nth-child(2) select{
    margin-left: auto;
    margin-right: 0;
    display: block;
}

/* モーダルウインドウ */
/* レイヤーのコンテンツ */
#layer_carbox {
    display: none;
    position: fixed;
    width: 100%;
    max-width: 890px;
    font-size: 1.1em;
    background: #ffffff;
    margin: 35px auto 50px auto;
    padding: 10px 20px;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    overflow-y: scroll;
    z-index: 991;
    box-sizing: border-box;
    border: 2px solid #bbb;
    overflow-x: hidden;
}
#modal_back{
    display: none;
    position:fixed;
    width:100%;
    height:100%;
    background:rgba(255, 255, 255, 0.8);
    top:0;
    left:0;
    z-index: 1;
}
#modal_close{
    float: right;
    font-weight: bold;
    color:#adadad;
    margin-bottom: 8px;
    cursor: pointer;
}
#dummyBox {
    position: absolute;
    left: 0;
    opacity: 0;
}
#tab_list{
    clear: both;
}
#tab_list li{
    float: left;
    position: relative;
    width: 25%;
    padding: 6px 0;
    margin-bottom: 20px;
    font-size: 1em;
    color: #666666;
    font-weight: bold;
    background: #efefef;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
}
#tab_list li.tab_active{
    color:#ffffff;
    background:#00a856;
}
#tab_list li.tab_active:after{
    content:'\025bc';
    position: absolute;
    color:#00a856;
    bottom:-13px;
    left:0;
    right:0;
}
.tab_box {
    display: none;
    font-size: 1.5em; /* 最新を採用 */
    font-weight: bold;
    line-height: 1.4;
}
.tab_box.box_active{
    display: block;
}
.tab_box p{
    color:#333333;
    font-size: 14px;
    padding: 10px 0 10px 10px;
}
.tab_box ul{
    padding:10px 10px 0;
    margin-bottom: 15px;
    border:solid 1px #bebebe;
    box-sizing: border-box;
    font-size: 0;
}
.tab_box li {
    display: inline-block;
    width: 32%;
    margin-bottom: 8px;
    color: #0170b5;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
}
.tab_box li:hover{
    text-decoration: none;
}

/* タブ　ボタン　スタイル */
#tab_list li.tab_active {
    color: #ffffff;
    background: #00a856;
}
#tab_list li .tab_list_head {
    display: block;
    width: 100%;
    background: #e8e8e8;
    color: #b1b1b1;
    margin: 0 auto;
    padding: 5px 0;
    position: absolute;
    top: 0;
    line-height: 1.5;
    box-sizing: border-box;
}
#tab_list li.tab_active .tab_list_head {
    background: #cff2ff;
    color: #00bbff;
    font-weight: bold;
    font-size: 16px;
}
#tab_list li:nth-child(1).tab_active .tab_list_head,
#tab_list li:nth-child(2).tab_active .tab_list_head {
    background: #ffdede;
    color: #a80000;
}
#tab_list li:nth-child(1).tab_active,
#tab_list li:nth-child(2).tab_active {
    background: #ec0000;
}
#tab_list li:nth-child(1).tab_active:after,
#tab_list li:nth-child(2).tab_active:after{
    color: #ec0000;
}
#tab_list li:nth-child(3).tab_active,
#tab_list li:nth-child(4).tab_active {
    background: #00bbff;
}
#tab_list li:nth-child(3).tab_active:after,
#tab_list li:nth-child(4).tab_active:after {
    color: #00bbff;
}
#close-btn{
    float: right;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    cursor: pointer;
    font-size: 24px;
    padding-right: 10px;
}
#layer_carbox #tab_list li {
    padding: 42px 0 8px;
    font-size: 16px;
    text-align: center;
}
p.form-agreement {
    margin: 12px 0;
    font-size: 16px;
    text-align: center;
}
p.form-agreement a{
    font-size: 14px;
    text-decoration: underline;
}

/*‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
    MAIN FORM
_______________________________________________________*/
@media screen and (min-width: 1101px) {
    .main_form {
        position: relative;
        background-color: #ffffff;
        border-radius: 4px;
        min-width: 442px;
        margin: 16px auto;
        z-index: 1;
    }
    .main_form .arrow {
        margin-bottom: 0.8em;
        padding: 0 0.4em 0.4em 0.4em;
        color: #ffffff;
        font-size: 1.2em;
        text-align: center;
        font-weight: 700;
        border-radius: 50px;
        font-feature-settings: "palt";
        background: #00d24f;
    }
    .main_form .arrow span {
        font-size: 1.4em;
    }
    .main_form form {
        box-shadow: 0 2px 5px 0 rgba(0,0,0,0.4);
        text-align: left;
        border-radius: 4px;
        background: #fff;
        padding: 1em 1.5em;
        box-sizing: border-box;
        height: auto;
    }
    .main_form section#user_area{
        padding-top: 0;
    }
    .main_form .heading {
        border-bottom: 1px solid #bbb;
        font-size: 16px;
        margin-bottom: 12px;
        font-weight: bold;
        color: #3b3b3b;
    }
    .main_form .heading:before {
        content: '';
        width: 18px;
        height: 18px;
        display: inline-block;
        vertical-align: middle;
        margin-right: 8px;
        background-size: contain;
        background-repeat: no-repeat;
        margin-bottom: 3px;
    }
    .main_form #car_area .heading:before {
        background-image: url(/img/form_icon_car.png);
    }
    .main_form #user_area .heading:before {
        background-image: url(/img/form_icon_customer.png);
    }
    .main_under img{
        margin-left: 0;
        margin-right: auto;
        display: block;
        padding: 70px 24px 110px;
        width: 93%;
    }
    .terms{
        align-items: center;
        text-align: center;
        font-size: 0.95rem;
    }
    .agree-txt{
        font-size: 12px;
        line-height: 1.4;
        margin-bottom: 12px;
    }
    .ssl-txt{
        font-size: 10px;
    }
    .terms input[id="chkbox"]{
        height: 18px;
        max-width: 18px;
        padding: 3px;
        box-sizing: border-box;
        -webkit-appearance: revert;
        -moz-appearance: revert;
        appearance: revert;
        vertical-align: sub;
    }
    .terms label {
        font-weight: bold;
    }
    #loading{
        margin:0 auto 20px;
        width: 10%;
    }
    #user_area {
        margin-top: 24px;
    }
}

/* 点滅 */
.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 0 #f12, 0 0 0 0 #fff, 0 0 0 1px #f12}
    100% {box-shadow: 0 0 0 0 #f12, 0 0 0 0 rgba(255,255,255,0), 0 0 0 5px rgba(100,164,134,0)}
}

/* 送信項目のエラーメッセージ */
.err_msg{
    color: #f00;
    clear: both;
    padding-bottom: 0;
    font-size:15px;
    text-align: left;
}
/* 送信ボタン後のloading画像 */
#loading_img {
    display: none;  /* 編集しないで下さい */
    width: 10%;
}

/* レイヤー */
#layer {
    display: none;   /* 編集しないで下さい */
    position: fixed; /* 編集しないで下さい */
    width: 100%;     /* 編集しないで下さい */
    height: 100%;    /* 編集しないで下さい */
    top: 0;          /* 編集しないで下さい */
    left: 0;         /* 編集しないで下さい */
    z-index: 990;    /* 編集しないで下さい */
    background-color: #fff;
    opacity: 0.8;
}

.form_title {
    display: flex;
    width: 40%;
    margin-bottom: 5px;
    align-items: baseline;
    justify-content: flex-start;
}
.form_area {
    position: relative;
    width: 60%;
    padding-left: 8px;
    box-sizing: border-box;
}
.c-form__item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}
.c-form__item + .c-form__item {
    margin-top: 5px;
}
.c-form__ssl_ttl + p {
    font-size: 12px;
    line-height: 1.4;
}

.c-form__ssl_ttl {
    font-weight: bold;
    font-size: 14px;
}
.c-form__ssl_ttl::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-size: contain;
    background-position: center center;
}
.submit_btn,
#next_btn {
    display: flex;
    width: 100%;
    height: 65px;
    padding: 8px 0;
    margin: 16px auto;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    color: #fff;
    background: linear-gradient(to bottom, #e70012 0%,#e70012 36%,#e70012 36%,#a8000d 51%,#d90011 100%);
    line-height: 1;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity .3s;
}
.submit_btn {
    opacity: 0.5;
}
.submit_btn_box {
    position: relative;
}
.submit_btn_box::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 1.2em;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid #fff; /* 矢印の色 */
    pointer-events: none;
}
.submit_btn.disable,
.c-form__item:has(.req_on) .form_area input,
.c-form__item:has(.req_on) .form_area select {
    background-color: #ffffc9;
}
/*必須のlabelだけ赤色にしたい場合*/
/*.c-form__item:has(.req_on) label {*/
/*    color: red;*/
/*}*/

/*フォーム三角矢印*/
/* ▼ readonly input（選択用）と select 両方に共通スタイル */
.form_area input[readonly],
.form_area select {
    padding: 0 30px 0 15px; /* 右側に三角用余白 */
}
/* ▼ select に三角 */
.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;
}
.req_on,
.req_off {
    font-size: 12px;
    float: left;
    margin: 3px 10px 0 0;
    padding: 2px 6px;
    line-height: 1.5;
    color: #fff;
    display: inline-block;
    font-weight: 500;
}
.req_on {
    background: #e50000;
}
.req_off {
    background: #949494;
}

@media screen and (min-width: 1101px){
    #next_msg {
        display: none;
    }
    #next_btn {
        display: none;
    }
}

@media screen and (max-width: 1100px) {
    input,
    select{
        display: block;
        height: 35px;
    }
    .form_area.triangle::after {
        top: 16px;
    }
    .main_form {
        width: 100%;
    }
    .main_form form {
        position: relative;
        background: #fff;
        width: 92vw;
        top: 0;
        margin: 0 auto;
        padding: 3% 3% 5%;
    }
    .main_form .heading {
        display: block;
        text-align: center;
        font-weight: bold;
        padding: 0 0 7px;
        border-bottom: 1px solid #ded8b5;
        margin-bottom: 10px;
    }
    .main_form #car_area .heading {
        display: none;
    }
    #car_area > div {
        margin-bottom: 3%;
    }
    #form_box input[id="chkbox"] {
        display: flex;
        background: none;
        height: 18px;
        width: 18px;
        max-width: 18px;
        padding: 3px;
        box-sizing: border-box;
        -webkit-appearance: revert;
        -moz-appearance: revert;
        appearance: revert;
        vertical-align: sub;
    }
    .c-form__item {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        margin-bottom: 8px;
    }
    .form_area {
        width: 100%;
        padding-left: 0;
    }
    .tab_box ul {
        border: none;
        padding: 0;
    }
    .tab_box li {
        display: block;
        width: 100%;
        padding: 14px 0 14px 10px;
        margin: 0;
        font-size: 14px;
        border-bottom: solid 1px #e2e2e2;
    }
    .tab_box p　{
        font-size: 12px;
    }
    .main_form .heading {
        display: block;
        vertical-align: text-bottom;
        background-color: transparent;
        text-align: center;
        font-weight: bold;
        padding: 0 0 7px;
        border-bottom: 1px solid #ded8b5;
        margin-bottom: 10px;
    }
    .form_title {
        width: 100%;
        text-align: left;
    }
    .form_title label {
        font-size: 14px;
    }
    .req_on,
    .req_off {
        padding: 3px 5px;
    }
    .submit_btn_box {
        display: none;
    }
    #user_area {
        padding-top: 32px;
        display: none;
    }
    #next_btn.disable {
        background: #dadada;
        text-shadow: -2px -1px 2px #A8A8A8;
    }
    #next_msg {
        display: none;
        font-size: 14px;
        text-align: left;
    }
    .agree-txt {
        font-size: 12px;
        text-align: left;
    }
    .terms {
        padding: 0.3em 0 0;
        justify-content: center;
        display: flex;
        align-items: center;
        gap: 5px;
    }
    .submit_btn,
    #next_btn {
        font-size: clamp(14px, 4.6vw, 20px);
        margin: 8px auto;
        height: 45px;
    }
    .submit_btn:hover {
        opacity: 0.5;
    }
    #ssl_information_footer_form {
        text-align: left;
    }
    #ssl_information_footer_form p {
        line-height: 1.25;
        margin-top: 5px;
    }
    #layer_carbox {
        padding: 0;
        margin: 0;
        border:none;
        max-width: 1100px;
    }
}