/* ==========================================================================
   あまよみ main.css
   デザイン: A案「甘やかロマンス」。スマホ優先、PC は 1024px 以上。
   ========================================================================== */

/* ---------- デザイントークン ---------- */
:root {
	--bg: #FFF6F8;
	--surface: #FFFFFF;
	--line: #F3D9E1;
	--line-strong: #F3C6D4;
	--text: #3A2A32;
	--text-sub: #7A6570;
	--text-mid: #5C4752;
	--text-on-soft: #6E5862;
	--accent: #C23A68;
	--accent-hover: #AD2F5A;
	--accent-text: #A8325A;
	--accent-text-hover: #7E2142;
	--accent-soft: #FCE4EC;
	--accent-faint: #FFF0F4;
	--bl: #7D5BA6;
	--placeholder: #F6DCE5;
	--placeholder-line: #EFC7D5;
	--heart-off: #E7AFC2;
	--radius-card: 18px;
	--radius-img: 14px;
	--shadow-btn: 0 6px 16px rgba(194, 58, 104, 0.25);
	--container: 1120px;
	--gutter: 20px;
	--font: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
}

@media (min-width: 1024px) {
	:root {
		--gutter: 24px;
	}
}

/* ---------- ベース ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: 16px;
}

body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 15px;
	line-height: 1.95;
	-webkit-font-smoothing: antialiased;
	overflow-wrap: anywhere;
}

@media (min-width: 1024px) {
	body {
		font-size: 16px;
	}
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
	margin: 0;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: var(--accent-text);
}

a:hover {
	color: var(--accent-text-hover);
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

[hidden] {
	display: none !important;
}

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed !important;
	top: 8px;
	left: 8px;
	z-index: 100;
	width: auto;
	height: auto;
	margin: 0;
	padding: 10px 16px;
	clip: auto;
	background: var(--surface);
	border-radius: 999px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.site-content {
	flex: 1 0 auto;
}

.icon {
	flex-shrink: 0;
}

/* ---------- ヘッダー ---------- */
.site-header {
	position: relative;
	z-index: 20;
	background: var(--surface);
	border-bottom: 1px solid var(--line);
}

.site-header__inner {
	max-width: var(--container);
	height: 60px;
	margin: 0 auto;
	padding: 0 8px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.icon-btn {
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--text);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.icon-btn[aria-expanded="true"] {
	background: var(--accent-faint);
	color: var(--accent-text);
}

.site-logo {
	display: flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	color: var(--text);
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1;
	text-decoration: none;
}

.site-logo:hover {
	color: var(--text);
}

.site-logo .icon {
	fill: var(--accent);
}

.global-nav,
.header-search {
	display: none;
}

.global-nav__list {
	display: flex;
	gap: 22px;
	padding: 0;
	list-style: none;
}

.global-nav__list a {
	display: flex;
	align-items: center;
	min-height: 44px;
	color: var(--text);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.global-nav__list a:hover {
	color: var(--accent-text);
}

/* 検索フォーム */
.search-box {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 48px;
	padding: 0 16px;
	background: var(--surface);
	border: 1px solid var(--line-strong);
	border-radius: 24px;
}

.search-box .icon {
	color: var(--accent-text);
}

.search-box input {
	flex: 1;
	min-width: 0;
	height: 100%;
	border: 0;
	outline: none;
	background: transparent;
	font-size: 15px;
	color: var(--text);
}

.search-box input::placeholder {
	color: #9B8790;
}

.search-box:focus-within {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px var(--accent-soft);
}

.search-label {
	display: block;
	margin-bottom: 6px;
	font-size: 12px;
	color: var(--text-on-soft);
	line-height: 1.6;
}

.search-panel {
	padding: 12px var(--gutter) 16px;
	background: var(--surface);
	border-top: 1px solid var(--line);
}

/* スマホのメニュー */
.drawer {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	max-height: calc(100vh - 60px);
	overflow-y: auto;
	padding: 8px var(--gutter) 20px;
	background: var(--surface);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	box-shadow: 0 12px 24px rgba(58, 42, 50, 0.08);
}

.drawer__list,
.drawer__sub {
	padding: 0;
	list-style: none;
}

.drawer__list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 52px;
	border-bottom: 1px solid var(--line);
	color: var(--text);
	font-weight: 700;
	text-decoration: none;
}

.drawer__moods {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 16px 0;
}

.drawer__sub {
	display: flex;
	flex-wrap: wrap;
	gap: 0 16px;
	font-size: 13px;
}

.drawer__sub a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--text-sub);
	text-decoration: none;
}

