/*
 * terre-verte design layer (2026-11)
 * A quiet, green-based reading layout: essays and photos lead, decoration stays out of the way.
 * Loaded after style.css. Selectors start with "html body" where they must win over
 * older rules in Appearance > Customize > Additional CSS.
 */

:root {
	--tv-paper: #f4f2eb;
	--tv-ink: #2a2e29;
	--tv-ink-soft: #545b52;
	--tv-muted: #868c82;
	--tv-line: #dcd9ce;
	--tv-green: #4f6b55;
	--tv-green-deep: #33483a;
	--tv-green-pale: #e6ebe1;
	--tv-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
	--tv-latin: "Lobster", "Noto Serif JP", cursive;
	--tv-measure: 680px;
}

/* ---------- Base ---------- */
html body {
	background: var(--tv-paper);
	color: var(--tv-ink);
	font-family: var(--tv-serif);
	font-size: 16px;
	font-weight: 400;
	line-height: 2;
	letter-spacing: .03em;
	-webkit-font-smoothing: antialiased;
	font-feature-settings: "palt" 0;
}
html body h1,
html body h2,
html body h3,
html body h4,
html body h5,
html body h6 {
	font-family: var(--tv-serif);
	color: var(--tv-ink);
	font-weight: 600;
	letter-spacing: .04em;
}
html body a {
	color: var(--tv-green);
	transition: color .2s ease;
}
html body a:hover,
html body a:focus {
	color: var(--tv-green-deep);
}
html body a:focus-visible,
html body button:focus-visible,
html body input:focus-visible {
	outline: 2px solid var(--tv-green);
	outline-offset: 3px;
}
::selection {
	background: var(--tv-green-pale);
}

/* ---------- Layout ---------- */
html body .site {
	max-width: calc(var(--tv-measure) + 48px);
	margin: 0 auto;
	padding: 0 24px;
	background: transparent;
}
@media screen and (min-width: 50em) {
	html body .site,
	html body .no-sidebar .site {
		max-width: calc(var(--tv-measure) + 48px);
		margin: 0 auto;
		padding: 0 24px;
	}
	html body .content-area,
	html body .site-main,
	html body .site-content .widget-area {
		float: none;
		width: auto;
		margin: 0;
	}
}

/* ---------- Header ---------- */
html body .site-header {
	margin: 0;
	padding: 72px 0 8px;
	border: 0;
	text-align: center;
}
html body .site-branding {
	margin: 0;
}
html body .site-title {
	display: block;
	margin: 0;
	font-family: var(--tv-latin);
	font-size: 48px;
	font-style: normal;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: .02em;
}
html body .site-title a,
html body .site-title a:visited {
	font-family: var(--tv-latin);
	font-size: inherit;
	line-height: inherit;
	color: var(--tv-green-deep);
	text-decoration: none;
}
html body .site-title::after {
	content: "";
	display: block;
	width: 28px;
	height: 1px;
	margin: 22px auto 0;
	background: var(--tv-green);
}
html body .site-description {
	margin: 16px 0 0;
	color: var(--tv-muted);
	font-size: 13px;
	letter-spacing: .2em;
}

/* Navigation: three items, always visible, no toggle needed */
html body .menu-toggle {
	display: none;
}
html body .main-navigation {
	margin: 20px 0 0;
	padding: 0;
	border: 0;
	font-size: 13px;
	line-height: 1.6;
	letter-spacing: .16em;
	text-transform: none;
	text-align: center;
}
html body .main-navigation ul:first-child,
html body .main-navigation ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 28px;
	padding: 0;
	margin: 0;
}
html body .main-navigation li {
	display: block;
}
html body .main-navigation a,
html body .main-navigation a:visited {
	display: inline-block;
	padding: 6px 0;
	border: 0;
	color: var(--tv-ink-soft);
	text-decoration: none;
}
html body .main-navigation a:hover,
html body .main-navigation .current-menu-item > a {
	color: var(--tv-green);
}

