/*
 * デザイン案4「カラーインデックス」（2026-10-17。docs/design-options/README.md の 4-3・design-4-research.md）
 *
 * 明るい灰色の地に白いカード、濃い文字。成分のラインごとの色で選べるようにする。
 * 日本語は IBM Plex Sans JP（OFL。assets/css/gb-font-plex-jp.css）、英字と数字は Archivo（OFL。案1 と同じファイル）。
 * 参考にした見た目（ユーザーが購入したテーマ。権利の取り決めなし）の値はそのまま写さず、この案のために決めた値。
 * 当てるのは body.gb-design-4 のときだけ（inc/design-options.php）。購入手続き・法定ページ・年齢確認には当てない。
 */

@font-face {
	font-family: 'GB Archivo';
	src: url('../fonts/archivo-latin.woff2') format('woff2');
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-display: swap;
}

body.gb-design-4 {
	--gb-d4-bg: #f1f2f4;
	--gb-d4-surface: #ffffff;
	--gb-d4-ink: #17181c;
	--gb-d4-ink-2: #3b3e46;
	--gb-d4-muted: #5d616b;
	--gb-d4-line: #dfe2e7;
	--gb-d4-soft: #eceef2;
	--gb-d4-ok: #23704f;
	--gb-d4-ok-bg: #e1f1e9;
	--gb-d4-warn: #a14d12;
	--gb-d4-radius: 14px;
	--gb-d4-radius-s: 10px;
	--gb-d4-en: 'GB Archivo', 'GB Plex JP', sans-serif;
	--gb-font-body: 'GB Plex JP', 'Noto Sans Japanese', sans-serif;
	--gb-font-heading: 'GB Plex JP', 'Noto Sans Japanese', sans-serif;
	--gb-color-bg: var(--gb-d4-bg);
	--gb-color-bg-rgb: 241, 242, 244;
	--gb-color-text: var(--gb-d4-ink-2);
	--gb-color-text-rgb: 59, 62, 70;
	--gb-color-heading: var(--gb-d4-ink);
	--gb-heading-gradient: none;
	--gb-color-accent: var(--gb-d4-ink);
	--gb-color-accent-hover: #34363d;
	--gb-color-border: var(--gb-d4-line);
	--gb-color-card-bg: var(--gb-d4-surface);
	--gb-btn-bg: var(--gb-d4-ink);
	--gb-btn-bg-hover: #34363d;
	--gb-btn-text: #ffffff;
	--gb-announce-bg: var(--gb-d4-ink);
	--gb-announce-text: #ffffff;
	--gb-header-bg: #ffffff;
	--gb-header-text: var(--gb-d4-ink);
	--gb-header-link: var(--gb-d4-ink);
	--gb-header-icon: var(--gb-d4-ink);
	--gb-header-border: var(--gb-d4-line);
	--gb-footer-bg: var(--gb-d4-ink);
	--gb-footer-heading: #ffffff;
	--gb-footer-text: #b9bcc4;
	--gb-footer-link: #ffffff;
	--gb-footer-link-hover: #b9bcc4;
	--gb-footer-border: #2c2e34;
	--gb-radius-block: var(--gb-d4-radius-s);
	--gb-radius-button: 999px;
	--gb-radius-input: var(--gb-d4-radius-s);
	--gb-shadow-block: none;
	background: var(--gb-d4-bg);
	font-feature-settings: 'palt';
	letter-spacing: 0.01em;
}

body.gb-design-4 .gb-d4-num {
	font-family: var(--gb-d4-en);
	font-variant-numeric: tabular-nums;
	font-stretch: 92%;
}

/* ------------------------------------------------------------------ 共通の見出し・ボタン */

body.gb-design-4 .gb-h,
body.gb-design-4 .gb-sec-header__title {
	background: none;
	-webkit-text-fill-color: currentColor;
	color: var(--gb-d4-ink);
	letter-spacing: 0.02em;
}

