/*
 * Add
 */
.important-txt .most-important{
	font-weight:bold;
}

.recommend-unit img,
.checked-unit img {
	-webkit-box-shadow: 0 1px 4px rgba(25, 25, 25, 0.2);
	-moz-box-shadow: 0 1px 4px rgba(25, 25, 25, 0.2);
	box-shadow: 0 1px 4px rgba(25, 25, 25, 0.2);
	max-width: 100%;
	height: auto;
}

#top-wrapper{
}

/* スマホ専用バナーエリア（PCでは非表示） */
.sp-only-banner {
	display: none;
	width: 100%;
	box-sizing: border-box;
}

.sp-banner-item {
	margin-bottom: 12px; /* バナー同士の縦の隙間 */
}

.sp-banner-item:last-child {
	margin-bottom: 0; /* 最後のバナーの下隙間は削除 */
}

.sp-banner-item img {
	width: 100%;
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
	border-radius: 4px; /* お好みで角を少し丸く調整 */
}

/* 重要なお知らせ（常に横幅100%） */
.important-info {
	display: block;            
	box-sizing: border-box;    
	width: 100%;               
	font-size: 14px;
	background: #ffe8e8;
	border: #cd5d5d 1px solid;
	margin-bottom: 20px;
	text-align: center;
	padding: 20px 30px;
}

.important-title {
	display: inline-block;
	box-sizing: border-box;
	color: #fff;
	background: #cd5d5d;
	border-radius: 100px;
	padding: 3px 10px;
	text-align: center;
	width: 100%;
	max-width: 350px;           
	margin-bottom: 10px;
	font-size: 16px;
	font-weight: bold;
}

.important-txt {
	width: 100%;
	box-sizing: border-box;
	color: #000;
	background: none;
	text-align: left;
	font-size: 16px;
	margin-left: 0;             
	padding: 0 10px;
}

.important-txt ul{
	margin: 0; 
	padding-left: 20px;         
}

/* 販売休止のお知らせ */
.holiday-info {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 20px 30px;
	margin-bottom: 20px;
	font-size: 14px;
	text-align: center;
	background: #fff4e5;
	border: 1px solid #e67e22;
}

.holiday-title {
	display: inline-block;
	box-sizing: border-box;
	width: 100%;
	max-width: 350px;
	padding: 3px 10px;
	margin-bottom: 15px;
	color: #fff;
	background: #e67e22;
	border-radius: 100px;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
}

.holiday-txt {
	color: #000;
	text-align: left;
	font-size: 16px;
	line-height: 1.5;
	word-wrap: break-word;
}

.holiday-txt p {
	margin: 0 0 12px 0;
}

.holiday-txt ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.holiday-txt li {
	margin: 2px 0;
	padding: 0;
	line-height: 1.4;
}

.holiday-period {
	margin: 18px 0;
	padding: 12px 15px;
	border: 2px solid #e67e22;
	background: #fffaf3;
	text-align: center;
	border-radius: 5px;
	box-sizing: border-box;
}

.period-title {
	font-size: 15px;
	font-weight: bold;
	color: #d35400;
	margin-bottom: 5px;
}

.period-date {
	font-size: 22px;
	font-weight: bold;
	color: #c0392b;
}

.holiday-txt strong {
	color: #d35400;
}

/* ==========================================
   トグルボックス（開閉アコーディオン）
   ========================================== */
.toggle-box {
	width: 100%;
	border-bottom: 1.5px solid #333;
	box-sizing: border-box;
}

.toggle-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 5px;
	font-size: 16px;
	font-weight: bold;
	color: #333;
	cursor: pointer;
	list-style: none;
}

.toggle-header::-webkit-details-marker {
	display: none;
}

.toggle-icon {
	position: relative;
	width: 12px;
	height: 12px;
}

.toggle-icon::before,
.toggle-icon::after {
	content: '';
	position: absolute;
	background-color: #333;
	transition: transform 0.3s ease;
}

.toggle-icon::before {
	top: 5px;
	left: 0;
	width: 12px;
	height: 2px;
}

.toggle-icon::after {
	top: 0;
	left: 5px;
	width: 2px;
	height: 12px;
}

.toggle-box[open] .toggle-icon::after {
	transform: rotate(90deg);
}

.toggle-content {
	padding: 12px 0;
}

.info-box {
	background: #fff;
	padding: 10px 15px;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	font-size: 13px;
	line-height: 1.5;
}

/* ==========================================
   商品カードのコンパクト化・均一化
   ========================================== */
.product-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.product-card {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 4px;
	padding: 10px;
	box-sizing: border-box;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.product-img-wrap {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	margin-bottom: 6px;
	background: #f9f9f9;
}

.product-img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	box-shadow: 0 1px 3px rgba(25, 25, 25, 0.1);
}

.product-name {
	font-size: 13px;
	font-weight: bold;
	color: #333;
	text-decoration: none;
	margin-bottom: 5px;
	line-height: 1.3;
}

.product-expl {
	font-size: 11px;
	color: #666;
	margin-bottom: 6px;
}

.product-price-box {
	margin-top: auto;
	font-weight: bold;
	font-size: 12px;
}

.discount-badge {
	color: #e74c3c;
	font-weight: bold;
	margin-left: 3px;
}

.soldout-text {
	color: #888;
	font-weight: bold;
}

/* ==========================================
   768px以下のレスポンシブ設定
   ========================================== */
@media screen and (max-width: 768px) {
	/* スマホ表示時のみバナーを表示 */
	.sp-only-banner {
		display: block;
	}

	/* スマホ版ではスライド非表示 */
	.slider {
		display: none !important;
	}

	.holiday-info, .important-info {
		padding: 15px 20px;
	}

	.period-date {
		font-size: 18px;
	}

	.product-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}
}

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