.wpcf7 .screen-reader-response {
	position: absolute;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	word-wrap: normal !important;
}

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

.wpcf7 form .wpcf7-response-output {
	margin: 2em 0.5em 1em;
	padding: 0.2em 1em;
	border: 2px solid #00a0d2; /* Blue */
}

.wpcf7 form.init .wpcf7-response-output,
.wpcf7 form.resetting .wpcf7-response-output,
.wpcf7 form.submitting .wpcf7-response-output {
	display: none;
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: #46b450; /* Green */
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
	border-color: #dc3232; /* Red */
}

.wpcf7 form.spam .wpcf7-response-output {
	border-color: #f56e28; /* Orange */
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
	border-color: #ffb900; /* Yellow */
}

.wpcf7-form-control-wrap {
	position: relative;
}

.wpcf7-not-valid-tip {
	color: #dc3232; /* Red */
	font-size: 1em;
	font-weight: normal;
	display: block;
}

.use-floating-validation-tip .wpcf7-not-valid-tip {
	position: relative;
	top: -2ex;
	left: 1em;
	z-index: 100;
	border: 1px solid #dc3232;
	background: #fff;
	padding: .2em .8em;
	width: 24em;
}

.wpcf7-list-item {
	display: inline-block;
	margin: 0 0 0 1em;
}

.wpcf7-list-item-label::before,
.wpcf7-list-item-label::after {
	content: " ";
}

.wpcf7-spinner {
	visibility: hidden;
	display: inline-block;
	background-color: #23282d; /* Dark Gray 800 */
	opacity: 0.75;
	width: 24px;
	height: 24px;
	border: none;
	border-radius: 100%;
	padding: 0;
	margin: 0 24px;
	position: relative;
}

form.submitting .wpcf7-spinner {
	visibility: visible;
}

.wpcf7-spinner::before {
	content: '';
	position: absolute;
	background-color: #fbfbfc; /* Light Gray 100 */
	top: 4px;
	left: 4px;
	width: 6px;
	height: 6px;
	border: none;
	border-radius: 100%;
	transform-origin: 8px 8px;
	animation-name: spin;
	animation-duration: 1000ms;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}

@media (prefers-reduced-motion: reduce) {
	.wpcf7-spinner::before {
		animation-name: blink;
		animation-duration: 2000ms;
	}
}

@keyframes spin {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

@keyframes blink {
	from {
		opacity: 0;
	}

	50% {
		opacity: 1;
	}

	to {
		opacity: 0;
	}
}

.wpcf7 [inert] {
	opacity: 0.5;
}

.wpcf7 input[type="file"] {
	cursor: pointer;
}

.wpcf7 input[type="file"]:disabled {
	cursor: default;
}

.wpcf7 .wpcf7-submit:disabled {
	cursor: not-allowed;
}

.wpcf7 input[type="url"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"] {
	direction: ltr;
}

.wpcf7-reflection > output {
	display: list-item;
	list-style: none;
}

.wpcf7-reflection > output[hidden] {
	display: none;
}

/* =================================================
   Contact Form 7 × LPtools
   最終・完全版レイアウトCSS
   ================================================= */

/* -------------------------
   フォーム全体（共通）
------------------------- */
.wpcf7 form.wpcf7-form{
  width: 100%;
  max-width: 90%;          /* SP・タブレット */
  margin: 0 auto;
  padding: 2em;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-sizing: border-box;
  background: #fff;
}

/* -------------------------
   PC時：画面基準で幅制御
------------------------- */
@media (min-width: 1024px){
  .wpcf7 form.wpcf7-form{
    width: 60vw;           /* 画面幅の60% */
    max-width: 820px;      /* 上限 */
    min-width: 640px;      /* 下限 */
  }
}

/* -------------------------
   各入力ブロック
------------------------- */
.wpcf7 form.wpcf7-form p{
  margin: 0 0 1.6em;
}

/* -------------------------
   ラベル
------------------------- */
.wpcf7 label{
  display: block;
  margin-bottom: 0.4em;
  font-weight: 500;
  line-height: 1.4;
}

/* -------------------------
   入力欄（枠内いっぱい）
------------------------- */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 select,
.wpcf7 textarea{
  width: 100%;
  box-sizing: border-box;
  padding: 0.7em 0.9em;
  font-size: 16px;         /* iOSズーム防止 */
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* テキストエリア */
.wpcf7 textarea{
  min-height: 180px;
  resize: vertical;
}

/* -------------------------
   プレースホルダ
------------------------- */
.wpcf7 ::placeholder{
  color: #aaa;
}

/* -------------------------
   必須マーク
------------------------- */
.wpcf7 .required{
  color: #d60000;
  margin-left: 0.2em;
}

/* -------------------------
   エラーメッセージ
------------------------- */
.wpcf7-not-valid-tip{
  color: #d60000;
  font-size: 0.85em;
  margin-top: 0.3em;
}

/* -------------------------
   送信ボタン
------------------------- */
.wpcf7 .wpcf7-submit{
  display: block;
  margin: 2.2em auto 0;
  padding: 0.8em 3em;
  font-size: 16px;
  border-radius: 999px;
  background: #333;
  color: #fff;
  border: none;
  cursor: pointer;
}

.wpcf7 .wpcf7-submit:hover{
  opacity: 0.85;
}

/* -------------------------
   送信後メッセージ
------------------------- */
.wpcf7-response-output{
  margin-top: 1.5em;
  padding: 1em;
  border-radius: 6px;
  font-size: 0.95em;
}

/* -------------------------
   LPtools（flex対策）
------------------------- */
.wp-block-cvtlpt-block-section .wpcf7{
  width: 100%;
}
