/**
 * ALL-B 記事表示（プロフィール帳テーマ / スマホ優先）
 *
 * SWELL は body_class を <body> ではなく #body_wrap に付ける。
 * ページ種別セレクタは body.allb-* ではなく #body_wrap.allb-* を使うこと。
 * （document.body に JS で付けるクラスだけ body. でよい）
 */
@import url('https://fonts.googleapis.com/css2?family=Yomogi&family=Zen+Kaku+Gothic+New:wght@400;500;700&display=swap');

/* まとめ・レビュー共通：タイトルエリア〜記事冒頭の SWELL 4em 余白だけ詰める（タイトル見た目は触らない） */
#body_wrap.allb-review-post .l-mainContent__inner > .post_content,
#body_wrap.allb-roundup-post .l-mainContent__inner > .post_content,
#body_wrap.allb-review-post .post_content,
#body_wrap.allb-roundup-post .post_content {
	margin-top: 0.35rem !important;
	padding-top: 0;
}

/* ログイン時のみ：プロフィール（記事メタ）とマイページの間は空ける */
#body_wrap.allb-review-post .post_content > .allb-article-toolbar--top,
#body_wrap.allb-roundup-post .post_content > .allb-article-toolbar--top {
	margin-top: 2em !important;
	margin-bottom: 0.35rem;
}

#body_wrap.allb-review-post .post_content > .allb-message--success:first-child + .allb-article-toolbar--top,
#body_wrap.allb-roundup-post .post_content > .allb-message--success:first-child + .allb-article-toolbar--top {
	margin-top: 1.25em !important;
}

#body_wrap.allb-review-post .post_content > .allb-profile-book,
#body_wrap.allb-review-post .post_content > .p-blogParts:first-child .allb-profile-book {
	margin-top: 0;
	margin-bottom: 1.15rem;
}

#body_wrap.allb-roundup-post .post_content > .allb-roundup,
#body_wrap.allb-roundup-post .post_content > .p-blogParts:first-child .allb-roundup {
	margin-top: 0;
}

/* まとめ：本文上アイキャッチ枠を隠す（空きだけ残るのを防ぐ） */
#body_wrap.allb-roundup-post .p-articleThumb,
#body_wrap.allb-roundup-post .c-postThumb,
#body_wrap.allb-roundup-post #post_thumb,
#body_wrap.allb-roundup-post .p-articleMetas + .c-postThumb,
#body_wrap.allb-roundup-post .l-mainContent .p-articleThumb {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
	min-height: 0 !important;
	height: 0 !important;
	overflow: hidden !important;
}

@media (max-width: 599px) {
	#body_wrap.allb-review-post .allb-profile-card {
		padding: 0.75rem 0.8rem;
	}

	#body_wrap.allb-review-post .allb-section-title {
		margin-bottom: 0.55rem;
		font-size: 1.1rem;
	}
}

.post_content .allb-profile-book,
.p-blogParts .allb-profile-book {
	--allb-ink: #2c2416;
	--allb-muted: #7a6f62;
	--allb-paper: #fffdf7;
	--allb-card: #ffffff;
	--allb-border: #e5ddd0;
	--allb-accent: #5b7c99;
	--allb-accent-soft: #eef4f8;
	--allb-star: #f0a500;
	--allb-star-empty: #e8dfd0;
	--allb-sticky-yellow: #fff4a8;
	--allb-sticky-pink: #ffd6e8;
	--allb-sticky-mint: #d8f5e9;
	--allb-sticky-blue: #dceeff;
	--allb-sticky-lavender: #ebe4ff;
	--allb-sticky-peach: #ffe8d6;
	--allb-profile-warm: #fff8e8;
	--allb-profile-cool: #f0f8ff;
	--allb-tape: rgba(255, 255, 255, 0.78);
	--allb-font-body: 'Zen Kaku Gothic New', 'Hiragino Sans', sans-serif;
	--allb-font-hand: 'Yomogi', cursive;
	--allb-radius: 16px;
	--allb-shadow: 0 8px 24px rgba(44, 36, 22, 0.07);

	box-sizing: border-box;
	max-width: 100%;
	margin: 0 auto 1.5rem;
	font-family: var(--allb-font-body);
	font-size: 1rem;
	line-height: 1.7;
	color: var(--allb-ink);
}

