/* Futsal Maniax Contact Restore Minimal v1
   Restore approximated previous contact design. Do not use Hub/ハブ wording.
*/

/* Hide yellow square bullets before page headings while keeping vertical accent lines */
body.page .entry-content h2::before,
body.page .page-content h2::before,
body.page .site-main h2::before,
body.page .fm-page-content h2::before,
body.page .fm-fixed-page h2::before,
body.page .fm-section-title::before {
	content: none !important;
	display: none !important;
	width: 0 !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
}

body.page footer h2::before,
body.page footer h3::before,
body.page header h2::before,
body.page header h3::before {
	content: initial;
	display: initial;
}

.fmcrm1-contact,
.fmcrm1-form-section {
	width: min(100%, 1120px);
	margin: 0 auto clamp(44px, 5vw, 70px);
	box-sizing: border-box;
}

.fmcrm1-contact *,
.fmcrm1-form-section * {
	box-sizing: border-box;
}

.fmcrm1-contact {
	padding-top: clamp(36px, 5vw, 62px);
}

.fmcrm1-lead {
	margin-bottom: clamp(24px, 3vw, 34px);
}

.fmcrm1-label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 12px;
	color: #b89b00;
	font-size: 12px;
	line-height: 1;
	font-weight: 900;
	letter-spacing: .18em;
	text-transform: uppercase;
}

.fmcrm1-label::before {
	content: "";
	display: block;
	width: 32px;
	height: 2px;
	border-radius: 999px;
	background: linear-gradient(90deg, #ffe100, rgba(255,225,0,0));
}

.fmcrm1-lead h2 {
	margin: 0;
	color: #0d0f14;
	font-size: clamp(27px, 3vw, 40px);
	font-weight: 900;
	line-height: 1.24;
	letter-spacing: -.05em;
}

.fmcrm1-lead p {
	max-width: 820px;
	margin: 14px 0 0;
	color: #41444b;
	font-size: 15px;
	line-height: 1.9;
	font-weight: 500;
}

.fmcrm1-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 18px !important;
	align-items: stretch !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.fmcrm1-card {
	position: relative !important;
	display: flex !important;
	flex-direction: column !important;
	min-width: 0 !important;
	min-height: 146px !important;
	height: 100% !important;
	padding: 18px 18px 50px !important;
	border-radius: 21px !important;
	overflow: hidden !important;
	text-decoration: none !important;
	background:
		radial-gradient(circle at 88% 12%, rgba(255,225,0,.24), transparent 32%),
		linear-gradient(135deg, #ffffff, #fbfbf3) !important;
	border: 1px solid rgba(8, 10, 14, .09) !important;
	box-shadow: 0 14px 30px rgba(0, 0, 0, .07) !important;
	color: #0d0f14 !important;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.fmcrm1-card:hover {
	transform: translateY(-3px);
	border-color: rgba(8,10,14,.18) !important;
	box-shadow: 0 22px 48px rgba(0,0,0,.13) !important;
}

.fmcrm1-card--accent {
	border-color: rgba(255,225,0,.62) !important;
	box-shadow: 0 16px 34px rgba(0,0,0,.08), inset 0 3px 0 #ffe100 !important;
}

.fmcrm1-card span {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	margin: 0 0 15px;
	padding: 6px 9px;
	border-radius: 999px;
	background: #0d0f14;
	color: #ffe100;
	font-size: 9px;
	line-height: 1;
	font-weight: 900;
	letter-spacing: .13em;
	text-transform: uppercase;
}

.fmcrm1-card strong {
	display: block;
	margin: 0;
	color: #0d0f14;
	font-size: 18px;
	line-height: 1.35;
	font-weight: 900;
	letter-spacing: -.035em;
}

.fmcrm1-card em {
	display: block;
	margin: 10px 44px 0 0;
	color: #555b66;
	font-style: normal;
	font-size: 13px;
	line-height: 1.65;
	font-weight: 600;
}

.fmcrm1-card b {
	position: absolute;
	right: 16px;
	bottom: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 999px;
	background: #ffe100;
	color: #050608;
	font-size: 14px;
	font-weight: 900;
	line-height: 1;
	box-shadow: 0 8px 18px rgba(255,225,0,.25);
}

.fmcrm1-lead--compact {
	margin-bottom: 20px;
}

.fmcrm1-form {
	width: 100%;
	padding: clamp(24px, 4vw, 42px);
	border-radius: 28px;
	background: #fff;
	border: 1px solid rgba(8,10,14,.08);
	box-shadow: 0 18px 48px rgba(0,0,0,.08);
}

.fmcrm1-form .fm-cf7-form {
	display: grid;
	gap: 22px;
}

.fmcrm1-form .fm-cf7-field label {
	display: block;
	margin-bottom: 8px;
	color: #0d0f14;
	font-weight: 900;
	font-size: 14px;
}

.fmcrm1-form input[type="text"],
.fmcrm1-form input[type="email"],
.fmcrm1-form input[type="url"],
.fmcrm1-form select,
.fmcrm1-form textarea {
	width: 100%;
	max-width: 100%;
	border: 1px solid rgba(0,0,0,.16);
	border-radius: 14px;
	background: #fff;
	padding: 13px 15px;
	font-size: 16px;
	line-height: 1.6;
	color: #111;
}

.fmcrm1-form textarea {
	min-height: 170px;
	resize: vertical;
}

.fmcrm1-form .fm-cf7-submit,
.fmcrm1-form input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 110px;
	border: 0;
	border-radius: 999px;
	background: #ffe100;
	color: #08090d;
	font-weight: 900;
	padding: 13px 24px;
	cursor: pointer;
	box-shadow: 0 10px 22px rgba(255,225,0,.22);
}

.fmcrm1-alert {
	padding: 16px;
	border-radius: 14px;
	background: #fff5c2;
	border-left: 4px solid #ffe100;
}

@media (max-width: 900px) {
	.fmcrm1-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 560px) {
	.fmcrm1-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 12px !important;
	}

	.fmcrm1-card {
		min-height: 136px !important;
		padding: 14px 14px 42px !important;
		border-radius: 18px !important;
	}

	.fmcrm1-card span {
		margin-bottom: 10px !important;
		font-size: 8px !important;
		padding: 5px 7px !important;
	}

	.fmcrm1-card strong {
		font-size: 15px !important;
	}

	.fmcrm1-card em {
		font-size: 11px !important;
		line-height: 1.55 !important;
		margin-right: 24px !important;
	}

	.fmcrm1-card b {
		width: 28px !important;
		height: 28px !important;
		right: 12px !important;
		bottom: 12px !important;
	}

	.fmcrm1-form {
		padding: 20px;
		border-radius: 22px;
	}
}

@media (max-width: 390px) {
	.fmcrm1-grid {
		grid-template-columns: 1fr !important;
	}
}
