@charset "utf-8";
/* CSS Document */

a:where(:not(.wp-element-button)) {
    text-decoration: none !important;
	font-weight: 400;
	font-family: "Noto Sans JP", sans-serif;
}


/******************************/
/** コンタクトフォームの装飾 **/
/******************************/

/*ContactForm7カスタマイズ*/

.cf7_entry_wrap {
	width: 90%;
	margin:0 auto;
}
table.CF7_table{
	width:100%;
	border: 1px solid #ddd;
	margin-bottom: 20px;
	border-collapse: collapse;
}
table.CF7_table p{
	margin: 0;
}
table.CF7_table tr{
	border-top: 1px solid #ddd;
}
table.CF7_table th {
	text-align: left;
	background-color: #f7f7f7;
	border-bottom: 1px solid #ddd;
	border-right: 1px solid #ddd;
	font-weight: normal;
}
table.CF7_table td {
	border-bottom: 1px solid #ddd;
}
table.CF7_table th,
table.CF7_table td {
	padding: 10px;
}
.single .entry-content table.CF7_table,
.page .entry-content table.CF7_table{
	display:table;
}

/*入力欄*/
.CF7_table input, .CF7_table textarea {
	border: 1px solid #ddd;
	padding: 10px;
	width: 98%;
	margin-top: 5px;
	margin-right: 5px;
	margin-bottom: 5px;
	margin-left: 5px;
	font-size: 1em;
}
.CF7_table input.namearea {
	width: 48%;
}
.CF7_table ::placeholder {
	color:#797979;
}
.wpcf7-list-item {
	display: block !important;
}
.wpcf7-list-item label {
	display: block !important;
}
input[type="radio"]{
  width: 1.2em;
	height: 1.2em;
}
input[type="checkbox"]{
  width: 1.2em;
	height: 1.2em;

}
span:has(input[type="checkbox"]) {
 	padding: 10px 0;
}

/*「必須」文字*/
.CF7_req{
	font-size: .7em;
	padding: 1px 5px;
	background-color: #DC0000;
	color: #fff;
	border-radius: 3px;
	margin-left: 1em;
}

/*「任意」文字*/
.CF7_unreq{
	font-size:.9em;
	padding: 5px;
	background: #bdbdbd;/*グレー*/
	color: #fff;
	border-radius: 3px;
	margin-right:1em;
}

/*ボタン*/
.confirm_button {
    background-color: #ccc; /* グレー（無効状態） */
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.6;
	border: 0;
	  color: #fff;
  font-size: 1.2em;
  font-weight: bold;
  margin: 0 auto;
  padding: 10px 20px;
}

.confirm_button:enabled {
	background-color: #53B7C5; /* 青（有効状態） */
	cursor: pointer;
	pointer-events: auto;
	opacity: 1;
	border: 0;
	  color: #fff;
  font-size: 1.2em;
  font-weight: bold;
  margin: 0 auto;
  padding: 10px 20px;
}


.wpcf7 input.wpcf7-submit {
  background-color: #DC0000;
  border: 0;
  color: #fff;
  font-size: 1.2em;
  font-weight: bold;
  margin: 0 20px;
  padding: 10px 30px;
	cursor: pointer;
	display: inline-block;
}
.back_button {
	background-color: #C7C7C7;
	border: 0;
	color: #6C6C6C;
	font-size: 1.2em;
	margin: 0 20px;
	padding: 10px 20px;
	cursor: pointer;
	display: inline-block;
}


/* タイトル列 */
@media screen and (min-width: 768px){
	.CF7_table th{
	width:30%;/*横幅*/
	}
}


/* レスポンシブ */

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

/* 「送信する」ボタン */
.wpcf7 input.wpcf7-submit {
	background-color:#DC0000;
	border:0;
	color:#fff;
	font-size:1.2em;
	font-weight:bold;
	margin:0 auto;
	padding: 10px 20px;
}

.CF7_btn{
	text-align:center;
	margin-top:20px;
}

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