/* Shops View - スライダー・ETERポップアップ・フリースペース用スタイル */

.eter-popup-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.eter-popup-content {
	background: #fff;
	border-radius: 12px;
	max-width: 480px;
	width: 100%;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
	overflow: hidden;
}

.eter-popup-inner {
	padding: 30px;
	text-align: center;
}

.eter-popup-actions {
	margin-top: 20px;
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}

.eter-btn-age {
	padding: 12px 24px;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	font-size: 16px;
	font-weight: bold;
}

.eter-btn-age:first-of-type {
	background: #333;
	color: #fff;
}

.eter-btn-age:last-of-type {
	background: #e0e0e0;
	color: #333;
}

.header-logo-wrap {
	margin-bottom: 10px;
}

.header-logo {
	max-height: 80px;
	max-width: 200px;
	object-fit: contain;
}

.sub-slider-wrap {
	position: relative;
	max-width: 800px;
	margin: 20px auto;
	padding: 0 40px;
}

.sub-slider {
	overflow: hidden;
}

.sub-slider-item {
	display: none;
}

.sub-slider-item:first-child {
	display: block;
}

.sub-slider-item img {
	width: 100%;
	height: auto;
	vertical-align: top;
}

.sub-slider-prev,
.sub-slider-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
	border: none;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 18px;
	line-height: 1;
	padding: 0;
}

.sub-slider-prev {
	left: 5px;
}

.sub-slider-next {
	right: 5px;
}

.freespace-block {
	padding: 30px 20px;
}

.freespace-content {
	text-align: left;
	margin-top: 15px;
	white-space: pre-line;
}

/* Site header — 60px bar (logo left, hamburger right) */
header.site-header {
	position: relative;
	height: 60px;
	min-height: 60px;
	max-height: 60px;
	padding-top: 0 !important;
	background-image: none !important;
	display: flex;
	align-items: center;
	box-sizing: border-box;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	max-width: 650px;
	margin: 0 auto;
	padding: 0 12px;
	box-sizing: border-box;
	height: 60px;
}

.site-header__logo {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	align-items: center;
}

.site-header__logo img {
	max-height: 42px;
	max-width: min(220px, 55vw);
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
}

.site-header__toggle {
	flex-shrink: 0;
	position: relative;
}

header.site-header #navToggle button {
	position: relative;
	top: auto;
	right: auto;
	width: 40px;
	height: 40px;
}

header.site-header #navToggle button span {
	top: 12px;
	right: 9px;
}

/* TOP slider — Ken Burns style */
.top-slider {
	width: 100%;
	max-width: 650px;
	margin: 0 auto;
	box-sizing: border-box;
}

.top-slider__stage {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: #111;
}

.top-slider__slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	opacity: 0;
	transform: scale(1);
	transform-origin: center center;
	pointer-events: none;
	will-change: transform, opacity;
}

.top-slider__slide img {
	width: 100%;
	height: auto;
	max-width: 100%;
	display: block;
	vertical-align: top;
}

/* アクティブスライドは relative でステージ高さを確保（absoluteのみだと高さ0で非表示になる） */
.top-slider__slide.is-active {
	position: relative;
	opacity: 1;
	z-index: 1;
	animation: topSliderKenBurns 6s ease-in-out forwards;
}

.top-slider__slide.is-leaving {
	position: absolute;
	opacity: 0;
	z-index: 2;
	animation: none;
	transition: opacity 1s ease-out;
}

.top-slider__slide.is-single.is-active {
	animation: topSliderKenBurnsLoop 6s ease-in-out infinite alternate;
}

@keyframes topSliderKenBurns {
	from {
		transform: scale(1);
	}
	to {
		transform: scale(1.08);
	}
}

@keyframes topSliderKenBurnsLoop {
	from {
		transform: scale(1);
	}
	to {
		transform: scale(1.08);
	}
}

@media (prefers-reduced-motion: reduce) {
	.top-slider__slide.is-active,
	.top-slider__slide.is-single.is-active {
		animation: none;
		transform: none;
	}
}

