:root {
	--text: #0b2540;
	--accent: #00bcd4;
	--muted: #6b7b8a;
	--kv-aspect: 4/3;
	/* 拡大率を抑えるため少し横長に */
}

/* Layout */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2rem;
	/* ヘッダー・フッターの余白と統一 */
}

.hidden {
	display: none !important;
}

/* Animations */
@keyframes fadeUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.anim-fade-up {
	opacity: 0;
	animation: fadeUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.delay-1 {
	animation-delay: 0.1s;
}

.delay-2 {
	animation-delay: 0.2s;
}

/* Hero Section / KV Fixes */
.hero {
	padding: 60px 0;
	background: #ffffff;
	border-bottom: 2px solid #eeeeee;
	overflow-x: hidden;
	/* 右側へのはみ出しによる横スクロールを防止 */
}

.hero-inner {
	text-align: left;
	padding: 0 2rem;
	border-radius: 0;
	background: transparent;
	border: none;
	box-shadow: none;
	backdrop-filter: none;
	position: relative;
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(340px, 1fr) 1.5fr;
	align-items: start;
	/* 上揃えに変更 */
	gap: 10px;
	/* 間隔をさらに詰める */
}

.hero-logo {
	width: 90%;
	max-width: 420px;
	height: auto;
	margin-bottom: 15px;
	/* テキストとの距離を詰める */
	display: block;
}

.hero-content {
	flex: 1 1 auto;
	max-width: var(--hero-content-max, 560px)
}

.catch {
	font-size: clamp(2rem, 4vw, 3.2rem);
	margin: 0 0 20px;
	color: #4a637a;
	line-height: 1.3;
	font-weight: normal;
	text-align: left;
}

.subtitle {
	color: #6b7b8a;
	margin: 0 0 28px;
	font-size: 1.15rem;
	line-height: 1.8;
}

.hero-cta {
	display: flex;
	gap: 12px;
}

.btn {
	display: inline-block;
	padding: 14px 28px;
	border-radius: 24px;
	text-decoration: none;
	font-weight: 700;
	position: relative;
	overflow: hidden;
	transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn:hover {
	transform: scale(1.06);
}

.btn.primary {
	background: #4a637a;
	color: #fff;
}

.btn.primary:hover {
	transform: translateY(-2px) scale(1.06);
	background: #3a4f61;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn.ghost {
	background: #ffffff;
	color: #4a637a;
	border: 1.5px solid #d6e1e6;
}

.btn.ghost:hover {
	transform: translateY(-2px) scale(1.06);
	background: #f8fbff;
	border-color: var(--accent);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.btn.small {
	padding: 6px 10px;
	font-size: 0.9rem;
	border-radius: 8px
}

.hero-media {
	justify-self: end;
	width: 100%;
	margin-left: -80px;
	/* さらに左に寄せる */
	position: relative;
	z-index: 1;
}

@media (min-width: 1232px) {
	.hero-media {
		margin-right: calc((1200px - 100vw) / 2 - 16px);
	}
}

@media (max-width: 1231px) {
	.hero-media {
		margin-right: -16px;
	}
}

.kv-wrap {
	width: 590px;
	/* 指定のサイズに調整 */
	height: 590px;
	aspect-ratio: 1 / 1;
	/* 正方形に固定 */
	max-width: 100%;
	overflow: hidden;
	border: 4px solid #000000;
	/* より引き締まった黒に変更 */
	border-radius: 20px;
	background: #ffffff;
	box-shadow: 8px 8px 25px rgba(0, 0, 0, 0.1);
	/* 影を少し深めてプレミアムに */
	padding: 0;
	margin: 0;
}

.kv-wrap {
	min-height: 360px
}

.hero-art {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	margin: 0;
	border-radius: 12px;
	background-color: transparent;
	opacity: 1;
	transition: opacity .6s ease
}

.hero-art img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* 正方形の枠を端まで埋める */
	display: block;
	transition: opacity .6s ease, transform .25s ease
}

.hero-art.fade-out img {
	opacity: 0
}

.hero-art:not(.fade-out) img {
	opacity: 1
}

.hidden-sm {
	display: block
}

/* Popular Products Section */
.popular-products {
	padding: 56px 2rem 60px;
}

.popular-products .section-header {
	max-width: calc(4 * 300px + 3 * 1.8rem);
	width: 110%;
	margin-left: auto;
	margin-right: auto;
	transform: translateX(-60px);
}

.popular-products .product-grid {
	padding: 0;
}

.popular-products .view-all {
	background: #ffffff;
	color: #4a637a;
	border: 1.5px solid #d6e1e6;
	border-radius: 999px;
	font-weight: 400;
	font-size: 0.9375rem;
	padding: 0.8rem 1.8rem;
	line-height: 1;
}

.popular-products .view-all:hover {
	background: #f8fbff;
	border-color: #00bcd4;
	color: #3a4f61;
}

/* product-grid, product-card, section-header 関連のスタイルは common.css に移動しました */

/* product-grid, product-card 関連のスタイルは product-list.css と共通化されたため削除しました */

/* Points Section */
.points-section {
	padding: 60px 0;
	background: #fdfdfd;
}

.points-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.point-item {
	text-align: center;
	padding: 28px;
	background: #ffffff;
	border: 2px solid #eef3f6;
	border-radius: 24px;
	transition: all 0.35s ease;
}

.point-item:hover {
	transform: translateY(-5px);
	border-color: var(--accent);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.point-icon-wrap {
	margin: 0 auto 16px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.svg-icon-large {
	width: 64px;
	height: 64px;
	object-fit: contain;
}

.point-item h3 {
	font-size: 1.2rem;
	margin-bottom: 8px;
	color: var(--text);
}

.point-item p {
	font-size: 0.9rem;
	color: var(--muted);
	line-height: 1.6;
}

/* About Section */
.about-section {
	padding: 100px 0;
	position: relative;
	background: linear-gradient(90deg, #E6F1F1 0%, #ffffff 50%, #E6F1F1 100%);
	overflow: hidden;
}

.about-inner {
	position: relative;
	z-index: 2;
	text-align: center;
}

.about-content {
	max-width: 100%;
	margin: 0 auto;
	background: transparent;
	padding: 40px;
	border: none;
	box-shadow: none;
	backdrop-filter: none;
}

.about-content h2 {
	font-size: 2.2rem;
	margin-bottom: 24px;
	color: #4a637a;
	font-weight: 700;
}

.about-content p {
	font-size: 1.15rem;
	line-height: 1.8;
	color: #6b7b8a;
	margin-bottom: 30px;
}

.about-btn-wrap {
	margin-top: 10px;
}

.about-bg-media {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 120%;
	height: 120%;
	z-index: 1;
	opacity: 0.15;
	pointer-events: none;
}

.about-bg-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: blur(40px);
}

/* 検索結果セクションのスタイルは common.css に移動しました */

/* Intro overlay animation */
.intro-overlay {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(180deg, #eaf6ff 0%, #dff8ff 60%);
	z-index: 9999;
	pointer-events: auto;
	opacity: 1;
	transition: opacity .42s ease, transform .42s ease
}

.intro-overlay.intro-hide {
	opacity: 0;
	transform: translateY(6px)
}

.intro-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	backdrop-filter: blur(6px) saturate(120%);
	padding: 18px;
	border-radius: 14px;
	box-shadow: 0 30px 80px rgba(3, 25, 40, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.04)
}

.intro-logo {
	width: 200px;
	height: auto;
	opacity: 0;
	filter: drop-shadow(0 18px 48px rgba(3, 25, 40, 0.28));
	transform: translateZ(0) scale(.96);
	transition: opacity .7s ease, transform .7s cubic-bezier(.2, .9, .2, 1)
}

.intro-overlay.intro-start .intro-logo {
	opacity: 1;
	transform: scale(1) rotateX(6deg)
}

.product-name {
	font-size: 1.05rem;
	color: #5f6368;
	margin-bottom: 0.4rem;
	font-weight: 700;
	line-height: 1.4;
}

.intro-progress {
	font-size: 1.05rem;
	color: var(--text);
	opacity: 0.98;
	font-weight: 900;
	letter-spacing: 0.8px;
}

.intro-ring {
	width: 84px;
	height: 84px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: conic-gradient(rgba(0, 188, 212, 0.9) var(--p, 0%), rgba(255, 255, 255, 0.06) 0%);
	box-shadow: 0 12px 40px rgba(3, 25, 40, 0.36);
	border: 6px solid rgba(255, 255, 255, 0.06)
}

.intro-ring .inner {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
	color: var(--text);
	font-weight: 800
}

.intro-overlay.hidden {
	display: none;
	pointer-events: none
}

/* Responsiveness */
@media (max-width: 900px) {
	.product-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.product-grid {
		grid-template-columns: 1fr;
	}

	.intro-logo {
		width: 150px;
	}
}

/* Cart Sidebar */
.cart-sidebar-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.3);
	backdrop-filter: blur(4px);
	z-index: 2000;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}

.cart-sidebar-overlay.active {
	opacity: 1;
	visibility: visible;
}

.cart-sidebar {
	position: fixed;
	top: 0;
	right: -400px;
	width: 400px;
	height: 100%;
	background: #ffffff;
	z-index: 2001;
	box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
	transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	flex-direction: column;
}

.cart-sidebar.active {
	right: 0;
}

.cart-header {
	padding: 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid #eff3f6;
}

.cart-title {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 1.5rem;
	font-weight: 700;
	color: #2c3e50;
}

/* ヘッダーのモバイルスタイルは common.css で管理 */

.cart-content {
	flex: 1;
	padding: 24px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.empty-cart-view {
	text-align: center;
}

.empty-cart-icon {
	width: 100px;
	height: 100px;
	background: #f0f7ff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
	color: #a8c1d9;
}

.empty-cart-icon .svg-icon {
	width: 48px;
	height: 48px;
}

.empty-msg-title {
	font-size: 1.1rem;
	font-weight: 700;
	color: #6b7b8a;
	margin: 0 0 8px;
}

.empty-msg-sub {
	font-size: 0.9rem;
	color: #a8c1d9;
}

/* --- Mobile Responsiveness --- */

/* Tablet & Mobile */
@media (max-width: 1024px) {
	.hero-grid {
		grid-template-columns: 1fr;
		gap: 40px;
		text-align: center;
	}

	.hero-media,
	.hidden-sm {
		display: none !important;
	}

	.hero-content {
		max-width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.hero-logo {
		margin: 0 auto 20px;
	}

	.catch {
		text-align: center;
	}

	.hero-media {
		margin: 0 auto;
		justify-self: center;
	}

	.kv-wrap {
		width: 480px;
		height: auto;
		min-height: 0;
	}

	.points-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.about-inner {
		padding: 0 20px;
	}
}

/* Landscape Mobile */
@media (max-width: 768px) {
	.popular-products .section-header {
		flex-direction: row;
		align-items: center;
		gap: 12px;
		margin-bottom: 20px;
		transform: none;
		width: 100%;
	}

	.popular-products .title-wrap h2 {
		font-size: 2rem;
		line-height: 1.15;
	}

	.popular-products .section-subtitle {
		font-size: 1rem;
		line-height: 1.5;
	}

	.popular-products .view-all {
		align-self: auto;
		flex-shrink: 0;
	}

	.popular-products.product-list-page .product-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 15px;
	}

	.product-list-page .product-card {
		width: 100%;
		height: auto;
		min-height: 400px;
	}

	.product-list-page .product-image {
		aspect-ratio: 1/1;
	}

	.points-grid {
		grid-template-columns: 1fr;
	}

	.about-content {
		padding: 30px 20px;
	}

	.about-content h2 {
		font-size: 1.6rem;
	}
}

/* Small Mobile */
@media (max-width: 480px) {
	.hero {
		padding: 30px 0 40px;
	}

	.catch {
		font-size: 2rem;
	}

	.subtitle {
		font-size: 0.9rem;
	}

	.hero-cta {
		flex-direction: column;
		width: calc(100% - 2rem);
		gap: 10px;
		margin-top: 8px;
	}

	.btn {
		width: 100%;
		text-align: center;
		padding: 11px 20px;
		font-size: 0.95rem;
		font-weight: 400;
	}

	.popular-products {
		padding: 44px 1.25rem 48px;
	}

	.popular-products .view-all {
		width: auto;
		text-align: center;
		padding: 0.7rem 1.4rem;
	}

	.popular-products .title-wrap h2 {
		font-size: 1.7rem;
	}

	.popular-products .section-subtitle {
		font-size: 0.9rem;
	}

	.kv-wrap {
		width: 260px;
		height: auto;
		min-height: 0;
	}

	.popular-products.product-list-page .product-grid {
		grid-template-columns: 1fr;
	}

	.about-content h2 {
		font-size: 1.3rem;
	}

	.about-content p {
		font-size: 0.9rem;
	}
}

/* Bottom cleanup completed */