/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Oct 29 2025 | 10:48:07 */
/* 下層ページ（お問い合わせ） */

/* お問い合わせページ */
@media (min-width: 600px) {
	.p-contact {
		padding-top: 0!important;
	}
}

.p-contact .wpcf7 br {
	display: none;
}

.p-contact .wpcf7-spinner {
	margin: 0;
	position: absolute;
}

.p-contact .wpcf7 {
	width: min(600px, 100%);
	margin: 0 auto;
}

.p-contact .wpcf7 span.required {
	color: #fff;
	font-size: .8em;
	font-weight: normal;
	padding: 4px 8px 4px 10px;
	margin-right: 10px;
	display: inline-block;
	margin-left: 10px;
	background-color: var(--color_main);
	border-radius: 5px;
	line-height: 1;
}
[lang="ja"] .p-contact .wpcf7 span.required {
	letter-spacing: .3em;
}

.p-contact .wpcf7 input[type="text"],
.p-contact .wpcf7 input[type="email"],
.p-contact .wpcf7 input[type="tel"],
.p-contact .wpcf7 textarea {
	width: 100%;
	padding: .6em;
	border: 3px solid #efefef;
	border-radius: 10px;
	margin-top: 5px;
	line-height: 1.6;
}

/* Contact Form 7 のチェックボックスをスマホで押しやすくする */
.p-contact .Select-Request-Type .wpcf7-list-item label {
  display: flex;              /* テキスト全体をクリック可能に */
  align-items: center;
  gap: 0.5em;                 /* ボタンと文字の間隔 */
  padding: 10px 14px;         /* タップしやすい余白 */
  border: 1px solid #ddd;     /* 枠を追加（任意） */
  border-radius: 6px;         /* 柔らかい角丸 */
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
	margin-top: 10px;
}

/* 選択状態の見た目（任意で強調） */
.p-contact .Select-Request-Type .wpcf7-list-item input[type="checkbox"]:checked + .wpcf7-list-item-label {
  border-color: #258ce8;
}

/* テキストを大きく */
.p-contact .Select-Request-Type .wpcf7-checkbox .wpcf7-list-item-label {
  font-size: 1rem;
  line-height: 1.4;
}

/* スマホで横並びが詰まりすぎる場合は縦並びに */
@media (max-width: 767px) {
  .p-contact .Select-Request-Type .wpcf7-checkbox .wpcf7-list-item {
    display: block;
    margin-bottom: 8px;
  }
}

.p-contact .wpcf7 textarea {
	resize: vertical;
	min-height: 200px;
	height: 200px;
}

.p-contact .wpcf7 ::placeholder {
	color: #bbb;
}

.p-contact .wpcf7 .fzSmall {
	font-size: .8em;
}

.p-contact .wpcf7 .Form-Item:not(:first-of-type) {
	margin-top: 20px;
}

.p-contact .wpcf7 .btnWrap p {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
}

/* チェックボックスを大きくする */
.p-contact .wpcf7-form input[type="checkbox"] {
  width: 22px;         /* デフォルトより大きく */
  height: 22px;
  accent-color: #258ce8; /* チェック時の色（対応ブラウザで） */
  cursor: pointer;
  margin-right: 4px;   /* テキストとの間隔 */
}
/* ラベル全体をタップ可能にする */
.p-contact .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 16px;
}
/* テキスト部分 */
.p-contact .wpcf7-list-item-label {
  line-height: 1.5;
}

.p-contact .wpcf7 input[type="button"],
.p-contact .wpcf7 input[type="submit"] {
	width: 300px;
	line-height: 60px;
	font-size: 18px;
	border: 1px solid #dadada;
	margin-top: 20px;
	margin-left: auto;
	margin-right: auto;
	transition: 0.3s ease all;
	display: grid;
	place-items: center;
	border-radius: 80px;
	background-color: var(--color_main);
	color: #fff;
}

.p-contact .wpcf7 input[type="submit"]:hover {
	color: var(--color_main);
	background-color: #fff;
}

.p-contact .wpcf7 input[type="button"] {
	color: var(--color_main);
	background-color: #fff;
}

.p-contact .wpcf7 input[type="button"]:hover {
	color: #fff;
	background-color: var(--color_main);
}

.p-contact .wpcf7 .wpcf7-form-control-wrap[data-name="acceptance-985"] {
	display: block;
	margin-top: 20px;
	text-align: center;
}

.p-contact .wpcf7 .btnWrap .error-message {
	display: none;
	text-align: center;
}