/********************基本設定***********************/

* {
	box-sizing: border-box;
	/*すべての要素に対してpaddingやborderをwidthに含める*/


  }

body {
	color: #333;
	background-color: #ffffff;
	font-size:20px;
	font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
}


main{
	width: 1040px;
	margin:0 auto;
	margin-top: 221px;
}

main p{
	margin-top:98.6px;
	text-align: center;
}


/********************見出し***********************/
h2 {
	font-size: 40px;
	text-align: center;
	position: relative;

}

h2::before {
	content: '';
	position: absolute;
	/*positionで左右中央寄せ*/
	left: 0;
	right: 0;
	margin: auto;
	bottom: -17px;
	/*線の上下位置*/
	width: 80px;
	/*線の長さ*/
	height: 2px;
	/*線の太さ*/
	background-color: #EA8080;
	/*線の色*/

}






/********************お問合せフォーム***********************/
.contact-form{
	margin-top:46.4px;
	font-size:16px;

}

table{
	margin:0 auto;
	width:800px;
	height:500px;
}

table,
td,
th {
	border-bottom: 1px solid;
	text-align: left;
	vertical-align:middle;
	/*テーブル内文字上下中央揃え*/

	padding-left:16px;
}

th{
	width: 272px;
	
	background-color: #F4F6F9;
	position:relative;
	
}

td{
	width: 528px;
}

/*各trの高さ設定*/
.text-box{
	height: 81px;
}

.text-area{
	height: 177px;
}





/*必須マーク*/
.required::after{
	content:"必須";
	width:48px;
	height:32px;
	color: #ffffff;
	background: #EA8080;
	position:absolute;

	/*セル内上下中央*/
	top: 0;
  	bottom: 0;
  	margin: auto;

	right:16px;

	/*文字配置*/
	text-align: center;
	line-height: 32px;	/*高さと行間を揃えることで上下中央に*/


}



/*入力エリア*/
input[name],select{
	width:512px;
	height:48px;
	padding: 15px 16px;
}

textarea{
	width:512px;
	height:144px;
	padding: 15px 16px;

	resize: none;
	/*右下のチョンチョン（伸縮ボタン）消す*/
}

select{
	appearance: none;/*元々ある矢印消す*/
	cursor: pointer;
}

.select-wrap{
	position:relative;
}

.select-wrap::after{
	content: "▼";
	position: absolute;
	width:14px;
	height:14px;
	pointer-events: none; /*矢印部分をクリックを可能にする*/
	padding: 15px 0;
	right:13px;
}



/*入力確認ボタン*/
.confirm-btn{
	width:320px;
	height:64px;
	border: 1px solid;
	background-color: #D6D9DF;
	opacity: 0.25;

	display: flex;
  	margin:0 auto;
	

	margin-top:47px;

	/*文字配置*/
	padding-left:32px;
	text-align: left;
}

.confirm-btn a{
	text-decoration: none;
	color: #333;
	position: relative;
	padding:24px 0;

}

.confirm-btn a::after{
	content:url(../images/arrow.svg);
  	position:absolute;
  	width: 10px;
	height: 18px;
	right:-62.5px;
}