.addColor{

    background-color: red;
}


form div.container{

    display: flex;
    flex-direction: column;

}

form div.lf-header{

    order:1;

}

form div.message{

    color:#cc0000;
    font-weight: bold;

}

form div.wrapper{

    order: 2;

}

form div.privacy_policy {

    display: none;

}

form div.button_area{

    order: 4;

    margin-bottom: 50px;

}

form div.lf-footer{

    order: 3;

    max-height: 5.6em;
    width: 96%;
    padding-right: 15px;
    margin: 30px auto 10px auto;
    overflow: auto;
    font-size: 0.8em;
    line-height: 1.7;

}

/* 必須マーク */
span.required {
    float:initial;
    padding:1px 4px;
    margin:4px;
    font-size:80%;
    color:white;
    background:#f2859d;
    border-radius:2px;
    vertical-align:middle;
}
span.required:after {
    /* ここを編集することで表示されるマークを変更できます */
    content:"必須";
}

tr#item_22 td{

    content:"必須";

}

/* Agent注釈 */
span.required {
    float:initial;
    padding:1px 4px;
    margin:4px;
    font-size:80%;
    color:white;
    background:#f2859d;
    border-radius:2px;
    vertical-align:middle;
}
span.required:after {
    /* ここを編集することで表示されるマークを変更できます */
    content:"必須";
}





/* フォームテーブルデザイン */
table.items {
    margin: 0 auto 0 auto;
    background-color: transparent;
    width: 98%;
    box-sizing: border-box;

}

table.items td{

    width: 100%;
    display: block;

}

table.items td.label{

    color:#004bb1 !important;
    font-weight: bold;
    font-size: 100%;
    white-space: nowrap;
    text-align: left;
    padding: 1.4em 0 8px 0;

}

table.items td.value{

    position: relative;
    padding-bottom: 4px;
    background-color: transparent;

    

}

table.items td.comment{

    padding:16px;
    vertical-align: middle;
    font-size: 0.9em;
    background-color: #dedede;
    border-radius: 6px;

}

table.items td.comment:empty {
  display: none;
}


/* フォームデザイン */
tr.item input[type="text"]{

    font-size: 120%;
    width: 100% !important;
    padding: 8px 16px;
    box-sizing: border-box;
    border: 1px solid #555555;    
    border-radius: 6px;
    outline: 0;
}

tr.item input[type="text"]:focus{

    border-color: #66afe9;
    outline: 0;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 8px rgb(102 175 233 / 60%);
    
}

/* フォームデザイン 氏名 */
tr.item input[name*="person_name_"]{

    font-size: 120%;
    width: 40% !important;
    margin-left: 1em;

}

tr.item span.label_name {
    display:inline-block;
    box-sizing: border-box;
    width:6%;
    margin: 0px !important;
    font-size:90%;
    font-weight:bold;
    color:#222222;
    text-align: right;
    }



tr.item select{

    font-size: 120%;
    width: 100% !important;
    padding: 8px 16px;
    outline: 0;
    border: 1px solid #555555;    
    border-radius: 6px;

}

tr.item select:focus{

    border-color: #66afe9;
    outline: 0;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 8px rgb(102 175 233 / 60%);

}

tr.item textarea{

    font-size: 120%;
    width: 100% !important;
    padding: 8px 16px;
    outline: 0;
    border: 1px solid #555555;    
    border-radius: 6px;

}

tr.item textarea:focus {

    border-color: #66afe9;
    outline: 0;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 8px rgb(102 175 233 / 60%);

}

tr.item input[type="checkbox"],input[type="radio"]{
    left: 0;
    width: 26px;
    height: 26px;
    background-color: transparent;
    border: 1px solid #737f88;
    border-radius: 4px;
    margin: 0 8px 10px 0;
    position: relative;
    top:2px;
}

div.button_area{

    text-align: center;

}

div.button_area input{

    margin: 30px auto 20px auto;
    color: #f90;
    background-color: transparent;
    border:1px solid #f90;
    min-width: 160px;
    padding: 16px;
    font-size: 110%;
    line-height: 1.1;
    outline: 0;

}


div.button_area input:hover{

    color: #fff;
    background-color: red;
    border-color: red;
    cursor:pointer;
}



input[type="button"]{

    margin: 20px auto;
    text-align: center;
    

}



@media screen and ( max-width:560px ) {



    table.items {

        min-width: 300px;
        margin-top: 10px;
        width: 100%;

    }

    table.items td{


    }

    table.items td.label{

        font-size: 100%;
        white-space: nowrap;
        text-align: left;
    
    }
    
    table.items td.value{
    
    
    
    }

    /* フォームデザイン 氏名 */
    tr.item input[name*="person_name_"]{

        font-size: 120%;
        width: 40% !important;
        margin-left: 1em;

    }

    tr.item span.label_name {
        display:inline-block;
        box-sizing: border-box;
        width: 3%;
        margin: 0px !important;
        font-size:90%;
        font-weight:bold;
        color:#222222;
        text-align: right;
    }

    tr.item input[type="checkbox"],input[type="radio"]{
     
        width: 20px;
        height: 20px;
        top:4px;
    }


}


