/* メールフォーム全体を囲うidタグ */
#contents_wrapper {
    max-width : 600px;
    width: 90%; 
    margin : 0px auto ;
    font-size : 89% ;
}

/* 入力フォームを囲うclassタグ */
.setting_section {
    margin-bottom : 25px ;
}

/*ボタンBOX*/
.button_box {
    margin-top: 1em;
}
.button_box a {
    display: block;
    text-decoration: none;
    color: blue;
    text-align: center;
}
.button_box input {
    display: block;
    font-weight: bold;
    font-size: 131%;
    width: 160px;
    padding: 0.5em 1em;
    margin-left: 0.5em; /*ボタンとボタンの隙間*/
    background: #1F35A2; /*ボタンの色*/
    color: #fff;
    border-radius: 5px;
    margin: 0 auto;
}
.button_box input:nth-child(2) {
   margin-top: 30px;
    background: #CCC; /*ボタンの色*/
}
/* 赤文字を表示するためのclassタグ */
tr span .red{
    color: #ff3333;
}
.red_txt, .red {
    color: #ff3333;
}

/* 左詰の文字を表示するためのclassタグ */
/*.left_txt {
    text-align : left;
}*/

/* 説明文を表示するためのidタグ */
#txt_explain {
    color: #000000;
    margin: 30px auto;
    text-align: center;
}

/* コンテンツ内の[p]タグ */
#contents p {
    margin-bottom : 1em ;
    padding: 30px auto;
   /* text-align : left ;*/
}
/* コンテンツ内のフォームに使用する[table]タグ */
#contents table {
    max-width : 600px ;
    width: 100%;
    margin: 0px auto;
}

/* コンテンツ内のフォームに使用する[th]タグ */
#contents table th {
    width: 10em;
    padding : 0.5em ;
}

/* コンテンツ内のフォームに使用する[td]タグ */
#contents table td {
    width : 60%;
    padding : 3px 5px ;
    text-align : left ;
}

/* フォーム全体 */

#main_table textarea, #main_table input,#main_table select {
border: 1px #c0c0c0 solid;
}

/* フォーム内の入力欄 */
#main_table input {
    max-width : 280px ;
    width: 100%;
}

/* フォーム内の入力欄 */
#main_table textarea {
    max-width : 410px ;
    width: 100%;
}
/*確認フォーム部分*/
#nav_title {
	background: #ccc;
	margin-top: 85px;
}
#nav_title h1 {
	text-align: center;
	padding: 60px 0px;
	font-size: 170%;
	width: 100%;
	animation: fadeIn 1.0s ease 0s 1 normal;
	-webkit-animation: fadeIn 1.0s ease 0s 1 normal;
}
.sm {
      font-size: 12px;
}

.inner p {
       margin: 1rem;
}
@keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}

@-webkit-keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}
@media screen and (max-width: 767px) {
#nav_title h1 {
    padding: 30px 0px;
    font-size: 131%;
    width: 100%;
}
#nav_title {
    margin-top: 60px;
}
.header_contact {
    margin-right: 25px;
}
}
@media screen and (max-width:525px) {
 #contents table th {
    font-size: 80%;
}

}