html body .site-content {
	padding-top: 48px;
}

/* ---------- Post list ---------- */
html body .hentry {
	margin: 0;
	padding: 0;
	border: 0;
}
html body .entry-card {
	padding: 48px 0 52px;
	border-bottom: 1px solid var(--tv-line);
}
html body .entry-card:first-child {
	padding-top: 16px;
}
html body .site-main .entry-card:last-of-type {
	border-bottom: 0;
}
html body .entry-meta {
	margin: 0 0 10px;
	color: var(--tv-muted);
	font-size: 12px;
	letter-spacing: .12em;
	line-height: 1.6;
}
html body .entry-meta > * + *::before {
	content: "·";
	margin: 0 .8em;
	color: var(--tv-line);
}
html body .entry-meta a,
html body .entry-meta a:visited {
	color: var(--tv-muted);
	text-decoration: none;
}
html body .entry-meta a:hover {
	color: var(--tv-green);
}
html body .entry-title,
html body .page .entry-title {
	margin: 0;
	font-size: 22px;
	line-height: 1.55;
	letter-spacing: .06em;
	text-transform: none;
}
html body .entry-title a,
html body .entry-title a:visited {
	color: var(--tv-ink);
	text-decoration: none;
}
html body .entry-title a:hover {
	color: var(--tv-green);
}
html body .entry-lead {
	margin: 14px 0 0;
	color: var(--tv-ink-soft);
	font-size: 15px;
	line-height: 2;
}
html body .entry-card .entry-footer {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin: 18px 0 0;
	font-size: 13px;
	letter-spacing: .1em;
}
html body .entry-more,
html body .entry-more:visited {
	color: var(--tv-green);
	text-decoration: none;
	border-bottom: 1px solid currentColor;
	padding-bottom: 2px;
}
html body .entry-more::after {
	content: " →";
}
html body .reading-time {
	color: var(--tv-muted);
	font-size: 12px;
}
html body .entry-thumbnail {
	display: block;
	margin: 20px 0 0;
}
html body .entry-thumbnail img {
	display: block;
	width: 100%;
	height: auto;
}

/* Pagination */
html body .posts-navigation,
html body .site-main .paging-navigation {
	margin: 24px 0 0;
	padding: 24px 0 0;
	border-top: 1px solid var(--tv-line);
	font-size: 13px;
	letter-spacing: .12em;
}
html body .posts-navigation a {
	text-decoration: none;
}

/* Archive heading */
html body .page-header {
	margin: 0 0 8px;
	padding: 0 0 24px;
	border-bottom: 1px solid var(--tv-line);
	text-align: center;
}
html body .page-title {
	margin: 0;
	font-size: 20px;
	letter-spacing: .2em;
}

/* ---------- Single post ---------- */
html body.single .hentry,
html body.page .hentry {
	padding: 16px 0 0;
}
html body.single .entry-header,
html body.page .entry-header {
	margin: 0 0 48px;
	text-align: center;
}
html body.single .entry-title,
html body.page .entry-title {
	font-size: 28px;
	line-height: 1.6;
	letter-spacing: .1em;
}
html body.single .entry-meta {
	margin-bottom: 18px;
}
html body .entry-content {
	color: var(--tv-ink);
	font-size: 17px;
	line-height: 2.15;
	letter-spacing: .05em;
}
html body .entry-content p {
	margin: 0 0 2em;
}
html body .entry-content blockquote {
	margin: 2.4em 0;
	padding: .2em 0 .2em 1.6em;
	border-left: 2px solid var(--tv-green);
	color: var(--tv-ink-soft);
	font-size: 16px;
	font-style: normal;
}
html body .entry-content blockquote::before {
	content: none;
}
html body .entry-content img {
	height: auto;
}
html body .entry-content hr {
	width: 28px;
	height: 1px;
	margin: 3em auto;
	border: 0;
	background: var(--tv-green);
}
html body.single .entry-footer {
	margin: 56px 0 0;
	padding: 20px 0 0;
	border-top: 1px solid var(--tv-line);
	color: var(--tv-muted);
	font-size: 12px;
	letter-spacing: .1em;
}
html body.single .entry-footer {
	text-transform: none;
}
html body.single .entry-footer > span {
	margin-right: 1.4em;
}
/* The category already shows above the title. */
html body.single .entry-footer .cat-links {
	display: none;
}
html body.single .entry-footer:not(:has(.tags-links, .edit-link)) {
	display: none;
}