.post_content .allb-profile-book *,
.p-blogParts .allb-profile-book * {
	box-sizing: border-box;
}

.allb-owner-edit {
	margin: 0 0 0.75rem;
	text-align: right;
}

.allb-owner-edit__link {
	display: inline-flex;
	align-items: center;
	padding: 0.45rem 0.85rem;
	border: 1px solid var(--allb-border);
	border-radius: 999px;
	background: var(--allb-card);
	color: var(--allb-accent) !important;
	font-size: 0.88rem;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none !important;
	box-shadow: 2px 2px 0 rgba(44, 36, 22, 0.06);
}

.allb-owner-edit__link:hover,
.allb-owner-edit__link:focus {
	background: var(--allb-accent-soft);
	color: var(--allb-ink) !important;
}

/* SWELL / テーマの ul・li 装飾（・など）を無効化 */
.post_content .allb-profile-book ul,
.post_content .allb-profile-book ol,
.p-blogParts .allb-profile-book ul,
.p-blogParts .allb-profile-book ol {
	list-style: none !important;
	margin-left: 0;
	padding-left: 0;
}

.post_content .allb-profile-book li::before,
.post_content .allb-profile-book li::marker,
.p-blogParts .allb-profile-book li::before,
.p-blogParts .allb-profile-book li::marker {
	content: none !important;
	display: none !important;
}

/* 見出し（SWELL の h スタイルを使わない） */
.post_content .allb-section-title,
.p-blogParts .allb-section-title {
	all: unset;
	display: block;
	font-family: var(--allb-font-hand);
	font-size: 1.25rem;
	line-height: 1.3;
	letter-spacing: 0.06em;
	color: var(--allb-ink);
	margin: 0 0 0.85rem;
	padding-bottom: 0.35rem;
	border-bottom: 2px dotted var(--allb-border);
}

.post_content .allb-notes__title,
.p-blogParts .allb-notes__title {
	all: unset;
	display: block;
	font-family: var(--allb-font-hand);
	font-size: 1.1rem;
	line-height: 1.3;
	color: var(--allb-ink);
	margin: 0 0 0.45rem;
}

/* ── 1. 商品プロフィール（ファーストビュー） ── */
.allb-profile-card {
	position: relative;
	margin: 0 0 0.85rem;
	padding: 1rem;
	background: var(--allb-card);
	border: 1px solid var(--allb-border);
	border-radius: var(--allb-radius);
	box-shadow: var(--allb-shadow);
	overflow: hidden;
}

.allb-profile-card::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 3.5rem;
	height: 3.5rem;
	background: linear-gradient(135deg, transparent 50%, var(--allb-accent-soft) 50%);
	pointer-events: none;
}

.post_content .allb-profile-card__name-row,
.p-blogParts .allb-profile-card__name-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 0.75rem;
	margin: 0 0 1rem;
}

.allb-profile-card__name-block {
	flex: 1 1 auto;
	min-width: 0;
}