body.gb-design-4 .gb-btn {
	min-height: 48px;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.gb-d4-h2 {
	margin: 0;
	color: var(--gb-d4-ink);
	font-size: clamp(22px, 2.6vw, 30px);
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0.02em;
}

.gb-d4-h3 {
	margin: 0 0 10px;
	color: var(--gb-d4-ink);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.5;
}

.gb-d4-head {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: 20px;
}

.gb-d4-head__text {
	margin: 6px 0 0;
	color: var(--gb-d4-muted);
	font-size: 14px;
	line-height: 1.7;
}

.gb-d4-head__more {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	color: var(--gb-d4-ink);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.gb-d4-head__more:hover {
	text-decoration: underline;
}

/* セクションの間 */
body.gb-design-4 .gb-sec[data-gb-section^='ds4-'] {
	margin-top: 0;
	margin-bottom: 0;
	padding: 36px 0;
}

@media (min-width: 768px) {
	body.gb-design-4 .gb-sec[data-gb-section^='ds4-'] {
		padding: 56px 0;
	}
}

body.gb-design-4 .gb-sec[data-gb-section='ds4-slider'] {
	padding: 0;
}

body.gb-design-4 .gb-sec[data-gb-section='ds4-quicklinks'] {
	padding: 0;
}

body.gb-design-4 .gb-sec[data-gb-section='ds4-quality'] {
	padding: 0;
}

/* ------------------------------------------------------------------ 成分のチップ・残りわずか・「＋追加」 */

.gb-d4-chips {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 4px;
}

.gb-d4-chip {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 3px 9px 3px 7px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--gb-d4-chip, #17181c) 12%, #ffffff);
	color: var(--gb-d4-chip, #17181c);
	font-family: var(--gb-d4-en);
	font-size: 11.5px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.03em;
	white-space: nowrap;
}

.gb-d4-chip::before {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
	content: '';
}

.gb-d4-low {
	color: var(--gb-d4-warn);
	font-size: 12px;
	font-weight: 700;
}

.gb-d4-add {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 16px;
	border: 1.5px solid var(--gb-d4-ink);
	border-radius: 999px;
	background: var(--gb-d4-ink);
	color: #ffffff;
	font: 700 13px/1 var(--gb-font-body);
	letter-spacing: 0.04em;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}

.gb-d4-add:hover {
	background: #34363d;
}

.gb-d4-add.is-choose {
	background: #ffffff;
	color: var(--gb-d4-ink);
}

.gb-d4-add.is-choose:hover {
	background: var(--gb-d4-soft);
}

.gb-d4-add[aria-busy='true'] {
	opacity: 0.6;
	pointer-events: none;
}

.gb-d4-add.is-added {
	border-color: var(--gb-d4-ok);
	background: var(--gb-d4-ok);
}

/* ------------------------------------------------------------------ 商品カード */

body.gb-design-4 .gb-card {
	display: flex;
	flex-direction: column;
	margin-bottom: 20px;
	padding: 10px 10px 14px;
	border-radius: var(--gb-d4-radius);
	background: var(--gb-d4-surface);
	text-align: left;
}

body.gb-design-4 .gb-card__media {
	margin-bottom: 10px;
}

body.gb-design-4 .gb-card__image-link {
	border-radius: var(--gb-d4-radius-s);
	background: var(--gb-d4-soft);
}

body.gb-design-4 .gb-card__info {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 4px;
	padding: 0 4px;
}

body.gb-design-4 .gb-card__vendor {
	display: none;
}

body.gb-design-4 .gb-card__title {
	color: var(--gb-d4-ink);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
}

body.gb-design-4 .gb-card__price {
	font-family: var(--gb-d4-en);
	font-size: 15px;
	font-weight: 700;
}

.gb-d4-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
	order: -1;
	min-height: 22px;
}

.gb-d4-card__add {
	align-self: stretch;
	margin-top: auto;
	padding-top: 0;
}

body.gb-design-4 .gb-card__info .gb-d4-card__add {
	margin-top: 10px;
}

/* ------------------------------------------------------------------ メインのスライド */

.gb-d4-slider {
	position: relative;
	overflow: hidden;
	background: var(--gb-d4-ink);
}

.gb-d4-slider__track {
	display: flex;
	transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
	will-change: transform;
}

.gb-d4-slide {
	position: relative;
	flex: 0 0 100%;
	min-height: 520px;
	overflow: hidden;
}

@media (min-width: 768px) {
	.gb-d4-slide {
		min-height: 560px;
	}
}

.gb-d4-slide--color {
	display: flex;
	align-items: center;
	background: var(--gb-d4-slide-bg);
	color: #ffffff;
}

.gb-d4-slide--color.is-light {
	color: var(--gb-d4-ink);
}

.gb-d4-slide__inner {
	display: grid;
	gap: 18px;
	align-items: center;
	width: 100%;
	padding-top: 56px;
	padding-bottom: 40px;
}

@media (min-width: 768px) {
	.gb-d4-slide__inner {
		grid-template-columns: 1.1fr 0.9fr;
		gap: 40px;
		padding-top: 40px;
	}
}

.gb-d4-slide__kicker {
	margin: 0 0 12px;
	font-family: var(--gb-d4-en);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	opacity: 0.8;
}

.gb-d4-slide__heading {
	margin: 0;
	font-size: clamp(30px, 5.2vw, 56px);
	font-weight: 700;
	line-height: 1.22;
	letter-spacing: 0.01em;
}

.gb-d4-slide__text {
	max-width: 30em;
	margin: 16px 0 0;
	font-size: 15px;
	line-height: 1.8;
	opacity: 0.9;
}

.gb-d4-slide__button {
	margin-top: 24px;
	--gb-btn-bg: #ffffff;
	--gb-btn-bg-hover: #e9eaee;
	--gb-btn-text: var(--gb-d4-ink);
}

.gb-d4-slide--color.is-light .gb-d4-slide__button {
	--gb-btn-bg: var(--gb-d4-ink);
	--gb-btn-bg-hover: #34363d;
	--gb-btn-text: #ffffff;
}

.gb-d4-slide__media {
	position: relative;
	justify-self: center;
	width: min(54vw, 360px);
}

@media (min-width: 768px) {
	.gb-d4-slide__media {
		width: min(36vw, 380px);
	}
}

.gb-d4-slide__product {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.gb-d4-chips--slide {
	position: absolute;
	bottom: 6%;
	left: 50%;
	transform: translateX(-50%);
}

.gb-d4-chips--slide .gb-d4-chip {
	background: #ffffff;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}

.gb-d4-slide--image {
	background: var(--gb-d4-ink);
}

.gb-d4-slide__link {
	display: block;
	height: 100%;
}

.gb-d4-slide__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gb-d4-slider__progress {
	position: absolute;
	top: 14px;
	right: 16px;
	left: 16px;
	z-index: 3;
	display: flex;
	gap: 6px;
}

.gb-d4-slider__bar {
	flex: 1;
	height: 3px;
	overflow: hidden;
	border-radius: 3px;
	background: rgba(255, 255, 255, 0.32);
}

.gb-d4-slider__bar i {
	display: block;
	width: 0;
	height: 100%;
	background: #ffffff;
}

.gb-d4-slider__bar.is-done i {
	width: 100%;
}

.gb-d4-slider__bar.is-current i {
	animation: gb-d4-progress var(--gb-d4-interval, 6000ms) linear forwards;
}

.gb-d4-slider.is-paused .gb-d4-slider__bar.is-current i {
	animation-play-state: paused;
}

@keyframes gb-d4-progress {
	from {
		width: 0;
	}

	to {
		width: 100%;
	}
}

.gb-d4-slider__controls {
	position: absolute;
	right: 16px;
	bottom: 16px;
	z-index: 3;
	display: flex;
	gap: 8px;
}

.gb-d4-slider__arrow {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--gb-d4-ink);
	cursor: pointer;
}

/* 色のスライドの写真（パッケージの写真。丸ではなく角の丸い四角） */
.gb-d4-slide__product--photo {
	border-radius: 18px;
}

/* 画像のスライドで、パソコン用の画像がないとき（縦長の画像だけ）：スマホは全面、パソコンは左に見出し・右に画像。地はぼかし */
.gb-d4-slide--portrait {
	display: flex;
	align-items: center;
	color: #ffffff;
}

.gb-d4-slide__blur {
	position: absolute;
	inset: -40px;
	width: calc(100% + 80px);
	max-width: none;
	height: calc(100% + 80px);
	object-fit: cover;
	filter: blur(34px) brightness(0.55) saturate(1.1);
	pointer-events: none;
}

.gb-d4-slide--portrait .gb-d4-slide__copy {
	display: none;
}

.gb-d4-slide__portrait {
	position: absolute;
	inset: 0;
	display: block;
}

.gb-d4-slide__portrait-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

@media (min-width: 768px) {
	.gb-d4-slide--portrait .gb-d4-slide__inner {
		position: relative;
		z-index: 1;
	}

	.gb-d4-slide--portrait .gb-d4-slide__copy {
		display: block;
	}

	.gb-d4-slide--portrait .gb-d4-slide__heading {
		color: #ffffff;
	}

	.gb-d4-slide__portrait {
		position: relative;
		inset: auto;
		justify-self: center;
	}

	.gb-d4-slide__portrait-img {
		width: auto;
		height: min(480px, 70vh);
		border-radius: 14px;
		box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
	}
}

@media (prefers-reduced-motion: reduce) {
	.gb-d4-slider__track {
		transition: none;
	}

	.gb-d4-slider__bar.is-current i {
		width: 100%;
		animation: none;
	}
}

/* ------------------------------------------------------------------ ショートカット */

.gb-d4-quick {
	position: relative;
	z-index: 2;
	margin-top: -22px;
}

.gb-d4-quick__list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gb-d4-quick__item {
	display: flex;
	flex-direction: column;
	gap: 6px;
	align-items: center;
	justify-content: center;
	min-height: 84px;
	padding: 10px 4px;
	border-radius: var(--gb-d4-radius);
	background: var(--gb-d4-surface);
	box-shadow: 0 6px 20px rgba(23, 24, 28, 0.08);
	color: var(--gb-d4-ink);
	font-size: 12.5px;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
}

@media (min-width: 768px) {
	.gb-d4-quick__item {
		flex-direction: row;
		min-height: 70px;
		font-size: 15px;
	}
}

.gb-d4-quick__icon {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--gb-d4-soft);
}

.gb-d4-quick__item:hover {
	box-shadow: 0 8px 24px rgba(23, 24, 28, 0.14);
}

/* ------------------------------------------------------------------ いつもの注文 */

.gb-d4-reorder {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 12px 16px;
	align-items: center;
	padding: 18px;
	border: 1.5px solid var(--gb-d4-ink);
	border-radius: var(--gb-d4-radius);
	background: var(--gb-d4-surface);
}

@media (min-width: 768px) {
	.gb-d4-reorder {
		grid-template-columns: auto 1fr auto;
		padding: 20px 24px;
	}
}

.gb-d4-reorder__icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--gb-d4-ink);
	color: #ffffff;
}

