/* ======================================================
   総裁のひとりごと（一覧・記事・コメント欄）
   ひとりごとのページでだけ読み込む（inc/hitorigoto.php）。

   値は既存の style.css に合わせている（新しい色・角丸は足していない）:
     文字 #222 / 補助 #666・#6b6258 / 橙 #e06010（濃 #c34c0d）
     面 #faf7f0 / 罫 #f2ebde・#ede4d3・#e8ddc4 / お知らせ #fff4c2・#5c4712
     ボタン #f5c85a・角丸 4px（.bjr-entry__submit と同じ）/ 囲み 角丸 8px・影 0 2px 12px rgba(0,0,0,.05)
     見出し 32px・800・字間 .1em（.bjr-magazine-archive__title と同じ）
     切り替え 767px
   ====================================================== */

.bjr-hg {
	box-sizing: border-box;
	max-width: 760px;
	margin: 0 auto;
	padding: 24px 0 60px;
	color: #222;
	line-break: strict; /* 小さい「っ」や句読点が行の頭に来ないようにする */
}
.bjr-hg *,
.bjr-hg *::before,
.bjr-hg *::after {
	box-sizing: border-box;
}

/* 文節のかたまり。かたまりの中では折らない（長すぎる時だけ中で折る）。 */
.bjr-hg .ph {
	display: inline-block;
	max-width: 100%;
	/* 親テーマのリセットが span の太さを normal に戻すので、見出しの太さを引き継がせる */
	font-weight: inherit;
	font-style: inherit;
}

.bjr-hg a:focus-visible,
.bjr-hg button:focus-visible {
	outline: 2px solid #e06010;
	outline-offset: 3px;
}

/* ---------- 一覧の頭 ---------- */
.bjr-hg-head {
	text-align: center;
	padding: 8px 0 28px;
	border-bottom: 2px solid #f2ebde;
}
.bjr-hg-head__title {
	margin: 0 0 12px;
	font-size: 32px;
	font-weight: 800;
	letter-spacing: 0.06em; /* 既存の英字の見出しは .1em。和文は詰める */
	line-height: 1.4;
	color: #222;
}
.bjr-hg-head__lead {
	margin: 0;
	font-size: 14px;
	line-height: 1.9;
	color: #666;
}

/* ---------- 一覧 ---------- */
.bjr-hg-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.bjr-hg-item {
	margin: 0;
	border-bottom: 2px solid #f2ebde;
}
.bjr-hg-item__link {
	display: grid;
	grid-template-columns: 104px minmax(0, 1fr);
	gap: 4px 24px;
	align-items: start;
	padding: 32px 4px;
	color: inherit;
	text-decoration: none;
}
/* 行の上のバナー（16:9。2026-11-22 本人「リストのページにはそれぞれの本文の画像を 16:9 のバナーにして」）。
   写真は切り抜かない（bijiri の決まり）: 写真は枠の中に全体を収め（contain）、余りには同じ写真をぼかして敷く（本人の選択）。
   下敷きだけは枠いっぱいに広げて切れてよい（飾り。写真そのものは全体が見えている）。
   余りの地の色はギャラリーのバナー（.bjr-ad-slot--hitorigoto）と同じ #0a0604、角丸は記事のアイキャッチと同じ 8px。 */