.allb-profile-card__category {
	flex-shrink: 0;
	align-self: flex-end;
	max-width: 42%;
	padding-bottom: 0.2rem;
	font-family: var(--allb-font-hand);
	font-size: 0.88rem;
	line-height: 1.3;
	color: var(--allb-muted);
	text-align: right;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.allb-profile-card__name-label {
	display: block;
	margin-bottom: 0.2rem;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	color: var(--allb-muted);
}

.post_content .allb-profile-card__name,
.p-blogParts .allb-profile-card__name {
	display: inline;
	margin: 0;
	padding: 0 0.1em 0.18em;
	font-family: var(--allb-font-body);
	font-size: 1.18rem;
	font-weight: 400;
	line-height: 1.45;
	color: var(--allb-ink);
	word-break: break-word;
	background-image: linear-gradient(
		transparent 62%,
		rgba(255, 244, 168, 0.95) 62%,
		rgba(255, 244, 168, 0.95) 90%,
		transparent 90%
	);
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
}

.allb-profile-card__main {
	display: grid;
	grid-template-columns: 5.5rem minmax(0, 1fr);
	gap: 0.85rem;
	align-items: start;
	position: relative;
	z-index: 1;
}

.allb-profile-card__photo {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	height: auto;
	min-height: 0;
	border: 2px solid var(--allb-ink);
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	box-shadow: 3px 3px 0 rgba(44, 36, 22, 0.1);
	transform: rotate(-2deg);
}

.allb-profile-card__photo--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	background: var(--allb-paper);
	color: var(--allb-muted);
}

.allb-profile-card__photo-count {
	position: absolute;
	right: -0.2rem;
	bottom: -0.2rem;
	min-width: 1.5rem;
	padding: 0.1rem 0.35rem;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
	text-align: center;
	background: var(--allb-accent);
	border: 2px solid #fff;
	border-radius: 999px;
	z-index: 1;
}

.allb-profile-card__facts-wrap {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 0;
}

.allb-review-card__overall {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1rem;
	margin-bottom: 0.85rem;
	padding: 0.75rem 0.85rem;
	background: var(--allb-paper);
	border: 1px dashed var(--allb-border);
	border-radius: 10px;
	text-align: left;
}

.allb-review-card__overall-main {
	display: flex;
	align-items: baseline;
	justify-content: flex-start;
	flex: 0 0 auto;
	gap: 0.5rem;
}

.allb-review-card__overall-meta {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: center;
	flex: 1 1 auto;
	min-width: 0;
	gap: 0.2rem;
	font-size: 0.8rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--allb-muted);
	text-align: right;
}

.allb-review-card__overall-meta-item {
	display: block;
	max-width: 100%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.allb-review-card__rank-link {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: rgba(122, 111, 98, 0.55);
	text-underline-offset: 0.12em;
}

.allb-review-card__rank-link:hover,
.allb-review-card__rank-link:focus {
	color: var(--allb-accent);
	text-decoration-color: currentColor;
}

.allb-review-card__overall-label {
	font-family: var(--allb-font-hand);
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--allb-muted);
}

.allb-review-card__overall-num {
	font-size: 2.45rem;
	font-weight: 800;
	line-height: 1;
	color: var(--allb-accent);
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.02em;
}

.allb-review-card__overall-num small {
	margin-left: 0.1rem;
	font-size: 1rem;
	font-weight: 700;
	color: var(--allb-accent);
	opacity: 0.88;
}

.allb-profile-card__facts {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 0;
	padding: 0;
}

.post_content .allb-profile-card__fact,
.p-blogParts .allb-profile-card__fact {
	display: grid;
	/* 「かかった費用」「触れた環境」が1行で収まる幅を確保。値側は長い作者名などで折り返し可 */
	grid-template-columns: minmax(6.75rem, max-content) minmax(0, 1fr);
	gap: 0.35rem 0.55rem;
	align-items: start;
	padding: 0.55rem 0;
	border-top: 1px dashed var(--allb-border);
}

.allb-profile-card__fact:first-child {
	border-top: none;
	padding-top: 0;
}

.allb-profile-card__fact dt {
	margin: 0;
	font-family: var(--allb-font-hand);
	font-size: 0.82rem;
	line-height: 1.45;
	color: var(--allb-muted);
	white-space: nowrap;
}

.allb-profile-card__fact dd {
	margin: 0;
	font-size: 0.92rem;
	font-weight: 500;
	line-height: 1.45;
	word-break: break-word;
	overflow-wrap: anywhere;
}

/* 栄養成分表示 */
.allb-nutrition-display {
	position: relative;
	z-index: 1;
	margin-top: 0.85rem;
}