.gb-d4-reorder__body .gb-d4-h3 {
	margin-bottom: 4px;
}

.gb-d4-reorder__items,
.gb-d4-reorder__text {
	margin: 0;
	color: var(--gb-d4-muted);
	font-size: 13px;
	line-height: 1.7;
}

.gb-d4-reorder__button {
	grid-column: 1 / -1;
}

@media (min-width: 768px) {
	.gb-d4-reorder__button {
		grid-column: auto;
	}
}

/* ------------------------------------------------------------------ 横に流れる商品 */

.gb-d4-rail__list {
	--gb-d4-rail-pad: max(var(--gb-gutter-sm), calc((100vw - var(--gb-content-width)) / 2 + var(--gb-gutter-lg)));
	display: flex;
	gap: 12px;
	margin: 0;
	padding: 4px var(--gb-d4-rail-pad) 12px;
	overflow-x: auto;
	list-style: none;
	scroll-padding-left: var(--gb-d4-rail-pad); /* ぴったり止まる位置を、左の余白とそろえる */
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
}

.gb-d4-rail__item {
	flex: 0 0 62vw;
	scroll-snap-align: start;
}

@media (min-width: 768px) {
	.gb-d4-rail__item {
		flex-basis: 250px;
	}
}

.gb-d4-rail__item .gb-card {
	height: 100%;
	margin-bottom: 0;
}

/* ------------------------------------------------------------------ 注文票 */

.gb-d4-sheet__rule {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	margin: 0;
	padding: 7px 12px;
	border-radius: 999px;
	background: var(--gb-d4-ok-bg);
	color: var(--gb-d4-ok);
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.5;
}

.gb-d4-sheet__list {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 1024px) {
	.gb-d4-sheet__list {
		grid-template-columns: 1fr 1fr;
	}
}

