/**
 * 寄居ビールフェス 2026 LP
 */

.ya-lp-beer-fest-template .ya-snug-main--page .ya-snug-page {
	max-width: 920px;
}

.ya-lp-beer-fest {
	--ya-lp-bf-green: #4a6b53;
	--ya-lp-bf-amber: #d99b26;
	--ya-lp-bf-bg: #faf8f5;
	color: #2b2b2b;
}

.ya-lp-bf__kv {
	margin: 0 0 1.25rem;
}

.ya-lp-bf__kv img {
	width: 100%;
	height: auto;
	border-radius: 16px;
	display: block;
}

.ya-lp-bf__lead {
	font-size: 0.95rem;
	line-height: 1.7;
	color: #555;
	margin-bottom: 1rem !important;
}

.ya-lp-bf__nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem 1rem;
	margin: 0 0 1.5rem;
	padding: 0.75rem 1rem;
	background: #dfeaed;
	border-radius: 999px;
	font-size: 0.875rem;
}

.ya-lp-bf__nav a {
	color: var(--ya-lp-bf-green);
	text-decoration: none;
	font-weight: 600;
}

.ya-lp-bf__nav a:hover {
	color: var(--ya-lp-bf-amber);
}

.ya-lp-bf__hero {
	text-align: center;
	padding: 2rem 1rem 2.5rem;
	margin-bottom: 1rem;
	background: linear-gradient(180deg, #dfeaed 0%, var(--ya-lp-bf-bg) 100%);
	border-radius: 16px;
}

.ya-lp-bf__title {
	font-size: clamp(1.75rem, 5vw, 2.5rem);
	color: var(--ya-lp-bf-green);
	margin-bottom: 0.5rem !important;
}

.ya-lp-bf__catch {
	font-size: clamp(1.1rem, 3vw, 1.35rem);
	font-weight: 700;
	color: var(--ya-lp-bf-amber);
	margin-bottom: 1rem !important;
}

.ya-lp-bf__meta {
	font-size: 0.95rem;
	line-height: 1.7;
	margin-bottom: 1.5rem !important;
}

.ya-lp-bf__hero-buttons {
	gap: 0.75rem;
}

.ya-lp-bf__hero-buttons .wp-block-button__link {
	border-radius: 999px;
	padding: 0.75rem 1.5rem;
}

.ya-lp-bf__hero-buttons .is-style-fill .wp-block-button__link {
	background: var(--ya-lp-bf-green);
}

.ya-lp-bf__hero-buttons .is-style-fill .wp-block-button__link:hover {
	background: #3d5a45;
}

.ya-lp-bf__section {
	margin-bottom: 2.5rem;
	padding: 0 0.25rem;
}

.ya-lp-bf__section > h2,
.ya-lp-bf__access > .ya-lp-bf__heading {
	font-size: 1.35rem;
	color: var(--ya-lp-bf-green);
	border-left: 4px solid var(--ya-lp-bf-amber);
	padding-left: 0.75rem;
	margin-bottom: 1rem !important;
}

.ya-lp-bf__section h3 {
	font-size: 1.05rem;
	margin-top: 1.25rem !important;
	margin-bottom: 0.35rem !important;
	color: var(--ya-lp-bf-green);
}

.ya-lp-bf__table table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
}

.ya-lp-bf__table th,
.ya-lp-bf__table td {
	border: 1px solid #ddd;
	padding: 0.5rem 0.65rem;
	vertical-align: top;
}

.ya-lp-bf__table th {
	background: #eef4f0;
	color: var(--ya-lp-bf-green);
}

.ya-lp-bf__access {
	margin-bottom: 2.5rem;
}

.ya-lp-bf__access-grid {
	display: grid;
	gap: 1.25rem;
}

.ya-lp-bf__map iframe {
	width: 100%;
	min-height: 280px;
	border-radius: 12px;
}

.ya-lp-bf__parking {
	margin: 1rem 0 0;
	padding: 1rem 1.1rem;
	border-radius: 12px;
	background: #f7faf8;
	border: 1px solid #dfeaed;
}

