/*********************************************************
共通
*********************************************************/
#contact {
    font-family: Avenir, 'Helvetica neue', Helvetica, '游ゴシック', YuGothic, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, 'ＭＳ Ｐゴシック', sans-serif;
}

/*--テーブル--*/
#contact table,
#contact tr,
#contact th,
#contact td {
    box-sizing: border-box;
}
#contact table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
#contact th {
    text-align: left;
    padding: 15px;
    font-weight: bold;
    font-size: 16px;
    border: 1px solid #ffc4b1;
    background-color:#feedf7;
    box-sizing: border-box;
}
#contact th span {
    background: #BC0003;
    border-radius: 3px;
    padding: 4px;
    font-weight: bold;
    font-size: 12px;
    color: #FFF;
    margin: 0 0 0 5px;
}
#contact td {
    padding: 15px;
    border: 1px solid #ffc4b1;
    background-color:#FFF;
    box-sizing: border-box;
}
#contact td input {
    width: 100%;
    box-sizing: border-box;
    height: 2em;
}
#contact td [type=radio],
#contact td [type=checkbox] {
    width: auto;
    box-sizing: border-box;
    height: auto;
}
#contact td textarea {
    width: 100%;
    box-sizing: border-box;
    height: 10em;
}
@media screen and (max-width: 768px){
    #contact table {
        width: 100%;
        border-collapse: collapse;
        font-size: 14px;
    }
    #contact th {
        display: block;
        text-align: center;
        padding: 3% 0 3% 1%;
        font-weight: normal;
    }
    #contact th span {
        background: #BC0003;
        border-radius: 3px;
        padding: 4px;
        font-weight: bold;
        font-size: 12px;
        color: #FFF;
        margin: 0 0 0 5px;
    }
    #contact td {
        display: block;
        padding: 3% 1%;
    }
    #contact td input {
        width: 100%;
        box-sizing: border-box;
        height: 45px;
    }
    #contact td textarea {
        width: 100%;
        box-sizing: border-box;
        height: 80px;
    }
}
/*--ボタン--*/
#contact .submit {
    width: 20%;
    margin: 3% auto;
}
#contact .answerbutton {
    background: #ffc4b1;
    border-radius: 5px;
    border: 1px #ffc4b1 solid;
    line-height: 50px;
    width: 100%;
    margin: 0 auto;
    color: #444;
    cursor: pointer;
    font-size: 18px;
    box-sizing: border-box;
}
#contact .returnbutton {
    background: #ffc4b1;
    border-radius: 5px;
    border: 1px #ffc4b1 solid;
    line-height: 50px;
    width: 100%;
    margin: 0 auto;
    color: #444;
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
    box-sizing: border-box;
}
#contact .answerbutton:hover {
    opacity: 0.8;
}
@media screen and (max-width: 768px){
    #contact .submit {
        width: 30%;
    }
}
@media screen and (max-width: 500px){
    #contact .submit {
        width: 40%;
    }
}