.gb-d4-sheet__row {
	display: grid;
	grid-template-columns: 64px 1fr auto;
	gap: 12px;
	align-items: center;
	padding: 10px 12px 10px 10px;
	border: 1.5px solid transparent;
	border-radius: var(--gb-d4-radius);
	background: var(--gb-d4-surface);
	transition: border-color 0.2s;
}

.gb-d4-sheet__row.is-in-cart {
	border-color: var(--gb-d4-ink);
}

.gb-d4-sheet__row.is-out {
	opacity: 0.55;
}

.gb-d4-sheet__image img {
	display: block;
	width: 64px;
	height: 64px;
	border-radius: var(--gb-d4-radius-s);
	background: var(--gb-d4-soft);
	object-fit: cover;
}

.gb-d4-sheet__body {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.gb-d4-sheet__name {
	display: -webkit-box;
	overflow: hidden;
	color: var(--gb-d4-ink);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.45;
	text-decoration: none;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.gb-d4-sheet__sub {
	color: var(--gb-d4-muted);
	font-size: 12px;
}

.gb-d4-sheet__price {
	font-family: var(--gb-d4-en);
	font-size: 14px;
	font-weight: 700;
}

.gb-d4-sheet__soldout {
	color: var(--gb-d4-muted);
	font-size: 12px;
	font-weight: 700;
}

.gb-d4-step {
	display: inline-grid;
	grid-template-columns: 36px 34px 36px;
	align-items: center;
	border-radius: 999px;
	background: var(--gb-d4-soft);
}

.gb-d4-step__button {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--gb-d4-ink);
	cursor: pointer;
}

.gb-d4-step__button:hover:not(:disabled) {
	background: #ffffff;
}

.gb-d4-step__button:disabled {
	opacity: 0.35;
	cursor: default;
}

.gb-d4-step__value {
	color: var(--gb-d4-ink);
	font-size: 16px;
	font-weight: 700;
	text-align: center;
}

.gb-d4-step[aria-busy='true'] .gb-d4-step__value {
	opacity: 0.5;
}

/* 商品一覧：写真とリストの切り替え */
.gb-d4-sheet .gb-d4-head {
	align-items: center;
}

.gb-d4-sheet__views {
	display: inline-flex;
	gap: 2px;
	padding: 3px;
	border-radius: 999px;
	background: var(--gb-d4-soft);
}

.gb-d4-sheet__view {
	display: inline-flex;
	gap: 5px;
	align-items: center;
	min-height: 34px;
	padding: 0 12px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--gb-d4-muted);
	font-size: 12.5px;
	font-weight: 700;
	cursor: pointer;
}

.gb-d4-sheet__view[aria-pressed='true'] {
	background: #ffffff;
	color: var(--gb-d4-ink);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.gb-d4-sheet > .gb-d4-sheet__rule {
	margin-bottom: 14px;
}

/* 写真（グリッド）：スマホ 2 列・PC 4 列。画像は正方形。売り切れは最後で、写真をグレーに */
.gb-d4-sheet__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 768px) {
	.gb-d4-sheet__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 14px;
	}
}

.gb-d4-sheet__grid[hidden],
.gb-d4-sheet__list[hidden] {
	display: none;
}

.gb-d4-sheet__card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1.5px solid transparent;
	border-radius: var(--gb-d4-radius);
	background: var(--gb-d4-surface);
	transition: border-color 0.2s;
}

.gb-d4-sheet__card.is-in-cart {
	border-color: var(--gb-d4-ink);
}

.gb-d4-sheet__photo {
	display: block;
	aspect-ratio: 1;
	background: var(--gb-d4-soft);
}

.gb-d4-sheet__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gb-d4-sheet__card.is-out .gb-d4-sheet__photo img {
	filter: grayscale(1);
	opacity: 0.6;
}

.gb-d4-sheet__cardbody {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 4px;
	padding: 10px 10px 12px;
}

.gb-d4-sheet__cardbody .gb-d4-step,
.gb-d4-sheet__cardbody .gb-d4-sheet__soldout {
	align-self: flex-start;
	margin-top: auto;
	padding-top: 6px;
}

.gb-d4-sheet__cardbody .gb-d4-step {
	padding-top: 0;
	margin-top: 8px;
}

.gb-d4-sheet__card.is-out .gb-d4-sheet__name,
.gb-d4-sheet__card.is-out .gb-d4-sheet__price {
	color: var(--gb-d4-muted);
}

/* ------------------------------------------------------------------ 成分で選ぶ */

.gb-d4-lines__list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 768px) {
	.gb-d4-lines__list {
		grid-template-columns: repeat(4, 1fr);
		gap: 12px;
	}
}

.gb-d4-line {
	display: flex;
	flex-direction: column;
	gap: 8px;
	height: 100%;
	min-height: 150px;
	padding: 18px 16px;
	border-radius: var(--gb-d4-radius);
	background: var(--gb-d4-line-bg);
	color: #ffffff;
	text-decoration: none;
}

.gb-d4-line.is-light {
	color: var(--gb-d4-ink);
}

.gb-d4-line__name {
	font-family: var(--gb-d4-en);
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 800;
	letter-spacing: 0.02em;
	font-stretch: 88%;
}

.gb-d4-line__text {
	font-size: 13px;
	line-height: 1.6;
	opacity: 0.9;
}

.gb-d4-line__count {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	margin-top: auto;
	font-size: 12.5px;
	font-weight: 700;
}

.gb-d4-line:hover {
	filter: brightness(1.08);
}

/* そのラインの商品の味のパッケージの絵柄（帯の右上） */
.gb-d4-line {
	position: relative;
	overflow: hidden;
}

.gb-d4-line__graphic {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 46px;
	height: 46px;
	border-radius: 8px;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}

