/*
Theme Name: ツチトミズ
Theme URI: https://tsuchitomizu.com
Author: hyodorantaro
Description: ツチトミズ（tsuchitomizu.com）専用テーマ。高さの揃わないカードを段組みに流し込むレイアウト。
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: tsuchitomizu
*/

/* ============================================================
   TSUCHITOMIZU ─ 段組み型
   植物の写真は縦長も横長もある。無理に同じ高さに切りそろえず、
   写真の比率のまま段組み(column)に流し込んで、高さが揃わないまま並べる。
   ============================================================ */
:root {
	--ink:     #1f2b28;
	--sub:     #66756f;
	--line:    #dde5e1;
	--bg:      #f7f9f6;
	--card:    #ffffff;
	--accent:  #17605c;
	--accent2: #c2703a;
	--footer:  #1f2b28;
	--wrap:    1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0; background: var(--bg); color: var(--ink);
	font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
	font-size: 16px; line-height: 2.1; overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { margin: 0 0 .6em; line-height: 1.4; }
p { margin: 0 0 1em; }
button, input { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.f-wrap { display: block; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.t-right { text-align: right; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.f-skip { position: absolute; left: -9999px; }
.f-skip:focus { left: 8px; top: 8px; z-index: 99; background: var(--accent); color: #fff; padding: 10px 16px; }

/* ---------- 検索 ---------- */
.c-search { display: flex; }
.c-search-input {
	background: var(--card); border: 1px solid var(--line); border-right: none; color: var(--ink);
	padding: 8px 14px; width: 168px; font-size: 14px; border-radius: 10px 0 0 10px;
}
.c-search-input::placeholder { color: var(--sub); }
.c-search-btn {
	background: var(--accent); border: 1px solid var(--accent); color: #fff;
	padding: 9px 13px; cursor: pointer; display: flex; border-radius: 0 10px 10px 0;
}

/* ---------- パンくず ---------- */
.c-crumbs { font-size: 12px; color: var(--sub); padding-top: 14px; }
.c-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.c-crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.c-crumbs a:hover { color: var(--accent); }

/* ---------- バッジ・チップ ---------- */
.c-badge {
	display: inline-block; background: var(--badge-color, var(--accent)); color: #fff;
	font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 12px;
}
.c-new { display: inline-block; background: var(--ink); color: #fff; font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 12px; }
.c-thumb-fallback {
	display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
	background: linear-gradient(130deg, var(--badge-color, var(--accent)), var(--ink));
}
.c-thumb-fallback span { color: rgba(255,255,255,.85); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-align: center; padding: 6px; }
.c-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.c-chip { font-size: 11.5px; padding: 3px 10px; border: 1px solid var(--line); border-radius: 12px; color: var(--sub); background: var(--card); }
.c-chip:hover { border-color: var(--accent); color: var(--accent); }
.c-chip-count { margin-left: 4px; opacity: .6; }
.c-count { font-size: 12px; color: var(--sub); margin-top: 8px; }
.c-post-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 30px; }

/* ---------- 出典・注意書き・共有 ---------- */
.c-source { margin-top: 26px; padding: 15px 18px; background: var(--card); border-left: 4px solid var(--accent); font-size: 13px; }
.c-source-title { font-size: 11px; font-weight: 900; letter-spacing: .14em; color: var(--sub); margin: 0 0 6px; }
.c-source-note { color: var(--sub); }
.c-disclaimer { margin-top: 24px; padding: 15px 18px; background: var(--card); border-left: 4px solid var(--line); font-size: 12.5px; color: var(--sub); }
.c-disclaimer-title { font-size: 11px; font-weight: 900; letter-spacing: .14em; color: var(--ink); margin: 0 0 6px; }
.c-disclaimer p:last-child { margin-bottom: 0; }
.c-share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.c-share-label { font-size: 11px; font-weight: 900; letter-spacing: .16em; color: var(--sub); }
.c-share-btn { font-size: 12.5px; padding: 7px 15px; border: 1px solid var(--line); background: var(--bg); border-radius: 12px; }
.c-share-btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- 関連記事 ---------- */
.c-related { margin-top: 44px; }
.c-block-title { font-size: 12px; letter-spacing: .2em; font-weight: 900; color: var(--sub); margin-bottom: 16px; }
.c-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.c-related-item { display: block; }
.c-related-thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: 8px; border-radius: 12px; background: var(--card); }
.c-related-thumb img { width: 100%; height: 100%; object-fit: cover; }
.c-related-body { display: block; }
.c-related-cat { display: block; font-size: 10.5px; color: var(--accent); font-weight: 900; margin-bottom: 3px; }
.c-related-title { display: block; font-size: 14px; font-weight: 800; line-height: 1.5; }
.c-related-item:hover .c-related-title { color: var(--accent); }
.c-comments { margin-top: 42px; padding-top: 24px; border-top: 2px solid var(--ink); }

/* ---------- サイドバー ---------- */
.f-side { display: flex; flex-direction: column; gap: 20px; }
.c-widget { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.c-widget-title { font-size: 11px; letter-spacing: .2em; font-weight: 900; margin: 0 0 12px; padding-bottom: 9px; border-bottom: 2px solid var(--ink); }
.c-rank li { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.c-rank li:last-child { border-bottom: none; }
.c-rank-num {
	flex: none; width: 21px; height: 21px; background: var(--accent); color: #fff;
	font-size: 11px; font-weight: 900; display: flex; align-items: center; justify-content: center; border-radius: 12px;
}
.c-rank-link { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 10px; align-items: start; }
.c-rank-thumb { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px; }
.c-rank-thumb img { width: 100%; height: 100%; object-fit: cover; }
.c-rank-noimg { display: block; width: 100%; height: 100%; background: var(--line); }
.c-rank-title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.5px; line-height: 1.5; }
.c-rank a:hover { color: var(--accent); }
.c-cat-list li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.c-cat-list li:last-child { border-bottom: none; }
.c-cat-list a { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; font-weight: 800; }
.c-cat-list a:hover { color: var(--accent); }
.c-cat-count { font-size: 11px; color: var(--sub); font-weight: 500; }
.c-cat-desc { display: block; font-size: 11px; color: var(--sub); }

/* ---------- 記事本文 ---------- */
.f-content { overflow-wrap: anywhere; font-size: 16px; line-height: 2.1; }
.f-content > * + * { margin-top: 1.1em; }
.f-content h2 { font-size: 22px; font-weight: 900; margin: 1.9em 0 .6em; border-bottom: 1px solid var(--accent); padding-bottom: 10px; }
.f-content h3 { font-size: 18px; margin: 1.6em 0 .5em; color: var(--accent); }
.f-content ul li { list-style: disc; margin-left: 1.4em; margin-bottom: .4em; }
.f-content ol li { list-style: decimal; margin-left: 1.5em; margin-bottom: .4em; }
.f-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
/* 本文の写真は元の大きさを超えて引き伸ばさない。
   プレスリリースには小さな画像も混ざるため、拡大するとぼやけるため。 */
.f-content img { margin: 1.6em auto; max-width: 100%; height: auto; border-radius: 12px; }
.f-content figure { margin: 1.6em 0; text-align: center; }
.f-content figure img { margin: 0 auto; }
.f-content figcaption { font-size: 12px; color: var(--sub); margin-top: 8px; }
.f-content table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.f-content th, .f-content td { border: 1px solid var(--line); padding: 10px 13px; text-align: left; }
.f-content th { background: var(--card); width: 30%; }
.f-content blockquote { border-left: 4px solid var(--accent); padding: 12px 18px; background: var(--card); color: var(--sub); }
.f-content code { background: var(--card); padding: 2px 6px; font-size: .92em; }

/* ---------- 固定ページ・404 ---------- */
/* 記事の先頭に置く写真。小さい画像は引き伸ばさず、下地の上で中央に置く */
.f-single-thumb { background: var(--card); text-align: center; }
.f-single-thumb img { margin: 0 auto; }

.c-page { padding: 36px 0 66px; }
.c-page-inner { max-width: 800px; margin: 0 auto; background: var(--bg); padding: 30px 36px 40px; border: 1px solid var(--line); border-radius: 12px; }
.c-page-title { font-size: 28px; font-weight: 900; margin: 0 0 20px; padding-bottom: 14px; border-bottom: 3px solid var(--ink); }
.c-page-body { overflow-wrap: anywhere; font-size: 16px; line-height: 2.1; }
.c-page-body h2 { font-size: 20px; margin: 1.8em 0 .5em; color: var(--accent); }
.c-page-body ul li { list-style: disc; margin-left: 1.4em; margin-bottom: .3em; }
.c-page-body a { color: var(--accent); text-decoration: underline; }
.c-404 { text-align: center; }
.c-404-code { font-size: 70px; font-weight: 900; color: var(--accent); margin: 0; line-height: 1; }
.c-404 .c-search { justify-content: center; margin: 20px 0; }
.c-404-home { color: var(--accent); text-decoration: underline; font-weight: 800; }

/* ---------- 一覧の見出し・ページ送り ---------- */
.f-arc-head { margin-bottom: 24px; }
.f-arc-head h1 { font-size: 28px; font-weight: 900; margin: 0 0 6px; }
.f-arc-head p { color: var(--sub); font-size: 14px; margin: 0; }
.f-empty { background: var(--card); border: 1px dashed var(--line); padding: 40px 20px; text-align: center; color: var(--sub); border-radius: 12px; }
.f-pager { margin-top: 34px; }
.f-pager .page-numbers {
	display: inline-block; min-width: 38px; text-align: center; padding: 8px 12px; margin: 0 4px 6px 0;
	background: var(--bg); border: 1px solid var(--line); font-size: 14px; border-radius: 12px;
	font-variant-numeric: tabular-nums;
}
.f-pager .page-numbers:hover { border-color: var(--accent); color: var(--accent); }
.f-pager .page-numbers.current { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 900; }


/* ---------- メディアコンセプト（トップ・フッター） ---------- */
.f-intro {
	padding: 28px 0 8px;
	border-bottom: 1px solid var(--line);
	margin-bottom: 8px;
}
.f-intro-inner { max-width: 720px; }
.f-intro-eyebrow {
	margin: 0 0 10px; font-size: 11px; font-weight: 900; letter-spacing: .22em;
	text-transform: uppercase; color: var(--accent);
}
.f-intro-title {
	margin: 0 0 12px; font-size: clamp(22px, 4vw, 30px); font-weight: 900; line-height: 1.45;
}
.f-intro-body {
	margin: 0 0 14px; font-size: 15px; line-height: 1.9; color: var(--sub);
}
.f-intro-audience {
	margin: 0 0 18px; font-size: 13px; line-height: 1.7; color: var(--sub);
	padding: 10px 14px; background: var(--card); border-left: 3px solid var(--accent);
}
.f-intro-audience-label {
	display: inline-block; margin-right: 8px; font-size: 10px; font-weight: 900;
	letter-spacing: .14em; color: var(--accent);
}
.f-intro-cats {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
	list-style: none; margin: 0; padding: 0;
}
.f-intro-cats a {
	display: block; padding: 12px 14px; background: var(--card);
	border: 1px solid var(--line); border-top: 3px solid var(--cat-color, var(--accent));
	transition: border-color .15s, transform .15s;
}
.f-intro-cats a:hover { border-color: var(--cat-color, var(--accent)); transform: translateY(-1px); }
.f-intro-cat-name { display: block; font-size: 14px; font-weight: 800; margin-bottom: 4px; }
.f-intro-cat-desc { display: block; font-size: 11.5px; color: var(--sub); line-height: 1.5; }
.f-footer-about { width: 100%; margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.12); }
.f-footer-tagline { margin: 0 0 8px; font-size: 15px; font-weight: 800; letter-spacing: .04em; }
.f-footer-summary { margin: 0 0 14px; font-size: 12.5px; line-height: 1.75; opacity: .82; max-width: 52em; }
.f-footer-cats ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.f-footer-cats a {
	font-size: 11.5px; padding: 5px 12px; border: 1px solid rgba(255,255,255,.2);
	border-radius: 999px; opacity: .9;
}
.f-footer-cats a:hover { border-color: var(--cat-color, var(--accent)); opacity: 1; }
@media (max-width: 640px) {
	.f-intro-cats { grid-template-columns: 1fr; }
}

/* ---------- フッター（サイト名と著作権のみ） ---------- */
.f-footer { background: var(--footer); color: rgba(255,255,255,.72); padding: 26px 0; }
.f-footer a { color: rgba(255,255,255,.72); }
.f-footer a:hover { color: #fff; }
.f-footer-inner { display: flex; flex-direction: column; align-items: flex-start; align-items: center; flex-wrap: wrap; gap: 10px 20px; }
.f-footer-name { font-size: 15px; font-weight: 900; letter-spacing: .14em; color: #fff; margin: 0; }
.f-footer-copy { font-size: 12px; margin: 0; }
.f-totop { margin-left: auto; font-size: 12px; }

@media (max-width: 900px) {
	.c-related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
	body { font-size: 15px; }
	.f-wrap { padding: 0 14px; }
	.c-related-grid { grid-template-columns: 1fr; }
	.c-page-inner { padding: 22px 18px 28px; }
	.c-page-title { font-size: 22px; }
	.f-arc-head h1 { font-size: 21px; }
	.f-content { font-size: 15px; }
	.f-content h2 { font-size: 19px; }
	/* 本文の表は横スクロール（列を潰すと項目と値の対応が読めなくなるため） */
	.f-content table { display: block; overflow-x: auto; white-space: nowrap; }
	.f-totop { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.c-flow-track { animation: none; }
}

/* ---------- おすすめ記事の自動スクロール帯 ---------- */
.c-flow { background: var(--card); border-bottom: 1px solid var(--line); padding: 16px 0 18px; overflow: hidden; }
.c-flow-viewport { overflow: hidden; }
.c-flow-track { display: flex; gap: 26px; width: max-content; animation: f-flow var(--flow-duration, 40s) linear infinite; }
@keyframes f-flow { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.c-flow-viewport:hover .c-flow-track { animation-play-state: paused; }
.c-flow-card { display: block; width: auto; flex: none; display: flex; align-items: center; gap: 11px; flex: none; }
.c-flow-thumb { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--line); }
.c-flow-thumb img { width: 100%; height: 100%; object-fit: cover; }
.c-flow-card-title { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
/* 見出しは2行で切る。高さの指定は内側の span に持たせる
   （外側で切るとパディングのぶんだけ3行目が見えてしまうため）。 */
.c-flow-card-titletext { display: block; overflow: hidden; height: 3em; }
.c-flow-card:hover .c-flow-card-title { color: var(--accent); }
@media (max-width: 760px) {
	.c-flow { padding: 12px 0 14px; }
	.c-flow-card { width: auto; }
	.c-flow-card-title { font-size: 13px; }
}


/* ============================================================
   仕上げの層 ─ 文字組み・動き・操作の手がかり
   サイトごとの色と形はそのままに、読み心地と操作感だけを底上げする。
   全サイトで同じ内容が入っている（生成元は _generator/newskins.py）。
   ============================================================ */
:root {
	--ease: cubic-bezier(.22, .68, .2, 1);
	--dur:  .26s;
}

/* ---------- 日本語の字組み ----------
   「」（）などの約物は左右に余白を持っているため、そのままだと
   見出しが間延びする。palt で詰めて、行頭・行末のそろいを良くする。 */
h1, h2, h3,
.c-badge, .c-new, .c-chip, .c-widget-title,
.c-rank-title, .c-related-title,
.f-content, .c-page-body {
	font-feature-settings: "palt" 1;
}
/* 見出しは行ごとの長さがそろうように折り返す */
h1, h2, h3 { text-wrap: balance; }
/* 本文は最後の1行が1文字だけ残らないようにする */
p, li, figcaption, .c-rank-title, .c-related-title { text-wrap: pretty; }
/* 日付・件数・順位の数字は幅をそろえて、縦に並べたときにずれないようにする */
time, .c-count, .c-rank-num, .c-cat-count, .c-chip-count, .f-pager .page-numbers {
	font-variant-numeric: tabular-nums;
}

/* ---------- 動き ----------
   速さと曲線を1か所にまとめ、サイト間でばらつかないようにする。 */
a, button, input, .c-chip, .c-badge {
	transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease),
		border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
main article {
	transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
		border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
main article:hover { transform: translateY(-3px); }
main article img { transition: transform .55s var(--ease); }

/* 画面に入ってきた記事を、下から少しだけ持ち上げて出す。
   transform ではなく translate を使うのは、ホバーの持ち上げと衝突させないため。 */
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		main article {
			animation: pol-rise linear both;
			animation-timeline: view();
			animation-range: entry 0% entry 40%;
		}
		@keyframes pol-rise {
			from { opacity: 0; translate: 0 16px; }
			to   { opacity: 1; translate: none; }
		}
	}
}
@media (prefers-reduced-motion: reduce) {
	main article, main article img, a, button { transition: none; }
	main article:hover { transform: none; }
}

/* ---------- 操作の手がかり ---------- */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: #fff; }
.c-search-input:focus {
	outline: none; border-color: var(--accent); position: relative; z-index: 1;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
}
.c-search-btn:hover { filter: brightness(1.08); }

/* ---------- 写真 ----------
   白地の商品写真は輪郭が消えるので、内側に細い線を1本回す。 */
.c-rank-thumb, .c-related-thumb { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 10%, transparent); }

/* ---------- 読み物としての細部 ---------- */
.f-content a {
	text-decoration-thickness: 1px; text-underline-offset: 4px;
	text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent);
	transition: text-decoration-color var(--dur) var(--ease);
}
.f-content a:hover { text-decoration-color: var(--accent); }
.f-content h2, .f-content h3 { letter-spacing: .005em; }
.f-content > p:first-of-type { font-size: 1.04em; }
.c-widget + .c-widget { margin-top: 0; }
.c-rank li { align-items: center; }
.c-rank-num { flex: none; }

/* ---------- ページ送り ----------
   指で押す前提で、当たり判定を大きく取る。 */
.f-pager .page-numbers {
	min-height: 42px; min-width: 42px;
	display: inline-flex; align-items: center; justify-content: center;
}
.f-pager .page-numbers:not(.current):hover { transform: translateY(-1px); }

@media (max-width: 560px) {
	.f-pager .page-numbers { min-height: 44px; min-width: 44px; }
	main article:hover { transform: none; }
}

/* ---------- 部品の形（このサイト固有） ---------- */

/* ---------- ヘッダー（上段：題字と検索／下段：カテゴリの帯） ---------- */
.f-header { background: var(--card); }
.f-header-top { display: flex; align-items: center; gap: 20px; padding-top: 14px; padding-bottom: 12px; }
.f-brand { display: flex; align-items: center; gap: 11px; flex: none; }
.f-brand-mark { width: 36px; height: 36px; }
.f-brand-name { display: block; font-size: 21px; font-weight: 900; letter-spacing: .09em; }
.f-brand-sub { display: block; font-size: 11px; color: var(--sub); }
.f-header-search { margin-left: auto; flex: none; }

/* カテゴリの帯。選択中は下地を敷いて、葉の色で示す */
.f-nav { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.f-nav ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.f-nav ul::-webkit-scrollbar { display: none; }
.f-nav a {
	display: block; white-space: nowrap; margin: 6px 0; padding: 5px 15px; border-radius: 999px;
	font-size: 13.5px; font-weight: 800; color: var(--sub);
}
.f-nav a:hover { color: var(--c, var(--accent)); background: var(--card); }
.f-nav a.is-on { background: var(--c, var(--accent)); color: #fff; }

/* ---------- 段組み ---------- */
.f-latest { padding: 26px 0 60px; }
.f-sec { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 900; margin: 0 0 18px; }
.f-sec::before { content: ""; width: 10px; height: 18px; border-radius: 5px 5px 0 0; background: var(--accent); }
.f-cols { column-count: 3; column-gap: 22px; }
.f-cell {
	position: relative; break-inside: avoid; margin-bottom: 22px;
	background: var(--card); border-radius: 12px; overflow: hidden;
	border: 1px solid var(--line);
	/* 上辺だけカテゴリの色にして、鉢に挿す名札のように見せる */
	border-top: 5px solid var(--c, var(--accent));
	box-shadow: 0 2px 8px rgba(31,43,40,.06);
}
.f-cell-thumb { display: block; background: var(--line); }
/* 写真は比率のまま出す。切りそろえないので高さがばらつく */
.f-cell-thumb img { width: 100%; height: auto; display: block; }
.f-cell-thumb .c-thumb-fallback { aspect-ratio: 4 / 3; }
.f-cell-body { padding: 14px 16px 16px; }
.f-cell-top { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin-bottom: 8px; }
.f-cell-top a { position: relative; z-index: 1; }
.f-cell-title { font-size: 15.5px; font-weight: 800; line-height: 1.6; margin: 0 0 8px; }
.f-cell-title a::after { content: ""; position: absolute; inset: 0; }
.f-cell-date { font-size: 11.5px; color: var(--sub); font-variant-numeric: tabular-nums; }
.f-cell:hover { box-shadow: 0 6px 16px rgba(31,43,40,.12); }
.f-cell:hover .f-cell-title { color: var(--accent); }

/* ---------- 記事ページ ---------- */
.f-single-wrap { padding: 26px 0 62px; }
.f-single-grid { display: grid; grid-template-columns: minmax(0, 1fr) 286px; gap: 38px; }
.f-single { min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 28px 32px 34px; }
.f-single-head { margin-bottom: 20px; }
.f-badges { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; }
.f-single-head h1 { font-size: 28px; font-weight: 900; line-height: 1.5; margin: 0 0 12px; }
.f-single-meta { display: flex; flex-wrap: wrap; gap: 15px; font-size: 12px; color: var(--sub); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.f-single-thumb { margin: 0 0 22px; border-radius: 10px; overflow: hidden; }
.f-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; font-size: 13.5px; }
.f-postnav a { display: block; padding: 12px 15px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; }
.f-postnav a:hover { border-color: var(--accent); color: var(--accent); }
.f-archive { padding: 24px 0 60px; }

/* 帯は写真を小さな丸にして、見出しを1行で流す細い帯にする。
   他のサイトのカード帯と、遠目でも形が違って見えるようにするため。 */
.c-flow { padding: 11px 0; }
.c-flow-thumb { width: 34px; height: 34px; flex: none; border-radius: 50%; }
.c-flow-card-titletext { height: auto; white-space: nowrap; }

/* 余白と行間を広く取り、字を詰めない */
.f-cell-body { padding: 16px 18px 18px; }
.f-cell-title { line-height: 1.75; }
.f-content { letter-spacing: .01em; }
.f-sec { letter-spacing: .04em; }

@media (max-width: 1000px) {
	.f-cols { column-count: 2; }
	.f-single-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 900px) {
	.f-header-top { gap: 12px; padding-top: 11px; padding-bottom: 10px; }
	.f-brand { flex: 1; min-width: 0; }
	.f-brand-sub { display: none; }
	.f-brand-name { font-size: 18px; }
	.f-brand-mark { width: 30px; height: 30px; }
	.c-search-input { width: 134px; font-size: 12px; padding: 7px 11px; }
	.c-search-btn { padding: 8px 10px; }
	.f-nav .f-wrap { padding: 0; }
	.f-nav ul { padding: 0 20px; mask-image: linear-gradient(90deg, #000 88%, transparent); }
	.f-nav a { padding: 5px 12px; font-size: 12.5px; }
}
@media (max-width: 560px) {
	.c-flow { padding: 9px 0; }
	.c-flow-thumb { width: 30px; height: 30px; }
	.f-cols { column-count: 1; }
	.f-cell { margin-bottom: 14px; }
	.f-cell-title { font-size: 15px; }
	.c-search-input { width: 130px; }
	.f-nav ul { padding: 0 14px; }
	.f-latest { padding: 16px 0 40px; }
	.f-single { padding: 20px 18px 26px; }
	.f-single-head h1 { font-size: 21px; }
	.f-postnav { grid-template-columns: 1fr; }
}

/* ============================================================
   トップの1段目 ─ 特大1本＋小さい数本
   同じ大きさで並べると読む順が伝わらないので、
   1段目だけ情報量に差をつけている。2段目からは通常の一覧に戻す。
   ============================================================ */
.f-stage { background: var(--card); padding: 26px 0 30px; border-bottom: 1px solid var(--line); }
.f-stage-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 30px; align-items: start; }
.f-lead { position: relative; }
.f-lead-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--card); }
/* プレスリリースの写真は縦長も混ざる。中央で切ると人物の顔や商品が外れるので、
   少し上寄りで切り抜く。 */
.f-lead-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 34%; }
.f-lead-body { padding-top: 16px; }
.f-lead-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 11px; }
.f-lead-top a { position: relative; z-index: 1; }
.f-lead-title { font-size: 27px; font-weight: 900; line-height: 1.42; letter-spacing: -.012em; margin: 0 0 13px; }
.f-lead-title a::after { content: ""; position: absolute; inset: 0; }
.f-lead-ex { font-size: 14.5px; line-height: 1.95; color: var(--sub); margin: 0 0 12px; max-width: 60ch; }
.f-lead-date { font-size: 12px; color: var(--sub); }
.f-lead:hover .f-lead-title { color: var(--accent); }

.f-subs { display: flex; flex-direction: row; gap: 18px; }
.f-sub { position: relative; flex: 1; }
.f-sub-media { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--card); margin-bottom: 10px; }
.f-sub-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 34%; }
.f-sub-top { margin-bottom: 7px; }
.f-sub-top a { position: relative; z-index: 1; }
.f-sub-title { font-size: 15px; font-weight: 800; line-height: 1.6; margin: 0; }
.f-sub-title a::after { content: ""; position: absolute; inset: 0; }
.f-sub:hover .f-sub-title { color: var(--accent); }

.f-latest { padding-top: 30px; }
.f-sec2 { font-size: 13px; letter-spacing: .2em; font-weight: 900; color: var(--sub); margin: 0 0 18px; }
.f-rest-cols { display: grid; grid-template-columns: minmax(0, 1fr) 286px; gap: 38px; }
.f-rest-main { min-width: 0; }
@media (max-width: 1000px) { .f-rest-cols { grid-template-columns: 1fr; gap: 28px; } }

@media (max-width: 1000px) {
	.f-stage-grid { grid-template-columns: 1fr; gap: 24px; }
	.f-subs { flex-direction: row; }
	.f-sub { flex: 1; }
	.f-lead-title { font-size: 24px; }
}
@media (max-width: 620px) {
	.f-stage { padding: 16px 0 20px; }
	.f-subs { flex-direction: column; gap: 14px; }
	.f-lead-title { font-size: 20px; }
	.f-lead-ex { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
	.f-sub { grid-template-columns: 92px minmax(0, 1fr); gap: 12px; }
	.f-sub-title { font-size: 14px; }
	.f-latest { padding-top: 20px; }
}


/* ============================================================
   カタカナの層 ─ 和文の題字と字組み
   カタカナのサイト名を design の中心に置くための指定。
   骨格・HTML・機能には触れず、書体と組み方だけを変えている。
   ============================================================ */

/* ---------- 書体 ----------
   読ませる文字（見出し・本文）と、押させる文字（カテゴリ・日付・ページ送り）を
   別の書体に分ける。小さい明朝は画面で潰れるため、操作の文字は角ゴのままにする。 */
body { font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP", serif; }
h1, h2, h3 { font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP", serif; }
.f-content, .c-page-body { font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP", serif; }
.f-nav, .c-badge, .c-new, .c-chip, .c-count, .c-chip-count, .c-cat-count,
time, .f-pager, .c-search-input, .c-search-btn, .c-crumbs,
.c-widget-title, .c-block-title, .f-sec, .f-sec2, .f-footer,
.c-source-title, .c-disclaimer-title, .c-share-label { font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif; }

/* ---------- 日本語の字組み ----------
   禁則を厳しくし、句読点を版面の外にぶら下げる。
   本文は両端そろえにする（日本語は語間が無いので行が間延びしない）。 */
h1, h2, h3, .f-content, .c-page-body { line-break: strict; word-break: normal; }
.f-content, .c-page-body { hanging-punctuation: allow-end; }
.f-content p, .c-page-body p { text-align: justify; text-justify: inter-ideograph; }
.f-content { letter-spacing: .02em; }
/* カテゴリ名は和文なので、欧文より少し開けたほうが読みやすい。 */
.f-nav a { letter-spacing: .08em; }

/* ---------- 題字 ---------- */
.f-brand-name { font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP", serif; font-size: 23px; font-weight: 600;
	letter-spacing: .3em; line-height: 1.25; }
.f-brand-name::after { content: "TSUCHI TO MIZU"; display: block; margin-top: 5px;
	font-family: ui-sans-serif, system-ui, sans-serif; font-size: 9px; font-weight: 600;
	letter-spacing: .34em; color: var(--sub); }
.f-brand-sub { display: none; }

/* ---------- 見出しの約物 ---------- */
.f-sec, .f-sec2, .c-widget-title, .c-block-title { display: flex; align-items: center; gap: 10px; letter-spacing: .18em; }
.f-sec::before, .f-sec2::before, .c-widget-title::before, .c-block-title::before { content: ""; width: 26px; height: 2px;
	background: var(--accent); flex: none; }

@media (max-width: 760px) {
	/* 縦組みの添え字と枠は、狭い画面では場所を取るので外す。 */
	.f-brand-text::before, .f-brand-text::after { display: none; }
	.f-brand-text { padding-left: 0; }
	.f-brand-name { font-size: calc(23px - 4px); letter-spacing: calc(.3em - .04em); }
}
@media (max-width: 560px) {
	.f-brand-name { font-size: calc(23px - 6px); }
	/* 幅が狭いと両端そろえは字間が開きすぎるので、左そろえに戻す。 */
	.f-content p, .c-page-body p { text-align: left; }
}
