@charset "utf-8";
/*------------------------------*/
/*            mordal            */
/*------------------------------*/

#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;  /* 編集しないで下さい */
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    box-sizing: border-box;
    width: 100%;
    max-width: 890px;
    padding: 10px 20px;
    margin:35px auto 50px auto;
    font-size: 1.1em;
    border: 1px solid #ccc;
    background-color: #fff;
    overflow-y: scroll;
}
#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: 1.5em;
    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;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;  /* 編集しないで下さい */
}
.tab_box li:hover {
    text-decoration: none;
}

/* タブ　ボタン　スタイル */

#tab_list li {
    padding: 33px 0 8px;
    font-size: 1.25em;
}
#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-right: 10px;
    margin-bottom: 8px;
    cursor: pointer;
    font-size: 30px;
}

/*------------------------------*/
/*          mordal SP           */
/*------------------------------*/

@media screen and (max-width: 768px){
    #layer_carbox {
        padding: 0;
        margin: 0;
        border:none;
    }
    .tab_box p {
        padding: 10px;
    }
    .tab_box ul {
        display: flex;
        flex-wrap: wrap;
        padding: 0;
        border: none;
    }
    .tab_box li {
        padding: 10px 12px;
        width: 100%;
        font-size: 15px;
        border-bottom: solid 1px #d7d7d7;
    }
}

/*------------------------------*/
/*             form             */
/*------------------------------*/

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;
    font-family: Meiryo, sans-serif;
    line-height: 1.5;
    padding: 6px 10px;
    border: solid 1px #888;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 8px;
}
input[name="car_id"] {
    position: absolute;
    overflow: hidden;
    width: 0;
}
select,.dummy_select{
    background: url('/af/_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;
}
.main_form {
    position: relative;
    right: 0;
    top: 0;
    color: #000;
    z-index: 1;
}
.main_form form {
    background: #fff;
    border-radius: 4px;
    padding: 20px 50px;
    margin: 0 auto;
    box-sizing: border-box;
    width: 640px;
    max-width: 100%;
    height: auto;
    box-shadow: 1px 2px 13px 0 rgb(0 0 0 / 8%);
    text-align: left;
}
#user_area, .submit_btn_box {
    display: none;
}
#user_area {
    padding-top: 20px;
}
.form_title {
    display: flex;
    align-items: baseline;
    width: 40%;
    font-size: 16px;
}
.form_area {
    width: 100%;
    padding-left: 20px;
    box-sizing: border-box;
}
.c-form__item {
    display: flex;
    align-items: center;
}
.c-form__item + .c-form__item {
    margin-top: 15px;
}
#pref_id option {
    font-size: 16px;
}
.form_about {
    font-size: 1.4em;
    padding: 4px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 12px;
    color: #00aee8;
    border-bottom: solid 2px #00aee8;
}

/* 点滅 */

.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-bottom: 0;
    font-size:15px;
    color: #f00;
}

/* 送信ボタン後のloading画像 */

#loading_img {
    display: none;  /* 編集しないで下さい */
    width: 10%;
}

/*必須・任意*/

.req_on,
.req_off,
.form_any {
    font-size: 12px;
    float: left;
}
.req_on,
.req_off {
    margin-right: 5px;
    padding: 2px 5px;
    line-height: 1.5;
    color: #fff;
    display: inline-block;
    float: left;
    font-weight: 500;
    margin-bottom: 5px;
}
.req_on {
    background: red;
}
.req_off {
    background: #27a424;
}

/*CTAボタン*/