.gb-d4-line__name {
	padding-right: 52px;
}

@media (min-width: 768px) {
	.gb-d4-line__graphic {
		width: 84px;
		height: 84px;
	}

	.gb-d4-line__name,
	.gb-d4-line__text {
		padding-right: 92px;
	}
}

/* ------------------------------------------------------------------ パッケージの絵柄を並べる */

.gb-d4-packages__list {
	display: grid;
	grid-auto-columns: 40%;
	grid-auto-flow: column;
	gap: 10px;
	margin: 0 calc(var(--gb-gutter-sm) * -1);
	padding: 0 var(--gb-gutter-sm) 6px;
	overflow-x: auto;
	scroll-padding: 0 var(--gb-gutter-sm);
	scroll-snap-type: x mandatory;
	list-style: none;
}

.gb-d4-packages__list > li {
	scroll-snap-align: start;
}

@media (min-width: 768px) {
	.gb-d4-packages__list {
		grid-template-columns: repeat(6, 1fr);
		grid-auto-flow: row;
		gap: 14px;
		margin: 0;
		padding: 0;
		overflow: visible;
	}
}

.gb-d4-pack {
	display: flex;
	flex-direction: column;
	gap: 4px;
	color: var(--gb-d4-ink);
	text-decoration: none;
}

.gb-d4-pack__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	margin-bottom: 6px;
	border-radius: var(--gb-d4-radius);
	transition: transform 0.2s ease;
}

.gb-d4-pack:hover .gb-d4-pack__img {
	transform: translateY(-3px);
}

.gb-d4-pack__name {
	font-family: var(--gb-d4-en);
	font-size: 14px;
	font-weight: 700;
}

.gb-d4-pack__product {
	color: var(--gb-d4-muted);
	font-size: 12px;
	line-height: 1.5;
}

/* ------------------------------------------------------------------ はじめての方へ */

.gb-d4-steps__list {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 768px) {
	.gb-d4-steps__list {
		grid-template-columns: repeat(3, 1fr);
		gap: 14px;
	}
}

.gb-d4-steps__item {
	padding: 20px;
	border-radius: var(--gb-d4-radius);
	background: var(--gb-d4-surface);
}

.gb-d4-steps__num {
	display: block;
	margin-bottom: 10px;
	color: var(--gb-d4-ink);
	font-size: 30px;
	font-weight: 800;
	line-height: 1;
}

.gb-d4-steps__title {
	margin: 0 0 6px;
	color: var(--gb-d4-ink);
	font-size: 16px;
	font-weight: 700;
}

.gb-d4-steps__text {
	margin: 0;
	color: var(--gb-d4-muted);
	font-size: 13.5px;
	line-height: 1.75;
}

/* ------------------------------------------------------------------ 品質 */

.gb-d4-quality {
	background: var(--gb-d4-ink);
	color: #ffffff;
}

.gb-d4-quality__inner {
	display: grid;
	gap: 28px;
	padding-top: 52px;
	padding-bottom: 52px;
}

@media (min-width: 768px) {
	.gb-d4-quality__inner {
		grid-template-columns: 1.1fr 0.9fr;
		align-items: center;
		padding-top: 72px;
		padding-bottom: 72px;
	}
}

.gb-d4-quality__title {
	margin: 0 0 16px;
	color: #ffffff;
	font-size: clamp(26px, 4vw, 42px);
	font-weight: 700;
	line-height: 1.3;
}

.gb-d4-quality__text {
	margin: 0;
	color: #c9ccd3;
	font-size: 14.5px;
	line-height: 1.85;
}

.gb-d4-quality__button {
	margin-top: 22px;
}

/* 品質の段の画像（パッケージの写真） */
.gb-d4-quality__media {
	order: -1;
}

.gb-d4-quality__img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--gb-d4-radius);
}

@media (min-width: 768px) {
	.gb-d4-quality.has-image .gb-d4-quality__media {
		order: 0;
		grid-row: span 2;
	}
}

.gb-d4-quality__facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gb-d4-quality__facts li {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px 16px;
	border: 1px solid #34363d;
	border-radius: var(--gb-d4-radius);
}

.gb-d4-quality__facts b {
	font-size: 24px;
	font-weight: 800;
}

.gb-d4-quality__facts span {
	color: #c9ccd3;
	font-size: 12.5px;
	line-height: 1.6;
}

/* 品質：成分分析書（COA）のイメージ（書類風。数値は読めない線） */
.gb-d4-coa {
	margin: 0;
}

.gb-d4-coa__paper {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 420px;
	margin: 0 auto;
	padding: 22px 22px 26px;
	border-radius: 10px;
	background: #ffffff;
	color: #1b1c20;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
	transform: rotate(-1.5deg);
}

.gb-d4-coa__top {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding-bottom: 10px;
	border-bottom: 2px solid #1b1c20;
}

.gb-d4-coa__kind {
	font-family: var(--gb-d4-en);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.14em;
}

.gb-d4-coa__title {
	font-size: 18px;
	font-weight: 700;
}

.gb-d4-coa__meta {
	display: grid;
	gap: 4px;
	margin: 0;
	font-size: 12px;
}

.gb-d4-coa__meta div {
	display: grid;
	grid-template-columns: 90px 1fr;
}

.gb-d4-coa__meta dt {
	color: #6b6e76;
	font-family: var(--gb-d4-en);
}

.gb-d4-coa__meta dd {
	margin: 0;
	font-weight: 700;
}

.gb-d4-coa__table {
	display: grid;
	gap: 9px;
	padding-top: 4px;
	filter: blur(1.2px);
}