.allb-nutrition-display--sticky {
	padding: 0.8rem 0.75rem 0.75rem;
	background: rgba(216, 245, 233, 0.45);
	border: 1px dashed var(--allb-border);
	border-radius: 10px;
	box-shadow: none;
	transform: none;
}

.allb-nutrition-display--sticky::before {
	display: none;
}

.allb-nutrition-display__title {
	font-family: var(--allb-font-hand);
	font-size: 1.05rem;
	margin: 0 0 0.35rem;
	color: var(--allb-ink);
}

.allb-nutrition-display__basis {
	margin: 0 0 0.55rem;
	font-size: 0.82rem;
	color: var(--allb-muted);
}

.allb-nutrition-display__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.35rem 0.75rem;
	margin: 0;
}

.allb-nutrition-display__row {
	display: flex;
	flex-direction: row;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.35rem;
	min-width: 0;
	padding: 0.3rem 0.4rem;
	background: var(--allb-card);
	border: 1px solid var(--allb-border);
	border-radius: 8px;
}

.allb-nutrition-display__row dt {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	font-family: var(--allb-font-hand);
	font-size: 0.76rem;
	color: var(--allb-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.allb-nutrition-display__row dd {
	flex-shrink: 0;
	margin: 0;
	font-size: 0.86rem;
	font-weight: 600;
	color: var(--allb-ink);
	white-space: nowrap;
	text-align: right;
}

.allb-specs-display {
	margin-top: 0.85rem;
	padding: 0.8rem 0.75rem 0.75rem;
	background: rgba(255, 248, 230, 0.7);
	border: 1px dashed var(--allb-border);
	border-radius: 10px;
}

.allb-specs-display__title {
	font-family: var(--allb-font-hand);
	font-size: 1.05rem;
	margin: 0 0 0.45rem;
	color: var(--allb-ink);
}

.allb-specs-display__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.35rem 0.75rem;
	margin: 0;
}

.allb-specs-display__row {
	display: flex;
	flex-direction: row;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.35rem;
	min-width: 0;
	padding: 0.3rem 0.4rem;
	background: var(--allb-card);
	border: 1px solid var(--allb-border);
	border-radius: 8px;
}

.allb-specs-display__row dt {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	font-family: var(--allb-font-hand);
	font-size: 0.76rem;
	color: var(--allb-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.allb-specs-display__row dd {
	flex-shrink: 1;
	margin: 0;
	font-size: 0.86rem;
	font-weight: 600;
	color: var(--allb-ink);
	text-align: right;
}

.allb-specs-display__row--text dd {
	white-space: normal;
	word-break: break-word;
}

/* ── 2. レビュー（星＋テキスト） ── */
.allb-review-card {
	margin: 0 0 0.85rem;
	padding: 1rem;
	background: var(--allb-paper);
	border: 1px solid var(--allb-border);
	border-radius: var(--allb-radius);
	box-shadow: var(--allb-shadow);
}

.allb-score-grid {
	margin: 0 0 0.85rem;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.55rem;
}

.allb-score-grid__item {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
	padding: 0.55rem 0.5rem;
	background: var(--allb-card);
	border: 1px solid var(--allb-border);
	border-radius: 10px;
}

.allb-score-grid__label {
	font-family: var(--allb-font-hand);
	font-size: 0.9rem;
	line-height: 1.2;
	color: var(--allb-ink);
}

.allb-stars--display {
	display: flex;
	flex-wrap: wrap;
	gap: 0.05rem;
	max-width: 100%;
}

.allb-stars--display .allb-star {
	font-size: 1.05rem;
	line-height: 1;
	color: var(--allb-star-empty);
}

.allb-stars--display .allb-star.is-filled {
	color: var(--allb-star);
}

/* 付箋メモ */
.allb-notes {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin: 0;
}

.allb-sticky {
	position: relative;
	margin: 0;
	padding: 0.9rem 0.85rem 0.85rem;
	border: 1px solid rgba(44, 36, 22, 0.06);
	box-shadow: 2px 4px 12px rgba(44, 36, 22, 0.08);
}

.allb-sticky::before {
	content: '';
	position: absolute;
	top: -6px;
	left: 50%;
	width: 52px;
	height: 16px;
	transform: translateX(-50%) rotate(-2deg);
	background: var(--allb-tape);
	border: 1px solid rgba(44, 36, 22, 0.05);
}

.allb-sticky--reason,
.allb-sticky--impression {
	background: var(--allb-sticky-yellow);
	transform: rotate(-0.6deg);
}

.allb-sticky--pros {
	background: var(--allb-sticky-mint);
	transform: rotate(0.5deg);
}

.allb-sticky--cons {
	background: var(--allb-sticky-pink);
	transform: rotate(-0.3deg);
}

.allb-sticky--custom-1 {
	background: var(--allb-sticky-blue);
	transform: rotate(0.45deg);
}

.allb-sticky--custom-2 {
	background: var(--allb-sticky-lavender);
	transform: rotate(-0.4deg);
}

.allb-notes__body {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.75;
	white-space: pre-wrap;
	word-break: break-word;
}

/* ── 3. 写真 ── */
.allb-photo-card {
	margin: 0;
	padding: 1rem;
	background: var(--allb-card);
	border: 1px solid var(--allb-border);
	border-radius: var(--allb-radius);
	box-shadow: var(--allb-shadow);
}

.allb-photo-card#allb-photos {
	scroll-margin-top: 5.5rem;
}

a.allb-eyecatch-jump {
	display: block;
	color: inherit;
	text-decoration: none;
	cursor: pointer;
}

a.allb-profile-card__photo {
	display: block;
	color: inherit;
	text-decoration: none;
}

a.allb-profile-card__photo:hover,
a.allb-profile-card__photo:focus-visible,
a.allb-eyecatch-jump:hover,
a.allb-eyecatch-jump:focus-visible {
	opacity: 0.92;
}

.allb-review-post .p-articleThumb,
.allb-review-post .c-postThumb,
.allb-review-post #post_thumb {
	cursor: pointer;
}

.allb-profile-card__photo-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ギャラリー（SWELL Luminous 連携） */
.allb-gallery.wp-block-gallery {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.55rem;
	margin: 0;
	padding: 0;
}

.allb-gallery .wp-block-image {
	margin: 0;
}

.allb-gallery__item {
	margin: 0;
	aspect-ratio: 1 / 1;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid var(--allb-border);
	background: #fff;
	box-shadow: 2px 3px 0 rgba(44, 36, 22, 0.08);
	cursor: zoom-in;
}

.allb-gallery__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.allb-gallery__item:first-child:nth-last-child(1) {
	grid-column: 1 / -1;
	aspect-ratio: 1 / 1;
	max-width: 18rem;
	justify-self: center;
	width: 100%;
}

.allb-gallery__item:first-child:nth-last-child(n+2) {
	grid-column: 1 / -1;
	aspect-ratio: 4 / 3;
}

/* ── 関連リンク（Amazon / 楽天 / 追加リンク） ── */
.allb-product-links {
	margin: 0 0 0.85rem;
	padding: 1rem;
	background: var(--allb-card);
	border: 1px solid var(--allb-border);
	border-radius: var(--allb-radius);
	box-shadow: var(--allb-shadow);
}

.allb-product-links__card {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
}

.allb-product-links__card + .allb-product-links__card {
	margin-top: 0.85rem;
	padding-top: 0.85rem;
	border-top: 1px dashed var(--allb-border);
}

.allb-product-links__cover {
	flex: 0 0 5.5rem;
	width: 5.5rem;
	aspect-ratio: 1 / 1;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid var(--allb-border);
	background: #fff;
	box-shadow: 2px 3px 0 rgba(44, 36, 22, 0.08);
	text-decoration: none;
}

.allb-product-links__cover-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.allb-product-links__body {
	flex: 1 1 auto;
	min-width: 0;
}

.allb-product-links__title {
	margin: 0 0 0.65rem;
	font-family: var(--allb-font-hand);
	font-size: 1.05rem;
	font-weight: 400;
	line-height: 1.4;
	color: var(--allb-ink);
	word-break: break-word;
}

.allb-product-links__amazon-price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35rem 0.55rem;
	margin: -0.25rem 0 0.65rem;
	font-size: 0.9rem;
	line-height: 1.3;
}

