@charset "utf-8";

/* ==================================================================
    contact.css

=================================================================== */

/* --------------------------------
   □ general
-------------------------------- */ 
.contents{
        padding-bottom: 0;
}

.contents main .accentArea{
    background-image:url("../../images/contact/accent.jpg");
}

.contents .message{
    border:0;
    margin-bottom:34px;
}

.contents .message span.em{
    color:#F00;
}

.contents p.error{
    display:block;
    background:#F00;
    color:#fff;
    padding:8px;
    margin:8px 0;
    font-size:84%;
}


/* ==================================================================
    contact
=================================================================== */
.contents main .leadtext{
    text-align: center;
    margin-bottom: 58px;
}

#formBox{
    padding: 67px 0;
    background: #F3F3F3;
}

#formBox dl.note{
    margin-bottom: 42px;
    padding: 40px;
    text-align: center;
    background: #fff;
}
#formBox dl.note dt{
    font-weight: 600;
    margin-bottom: 11px;
}

/* --------------------------------
   □ .tableStyle
-------------------------------- */ 
form table.tableStyle{
    border:0;
    width:100%;
    margin-bottom: 47px;
}

form table.tableStyle th,
form table.tableStyle td{
    border:0;
    padding:15px 0;
}

    form table.tableStyle tr.middle th,
    form table.tableStyle tr.middle td{
        vertical-align: middle;
    }

    form table.tableStyle tr.titleWarp th,
    form table.tableStyle tr.titleWarp td{
        padding-bottom: 45px;
        border-bottom: 1px solid #bfc4c7;
    }


    form table.tableStyle tr.nameWarp th,
    form table.tableStyle tr.nameWarp td{
        padding-top: 42px;
    }

    form table.tableStyle th{
        width:30%;
        padding-top:28px;
        padding-right:20px;
        vertical-align:top;
    }

    form table.tableStyle th span.req{
        position: relative;
        display:inline-block;
        line-height:1.1;
        padding:4px 10px;
        margin-left:8px;
        font-size:75%;
        font-weight:400;
        color:#fff;
        background:#d34848;
        float:right;
    }

    form table.tableStyle tr.middle th span.req{
        vertical-align: middle;
    }

    form table.tableStyle tr.nameWarp th span.req{
        top: 8px;
    }

    form table.tableStyle td input.short{
        box-sizing:border-box;
        width:39%;
    }	

    form table.tableStyle td input.middle{
        box-sizing:border-box;
        width:80%;
    }	
    form table.tableStyle td .select-wrap{
        width:80%;
    }	
    form table.tableStyle td input.long{
        box-sizing:border-box;
        width:99%;
    }

    form table.tableStyle td textarea{
        box-sizing:border-box;
        width:99%;
    }
    form table.tableStyle td ul.list,
    form table.tableStyle td ul.inline{
        overflow:hidden;
        clear:both;
        padding-top:10px;
    }
    form table.tableStyle td ul.inline.first{
        padding-bottom:1em;
    }

    form table.tableStyle td ul.inline li{
        display:inline-block;
        margin-right:25px;
        float:left;
        white-space:nowrap;
    }

    form table.tableStyle td .sample{
        display:block;
    }
    form table.tableStyle .inTable{
        width:100%;
        margin-top:-17px;
    }

    form table.tableStyle .inTable th{
        padding-right:30px;
    }

    form table.tableStyle tr.titleWarp td .titleList{
        padding: 20px 32px;
        background: #fff;
        border: #bfc4c7 1px solid;
    }
    form table.tableStyle tr.titleWarp td .titleList li{
        margin-bottom: 12px;
    }
    form table.tableStyle tr.titleWarp td .titleList li input[type="checkbox"]{
        margin-right: 8px;
    }
    form table.tableStyle tr.titleWarp td .titleList li:last-child{
        margin-bottom: 0;
    }

    form table.tableStyle td p.buttonStyle{
        display: inline-block;
    }
    form table.tableStyle td p.buttonStyle a{
        padding: 17px 2px;
        font-size: 87%;
        width: 180px;
        vertical-align: middle;
        margin-top: -5px;
    }

    form table.tableStyle td input + p.buttonStyle{
        margin-left: 8px;
        margin-top: -4px;
    }

ul.submitArea{
    text-align:center;
}

ul.submitArea li{
    display:inline-block;
    margin:0 8px;
    width:40%;
}

ul.submitArea li.buttonStyle button,
ul.submitArea li.buttonStyle a{
    width:100%;
    font-size:115%;
}

.complete h3{
    margin-bottom:24px;
}
.complete p.text{
    margin-bottom:24px;
}


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

.contents .message{
    margin-bottom:3%;
}

/* ==================================================================
    contact
=================================================================== */
.contents main .leadtext{
    margin-bottom: 6%;
}

#formBox{
    padding: 8% 0;
}

#formBox dl.note{
    margin-bottom: 8%;
    padding: 4%;
    font-size: 87%;
}
#formBox dl.note dt{
    margin-bottom: 11px;
}

/* --------------------------------
   □ .tableStyle
-------------------------------- */ 

form table.tableStyle th,
form table.tableStyle td{
    display:block;
    border:0;
    padding:8px 0;
}

form table.tableStyle th{
    padding-bottom:2%;
    width:auto;
}

    form table.tableStyle th span.em{
        float:none;
    }
    form table.tableStyle td input.short{
        width:60%;
    }	

    form table.tableStyle td input.middle{
        width:99%;
    }	

form table.tableStyle tr.titleWarp th{
    width:auto;
    padding:8px 0 2% 0;
    border: 0;
}
form table.tableStyle tr.titleWarp td{
    padding-bottom: 45px;
}

form table.tableStyle tr.nameWarp th{
    width:auto;
}
form table.tableStyle tr.nameWarp td{
    padding-top: 8px;
}

    form table.tableStyle tr.titleWarp td .titleList{
        padding: 4%;
    }

    form table.tableStyle td p.buttonStyle{
        max-width: 36%;
    }

    form table.tableStyle td p.buttonStyle a{
        padding: 11px 10px;
        font-size: 87%;
        max-width: 100%;
    }


ul.submitArea{
}

ul.submitArea li{
    display:inline-block;
    margin:0 8px;
    width:40%;
}

ul.submitArea li.buttonStyle button,
ul.submitArea li.buttonStyle a{
    width:100%;
    font-size:84%;
    padding: 10px;
    line-height: 1.1;
}

.checktext{
    margin-bottom:3%;
    padding-top:3%;
}

.complete h3{
    margin-bottom:3%;
}
.complete p.text{
    margin-bottom:3%;
}

}