/* TOP ticker — one registered line at a time; scroll only when overflow */
.top-ticker {
	width: 100%;
	max-width: 650px;
	margin: 0 auto;
	box-sizing: border-box;
	background: linear-gradient(90deg, #fff5f8 0%, #fef0f5 50%, #fff5f8 100%);
	border-top: 1px solid rgba(255, 143, 163, 0.35);
	border-bottom: 1px solid rgba(255, 143, 163, 0.25);
	box-shadow: 0 2px 12px rgba(255, 107, 157, 0.12);
	overflow: hidden;
}

.top-ticker__viewport {
	overflow: hidden;
	width: 100%;
	min-height: 2.75rem;
	padding: 0 0;
	box-sizing: border-box;
	display: flex;
	align-items: center;
}

.top-ticker__slides {
	position: relative;
	width: 100%;
	min-height: 2.75rem;
	display: flex;
	align-items: center;
}

.top-ticker__slide {
	display: none;
}

.top-ticker__slide.is-active {
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 2.75rem;
	animation: topTickerFadeIn 0.45s ease;
}

.top-ticker__line {
	overflow: hidden;
	width: 100%;
	display: flex;
	align-items: center;
	min-height: 2.75rem;
}

.top-ticker__line.is-static {
	text-align: center;
}

.top-ticker__line.is-static .top-ticker__track {
	display: inline-flex;
	width: auto;
	max-width: 100%;
	justify-content: center;
	animation: none;
	transform: none;
}

.top-ticker__track {
	display: flex;
	align-items: center;
	width: max-content;
	height: 100%;
	will-change: transform;
}

.top-ticker__track.is-scrolling {
	animation: topTickerScroll var(--ticker-duration, 28s) linear infinite;
}

.top-ticker__content {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	padding: 0 1.25rem;
	white-space: nowrap;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: 0.04em;
	color: #ff6b9d;
	text-shadow: 0 0 20px rgba(255, 107, 157, 0.25);
}

.top-ticker__line.is-static .top-ticker__content {
	padding: 0 1rem;
}

@keyframes topTickerScroll {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

@keyframes topTickerFadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.top-ticker__slide.is-active {
		animation: none;
	}
	.top-ticker__track.is-scrolling {
		animation: none;
	}
	.top-ticker__line.is-static .top-ticker__track,
	.top-ticker__track {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		width: 100%;
	}
	.top-ticker__content[aria-hidden="true"] {
		display: none;
	}
	.top-ticker__content {
		white-space: normal;
		text-align: center;
	}
}

/* TOP hero — shop name, tags, shortcut buttons */
.top-hero {
	width: 100%;
	max-width: 650px;
	margin: 0 auto;
	box-sizing: border-box;
	padding: 20px 14px 24px;
	background: #fff;
}

.top-hero__inner {
	width: 100%;
}

.top-hero__title {
	margin: 0 0 10px;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.35;
	color: #ff6b9d;
	text-align: center;
	word-break: break-word;
}

.top-hero__meta {
	margin: 0 0 14px;
	font-size: 0.72rem;
	line-height: 1.5;
	color: #888;
	text-align: center;
	word-break: break-word;
}

.top-hero__meta-star {
	color: #f5c518;
	margin-right: 2px;
}

.top-hero__tags {
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}

.top-hero__tag {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 32px;
	padding: 4px 6px;
	border-radius: 4px;
	font-size: 0.68rem;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	word-break: break-word;
	box-sizing: border-box;
}

.top-hero__tag--c0 {
	background: #ffe0eb;
	color: #d63384;
}

.top-hero__tag--c1 {
	background: #e0f0ff;
	color: #2563eb;
}

.top-hero__tag--c2 {
	background: #ede0ff;
	color: #7c3aed;
}

.top-hero__tag--c3 {
	background: #e0f8e8;
	color: #16a34a;
}

.top-hero__tag--c4 {
	background: #fff8dc;
	color: #ca8a04;
}

.top-hero__tag--c5 {
	background: #fff;
	color: #0d9488;
	border: 1px solid #99e6e6;
}

.top-hero__nav {
	position: static;
	top: auto;
	left: auto;
	z-index: auto;
	width: 100%;
	height: auto;
	max-height: none;
	overflow: visible;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
	flex-direction: unset;
}

.top-hero__nav-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-width: 0;
	min-height: 72px;
	padding: 8px 2px 10px;
	background: #fff;
	border: 2px solid #ff8fa3;
	border-radius: 8px;
	box-shadow: 0 4px 0 #ffb3c6;
	color: #333;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	box-sizing: border-box;
}