.gb-d4-coa__line {
	display: grid;
	grid-template-columns: 1.6fr 1fr 0.7fr;
	gap: 10px;
}

.gb-d4-coa__line i {
	display: block;
	height: 7px;
	border-radius: 4px;
	background: #d9dbe0;
}

.gb-d4-coa__line:nth-child(2n) i:first-child {
	width: 80%;
}

.gb-d4-coa__stamp {
	position: absolute;
	right: 18px;
	bottom: 18px;
	padding: 6px 10px;
	border: 2px solid #c8102e;
	border-radius: 6px;
	color: #c8102e;
	font-family: var(--gb-d4-en);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.1em;
	transform: rotate(-8deg);
	opacity: 0.85;
}

.gb-d4-coa__caption {
	margin-top: 12px;
	color: #9fa3ab;
	font-size: 11.5px;
	text-align: center;
}

.gb-d4-coa__button {
	display: flex;
	width: fit-content;
	margin: 14px auto 0;
}

/* はじめての方へ：手順の下の 2 つの案内（はじめての方への商品・バッテリー） */
.gb-d4-steps__links {
	display: grid;
	gap: 10px;
	margin-top: 14px;
}

@media (min-width: 768px) {
	.gb-d4-steps__links {
		grid-template-columns: 1fr 1fr;
		gap: 14px;
	}
}

.gb-d4-guide {
	display: grid;
	grid-template-columns: 96px 1fr auto;
	gap: 14px;
	align-items: center;
	padding: 12px 14px 12px 12px;
	border-radius: var(--gb-d4-radius);
	background: var(--gb-d4-surface);
	color: var(--gb-d4-ink);
	text-decoration: none;
}

.gb-d4-guide--battery {
	grid-template-columns: 96px 1fr;
}

.gb-d4-guide--starter:hover {
	box-shadow: 0 0 0 1.5px var(--gb-d4-ink) inset;
}

.gb-d4-guide__photo img {
	display: block;
	width: 96px;
	height: 96px;
	border-radius: var(--gb-d4-radius-s);
	background: var(--gb-d4-soft);
	object-fit: cover;
}

.gb-d4-guide__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.gb-d4-guide__label {
	align-self: flex-start;
	padding: 3px 9px;
	border-radius: 999px;
	background: var(--gb-d4-ink);
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
}

.gb-d4-guide--battery .gb-d4-guide__label {
	background: var(--gb-d4-soft);
	color: var(--gb-d4-ink);
}

.gb-d4-guide__name {
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.45;
}

.gb-d4-guide__price {
	font-family: var(--gb-d4-en);
	font-size: 15px;
	font-weight: 700;
}

.gb-d4-guide__stock {
	font-size: 12px;
	font-weight: 700;
}

.gb-d4-guide__stock.is-in {
	color: var(--gb-d4-ok);
}

.gb-d4-guide__stock.is-low {
	color: #c2410c;
}

.gb-d4-guide__stock.is-out {
	color: var(--gb-d4-muted);
}

.gb-d4-guide__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin-top: 4px;
}

.gb-d4-guide__more {
	color: var(--gb-d4-ink);
	font-size: 13px;
	font-weight: 700;
	text-underline-offset: 3px;
}

/* ------------------------------------------------------------------ お客様の声 */

.gb-d4-voices__list {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 768px) {
	.gb-d4-voices__list {
		grid-template-columns: repeat(4, 1fr);
		gap: 12px;
	}
}

.gb-d4-voice {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 18px;
	border-radius: var(--gb-d4-radius);
	background: var(--gb-d4-surface);
}

.gb-d4-voice__title {
	margin: 0;
	color: var(--gb-d4-ink);
	font-size: 15px;
	font-weight: 700;
}

.gb-d4-voice__text {
	margin: 0;
	color: var(--gb-d4-ink-2);
	font-size: 13.5px;
	line-height: 1.8;
}

.gb-d4-voice__meta {
	margin: auto 0 0;
	color: var(--gb-d4-muted);
	font-size: 12px;
	line-height: 1.6;
}

.gb-d4-voice__meta a {
	color: inherit;
}

/* ------------------------------------------------------------------ 色の帯 */

.gb-d4-band {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 28px;
	align-items: center;
	justify-content: space-between;
	padding: 26px 22px;
	border-radius: var(--gb-d4-radius);
	background: var(--gb-d4-band-bg);
	color: #ffffff;
}

@media (min-width: 768px) {
	.gb-d4-band {
		padding: 32px 40px;
	}
}

.gb-d4-band.is-light {
	color: var(--gb-d4-ink);
}

.gb-d4-band__title {
	margin: 0 0 6px;
	color: inherit;
	font-size: clamp(20px, 2.4vw, 26px);
	font-weight: 700;
}

.gb-d4-band__text {
	margin: 0;
	font-size: 14px;
	line-height: 1.7;
	opacity: 0.92;
}

.gb-d4-band__note {
	margin: 8px 0 0;
	font-size: 12px;
	line-height: 1.65;
	opacity: 0.85;
}

/* ------------------------------------------------------------------ よくある質問 */

.gb-d4-faq__list {
	display: grid;
	gap: 8px;
}

.gb-d4-faq__item {
	border-radius: var(--gb-d4-radius);
	background: var(--gb-d4-surface);
}

.gb-d4-faq__q {
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	padding: 18px 20px;
	color: var(--gb-d4-ink);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.6;
	list-style: none;
	cursor: pointer;
}

.gb-d4-faq__q::-webkit-details-marker {
	display: none;
}

.gb-d4-faq__q svg {
	flex: none;
	transition: transform 0.2s;
}

.gb-d4-faq__item[open] .gb-d4-faq__q svg {
	transform: rotate(45deg);
}