.c-form__btn {
    display: flex;
    padding: 18px 0;
    margin: 15px auto 0;
    width: 430px;
    max-width: 93%;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    color: #fff;
    background: linear-gradient(to bottom, #BD202D 0%, #E10214 88%);
    line-height: 1;
    border-radius: 7px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity .3s;
}
.c-form__btn:hover {
    opacity: .8;
}
.icon_muryo::before {
    position: relative;
    top: -1px;
    content: '無料';
    background: #fff;
    border-radius: 4px;
    color: #1e1e1e;
    font-size: 17px;
    letter-spacing: 0;
    padding: 5px 8px 3px;
    margin-right: 10px;
}
.c-form__btn.disable {
    margin-top: 10px;
    color: #fff;
    background: #cfcfcf;
}
.c-form__btn.disable.icon_muryo::before {
    color: #fff;
    background: #919191;
}
.c-form__submit {
    position: relative;
    padding-right: 12px;
    margin: 0 auto;
    width: 430px;
    max-width: 93%;
    color: #fff;
    font-family: "Noto Sans JP";
    background: linear-gradient(to bottom, #BD202D 0%, #E10214 88%);
}
.c-form__submit::after {
    position: absolute;
    top: 0;
    right: 20px;
    bottom: 0;
    display: inline-block;
    content: '';
    width: 0.9em;
    height: 0.9em;
    margin: auto;
    background-image: url('/af/_index/img/cv_form_btn_icon.png');
    background-repeat: no-repeat;
    background-size: contain;
}

/*利用規約・プライバシーポリシー*/

p.form-agreement {
    text-align: center;
    margin: 12px 0;
    font-size: 14px;
}
p.form-agreement a{
    text-decoration: underline;
}

/*個人情報非公開*/

.c-form__ssl_ttl {
    font-weight: 700;
}
.c-form__ssl_ttl::before {
    content: '';
    display: inline-block;
    margin-right: 5px;
    width: 16px;
    height: 16px;
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAVCAYAAACkCdXRAAABTElEQVQ4ja3UsWoUURTG8d+EyWJQkKzbpMgWJhAQm8gKeYNY2G4ICz7CPkr69JIgqXwCGxsLkyoWNjYrrIWlG0MUJsWeTWaHmdmR9YPhnHs55z/fmTszSXaiTCkO8QYv0MFPXOAt3uEvGGR3TUkJbBNn2Cu9zVSfcIBRHrZSKGrjQwF0hW8RZ9qLuna+uQg7wnbkP9DHY2xF7Me+qDvKN+fH3AwHKX6hh68lI+7gMx6ZPrenBtmo6Ox1gOC4AiT2jyNPsV/mbA0PIp/gpgIGLTyM/Nog+z0jf8FGTeNinSYwTvFsKdC91ounuZSawDJ8j7gUbIKXpq9NL9bz6t5fi2DvcR75RaznAHml6tWZc8CTuuJFzvZ1DQM0xKt/h82PMfvo6/4iyI/ZraxpFWKlkuzjwiP/g0s8x2ozZ9VaxW6DukYvbWOtYPyfWONbOhQ/85bcc2sAAAAASUVORK5CYII=");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
}
#ssl_information_footer_form {
    margin-top: 15px;
    border-top: solid #d4d4d4 1px;
    padding-top: 7px;
}
#ssl_information_footer_form p {
    line-height: 1.25;
    font-size: 13px;
}

/*もうすぐ完了！テキスト*/

#form_box .next_form_message {
    width: 100%;
    margin: 0 auto 10px;
    background-color: #dddddd;
}
#form_box .next_form_message p {
    position: relative;
    padding: 8px 16px 8px 32px;
    margin-bottom: 10px;
    font-size: 14px;
}
#form_box .next_form_message p::before {
    content: "";
    position: absolute;
    background: url(/af/_index/img/lightbulb.png) no-repeat center;
    background-size: contain;
    width: 24px;
    height: 24px;
    top: 6px;
    left: 8px;
}

/*同意する*/

.agree-txt{
    font-size: 13px;
    margin: 14px 0 8px;
    line-height: 1.5;
}
.terms{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    text-align: center;
    font-size: 16px;
    margin-bottom: 10px;
}
.terms input[id="chkbox"], .terms input[id="chkbox2"]{
    width: 20px;
    height: 20px;
    box-sizing: border-box;
    appearance: checkbox;
    -webkit-appearance: checkbox;
    vertical-align: middle;
    margin: 0;
}

/*------------------------------*/
/*           form SP            */
/*------------------------------*/
@media screen and (max-width: 768px){
    .c-form__text_box {
        width: 92%;
    }
    .main_form form {
        position: relative;
        width: 100%;
        margin: 0 auto;
        padding: 0;
        box-shadow: none;
        border: solid 6px #00afec;
        border-top: none;
        border-radius: 0;
    }
    .form_wrap {
        padding: 10px;
    }
    .form_title {
        width: 100%;
    }
    .form_area {
        padding-left: 0;
    }
    .c-form__item {
        flex-direction: column;
    }
    .c-form__item + .c-form__item {
        margin-top: 10px;
    }
    .c-form__btn {
        margin-top: 10px;
        font-size: 20px;
    }
    .c-form__submit::after {
        right: 10px;
        width: 0.8em;
        height: 0.8em;
    }
    .agree-txt{
        padding: 0 10px;
    }
    .form_about {
        margin-bottom: 0;
        font-size: 16px;
        color: #0068a5;
        background-color: #eaf1f9;
        border: none;
    }
    #ssl_information_footer_form {
        padding: 7px 10px 10px;
    }
    p.form-agreement {
        margin: 5px 0 0;
    }
    #user_area {
        padding-top: 0;
    }
}