@charset "utf-8";

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}
:root {
  --base-color: #ffffff;
  --accent-color: #BEB6C4;
  --sub1-color: #D8E0CA;
  --sub2-color: #444;
  --sub3-color: #a8ae9d;
}
body {
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.9rem;
  line-height: 1.5;
  color: var(--sub2-color);
}

.hidden-fields-container{
  display: none;
}

section{
	width:80%;
  max-width: 700px;
	margin:0 auto;
}

h2{
  margin: 40px auto;
  font-size: 2.4rem;
  color: var(--sub2-color);
  text-align: center;
}
.form_p{
  margin: 30px 8%;
  font-size: 1.6rem;
  color: var(--sub2-color);
  span{
    color: #b13914;
  }
}

/*ContactForm7カスタマイズ*/
table.CF7_table{
	margin:0 auto;
	border: 1px solid #969696;
}

table.CF7_table tr{
	border-top: 1px solid #969696;
}

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

/*入力欄*/
.wpcf7-f20-p7-o1{
  display: flex;
  justify-content: center;
}
.CF7_table input, .CF7_table textarea {
	border: 1px solid #a3a3a3;
}

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

/*「必須」文字*/
.CF7_req{
	padding: 0 6px 2px;
	background: #c76446;
  font-size: 1.2rem;
	color: #fff;
	border-radius: 3px;
}

/* タイトル列 */
@media screen and (min-width: 768px){
	.CF7_table th{
	width:30%;/*横幅*/
	background-color:#e6e2e9;
	}
  .CF7_table th p{
    padding-left: 10px;
    text-align: left;
    font-size: 1.6rem;
    color: var(--sub2-color);
  }
  .CF7_table td{
    margin: 0;
  }
}

/* レスポンシブ */
@media screen and (max-width: 768px){
	table.CF7_table{
	width:95%;
	}
	.CF7_table tr, .CF7_table td, .CF7_table th{
	display: block;
	width: 100%;
	line-height:2.5em;
	}
	.CF7_table th{
	background-color:#dfdfdf;
	}
}

/* 「送信する」ボタン */
.wpcf7 input.wpcf7-submit {
	background-color:var(--accent-color);
  font-family: "Zen Old Mincho", serif;
  font-size: 2rem;
  font-weight: bold;
  color: var(--sub2-color);
	border:0;
  border-radius: 3px;
	margin:0 auto;
  padding: 15px 40px;
}

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

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