@charset "UTF-8";
/* フォーム */
.mailform{
    width: 100%;
    margin: 0 auto 3em auto;
}
.mailform-title{
    font-size: 20px;
    font-weight: 800;
    padding-top: 50px;
}
.input-line{
    width: 100%;
    display: table;
    background: #dfebef;
    border-bottom: 1px solid #ffffff;
}
.input-line .label{
    width: 30%;
    display: table-cell;
    vertical-align: middle;
    font-size: 16px;
    font-weight: 800;
    background: #0075a6;
    color: #ffffff;
    padding: 30px 15px;
}
.input-line .form-item{
    width: 100%;
    background: #dfebef;
    padding: 30px 15px;
}
.form-item-title{
    margin-top: 1em;
}
.input-line .flex{
    display: flex;
    align-items: center;
    white-space: nowrap;
}
.input-line .flex p{
    padding-right: 5px;
}
/* 必須 */
.hissu{
    color: #ffffff;
    background-color: #e6732d;
    display: inline-block;
    padding: 2px 5px;
    margin-left: 7px;
    line-height: 1.0;
    border-radius: 10px;
    font-size: 13px;
}
/* 名前 */
.input-line .flex-name{
    display: flex;
    justify-content: space-between;
}
.input-line .flex-name p{
    width: 48%;
}
/* 生年月日 */
.birthday input{
    width: 80px;
    margin: 0 3px;
}
/* 同意 */
.kojin .form-item{
    padding: 30px 0;
}
p.checkbox{
    font-size: 18px;
    font-weight: 800;
}
.privacy-policy {
    border: 1px solid #dddddd;
    background-color: #efefef;
    color: #333333;
    padding: 15px;
    margin-bottom: 5px;
    height: 100px;
    overflow-y: scroll;
}
.privacy-policy p{
    font-size: 10px;
}
/* ボタン */
input[type=submit]{
    width: 95%;
    height: 55px;
    background-color: #f76a00;
    border-bottom: 5px solid #d16000;
    border-radius: 5px;
    color: #ffffff;
    position: relative;
    font-size: 18px;
    font-weight: 800;
    margin: 0 auto;
}
/* 表示・非表示 */
.displayBox {
    display: none;
}
table{
    border: none;
}
/* ラジオボタン（グリッド） */
.grid-radio .wpcf7-radio{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
/* input */
input[name="your-licensenumber"],
input[name="your-tel-text"],
input[name="job-tel"]{
    width: 160px;
}
input[name="your-postcode"],
input[name="job-postcode"],
input[name="job-income"],
input[name="text-income"],
input[name="text-credit-payment"],
input[name="pension-income"]{
    width: 110px;
}
input[name="your-setai"],
input[name="your-residence-year"],
input[name="your-residence-month"],
input[name="job-year"],
input[name="job-month"]{
    width: 80px;
}
input[name="your-postcode"],
input[name="job-postcode"]{
    display: block;
}
.tx-bold{
    font-weight: 800;
}
.tx-red{
    font-weight: 800;
    color: #ff0000;
}
.tx-center{
    text-align: center;
}

/*  */
.examinationform-inner{
    padding-bottom: 50px;
}

/* 職業別フォーム */
.form1, .form2, .form3{
    display: none;
}

/* ボタンデザイン */
.modal-btn{
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: space-between;
}
.back{
    width: 95%;
    height: 55px;
    background-color: #cccccc;
    border-bottom: 5px solid #555;
    border-radius: 5px;
    color: #fff;    
    font-weight: bold;
    padding: 10px;
}
.back p{
    font-size: 18px;
    color: #fff;
}
.check{
    display: block;
    width: 350px;
    background-color: #f76a00;
    border-bottom: 5px solid #d16000;
    border-radius: 5px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    padding: 10px;
    margin: 15px auto;
}

/* モーダル */
.modalArea {
    display: none;
    position: fixed;
    z-index: 999; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.modalBg {
    width: 100%;
    height: 100%;
    background-color: rgba(30,30,30,0.9);
}
.modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform:translate(-50%,-50%);
    width: 90%;
    max-width: 500px;
    padding: 35px 25px 0;
    background-color: #fff;
    border-radius: 5px;
}
.modal h2{
    text-align: center;
}
.modal p{
    font-size: 14px;
    font-weight: bold;
    color: #000;
}
.modal-btn{
    width: 100%;
    text-align: center;
    font-weight: bold;
    margin-top: 15px;
}
.close {
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    line-height: 1;
}
.modal-item{
    display: grid;
    grid-template-columns: 1fr 2fr;
    background-color: #0075a6;
    margin: 10px 0;
}
.modal-item p{
    padding: 15px;
    color: #fff;
}
.modal-item .item1, .modal-item .item2{
    background-color: #dfebef;
    color: #000;
}

/* footer */
.global-footer-heading{
    position: unset!important;
}

/* 450px以下 */
@media (max-width: 450px) {
    .inner{
        padding: 0 15px;
    }
    .progressbar li:before{
        margin: 7px auto 10px auto;
    }
    .progressbar li{
        font-size: 14px;
    }
    .progressbar li.active,
    .progressbar li.complete{
        font-size: 15px;
    }
}

/* 749px以下 */
@media (max-width: 749px) {
    .mailform-title{
        font-size: 15px;
    }
    .input-line{
        display: block;
    }
    .input-line .label{
        width: 100%;
        display: block;
        padding: 10px 15px;
    }
    .input-line .form-item{
        padding: 15px;
    }
    .birthday input{
        width: 50px;
    }
    .grid-radio .wpcf7-radio{
        grid-template-columns: repeat(2, 1fr);
    }
    p.checkbox{
        font-size: 16px;
    }
    table tr th{
        width: 50%;
    }
    .dairi, .kojin{
        padding: 15px;
        border: 1px solid #aaaaaa;
    }
    input[name="your-setai"],
    input[name="your-residence-year"],
    input[name="your-residence-month"],
    input[name="job-year"],
    input[name="job-month"]{
        width: 50px;
    }
    /* ボタンデザイン */
    input[type=submit], .back p, .check p{
        font-size: 14px;
    }
    .check1, .check2, .check3{
        width: 350px;
    }
    /* モーダル */
    .modal{
        width: 95%;
        padding: 30px 15px 0 15px;
    }
    .modal-item{
        display: block;
    }
    .modal-item p{
        padding: 10px;
    }
}
@media screen and (max-width: 899px){
    .single-post{
        padding-top: 50px;
    }
}

