/*
 * 読みもの・固定ページ・404（設計書⑦）。一覧のカード、記事の本文（.lg-prose）。
 */
.lg-journal {
	padding-top: 24px;
	padding-bottom: 72px;
}
.lg-journal h1 {
	margin: 8px 0 0;
	font-size: clamp(36px, 5vw, 64px);
	line-height: 1.1;
	letter-spacing: -0.02em;
}
.lg-journal-lead,
.lg-journal-empty {
	margin: 14px 0 0;
	color: var(--lg-sub);
}
.lg-story-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 28px 24px;
	margin-top: 32px;
}
.lg-story-card a {
	display: block;
	color: var(--lg-ink);
	text-decoration: none;
}
.lg-story-card .lg-card-photo {
	display: block;
	overflow: hidden;
	border-radius: var(--lg-radius-panel);
	aspect-ratio: 4 / 3;
	background: var(--lg-bg-2);
}
.lg-story-card .lg-card-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.lg-story-card-body {
	display: grid;
	gap: 6px;
	padding-top: 14px;
}
.lg-story-card time {
	font-size: var(--lg-text-small);
	color: var(--lg-sub);
}
.lg-story-card h2 {
	margin: 0;
	font-size: 21px;
	line-height: 1.35;
	overflow-wrap: anywhere;
}
.lg-story-card a:hover h2 {
	text-decoration: underline;
}
.lg-story-card-text {
	font-size: var(--lg-text-small);
	color: var(--lg-sub);
	display: -webkit-box;
	overflow: hidden;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}
.lg-journal .lg-pager {
	margin-top: 36px;
}

/* ---- 読みもの 1 本（設計書⑦ 4.2） ---- */
.lg-story-narrow {
	max-width: calc(680px + var(--lg-gutter) * 2);
}
.lg-story h1 {
	font-size: clamp(30px, 4.4vw, 48px);
	line-height: 1.25;
	letter-spacing: -0.01em;
	overflow-wrap: anywhere;
}
.lg-story-date {
	margin: 14px 0 0;
	font-size: var(--lg-text-small);
	color: var(--lg-sub);
}
.lg-story-cover {
	margin: 32px 0 0;
}
.lg-story-cover img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--lg-radius-photo);
}
.lg-story-cover figcaption,
.lg-prose figcaption {
	margin-top: 8px;
	font-size: var(--lg-text-small);
	color: var(--lg-sub);
}
.lg-story-adjacent {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 12px;
	margin-top: 48px;
}
.lg-story-adjacent a {
	display: grid;
	gap: 6px;
	padding: 18px 20px;
	border-radius: var(--lg-radius-photo);
	background: var(--lg-bg-2);
	color: var(--lg-ink);
	text-decoration: none;
}
.lg-story-adjacent a.is-next {
	text-align: right;
}
.lg-story-adjacent a > span {
	font-size: var(--lg-text-small);
	color: var(--lg-sub);
}
.lg-story-adjacent strong {
	font-size: 15px;
	line-height: 1.45;
	overflow-wrap: anywhere;
}
.lg-story-adjacent a:hover strong {
	text-decoration: underline;
}
.lg-story-next {
	margin-top: 48px;
	padding: 28px 24px;
	border-radius: var(--lg-radius-panel);
	background: var(--lg-bg-2);
}
.lg-story-next h2 {
	margin: 0;
	font-size: 21px;
	line-height: 1.35;
}
.lg-story-next p {
	margin: 8px 0 18px;
	color: var(--lg-sub);
}

/* ---- 本文（the_content の中）。固定ページでも使う ---- */
.lg-prose {
	margin-top: 32px;
	font-size: var(--lg-text-body);
	line-height: 1.9;
	/* 本文はふつうの文章として折り返す。base.css の keep-all（見出し用）のままだと、句読点でしか折り返さず、
	   「。」が行の頭に来たり、1 行が短くなったりする。長い URL などは overflow-wrap で折る */
	word-break: normal;
	overflow-wrap: anywhere;
}
.lg-prose > * {
	margin-top: 0;
	margin-bottom: 1.4em;
}
.lg-prose h2 {
	margin: 2.2em 0 .8em;
	font-size: clamp(24px, 3vw, 30px);
	line-height: 1.35;
}
.lg-prose h3 {
	margin: 1.8em 0 .6em;
	font-size: 21px;
	line-height: 1.4;
}
.lg-prose a {
	color: var(--lg-link);
	text-decoration: underline;
	text-underline-offset: .15em;
}
.lg-prose img,
.lg-prose video,
.lg-prose iframe {
	max-width: 100%;
	height: auto;
}
.lg-prose img {
	border-radius: var(--lg-radius-photo);
}
.lg-prose figure {
	margin-left: 0;
	margin-right: 0;
}
.lg-prose ul,
.lg-prose ol {
	padding-left: 1.4em;
}
.lg-prose li + li {
	margin-top: .3em;
}
.lg-prose blockquote {
	margin-left: 0;
	margin-right: 0;
	padding: 4px 0 4px 20px;
	border-left: 3px solid var(--lg-line);
	color: var(--lg-sub);
}
.lg-prose table {
	display: block;
	max-width: 100%;
	overflow-x: auto;
	border-collapse: collapse;
	font-size: 15px;
}
.lg-prose th,
.lg-prose td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--lg-line);
	text-align: left;
	vertical-align: top;
}
.lg-prose hr {
	border: 0;
	border-top: 1px solid var(--lg-line);
	margin: 2.4em 0;
}
.lg-prose .lagoon-ad {
	margin: 2.4em 0;
}
.lg-prose-pages {
	display: flex;
	gap: 12px;
}

/* ---- 固定ページ（設計書⑦ 4.3） ---- */
.lg-page-narrow {
	max-width: calc(720px + var(--lg-gutter) * 2);
}
.lg-page-next {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 24px;
	margin-top: 56px;
	padding-top: 24px;
	border-top: 1px solid var(--lg-line);
}
.lg-page-next p {
	margin: 0;
	font-weight: 600;
}

/* ---- 見つからないページ 404（設計書⑦ 4.5） ---- */
.lg-notfound-wrap {
	max-width: calc(720px + var(--lg-gutter) * 2);
	padding-top: 56px;
	padding-bottom: 48px;
}
.lg-notfound-number {
	margin: 0;
	font-size: clamp(88px, 16vw, 160px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -.03em;
	color: rgba(0, 0, 0, .08);
}
.lg-notfound h1 {
	margin: 16px 0 0;
	font-size: clamp(28px, 4vw, 40px);
	line-height: 1.3;
}
.lg-notfound-text {
	margin: 16px 0 0;
	line-height: 1.8;
	color: var(--lg-sub);
}
.lg-notfound-search {
	margin-top: 28px;
}
.lg-notfound-islands {
	margin-top: 20px;
}
.lg-notfound-islands a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
/* 島の色の点（⑤の探すページと同じ） */
.lg-notfound-islands i {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--c);
}
.lg-notfound-wrap > p:last-child {
	margin: 32px 0 0;
}
@media (max-width: 734px) {
	/* 島は 5 つだけなので、スマホでも横にスクロールさせず折り返す */
	.lg-notfound-islands {
		flex-wrap: wrap;
		width: auto;
		margin: 20px 0 0;
		padding: 0;
		overflow: visible;
	}
}
