/* ==========================================================================
   YFC 会社概要 / お問い合わせ 専用CSS（page-company.php / page-contact.php）V15.0.2
   yfc-front.css（Design Tokens・Header/Footer・.yfc-container・.yfc-btn 等）に依存。
   is_page( array( 'company', 'contact' ) ) のときだけenqueueされ、他ページには影響しない。
   すべてのセレクタは .yfc-sp 配下に限定している（Contact Form 7の出力も .yfc-sp-form 配下のみ）。
   構成:
     1. 共通パーツ
     2. Hero（CSS / SVG fallback）
     3. Company：About / Profile / Message
     4. Contact：Routes / Phone / Form layout / Notice
     5. Contact Form 7（plugin本体は変更せず、出力markupの見た目だけ調整）
     6. Final（Access / CTA）
     7. Responsive（1023px / 767px）
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 共通パーツ
   -------------------------------------------------------------------------- */
.yfc-sp {
	--yfc-sp-radius: 16px;
	--yfc-sp-green-tint: #E7F1E9;
	--yfc-sp-yellow-tint: #FBF5D6;
	--yfc-sp-shadow: 0 10px 28px rgba(14, 39, 33, 0.08);
	--yfc-sp-error: #B3261E;

	background: var(--yfc-white);
	overflow-x: clip;
	word-break: auto-phrase;
}

.yfc-sp [id] {
	scroll-margin-top: calc(var(--yfc-header-h) + 16px);
}

/* テーマの見出し色より優先して、本ページ内の見出し色を明示する */
.yfc-sp h1,
.yfc-sp h2,
.yfc-sp h3 {
	color: var(--yfc-green-deep);
}

/* `.yfc-main a { color: inherit }` より優先して、ボタン文字色をページスコープで明示する */
.yfc-sp .yfc-btn {
	line-height: 1.35;
	text-align: center;
}
.yfc-sp .yfc-btn--yellow {
	color: var(--yfc-green-deep);
}
.yfc-sp .yfc-btn--green {
	color: var(--yfc-white);
}
.yfc-sp .yfc-btn--outline {
	color: var(--yfc-green-deep);
}
.yfc-sp .yfc-sp-final__ctas .yfc-btn--outline {
	color: var(--yfc-white);
	border-color: rgba(255, 255, 255, 0.75);
}
.yfc-sp .yfc-sp-final__ctas .yfc-btn--outline:hover {
	background: rgba(255, 255, 255, 0.12);
}
.yfc-sp a:focus-visible {
	outline: 3px solid var(--yfc-yellow);
	outline-offset: 2px;
}

.yfc-sp .yfc-sp-section {
	padding-block: calc(var(--yfc-section-pad) + 24px);
}
.yfc-sp .yfc-sp-section--tight {
	padding-block: calc(var(--yfc-section-pad) + 4px);
}
.yfc-sp .yfc-sp-section--tint {
	background: var(--yfc-offwhite);
}

.yfc-sp .yfc-sp-head {
	margin-bottom: 32px;
}
.yfc-sp .yfc-sp-head--center {
	text-align: center;
}

.yfc-sp .yfc-sp-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 8px;
	font-family: var(--yfc-font-en);
	font-weight: 800;
	font-size: 14px;
	line-height: 1.3;
	letter-spacing: 0.14em;
	color: var(--yfc-green);
}
.yfc-sp .yfc-sp-eyebrow::before {
	content: "";
	flex-shrink: 0;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--yfc-yellow);
	box-shadow: 14px 0 0 var(--yfc-green-light);
	margin-right: 14px;
}
.yfc-sp .yfc-sp-eyebrow--onDark {
	color: var(--yfc-yellow);
}
.yfc-sp .yfc-sp-eyebrow--onDark::before {
	box-shadow: 14px 0 0 rgba(255, 255, 255, 0.6);
}

.yfc-sp .yfc-sp-title {
	margin: 0;
	font-size: clamp(24px, 2.6vw, 34px);
	font-weight: 900;
	line-height: 1.4;
	color: var(--yfc-green-deep);
}

.yfc-sp .yfc-sp-lead {
	margin: 12px 0 0;
	font-size: 15px;
	line-height: 1.85;
	color: var(--yfc-gray-600);
}