@media (min-width: 1024px) {
	.site-header__inner {
		height: auto;
		min-height: 68px;
		padding: 0 var(--gutter);
		justify-content: flex-start;
	}

	.site-logo {
		gap: 8px;
		font-size: 20px;
	}

	.site-logo .icon {
		width: 18px;
		height: 18px;
	}

	.icon-btn--menu,
	.icon-btn--search,
	.search-panel,
	.drawer {
		display: none !important;
	}

	.global-nav {
		display: block;
	}

	.header-search {
		display: block;
		margin-left: auto;
		width: 240px;
	}

	.header-search .search-box {
		height: 40px;
		padding: 0 14px;
		background: var(--bg);
		border-radius: 20px;
	}

	.header-search input {
		font-size: 14px;
	}
}

/* ---------- 共通部品 ---------- */
.breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	font-size: 12px;
	line-height: 1.6;
	color: var(--text-sub);
}

.breadcrumb a {
	color: var(--text-sub);
	text-decoration: none;
}

.breadcrumb a:hover {
	color: var(--accent-text);
	text-decoration: underline;
}

.badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--accent);
	color: #FFFFFF;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.5;
}

.badge--bl {
	background: var(--bl);
}

.badge--new {
	background: var(--accent-soft);
	color: var(--accent-text);
}

.badge--sm {
	padding: 2px 10px;
	font-size: 11px;
}

.card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 20px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-card);
}

.card-title {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.5;
}

.sec-heading {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.5;
}

.sec-heading .icon {
	fill: var(--accent);
}

.prose {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.prose p {
	font-size: 15px;
	line-height: 1.95;
}

.btn-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 24px;
	border: 1px solid var(--line-strong);
	border-radius: 24px;
	background: var(--surface);
	color: var(--accent-text);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	text-decoration: none;
	cursor: pointer;
}

.btn-outline:hover {
	background: var(--accent-faint);
}

.btn-buy {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 4px 10px;
	min-height: 56px;
	padding: 8px 20px;
	border-radius: 28px;
	background: var(--accent);
	color: #FFFFFF;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	box-shadow: var(--shadow-btn);
}

.btn-buy:hover {
	background: var(--accent-hover);
	color: #FFFFFF;
}

.btn-buy--sub {
	min-height: 50px;
	background: var(--surface);
	border: 1px solid var(--line-strong);
	color: var(--accent-text);
	font-size: 15px;
	box-shadow: none;
}

.btn-buy--sub:hover {
	background: var(--accent-faint);
	color: var(--accent-text);
}

.btn-price {
	font-size: 13px;
	font-weight: 500;
	opacity: 0.9;
}

.btn-small {
	min-height: 40px;
	padding: 0 14px;
	border: 1px solid var(--line-strong);
	border-radius: 20px;
	background: var(--surface);
	cursor: pointer;
}

.tag-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.tag-chip {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 4px 12px;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	background: var(--accent-faint);
	color: var(--accent-text);
	font-size: 12px;
	line-height: 1.5;
	text-decoration: none;
}

.tag-chip:hover {
	background: var(--accent-soft);
}

.hearts {
	display: inline-flex;
	gap: 3px;
}

.heart.is-on {
	fill: var(--accent);
}

.heart.is-off {
	fill: none;
	stroke: var(--heart-off);
	stroke-width: 1.8;
}

.rating-box {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 14px 16px;
	background: var(--bg);
	border-radius: var(--radius-img);
}

.rating-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-size: 14px;
	line-height: 1.5;
}

.rating-row__label {
	color: var(--text-mid);
}

.data-grid {
	display: grid;
	grid-template-columns: 84px minmax(0, 1fr);
	row-gap: 10px;
	font-size: 14px;
	line-height: 1.5;
}

.data-grid dt {
	color: var(--text-sub);
}

.data-grid dd {
	font-weight: 500;
}

.data-grid a {
	color: var(--text);
	text-decoration-color: var(--line-strong);
	text-underline-offset: 3px;
}

.data-grid a:hover {
	color: var(--accent-text);
}

.avatar {
	width: 48px;
	height: 48px;
	flex-shrink: 0;
	border: 2px solid var(--line-strong);
	border-radius: 50%;
	object-fit: cover;
}

.avatar--initial {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--accent-soft);
	color: var(--accent-text);
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
}

.avatar--kuro {
	background: #EFE7F7;
	border-color: #D9C9EC;
	color: var(--bl);
}

/* ---------- 記事ページ ---------- */
.single-layout {
	max-width: var(--container);
	margin: 0 auto;
	padding: 18px var(--gutter) 0;
	display: flex;
	align-items: flex-start;
	gap: 40px;
}

