@charset "utf-8";
/*----------------------------------------------------*/
/*     PC     */
/*----------------------------------------------------*/

.main_form {
    width: 400px;
    background-color: #ffffff;
    color: #000000;
    position: absolute;
    z-index: 1;
    right: 0;
    top: 0;
}
.form_box {
    background: #fff;
    border-radius: 4px;
    padding: 4%;
    box-sizing: border-box;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.4);
    text-align: left;
}

/*　ご利用の愛車について/お客様について　*/

.form_heading {
    border-bottom: 1px solid #bbb;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: bold;
}
.form_heading:before {
    content: '';
    width: 30px;
    height: 30px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
    background-size: contain;
    background-repeat: no-repeat;
    margin-bottom: 5px;
}
.main_form #car_area .form_heading::before {
    background-image: url(/af34/_index/img/sec5_icon1.png);
}
.main_form #user_area .form_heading::before {
    background-image: url(/af34/_index/img/sec5_icon2.png);
}

/*　次へ　*/

.form_next_btn {
    display: block;
    width: 95%;
    margin: 0 auto;
    padding: 8px;
    box-sizing: border-box;
    background: linear-gradient(to bottom, #BD202D 0%, #E10214 88%);
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
    text-align: center;
    transition: .2s;
    border: none;
}
.form_next_btn:hover {
    opacity: .8;
}
.form_next_btn.disable {
    background: #dadada;
    text-shadow: -2px -1px 2px #A8A8A8;
}

@media screen and (min-width: 961px){
    .form_next_btn {
        display: none;
    }
}

/*　入力フォーム　*/

input:-webkit-autofill {/* inputの背景が自動でになるのを防ぐ（chromeのuser agent stylesheetを上書き）*/
    -webkit-box-shadow: 0 0 0 1000px #ffffc9 inset;
}
@media screen and (min-width: 961px){
    input:-webkit-autofill {/* inputの背景が自動でになるのを防ぐ（chromeのuser agent stylesheetを上書き）*/
        -webkit-box-shadow: 0 0 0 1000px #ffffc9 inset;
    }
}
input,select {
	width: 100%;
	font-size: 18px;
	font-family: Meiryo, sans-serif;
	line-height: 1.5;
	padding: 4px 8px;
	border: solid 1px #888;
	box-sizing: border-box;
	appearance: none;
}
input[name="car_id"] {
    position: absolute;
    overflow: hidden;
    width: 0;
}
select::-ms-expand {
	display: none;
}
.form_title {
    display: flex;
    vertical-align: text-bottom;
    width: 33%;
    text-align: left;
    font-weight: 500;
    font-size: 0.9em;
    line-height: 1.4;
    flex-direction: row;
    align-items: center;
}
.form_title label[for="as_maker"]{
    font-size: 0.9em;
    vertical-align: middle;
    display: inline-grid;
    line-height: 1.4;
}
.form_inner {
    margin-bottom: 12px;
}
.form_item {
    display: flex;
}
.form_item + .form_item {
    margin-top: 10px;
}
.form_area {
    flex: 1;
    display: inline-block;
    vertical-align: middle;
    width: 60%;
}
.form_box{
    padding-bottom: 20px;
}
#form_box input:not(.submit_btn),
#form_box select{
    padding: 6px 20px 6px 8px;
    line-height: normal;
    background-color: #ffffc9;
    cursor: pointer;
}
#form_box input:not(#name):not(#phone_number):not(.submit_btn),
#form_box select {
    background-image: url(/af34/_index/img/select_mark.png);
    background-repeat: no-repeat;
    background-position: 98% 50%;
    background-size: 7px;
}

/*　必須/任意　*/

.req_on, .req_off {
    margin-right: 5px;
    padding: 5px;
    font-size: 0.8em;
    color: #fff;
    display: inline-block;
    font-weight: 500;
}
.req_on {
    background: red;
}
.req_off {
    background: #27a424;
}

/*　利用規約/プライバシーポリシー　*/

p.form-agreement {
    font-size: 0.8em;
    margin-bottom: 15px;
    text-align: center;
}
p.form-agreement a{
    text-decoration: underline;
}

/*　CVボタン　*/

.submit_btn_box button.submit_btn {
    font-weight: bold;
    color: #fff;
    width: 100%;
    height: inherit;
    padding: 6px 0;
    line-height: 1.5;
    border: 1px solid firebrick;
    border-radius: 4px;
    font-size: 1.6em;
    text-align: center;
    margin: 0 auto;
    display: block;
    background: linear-gradient(to bottom, #e70012 0%,#e70012 36%,#e70012 36%,#a8000d 51%,#d90011 100%);
}

/*　SSL信号　*/

#ssl_information_footer_form {
    text-align: left;
    width: 97%;
    margin: 20px auto 0;
    font-size: 0.8rem;
    line-height: 1.4;
}
#ssl_information_footer_form .ssl_information_txt {
    padding-bottom: 3px;
    margin: 7px auto 2px;
    font-size: 1.2em;
    font-weight: bold;
}
#ssl_information_footer_form .ssl_information_txt::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url(/af34/_index/img/ssl_icon.png) center;
    background-repeat: no-repeat;
    background-position: left;
    vertical-align: inherit;
    background-size: contain;
    margin-right: 4px;
}

/* 点滅 */