.ya-lp-bf__parking-lead {
	margin: 0 0 1rem !important;
	font-size: 0.95rem;
	line-height: 1.7;
}

.ya-lp-bf__parking-group + .ya-lp-bf__parking-group {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid #dfeaed;
}

.ya-lp-bf__parking-heading {
	margin: 0 0 0.35rem !important;
	font-size: 1rem;
	color: var(--ya-lp-bf-green);
}

.ya-lp-bf__parking-note {
	margin: 0 0 0.5rem !important;
	font-size: 0.88rem;
	color: #666;
}

.ya-lp-bf__parking-list {
	margin: 0;
	padding-left: 1.2rem;
}

.ya-lp-bf__parking-list li {
	margin-bottom: 0.75rem;
	font-size: 0.92rem;
	line-height: 1.6;
}

.ya-lp-bf__parking-list li:last-child {
	margin-bottom: 0;
}

.ya-lp-bf__parking-address,
.ya-lp-bf__parking-access {
	color: #555;
	font-size: 0.88rem;
}

.ya-lp-bf__parking-more {
	margin: 0.85rem 0 0 !important;
	font-size: 0.92rem;
}

.ya-lp-bf__parking-footnote {
	margin: 0.85rem 0 0 !important;
	font-size: 0.82rem;
	color: #777;
}

.ya-lp-bf__form-placeholder {
	padding: 2rem 1.5rem;
	border: 2px dashed #c5d5c8;
	border-radius: 12px;
	background: #fff;
	text-align: center;
	color: #666;
}

.ya-lp-bf__form-wrap {
	padding: 1.5rem;
	border-radius: 12px;
	background: #fff;
	border: 1px solid #dfeaed;
}

.ya-lp-bf__form-remaining {
	margin: 0 0 1.25rem !important;
	font-size: 0.95rem;
	color: var(--ya-lp-bf-green);
}

.ya-lp-bf__form-notice {
	padding: 1.5rem;
	border-radius: 12px;
	background: #fff8e8;
	border: 1px solid #e8d4a8;
}

.ya-lp-bf__form-notice--closed {
	background: #f5f5f5;
	border-color: #ddd;
}

.ya-lp-bf__partners-logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1.5rem 2rem;
	margin-top: 1rem;
}

.ya-lp-bf__partners-logos a {
	display: block;
	line-height: 0;
	transition: opacity 0.2s ease;
}

.ya-lp-bf__partners-logos a:hover {
	opacity: 0.85;
}

.ya-lp-bf__partners-logos img {
	width: auto;
	height: 48px;
	max-width: 180px;
	object-fit: contain;
}

@media (min-width: 768px) {
	.ya-lp-bf__partners-logos img {
		height: 64px;
	}
}

.ya-lp-beer-fest--reserve .wpcf7 {
	margin-top: 0;
}

.ya-lp-bf__reserve-title {
	color: var(--ya-lp-bf-green);
	margin-bottom: 0.75rem !important;
}

.ya-lp-bf__reserve-lead {
	font-size: 1.05rem;
	line-height: 1.75;
	margin-bottom: 1.5rem !important;
}

.ya-lp-bf__reserve-summary,
.ya-lp-bf__reserve-steps,
.ya-lp-bf__reserve-notes {
	margin-bottom: 2rem;
	padding: 1.25rem 1.5rem;
	border-radius: 12px;
	background: #fff;
	border: 1px solid #dfeaed;
}

.ya-lp-bf__reserve-summary h2,
.ya-lp-bf__reserve-steps h2,
.ya-lp-bf__reserve-notes h2 {
	font-size: 1.1rem;
	color: var(--ya-lp-bf-green);
	border-left: 4px solid var(--ya-lp-bf-amber);
	padding-left: 0.65rem;
	margin-bottom: 0.85rem !important;
}

.ya-lp-bf__reserve-steps ol {
	margin: 0;
	padding-left: 1.25rem;
	line-height: 1.75;
}

.ya-lp-bf__reserve-notes ul {
	margin: 0;
	line-height: 1.7;
	font-size: 0.95rem;
}

