@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: 18px;
	font-family: Meiryo, sans-serif;
	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;
}

/* モーダルウインドウ */

/* レイヤーのコンテンツ */
#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;
}

.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;
}