/* ========================================
   拠点リーダーエントリーページ - デスクトップスタイル
   ======================================== */

/* Hero Section */
.leader-entry-hero {
	position: relative;
	background: var(--color-background);
	height: calc(470px * var(--scale-factor));
	overflow: hidden;
}

.leader-entry-hero__vector {
	position: absolute;
	bottom: 0;
	left: calc(-700px * var(--scale-factor));
	width: calc(1900px * var(--scale-factor));
	z-index: 0;
}

.leader-entry-hero__vector img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.leader-entry-hero__title-block {
	position: absolute;
	top: calc(103.5px * var(--scale-factor));
	left: 0;
	padding: 0 calc(120px * var(--scale-factor));
	z-index: 2;
}

.leader-entry-hero__title-block h1 {
	margin: 0;
	font-family: var(--font-family-bold);
	font-size: var(--font-size-h1);
	font-weight: var(--font-weight-bold);
	line-height: 1.5;
	color: var(--color-white);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	height: calc(250px * var(--scale-factor));
}

.leader-entry-hero__line {
	position: absolute;
	top: calc(394.5px * var(--scale-factor));
	left: 0;
	width: 100%;
	height: calc(2px * var(--scale-factor));
	z-index: 2;
}

.leader-entry-hero__line svg {
	width: 100%;
	height: 100%;
	display: block;
}

/* Form Section */
.leader-entry-form-section {
	background: #eeeeee;
	padding: calc(112px * var(--scale-factor)) calc(64px * var(--scale-factor));
	display: flex;
	justify-content: center;
}

.leader-entry-form-section .container {
	max-width: calc(1280px * var(--scale-factor));
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: calc(80px * var(--scale-factor));
}

.leader-entry-form-section__intro {
	max-width: calc(768px * var(--scale-factor));
	width: 100%;
	text-align: center;
}

.leader-entry-form-section__text {
	line-height: 1.5;
	margin: 0;
}

.leader-entry-form-section__form {
	width: var calc(800px * var(--scale-factor));
}

/* Contact Form 7 スタイル */
.leader-entry-form-section__form .wpcf7 {
	width: 100%;
}

.leader-entry-form-section__form .wpcf7-form {
	display: flex;
	flex-direction: column;
	gap: calc(24px * var(--scale-factor));
}

/* フォームフィールドラッパー */
.leader-entry-form-section__form .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}

.leader-entry-form-section__form .wpcf7-form label {
	display: flex;
	flex-direction: column;
	gap: calc(8px * var(--scale-factor));
	width: 100%;
	position: relative;
}

.leader-entry-form-section__form .wpcf7-form label::before {
	content: attr(data-label);
	line-height: 1.5;
	display: flex;
	align-items: center;
	gap: calc(20px * var(--scale-factor));
}

.leader-entry-form-section__form label:has([name="your-name"])::before {
	content: "お名前";
}

.leader-entry-form-section__form label:has([name="your-name"])::after {
	content: "必須";
	position: absolute;
	top: calc(4px * var(--scale-factor));
	left: calc(110px * var(--scale-factor));
	padding: calc(2px * var(--scale-factor)) calc(10px * var(--scale-factor));
	background: var(--color-primary);
	color: var(--color-white);
	font-family: var(--font-family-bold);
	font-size: var(--font-size-xs);
	font-weight: var(--font-weight-bold);
	line-height: 1.5;
	white-space: nowrap;
}

.leader-entry-form-section__form label:has([name="your-location"])::before {
	content: "お住まいの地域（市区町村まで）";
}

.leader-entry-form-section__form label:has([name="your-location"])::after {
	content: "必須";
	position: absolute;
	top: calc(4px * var(--scale-factor));
	left: calc(480px * var(--scale-factor));
	padding: calc(2px * var(--scale-factor)) calc(10px * var(--scale-factor));
	background: var(--color-primary);
	color: var(--color-white);
	font-family: var(--font-family-bold);
	font-size: var(--font-size-xs);
	font-weight: var(--font-weight-bold);
	line-height: 1.5;
	white-space: nowrap;
}

.leader-entry-form-section__form label:has([name="your-age"])::before {
	content: "ご年齢";
}

.leader-entry-form-section__form label:has([name="your-age"])::after {
	content: "必須";
	position: absolute;
	top: calc(4px * var(--scale-factor));
	left: calc(110px * var(--scale-factor));
	padding: calc(2px * var(--scale-factor)) calc(10px * var(--scale-factor));
	background: var(--color-primary);
	color: var(--color-white);
	font-family: var(--font-family-bold);
	font-size: var(--font-size-xs);
	font-weight: var(--font-weight-bold);
	line-height: 1.5;
	white-space: nowrap;
}

.leader-entry-form-section__form label:has([name="your-email"])::before {
	content: "メールアドレス";
}

.leader-entry-form-section__form label:has([name="your-email"])::after {
	content: "必須";
	position: absolute;
	top: calc(4px * var(--scale-factor));
	left: calc(230px * var(--scale-factor));
	padding: calc(2px * var(--scale-factor)) calc(10px * var(--scale-factor));
	background: var(--color-primary);
	color: var(--color-white);
	font-family: var(--font-family-bold);
	font-size: var(--font-size-xs);
	font-weight: var(--font-weight-bold);
	line-height: 1.5;
	white-space: nowrap;
}

.leader-entry-form-section__form label:has([name="your-tel"])::before {
	content: "電話番号";
}