.bjr-hg-item__banner {
	position: relative;
	grid-column: 1 / -1;
	aspect-ratio: 16 / 9;
	margin-bottom: 20px;
	overflow: hidden;
	border-radius: 8px;
	background: #0a0604;
	isolation: isolate; /* Safari で、ぼかした下敷きが角丸の外へにじむのを防ぐ */
}
/* aspect-ratio の無い古いブラウザ(iOS 14 まで)では、中身が全部 absolute なので枠の高さが 0 になる。上の余白で 16:9 を作る */
@supports not (aspect-ratio: 16 / 9) {
	.bjr-hg-item__banner {
		height: 0;
		padding-top: 56.25%;
	}
}
.bjr-hg-item__banner-bg {
	position: absolute;
	top: 0; /* inset の無い古い Safari(iOS 14.4 まで)でも、枠の左上に置く */
	left: 0;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* 形が残らないくらい強くぼかし、ほんの少しだけ暗くして奥へ下げる。2026-11-22 に並べて比べて決めた:
	   - ぼかし 40px では、縦長の写真の太い線などが PC の幅で黒い塊として残った
	   - 半分の明るさまで落とすと、明るい写真の脇が「濃い灰色の帯」に見え、横長の写真の脇の細い帯は欠けのように見えた(審査の指摘)
	   → 60px で、明るさは 9 割。明るい写真の脇は明るく、暗い写真の脇は暗く、写真の続きに見える */
	filter: blur(60px) brightness(0.9) saturate(1.05);
	transform: scale(1.4); /* ぼかしで縁が透けないように、大きく敷く(この下敷きは飾りなので、はみ出して切れてよい) */
}
.bjr-hg-item__banner-img {
	position: absolute;
	top: 0;
	left: 0;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: contain; /* 切り抜かない */
	filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.35)); /* 写真の形に沿った影で、下敷きとの境目を見せる */
	transition: filter 0.3s ease;
}
/* 日付が一覧の目印（日記なので、いつ書いたかを一番大きく） */
.bjr-hg-item__date {
	display: flex;
	flex-direction: column;
	line-height: 1;
}
.bjr-hg-item__day {
	font-size: 36px;
	font-weight: 800;
	letter-spacing: 0.02em;
	font-variant-numeric: tabular-nums;
	color: #e06010;
	transition: transform 0.25s ease;
}
.bjr-hg-item__year {
	margin-top: 10px;
	font-size: 12px;
	letter-spacing: 0.14em;
	color: #6b6258;
}
.bjr-hg-item__main {
	min-width: 0;
}
.bjr-hg-item__title {
	margin: 0 0 10px;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0.03em;
	line-height: 1.5;
	color: #222;
	overflow-wrap: break-word;
	transition: color 0.2s ease;
}
.bjr-hg-item__excerpt {
	display: -webkit-box;
	margin: 0 0 12px;
	overflow: hidden;
	font-size: 14px;
	line-height: 1.9;
	color: #666;
	overflow-wrap: break-word;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
}
.bjr-hg-item__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 18px;
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
	color: #6b6258;
}
.bjr-hg-item__more {
	font-weight: 700;
	color: #c34c0d;
}
.bjr-hg-item__link:hover .bjr-hg-item__title,
.bjr-hg-item__link:focus-visible .bjr-hg-item__title {
	color: #c34c0d;
}
.bjr-hg-item__link:hover .bjr-hg-item__day,
.bjr-hg-item__link:focus-visible .bjr-hg-item__day {
	transform: translateX(6px);
}
/* 押せる事が分かるように、写真を少し明るくする（拡大・移動はしない。動かすと縁が切れるため） */
.bjr-hg-item__link:hover .bjr-hg-item__banner-img,
.bjr-hg-item__link:focus-visible .bjr-hg-item__banner-img {
	filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.35)) brightness(1.08);
}
@media (prefers-reduced-motion: reduce) {
	.bjr-hg-item__banner-img {
		transition: none;
	}
}

.bjr-hg-empty {
	margin: 0;
	padding: 60px 20px;
	text-align: center;
	font-size: 15px;
	color: #6b6258;
}

/* 開いた時: 見出し → 紹介文 → 記事の順に出す */
@keyframes bjr-hg-rise {
	from { opacity: 0; transform: translateY(10px); }
	to   { opacity: 1; transform: none; }
}
.bjr-hg-head__title,
.bjr-hg-head__lead,
.bjr-hg-item,
.bjr-hg-entry__head > * {
	animation: bjr-hg-rise 0.5s ease both;
}
.bjr-hg-head__lead { animation-delay: 0.12s; }
.bjr-hg-item:nth-child(1) { animation-delay: 0.24s; }
.bjr-hg-item:nth-child(2) { animation-delay: 0.30s; }
.bjr-hg-item:nth-child(3) { animation-delay: 0.36s; }
.bjr-hg-item:nth-child(4) { animation-delay: 0.42s; }
.bjr-hg-item:nth-child(n+5) { animation-delay: 0.48s; }
.bjr-hg-entry__head > :nth-child(2) { animation-delay: 0.08s; }
.bjr-hg-entry__head > :nth-child(3) { animation-delay: 0.16s; }

