@charset "UTF-8";

/* ==========================================================================
   転サビ フォームページ共通
   ========================================================================== */

.tensabi-form-page {
	padding: 110px 20px 96px;
}

.tensabi-form-page__inner {

/* ==========================================================================
   転送アクセス数ポータル
   ========================================================================== */

.tai-portal {
	width: 100%;
	max-width: 900px !important;
	margin: 0 auto !important;
}

.tai-portal > h2:first-child {
	display: none;
}

.tai-portal label {
	color: #333;
	font-weight: 700;
}

.tai-portal input[type="email"] {
	box-sizing: border-box;
	display: block;
	width: 100% !important;
	max-width: 520px !important;
	margin-top: 10px;
	padding: 14px 16px;
	border: 1px solid #d8d2ca;
	border-radius: 6px;
	background: #fff;
	color: #333;
	font: inherit;
	line-height: 1.6;
}

.tai-portal input[type="email"]:focus {
	outline: none;
	border-color: #ff6633;
	box-shadow: 0 0 0 3px rgba(255, 102, 51, .12);
}

.tai-portal button {
	min-width: 240px;
	padding: 15px 28px;
	border: 0;
	border-radius: 999px;
	background: #ff6633;
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	transition: opacity .2s ease, transform .2s ease;
}

.tai-portal button:hover {
	opacity: .85;
}

.tai-portal button:active {
	transform: translateY(1px);
}

.tai-portal form > p {
	margin-top: 28px;
}

.tai-portal .tai-notice,
.tai-portal .tai-error {
	padding: 14px 16px;
	border-radius: 6px;
}

.tai-portal .tai-notice {
	border: 1px solid #b8d9bd;
	background: #f1faf3;
}

.tai-portal .tai-error {
	border: 1px solid #e2b7b7;
	background: #fff3f3;
}

@media (max-width: 767px) {
	.tai-portal button {
		width: 100%;
		min-width: 0;
	}
}

	width: 100%;
	max-width: 860px;
	margin: 0 auto;
}

.tensabi-form-page__header {
	margin-bottom: 42px;
	text-align: center;
}

.tensabi-form-page__title {
	margin: 0;
	color: #333;
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 700;
	line-height: 1.4;
}

.tensabi-form-page__content {
	color: #333;
	line-height: 1.9;
}

.url-check-note {
    margin-bottom: 48px;
}

/* ==========================================================================
   Contact Form 7
   ========================================================================== */

.tensabi-form {
	width: 100%;
	margin-top: 36px;
}

.tensabi-form-row {
	margin-bottom: 30px;
}

.tensabi-form-row label {
	display: block;
	margin-bottom: 10px;
	color: #333;
	font-weight: 700;
}

.tensabi-form .required,
.tensabi-form .optional {
	display: inline-block;
	margin-left: 8px;
	padding: 2px 7px;
	border-radius: 3px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	vertical-align: 1px;
}

.tensabi-form .required {
	background: #d9534f;
	color: #fff;
}

.tensabi-form .optional {
	background: #eee;
	color: #666;
}


/* ==========================================================================
   入力欄
   ========================================================================== */

.tensabi-form input[type="text"],
.tensabi-form input[type="email"],
.tensabi-form input[type="tel"],
.tensabi-form input[type="url"],
.tensabi-form select,
.tensabi-form textarea {
	box-sizing: border-box;
	width: 100%;
	padding: 14px 16px;
	border: 1px solid #d8d2ca;
	border-radius: 6px;
	background: #fff;
	color: #333;
	font: inherit;
	line-height: 1.6;
	transition:
		border-color .2s ease,
		box-shadow .2s ease;
}

.tensabi-form select {
	min-height: 52px;
}

.tensabi-form textarea {
	min-height: 220px;
	resize: vertical;
}

.tensabi-form input:focus,
.tensabi-form select:focus,
.tensabi-form textarea:focus {
	outline: none;
	border-color: #ff6633;
	box-shadow: 0 0 0 3px rgba(255, 102, 51, .12);
}


/* ==========================================================================
   プライバシーポリシー同意
   ========================================================================== */

.tensabi-form-privacy {
	margin: 36px 0;
	padding: 20px;
	border: 1px solid #e7dfd4;
	border-radius: 6px;
	background: #faf8f5;
}

.tensabi-form-privacy label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	font-weight: 400;
}

.tensabi-form-privacy input[type="checkbox"] {
	width: auto;
	margin-top: .4em;
}

.tensabi-form-privacy a {
	text-decoration: underline;
}


/* ==========================================================================
   送信ボタン
   ========================================================================== */

.tensabi-form-submit {
	margin-top: 36px;
	text-align: center;
}

.tensabi-form-submit input[type="submit"] {
	min-width: 280px;
	padding: 16px 32px;
	border: 0;
	border-radius: 999px;
	background: #ff6633;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition:
		opacity .2s ease,
		transform .2s ease;
}

.tensabi-form-submit input[type="submit"]:hover {
	opacity: .85;
}

.tensabi-form-submit input[type="submit"]:active {
	transform: translateY(1px);
}


/* ==========================================================================
   Contact Form 7 メッセージ
   ========================================================================== */

.tensabi-form .wpcf7-not-valid-tip {
	margin-top: 7px;
	font-size: 13px;
}

.tensabi-form .wpcf7-response-output {
	margin: 28px 0 0 !important;
	padding: 16px 18px !important;
	border-radius: 6px;
	line-height: 1.7;
}


/* ==========================================================================
   Cloudflare Turnstile
   ========================================================================== */

.tensabi-form .cf-turnstile {
	margin: 28px 0;
}


/* ==========================================================================
   スマートフォン
   ========================================================================== */

@media (max-width: 767px) {

	.tensabi-form-page {
		padding: 90px 18px 70px;
	}

	.tensabi-form-page__header {
		margin-bottom: 30px;
	}

	.tensabi-form-row {
		margin-bottom: 24px;
	}

	.tensabi-form-submit input[type="submit"] {
		width: 100%;
		min-width: 0;
	}

}


/* ==========================================================================
   Turnstile 説明
   ========================================================================== */

.tensabi-form-security-note {
	margin: 30px 0 12px;
	color: #666;
	font-size: 13px;
	line-height: 1.7;
	text-align: center;
}