/* ページ全体 */
* {
    font-size : 100% ;
    margin : 0 ;
    padding : 0 ;
}

/* body全体 */
body {
    font-family:"ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3";
    text-align : center ;
    font-size : 75% ;
}

/* メールフォーム全体を囲うidタグ */
#contents_wrapper {
    width : 720px ;
    margin : 0 auto 30px ;
    padding : 20px 15px 0 ;
    background : #f5deb4;
    border-left : 1px solid #b3b3b3 ;
    border-right : 1px solid #b3b3b3 ;
    border-bottom : 1px solid #b3b3b3 ;
}

/* 入力フォームを囲う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 {
    color: #000000;
}

/* コンテンツ内の[p]タグ */
#contents p {
    margin-bottom : 1em ;
    text-align : left ;
}

/* コンテンツ内の[h3]タグ */
#contents h3 {
    border-left : 10px solid #ff6600;
    border-bottom : 1px solid #ff6600;
    color: #ff6600;
    padding : 5px 10px 5px 6px ;
    text-align : left ;
    font-size : 170% ;
    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 {
    border-right : 1px solid #b3b3b3 ;
    border-bottom : 1px solid #b3b3b3 ;
    border-top : none ; 
    border-left : none ;
    background : #1540bd;
    color: #ffffff;
    padding : 3px 5px ;
}

/* コンテンツ内のフォームに使用する[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 ;
}


/***********************
 追記レスポンシブ対応に
************************/
/*コンテンツ部分*/
#contents_wrapper {
    max-width: 85%;
}
/*テーブルの幅変更とセンタリング*/
#contents table {
    width: 95%;
    margin: 0 auto;
}
/*テーブルの右側thの幅指定*/
#contents table th {
    width: 32%;
    padding: 0.5em;
}
/*テーブルのtdの幅指定*/
#contents table td {
    width: 85%;
}
/*入力部分の幅を広げ、縦のみ可動させる*/
#main_table td input,
#main_table td textarea {
    width: 100%;
    resize: vertical; /*テキストエリア縦のみ変更*/
    border: none; /*ボーダーを消す*/
}


/************
　見栄え変更
*************/
/*フォントサイズ*/
body {
    font-size : 75% ;
}
/*段落を見やすく高さを出す*/
p {
    line-height: 1.7;
}
/*ボタンBOX*/
.button_box {
    margin-top: 1em;
}
.button_box input {
    padding: 0.5em 1em;
    border-radius: 3px;
    margin-left: 0.5em; /*ボタンとボタンの隙間*/
    background: #5e8fff; /*ボタンの色*/
}