/* ---------- ページ送り ---------- */
.bjr-hg-pager {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 36px 0 0;
}
.bjr-hg-pager .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	background: #fff;
	border: 1px solid #e8ddc4;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 700;
	color: #333;
	text-decoration: none;
	transition: background 0.2s, color 0.2s;
}
.bjr-hg-pager .page-numbers.current {
	background: #c34c0d; /* 白い字が読める濃さ（#e06010 の上の白は薄い） */
	border-color: #c34c0d;
	color: #fff;
}
.bjr-hg-pager .page-numbers.dots {
	border-color: transparent;
	background: transparent;
}
.bjr-hg-pager a.page-numbers:hover {
	background: #faf7f0;
	color: #c34c0d;
}

/* ---------- 記事 ---------- */
.bjr-hg-entry__head {
	padding: 8px 0 28px;
	border-bottom: 2px solid #f2ebde;
}
.bjr-hg-entry__series {
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.6;
}
.bjr-hg-entry__series a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: #c34c0d;
	text-decoration: none;
}
.bjr-hg-entry__series a:hover {
	color: #e06010;
}
/* 一覧と同じ、大きな橙の日付（記事に入っても日記の索引が続く） */
.bjr-hg-entry__date {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin: 0 0 14px;
	line-height: 1;
}
.bjr-hg-entry__day {
	font-size: 36px;
	font-weight: 800;
	letter-spacing: 0.02em;
	font-variant-numeric: tabular-nums;
	color: #e06010;
}
.bjr-hg-entry__year {
	font-size: 12px;
	letter-spacing: 0.14em;
	color: #6b6258;
}
.bjr-hg-entry__title {
	margin: 0;
	font-size: 30px;
	font-weight: 800;
	letter-spacing: 0.04em;
	line-height: 1.5;
	color: #222;
	overflow-wrap: break-word;
}
.bjr-hg-entry__eyecatch {
	margin: 28px 0 0;
}
.bjr-hg-entry__eyecatch-img {
	display: block;
	width: 100%;
	height: auto; /* 写真は切り抜かない */
	border-radius: 8px;
}
.bjr-hg-entry__body {
	padding: 32px 0 8px;
	font-size: 16px;
	line-height: 2;
	color: #222;
	overflow-wrap: break-word;
}
.bjr-hg-entry__body img {
	max-width: 100%;
	height: auto;
}
/* ブロックエディターの「文字色」は <mark> に透明の背景を付けて色を変えるが、管理者でない書き手（会員の総裁）だと、
   保存の時に WordPress が透明の背景（rgba）を消し、ブラウザの既定の黄色い背景が出てしまう（2026-11-15 実測）。
   背景を指定した「ハイライト」は、文字に付いた style の方が勝つので、そのまま出る。
   親テーマの mark { font-style: italic; font-weight: bold; } も、色を付けただけの文字には効かせない（まわりの文字のまま）。 */
.bjr-hg-entry__body mark.has-inline-color {
	background-color: transparent;
	font-style: inherit;
	font-weight: inherit;
}
.bjr-hg .bjr-hg-entry__body h2,
.bjr-hg .bjr-hg-entry__body h3 {
	margin: 2.2em 0 0.8em;
	font-weight: 800;
	letter-spacing: 0.04em;
	line-height: 1.6;
	color: #222;
}
.bjr-hg .bjr-hg-entry__body h2 {
	font-size: 20px;
}
.bjr-hg .bjr-hg-entry__body h3 {
	font-size: 18px;
}

/* 前後の記事 */
.bjr-hg-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin: 40px 0 0;
	padding: 24px 0 0;
	border-top: 2px solid #f2ebde;
}
.bjr-hg-nav__item {
	display: block;
	min-height: 44px;
	color: inherit;
	text-decoration: none;
}
.bjr-hg-nav__item--next {
	grid-column: 2;
	text-align: right;
}
.bjr-hg-nav__label {
	display: block;
	margin-bottom: 6px;
	font-size: 12px;
	letter-spacing: 0.14em;
	color: #6b6258;
}
.bjr-hg-nav__title {
	display: block;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.6;
	color: #222;
	overflow-wrap: break-word;
	transition: color 0.2s ease;
}
.bjr-hg-nav__item:hover .bjr-hg-nav__title {
	color: #c34c0d;
}

