/* ===== GOOGLE FONTS IMPORT ===== */
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&family=Prata&family=Cormorant+SC:wght@400;600;700&display=swap');

/* ===== GLOBAL STYLES ===== */
.js-animation {
	opacity: 0;
	transform: translateY(40px);
	transition: all 0.5s;
	padding: 0 10px;
	margin-bottom: 50px;
}

.js-animation.is-show {
	opacity: 1;
	visibility: visible;
	transform: translateY(0px);
}

/* ===== MAIN CONTAINER ===== */
.halloween_page {
	position: relative;
	background-size: 100% auto;
	background-color: #2B2B2B;
	padding-bottom: 30px;
}

.halloween_page *,
.halloween_page .brand,
.halloween_page h2,
.halloween_page h3 {
	color: #fff;
}

.halloween_page h2:after {
	display: none;
}

.halloween_page h2 {
	font-size: 12px;
	line-height: 1.5;
	margin: 12px 0 10px;
	font-weight: 400;
	font-family: 'Noto Serif JP', serif;
}

.halloween_page .price {
	padding-bottom: 6px;
}

/* ===== ANCHOR SCROLL MARGINS ===== */
#hw_sale,
#hw_ranking,
#hw_blog,
#hw_oni,
#hw_animal,
#hw_china,
#hw_character,
#hw_nurse,
#hw_police,
#hw_anier {
	scroll-margin-top: 0px;
}

/* ===== UTILITY CLASSES ===== */
.flex_box3,
.flex_box4 {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	margin: 10px auto;
}

.flex_box3 > * {
	display: block;
	width: calc(100% / 3 - 5px);
}

.flex_box4 > * {
	display: block;
	width: calc(100% / 4 - 5px);
}

.link_button {
	display: inline-block;
	padding: 6px 1em;
	border: 1px solid rgba(0, 0, 0, 0.3);
}

.fs-l-main {
	background: #fff;
}

/* ===== MORE VIEW BUTTONS ===== */
.hw_view {
	position: relative;
	text-align: center;
	z-index: 1;
	cursor: pointer;
	margin-top: -30px;
	margin-bottom: 60px;
}

/* ===== CATEGORY BANNER IMAGES ===== */
.js-animation > a > img {
	border-radius: 10px;
}

.hw_view a {
	text-decoration: none;
	border: 0.5px solid #ffffff;
	border-radius: 100px;
	padding: 8px 38px;
	color: #ffffff;
	font-size: 20px;
	font-family: 'Gotham', 'Gotham Light', 'Gotham-Light', 'Avenir Next', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
	font-weight: 300;
}

.hw_view a:hover {
	background: rgba(255, 255, 255, 0.08);
}

/* ===== SCROLL STYLES ===== */
.lala_scroll {
	overflow-x: scroll;
	white-space: nowrap;
	padding: 10px;
	margin-bottom: 30px;
}

.lala_scroll .content_box {
	display: inline-block;
	vertical-align: top;
	width: 85%;
	white-space: normal;
	margin-right: 10px;
	text-align: center;
	padding: 0 5px;
}

.lala_scroll .content_box p {
	margin: 0 auto;
	font-size: 10px;
	padding: 2px 4px;
	height: 4.9em;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}

@media screen and (min-width: 570px) {
	.lala_scroll .content_box p {
		height: 3.5em;
		-webkit-line-clamp: 3;
	}
}

.lala_scroll::-webkit-scrollbar {
	height: 6px;
	width: 100px;
}

.lala_scroll::-webkit-scrollbar-track {
	background-color: #eee;
}

.lala_scroll::-webkit-scrollbar-thumb {
	background-color: #E99F04;
	border-radius: 3px;
}

/* ===== CAROUSEL WRAPPER ===== */
.carousel-wrapper {
	position: relative;
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
}