.ya-lp-bf__reserve-back {
	margin-top: 2rem !important;
	font-size: 0.95rem;
	text-align: center;
}

.ya-lp-beer-fest--reserve .wpcf7-form {
	margin-top: 0;
}

.ya-lp-beer-fest--reserve .ya-bf-form-field {
	margin-bottom: 1.1rem;
}

.ya-lp-beer-fest--reserve .ya-bf-form-field > label {
	display: block;
	font-weight: 600;
	color: var(--ya-lp-bf-green);
	line-height: 1.5;
}

.ya-lp-beer-fest--reserve .ya-bf-form-field .wpcf7-form-control-wrap {
	display: block;
	margin-top: 0.4rem;
}

.ya-lp-beer-fest--reserve .wpcf7 input[type="text"],
.ya-lp-beer-fest--reserve .wpcf7 input[type="email"],
.ya-lp-beer-fest--reserve .wpcf7 input[type="tel"],
.ya-lp-beer-fest--reserve .wpcf7 select,
.ya-lp-beer-fest--reserve .wpcf7 textarea {
	width: 100%;
	max-width: 100%;
	padding: 0.7rem 0.85rem;
	border: 1px solid #c5d4c8;
	border-radius: 10px;
	background: #fff;
	font-size: 1rem;
	line-height: 1.5;
	color: #2b2b2b;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ya-lp-beer-fest--reserve .wpcf7 select {
	appearance: none;
	padding-right: 2.25rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%234a6b53' d='M1.4.4 6 5l4.6-4.6L12 2.8 6 8.8 0 2.8z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.85rem center;
	background-size: 12px 8px;
	cursor: pointer;
}

.ya-lp-beer-fest--reserve .wpcf7 input::placeholder,
.ya-lp-beer-fest--reserve .wpcf7 textarea::placeholder {
	color: #8f9a94;
	opacity: 1;
}

.ya-lp-beer-fest--reserve .wpcf7 input:focus,
.ya-lp-beer-fest--reserve .wpcf7 select:focus,
.ya-lp-beer-fest--reserve .wpcf7 textarea:focus {
	outline: none;
	border-color: var(--ya-lp-bf-green);
	box-shadow: 0 0 0 3px rgba(74, 107, 83, 0.15);
}

.ya-lp-beer-fest--reserve .ya-bf-form-field--message textarea {
	min-height: 2.75rem;
	height: 2.75rem;
	resize: none;
	overflow: hidden;
	transition: min-height 0.28s ease, height 0.28s ease, box-shadow 0.2s ease;
}

.ya-lp-beer-fest--reserve .ya-bf-form-field--message.is-expanded textarea {
	min-height: 7.5rem;
	height: 7.5rem;
	resize: vertical;
	overflow: auto;
}

.ya-lp-beer-fest--reserve .wpcf7-response-output {
	margin: 1rem 0 0;
	border-radius: 8px;
}

.ya-lp-beer-fest--privacy .ya-lp-bf__privacy-title {
	color: var(--ya-lp-bf-green);
	margin-bottom: 0.75rem !important;
}

.ya-lp-beer-fest--privacy .ya-lp-bf__privacy-lead {
	font-size: 0.95rem;
	line-height: 1.75;
	color: #555;
	margin-bottom: 1.5rem !important;
}

.ya-lp-beer-fest--privacy .ya-lp-bf__privacy-section {
	margin-bottom: 1.75rem;
	padding: 1.25rem 1.5rem;
	border-radius: 12px;
	background: #fff;
	border: 1px solid #dfeaed;
}

.ya-lp-beer-fest--privacy .ya-lp-bf__privacy-section h2 {
	font-size: 1.05rem;
	color: var(--ya-lp-bf-green);
	border-left: 4px solid var(--ya-lp-bf-amber);
	padding-left: 0.65rem;
	margin-bottom: 0.85rem !important;
}

.ya-lp-beer-fest--privacy .ya-lp-bf__privacy-section p,
.ya-lp-beer-fest--privacy .ya-lp-bf__privacy-section li {
	line-height: 1.75;
}

