/*
Theme Name: arasen2026
Theme URI: https://arasen.net/
Author: あらせん（荒井隆一）
Description: arasenblog のためのテーマ（2026年版）。生成り・墨・朱の「和の品格」に、ことわざ講座だけ山吹色で明るく。先生の書は「外観 → カスタマイズ → あらせんの書と写真」から入れかえられます。
Version: 1.4.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: arasen2026
*/

/* =========================================================
   色と文字
   ========================================================= */
:root {
	--kinari: #f7f3ea;      /* 生成り：ページの地 */
	--paper: #fffdf8;       /* カードの紙 */
	--sumi: #1f1d1a;        /* 墨：文字 */
	--usuzumi: #5d5850;     /* 薄墨：補足の文字 */
	--line: #e2dbcc;        /* 罫線 */
	--shu: #b8322a;         /* 朱：差し色 */
	--shu-dark: #962620;
	--shu-pale: #f6e3df;
	--yamabuki: #e9a92a;    /* 山吹：ことわざ講座 */
	--yamabuki-deep: #9a6a08;
	--yamabuki-pale: #fdf1d6;
	--yamabuki-line: #f0dcaa;
	--wakaba: #5f8c33;      /* 若葉 */
	--kon: #23395b;         /* 紺：平和活動 */
	--kon-pale: #e3e8f0;
	--brush: "Yuji Syuku", "Shippori Mincho", serif;
	--mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
	--gothic: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0; background: var(--kinari); color: var(--sumi);
	font-family: var(--gothic); font-size: 16px; line-height: 1.9; letter-spacing: .03em;
	-webkit-font-smoothing: antialiased; overflow-wrap: anywhere;
}
a { color: inherit; }
img, video, iframe { max-width: 100%; }
img { height: auto; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 820px; }
.nowrap { white-space: nowrap; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--sumi); color: #fff; padding: 8px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--yamabuki); outline-offset: 2px; }

/* 書（画像があれば画像、なければ仮の筆文字） */
.sho-text { font-family: var(--brush); font-weight: 400; }
.sho-img { display: block; width: auto; }