/* ---------- コメント欄 ---------- */
.bjr-hg-comments {
	margin: 60px 0 0;
	padding: 32px 28px;
	background: #fff; /* ページの地が #faf7f0 なので、白い囲みで区切る（既存の囲みと同じ値） */
	border-radius: 8px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}
.bjr-hg-comments__title {
	margin: 0 0 8px;
	font-size: 20px;
	font-weight: 800;
	letter-spacing: 0.06em;
	line-height: 1.5;
	color: #222;
}
.bjr-hg-comments__count {
	margin-left: 12px;
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0.04em;
	color: #6b6258;
}
.bjr-hg-comments__list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.bjr-hg-comment {
	margin: 0;
	padding: 18px 0;
	border-bottom: 1px solid #ede4d3;
}
.bjr-hg-comment__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
	margin-bottom: 8px;
	line-height: 1.5;
}
.bjr-hg-comment__name {
	font-size: 15px;
	font-weight: 700;
	color: #222;
	overflow-wrap: break-word;
}
.bjr-hg-comment__badge {
	padding: 2px 10px;
	background: #c34c0d;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: #fff;
}
.bjr-hg-comment__pending {
	padding: 2px 8px;
	background: #fff4c2;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 700;
	color: #5c4712;
}
.bjr-hg-comment__date {
	font-size: 12px;
	font-variant-numeric: tabular-nums;
	color: #6b6258;
}
.bjr-hg-comment__body {
	font-size: 15px;
	line-height: 1.9;
	color: #222;
	overflow-wrap: break-word;
}
.bjr-hg-comment__body p {
	margin: 0 0 0.8em;
}
.bjr-hg-comment__body p:last-child {
	margin-bottom: 0;
}
.bjr-hg-comment__body a {
	color: #c34c0d;
	text-decoration: underline;
}
.bjr-hg-comment--sousai {
	margin: 0 -14px;
	padding: 18px 14px;
	background: #faf7f0;
	border-radius: 8px;
}
.bjr-hg-comments__empty,
.bjr-hg-comments__closed {
	margin: 0;
	padding: 12px 0 4px;
	font-size: 14px;
	line-height: 1.9;
	color: #666;
}