/* 次に読む */
html body .next-reads {
	margin: 64px 0 0;
}
html body .next-reads-title {
	margin: 0 0 20px;
	color: var(--tv-muted);
	font-size: 12px;
	font-weight: 400;
	letter-spacing: .3em;
	text-align: center;
}
html body .next-reads-list {
	display: grid;
	gap: 16px;
}
@media screen and (min-width: 40em) {
	html body .next-reads-list {
		grid-template-columns: 1fr 1fr;
	}
}
html body .next-read,
html body .next-read:visited {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 24px 24px 26px;
	background: var(--tv-green-pale);
	color: var(--tv-ink);
	text-decoration: none;
	transition: background .2s ease;
}
html body .next-read:hover {
	background: #dbe3d5;
	color: var(--tv-ink);
}
html body .next-read-meta {
	color: var(--tv-muted);
	font-size: 11px;
	letter-spacing: .12em;
}
html body .next-read-title {
	font-size: 17px;
	font-weight: 600;
	letter-spacing: .06em;
	line-height: 1.6;
}
html body .next-read-lead {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	color: var(--tv-ink-soft);
	font-size: 13px;
	line-height: 1.9;
}

/* Comments stay quiet */
html body .comments-area {
	margin-top: 64px;
	font-size: 14px;
}

/* ---------- Widgets (below the list) ---------- */
html body .site-content .widget-area {
	margin: 72px 0 0;
	padding: 40px 0 0;
	border-top: 1px solid var(--tv-line);
	display: grid;
	gap: 32px;
}
@media screen and (min-width: 40em) {
	html body .site-content .widget-area {
		grid-template-columns: repeat(3, 1fr);
		gap: 40px 48px;
	}
	html body .site-content .widget-area .widget_search {
		grid-column: 1 / -1;
	}
}
html body .widget {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 14px;
}
html body .widget-title,
html body .widget h1,
html body .widget h2 {
	margin: 0 0 12px;
	color: var(--tv-muted);
	font-family: var(--tv-serif);
	font-size: 11px;
	font-weight: 400;
	letter-spacing: .3em;
	text-transform: uppercase;
}
html body .widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
html body .widget li {
	padding: 4px 0;
	border: 0;
}
html body .widget a,
html body .widget a:visited {
	color: var(--tv-ink-soft);
	text-decoration: none;
}
html body .widget a:hover {
	color: var(--tv-green);
}
html body .widget_search .search-form {
	display: flex;
	gap: 8px;
}
html body .widget_search label {
	flex: 1;
}
html body .widget_search .search-field {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid var(--tv-line);
	border-radius: 0;
	background: #fbfaf6;
	color: var(--tv-ink);
	font: inherit;
	font-size: 14px;
}
html body .widget_search .search-submit {
	display: inline-block;
	padding: 10px 18px;
	border: 0;
	border-radius: 0;
	background: var(--tv-green);
	color: #fff;
	font: inherit;
	font-size: 13px;
	letter-spacing: .12em;
	box-shadow: none;
	text-shadow: none;
}

/* ---------- Footer ---------- */
html body .site-footer {
	margin: 80px 0 0;
	padding: 28px 0 48px;
	border-top: 1px solid var(--tv-line);
	color: var(--tv-muted);
	font-size: 12px;
	letter-spacing: .14em;
	text-transform: none;
	text-align: center;
}
html body .site-info {
	float: none;
	max-width: none;
	text-align: center;
}
html body .site-info p {
	margin: 0;
}