.yfc-sp .yfc-sp-text-link {
	color: var(--yfc-green-dark);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.yfc-sp .yfc-sp-hours__item {
	display: inline-block;
	white-space: nowrap;
}
.yfc-sp .yfc-sp-hours__item + .yfc-sp-hours__item::before {
	content: "/";
	margin: 0 0.5em;
}

/* --------------------------------------------------------------------------
   2. Hero
   -------------------------------------------------------------------------- */
.yfc-sp .yfc-sp-hero {
	position: relative;
	overflow: hidden;
	background: var(--yfc-green-deep);
	color: var(--yfc-white);
}

/* 写真未設定時のfallback（装飾のみ）：深緑 + 芝目のstripe + 照明glow */
.yfc-sp .yfc-sp-hero__bg {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 50% 70% at 88% 0%, rgba(234, 211, 86, 0.16), transparent 70%),
		radial-gradient(ellipse 45% 60% at 0% 100%, rgba(110, 158, 87, 0.22), transparent 70%),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 70px, transparent 70px 140px),
		linear-gradient(135deg, var(--yfc-green-deep) 0%, #123A2C 55%, var(--yfc-green-dark) 100%);
}

.yfc-sp .yfc-sp-hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
	align-items: center;
	gap: 48px;
	padding-block: 64px 72px;
}

.yfc-sp .yfc-sp-hero__title {
	margin: 0 0 18px;
	font-size: clamp(32px, 4vw, 50px);
	font-weight: 900;
	line-height: 1.3;
	color: var(--yfc-white);
}

.yfc-sp .yfc-sp-hero__text {
	position: relative;
	margin: 0;
	padding-left: 16px;
	font-size: 16px;
	line-height: 1.9;
	color: rgba(255, 255, 255, 0.9);
}
.yfc-sp .yfc-sp-hero__text::before {
	content: "";
	position: absolute;
	left: 0;
	top: 6px;
	bottom: 6px;
	width: 3px;
	border-radius: 2px;
	background: var(--yfc-yellow);
}

.yfc-sp .yfc-sp-hero__card {
	position: relative;
	overflow: hidden;
	padding: 26px 28px;
	border-radius: 20px;
	background:
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 32px, transparent 32px 64px),
		linear-gradient(160deg, var(--yfc-green) 0%, var(--yfc-green-dark) 100%);
	box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
}

.yfc-sp .yfc-sp-hero__card-label {
	margin: 0 0 6px;
	font-family: var(--yfc-font-en);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.16em;
	color: var(--yfc-yellow);
}

.yfc-sp .yfc-sp-hero__card-name {
	position: relative;
	z-index: 1;
	margin: 0;
	font-size: clamp(20px, 2vw, 26px);
	font-weight: 900;
	line-height: 1.4;
	color: var(--yfc-white);
}

.yfc-sp .yfc-sp-hero__card-name--en {
	font-family: var(--yfc-font-en);
	font-size: clamp(28px, 3vw, 38px);
	letter-spacing: 0.02em;
}

.yfc-sp .yfc-sp-hero__card-sub {
	position: relative;
	z-index: 1;
	margin: 6px 0 0;
	font-size: 13px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.82);
}

.yfc-sp .yfc-sp-hero__card-pitch {
	display: block;
	width: 100%;
	max-width: 260px;
	height: auto;
	margin: 18px 0 0 auto;
	color: rgba(255, 255, 255, 0.4);
}

.yfc-sp .yfc-sp-br-pc {
	display: inline;
}

/* --------------------------------------------------------------------------
   3. Company：About / Profile / Message
   -------------------------------------------------------------------------- */
.yfc-sp .yfc-sp-about {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 48px;
	align-items: center;
}

.yfc-sp .yfc-sp-about__head {
	margin-bottom: 0;
}

.yfc-sp .yfc-sp-features {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

.yfc-sp .yfc-sp-feature {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 18px;
	border-radius: 14px;
	border: 1px solid var(--yfc-border);
	background: var(--yfc-white);
	box-shadow: var(--yfc-sp-shadow);
}

.yfc-sp .yfc-sp-feature__icon {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--yfc-sp-green-tint);
	color: var(--yfc-green);
}

.yfc-sp .yfc-sp-feature__icon svg {
	width: 24px;
	height: 24px;
}

.yfc-sp .yfc-sp-feature__title {
	font-size: 15px;
	font-weight: 800;
	line-height: 1.45;
	color: var(--yfc-green-deep);
}