.ya-lp-beer-fest--privacy .ya-lp-bf__privacy-back {
	margin-top: 2rem !important;
	font-size: 0.95rem;
	text-align: center;
}

.ya-lp-bf-sticky-cta {
	display: flex;
	position: fixed;
	right: 1rem;
	bottom: calc(52px + 1.25rem);
	z-index: 89;
	width: 5.25rem;
	height: 5.25rem;
	padding: 0;
	color: #fff;
	text-decoration: none;
	align-items: center;
	justify-content: center;
	text-align: center;
	line-height: 1.2;
	font-weight: 700;
	background: transparent;
	border: 0;
	box-shadow: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.ya-lp-bf-sticky-cta__nami {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	pointer-events: none;
	filter: drop-shadow(0 6px 14px rgba(255, 93, 54, 0.38));
	transform-origin: center center;
	animation: ya-lp-bf-cta-nami-spin 20s linear infinite;
}

@keyframes ya-lp-bf-cta-nami-spin {
	to {
		transform: rotate(360deg);
	}
}

.ya-lp-bf-sticky-cta__content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.1rem;
	width: 72%;
	pointer-events: none;
}

.ya-lp-bf-sticky-cta:hover,
.ya-lp-bf-sticky-cta:focus-visible {
	transform: translateY(0) scale(1.04);
}

.ya-lp-bf-sticky-cta.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.ya-lp-bf-sticky-cta.is-visible:hover,
.ya-lp-bf-sticky-cta.is-visible:focus-visible {
	transform: translateY(0) scale(1.04);
}

.ya-lp-bf-sticky-cta__label {
	font-size: 0.78rem;
	letter-spacing: 0.04em;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
}

.ya-lp-bf-sticky-cta__sub {
	font-size: 0.62rem;
	font-weight: 700;
	opacity: 1;
	letter-spacing: 0.02em;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
}

@media (min-width: 768px) {
	.ya-lp-bf-sticky-cta {
		width: 6.5rem;
		height: 6.5rem;
		bottom: calc(70px + 1.5rem);
		right: 1rem;
	}

	.ya-lp-bf-sticky-cta__label {
		font-size: 0.9rem;
	}

	.ya-lp-bf-sticky-cta__sub {
		font-size: 0.72rem;
	}
}

.ya-lp-bf-sticky-cta--home {
	width: 6.25rem;
	height: 6.25rem;
}

.ya-lp-bf-sticky-cta--home .ya-lp-bf-sticky-cta__content {
	gap: 0;
	width: 68%;
}

.ya-lp-bf-sticky-cta__line {
	display: block;
	font-size: 0.58rem;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0.02em;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
}

.ya-lp-bf-sticky-cta--home .ya-lp-bf-sticky-cta__line:first-child {
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.06em;
}

@media (min-width: 768px) {
	.ya-lp-bf-sticky-cta--home {
		width: 7.25rem;
		height: 7.25rem;
	}

	.ya-lp-bf-sticky-cta--home .ya-lp-bf-sticky-cta__line {
		font-size: 0.66rem;
	}

	.ya-lp-bf-sticky-cta--home .ya-lp-bf-sticky-cta__line:first-child {
		font-size: 0.82rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ya-lp-bf-sticky-cta__nami {
		animation: none;
	}

	.ya-lp-bf-sticky-cta:hover,
	.ya-lp-bf-sticky-cta:focus-visible,
	.ya-lp-bf-sticky-cta.is-visible:hover,
	.ya-lp-bf-sticky-cta.is-visible:focus-visible {
		transform: translateY(0);
	}
}

@media (max-width: 767px) {
	.ya-lp-bf__nav {
		border-radius: 12px;
		font-size: 0.8rem;
	}
}

@media (min-width: 768px) {
	.ya-lp-bf__access-grid {
		grid-template-columns: 1fr 1fr;
		align-items: start;
	}

	.ya-lp-bf__map iframe {
		min-height: 360px;
	}
}

@media (min-width: 960px) {
	.ya-lp-beer-fest-template .ya-snug-page__body .ya-lp-beer-fest {
		padding: 0 1rem;
	}
}