.gb-d4-faq__a {
	padding: 0 20px 18px;
	font-size: 14px;
	line-height: 1.85;
}

/* ------------------------------------------------------------------ 画面の下のまとめ */

.gb-d4-bar {
	position: fixed;
	right: 8px;
	bottom: calc(8px + env(safe-area-inset-bottom));
	left: 8px;
	z-index: 900;
	border-radius: var(--gb-d4-radius);
	background: var(--gb-d4-ink);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
	color: #ffffff;
}

.gb-d4-bar[hidden],
.gb-scroll-lock .gb-d4-bar {
	display: none;
}

.gb-d4-bar__inner {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 6px 12px;
	align-items: center;
	padding-top: 10px;
	padding-bottom: 10px;
}

@media (min-width: 768px) {
	.gb-d4-bar__inner {
		grid-template-columns: auto 1fr auto;
		gap: 20px;
	}
}

.gb-d4-bar__cart {
	display: inline-flex;
	gap: 14px;
	align-items: center;
	color: #ffffff;
	text-decoration: none;
}

.gb-d4-bar__count {
	display: inline-flex;
	gap: 4px;
	align-items: center;
	font-size: 13px;
}

.gb-d4-bar__count b {
	font-family: var(--gb-d4-en);
	font-size: 16px;
}

.gb-d4-bar__total {
	display: inline-flex;
	gap: 6px;
	align-items: baseline;
}

.gb-d4-bar__label {
	color: #b9bcc4;
	font-size: 12px;
}

.gb-d4-bar__total b {
	font-size: 18px;
}

.gb-d4-bar__notes {
	display: flex;
	flex-wrap: wrap;
	grid-column: 1 / -1;
	grid-row: 2;
	gap: 4px 14px;
	margin: 0;
	color: #c9ccd3;
	font-size: 12px;
	line-height: 1.5;
}

@media (min-width: 768px) {
	.gb-d4-bar__notes {
		grid-column: auto;
		grid-row: auto;
	}
}

.gb-d4-bar__note {
	display: inline-flex;
	gap: 5px;
	align-items: center;
}

.gb-d4-bar__note.is-done {
	color: #8fe0b7;
}

.gb-d4-bar__button {
	min-height: 42px;
	padding: 0 18px;
	--gb-btn-bg: #ffffff;
	--gb-btn-bg-hover: #e9eaee;
	--gb-btn-text: var(--gb-d4-ink);
	font-size: 13px;
}

/* まとめを出しているときは、下の端の中身が隠れないようにする */
body.gb-design-4.gb-d4-has-bar {
	padding-bottom: 120px;
}

@media (min-width: 768px) {
	body.gb-design-4.gb-d4-has-bar {
		padding-bottom: 84px;
	}
}

/* 商品ページは、固定の「カートに入れる」ボタン（template-parts/product/sticky.php）を優先し、まとめは出さない（重ならないように）。
   送料無料まで・まとめ買い割引は「ご購入の前に」に出している */
body.gb-design-4.single-product .gb-d4-bar {
	display: none;
}

body.gb-design-4.single-product.gb-d4-has-bar {
	padding-bottom: 0;
}

/* 商品ページの下の「周辺機器」の一覧は、「一緒に必要なもの」（バッテリー）と重なるので出さない（使い方の説明は出す） */
body.gb-design-4.single-product .gb-sec--featured-collection {
	display: none;
}

/* ------------------------------------------------------------------ 商品ページ */

body.gb-design-4 .gb-product__media .gb-gallery,
body.gb-design-4 .gb-product__media img {
	border-radius: var(--gb-d4-radius);
}

body.gb-design-4 .gb-product__info {
	padding: 22px 18px;
	border-radius: var(--gb-d4-radius);
	background: var(--gb-d4-surface);
}

@media (min-width: 768px) {
	body.gb-design-4 .gb-product__info {
		padding: 30px 28px;
	}
}

body.gb-design-4 .gb-product-summary__vendor {
	display: none;
}

.gb-d4-chips--summary {
	margin-bottom: 10px;
}

body.gb-design-4 .gb-product-summary__title {
	font-size: clamp(22px, 2.6vw, 30px);
	font-weight: 700;
	line-height: 1.4;
}

body.gb-design-4 .gb-product-summary__price {
	font-family: var(--gb-d4-en);
	font-weight: 700;
}

.gb-d4-qtypick {
	margin: 18px 0 6px;
}

.gb-d4-qtypick__label {
	margin: 0 0 8px;
	color: var(--gb-d4-ink);
	font-size: 14px;
	font-weight: 700;
}

.gb-d4-qtypick__buttons {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 6px;
}

.gb-d4-qtypick__button {
	display: flex;
	flex-direction: column;
	gap: 2px;
	align-items: center;
	justify-content: center;
	min-height: 58px;
	padding: 6px;
	border: 1.5px solid var(--gb-d4-line);
	border-radius: var(--gb-d4-radius-s);
	background: #ffffff;
	color: var(--gb-d4-ink);
	font: 500 13px/1.2 var(--gb-font-body);
	cursor: pointer;
}

.gb-d4-qtypick__button b {
	font-size: 18px;
}

.gb-d4-qtypick__button span {
	color: var(--gb-d4-ok);
	font-size: 11.5px;
	font-weight: 700;
}

.gb-d4-qtypick__button.is-current {
	border-color: var(--gb-d4-ink);
	box-shadow: inset 0 0 0 1px var(--gb-d4-ink);
}

.gb-d4-qtypick__note {
	margin: 8px 0 0;
	color: var(--gb-d4-muted);
	font-size: 12px;
	line-height: 1.6;
}