.yfc-sp .yfc-sp-services {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.yfc-sp .yfc-sp-service {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 2px;
	height: 100%;
	padding: 16px 18px 16px;
	border-radius: 14px;
	background: var(--yfc-green-deep);
	color: var(--yfc-white);
	transition: background 0.2s var(--yfc-ease);
}

.yfc-sp .yfc-sp-service:hover {
	background: var(--yfc-green-dark);
}

.yfc-sp .yfc-sp-service__en {
	font-family: var(--yfc-font-en);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.1em;
	color: var(--yfc-yellow);
}

.yfc-sp .yfc-sp-service__ja {
	padding-right: 20px;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.4;
}

.yfc-sp .yfc-sp-service__arrow {
	position: absolute;
	right: 14px;
	bottom: 14px;
	font-weight: 800;
}

.yfc-sp .yfc-sp-profile {
	max-width: 880px;
	margin: 0 auto;
	border-radius: var(--yfc-sp-radius);
	border: 1px solid var(--yfc-border);
	background: var(--yfc-white);
	box-shadow: var(--yfc-sp-shadow);
	overflow: hidden;
}

.yfc-sp .yfc-sp-profile__row {
	display: grid;
	grid-template-columns: 200px minmax(0, 1fr);
	border-top: 1px solid var(--yfc-gray-100);
}

.yfc-sp .yfc-sp-profile__row:first-child {
	border-top: 0;
}

.yfc-sp .yfc-sp-profile dt {
	display: flex;
	align-items: center;
	padding: 20px 24px;
	background: var(--yfc-sp-green-tint);
	font-size: 14px;
	font-weight: 800;
	color: var(--yfc-green-dark);
}

.yfc-sp .yfc-sp-profile dd {
	margin: 0;
	padding: 20px 24px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.7;
	color: var(--yfc-green-deep);
	min-width: 0;
	overflow-wrap: anywhere;
}

.yfc-sp .yfc-sp-tel-text {
	font-family: var(--yfc-font-en);
	font-size: 22px;
	font-weight: 800;
	letter-spacing: 0.02em;
	color: var(--yfc-green-deep);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.yfc-sp .yfc-sp-profile__note {
	display: block;
	margin-top: 4px;
	font-size: 13px;
	font-weight: 500;
	color: var(--yfc-gray-600);
}

.yfc-sp .yfc-sp-messages {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: 20px;
	align-items: stretch;
}

.yfc-sp .yfc-sp-message {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 30px 32px 28px;
	border-radius: var(--yfc-sp-radius);
	border: 1px solid var(--yfc-border);
	background: var(--yfc-white);
	box-shadow: var(--yfc-sp-shadow);
}

.yfc-sp .yfc-sp-message--ceo {
	border-top: 6px solid var(--yfc-green);
}

.yfc-sp .yfc-sp-message--manager {
	border-top: 6px solid var(--yfc-yellow);
}

.yfc-sp .yfc-sp-message__quote {
	display: inline-flex;
	color: var(--yfc-green-light);
	margin-bottom: 8px;
}

.yfc-sp .yfc-sp-message--manager .yfc-sp-message__quote {
	color: var(--yfc-yellow);
}

.yfc-sp .yfc-sp-message__title {
	margin: 0 0 10px;
	font-size: 20px;
	font-weight: 900;
	line-height: 1.4;
	color: var(--yfc-green-deep);
}

.yfc-sp .yfc-sp-message__text {
	margin: 0;
	font-size: 15px;
	line-height: 2;
	color: var(--yfc-text);
}

.yfc-sp .yfc-sp-message__sign {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
	margin: auto 0 0;
	padding-top: 18px;
	text-align: right;
}

.yfc-sp .yfc-sp-message__role {
	font-size: 13px;
	font-weight: 700;
	color: var(--yfc-gray-600);
}

.yfc-sp .yfc-sp-message__name {
	font-size: 18px;
	font-weight: 900;
	letter-spacing: 0.08em;
	color: var(--yfc-green-deep);
}

/* --------------------------------------------------------------------------
   4. Contact：Routes / Phone / Form layout / Notice
   -------------------------------------------------------------------------- */
.yfc-sp .yfc-sp-routes {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.yfc-sp .yfc-sp-route {
	display: flex;
	flex-direction: column;
	padding: 24px 24px 20px;
	border-radius: 14px;
	border: 1px solid var(--yfc-border);
	background: var(--yfc-white);
	box-shadow: var(--yfc-sp-shadow);
}

.yfc-sp .yfc-sp-route__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-bottom: 12px;
	border-radius: 12px;
	background: var(--yfc-sp-green-tint);
	color: var(--yfc-green);
}

.yfc-sp .yfc-sp-route__title {
	margin: 0 0 6px;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.45;
	color: var(--yfc-green-deep);
}

.yfc-sp .yfc-sp-route__text {
	margin: 0 0 12px;
	font-size: 14px;
	line-height: 1.75;
	color: var(--yfc-gray-600);
}

.yfc-sp .yfc-sp-route__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	margin-top: auto;
	font-size: 15px;
	font-weight: 800;
	color: var(--yfc-green-dark);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.yfc-sp .yfc-sp-route__link:hover {
	color: var(--yfc-green);
}

.yfc-sp .yfc-sp-phone {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	align-items: center;
	gap: 24px 40px;
	padding: 30px 36px;
	border-radius: var(--yfc-sp-radius);
	border: 2px solid var(--yfc-green);
	background: var(--yfc-white);
	box-shadow: var(--yfc-sp-shadow);
}

.yfc-sp .yfc-sp-phone__title {
	margin: 0 0 8px;
	font-size: 20px;
	font-weight: 900;
	color: var(--yfc-green-deep);
}

.yfc-sp .yfc-sp-phone__number {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--yfc-font-en);
	font-size: clamp(34px, 4vw, 46px);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: 0.02em;
	color: var(--yfc-green-deep);
}

.yfc-sp .yfc-sp-phone__number .yfc-icon {
	width: 30px;
	height: 30px;
	color: var(--yfc-green);
}

.yfc-sp .yfc-sp-phone__hours {
	padding: 18px 22px;
	border-radius: 12px;
	background: var(--yfc-sp-green-tint);
}

.yfc-sp .yfc-sp-phone__hours-label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 800;
	color: var(--yfc-green-dark);
}

