
/*‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
        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{
    width: 100%;
    line-height: 1.5;
    padding: 0.5em 3.5em 0.5em 1em;
    border: solid 1px #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    -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;
}
#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;
}

.err_msg{
    clear: both;
    padding-bottom: 0;
    font-size:15px;
}
p.form-agreement {
    font-size: 0.8em;
    margin-bottom: 15px;
    text-align: center;
}
p.form-agreement a{
    text-decoration: underline;
}


/*form_pc.css*/
.main_form {
    width: 500px;
    color: #333;
    position: absolute;
    z-index: 1;
    right: 0;
    top: 20px;
    border-radius: 4px;
}

.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 {
    background: #fff;
    padding: 1em 1.7em 1em 1.7em;
    box-sizing: border-box;
    position: absolute;
    top: 65px;
    height: auto;
    box-shadow: 1px 2px 13px 0 rgb(0 0 0 / 8%);
    text-align: left;
}
.arrow {
    position: relative;
}
.main_form .arrow:before {
    content: '';
    position: absolute;
    border-top: 10px solid #00d24f;
    border-right: 10px solid transparent;
    border-left: 10px solid transparent;
    bottom: -10px;
    left: 0;
    right: 0;
    width: 0;
    height: 0;
    margin: 0 auto;
    display: block;
}
.main_form .heading {
    border-bottom: 1px solid #bbb;
    margin-bottom: 15px;
    font-weight: bold;
}
@media screen and (max-width: 1100px){
    .c-form__text_box {
        width: 88%;
        max-width: 400px;
    }
    .main_form {
        position: relative;
        top: 0;
        width: 100%;
    }
    .main_form form {
        position: relative;
        top: 0;
        margin: 0 auto;
        padding: 3% 6% 5%;
    }
    .main_form .heading {
        text-align: center;
        color: #525252;
        font-size: 1.1em;
        margin-bottom: 8px;
    }
}

@media screen and (max-width: 1100px){
    #user_area,
    .submit_btn_box {
        display: none;
    }
    #user_area {
        padding-top: 20px;
    }
}
@media screen and (min-width: 1101px) {
    #user_area {
        margin-top: 24px;
    }
}

.form_title {
    width: 65%;
    margin-bottom: 5px;
}

/* 点滅 */
.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;
}

/* 送信ボタン後の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;
}

@media screen and (max-width: 1100px){
    #layer_carbox {
        padding: 0;
        margin: 0;
        border:none;
        max-width: 1100px;
    }
}
.form_area {
    position: relative;
    width: 100%;
    padding-left: 8px;
    box-sizing: border-box;
}
/* ▼ readonly input（選択用）と select 両方に共通スタイル */
.form_area input[readonly],
.form_area select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    padding: 8px 30px 8px 10px; /* 右側に三角用余白 */
    font-size: 16px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    cursor: pointer;
}
/* ▼ select に三角 */
.form_area.triangle::after {
    content: "";
    position: absolute;
    top: 22px;
    right: 10px;
    margin-top: -3px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #333;
    pointer-events: none;
}
@media screen and (max-width: 1100px){
    .form_area {
        padding-left: 0;
        margin-bottom: 8px;
    }
    .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;
    }
}
.req_on,
.req_off,
.form_any {
    font-size: 14px;
    float: left;
}
.req_on,
.req_off {
    margin-right: 10px;
    padding: 6px 11px;
    line-height: 1.5;
    color: #fff;
    display: inline-block;
    float: left;
    font-weight: 500;
    border-radius: 4px;
}
.req_on {
    background: #be0622;
}
.req_off {
    background: #9acb00;
}

p.form-agreement {
    margin: 12px 0;
    font-size: 16px;
}

.c-form__item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.c-form__item label {
    line-height: 2;
}
@media screen and (max-width: 1100px){
    .c-form__item {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        margin-bottom: 8px;
    }
    .req_on {
        background: #ff0000;
        padding: 5px;
    }
    .req_off {
        padding: 5px;
    }
}

.c-form__item + .c-form__item {
    margin-top: 5px;
}
.c-form__ssl_ttl + p {
    font-size: 12px;
}

.c-form__ssl_ttl {
    font-weight: 700;
    font-size: 16px;
}
.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;
}
#next_msg {
    margin-top: 10px;
    font-size: 13px;
}
.c-form__btn {
    display: flex;
    width: 100%;
    padding: 30px 0;
    margin-bottom: 16px;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    color: #fff;
    background: linear-gradient(to bottom, #ff7f00 0%, #ff6200 100%);
    line-height: 1;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity .3s;
}
.c-form__btn:hover {
    opacity: .8;
}
.c-form__btn.disable {
    margin-top: 20px;
    color: #fff;
    text-shadow: -2px -1px 2px #a8a8a8;
    background: #d0cfcf;
    border-bottom: 5px solid #9e9d9d;
}

@media screen and (min-width: 1101px){
    .c-form__btn#next_btn {
        display: none;
    }
}

@media screen and (max-width: 1100px) {
    .c-form__btn {
        font-size: 20px;
        margin: 0 auto 16px;
        background: #019944;
        border-radius: 4px;
        border-bottom: 5px solid #00863b;
        padding: 24px 0;
    }

    .c-form__submit {
        color: #fff;
        background: #019944;
    }

    #ssl_information_footer_form p {
        line-height: 1.25;
        margin-top: 5px;
    }
}

input[name="as_maker"],
input[name="name"],
input[name="phone_number"],
input[name="as_maker2"],
input[name="name2"],
input[name="phone_number2"] {
    background-color: #ffffc9;
}
label[for="as_maker"],
label[for="name"],
label[for="phone_number"] {
    color: red;
}

@media screen and (max-width: 1100px) {
    input,
    select{
        box-sizing: border-box;
        display: block;
        width: 100%;
        border: solid 1px #ccc;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        font-size: 16px;
    }
    input{
        padding: 12px 21px 12px 8px;
    }
    select{
        padding: 5px 3px;
    }
    .contact_ttl{
        background-color: #009944;
        padding: 2%;
    }
    .contact_ttl .circle{
        background-color: #fff000;
        border-radius: 100%;
        width: 20vw;
        height: 17vw;
        padding: 3vw 0 0;
        color: #4b4b4b;
        display: inline-block;
        text-align: center;
        line-height: 1.2;
        font-size: 4vw;
        font-weight: bold;
    }
    .contact_ttl .circle span{
        font-size: 1.4em;
    }
    .contact_ttl .bold {
        font-size: 7vw;
        line-height: 1.4;
        color: #ffffff;
        margin-right: 0;
        margin-left: auto;
    }
    .contact_ttl .bold span{
        color: #fff000;
        font-size: 1.4em;
    }
    .contact_form {
        width: 100%;
    }
}