.allb-product-links__amazon-price-label {
	color: var(--allb-muted);
	font-size: 0.78rem;
}

.allb-product-links__amazon-price-value {
	font-weight: 700;
	color: var(--allb-ink);
	font-variant-numeric: tabular-nums;
}

.allb-product-links__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
}

.allb-product-links__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 7.5rem;
	min-width: 6.5rem;
	padding: 0.7rem 1rem;
	border-radius: 10px;
	color: #fff !important;
	font-weight: 700;
	font-size: 0.95rem;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
	box-shadow: 2px 3px 0 rgba(44, 36, 22, 0.12);
}

.allb-product-links__btn:hover,
.allb-product-links__btn:focus {
	color: #fff !important;
	opacity: 0.9;
}

.allb-product-links__btn--amazon {
	background: #f6a306;
}

.allb-product-links__btn--rakuten {
	background: #bf0000;
}

.allb-product-links__btn--custom {
	background: #3f4a5a;
}

.allb-product-links__btn--related {
	background: #6b6358;
}

.allb-product-links__buttons--3 .allb-product-links__btn {
	flex: 1 1 calc(33.333% - 0.4rem);
	min-width: 0;
	padding: 0.65rem 0.45rem;
	font-size: 0.82rem;
}

@media (max-width: 420px) {
	.allb-product-links__buttons--3 .allb-product-links__btn {
		flex: 1 1 100%;
	}
}