/* ボタン */
.btn {
	display: inline-block; text-decoration: none; font-weight: 700; border-radius: 999px;
	padding: 12px 28px; font-size: 15px; line-height: 1.5; transition: background .2s, color .2s, border-color .2s;
	border: 0; cursor: pointer; font-family: inherit;
}
.btn-shu { background: var(--shu); color: #fff; }
.btn-shu:hover { background: var(--shu-dark); }
.btn-line { border: 1.5px solid var(--sumi); background: transparent; }
.btn-line:hover { background: var(--sumi); color: #fff; }
.btn-yamabuki { background: var(--yamabuki); color: #2e2100; }
.btn-yamabuki:hover { background: #d6961a; }
.btn-soft { background: var(--kinari); border: 1px solid var(--line); }
.btn-soft:hover { border-color: var(--sumi); }
.more-link { font-weight: 700; text-decoration: none; font-size: 14px; }
.more-link:hover { color: var(--shu); }

/* =========================================================
   ヘッダー
   ========================================================= */
.site-header { border-bottom: 1px solid var(--line); background: rgba(247, 243, 234, .96); position: sticky; top: 0; z-index: 50; }
.admin-bar .site-header { top: 32px; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo .mark { color: var(--shu); font-size: 30px; line-height: 1; display: flex; }
.logo .mark .sho-img { height: 36px; }
.logo .name { font-family: var(--mincho); font-weight: 700; font-size: 20px; letter-spacing: .08em; }
.logo .by { font-size: 12px; color: var(--usuzumi); }
.global-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.global-nav li { position: relative; }
.global-nav a { text-decoration: none; font-size: 14px; font-weight: 700; display: block; padding: 6px 0; }
.global-nav a:hover, .global-nav .current-menu-item > a, .global-nav .current-menu-parent > a, .global-nav .current-post-ancestor > a { color: var(--shu); }
.global-nav .fa, .global-nav i { display: none; } /* 古いメニューのアイコン用の記号は使わない */
.global-nav .sub-menu {
	display: none; position: absolute; top: 100%; left: -16px; min-width: 200px; background: var(--paper);
	border: 1px solid var(--line); border-radius: 10px; padding: 8px 16px; box-shadow: 0 10px 24px rgba(60, 40, 10, .08);
	flex-direction: column; gap: 0;
}
.global-nav li:hover > .sub-menu, .global-nav li:focus-within > .sub-menu { display: flex; }
.menu-btn { display: none; }

/* =========================================================
   トップページ
   ========================================================= */
.hero { padding: 72px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: auto 1fr; gap: 56px; align-items: center; }
.hero-sho { display: flex; flex-direction: row-reverse; align-items: flex-end; gap: 14px; } /* 縦書きの左下に落款（字には重ねない） */
.hero-sho .hanko { position: static; flex: none; margin-bottom: 6px; }
.hero-sho .sho-text { writing-mode: vertical-rl; font-size: 150px; line-height: 1; display: block; }
.hero-sho .sho-img { max-height: 360px; }
.hanko {
	position: absolute; left: -26px; bottom: 6px; font-family: var(--mincho); font-size: 13px; color: #fff;
	background: var(--shu); width: 40px; height: 40px; display: grid; place-items: center; border-radius: 4px;
	line-height: 1.1; text-align: center; letter-spacing: 0;
}
.hanko-img { background: none; width: 48px; height: 48px; object-fit: contain; }
.hero h1 { font-family: var(--mincho); font-weight: 700; font-size: clamp(28px, 4vw, 42px); line-height: 1.5; margin: 0 0 18px; letter-spacing: .06em; }
.hero h1 em { font-style: normal; color: var(--shu); }
.hero .lead { color: var(--usuzumi); margin: 0 0 28px; max-width: 34em; }
.hero .btn-line { margin-left: 10px; }

.sec { padding: 72px 0; }
.sec-tight { padding-top: 24px; }
.sec-top0 { padding-top: 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.sec-head h2 { font-family: var(--mincho); font-size: 26px; margin: 0; letter-spacing: .08em; line-height: 1.4; }
.sec-head h2 small { display: block; font-family: var(--gothic); font-size: 12px; color: var(--shu); letter-spacing: .2em; font-weight: 700; }
.sec-head a { font-size: 14px; text-decoration: none; font-weight: 700; white-space: nowrap; }

/* 4つの活動 */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
	background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 26px 22px 22px;
	text-decoration: none; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(60, 40, 10, .08); }
.card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; }
.card .kanji { font-size: 64px; line-height: 1; margin-bottom: 14px; display: block; min-height: 64px; }
.card .kanji .sho-img { height: 64px; }
.card h3 { font-family: var(--mincho); font-size: 19px; margin: 0 0 8px; line-height: 1.5; }
.card p { font-size: 14px; color: var(--usuzumi); margin: 0 0 18px; line-height: 1.8; flex: 1; }
.card .more { font-size: 13px; font-weight: 700; }
.card .badge { position: absolute; top: 18px; right: 16px; font-size: 11px; font-weight: 700; background: var(--shu-pale); color: var(--shu); padding: 2px 10px; border-radius: 999px; }
.c-kotowaza::before { background: var(--yamabuki); } .c-kotowaza .kanji { color: #c98a10; }
.c-peace::before { background: var(--kon); }         .c-peace .kanji { color: var(--kon); }
.c-jonetsu::before { background: var(--shu); }      .c-jonetsu .kanji { color: var(--shu); }
.c-ijime::before { background: var(--wakaba); }     .c-ijime .kanji { color: var(--wakaba); }

/* 実績 */
.proof { background: var(--sumi); color: #f2ede2; padding: 30px 0; }
.proof ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.proof li { font-size: 13px; line-height: 1.6; color: #cfc8ba; }
.proof li b { display: block; font-family: var(--mincho); font-size: 18px; color: #fff; margin-bottom: 4px; letter-spacing: .06em; }

/* 今日のことわざ */
.today { background: var(--yamabuki-pale); border-top: 1px solid var(--yamabuki-line); border-bottom: 1px solid var(--yamabuki-line); }
.today-box { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: center; background: #fff; border-radius: 16px; padding: 44px; box-shadow: 0 2px 0 var(--yamabuki-line); }
.today .label { display: inline-block; background: var(--yamabuki); color: #2e2100; font-weight: 700; font-size: 13px; padding: 4px 14px; border-radius: 999px; margin-bottom: 14px; }
.today .word { font-family: var(--brush); font-size: clamp(38px, 5.4vw, 60px); line-height: 1.3; margin: 0; }
.today .word.word-long { font-size: clamp(28px, 3.8vw, 44px); }
.today .yomi { color: var(--usuzumi); font-size: 14px; margin-top: 6px; }
.zubari-label { font-weight: 700; font-size: 13px; color: var(--yamabuki-deep); letter-spacing: .15em; }
.today .meaning { font-size: 18px; line-height: 1.9; margin: 4px 0 20px; font-family: var(--mincho); }
.today .links { display: flex; flex-wrap: wrap; gap: 10px; }
.popular { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 14px; }
.popular span { color: var(--usuzumi); margin-right: 4px; }
.popular a { background: #fff; border: 1px solid var(--yamabuki-line); border-radius: 999px; padding: 4px 14px; text-decoration: none; }
.popular a:hover { border-color: var(--yamabuki); }

/* 本人紹介 */
.about { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: center; }
.about h2 { font-family: var(--mincho); font-size: 24px; margin: 0 0 4px; letter-spacing: .08em; }
.about .role { color: var(--shu); font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.about p { margin: 0 0 20px; }

/* アイコン（写真がなければ「荒」） */
.avatar {
	width: 30px; height: 30px; border-radius: 50%; background: var(--sumi); color: #fff; font-family: var(--brush);
	display: inline-grid; place-items: center; font-size: 15px; flex: none; object-fit: cover; line-height: 1;
}
.avatar-sm { width: 30px; height: 30px; }
.avatar-lg { width: 72px; height: 72px; font-size: 32px; }
.avatar-xl { width: 220px; height: 220px; font-size: 96px; border: 6px solid var(--paper); box-shadow: 0 0 0 1px var(--line); }

/* 記事カード */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
.post-card { text-decoration: none; display: block; }
.post-card .thumb { aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; display: block; }
.post-card:hover .thumb img { transform: scale(1.03); }
.thumb-none { display: grid; place-items: center; height: 100%; font-family: var(--brush); font-size: 56px; color: var(--line); }
.post-card .cat { display: inline-block; font-size: 12px; font-weight: 700; color: var(--shu); margin: 12px 0 2px; }
.post-card h3 { font-size: 16px; line-height: 1.7; margin: 0; font-weight: 700; }
.post-card:hover h3 { color: var(--shu); }
.post-card time { font-size: 12px; color: var(--usuzumi); }

/* メルマガ */
.letter { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 32px 40px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.letter b { font-family: var(--mincho); font-size: 22px; display: block; line-height: 1.5; }
.letter span { font-size: 14px; color: var(--usuzumi); }
.letter-compact { background: var(--yamabuki-pale); border-color: var(--yamabuki-line); padding: 24px 28px; margin-top: 20px; }
.letter-compact b { font-size: 18px; }

/* =========================================================
   記事・固定ページの頭
   ========================================================= */
.crumb { font-size: 13px; color: var(--usuzumi); margin-bottom: 24px; }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--shu); }
.post-head { padding: 32px 0 8px; }
.post-head h1 { font-family: var(--mincho); font-size: clamp(24px, 3vw, 32px); line-height: 1.6; margin: 8px 0 14px; letter-spacing: .04em; }
.cat-label { display: inline-block; font-size: 13px; font-weight: 700; color: var(--shu); text-decoration: none; border: 1px solid var(--shu); border-radius: 999px; padding: 1px 12px; }
.meta { font-size: 13px; color: var(--usuzumi); display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.meta .me { display: inline-flex; align-items: center; gap: 8px; }

/* ことわざ記事の頭 */
.kv { background: var(--yamabuki-pale); border-bottom: 1px solid var(--yamabuki-line); padding: 28px 0 44px; }
.kv-grid { display: grid; grid-template-columns: minmax(0, 440px) 1fr; gap: 44px; align-items: center; }
.kv-img { display: block; width: 100%; border-radius: 14px; box-shadow: 0 2px 0 var(--yamabuki-line), 0 10px 30px rgba(120, 80, 0, .10); background: #fff; }
.sho-card { background: #fff; border-radius: 14px; box-shadow: 0 2px 0 var(--yamabuki-line); padding: 28px 34px 28px 64px; position: relative; display: inline-block; }
.sho-card .sho { font-family: var(--brush); writing-mode: vertical-rl; font-size: 64px; line-height: 1.1; margin: 0; max-height: 360px; }
.sho-card .hanko { left: 14px; bottom: 16px; width: 34px; height: 34px; font-size: 11px; }
.kv-tag { display: flex; gap: 8px; margin-bottom: 10px; }
.kv-tag .tag { background: var(--yamabuki); color: #2e2100; padding: 2px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.kv .yomi { font-size: 15px; color: var(--usuzumi); letter-spacing: .2em; margin: 0; }
.kv h1 { font-family: var(--mincho); font-size: clamp(20px, 2.4vw, 26px); line-height: 1.6; margin: 6px 0 18px; letter-spacing: .04em; }
.zubari { background: #fff; border-left: 5px solid var(--shu); border-radius: 0 10px 10px 0; padding: 14px 22px; font-family: var(--mincho); font-size: 18px; line-height: 1.8; }
.zubari small { display: block; font-family: var(--gothic); font-size: 12px; font-weight: 700; color: var(--shu); letter-spacing: .2em; }
.kv .meta { margin-top: 14px; }

/* =========================================================
   本文と目次
   ========================================================= */
.body-grid { display: grid; grid-template-columns: minmax(0, 720px) 240px; gap: 56px; justify-content: center; padding: 40px 20px 0; max-width: 1080px; margin: 0 auto; }
.body-grid.no-toc { grid-template-columns: minmax(0, 760px); }
.entry { min-width: 0; }
.eyecatch { margin: 0 0 32px; }
.eyecatch img { display: block; width: 100%; border-radius: 12px; }

.toc { position: sticky; top: 92px; align-self: start; font-size: 14px; line-height: 1.7; max-height: calc(100vh - 110px); overflow: auto; }
.toc b { display: block; font-family: var(--mincho); font-size: 15px; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.toc li { counter-increment: t; }
.toc a { display: block; padding: 6px 0 6px 28px; text-decoration: none; color: var(--usuzumi); position: relative; border-left: 2px solid transparent; }
.toc a::before { content: counter(t); position: absolute; left: 7px; font-size: 12px; color: var(--yamabuki-deep); font-weight: 700; }
.toc a:hover, .toc a.on { color: var(--sumi); }
.toc a.on { border-left-color: var(--shu); font-weight: 700; }
.toc-sp { display: none; }

/* 本文の文字 */
.entry-content { font-size: 17px; line-height: 2; }
.entry-content > * { margin-top: 0; }
.entry-content p { margin: 0 0 1.3em; }
.entry-content h2 {
	font-family: var(--mincho); font-size: 24px; line-height: 1.5; margin: 64px 0 20px; padding-left: 18px;
	position: relative; letter-spacing: .05em; scroll-margin-top: 90px;
}
.entry-content h2::before { content: ""; position: absolute; left: 0; top: .25em; bottom: .25em; width: 5px; border-radius: 3px; background: var(--shu); }
.entry-content h3 { font-size: 18px; margin: 40px 0 12px; line-height: 1.6; padding-bottom: 6px; border-bottom: 1px dashed var(--line); }
.entry-content h4 { font-size: 16px; margin: 32px 0 8px; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; margin: 0 0 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content a { color: var(--shu); text-underline-offset: 3px; }
.entry-content a:hover { color: var(--shu-dark); }
.entry-content img { border-radius: 8px; }
.entry-content figure { margin: 0 0 1.6em; }
.entry-content figcaption { font-size: 13px; color: var(--usuzumi); text-align: center; margin-top: 6px; }
.entry-content blockquote { margin: 0 0 1.6em; padding: 16px 22px; background: var(--paper); border-left: 4px solid var(--line); border-radius: 0 10px 10px 0; color: var(--usuzumi); }
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--paper); }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; line-height: 1.8; }
.entry-content th { background: #faf6ec; white-space: nowrap; }
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content details { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 12px 18px; margin-bottom: 1.3em; }
.entry-content summary { cursor: pointer; font-weight: 700; }
.entry-content details[open] summary { margin-bottom: 8px; }
.entry-content .wp-block-embed { margin-bottom: 1.6em; }
.entry-content .wp-block-embed iframe { border-radius: 12px; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.entry-content .post-password-form input[type="password"] { padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; }
.entry-content .post-password-form input[type="submit"] { background: var(--shu); color: #fff; border: 0; border-radius: 999px; padding: 8px 20px; font-weight: 700; cursor: pointer; }
.alignwide { margin-left: -40px; margin-right: -40px; }
.alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.aligncenter { margin-left: auto; margin-right: auto; display: block; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }

/* =========================================================
   ことわざ記事の飾り
   ========================================================= */
.k-intro p { color: var(--usuzumi); font-size: 15px; }

/* 早見表 */
.k-hayami { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 8px; }
.k-hayami h2 { margin: 0; padding: 14px 22px; background: var(--sumi); color: #fff; font-size: 16px; }
.k-hayami h2::before { display: none; }
.k-hayami figure { margin: 0; }
.k-hayami table { background: none; }
.k-hayami th, .k-hayami td { border: 0; border-top: 1px solid var(--line); padding: 12px 20px; }
.k-hayami tr:first-child th, .k-hayami tr:first-child td { border-top: 0; }
.k-hayami th { width: 150px; color: var(--usuzumi); background: #faf6ec; }

/* 箱でかこむ区切り */
.k-box { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 20px 24px 4px; }
.k-imi .k-box { border-left: 5px solid var(--shu); border-radius: 0 12px 12px 0; font-family: var(--mincho); font-size: 18px; }
.k-yurai .k-box { position: relative; padding-left: 76px; }
.k-yurai .k-box::before { content: "由"; position: absolute; left: 20px; top: 18px; font-family: var(--brush); font-size: 40px; color: var(--shu); line-height: 1; }
.k-eigo .k-box { background: var(--kon-pale); border-color: transparent; }
.k-eigo strong { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 20px; color: var(--kon); font-weight: 400; }
.k-eigo ul { list-style: none; padding-left: 0; }
.k-test .k-box { border: 2px solid var(--sumi); }
.k-test ul { list-style: none; padding-left: 0; }
.k-test li { padding-left: 32px; position: relative; }
.k-test li::before { content: "✓"; position: absolute; left: 0; top: .35em; width: 22px; height: 22px; border-radius: 50%; background: var(--shu); color: #fff; font-size: 12px; display: grid; place-items: center; line-height: 1; }

/* あらせんより */
.voice { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px 28px 8px; }
.voice .who { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.voice .who .avatar { width: 48px; height: 48px; font-size: 22px; }
.voice .who b { font-family: var(--mincho); font-size: 17px; display: block; line-height: 1.3; }
.voice .who span { font-size: 12px; color: var(--usuzumi); }

/* ショートコント */
.conte { background: var(--yamabuki-pale); border-radius: 16px; padding: 22px; margin-bottom: 1.6em; }
.conte figure { margin: 0 0 18px; }
.conte figure img { display: block; width: 100%; border-radius: 10px; }
.bubble { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; }
.bubble .face { width: 36px; height: 36px; border-radius: 50%; flex: none; background: #fff; border: 2px solid var(--yamabuki-line); }
.bubble.r .face { background: var(--sumi); border-color: var(--sumi); }
.bubble .txt { background: #fff; border-radius: 4px 16px 16px 16px; padding: 10px 16px; line-height: 1.8; max-width: 85%; }
.bubble .txt p { margin: 0; }
.bubble.r { flex-direction: row-reverse; }
.bubble.r .txt { border-radius: 16px 4px 16px 16px; background: var(--sumi); color: #fff; }
.bubble.r mark { background: none; color: var(--yamabuki); font-weight: 700; }
.chan { text-align: center; font-family: var(--brush); font-size: 22px; color: var(--yamabuki-deep); }
mark { background: linear-gradient(transparent 60%, #fbe3a6 60%); color: inherit; padding: 0 2px; }
.entry-content ul[data-ex] { list-style: none; padding: 0; }
.entry-content ul[data-ex] li { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 12px 18px; margin-bottom: 10px; line-height: 1.8; }

/* 似たことわざ */
.k-nita ul { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.k-nita li { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin: 0; line-height: 1.7; font-size: 15px; color: var(--usuzumi); }
.k-nita li strong { display: block; font-family: var(--mincho); font-size: 18px; color: var(--sumi); }
.k-nita h3 { color: var(--wakaba); border-bottom: 0; padding-bottom: 0; font-size: 15px; }

/* クイズ */
.k-quiz .k-box { background: var(--sumi); color: #fff; border: 0; border-radius: 16px; padding: 24px 26px 10px; }
.k-quiz .k-box > p:first-child { font-family: var(--mincho); font-size: 19px; font-weight: 700; }
.k-quiz ul { list-style: none; padding: 0; }
.k-quiz li { background: #2e2b27; border: 1px solid #4a463f; border-radius: 10px; padding: 10px 16px; margin-bottom: 10px; }
.k-quiz button.choice {
	display: block; width: 100%; text-align: left; font: inherit; font-size: 16px; background: #2e2b27; color: #fff;
	border: 1px solid #4a463f; border-radius: 10px; padding: 12px 18px; margin-bottom: 10px; cursor: pointer; transition: border-color .15s;
}
.k-quiz button.choice:hover:not(:disabled) { border-color: var(--yamabuki); }
.k-quiz button.choice.ok { background: var(--wakaba); border-color: var(--wakaba); }
.k-quiz button.choice.ng { background: #5a2a26; border-color: var(--shu); }
.k-quiz details { background: #2e2b27; border-color: #4a463f; color: #fff; }
.k-quiz details summary { color: var(--yamabuki); }

/* あわせて読みたい */
.k-awasete ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.k-awasete li { margin: 0; }
.k-awasete a { display: inline-block; background: var(--paper); border: 1px solid var(--yamabuki-line); border-radius: 999px; padding: 6px 16px; text-decoration: none; color: var(--sumi); font-size: 15px; }
.k-awasete a:hover { border-color: var(--yamabuki); color: var(--sumi); }

/* 参考文献 */
.entry-content p[data-refs] { font-size: 13px; color: var(--usuzumi); line-height: 1.8; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }

/* =========================================================
   記事の下（シェア・前後・書いた人・関連）
   ========================================================= */
.share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 48px 0 0; }
.share-label { font-size: 13px; color: var(--usuzumi); margin-right: 4px; }
.share a { font-size: 13px; font-weight: 700; text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; }
.share a:hover { border-color: var(--sumi); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 40px; }
.pager a { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px 20px; text-decoration: none; display: block; }
.pager a:hover { border-color: var(--yamabuki); }
.pager small { display: block; font-size: 12px; color: var(--usuzumi); }
.pager b { font-family: var(--mincho); font-size: 16px; line-height: 1.6; display: block; }
.pager .next { text-align: right; grid-column: 2; }
.to-index { text-align: center; margin: 18px 0 0; }
.to-index a { font-weight: 700; text-decoration: none; }
.to-index a:hover { color: var(--shu); }
.author-box { display: grid; grid-template-columns: auto 1fr; gap: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 24px; margin-top: 40px; align-items: center; }
.author-box b { font-family: var(--mincho); font-size: 17px; }
.author-box p { margin: 4px 0 6px; font-size: 14px; line-height: 1.8; color: var(--usuzumi); }
.related { margin-top: 56px; }
.related h2 { font-family: var(--mincho); font-size: 20px; margin: 0 0 20px; }
.posts-3 { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.posts-3 .post-card h3 { font-size: 14px; }
.page-links { margin: 24px 0; font-weight: 700; }

/* コメント */
.comments { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); font-size: 15px; }
.comments h2, .comments .comment-reply-title { font-family: var(--mincho); font-size: 20px; }
.comment-list { padding-left: 0; list-style: none; }
.comment-list .comment { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 12px; }
.comment-list .children { list-style: none; padding-left: 20px; margin-top: 12px; }
.comment-form textarea, .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"] { width: 100%; font: inherit; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.comment-form .submit { background: var(--shu); color: #fff; border: 0; border-radius: 999px; padding: 10px 26px; font-weight: 700; cursor: pointer; font-family: inherit; }

/* =========================================================
   一覧ページ
   ========================================================= */
.archive-head { padding: 32px 0 8px; }
.archive-head h1 { font-family: var(--mincho); font-size: clamp(24px, 3vw, 32px); margin: 0 0 10px; letter-spacing: .06em; }
.archive-desc { color: var(--usuzumi); }
.archive-k { background: var(--yamabuki-pale); border-bottom: 1px solid var(--yamabuki-line); padding-bottom: 40px; margin-bottom: 32px; }
.archive-k-grid { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; }
.archive-k .kanji { font-size: 110px; line-height: 1; color: #c98a10; }
.archive-k .kanji .sho-img { height: 120px; }
.archive-k p { color: var(--usuzumi); margin: 0 0 18px; max-width: 40em; }
.k-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.k-card { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--yamabuki); border-radius: 10px; padding: 18px 20px; text-decoration: none; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.k-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(60, 40, 10, .07); }
.k-card b { font-family: var(--brush); font-weight: 400; font-size: 26px; line-height: 1.4; }
.k-card .yomi { font-size: 12px; color: var(--usuzumi); letter-spacing: .1em; }
.k-card .imi { font-size: 14px; color: var(--usuzumi); line-height: 1.7; margin-top: 8px; }
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; font-weight: 700; font-size: 14px; }
.pagination .page-numbers.current { background: var(--sumi); color: #fff; border-color: var(--sumi); }
.pagination a.page-numbers:hover { border-color: var(--sumi); }
.empty { text-align: center; color: var(--usuzumi); }

/* 404 */
.notfound { padding: 72px 0; text-align: center; }
.notfound .sho-big { font-family: var(--brush); font-size: 110px; line-height: 1; margin: 0 0 16px; color: var(--shu); }
.notfound h1 { font-family: var(--mincho); }
.notfound .search-form { max-width: 420px; margin: 24px auto; }
.notfound .links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.notfound .btn-line { margin: 0; }

/* 検索フォーム */
.search-form { display: flex; gap: 8px; margin-top: 16px; }
.search-form input { flex: 1; min-width: 0; font: inherit; font-size: 14px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.search-form button { font: inherit; font-size: 14px; font-weight: 700; padding: 9px 18px; border: 0; border-radius: 999px; background: var(--sumi); color: #fff; cursor: pointer; }

/* =========================================================
   フッター
   ========================================================= */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 32px; margin-top: 80px; font-size: 14px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h2 { font-family: var(--mincho); margin: 0 0 10px; font-size: 15px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; line-height: 2.1; }
.site-footer ul a { text-decoration: none; color: var(--usuzumi); }
.site-footer ul a:hover { color: var(--shu); }
.site-footer .tagline { color: var(--usuzumi); margin: 12px 0 0; }
.site-footer .copy { margin: 36px 0 0; color: var(--usuzumi); font-size: 12px; text-align: center; }

/* =========================================================
   タブレット・スマホ
   ========================================================= */
@media (max-width: 960px) {
	.global-nav ul { gap: 18px; }
	.cards { grid-template-columns: repeat(2, 1fr); }
	.proof ul { grid-template-columns: repeat(2, 1fr); }
	.posts, .k-cards { grid-template-columns: repeat(2, 1fr); }
	.body-grid { grid-template-columns: minmax(0, 1fr); padding: 32px 20px 0; }
	.toc { display: none; }
	.toc-sp { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px 18px; font-size: 14px; margin: 0 0 28px; }
	.toc-sp summary { font-family: var(--mincho); font-weight: 700; cursor: pointer; }
	.toc-sp ol { margin: 8px 0 0; padding-left: 1.4em; line-height: 2.1; }
	.toc-sp a { text-decoration: none; }
	.kv-grid { grid-template-columns: minmax(0, 360px) 1fr; gap: 28px; }
}
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
@media (max-width: 720px) {
	.wrap { padding: 0 16px; }
	.site-header .wrap { height: 58px; }
	.logo .by { display: none; }
	.menu-btn { display: block; background: none; border: 1px solid var(--line); border-radius: 6px; font: inherit; font-size: 13px; padding: 4px 12px; cursor: pointer; }
	.global-nav { display: none; position: absolute; top: 58px; left: 0; right: 0; background: var(--kinari); border-bottom: 1px solid var(--line); max-height: calc(100vh - 58px); overflow: auto; }
	.global-nav.open { display: block; }
	.global-nav ul { flex-direction: column; gap: 0; padding: 8px 16px; }
	.global-nav li a { padding: 10px 0; border-bottom: 1px solid var(--line); }
	.global-nav .sub-menu { display: flex; position: static; box-shadow: none; border: 0; background: none; padding: 0 0 0 16px; min-width: 0; }

	.hero { padding: 40px 0 48px; }
	.hero .wrap { grid-template-columns: 1fr; gap: 24px; }
	.hero-sho { flex-direction: row; justify-content: flex-start; } /* 横書きの右下に落款 */
	.hero-sho .sho-text { writing-mode: horizontal-tb; font-size: 96px; }
	.hero-sho .sho-img { max-height: 200px; }
	.hero-sho .hanko { margin-bottom: 14px; }
	.hero .btn-line { margin: 12px 0 0; }
	.sec { padding: 52px 0; }
	.sec-tight { padding-top: 16px; }
	.sec-top0 { padding-top: 0; }
	.cards { grid-template-columns: 1fr; }
	.card { flex-direction: row; flex-wrap: wrap; gap: 0 16px; align-items: center; }
	.card .kanji { font-size: 48px; min-height: 0; margin: 0; }
	.card .kanji .sho-img { height: 48px; }
	.card h3 { flex: 1; margin: 0; }
	.card p { flex-basis: 100%; margin: 10px 0 12px; }
	.today-box { grid-template-columns: 1fr; gap: 16px; padding: 28px 22px; }
	.about { grid-template-columns: 1fr; gap: 20px; justify-items: center; text-align: center; }
	.avatar-xl { width: 160px; height: 160px; font-size: 72px; }
	.posts, .k-cards, .posts-3 { grid-template-columns: 1fr; }
	.letter { padding: 24px 22px; }

	.kv { padding: 18px 0 32px; }
	.crumb { margin-bottom: 16px; font-size: 12px; }
	.kv-grid { grid-template-columns: 1fr; gap: 20px; }
	.sho-card .sho { writing-mode: horizontal-tb; font-size: 44px; line-height: 1.25; }
	.sho-card { padding: 22px 20px 22px 64px; }
	.sho-card .hanko { top: 22px; bottom: auto; }
	.body-grid { padding: 28px 16px 0; }
	.entry-content { font-size: 16px; }
	.entry-content h2 { font-size: 21px; margin-top: 52px; }
	.k-hayami th { width: 96px; padding: 10px 12px; white-space: normal; }
	.k-hayami td { padding: 10px 12px; }
	.k-yurai .k-box { padding-left: 20px; padding-top: 64px; }
	.voice { padding: 20px 18px 4px; }
	.conte { padding: 16px; }
	.k-nita ul, .pager { grid-template-columns: 1fr; }
	.pager .next { grid-column: auto; }
	.k-quiz .k-box { padding: 22px 18px 8px; }
	.author-box { grid-template-columns: 1fr; text-align: center; justify-items: center; }
	.archive-k-grid { grid-template-columns: 1fr; gap: 12px; }
	.archive-k .kanji { font-size: 72px; }
	.site-footer .cols { grid-template-columns: 1fr; }
	.alignwide { margin-left: 0; margin-right: 0; }
	.alignleft, .alignright { float: none; margin: 0 0 1em; }
}

/* 動きを減らす設定の人には、動きを止める */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ことわざ一覧の中の「目次・対談」などのカード */
.k-card-other { border-top-color: var(--line); }
.k-card-other .other-title { font-family: var(--mincho); font-weight: 700; font-size: 16px; line-height: 1.7; margin-top: 4px; }

/* =========================================================
   トップ：今日のことわざクイズ
   ========================================================= */
.today-box.has-quiz { align-items: start; }
.today-date { display: inline-block; margin-left: 8px; font-size: 13px; font-weight: 700; color: var(--yamabuki-deep); }
.streak { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.streak[hidden] { display: none; }
.streak span { font-size: 13px; background: var(--yamabuki-pale); border: 1px solid var(--yamabuki-line); border-radius: 999px; padding: 3px 12px; }
.streak b { font-size: 16px; }
.streak-fire b { color: var(--shu); }
.today-quiz .q { font-family: var(--mincho); font-size: 19px; font-weight: 700; line-height: 1.7; margin: 0 0 16px; display: flex; gap: 12px; align-items: flex-start; }
.q-mark { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--shu); color: #fff; font-family: var(--gothic); font-size: 15px; display: grid; place-items: center; margin-top: 1px; }
.today-quiz .choices { display: grid; gap: 10px; }
.today-quiz .choice {
	display: block; width: 100%; text-align: left; font: inherit; font-size: 16px; line-height: 1.6;
	background: var(--kinari); color: var(--sumi); border: 1.5px solid var(--line); border-radius: 12px;
	padding: 12px 18px; cursor: pointer; transition: border-color .15s, background .15s, transform .1s;
}
.today-quiz .choice:hover:not(:disabled) { border-color: var(--yamabuki); background: #fff; }
.today-quiz .choice:active:not(:disabled) { transform: scale(.99); }
.today-quiz .choice:disabled { cursor: default; opacity: .55; }
.today-quiz .choice.ok { background: var(--wakaba); border-color: var(--wakaba); color: #fff; opacity: 1; }
.today-quiz .choice.ng { background: var(--shu-pale); border-color: var(--shu); color: var(--shu-dark); opacity: 1; }
.today-quiz .result { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line); }
.today-quiz .result[hidden] { display: none; }
.result-head { font-weight: 700; font-size: 18px; margin: 0 0 6px; }
.result-head.is-ok { color: var(--wakaba); }
.result-head.is-ng { color: var(--shu); }
.today-quiz .explain { font-size: 15px; color: var(--usuzumi); line-height: 1.8; margin: 0 0 14px; }
.today-quiz .reveal { background: var(--yamabuki-pale); border-radius: 10px; padding: 12px 16px; margin-bottom: 16px; }
.today-quiz .reveal .meaning { margin: 2px 0 0; font-size: 17px; }
.today-quiz .links .btn { padding: 10px 20px; font-size: 14px; }
.today-quiz .next { font-size: 13px; color: var(--usuzumi); margin: 14px 0 0; }
.just-answered .result { animation: arasen-pop .35s ease-out; }
@keyframes arasen-pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 720px) {
	.today-quiz .q { font-size: 17px; }
	.today-quiz .choice { font-size: 15px; padding: 11px 14px; }
	.today-quiz .links { gap: 8px; }
}

/* =========================================================
   朝の会で使える「今日のことわざ」（page-asanokai.php）
   教室のテレビに映す前提：遠くからでも読める大きな文字・高いコントラスト
   ========================================================= */
.asa-body { background: var(--kinari); }
.asa-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 20px; border-bottom: 1px solid var(--line); background: var(--paper); font-size: 14px; }
.asa-home { text-decoration: none; font-family: var(--mincho); font-weight: 700; }
.asa-days { display: flex; gap: 6px; }
.asa-days a, .asa-btn { text-decoration: none; font: inherit; font-size: 14px; font-weight: 700; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; cursor: pointer; color: var(--sumi); }
.asa-days a:hover, .asa-btn:hover { border-color: var(--sumi); }
.asa-tools { display: flex; gap: 6px; flex-wrap: wrap; }

.asa-slide {
	position: relative; margin: 20px auto; width: min(96vw, calc((100vh - 110px) * 16 / 9)); aspect-ratio: 16 / 9;
	background: #fffdf8; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 10px 40px rgba(60, 40, 10, .08);
	display: grid; grid-template-rows: auto 1fr auto auto auto; padding: 3.2% 5% 2.4%; overflow: hidden; cursor: pointer; outline: none;
	font-size: min(1.6vw, 2.85vh); /* 画面の大きさに合わせて全部の文字が大きくなる */
}
.asa-slide::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: .6em; background: var(--yamabuki); }
.asa-head { display: flex; align-items: center; gap: 1em; }
.asa-tag { background: var(--yamabuki); color: #2e2100; font-weight: 700; padding: .25em 1em; border-radius: 999px; font-size: 1.1em; }
.asa-date { font-size: 1.3em; font-weight: 700; color: var(--yamabuki-deep); }
.asa-main { align-self: center; text-align: center; }
.asa-yomi { margin: 0; font-size: 1.7em; letter-spacing: .3em; color: var(--usuzumi); }
.asa-name { margin: .05em 0 0; font-family: var(--brush); font-weight: 400; line-height: 1.15; letter-spacing: .04em; color: var(--sumi); }
.asa-name.n-s { font-size: 7.5em; }
.asa-name.n-m { font-size: 6em; }
.asa-name.n-l { font-size: 4.4em; }
.asa-name.n-xl { font-size: 3.3em; }
.asa-part { display: grid; grid-template-columns: 6.5em 1fr; gap: 1em; align-items: start; margin-top: .7em; transition: opacity .25s, transform .25s; }
.asa-part h2 { margin: 0; font-family: var(--gothic); font-size: 1.15em; color: #fff; background: var(--shu); border-radius: .4em; text-align: center; padding: .3em 0; }
.asa-ex h2 { background: var(--wakaba); }
.asa-part p { margin: 0; font-family: var(--mincho); font-size: 1.75em; line-height: 1.55; font-weight: 700; }
.asa-part mark { background: linear-gradient(transparent 60%, #fbe3a6 60%); }
.asa-slide[data-step="1"] [data-show="2"], .asa-slide[data-step="1"] [data-show="3"], .asa-slide[data-step="2"] [data-show="3"] { visibility: hidden; opacity: 0; transform: translateY(.4em); }
.asa-next { position: absolute; right: 4%; bottom: 13%; font: inherit; font-size: 1em; font-weight: 700; background: var(--sumi); color: #fff; border: 0; border-radius: 999px; padding: .5em 1.3em; cursor: pointer; opacity: .85; }
.asa-foot { display: flex; justify-content: space-between; margin-top: 1em; padding-top: .6em; border-top: 1px solid var(--line); font-size: .9em; color: var(--usuzumi); }
.asa-empty { margin: auto; font-size: 1.4em; }

.asa-guide { max-width: 760px; margin: 28px auto 60px; padding: 0 20px; font-size: 15px; }
.asa-guide h2 { font-family: var(--mincho); font-size: 20px; margin: 0 0 8px; }
.asa-guide ol { padding-left: 1.4em; line-height: 1.9; }
.asa-guide a { color: var(--shu); }
.asa-note { color: var(--usuzumi); font-size: 14px; }

/* 全画面のとき：画面いっぱいにスライドだけ */
.asa-is-full .asa-bar, .asa-is-full .asa-guide, .asa-is-full #wpadminbar { display: none; }
.asa-is-full .asa-slide { margin: 0; width: 100vw; height: 100vh; aspect-ratio: auto; border: 0; border-radius: 0; box-shadow: none; font-size: min(1.75vw, 3.1vh); }
.asa-is-full.admin-bar { margin-top: 0 !important; }
html:has(.asa-is-full) { margin-top: 0 !important; }

/* スマホで見たとき（準備用）：文字を少し大きめに */
@media (max-width: 720px) {
	.asa-slide { font-size: 3.4vw; border-radius: 12px; aspect-ratio: auto; min-height: 70vh; padding: 6% 5% 4%; } /* スマホは準備用：縦にのばして読みやすく */
	.asa-bar { padding: 8px 12px; }
	.asa-days a, .asa-btn { padding: 5px 10px; font-size: 12px; }
}

/* 印刷：A4横に1枚。全部を見せる */
@media print {
	@page { size: A4 landscape; margin: 10mm; }
	.asa-bar, .asa-guide, .asa-next, #wpadminbar { display: none !important; }
	html, body { margin: 0 !important; background: #fff !important; }
	.asa-slide { width: 277mm; min-height: 190mm; height: auto; aspect-ratio: auto; margin: 0; box-shadow: none; border: 2px solid #ccc; font-size: 4.6mm !important; overflow: visible; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
	.asa-slide [data-show] { visibility: visible !important; opacity: 1 !important; transform: none !important; }
}
.for-teachers { margin: 16px 0 0; font-size: 14px; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.for-teachers span { background: var(--sumi); color: #fff; font-weight: 700; font-size: 12px; padding: 2px 10px; border-radius: 999px; }
.for-teachers a { font-weight: 700; color: var(--shu); text-decoration: none; }
.for-teachers a:hover { text-decoration: underline; }
.asa-slide.is-last .asa-next { display: none; } /* 最後まで見せたらボタンは消す（画面のどこを押しても、はじめに戻る） */
/* 朝の会の画面の右上に、あらせんの落款 */
.asa-seal { margin-left: auto; display: flex; }
.asa-seal .hanko { position: static; width: 4.2em; height: 4.2em; font-size: .9em; }
.asa-seal .hanko-img { width: 4.6em; height: 4.6em; }
@media print { .asa-seal .hanko-img { width: 18mm; height: 18mm; } }

/* =========================================================
   ことわざ手帳（page-techo.php と、記事・トップの小さな案内）
   ========================================================= */
.stamp-read, .stamp-ok {
	display: inline-grid; place-items: center; width: 2.2em; height: 2.2em; border-radius: 50%;
	border: 2px solid var(--shu); color: var(--shu); font-family: var(--brush); font-style: normal; font-size: 15px; line-height: 1; flex: none;
}
.stamp-ok { border-radius: 4px; background: var(--shu); color: #fff; }
.stamp-ok.has-img { background: var(--techo-hanko) center / contain no-repeat; border: 0; }

.techo-kv { padding-bottom: 36px; }
.techo-head { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: center; }
.techo-head h1 { font-family: var(--brush); font-weight: 400; font-size: clamp(40px, 6vw, 64px); margin: 0 0 6px; line-height: 1.2; }
.techo-lead { margin: 0; color: var(--usuzumi); }
.techo-score { background: #fff; border-radius: 16px; padding: 20px 24px; box-shadow: 0 2px 0 var(--yamabuki-line); }
.techo-count { margin: 0; font-family: var(--mincho); }
.techo-count b { font-size: 48px; color: var(--shu); line-height: 1; }
.techo-count span { font-size: 18px; color: var(--usuzumi); }
.techo-bar { height: 12px; background: var(--kinari); border-radius: 999px; overflow: hidden; margin: 10px 0 12px; border: 1px solid var(--line); }
.techo-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--yamabuki), var(--shu)); border-radius: 999px; transition: width .8s ease-out; }
.techo-rank { margin: 0; font-size: 15px; }
.techo-rank b { font-family: var(--mincho); font-size: 18px; }
.techo-next { margin: 4px 0 0; font-size: 13px; color: var(--usuzumi); }

.techo-body { padding-top: 28px; }
.techo-howto { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; font-size: 14px; margin-bottom: 18px; }
.techo-howto span { display: inline-flex; align-items: center; gap: 8px; }
.techo-howto .techo-sub { margin-left: auto; color: var(--usuzumi); }
.techo-rows { position: sticky; top: 68px; z-index: 5; display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 0; background: var(--kinari); border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.admin-bar .techo-rows { top: 100px; }
.techo-rows a { display: inline-grid; place-items: center; min-width: 40px; height: 36px; padding: 0 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; font-weight: 700; font-family: var(--mincho); }
.techo-rows a:hover { border-color: var(--shu); color: var(--shu); }
.techo-gyo h2 { font-family: var(--mincho); font-size: 22px; margin: 36px 0 14px; scroll-margin-top: 130px; display: flex; align-items: baseline; gap: 12px; }
.techo-gyo h2 small { font-family: var(--gothic); font-size: 13px; color: var(--usuzumi); font-weight: 400; }
.techo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.techo-cell {
	position: relative; display: block; min-height: 84px; padding: 12px 14px; border-radius: 10px; text-decoration: none;
	background: #f1ece1; border: 1px dashed #d6cdb9; color: #9b9384; transition: transform .15s, box-shadow .15s;
}
.techo-cell:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(60, 40, 10, .08); color: var(--sumi); }
.techo-cell b { display: block; font-family: var(--mincho); font-size: 16px; line-height: 1.5; padding-right: 40px; }
.techo-cell .yomi { font-size: 11px; letter-spacing: .05em; }
.techo-cell.is-read { background: var(--paper); border: 1px solid var(--line); color: var(--sumi); }
.techo-cell .stamp { position: absolute; right: 8px; top: 8px; width: 38px; height: 38px; display: none; }
.techo-cell.is-read .stamp {
	display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--shu); color: var(--shu);
	font-family: var(--brush); font-style: normal; transform: rotate(-12deg); opacity: .9;
}
.techo-cell.is-read .stamp::after { content: "読"; font-size: 18px; }
.techo-cell.is-ok .stamp { border-radius: 4px; border: 0; background: var(--shu); color: #fff; transform: rotate(-8deg); }
.techo-cell.is-ok .stamp::after { content: "正"; }
.techo-body[style*="--techo-hanko"] .techo-cell.is-ok .stamp { background: var(--techo-hanko) center / contain no-repeat; }
.techo-body[style*="--techo-hanko"] .techo-cell.is-ok .stamp::after { content: ""; }
.techo-note { margin: 40px 0 0; font-size: 13px; color: var(--usuzumi); }

/* 記事の下の「はんこを押しました」 */
.techo-card { display: flex; align-items: center; gap: 14px; background: var(--yamabuki-pale); border: 1px solid var(--yamabuki-line); border-radius: 14px; padding: 14px 18px; margin-top: 40px; }
.techo-card[hidden] { display: none; }
.techo-card .stamp-read { width: 46px; height: 46px; font-size: 22px; transform: rotate(-12deg); background: #fff; }
.techo-card div { flex: 1; line-height: 1.6; }
.techo-card div > b { display: block; font-family: var(--mincho); }
.techo-card span { font-size: 14px; color: var(--usuzumi); }
.techo-card .btn { padding: 8px 18px; font-size: 14px; }
.techo-card.is-new .stamp-read { animation: arasen-stamp .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes arasen-stamp { from { transform: scale(2.2) rotate(-30deg); opacity: 0; } to { transform: scale(1) rotate(-12deg); opacity: 1; } }

/* トップのクイズの「ことわざ手帳 ○/248」 */
.techo-link { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 700; text-decoration: none; color: var(--sumi); border-bottom: 2px solid var(--yamabuki); }
.techo-link b { color: var(--shu); }

@media (max-width: 720px) {
	.techo-head { grid-template-columns: 1fr; gap: 18px; }
	.techo-rows { top: 58px; }
	.techo-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
	.techo-cell b { font-size: 14px; padding-right: 30px; }
	.techo-cell .stamp { width: 30px; height: 30px; }
	.techo-card { flex-wrap: wrap; }
	.techo-howto .techo-sub { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .techo-card.is-new .stamp-read { animation: none; } }

/* =========================================================
   英語版（カテゴリ Japanese Proverbs）
   本文の中で、ことわざ記事と同じクラス（k-sec・k-box・voice・conte …）を使う
   ========================================================= */
.tag-en { background: none !important; border: 1px solid var(--kon); color: var(--kon) !important; text-decoration: none; font-family: Georgia, "Times New Roman", serif; }
.tag-en:hover { background: var(--kon) !important; color: #fff !important; }
.ja-link { font-size: 13px; color: var(--shu); text-underline-offset: 3px; }
.en-kv { border-radius: 16px; padding: 28px; margin: 0 0 36px; border: 1px solid var(--yamabuki-line); }
.en-kv .kv-grid { grid-template-columns: minmax(0, 300px) 1fr; gap: 32px; }
.en-kv .kv-tag .tag-line { background: none; border: 1px solid var(--yamabuki-deep); color: var(--yamabuki-deep); }
.en-kv .en-kanji { font-family: var(--brush); font-size: clamp(34px, 5vw, 46px); line-height: 1.3; margin: 4px 0 0; letter-spacing: .08em; }
.en-kv p.yomi { font-family: Georgia, "Times New Roman", serif; font-style: italic; letter-spacing: .12em; margin: 0 0 16px; }
.en-kv .zubari small { letter-spacing: .25em; }
.en-jp { display: block; font-size: 13px; color: var(--usuzumi); margin-top: 6px; line-height: 1.7; }
.bubble.r .en-jp { color: #cfc8bb; }
.en-note { font-size: 13px; color: var(--usuzumi); }
.k-nita li i { display: block; font-family: Georgia, "Times New Roman", serif; color: var(--usuzumi); margin-bottom: 4px; }
@media (max-width: 720px) {
	.en-kv { padding: 18px; }
	.en-kv .kv-grid { grid-template-columns: 1fr; gap: 18px; }
	.en-kv .kv-visual { max-width: 280px; margin: 0 auto; }
}

/* 英語のまとめ記事：ことわざのカード（書＋意味＋リンク） */
.en-card { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px 16px 16px; margin: 0 0 14px; }
.en-card img { display: block; width: 120px; height: auto; border-radius: 8px; }
.entry-content .en-card p { margin: 0 0 4px; font-size: 15px; line-height: 1.7; }
.entry-content .en-card .en-card-k { font-family: var(--brush); font-size: 24px; line-height: 1.4; margin: 0; }
.entry-content .en-card .en-card-r { font-family: Georgia, "Times New Roman", serif; font-style: italic; color: var(--usuzumi); margin: 0 0 6px; }
.en-card a { font-weight: 700; font-size: 14px; }
@media (max-width: 480px) {
	.en-card { grid-template-columns: 84px 1fr; gap: 12px; padding: 12px; }
	.en-card img { width: 84px; }
}