.top-hero__nav-btn:hover,
.top-hero__nav-btn:focus {
	text-decoration: none;
	color: #333;
	transform: translateY(2px);
	box-shadow: 0 2px 0 #ffb3c6;
}

.top-hero__nav-btn:active {
	transform: translateY(4px);
	box-shadow: none;
}

.top-hero__nav-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ff6b9d;
	line-height: 1;
}

.top-hero__nav-icon .material-icons {
	font-size: 28px;
}

.top-hero__nav-label {
	font-size: 0.68rem;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
}

@media (max-width: 480px) {
	.top-hero__tags {
		grid-template-columns: repeat(2, 1fr);
	}

	.top-hero__nav {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 6px;
	}

	.top-hero__nav-btn {
		min-height: 64px;
		padding: 6px 1px 8px;
	}

	.top-hero__nav-icon .material-icons {
		font-size: 24px;
	}

	.top-hero__nav-label {
		font-size: 0.6rem;
	}

	.top-hero__title {
		font-size: 1.2rem;
	}

	.top-hero__review-link {
		padding: 6px 10px 6px 6px;
	}

	.top-hero__review-icon {
		width: 40px;
		height: 40px;
		margin-right: 6px;
	}

	.top-hero__review-icon .material-icons {
		font-size: 22px;
	}

	.top-hero__review-text {
		font-size: 0.72rem;
	}

	.top-hero__review-count {
		font-size: 1.35rem;
	}

	.top-hero__review-unit {
		font-size: 0.85rem;
	}

	.top-hero__review-arrow .material-icons {
		font-size: 22px;
	}
}

.top-hero__review-link {
	display: flex;
	align-items: center;
	margin-top: 16px;
	padding: 8px 12px 8px 8px;
	border-radius: 999px;
	background:
		repeating-linear-gradient(
			-45deg,
			rgba(255, 143, 163, 0.35),
			rgba(255, 143, 163, 0.35) 4px,
			rgba(255, 245, 248, 0.9) 4px,
			rgba(255, 245, 248, 0.9) 8px
		);
	text-decoration: none;
	color: #333;
	box-sizing: border-box;
	transition: opacity 0.15s ease;
}

.top-hero__review-link:hover,
.top-hero__review-link:focus {
	text-decoration: none;
	color: #333;
	opacity: 0.92;
}

.top-hero__review-icon {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-right: 8px;
	border-radius: 50%;
	background: #2ec4b6;
	color: #fff;
	box-shadow: 0 2px 6px rgba(46, 196, 182, 0.35);
}

.top-hero__review-icon .material-icons {
	font-size: 24px;
}

.top-hero__review-text {
	flex: 1;
	min-width: 0;
	padding: 8px 10px;
	border-radius: 999px;
	background: #fff;
	font-size: 0.78rem;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.top-hero__review-em {
	color: #2ec4b6;
	font-weight: 700;
}

.top-hero__review-count {
	font-size: 1.5rem;
	font-weight: 800;
	color: #ff6b9d;
	line-height: 1;
	vertical-align: middle;
}

.top-hero__review-unit {
	font-size: 0.95rem;
	font-weight: 700;
	color: #ff6b9d;
}

.top-hero__review-arrow {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #2ec4b6;
	margin-left: 4px;
}

.top-hero__review-arrow .material-icons {
	font-size: 26px;
}

/* QA slider — fixed pink theme (not per-shop design_settings) */
#qa {
	--qa-pink: #ff5a92;
	--qa-pink-light: #ffd9e6;
	--qa-pink-pale: #fff0f5;
	--qa-text: #444444;
	padding: 40px 16px 50px;
	box-sizing: border-box;
}

.qa-slider {
	max-width: 640px;
	margin: 0 auto;
	box-sizing: border-box;
}

.qa-slider__viewport {
	position: relative;
	padding: 0 28px;
}

.qa-slider__track {
	position: relative;
}

.qa-slider__slide {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateX(12px);
	transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
	pointer-events: none;
	z-index: 0;
}

.qa-slider__slide.is-active {
	position: relative;
	opacity: 1;
	visibility: visible;
	transform: translateX(0);
	pointer-events: auto;
	z-index: 1;
}

.qa-slider__card {
	background: #fff;
	border: 3px solid var(--qa-pink-light);
	border-radius: 16px;
	box-shadow: 0 6px 24px rgba(255, 90, 146, 0.12);
	padding: 20px 18px 22px;
	box-sizing: border-box;
}