.yfc-sp .yfc-sp-phone__hours-icon {
	display: inline-flex;
}

.yfc-sp .yfc-sp-phone__hours-icon svg {
	width: 20px;
	height: 20px;
}

.yfc-sp .yfc-sp-phone__hours-list {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.9;
	color: var(--yfc-green-deep);
}

.yfc-sp .yfc-sp-form-layout {
	display: grid;
	grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.5fr);
	gap: 48px;
	align-items: start;
}

.yfc-sp .yfc-sp-topics {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

.yfc-sp .yfc-sp-topic {
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--yfc-sp-green-tint);
	color: var(--yfc-green-dark);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
}

.yfc-sp .yfc-sp-form {
	min-width: 0;
	padding: 32px 36px;
	border-radius: var(--yfc-sp-radius);
	border: 1px solid var(--yfc-border);
	background: var(--yfc-white);
	box-shadow: var(--yfc-sp-shadow);
}

.yfc-sp .yfc-sp-form__empty {
	text-align: center;
}

.yfc-sp .yfc-sp-form__empty p {
	margin: 0 0 8px;
	font-size: 15px;
	line-height: 1.8;
	color: var(--yfc-gray-600);
}

.yfc-sp .yfc-sp-form__empty .yfc-sp-form__empty-title {
	font-size: 18px;
	font-weight: 800;
	color: var(--yfc-green-deep);
}

.yfc-sp .yfc-sp-form__empty .yfc-btn {
	margin-top: 12px;
}

.yfc-sp .yfc-sp-notice {
	max-width: 880px;
	margin: 0 auto;
	padding: 24px 28px;
	border-radius: 14px;
	border: 1px solid var(--yfc-border);
	border-left: 6px solid var(--yfc-yellow);
	background: var(--yfc-white);
}

.yfc-sp .yfc-sp-notice__title {
	margin: 0 0 10px;
	font-size: 17px;
	font-weight: 800;
	color: var(--yfc-green-deep);
}

.yfc-sp .yfc-sp-notice__list {
	margin: 0;
	padding-left: 1.2em;
	font-size: 14px;
	line-height: 1.9;
	color: var(--yfc-text);
}