@media (min-width: 600px) {
	.allb-gallery {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* 個別フィールド（レガシー） */
.allb-field {
	display: inline;
	font-weight: 500;
}

.allb-text {
	padding: 0.85rem;
	background: var(--allb-paper);
	border: 1px dashed var(--allb-border);
	border-radius: 8px;
}

@media (max-width: 360px) {
	.allb-score-grid {
		grid-template-columns: 1fr;
	}

	.allb-nutrition-display__list {
		grid-template-columns: 1fr;
	}

	.allb-specs-display__list {
		grid-template-columns: 1fr;
	}
}

@media (min-width: 600px) {
	.post_content .allb-profile-book,
	.p-blogParts .allb-profile-book {
		max-width: 36rem;
	}

	.allb-profile-card__main {
		grid-template-columns: 6.5rem minmax(0, 1fr);
	}
}

/* Luminous：ホーム画面アプリ等で閉じづらいので右上×を大きく・セーフエリア対応 */
.lum-lightbox .lum-close-button {
	top: max(0.65rem, env(safe-area-inset-top, 0px));
	right: max(0.65rem, env(safe-area-inset-right, 0px));
	z-index: 10;
	width: 2.75rem;
	height: 2.75rem;
	opacity: 1;
	border: none;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.55);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
	-webkit-tap-highlight-color: transparent;
	cursor: pointer;
}

.lum-lightbox .lum-close-button:hover,
.lum-lightbox .lum-close-button:focus-visible {
	opacity: 1;
	background: rgba(0, 0, 0, 0.75);
	outline: 2px solid rgba(255, 255, 255, 0.55);
	outline-offset: 2px;
}

.lum-lightbox .lum-close-button:before,
.lum-lightbox .lum-close-button:after {
	left: 50%;
	top: 50%;
	width: 2px;
	height: 1.15rem;
	margin: 0;
	background-color: #fff;
}

.lum-lightbox .lum-close-button:before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.lum-lightbox .lum-close-button:after {
	transform: translate(-50%, -50%) rotate(-45deg);
}