/* 入力欄 */
.bjr-hg-form {
	margin: 28px 0 0;
	padding: 24px;
	background: #faf7f0;
	border-radius: 8px;
}
.bjr-hg-form__title {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.03em;
	line-height: 1.5;
	color: #222;
}
.bjr-hg-form__notice {
	margin: 0 0 12px;
	padding: 12px 14px;
	background: #fff4c2;
	border: 1px solid #f5d97a;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.7;
	color: #5c4712;
}
.bjr-hg-form__note,
.bjr-hg-form__as {
	margin: 0 0 18px;
	font-size: 13px;
	line-height: 1.8;
	color: #666;
}
/* 未ログインの人へのログイン・会員登録の案内（コメントは会員だけ） */
.bjr-hg-form__login {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.bjr-hg-form__login .bjr-hg-btn {
	flex: 1 1 200px;
	width: auto;
}
.bjr-hg-form__field {
	margin: 0 0 16px;
}
.bjr-hg-form__label {
	display: block;
	margin: 0 0 6px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.6;
	color: #222;
}
.bjr-hg-form__hint {
	margin-left: 10px;
	font-size: 12px;
	font-weight: 400;
	color: #6b6258;
}
.bjr-hg-form__input,
.bjr-hg-form__textarea {
	display: block;
	width: 100%;
	padding: 12px 14px;
	background: #fff;
	border: 1px solid #e8ddc4;
	border-radius: 4px;
	color: #222;
	font: inherit;
	font-size: 16px; /* iPhone は 16px 未満だと入力の時に画面が拡大する */
	line-height: 1.6;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.bjr-hg-form__input {
	min-height: 48px;
}
.bjr-hg-form__textarea {
	min-height: 140px;
	resize: vertical;
}
.bjr-hg-form__input:focus,
.bjr-hg-form__textarea:focus {
	outline: none;
	border-color: #e06010;
	box-shadow: 0 0 0 3px rgba(224, 96, 16, 0.15);
}
/* 人には見えない欄（機械の自動送信よけ） */
.bjr-hg-form__trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ボタン（.bjr-entry__submit と同じ値） */
.bjr-hg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	padding: 14px 24px;
	background: #f5c85a;
	border: 0;
	border-radius: 4px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 0 0 1px rgba(74, 57, 35, 0.12), 0 2px 8px rgba(74, 57, 35, 0.12);
	color: #333;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.05em;
	line-height: 1.4;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.bjr-hg-btn:hover {
	background: #f5d97a;
	transform: translateY(-1px);
}
.bjr-hg-btn:active {
	transform: none;
}
.bjr-hg-btn--ghost {
	width: auto;
	min-width: 240px;
	background: #fff;
	box-shadow: 0 0 0 1px #e8ddc4;
}
.bjr-hg-btn--ghost:hover {
	background: #faf7f0;
}
.bjr-hg-back {
	margin: 40px 0 0;
	text-align: center;
}

/* ---------- スマホ ---------- */
@media (max-width: 767px) {
	.bjr-hg {
		padding: 16px 0 48px;
	}
	.bjr-hg-head {
		padding-bottom: 22px;
	}
	.bjr-hg-head__title {
		font-size: 24px;
	}
	.bjr-hg-item__link {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
		padding: 24px 0;
	}
	.bjr-hg-item__banner {
		margin-bottom: 4px;
	}
	.bjr-hg-item__date {
		flex-direction: row;
		align-items: baseline;
		gap: 12px;
	}
	.bjr-hg-item__day,
	.bjr-hg-entry__day {
		font-size: 30px;
	}
	.bjr-hg-item__year {
		margin-top: 0;
	}
	.bjr-hg-item__title {
		font-size: 18px;
	}
	.bjr-hg-entry__title {
		font-size: 24px;
	}
	.bjr-hg-nav {
		grid-template-columns: minmax(0, 1fr);
	}
	.bjr-hg-nav__item--next {
		grid-column: auto;
		text-align: left;
	}
	.bjr-hg-comments {
		margin-top: 40px;
		padding: 24px 16px;
	}
	.bjr-hg-comment--sousai {
		margin: 0 -8px;
		padding: 18px 8px;
	}
	.bjr-hg-form {
		padding: 20px 16px;
	}
	.bjr-hg-btn--ghost {
		width: 100%;
		min-width: 0;
	}
}

/* ---------- ページで書く(書けるアカウントだけ) ---------- */
.bjr-hg-writer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center; /* 「記事を書く」を箱の真ん中に（2026-11-15 本人指示）。お知らせと下書きは幅いっぱいで左寄せのまま。 */
	gap: 12px 16px;
	margin: 24px 0 0;
	padding: 20px 24px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}
.bjr-hg-writer .bjr-hg-btn {
	width: auto;
	min-width: 200px;
}
.bjr-hg-writer__drafts {
	flex: 1 1 100%;
	margin: 0;
	font-size: 14px;
	line-height: 1.8;
	color: #6b6258;
}
.bjr-hg-writer__drafts ul {
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
}
.bjr-hg-writer__drafts a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: #c34c0d;
	font-weight: 700;
	text-decoration: none;
}
/* 「一覧へ戻る」などの文字のリンク(押しやすい高さに) */
.bjr-hg-back > a:not(.bjr-hg-btn) {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 8px;
	font-size: 14px;
	font-weight: 700;
	color: #6b6258;
	text-decoration: none;
}
/* 記事: 2枚目以降の写真(本文の下)と「この記事を直す」 */
.bjr-hg-entry__photos {
	display: grid;
	gap: 16px;
	margin: 8px 0 0;
}
.bjr-hg-entry__photo-img {
	display: block;
	width: 100%;
	height: auto; /* 切り抜かない */
	border-radius: 8px;
}
.bjr-hg-entry__edit {
	margin: 16px 0 0;
}
.bjr-hg-entry__edit a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-size: 14px;
	font-weight: 700;
	color: #c34c0d;
	text-decoration: none;
}
@media (max-width: 767px) {
	.bjr-hg-writer {
		padding: 20px 16px;
	}
	.bjr-hg-writer .bjr-hg-btn {
		width: 100%;
		min-width: 0;
	}
}

