.wpcf7-form .repeater-field-header-acctions,
.wpcf7-form .repeater-field-header-title {
	display: none;
}
/* 全体を table 同等に */
.wpcf7-form .c_table {
	width: 100%;
	table-layout: fixed;
	border-collapse: separate;
    display: flow-root;
}
/* 行 */
.wpcf7-form .c_table .tr {
	display: flex;
    align-items: center;
	border-bottom: 1px solid #ddd;
	padding: 2.0rem 0;
}
.wpcf7-form .c_table .tr.repeat {
	border: none;
}
/* セル（見出し・データ共用） */
.wpcf7-form .c_table .nece,
.wpcf7-form .c_table .td {
	vertical-align: top;
}
/* 既存 table 用の枠線・背景などを流用したい場合はここに追記 */
.wpcf7-form .c_table .nece {
	position: relative;
	width: 25%;
	color: #DE4221;
	text-align: left;
	line-height: 1.8;
	font-weight: bold;
}
.wpcf7-form .c_table .nece p {
	width: calc(100% - 50px);
}
.wpcf7-form .c_table .td {
	line-height: 1.8;
	width: 75%;
}
.wpcf7-form .nece:after {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
}
.wpcf7-form .tr:not(:has(input[type="radio"],[aria-required="true"])) .nece::after {
    content: unset;
}
.wpcf7-form #mailformpro input[type="tel"] {
	width: 100%;
	padding: 10px;
	box-sizing: border-box;
}
.wpcf7-form .wpcf7-not-valid-tip {
	text-align: left;
	margin: 5px 0px 0px 0px;
	padding: 3px 0px 5px 17px;
	color: #F00;
	font-size: 12px !important;
	line-height: normal;
	background-image: url(../mailform/mfp.statics/images/mfp_error.gif);
	background-repeat: no-repeat;
	background-position: 0px 1px;
}
@media screen and (max-width: 767px) {
	.wpcf7-form .c_table .tr {
		padding: 0;
		display: block;
	}
	.wpcf7-form .c_table .nece {
		width: 100%;
		padding: 2.0rem 0;
	}
	.wpcf7-form .c_table .td {
		width: 100%;
		padding-bottom: 2.0rem;
	}
}
.wpcf7-form .cf7-repeater {
	padding: 0 !important;
}
.wpcf7-form .repeater-field-button-add {
	background-color: #DE4221 !important;
	border-color: #DE4221 !important;
}
.wpcf7-form .repeater-field-footer {
	text-align: center;
}

.repeater-field-footer .wpcf7-form-control-wrap{
    display: none;
}

.wpcf7-form .formChecklist {
	margin-top: 40px;
}
.wpcf7-form .formChecklist .nece:after {
	position: static;
}
.wpcf7-form .formChecklist dt {
	font-weight: bold;
	margin-bottom: 10px;
}

.wpcf7-form .formChecklist dd{
    margin-bottom: 10px;
    line-height: normal;
}

.wpcf7-form .formChecklist dd:last-of-type{
    margin-bottom: 0;
}
.wpcf7-form .wpcf7-list-item {
	margin-left: 0;
}
.wpcf7-form .c_table h3 {
	margin: 20px 0 20px 0;
}
.wpcf7-form .scrollAreaWrap {
	border: solid 1px #CCC;
	padding: 10px;
    margin-bottom: 10px;
	overflow-y: scroll;
    height: auto;
	max-height: 200px;
}
.wpcf7-form .scrollArea {
	padding: 10px;
	line-height: normal;
}
.wpcf7-form .scrollArea span {
	font-weight: bold;
	display: block;
}
.wpcf7-form .scrollArea p {
	margin-bottom: 10px;
}
.repeater-field-item {
	border-bottom: solid 1px #CCC;
	margin-bottom: 0 !important;
}

.wpcf7-form .wpcf7-form-control-wrap .wpcf7-not-valid-tip {
	display: none;
}
.wpcf7-form .wpcf7-form-control-wrap.is-show .wpcf7-not-valid-tip {
	display: block;
}

/* ===== モーダル共通 ===== */
.cf7-modal{
  position:fixed;
  inset:0;
  z-index:9999;
  background:rgba(0,0,0,.6);
  display:flex;
  align-items:center;          /* 垂直中央 */
  justify-content:center;      /* 左右中央 */
  padding:1rem;                /* スマホで左右余白確保 */
}
.cf7-modal__box{
  width:100%;
  max-width:640px;
  max-height:100%;
  overflow:auto;               /* 項目が多い時に縦スクロール */
  background:#fff;
  border-radius:8px;
  padding:24px;
  box-shadow:0 6px 16px rgba(0,0,0,.2);
}
.cf7-modal__ttl{margin:0 0 16px;font-size:16px;}
.cf7-modal__tbl{width:100%;border-collapse:collapse;font-size:.9rem}
.cf7-modal__tbl th,
.cf7-modal__tbl td{border:1px solid #ccc;padding:6px 8px}
.cf7-modal__tbl th{width:35%;text-align:left;background:#f5f5f5}
.cf7-modal__btns{text-align:center;margin-top:24px}
.cf7-modal__btns button{
  padding:12px 48px;margin:8px;border:none;color:#fff;
  background:#d53e24;border-radius:4px;cursor:pointer;
}
.cf7-modal__ng{background:#777}
@media (max-width:480px){
  .cf7-modal__box{padding:16px}
  .cf7-modal__btns button{width:100%;max-width:none}
}

.cf7-modal tr{
    line-height: normal;
    font-size: 14px;
}