.gb-d4-assure {
	margin: 18px 0 0;
	padding: 16px;
	border-radius: var(--gb-d4-radius-s);
	background: var(--gb-d4-soft);
}

.gb-d4-assure__title {
	margin: 0 0 10px;
	color: var(--gb-d4-ink);
	font-size: 14px;
	font-weight: 700;
}

.gb-d4-assure__list {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gb-d4-assure__list li {
	display: grid;
	grid-template-columns: 20px 1fr;
	gap: 10px;
	align-items: start;
	font-size: 13px;
	line-height: 1.7;
}

.gb-d4-assure__list li[hidden] {
	display: none;
}

.gb-d4-assure__list b {
	display: block;
	color: var(--gb-d4-ink);
	font-size: 13px;
}

.gb-d4-assure__list a {
	margin-left: 4px;
	color: var(--gb-d4-ink);
	font-weight: 700;
}

.gb-d4-below {
	display: grid;
	gap: 16px;
	margin-top: 24px;
}

@media (min-width: 768px) {
	.gb-d4-below {
		grid-template-columns: 1.4fr 1fr;
		align-items: start;
	}
}

.gb-d4-spec,
.gb-d4-cross {
	padding: 20px;
	border-radius: var(--gb-d4-radius);
	background: var(--gb-d4-surface);
}

.gb-d4-spec__table {
	margin: 0;
}

.gb-d4-spec__row {
	display: grid;
	grid-template-columns: 8em 1fr;
	gap: 12px;
	padding: 10px 0;
	border-top: 1px solid var(--gb-d4-line);
	font-size: 13.5px;
	line-height: 1.7;
}

.gb-d4-spec__row dt {
	color: var(--gb-d4-muted);
}

.gb-d4-spec__row dd {
	margin: 0;
	color: var(--gb-d4-ink);
}

.gb-d4-mini {
	display: grid;
	grid-template-columns: 64px 1fr auto;
	gap: 12px;
	align-items: center;
}

.gb-d4-mini__image img {
	display: block;
	width: 64px;
	height: 64px;
	border-radius: var(--gb-d4-radius-s);
	background: var(--gb-d4-soft);
	object-fit: cover;
}

.gb-d4-mini__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.gb-d4-mini__name {
	color: var(--gb-d4-ink);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.gb-d4-mini__text {
	margin: 0;
	color: var(--gb-d4-muted);
	font-size: 12px;
	line-height: 1.6;
}

.gb-d4-mini__price {
	font-family: var(--gb-d4-en);
	font-size: 14px;
	font-weight: 700;
}

/* ------------------------------------------------------------------ カート（ページとドロワー）の合計の下 */

.gb-d4-boosts {
	display: grid;
	gap: 10px;
	margin-top: 14px;
	text-align: left;
}

.gb-d4-boosts__bulk {
	padding: 12px 14px;
	border-radius: var(--gb-d4-radius-s);
	background: var(--gb-d4-ok-bg);
	color: var(--gb-d4-ink);
}

.gb-d4-boosts__title {
	display: flex;
	gap: 6px;
	align-items: center;
	margin: 0 0 6px;
	color: var(--gb-d4-ok);
	font-size: 13px;
	font-weight: 700;
}

.gb-d4-boosts__bulk ul {
	display: grid;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 12.5px;
	line-height: 1.6;
}

.gb-d4-boosts__bulk li {
	display: flex;
	flex-wrap: wrap;
	gap: 0 8px;
	justify-content: space-between;
}

.gb-d4-boosts__name {
	overflow: hidden;
	max-width: 60%;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.gb-d4-boosts__bulk li.is-done .gb-d4-boosts__state {
	color: var(--gb-d4-ok);
	font-weight: 700;
}

.gb-d4-boosts__rule {
	margin: 6px 0 0;
	color: var(--gb-d4-muted);
	font-size: 11.5px;
	line-height: 1.6;
}

.gb-d4-boosts__cross {
	padding: 10px;
	border: 1px solid var(--gb-d4-line);
	border-radius: var(--gb-d4-radius-s);
	background: #ffffff;
}

.gb-d4-boosts__trust {
	display: grid;
	gap: 4px;
	margin: 0;
	padding: 0;
	color: var(--gb-d4-muted);
	font-size: 12px;
	line-height: 1.6;
	list-style: none;
}

.gb-d4-boosts__trust li {
	display: flex;
	gap: 6px;
	align-items: flex-start;
}

.gb-d4-boosts__trust svg {
	flex: none;
	margin-top: 3px;
}

/* ------------------------------------------------------------------ 一覧・ヘッダー・フッター */

body.gb-design-4 .gb-collection-header {
	background: transparent;
}

body.gb-design-4 .gb-header {
	box-shadow: 0 1px 0 var(--gb-d4-line);
}

body.gb-design-4 .gb-footer {
	margin-top: 40px;
}

/* ------------------------------------------------------------------ 年齢確認（geisha-core の age-gate.php）
 * 案4 を年齢確認の後ろのページにも当てる（2026-10-20）。年齢確認の画面の見た目は変えない決まりなので、
 * 案4 が変える書体だけを、前のデザインの書体に戻す（色・背景・大きさは年齢確認の中で決め打ち）
 */
body.gb-design-4 .gb-age,
body.gb-design-4 .gb-age * {
	font-family: Roboto, sans-serif;
}

/* 案4 が body に付ける約物の詰め（palt）と字間も、年齢確認では前のデザインの値に戻す（中の部品の字間は、年齢確認の中の決め打ちが勝つ） */
body.gb-design-4 .gb-age {
	font-feature-settings: normal;
	letter-spacing: var(--gb-body-letter-spacing, 0);
}