/* ---------- Small screens ---------- */
@media screen and (max-width: 39.99em) {
	html body .site-header {
		padding-top: 48px;
	}
	html body .site-title {
		font-size: 40px;
	}
	html body .main-navigation ul {
		gap: 4px 20px;
	}
	html body .entry-card {
		padding: 40px 0 44px;
	}
	html body.single .entry-title {
		font-size: 23px;
	}
	html body .entry-content {
		font-size: 16px;
		line-height: 2.05;
	}
}

/* ---------- Top page hero (photos from the Photo Gallery) ---------- */
.tv-hero {
	position: relative;
	height: 82vh;
	min-height: 460px;
	max-height: 860px;
	overflow: hidden;
	background: #1f2a22;
}
.tv-hero-slides,
.tv-hero-slide {
	position: absolute;
	inset: 0;
	margin: 0;
}
.tv-hero-slide {
	opacity: 0;
	transition: opacity 2.4s ease-in-out;
}
.tv-hero-slide.is-active {
	opacity: 1;
}
.tv-hero-slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.02);
}
.tv-hero.is-animated .tv-hero-slide.is-active img {
	animation: tv-hero-drift 9.4s ease-out both;
}
@keyframes tv-hero-drift {
	from { transform: scale(1.02); }
	to   { transform: scale(1.08); }
}
/* soft shade so the white title reads on any photo */
.tv-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(ellipse 46% 34% at 50% 50%, rgba(16, 24, 18, .38), rgba(16, 24, 18, 0) 100%),
		linear-gradient(to bottom, rgba(16, 24, 18, .38) 0%, rgba(16, 24, 18, .12) 40%, rgba(16, 24, 18, .12) 62%, rgba(16, 24, 18, .42) 100%);
}
.tv-hero-caption {
	position: absolute;
	right: 24px;
	bottom: 20px;
	z-index: 2;
	font-size: 11px;
	letter-spacing: .14em;
	line-height: 1.6;
}
html body .tv-hero-caption a,
html body .tv-hero-caption a:visited {
	color: rgba(255, 255, 255, .78);
	text-decoration: none;
}
html body .tv-hero-caption a:hover {
	color: #fff;
}
.tv-hero-dots {
	position: absolute;
	left: 24px;
	bottom: 26px;
	z-index: 2;
	display: flex;
	gap: 8px;
}
.tv-hero-dot {
	width: 18px;
	height: 1px;
	background: rgba(255, 255, 255, .45);
	transition: background 1s ease, width 1s ease;
}
.tv-hero-dot.is-active {
	width: 34px;
	background: #fff;
}

/* Title and menu sit on the photo */
html body.has-hero .site-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 3;
	height: 82vh;
	min-height: 460px;
	max-height: 860px;
	padding: 0 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}
html body.has-hero .site-header a,
html body.has-hero .site-header button {
	pointer-events: auto;
}
html body.has-hero .site-title {
	font-size: 76px;
	text-shadow: 0 1px 24px rgba(0, 0, 0, .28);
}
html body.has-hero .site-title a,
html body.has-hero .site-title a:visited {
	color: #fff;
}
html body.has-hero .site-title::after {
	background: rgba(255, 255, 255, .8);
}
html body.has-hero .main-navigation {
	font-size: 14px;
}
html body.has-hero .main-navigation a,
html body.has-hero .main-navigation a:visited {
	color: rgba(255, 255, 255, .92);
	text-shadow: 0 1px 10px rgba(0, 0, 0, .35);
}
html body.has-hero .main-navigation a:hover {
	color: #fff;
}
html body.has-hero .site-content {
	padding-top: 72px;
}

