@charset "utf-8";

.must, .any {
    margin-bottom: 20px;
}
/* 入力フォームスタイル */
#form_box{
	height: 480px;
}
#sec1 .sec_area:before{
    top: -35px;
    right: -410px;
}
#form_under_line {
	margin: 0 auto 30px;
}
#main form select{
	border: solid 1px #888;
}
.must + dd .dummy_select {
	border:solid 1px #888;
}
.must + dd .maker_dd_inner .dummy_select{
	border:none;
}
.maker_dd_inner{
    width: 100%;
    position: relative;
    overflow: hidden;
    height: 32px;
    background: #ffffe4;
    border: solid 1px #888;
    box-sizing: border-box;
    height: 37px;
}
.must + dd .maker_dd_right .dummy_select {
	width: auto;
    right: 0;
    position: absolute;
    top: 0px;
    white-space: nowrap;
    border: none;
}
#main form dl{
	font-size: 0;
	padding:15px 5px 10px;
}
#main form input {
    height: 35px;
}
#main .question label,
#sec8 .question label{
    cursor: pointer;
}
#main dt.question_head,
#sec8 dt.question_head{
	width: 100%;
	margin-bottom:0;
}
#main dd.question,
#sec8 .footer_form_inner dd.question{
    font-size: 18px;
    width: 30%;
}
#main .question input[type=radio],
#sec8 .question input[type=radio]{
    font-size: 1rem;
    color: #333;
    line-height: 1em;
    -webkit-appearance: radio;
    -moz-appearance: radio;
    appearance: radio;
    width: 18px;
}
input:-webkit-autofill {/* inputの背景が自動でになるのを防ぐ（chromeのuser agent stylesheetを上書き）*/
    -webkit-box-shadow: 0 0 0px 1000px #ffffe4 inset;
}
#main .must,#main .any {
	margin-bottom:0;
	font-size:17px;
	vertical-align: top;
	width: 38%;
	box-sizing:border-box;
}
#main .must + dd {
    padding-bottom: 0;
    margin-bottom: 8px;
}
#main .f_smaller,
#sec8 .f_smaller{
    font-size: 15px;
    line-height: 1.2;
}
.must:before,
.any:before {
    width: 40px;
    height: 30px;
    font-size: 16px;
    line-height: 30px;
    font-weight: 600;
    text-align: center;
    color: #fff;
    display: inline-block;
    margin-right: 10px;
    float: left;
	box-sizing:border-box;
}
.must:before{
	content: '必須';
	background-color:#ff0014;
}
.any:before{
	content: '任意';
	background-color:#73b327;
}

input,select,.dummy_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;
}
.form_width{
	position: relative;
}
select,.dummy_select{
	background: url('/lp/adg/_index/img/select_mark.png') 98% 50% no-repeat;
    background-size: 7px;
}
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;
}
#form_area input:focus,select:focus,#form_under_line input:focus{
	outline: 0;
	border-color: #ff0014;
}
#sec8 li:nth-child(1) dt{
    width: 28%;
    min-width: inherit;
    padding-top: 0;
}
#sec8 li:nth-child(1) dd{
    width: 70%;
}
#sec8 select, #sec8 input{
	border: 1px solid #999;
}

/* フッターフォーム */
#sec8 .dummy_select{
	height: 40px;
}
#sec8 .maker_dd_inner{
	height: 40px;
}
#sec8 .footer_form{
	background: #fff;
    position: absolute;
    width: 100%;
    top: -140px;
    font-size: 0;
    padding: 0;
    box-sizing: border-box;
    box-shadow: 0px 0px 15px rgba(0,0,0,.5);
}
#sec8 .maker_dd .dummy_select {
    background-color: #FFFFE5;
}
/* モーダルウインドウ */
#modal_car_box{
    display: none;
    position: fixed;
    width: 90%;
    max-width: 890px;
    font-size: 1.1em;
    background: #ffffff;
    margin: 150px auto 20px auto;
    padding: 10px 20px;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    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:0px;
	left:0px;
	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 0px;
    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:-1em;
	left:0px;
	right:0px;
}
.tab_box{
	display:none;
	font-size:0.8em;
	font-weight: bold;
}
.tab_box.box_active{
	display: block;
}
.tab_box p{
	color:#333333;
}
.tab_box ul{
	padding:10px 10px 0px;
	margin-bottom: 15px;
	border:solid 1px #bebebe;
	box-sizing: border-box;
}
.tab_box li{
	float: left;
	width:25%;
    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_active:after {
    content: '\025bc';
    position: absolute;
    color: #00a856;
    bottom: -1em;
    left: 0px;
    right: 0px;
}
#tab_list li .tab_list_head {
    display: block;
    width: 100%;
    background: #e8e8e8;
    font-size: 16px;
    color: #b1b1b1;
    margin: 0 auto;
    position: absolute;
    top: 0;
    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(3).tab_active,
#tab_list li:nth-child(4).tab_active {
    background: #00bbff;
}
#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:after,
#tab_list li:nth-child(4).tab_active:after {
    color: #00bbff;
}

#modal_car_box #tab_list li {
    padding: 30px 0px 8px;
}

p.form-agreement {
    font-size: 0.8em;
    margin-bottom: 5px;
    text-align: center;
}
p.form-agreement a{
    text-decoration: underline;
}

/* 車種　２列 */
#order_by_english_box li{
	width: 35%;
}

.errors{
	clear: both;
	padding-bottom: 0;
	font-size:15px;
}