.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 {
    clear: both;
    padding-top: 3px;
    color: #f00;
    font-size:13px;
    text-align: left;
    line-height: 1.6;
}

/* 送信ボタン後のloading画像 */

#loading_img {
    display: none;  /* 編集しないで下さい */
    width: 10%;
}

/*----------------------------------------------------*/
/*     SP     */
/*----------------------------------------------------*/
@media screen and (max-width: 960px){

    .main_form {
        position: relative;
        width: 100%;
        box-sizing: border-box;
    }
    .main_inner {
        padding: 15px;
        width: 100%;
        box-sizing: border-box;
    }
    .form_box {
        background-color: #faf9d2;
        width: 100%;
        margin: 0 auto;
        padding: 0;
        box-sizing: border-box;
        box-shadow: none;
    }
    .form_heading {
        font-size: 1.1em;
        text-align: center;
        font-weight: bold;
        background-color: initial;
        background-image: none;
        color: initial;
        padding: 10px 0 0;
        margin: 0 auto 10px;
        width: 95%;
        border-bottom: 1px solid #bbbbbb;
    }
    .form_heading:before {
        display: none;
    }
    .form_item {
        flex-direction: column;
        width: 92%;
        margin: 0 auto;
    }
    #form_box input:not(.submit_btn), #form_box select {
        background-color: #fff;
    }
    .form_title {
        width: 100%;
        margin-bottom: 5px;
    }
    .form_title label[for="as_maker"] {
        display: block;
    }
    .form_area {
        width: 100%;
    }
    #user_area,
    .submit_btn_box {
        display: none;
    }
    #user_area {
        padding-top: 0;
    }
    .form_next_btn {
        width: 92%;
    }
    .submit_btn_box button.submit_btn {
        width: 92%;
    }
    #ssl_information_footer_form {
        padding-bottom: 10px;
        width: 92%;
    }
}

/*----------------------------------------------------*/
/*     mordal     */
/*----------------------------------------------------*/

#layer {
    display: none;   /* 編集しないで下さい */
    position: fixed; /* 編集しないで下さい */
    width: 100%;     /* 編集しないで下さい */
    height: 100%;    /* 編集しないで下さい */
    top: 0;          /* 編集しないで下さい */
    left: 0;         /* 編集しないで下さい */
    z-index: 9;    /* 編集しないで下さい */
    background-color: #fff;
    opacity: 0.8;
}
#layer_carbox {
    display: none;    /* 編集しないで下さい */
    z-index: 991;     /* 編集しないで下さい */
    position: fixed;  /* 編集しないで下さい */
    background-color: #fff;
    width: 90%;
    max-width: 890px;
    font-size: 1.1em;
    margin:35px auto 50px auto;
    padding: 10px 20px;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    overflow-y: scroll;
    box-sizing: border-box;
    border: 2px solid #bbb;
}

/* タブ　リスト */

#tab_list{
    clear: both;
}
#tab_list li{
    float: left;
    position: relative;
    width: 25%;
    padding: 33px 0 8px;
    margin-bottom: 20px;
    font-size: 20px;
    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:-22px;
    left:0;
    right:0;
}

/* タブ　ボタン　スタイル */

#tab_list li.tab_active {
    color: #ffffff;
    background: #00a856;
}
#tab_list li .tab_list_head {
    display: block;
    width: 100%;
    background: #e8e8e8;
    font-size: 16px;
    color: #b1b1b1;
    margin: 0 auto;
    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;
}
#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;
}

/* タブ　ボックス */

.tab_box {
    display: none;  /* 編集しないで下さい */
    font-size: 1.5em;
}
.tab_box li {
    text-decoration: underline;
    cursor: pointer;  /* 編集しないで下さい */
    font-weight: 700;
    display: inline-block;
    width:32%;
    margin-bottom: 8px;
    color:#0170b5;
}
.tab_box li:hover {
    text-decoration: none;
}
.tab_box{
    display:none;
    font-size: 0.9em;
    font-weight: bold;
    line-height: 1.4;
}
.tab_box.box_active{
    display: block;
}
.tab_box p{
    color:#333333;
}
.tab_box ul{
    padding:10px 10px 0;
    margin-bottom: 15px;
    border:solid 1px #bebebe;
    box-sizing: border-box;
}

/* タブ　閉じる */

#close-btn{
    float: right;
    font-weight: bold;
    color: #adadad;
    margin-right: 15px;
    cursor: pointer;
    font-size: 30px;
}

/*----------------------------------------------------*/
/*     mordal SP     */
/*----------------------------------------------------*/
@media screen and (max-width: 960px){

    #layer_carbox {
        padding: 0;
        margin: 0;
        width: 100%;
        max-width: 100%;
        border:none;
    }
    #tab_list li {
        padding: 28px 0 4px;
        font-size: 16px;
    }
    #tab_list li .tab_list_head {
        font-size: 15px;
    }
    #tab_list li.tab_active:after {
        bottom: -18px;
    }
    .tab_box ul {
        display: flex;
        flex-direction: column;
        padding: 0;
        border: none;
    }
    .tab_box li {
        padding: 7px 10px;
        width: 100%;
        font-size: 16px;
        border-bottom: solid 1px #dadada;
    }
    .tab_box p {
        padding: 5px 10px;
    }
}