.leader-entry-form-section__form label:has([name="your-tel"])::after {
	content: "任意";
	position: absolute;
	top: calc(4px * var(--scale-factor));
	left: calc(140px * var(--scale-factor));
	padding: calc(2px * var(--scale-factor)) calc(10px * var(--scale-factor));
	background: var(--color-gray);
	color: var(--color-white);
	font-family: var(--font-family-bold);
	font-size: var(--font-size-xs);
	font-weight: var(--font-weight-bold);
	line-height: 1.5;
	white-space: nowrap;
}

.leader-entry-form-section__form label:has([name="your-message"])::before {
	content: "事前のご連絡事項・ご質問";
}

.leader-entry-form-section__form label:has([name="your-message"])::after {
	content: "任意";
	position: absolute;
	top: calc(4px * var(--scale-factor));
	left: calc(400px * var(--scale-factor));
	padding: calc(2px * var(--scale-factor)) calc(10px * var(--scale-factor));
	background: var(--color-gray);
	color: var(--color-white);
	font-family: var(--font-family-bold);
	font-size: var(--font-size-xs);
	font-weight: var(--font-weight-bold);
	line-height: 1.5;
	white-space: nowrap;
}

.leader-entry-form-section__form input[type="text"],
.leader-entry-form-section__form input[type="email"],
.leader-entry-form-section__form input[type="tel"] {
	width: 100%;
	padding: calc(8px * var(--scale-factor)) calc(12px * var(--scale-factor));
	font-size: var(--font-size-base);
	color: var(--color-text);
	background-color: var(--color-white);
	border: calc(1px * var(--scale-factor)) solid rgba(9, 10, 11, 0.15);
	border-radius: calc(8px * var(--scale-factor));
	line-height: 1.5;
	box-sizing: border-box;
}

.leader-entry-form-section__form input[type="text"]:focus,
.leader-entry-form-section__form input[type="email"]:focus,
.leader-entry-form-section__form input[type="tel"]:focus,
.leader-entry-form-section__form textarea:focus {
	outline: none;
	border-color: #8a3eb9;
}

.leader-entry-form-section__form textarea {
	width: 100%;
	height: calc(180px * var(--scale-factor));
	padding: calc(12px * var(--scale-factor));
	font-size: var(--font-size-base);
	color: var(--color-text);
	background: var(--color-white);
	border: calc(1px * var(--scale-factor)) solid rgba(9, 10, 11, 0.15);
	border-radius: calc(8px * var(--scale-factor));
	line-height: 1.5;
	resize: vertical;
	box-sizing: border-box;
}

.leader-entry-form-section__form textarea::placeholder {
	color: rgba(9, 10, 11, 0.6);
}

.leader-entry-form-section__form .privacy-policy-link {
	font-size: var(--font-size-sm);
	color: var(--color-text);
	text-align: left;
	margin: 0;
}

.leader-entry-form-section__form .privacy-policy-link a {
	color: var(--color-text);
	text-decoration: underline;
}

.leader-entry-form-section__form .wpcf7-submit {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: calc(20px * var(--scale-factor)) calc(40px * var(--scale-factor));
	font-family: var(--font-family-bold);
	font-size: var(--font-sizr-b);
	font-weight: var(--font-weight-bold);
	color: var(--color-white);
	background: linear-gradient(90deg, #f2e882 0%, #ffbd2f 25.962%, #f07cd5 100%);
	border: calc(4px * var(--scale-factor)) solid #ffffff;
	border-radius: calc(10px * var(--scale-factor));
	cursor: pointer;
	transition: opacity 0.3s ease;
	line-height: 1.5;
	margin: calc(24px * var(--scale-factor)) auto 0;
	position: relative;
	width: calc(240px * var(--scale-factor));
}

.leader-entry-form-section__form .wpcf7-submit:hover {
	opacity: 0.8;
	box-shadow: 0 0 calc(24px * var(--scale-factor)) var(--color-gray);
}

.leader-entry-form-section__form .wpcf7-submit::after {
	content: "";
	display: inline-block;
	width: calc(42px * var(--scale-factor));
	height: calc(42px * var(--scale-factor));
	background-image: url('../images/svg/arrow_white.svg');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	position: absolute;
	right: calc(20px * var(--scale-factor));
	top: 50%;
	transform: translateY(-50%);
}

.leader-entry-form-section__form p:has(.wpcf7-submit) {
	margin: 0;
	margin-bottom: calc(-40px * var(--scale-factor));
}

.leader-entry-form-section__form .wpcf7-not-valid-tip {
	color: #dc3232;
	font-size: calc(14px * var(--scale-factor));
	margin-top: calc(4px * var(--scale-factor));
}

.leader-entry-form-section__form .wpcf7-response-output {
	border: calc(2px * var(--scale-factor)) solid;
	padding: calc(12px * var(--scale-factor));
	margin: calc(24px * var(--scale-factor)) 0 0;
	border-radius: calc(6px * var(--scale-factor));
}

.leader-entry-form-section__form .wpcf7-validation-errors {
	border-color: #dc3232;
	background: #ffebe8;
	color: #dc3232;
}

.leader-entry-form-section__form .wpcf7-mail-sent-ok {
	border-color: #46b450;
	background: #ecf7ed;
	color: #46b450;
}

.privacy-policy-link {
	font-family: var(--font-family-light);
	font-weight: var(--font-weight-light);
	font-size: var(--font-size-sm);
}