/* --------------------------------------------------------------------------
   5. Contact Form 7（.yfc-sp-form 配下の出力markupのみ）
   推奨フォームテンプレートでは、ラベル内に <span class="yfc-sp-req">必須</span> /
   <span class="yfc-sp-opt">任意</span> を使える。
   -------------------------------------------------------------------------- */
.yfc-sp .yfc-sp-form__body > :first-child {
	margin-top: 0;
}

.yfc-sp .yfc-sp-form .wpcf7 form p {
	margin: 0 0 20px;
}

.yfc-sp .yfc-sp-form .wpcf7 label {
	display: block;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.6;
	color: var(--yfc-green-deep);
}

.yfc-sp .yfc-sp-form .yfc-sp-req,
.yfc-sp .yfc-sp-form .yfc-sp-opt {
	display: inline-block;
	margin-left: 8px;
	padding: 1px 8px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.6;
	vertical-align: 1px;
}

.yfc-sp .yfc-sp-form .yfc-sp-req {
	background: var(--yfc-yellow);
	color: var(--yfc-green-deep);
}

.yfc-sp .yfc-sp-form .yfc-sp-opt {
	background: var(--yfc-gray-100);
	color: var(--yfc-gray-600);
}

.yfc-sp .yfc-sp-form .wpcf7-form-control-wrap {
	display: block;
	margin-top: 6px;
}

.yfc-sp .yfc-sp-form .wpcf7 input[type="text"],
.yfc-sp .yfc-sp-form .wpcf7 input[type="email"],
.yfc-sp .yfc-sp-form .wpcf7 input[type="tel"],
.yfc-sp .yfc-sp-form .wpcf7 input[type="url"],
.yfc-sp .yfc-sp-form .wpcf7 input[type="number"],
.yfc-sp .yfc-sp-form .wpcf7 input[type="date"],
.yfc-sp .yfc-sp-form .wpcf7 select,
.yfc-sp .yfc-sp-form .wpcf7 textarea {
	display: block;
	width: 100%;
	max-width: 100%;
	min-height: 52px;
	padding: 12px 14px;
	border: 1px solid var(--yfc-gray-300);
	border-radius: 10px;
	background: var(--yfc-white);
	color: var(--yfc-text);
	font-family: var(--yfc-font-jp);
	font-size: 16px; /* iOSのズームを防ぐため16px以上 */
	line-height: 1.6;
	box-shadow: none;
	transition: border-color 0.2s var(--yfc-ease), box-shadow 0.2s var(--yfc-ease);
}

.yfc-sp .yfc-sp-form .wpcf7 textarea {
	min-height: 180px;
	resize: vertical;
}

.yfc-sp .yfc-sp-form .wpcf7 select {
	appearance: none;
	padding-right: 44px;
	background-image:
		linear-gradient(45deg, transparent 50%, var(--yfc-green) 50%),
		linear-gradient(135deg, var(--yfc-green) 50%, transparent 50%);
	background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
}

.yfc-sp .yfc-sp-form .wpcf7 input::placeholder,
.yfc-sp .yfc-sp-form .wpcf7 textarea::placeholder {
	color: #9AA39E;
}

.yfc-sp .yfc-sp-form .wpcf7 input:focus,
.yfc-sp .yfc-sp-form .wpcf7 select:focus,
.yfc-sp .yfc-sp-form .wpcf7 textarea:focus {
	outline: none;
	border-color: var(--yfc-green);
	box-shadow: 0 0 0 3px rgba(22, 112, 60, 0.18);
}

/* checkbox / radio / acceptance */
.yfc-sp .yfc-sp-form .wpcf7-checkbox,
.yfc-sp .yfc-sp-form .wpcf7-radio,
.yfc-sp .yfc-sp-form .wpcf7-acceptance {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
}

.yfc-sp .yfc-sp-form .wpcf7-list-item {
	margin: 0;
}

.yfc-sp .yfc-sp-form .wpcf7-list-item label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}

.yfc-sp .yfc-sp-form .wpcf7 input[type="checkbox"],
.yfc-sp .yfc-sp-form .wpcf7 input[type="radio"] {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: var(--yfc-green);
}