/* ---------- 閲覧・いいね・コメントの数（2026-11-25 inc/hitorigoto-counter.php） ---------- */
/* 一覧の行: 「閲覧 1,234　いいね 5　コメント 2」を小さく。数ごとに折り返さない（数と名前を離さない）。 */
.bjr-hg-item__stats {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 2px 14px;
}
.bjr-hg-stat {
	white-space: nowrap;
}
.bjr-hg-stat__num {
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	color: #333;
}
/* 記事: 題の下 */
.bjr-hg-entry__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 18px;
	margin: 14px 0 0;
	font-size: 13px;
	line-height: 1.6;
	color: #6b6258;
}
.bjr-hg-entry__head > :nth-child(4) { animation-delay: 0.24s; }

/* 記事: 本文の下のいいね（会員が 1 記事に 1 回・もう一度押すと取り消し） */
/* 2026-11-25 見た目の審査 A-1: 「アーカイブの一覧へ」と同じ白い箱だと、移る物と押す物の区別が消え、囲みが 1 つ増える。
   白い地を外した丸い形（中身の幅）にして、ハートを大きくした。スマホでも横幅いっぱいにしない。 */
.bjr-hg-like {
	margin: 36px 0 0;
	text-align: center;
}
.bjr-hg-like__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: 168px;
	min-height: 48px;
	padding: 10px 26px 10px 22px;
	background: transparent;
	border: 0;
	border-radius: 999px;
	box-shadow: inset 0 0 0 1.5px #e6c7a4;
	color: #333;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.05em;
	line-height: 1.4;
	cursor: pointer;
	transition: background 0.2s, box-shadow 0.2s, color 0.2s, transform 0.15s;
}
.bjr-hg-like__btn:hover {
	background: rgba(224, 96, 16, 0.06);
	transform: translateY(-1px);
}
.bjr-hg-like__btn:active {
	transform: none;
}
.bjr-hg-like__btn:focus-visible {
	outline: 2px solid #c34c0d;
	outline-offset: 3px;
}
.bjr-hg-like__icon {
	flex: none;
	width: 26px;
	height: 26px;
	fill: transparent;
	stroke: #c34c0d;
	stroke-width: 2;
	stroke-linejoin: round;
	transition: fill 0.2s;
}
.bjr-hg-like__num {
	min-width: 1.5em;
	font-variant-numeric: tabular-nums;
	text-align: left;
}
/* 押してある時: ハートを塗り、縁を橙に */
.bjr-hg-like__btn[aria-pressed="true"] {
	background: #fff4c2;
	box-shadow: inset 0 0 0 2px #e06010;
	color: #5c4712;
}
.bjr-hg-like__btn[aria-pressed="true"] .bjr-hg-like__icon {
	fill: #e06010;
	stroke: #e06010;
}
@keyframes bjr-hg-heart-pop {
	0%   { transform: scale(1); }
	35%  { transform: scale(1.32); }
	70%  { transform: scale(0.92); }
	100% { transform: scale(1); }
}
.bjr-hg-like__btn.is-pop .bjr-hg-like__icon {
	animation: bjr-hg-heart-pop 0.45s ease;
}
/* 送っている間 */
.bjr-hg-like[aria-busy="true"] .bjr-hg-like__btn {
	opacity: 0.65;
	cursor: progress;
}
.bjr-hg-like__msg {
	min-height: 1.6em; /* 文が出ても下が動かないように */
	margin: 10px 0 0;
	font-size: 13px;
	line-height: 1.6;
	color: #6b6258;
}
@media (max-width: 767px) {
	.bjr-hg-like {
		margin-top: 28px;
	}
}

/* 動きを減らす設定の人には、動かさずに出す */
@media (prefers-reduced-motion: reduce) {
	.bjr-hg *,
	.bjr-hg *::before,
	.bjr-hg *::after {
		animation: none !important;
		transition: none !important;
	}
}
