/* ページ全体 */
* {
    font-size :15px ;
    margin : 0 ;
    padding : 0 ;
}

/* body全体 */
body {
    font-family:"Meiryo";
    text-align : center ;
    font-size : 75% ;
}

/* メールフォーム全体を囲うidタグ */
#contents_wrapper {
    width : 720px ;
    margin : 0 auto 30px ;
    padding : 20px 15px 0 ;
    background : #ffffff;
    border-left : 1px solid #cccccc ;
    border-right : 1px solid #cccccc ;
    border-bottom : 1px solid #cccccc ;
}

/* 入力フォームを囲うclassタグ */
.setting_section {
    margin-bottom : 25px ;
}

/* ボタンを囲うclassタグ */
.button_box {
    clear : both ;
    padding : 8px ;
    text-align : center ;
}

/* 赤文字を表示するためのclassタグ */
.red_txt {
    color: #ff3333;
}

/* 左詰の文字を表示するためのclassタグ */
.left_txt {
    text-align : left;
}

/* 説明文を表示するためのidタグ */
#txt_explain {
    font-size:15px;
    color: #555555;
}

/* コンテンツ内の[p]タグ */
#contents p {
    margin-bottom : 1em ;
    text-align : left ;
}

/* コンテンツ内の[h3]タグ */
#contents h3 {
    border-left : 10px solid #DE5021;
    border-bottom : 1px solid #DE5021;
    color: #DE5021;
    padding : 5px 10px 5px 6px ;
    text-align : left ;
    font-size : 120% ;
    margin-bottom : 10px ;
}

/* コンテンツ内の内部タグ */
#contents .inner {
    padding : 0 15px ;
}

/* コンテンツ内のフォームに使用する[table]タグ */
#contents table {
    width : 690px ;
    border-collapse : collapse ;
    border-left : 1px solid #b3b3b3 ;
    border-top : 1px solid #b3b3b3 ;
    border-right : none ; 
    border-bottom : none ;
}

/* コンテンツ内のフォームに使用する[th]タグ */
#contents table th {
    font-family:Meiryo;
    font-size:15px;
    border-right : 1px solid #b3b3b3 ;
    border-bottom : 1px solid #b3b3b3 ;
    border-top : none ; 
    border-left : none ;
    background : #0065A9;
    color: #ffffff;
    padding : 3px 5px ;
    text-align: left;
    width: 120px;
}

/* コンテンツ内のフォームに使用する[td]タグ */
#contents table td {
    border-right : 1px solid #b3b3b3 ;
    border-bottom : 1px solid #b3b3b3 ;
    border-top : none ; 
    border-left : none ;
    padding : 3px 5px ;
    text-align : left ;
}

/* フォーム全体 */
#main_table * {
	font-family : sans-serif ;
}

/* フォーム内の入力欄 */
#main_table input {
    width : 380px ;
}

/* フォーム内の入力欄 */
#main_table textarea {
    width : 410px ;
}


/* タブレット表示用 */
@media screen and (max-width:641px){

    /* ページ全体 */
    * {
        font-size :13px ;
    }

    /* コンテンツ内の内部タグ */
    #contents .inner {
        padding : 0;
    }

    /* 説明文を表示するためのidタグ */
    #txt_explain {
        font-size:13px;
    }

    /* メールフォーム全体を囲うidタグ */
    #contents_wrapper {
        width : 500px ;
        margin : 0;
        padding : 0;
        border-left : none;
        border-right : none;
        border-bottom : none;
    }

    /* コンテンツ内のフォームに使用する[table]タグ */
    #contents table {
        width : 450px ;
    }

    /* コンテンツ内のフォームに使用する[th]タグ */
    #contents table th {
        font-size:13px;
        width: 100px;
    }

    /* フォーム内の入力欄 */
    #main_table input {
        width : 300px ;
    }

    /* フォーム内の入力欄 */
    #main_table textarea {
        width : 320px ;
    }

}


/* スマホ表示用 */
@media screen and (max-width:420px){

    /* ページ全体 */
    * {
        font-size :13px ;
    }

    /* コンテンツ内の内部タグ */
    #contents .inner {
        padding : 0;
    }

    /* 説明文を表示するためのidタグ */
    #txt_explain {
        font-size:13px;
    }

    /* メールフォーム全体を囲うidタグ */
    #contents_wrapper {
        width : 280px ;
        margin : 0;
        padding : 0;
        border-left : none;
        border-right : none;
        border-bottom : none;
    }


    /* コンテンツ内のフォームに使用する[table]タグ */
    #contents table {
        width : 260px ;
    }

    /* コンテンツ内のフォームに使用する[th]タグ */
    #contents table th {
        font-size:11px;
        width: 80px;
    }

    /* フォーム内の入力欄 */
    #main_table input {
        width : 200px ;
    }

    /* フォーム内の入力欄 */
    #main_table textarea {
        width : 180px ;
    }

}