﻿@charset "utf-8";

input:-webkit-autofill { /* inputの背景が自動でになるのを防ぐ（chromeのuser agent stylesheetを上書き）*/
    -webkit-box-shadow: 0 0 0px 1000px #ffffe4 inset;
}



    input[name="car_id"] {
        position: absolute;
        overflow: hidden;
        width: 0;
    }


dl:nth-child(2) input,
dl:nth-child(2) select {
    margin-left: auto;
    margin-right: 0;
    display: block;
}

    dl:nth-child(2) input.input_period {
        display: inline-block;
        margin-right: 0;
        margin-left: 0;
    }

/* モーダルウインドウ */

/* レイヤーのコンテンツ */
#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: 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: -13px;
                left: 0px;
                right: 0px;
            }

.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 0px;
        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 0px 8px;
}

.err_msg {
    clear: both;
    padding-bottom: 0;
    font-size: 15px;
}

p.form-agreement {
    font-size: 0.8em;
    margin-top: 10px;
    margin-bottom: 15px;
    text-align: center;
}

    p.form-agreement a {
        text-decoration: underline;
    }

.main dt.question_head {
    width: 100%;
    margin-top: 7px;
    margin-bottom: 10px;
}

.question_head .req_on {
    margin-top: -5px;
}

.main dd.question {
    width: 30%;
    margin-bottom: 0;
    padding-bottom: 0;
}


.period_flex {
    display: flex;
}  

.mt10 {
    margin-top: 10px;
}