.qa-slider__q-head {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 10px;
	background: var(--qa-pink);
	color: #fff !important;
	border-radius: 10px;
	padding: 12px 14px 14px 12px;
	margin: 0 0 14px;
}

.qa-slider__q-head::after {
	content: '';
	position: absolute;
	left: 18px;
	bottom: -8px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 8px 7px 0 7px;
	border-color: var(--qa-pink) transparent transparent transparent;
}

.qa-slider__q-badge {
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #fff;
	color: var(--qa-pink) !important;
	font-size: 18px;
	font-weight: 700;
	line-height: 32px;
	text-align: center;
}

#qa .qa-slider .qa-slider__q-head-text {
	margin: 0;
	padding: 4px 0 0;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.45;
	color: #fff !important;
	flex: 1;
	word-break: break-word;
	text-align: left;
}

.qa-slider__q-body {
	margin: 0 0 16px;
	text-align: left;
}

#qa .qa-slider .qa-slider__q-body p {
	margin: 0;
	font-size: 14px;
	line-height: 1.7;
	color: var(--qa-text) !important;
	word-break: break-word;
	text-align: left;
}

.qa-slider__divider {
	height: 0;
	border: none;
	border-top: 2px dotted var(--qa-pink-light);
	margin: 0 0 14px;
}

#qa .qa-slider .qa-slider__a-label {
	margin: 0 0 10px;
	font-size: 15px;
	font-weight: 700;
	color: var(--qa-pink) !important;
	text-align: left;
}

.qa-slider__a-box {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	border: 3px solid var(--qa-pink);
	border-radius: 12px;
	padding: 14px 14px 14px 12px;
	background: #fff;
	box-sizing: border-box;
}

.qa-slider__a-avatar {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
}

.qa-slider__a-avatar svg {
	display: block;
	width: 48px;
	height: 48px;
}

.qa-slider__a-text {
	flex: 1;
	min-width: 0;
	text-align: left;
}

#qa .qa-slider .qa-slider__a-text p {
	margin: 0;
	font-size: 14px;
	line-height: 1.7;
	color: var(--qa-text) !important;
	word-break: break-word;
	text-align: left;
}

.qa-slider__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 2px solid var(--qa-pink-light);
	border-radius: 50%;
	background: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	transition: opacity 0.2s ease, border-color 0.2s ease;
}

.qa-slider__arrow--prev {
	left: -4px;
}

.qa-slider__arrow--next {
	right: -4px;
}

.qa-slider__arrow:hover:not(:disabled) {
	border-color: var(--qa-pink);
}

.qa-slider__arrow:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.qa-slider__arrow-icon {
	display: block;
	width: 10px;
	height: 10px;
	border-top: 2px solid var(--qa-pink);
	border-right: 2px solid var(--qa-pink);
	box-sizing: border-box;
}

.qa-slider__arrow--prev .qa-slider__arrow-icon {
	transform: rotate(-135deg);
	margin-left: 4px;
}

.qa-slider__arrow--next .qa-slider__arrow-icon {
	transform: rotate(45deg);
	margin-right: 4px;
}

.qa-slider.is-single .qa-slider__arrow,
.qa-slider.is-single .qa-slider__dots {
	display: none;
}

.qa-slider__dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 22px 0 0;
	padding: 0;
}

.qa-slider__dot {
	width: 10px;
	height: 10px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: var(--qa-pink-light);
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.qa-slider__dot.is-active {
	background: var(--qa-pink);
	transform: scale(1.15);
}

.qa-slider__dot:hover {
	background: var(--qa-pink);
	opacity: 0.85;
}

.qa-slider--empty {
	text-align: center;
	padding: 24px 16px;
}

#qa .qa-slider .qa-slider__empty {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--qa-text) !important;
}

@media (max-width: 480px) {
	#qa {
		padding: 32px 1px 40px;
	}

	.qa-slider__viewport {
		padding: 0 3px;
	}

	.qa-slider__arrow {
		width: 36px;
		height: 36px;
	}

	.qa-slider__arrow--prev {
		left: -8px;
	}

	.qa-slider__arrow--next {
		right: -8px;
	}

	.qa-slider__card {
		padding: 16px 14px 18px;
	}

}

@media (prefers-reduced-motion: reduce) {
	.qa-slider__slide {
		transition: none;
		transform: none;
	}
}