.yfc-sp .yfc-sp-form .wpcf7-acceptance .wpcf7-list-item-label a {
	color: var(--yfc-green-dark);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* submit */
.yfc-sp .yfc-sp-form .wpcf7 input[type="submit"],
.yfc-sp .yfc-sp-form .wpcf7 .wpcf7-submit {
	display: block;
	width: 100%;
	max-width: 360px;
	min-height: 56px;
	margin: 8px auto 0;
	padding: 16px 26px;
	border: 2px solid var(--yfc-yellow);
	border-radius: var(--yfc-radius-sm);
	background: var(--yfc-yellow);
	color: var(--yfc-green-deep);
	font-family: var(--yfc-font-jp);
	font-size: 16px;
	font-weight: 800;
	line-height: 1.3;
	cursor: pointer;
	transition: background 0.2s var(--yfc-ease), border-color 0.2s var(--yfc-ease);
}

.yfc-sp .yfc-sp-form .wpcf7 input[type="submit"]:hover,
.yfc-sp .yfc-sp-form .wpcf7 .wpcf7-submit:hover {
	background: var(--yfc-yellow-hover);
	border-color: var(--yfc-yellow-hover);
}

.yfc-sp .yfc-sp-form .wpcf7 input[type="submit"]:focus-visible {
	outline: 3px solid var(--yfc-green);
	outline-offset: 2px;
}

.yfc-sp .yfc-sp-form .wpcf7 input[type="submit"]:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.yfc-sp .yfc-sp-form .wpcf7-spinner {
	display: block;
	margin: 12px auto 0;
}

/* validation / response */
.yfc-sp .yfc-sp-form .wpcf7-not-valid {
	border-color: var(--yfc-sp-error);
}

.yfc-sp .yfc-sp-form .wpcf7-not-valid-tip {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	font-weight: 700;
	color: var(--yfc-sp-error);
}

.yfc-sp .yfc-sp-form .wpcf7 form .wpcf7-response-output {
	margin: 20px 0 0;
	padding: 14px 16px;
	border: 2px solid var(--yfc-gray-300);
	border-radius: 10px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.7;
}

.yfc-sp .yfc-sp-form .wpcf7 form.invalid .wpcf7-response-output,
.yfc-sp .yfc-sp-form .wpcf7 form.unaccepted .wpcf7-response-output,
.yfc-sp .yfc-sp-form .wpcf7 form.payment-required .wpcf7-response-output {
	border-color: var(--yfc-yellow);
	background: var(--yfc-sp-yellow-tint);
	color: var(--yfc-green-deep);
}

.yfc-sp .yfc-sp-form .wpcf7 form.failed .wpcf7-response-output,
.yfc-sp .yfc-sp-form .wpcf7 form.aborted .wpcf7-response-output,
.yfc-sp .yfc-sp-form .wpcf7 form.spam .wpcf7-response-output {
	border-color: var(--yfc-sp-error);
	background: #FBECEB;
	color: var(--yfc-sp-error);
}

.yfc-sp .yfc-sp-form .wpcf7 form.sent .wpcf7-response-output {
	border-color: var(--yfc-green);
	background: var(--yfc-sp-green-tint);
	color: var(--yfc-green-dark);
}

/* --------------------------------------------------------------------------
   6. Final（Access / CTA）
   -------------------------------------------------------------------------- */
.yfc-sp .yfc-sp-final {
	position: relative;
	overflow: hidden;
	background: var(--yfc-green-deep);
	color: var(--yfc-white);
}

.yfc-sp .yfc-sp-final__bg {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 50% 70% at 100% 100%, rgba(234, 211, 86, 0.14), transparent 70%),
		linear-gradient(135deg, var(--yfc-green-deep) 0%, var(--yfc-green-dark) 100%);
}

.yfc-sp .yfc-sp-final__bg::before,
.yfc-sp .yfc-sp-final__bg::after {
	content: "";
	position: absolute;
	border: 2px solid rgba(255, 255, 255, 0.08);
}

.yfc-sp .yfc-sp-final__bg::before {
	top: 0;
	bottom: 0;
	left: 58%;
	border-width: 0 0 0 2px;
}

.yfc-sp .yfc-sp-final__bg::after {
	top: 50%;
	left: 58%;
	width: 240px;
	height: 240px;
	border-radius: 50%;
	transform: translate(-50%, -50%);
}

.yfc-sp .yfc-sp-final__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	align-items: center;
	gap: 48px;
	padding-block: calc(var(--yfc-section-pad) + 28px);
}

.yfc-sp .yfc-sp-final__title {
	margin: 0 0 14px;
	font-size: clamp(24px, 2.8vw, 34px);
	font-weight: 900;
	line-height: 1.35;
	color: var(--yfc-white);
}