@media screen and (max-width: 39.99em) {
	.tv-hero,
	html body.has-hero .site-header {
		height: 68vh;
		min-height: 380px;
	}
	html body.has-hero .site-title {
		font-size: 54px;
	}
	.tv-hero-caption {
		right: 16px;
		bottom: 40px;
		font-size: 10px;
	}
	.tv-hero-dots {
		left: 16px;
		bottom: 22px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.tv-hero-slide {
		transition: none;
	}
	.tv-hero.is-animated .tv-hero-slide.is-active img {
		animation: none;
	}
}

/* Hero tagline: one line of the site's concept under the logo */
.tv-tagline {
	display: none;
}
html body.has-hero .tv-tagline {
	display: block;
	margin: 20px 0 0;
	color: #fff;
	font-family: var(--tv-serif);
	font-size: 16px;
	font-weight: 400;
	letter-spacing: .32em;
	line-height: 1.8;
	text-shadow: 0 1px 14px rgba(0, 0, 0, .4);
}
html body.has-hero .site-description {
	display: none;
}
@media screen and (max-width: 39.99em) {
	html body.has-hero .tv-tagline {
		font-size: 14px;
		letter-spacing: .24em;
	}
}
html body.has-hero .tv-tagline ruby {
	ruby-position: over;
}
html body.has-hero .tv-tagline rt {
	font-size: 9px;
	letter-spacing: .18em;
	opacity: .9;
}
/* Waka: one line on PC, two lines on phones */
html body.has-hero .tv-tagline .tv-sp {
	display: none;
}
@media screen and (max-width: 39.99em) {
	html body.has-hero .tv-tagline .tv-sp {
		display: inline;
	}
	html body.has-hero .tv-tagline .tv-gap {
		display: none;
	}
}

/* ---- 2.0.1: 旧「追加CSS」から必要な部分だけ移した（写真一覧・注意書き・スライド） ---- */
.entry-content ul.swipeboxs { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.entry-content ul.swipeboxs li { width: 48%; margin: 1%; }
@media screen and (min-width: 769px) {
	.entry-content ul.swipeboxs li { width: 24%; margin: .5%; }
}
.entry-content ul.note { list-style: none; margin: 0 0 1rem; padding: 0; }
.entry-content ul.note li { font-size: .8rem; padding-left: 1em; text-indent: -1em; line-height: 1.6; }
#skippr { height: 500px; position: absolute; display: block; }

/* ---- 2.1.0: メインメニューをボタンの形にして、ひと目でメニューと分かるように ---- */
html body .main-navigation {
	margin-top: 28px;
	font-size: 14px;
	letter-spacing: .14em;
}
html body .main-navigation ul:first-child,
html body .main-navigation ul {
	gap: 10px 12px;
}
html body .main-navigation a,
html body .main-navigation a:visited {
	padding: 8px 22px;
	border: 1px solid rgba(79, 107, 85, .45);
	border-radius: 999px;
	color: var(--tv-green);
	background: rgba(255, 255, 255, .55);
	transition: background-color .25s, color .25s, border-color .25s;
}
html body .main-navigation a:hover,
html body .main-navigation a:focus-visible,
html body .main-navigation .current-menu-item > a,
html body .main-navigation .current-post-parent > a,
html body .main-navigation .current-menu-parent > a {
	border-color: var(--tv-green);
	background: var(--tv-green);
	color: #fff;
	opacity: 1;
}
/* 写真の上では、すりガラスの白い枠 */
html body.has-hero .main-navigation a,
html body.has-hero .main-navigation a:visited {
	border-color: rgba(255, 255, 255, .7);
	background: rgba(20, 30, 25, .22);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	color: #fff;
	text-shadow: 0 1px 6px rgba(0, 0, 0, .3);
}
html body.has-hero .main-navigation a:hover,
html body.has-hero .main-navigation a:focus-visible {
	border-color: #fff;
	background: #fff;
	color: var(--tv-green);
	text-shadow: none;
}
@media screen and (max-width: 39.99em) {
	html body .main-navigation {
		margin-top: 22px;
		font-size: 13px;
		letter-spacing: .1em;
	}
	html body .main-navigation ul:first-child,
	html body .main-navigation ul {
		gap: 8px;
	}
	html body .main-navigation a,
	html body .main-navigation a:visited {
		padding: 7px 15px;
	}
}
