/*
contact_y 
*/

/******************************************************************************/
/* | ContactForm7カスタマイズ  2カラムのイメージ                              */
/******************************************************************************/
:root {
	--wpcf7-boder-color: #e5e5e5; /* 罫線の色 */
}
/* 全体的な幅設定 */
 .wpcf7 input[type="text"]
,.wpcf7 textarea
,.wpcf7 input[type="email"]
,.wpcf7 input[type="tel"]
/*,.wpcf7 select*/
{
	font-size: 1rem;
}

.wpcf7-text{
	height:30px /* 入力欄の高さ */
}
.wpcf7-file {
	font-size:1.2rem /* ファイル添付の枠の大きさ*/ 
}
.wpcf7-response-output{
	font-size:1.5rem /* 送信結果の表示 */
}

/* 罫線を1pxにする */
 .wpcf7 table
,.wpcf7 td
,.wpcf7 th {
    border-collapse: collapse;
    border:1px solid var(--wpcf7-boder-color);
}

table.CF7_table{
	width:100%;
	margin:0 auto;
	border: 3px solid var(--wpcf7-boder-color);
}

table.CF7_table tr{
	border-top: 1px solid var(--wpcf7-boder-color);
}

.single .entry-content table.CF7_table,
.page .entry-content table.CF7_table{
	display:table;
}

/*入力欄*/
.CF7_table input, .CF7_table textarea {
	border: 1px solid #d8d8d8;
}

.CF7_table ::placeholder {
	color:#797979;
}

.CF7_table th{
	text-align: left;
	font-size: 1em;
}


/*「必須」文字*/
.CF7_req{
	font-size:.75em;
	padding: 5px;
	color: red;
	margin-right:0.25em;
}

/*「任意」文字*/
.CF7_unreq{
	font-size:.75em;
	padding: 5px;
	color: gray;
	margin-right:0.25em;
}


/* タイトル列 */
@media screen and (min-width: 792px){
	.CF7_table th{
	width:30%;/*横幅*/
	background-color:#ebedf5;/*ブルーグレー*/
	}

	.CF7_table th{
		padding: 20px 5px 20px 5px;
	}

	.CF7_table td{
		padding: 20px 5px 20px 5px;
	}
}

@media screen and (max-width: 792px){
	table.CF7_table{
	box-sizing: border-box;
	width:95%;
	}
	.CF7_table tr, .CF7_table td, .CF7_table th{
	display: block;
	box-sizing: border-box;
	width: 100%;
	line-height:2.5em;
	}
	.CF7_table th{
	background-color:#ebedf5;
	}
}

/* 「送信する」ボタン */
.wpcf7 input.wpcf7-submit {
	background-color: transparent;
    border: none;
    color: inherit;
}

.CF7_btn{
	text-align:center;
	margin: 20px auto;
	display: block;
	width: 30%;
}

.wpcf7-spinner{
	width:0;
	margin:0;
}

/******************************************************************************/
/* | contact 7 幅変更                                                         */
/******************************************************************************/
/* 全体的な幅設定 */
.wpcf7 input[type="text"]
,.wpcf7 textarea
,.wpcf7 input[type="email"]
,.wpcf7 input[type="tel"]
/*,.wpcf7 select*/
{
	width: 95%;
}

/* 送信ボタン */
/*
 .wpcf7 input[type="submit"]
{
	width: 30%;
	color: white;
	background-color: #272343;
}
*/
/*******************
/* 送信ボタンの中央配置 */
/*******************
送信ボタンを次の様にコンタクトフォームに定義する
<div class="btn_send">
   [submit "送信"]
</div>
********************/
.btn_send {
	text-align: center;
}
.btn_send_max_size {
	max-width: 480px;
}
div.wpcf7 .wpcf7-spinner {
    display: none !important;
}



/******************************************************************************/
/* | 必須項目                                           */
/******************************************************************************/
/* 赤背景 ＆ 白字 */
.text_require {
	color: white;
	background-color:red;
	margin-left: 8px;
	padding-left: 8px;
	padding-right: 8px;
}

/******************************************************************************/
/* | テーブルの背景色と線をなくす                                               */
/******************************************************************************/
.CF7_table_color_none{
	background-color:transparent !important; /* 透明にする */
	border: none !important;/* 線をなしにする */
}
	.CF7_table_color_none tr{
		background-color:transparent !important; /* 透明にする */
		border: none !important;/* 線をなしにする */
	}
	.CF7_table_color_none th{
		background-color:transparent !important; /* 透明にする */
		border: none !important;/* 線をなしにする */
	}
	.CF7_table_color_none td{
		background-color:transparent !important; /* 透明にする */
		border: none !important;/* 線をなしにする */
	}