.yfc-sp .yfc-sp-final__address {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0 0 14px;
	font-size: 15px;
	line-height: 1.8;
	color: rgba(255, 255, 255, 0.9);
}

.yfc-sp .yfc-sp-final__icon {
	flex-shrink: 0;
	display: inline-flex;
	margin-top: 2px;
	color: var(--yfc-yellow);
}

.yfc-sp .yfc-sp-final__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	font-size: 15px;
	font-weight: 800;
	color: var(--yfc-white);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.yfc-sp .yfc-sp-final__ctas {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.yfc-sp .yfc-sp-final__ctas .yfc-btn {
	width: 100%;
}

.yfc-sp .yfc-sp-final__tel {
	margin-left: 10px;
	font-family: var(--yfc-font-en);
	font-weight: 800;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.yfc-sp .yfc-sp-final__hours {
	margin: 14px 0 0;
	font-size: 12px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.72);
}

/* --------------------------------------------------------------------------
   7. Responsive
   -------------------------------------------------------------------------- */

/* Tablet: 768–1023px */
@media (max-width: 1023px) {
	.yfc-sp .yfc-sp-br-pc {
		display: none;
	}
	.yfc-sp .yfc-sp-hero__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
		padding-block: 52px 56px;
	}
	.yfc-sp .yfc-sp-hero__card {
		max-width: 520px;
	}
	.yfc-sp .yfc-sp-about {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}
	.yfc-sp .yfc-sp-messages {
		grid-template-columns: minmax(0, 1fr);
	}
	.yfc-sp .yfc-sp-routes {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}
	.yfc-sp .yfc-sp-phone {
		grid-template-columns: minmax(0, 1fr);
		padding: 26px 28px;
	}
	.yfc-sp .yfc-sp-form-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}
	.yfc-sp .yfc-sp-final__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}
	.yfc-sp .yfc-sp-final__bg::before,
	.yfc-sp .yfc-sp-final__bg::after {
		left: 78%;
	}
}

/* Mobile: 767px以下 */
@media (max-width: 767px) {
	.yfc-sp .yfc-sp-section {
		padding-block: calc(var(--yfc-section-pad) + 18px);
	}
	.yfc-sp .yfc-sp-section--tight {
		padding-block: calc(var(--yfc-section-pad) + 4px);
	}
	.yfc-sp .yfc-sp-head {
		margin-bottom: 24px;
	}
	.yfc-sp .yfc-btn--lg {
		width: 100%;
		padding: 15px 18px;
		font-size: 15px;
	}
	.yfc-sp .yfc-sp-hero__inner {
		padding-block: 40px 44px;
	}
	.yfc-sp .yfc-sp-hero__title {
		font-size: 30px;
	}
	.yfc-sp .yfc-sp-hero__text {
		font-size: 15px;
	}
	.yfc-sp .yfc-sp-hero__card {
		padding: 22px 20px;
	}
	.yfc-sp .yfc-sp-features {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
	}
	.yfc-sp .yfc-sp-services {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
	}
	.yfc-sp .yfc-sp-profile__row {
		grid-template-columns: minmax(0, 1fr);
	}
	.yfc-sp .yfc-sp-profile dt {
		padding: 12px 18px;
	}
	.yfc-sp .yfc-sp-profile dd {
		padding: 14px 18px 16px;
		font-size: 15px;
	}
	.yfc-sp .yfc-sp-message {
		padding: 24px 20px 22px;
	}
	.yfc-sp .yfc-sp-message__text {
		font-size: 15px;
		line-height: 1.9;
	}
	.yfc-sp .yfc-sp-route {
		padding: 20px 18px 16px;
	}
	.yfc-sp .yfc-sp-phone {
		padding: 22px 20px;
		gap: 18px;
	}
	.yfc-sp .yfc-sp-phone__number {
		font-size: 32px;
	}
	.yfc-sp .yfc-sp-form {
		padding: 22px 18px;
	}
	.yfc-sp .yfc-sp-notice {
		padding: 20px;
	}
	.yfc-sp .yfc-sp-final__inner {
		padding-block: calc(var(--yfc-section-pad) + 18px);
	}
	.yfc-sp .yfc-sp-final__bg::after {
		width: 170px;
		height: 170px;
	}
}