.single-main {
	flex: 1 1 0;
	min-width: 0;
}

.work {
	display: flex;
	flex-direction: column;
	gap: 26px;
}

.single-side {
	display: none;
}

/* header */
.sec-header {
	display: flex;
	flex-direction: column;
	gap: 26px;
}

.work-head {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.work-title {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.55;
}

.work-meta {
	font-size: 13px;
	line-height: 1.7;
	color: var(--text-sub);
}

/* gallery */
.sec-gallery,
.gallery-more {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* 横長・縦長どちらも縦横比のまま（切り抜かない） */
.gallery-img {
	display: block;
	width: 100%;
	height: auto;
	min-height: 120px;
	object-fit: contain;
	background: var(--placeholder);
	border: 1px solid var(--placeholder-line);
	border-radius: 16px;
}

.js .gallery-more:not(.is-open),
html:not(.js) .gallery-toggle {
	display: none;
}

.gallery-toggle {
	width: 100%;
}

/* cta */
.sec-cta {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* lead */
.sec-lead {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

/* recommend */
.check-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 0;
	list-style: none;
}

.check-list li {
	display: flex;
	gap: 10px;
	font-size: 14px;
	line-height: 1.7;
}

.check-list .icon {
	margin-top: 4px;
	color: var(--accent);
}

/* review */
.sec-review {
	gap: 16px;
}

.reviewer {
	display: flex;
	align-items: center;
	gap: 12px;
}

.reviewer__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.reviewer__name {
	font-size: 12px;
	line-height: 1.5;
	color: var(--text-sub);
}

/* data */
.sec-data {
	gap: 14px;
	padding: 18px;
}

/* related */
.sec-related {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	padding: 0;
	list-style: none;
}

.related-item {
	display: flex;
	flex-direction: column;
	gap: 6px;
	color: var(--text);
	text-decoration: none;
}

.related-item:hover {
	color: var(--accent-text);
}

/* 横長 4:3 の枠。縦長の表紙は切らずに枠内に収める */
.related-item__cover {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--placeholder);
	border-radius: 12px;
}

.related-item__cover img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.related-item__title {
	display: -webkit-box;
	overflow: hidden;
	font-size: 12px;
	line-height: 1.5;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

@media (max-width: 767px) {
	.related-grid li:nth-child(n + 4) {
		display: none;
	}
}

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

/* PC: 本文＋右サイド（sticky）の2段組み */
@media (min-width: 1024px) {
	.single-layout {
		padding-top: 28px;
	}

	.work {
		gap: 30px;
	}

	.sec-header {
		gap: 30px;
	}

	.breadcrumb {
		font-size: 13px;
	}

	.work-head {
		gap: 12px;
	}

	.work-title {
		font-size: 30px;
		line-height: 1.5;
	}

	.work-meta {
		font-size: 14px;
	}

	.sec-heading {
		gap: 8px;
		font-size: 21px;
	}

	.sec-heading .icon {
		width: 20px;
		height: 20px;
	}

	.prose p {
		font-size: 16px;
		line-height: 2;
	}

	.card {
		padding: 24px;
		border-radius: 20px;
	}

	.card-title {
		font-size: 19px;
	}

	.check-list li {
		font-size: 15px;
	}

	.reviewer .avatar {
		width: 52px;
		height: 52px;
	}

	.reviewer__name {
		font-size: 13px;
	}

	.sec-gallery {
		align-items: center;
		gap: 14px;
		padding: 24px;
		background: var(--surface);
		border: 1px solid var(--line);
		border-radius: 20px;
	}

	.gallery-more {
		width: 100%;
		align-items: center;
		gap: 14px;
	}

	.gallery-img {
		max-width: 480px;
		border: 0;
		border-radius: var(--radius-img);
	}

	.gallery-toggle {
		width: auto;
		padding: 0 28px;
		background: var(--bg);
	}

	.related-item {
		gap: 8px;
	}

	.related-item__title {
		font-size: 13px;
	}

	/* サイドに作品データ・評価・購入ボタンがあるので本文側は省く */
	.single-main .sec-cta,
	.single-main .sec-data,
	.single-main .sec-review .rating-box,
	.single-main .sec-review--rating-only {
		display: none;
	}

	.single-side {
		display: block;
		flex: 0 0 340px;
		position: sticky;
		top: 24px;
		max-height: calc(100vh - 48px);
		overflow-y: auto;
		overscroll-behavior: contain;
		scrollbar-width: thin;
	}

	.admin-bar .single-side {
		top: 56px;
		max-height: calc(100vh - 80px);
	}

	.side-card {
		display: flex;
		flex-direction: column;
		gap: 16px;
		padding: 22px;
		background: var(--surface);
		border: 1px solid var(--line);
		border-radius: 20px;
	}

	.side-card__cover {
		display: block;
		width: 100%;
		height: auto;
		max-height: 440px;
		object-fit: contain;
		background: var(--placeholder);
		border-radius: var(--radius-img);
	}

	.side-card .data-grid {
		grid-template-columns: 76px minmax(0, 1fr);
		row-gap: 9px;
	}

	.side-card .rating-box {
		padding: 12px 14px;
	}

	.side-card .rating-row {
		font-size: 13px;
	}

	.side-card__cta {
		display: flex;
		flex-direction: column;
		gap: 10px;
	}

	.side-card .btn-buy {
		min-height: 54px;
		font-size: 15px;
		box-shadow: none;
	}

	.side-card .btn-buy--sub {
		min-height: 48px;
		font-size: 14px;
	}
}

/* ---------- 一覧 ---------- */
.page-hero {
	background: var(--accent-soft);
}

.page-hero__inner {
	max-width: var(--container);
	margin: 0 auto;
	padding: 22px var(--gutter) 20px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.page-hero .breadcrumb,
.page-hero .breadcrumb a {
	color: var(--text-on-soft);
}

.page-hero__title {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.5;
}

.page-hero__desc {
	font-size: 13px;
	line-height: 1.7;
	color: var(--text-on-soft);
}

.list-main {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 18px var(--gutter) 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.list-controls {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.seg {
	display: flex;
	padding: 3px;
	background: var(--surface);
	border: 1px solid var(--line-strong);
	border-radius: 24px;
}

.seg a {
	display: flex;
	align-items: center;
	height: 38px;
	padding: 0 16px;
	border-radius: 19px;
	color: var(--accent-text);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

.seg a[aria-current] {
	background: var(--accent);
	color: #FFFFFF;
}

.sort-form {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
	font-size: 12px;
	color: var(--text-on-soft);
}

.sort-form select {
	height: 44px;
	padding: 0 12px;
	background: var(--surface);
	border: 1px solid var(--line-strong);
	border-radius: 22px;
	font-size: 13px;
	color: var(--text);
}

.co-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 8px;
	font-size: 12px;
	line-height: 1.8;
}

.co-tags span {
	color: var(--text-on-soft);
}

.co-tags a {
	text-decoration: none;
}

.card-list {
	display: grid;
	gap: 12px;
	padding: 0;
	list-style: none;
}

@media (min-width: 768px) {
	.card-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.list-main .card-list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 16px;
	}

	.page-hero__inner {
		padding: 32px var(--gutter) 28px;
	}

	.page-hero__title {
		font-size: 28px;
	}

	.list-main {
		padding-top: 24px;
		gap: 22px;
	}
}

.work-card {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	align-items: start;
	gap: 12px;
	height: 100%;
	padding: 12px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 16px;
	color: var(--text);
	text-decoration: none;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.work-card:hover {
	color: var(--text);
	border-color: var(--line-strong);
	box-shadow: 0 6px 16px rgba(194, 58, 104, 0.1);
}

/* 横長 4:3 のサムネ。縦長の表紙は切らずに枠内に収める */
.work-card__cover {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--placeholder);
	border-radius: 10px;
}

.work-card__cover img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.work-card__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	min-width: 0;
}

.work-card__title {
	display: -webkit-box;
	overflow: hidden;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.work-card__circle {
	font-size: 12px;
	line-height: 1.5;
	color: var(--text-sub);
}

.work-card__hook {
	font-size: 12px;
	line-height: 1.6;
	color: var(--text-mid);
}

.work-card__rating {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	line-height: 1.5;
	color: var(--text-sub);
}

.work-card__rating .hearts {
	gap: 2px;
}

.pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	padding: 8px 0;
	list-style: none;
}

.pagination .page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: var(--surface);
	border: 1px solid var(--line-strong);
	border-radius: 50%;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
}

.pagination .page-numbers.current {
	background: var(--accent);
	border-color: var(--accent);
	color: #FFFFFF;
}

.pagination .page-numbers.dots {
	background: transparent;
	border: 0;
}

.empty-state {
	align-items: flex-start;
}

/* ---------- トップ ---------- */
.front-hero {
	background: var(--accent-soft);
}

.front-hero__inner {
	max-width: var(--container);
	margin: 0 auto;
	padding: 26px var(--gutter) 24px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.front-hero__catch {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.5;
}

.front-hero__lead {
	font-size: 13px;
	line-height: 1.7;
	color: var(--text-on-soft);
}

.search-form--hero .search-label {
	margin-bottom: 14px;
}

.front-main {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 24px var(--gutter) 0;
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.front-section {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.front-section__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.front-section__title {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.5;
}

.front-section__more {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-size: 13px;
	text-decoration: none;
}

.type-entry {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.type-entry__link {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 52px;
	border-radius: 14px;
	background: var(--accent);
	color: #FFFFFF;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
}

.type-entry__link--bl {
	background: var(--bl);
}

.type-entry__link:hover {
	color: #FFFFFF;
	filter: brightness(0.93);
}

.mood-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.mood-tag {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 6px 14px;
	background: var(--surface);
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	color: var(--accent-text);
	font-size: 13px;
	line-height: 1.5;
	text-decoration: none;
}

.mood-tag:hover {
	background: var(--accent-faint);
}

.pickup__link {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 18px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 20px;
	color: var(--text);
	text-decoration: none;
}

.pickup__link:hover {
	color: var(--text);
	border-color: var(--line-strong);
}

.pickup__frame {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--placeholder);
	border-radius: var(--radius-img);
}

.pickup__cover {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.pickup__title {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.5;
}

.pickup__text {
	font-size: 13px;
	line-height: 1.8;
	color: var(--text-mid);
}

@media (min-width: 1024px) {
	.front-hero__inner {
		padding: 48px var(--gutter) 44px;
		gap: 16px;
	}

	.front-hero__catch {
		font-size: 30px;
	}

	.front-hero__lead {
		font-size: 15px;
	}

	.front-hero .search-form {
		max-width: 520px;
	}

	.front-main {
		padding-top: 36px;
		gap: 40px;
	}

	.front-section__title {
		font-size: 20px;
	}

	.type-entry {
		max-width: 520px;
	}

	.pickup__link {
		display: grid;
		grid-template-columns: 280px minmax(0, 1fr);
		grid-template-rows: auto 1fr;
		gap: 8px 24px;
		padding: 24px;
	}

	.pickup__frame {
		grid-row: 1 / 3;
		align-self: start;
	}

	.pickup__title {
		font-size: 18px;
	}

	.pickup__text {
		font-size: 14px;
	}
}

/* ---------- 固定ページ・404 ---------- */
.page-main {
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
	padding: 18px var(--gutter) 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.page-article {
	gap: 18px;
}

.page-article__title {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.55;
}

.entry-content > * + * {
	margin-top: 1em;
}

.entry-content h2 {
	margin-top: 1.6em;
	font-size: 18px;
	line-height: 1.5;
}

.entry-content h3 {
	margin-top: 1.4em;
	font-size: 16px;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.4em;
}

.not-found {
	gap: 16px;
}

@media (min-width: 1024px) {
	.page-main {
		padding-top: 32px;
	}

	.page-article__title {
		font-size: 30px;
		line-height: 1.5;
	}

	.entry-content h2 {
		font-size: 21px;
	}
}

/* ---------- フッター ---------- */
.site-footer {
	margin-top: 40px;
	background: var(--surface);
	border-top: 1px solid var(--line);
}

.site-footer__inner {
	max-width: var(--container);
	margin: 0 auto;
	padding: 24px var(--gutter) 28px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.insta-link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	background: var(--accent-soft);
	border-radius: 16px;
	color: var(--text);
	text-decoration: none;
}

.insta-link:hover {
	color: var(--text);
	background: #F9D6E2;
}

.insta-link .icon {
	color: var(--accent-text);
}

.insta-link__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	line-height: 1.5;
}

.insta-link__text strong {
	font-size: 14px;
}

.insta-link__handle {
	font-size: 12px;
	color: var(--text-mid);
}

.footer-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0 16px;
	padding: 0;
	list-style: none;
	font-size: 12px;
}

.footer-nav__list a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--text-sub);
	text-decoration: none;
}

.footer-nav__list a:hover {
	color: var(--accent-text);
	text-decoration: underline;
}

.footer-note {
	font-size: 11px;
	line-height: 1.7;
	color: var(--text-sub);
}

@media (min-width: 1024px) {
	.site-footer {
		margin-top: 56px;
	}

	.site-footer__inner {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		gap: 12px 24px;
		padding: 30px var(--gutter) 34px;
	}

	.insta-link {
		padding: 12px 18px;
	}

	.footer-nav__list {
		gap: 0 20px;
		font-size: 13px;
	}

	.footer-note {
		width: 100%;
		font-size: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		transition: none !important;
		scroll-behavior: auto !important;
	}
}
