@charset "utf-8";

input:-webkit-autofill {/* inputの背景が自動でになるのを防ぐ（chromeのuser agent stylesheetを上書き）*/
    -webkit-box-shadow: 0 0 0 1000px #ffffe4 inset;
}
input,select,.dummy_select{
	width: 100%;
	font-size: 16px;
	line-height: 1.5;
	padding: 4px 8px;
	border: solid 1px #ccc;
	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;
}
.dummy_select{
	cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
}
dl:nth-child(2) input,
dl:nth-child(2) select{
	margin-left: auto;
	margin-right: 0;
	display: block;
}

/* 必須・任意 */
.req_on,
.req_off {
    font-size: 12px;
    float: left;
}
.req_on,
.req_off {
    margin-right: 5px;
    padding: 5px;
    font-size: 0.8em;
    color: #ffffff;
    display: inline-block;
    float: left;
    font-weight: 500;
    margin-bottom: 5px;
}
.req_on {
    background: #e50000;
}
.req_off {
    background: #27a424;
}

/* 送信項目のエラーメッセージ */
.err_msg{
    clear: both;
    padding-bottom: 0;
    font-size:15px;
    color: #e50000;
}

/* フォームスタイル 縦 */
form.contact_form {
    width: 400px;
    color: #000000;
    position: absolute;
    z-index: 1;
    background: #fff;
    border-radius: 4px;
    box-sizing: border-box;
    height: auto;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.4);
    text-align: left;
    padding-bottom: 20px;
}

form.contact_form input:not(.submit_btn),
form.contact_form select{
    padding: 6px 8px;
    line-height: normal;
}
form.contact_form dd input.form_bg_color,
form.contact_form dd input[name="as_maker"],
/*form.contact_form dd input[name="as_model_year"],*/
/*form.contact_form dd input[name="as_mileage"],*/
form.contact_form dd input[name="name"],
form.contact_form dd input[name="phone_number"],
/*form.contact_form dd select[name="pref_id"],*/
form.contact_form dd input[name="as_maker2"],
form.contact_form dd input[name="name2"],
form.contact_form dd input[name="phone_number2"] {
    background-color: #ffffc9;
}

/* フォーム　右寄せ */
form.right{
    right: 0;
}
/* フォーム　左寄せ */
form.left{
    left: 0;
}
/* フォーム　見出し */
form h2 {
    text-align: center;
    border-radius: 4px 4px 0 0;
    padding: 6px 0;
}
/* 車・お客様情報　セクション */
form section {
    padding: 10px 4% 0;
}
form section#car_area h3:before {
    background-image: url(/img/form_icon_car.png);
}
form section#user_area h3:before {
    background-image: url(/img/form_icon_customer.png);
}
/* セクションタイトル */
form h3 {
    border-bottom: 1px solid #bbb;
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: bold;
}
form h3:before {
    content: '';
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
    background-size: contain;
    background-repeat: no-repeat;
    margin-bottom: 5px;
}
/* 入力項目　スタイル */
.form_title {
    display: inline-block;
    vertical-align: text-bottom;
    width: 33%;
    text-align: left;
    font-weight: 500;
    font-size: 15px;
}
.form_title label[for="as_maker"]{
    font-size: 0.9em;
    vertical-align: middle;
    display: inline-grid;
    line-height: 1.4;
}
.form_area {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
    width: 60%;
}
form section#user_area dl select {
    border-radius: unset;
}

#next_btn{
    padding: 20px 0;
    box-sizing: border-box;
    border-radius: 4px;
}
.submit_btn_box input.submit_btn {
    font-weight: bold;
    color: #fff;
    width: 100%;
    max-width: 370px;
    height: inherit;
    padding: 6px 0;
    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_information_footer_form {
    text-align: left;
    width: 93%;
    margin: 20px auto 0;
    font-size: 0.8rem;
    line-height: 1.4;
}
#ssl_information_footer_form .ssl_ttl {
    padding-bottom: 3px;
    margin: 7px auto 2px;
    font-size: 1.2em;
    font-weight: bold;
}
#ssl_information_footer_form .ssl_ttl:before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url(/img/ssl_icon.png) center;
    background-repeat: no-repeat;
    background-position: left;
    vertical-align: inherit;
    background-size: contain;
    margin-right: 4px;
}

/* モーダルウインドウ */
/* レイヤーのコンテンツ */
#layer_carbox{
    display: none;
    position: fixed;
    width: 90%;
    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: 10;
    box-sizing: border-box;
    border: 2px solid #bbb;
}
#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: 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;
}
.tab_box li{
    display: inline-block;
	width:32%;
    margin-bottom: 8px;
	color:#0170b5;
	text-decoration: underline;
	cursor: pointer;
}
.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;
    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;
}
#close-btn{
    float: right;
    font-weight: bold;
    color: #adadad;
    margin-bottom: 8px;
    cursor: pointer;
    font-size: 30px;
}

#layer_carbox #tab_list li {
    padding: 33px 0 8px;
}

p.form-agreement {
    font-size: 0.8em;
    margin-bottom: 15px;
    text-align: center;
}
p.form-agreement a{
    text-decoration: underline;
}

/* **************************************************************************************** */
/* ************************************* 以下編集しない ************************************* */
/* **************************************************************************************** */

/* 点滅 */
.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/load.gif を読み込んでいますが、svgなど他の画像を使用、または全画面で表示したいなどがある場合は変更しますので言ってください */
}

/* レイヤー */
#layer {
    display: none;   /* 編集しないで下さい */
    position: fixed; /* 編集しないで下さい */
    width: 100%;     /* 編集しないで下さい */
    height: 100%;    /* 編集しないで下さい */
    top: 0;          /* 編集しないで下さい */
    left: 0;         /* 編集しないで下さい */
    z-index: 990;    /* 編集しないで下さい */
    background-color: #fff;
    opacity: 0.8;
}

/* レイヤーのコンテンツ */
#layer_carbox {
    display: none;    /* 編集しないで下さい */
    z-index: 991;     /* 編集しないで下さい */
    position: fixed;  /* 編集しないで下さい */
    width: 100%;
    border: 1px solid #ccc;
    background-color: #fff;
}
.tab_box {
    display: none;  /* 編集しないで下さい */
}
.tab_box li {
    text-decoration: underline;
    cursor: pointer;  /* 編集しないで下さい */
}
.tab_box li:hover {
    text-decoration: none;
}
.loading_img {
    display: none;  /* 編集しないで下さい */
    width: 10%;
}