.carousel-container {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.hw_box {
    display: flex;
    transition: none;
    width: 100%;
    gap: 15px;
    padding: 0 20px;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    cursor: auto;
    /* Enable native horizontal scrolling with scroll snap */
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 20px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge legacy */
}

.hw_box.grabbing {
    cursor: auto;
    transition: none !important;
}

.hw_box a {
    flex: 0 0 calc(20% - 12px);
    min-width: 100px;
    text-align: center;
    text-decoration: none;
    color: #000000;
    pointer-events: auto;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.hw_box img {
	width: 100%;
	max-width: 100px;
	height: 100px;
	border-radius: 50%;
	object-fit: cover;
	aspect-ratio: 1/1;
	
}

.hw_box p {
	font-size: 13px;
}

.carousel-indicators {
	position: relative;
	margin: 15px auto 50px;
	width: 200px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	z-index: 10;
}

.progress-bar {
	width: 200px;
	height: 6px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 3px;
	position: relative;
}

.progress-fill {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 60px;
	background: #B061BD;
	border-radius: 3px;
	transition: left 0.3s ease;
}

@media screen and (max-width: 490px) {
    .hw_box {
        gap: 10px;
        padding: 0 10px;
        /* keep native horizontal scroll */
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
	.hw_box a {
		flex: 0 0 calc(20% - 8px);
		min-width: 80px;
	}
	.hw_box img {
		max-width: 80px;
		height: 80px;
	}
}

/* ===== DESKTOP NAVIGATION ADJUSTMENT ===== */
@media screen and (min-width: 491px) {
    .carousel-wrapper {
        max-width: 600px;
    }
}

@media screen and (max-width: 360px) {
	.hw_box {
		gap: 8px;
		padding: 0 8px;
	}
	.hw_box a {
		flex: 0 0 calc(20% - 6px);
		min-width: 70px;
	}
	.hw_box img {
		max-width: 70px;
		height: 70px;
	}
}

/* ===== UTILITY CLASSES ===== */
.hw_separator {
	border-top: 1px solid #65573a;
	margin: 20px auto;
	width: 90%;
}

.box2 a {
	min-width: 120px;
	flex-shrink: 0;
}

.box2 {
	justify-content: flex-start;
}

.clum4x2 {
	margin-bottom: 35px !important;
	margin-top: 10px;
}

/* ===== SEOBOX SECTION ===== */
.seobox {
	position: relative;
	margin: 20px 0 20px 0;
	padding: 20px;
	
	
}

.seobox-content {
	position: relative;
}

.seobox-preview {
	margin: 0;
	line-height: 1.6;
	font-family: 'Hiragino Mincho Pro W3', serif;
	font-size: 11px;
}

.seobox-full {
	margin-top: 15px;
	line-height: 1.6;
	font-family: 'Hiragino Mincho Pro W3', serif;
	font-size: 11px;
	opacity: 0;
	max-height: 0;
	overflow: hidden;
	transition: all 0.4s ease-in-out;
	display: none;
}

.seobox-full.show {
	opacity: 1;
	max-height: 1000px;
}

.seobox-toggle {
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	background: none;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	padding: 3px 5px;
}

.seobox-toggle:hover {
	transform: translateX(-50%) scale(1.1);
}

.seobox-toggle .arrow {
	width: 20px;
	height: 15px;
	transition: transform 0.3s ease;
	filter: brightness(0) saturate(100%) invert(89%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(89%) contrast(89%);
}

.seobox-toggle.expanded .arrow {
	transform: rotate(180deg);
}

/* ===== SHIPPING BANNER ===== */
.shipping-banner {
	display: flex;
	justify-content: center;
	margin: 40px 0 40px;
}

.shipping-banner .pill {
	background: #EB8B00;
	color: #ffffff;
	border-radius: 999px;
	padding: 6px 25px;
	font-family: 'Hiragino Mincho Pro W6', serif;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.04em;
	display: inline-block;
	text-align: center;
}

.shipping-banner .pill-main {
	display: block;
	color: #fff;
}

.shipping-banner .pill-subtitle {
	color: #fff;
	font-family: 'Hiragino Mincho Pro W3', serif;
	font-size: 10px;
	font-weight: 400;
	letter-spacing: 0.02em;
	display: block;
	margin-top: 0px;
}

/* ===== NAVIGATION INTRO TITLE ===== */
.halloween_page .nav-intro-title {
	text-align: center;
	color: #fff;
	font-family: 'Hiragino Mincho Pro', 'Noto Serif JP', serif;
	font-size: 16px;
	font-weight:500;
	margin: 30px 0 20px !important;
}


/* ===== SECTION STYLES ===== */
.js-animation[aria-labelledby="hw_sale"] {
	margin-top: 60px;
}

#hw_ranking,
#hw_category {
	font-family: 'Cormorant SC', serif;
	font-weight: 400;
	color: #fff;
	font-size: 18px;
	text-align: center;
}

/* Desktop: Larger font size */
@media screen and (min-width: 768px) {
	#hw_ranking,
	#hw_category {
		font-size: 24px;
	}
}

#hw_ranking + h3 {
	text-align: center;
	margin: -5px 0 10px;
	font-size: 14px;
	color: #fff;
	font-family: 'Hiragino Mincho Pro W3', serif;
}

/* ===== DIVIDER LINES ===== */
.divider-line {
	width: 95%;
	height: 1px;
	margin: 4px auto;
	background: linear-gradient(to right, #2B2B2B, #ffffff, #2B2B2B);
}

.divider-line.ranking {
	margin-bottom: -10px;
}

/* ===== BANNER IMAGES ===== */
.hw-top-banner {
	width: 100%;
	max-width: 600px;
	height: auto;
	display: block;
	margin: 0 auto;
}

.halloween_page .js-animation img {
	width: 100%;
	max-width: 800px;
	height: auto;
}

/* ===== IMAGES ===== */
.halloween_page img[class*="lazyload"] {
    width: 100%;
    max-width: 800px;
    height: auto;
}

.halloween_page img[class*="lazyload"].bunny {
	margin-top: 40px;
}

/* ===== SPECIAL HEADINGS ===== */

#hw_anier {
	margin: 12px 0 10px;
	line-height: 1.3;
}

#hw_ranking[style*="font-family"] {
    font-family: 'Hiragino Mincho Pro W3', serif;
}

/* Blog and Search section title styles */
#hw_blog,
#hw_search {
	font-family: 'Hiragino Mincho Pro W3', serif;
	font-weight: 400;
	font-size: 18px;
}

/* Blog section specific styles */
#hw_blog {
	color: #fff;
}

/* Search section specific styles */
#hw_search {
	color: #000000;
}

/* Desktop: Larger font size */
@media screen and (min-width: 768px) {
	#hw_blog,
	#hw_search {
		font-size: 24px;
	}
}

/* Hide scrollbar (WebKit) on snap scroller */
.hw_box::-webkit-scrollbar { display: none; }


/* ===== BLOG GRID STYLES ===== */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
}

.blog-grid .content_box {
    width: 100%;
    margin: 0;
}

.blog-grid .content_box img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.blog-grid .content_box p {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .blog-grid .content_box p {
        font-size: 12px;
    }
}
}