/* 何の日大全 コア — SWELL のメインカラー(--color_main)に追従 */
.nh-lead {
	border-left: 4px solid var(--color_main, #c0392b);
	background: color-mix(in srgb, var(--color_main, #c0392b) 6%, #fff);
	padding: 1em 1.2em;
	margin: 0 0 2em;
	border-radius: 4px;
}
.nh-lead p { margin: 0; line-height: 1.8; }

.nh-kinenbi-list, .nh-timeline, .nh-people { list-style: none; padding: 0 !important; margin: 0 0 2em; }
.nh-kinenbi-list li, .nh-timeline li, .nh-people li {
	padding: .7em 0;
	border-bottom: 1px solid rgba(0,0,0,.08);
	line-height: 1.6;
}
.nh-kinenbi-list li::before, .nh-timeline li::before, .nh-people li::before { display: none !important; }
.nh-kinenbi-list a { font-weight: 700; }
.nh-desc { display: block; font-size: .88em; opacity: .75; margin-top: .2em; }
.nh-badge {
	display: inline-block; font-size: .72em; padding: .1em .6em; margin-left: .6em;
	border-radius: 99px; background: rgba(0,0,0,.06); vertical-align: middle;
}
.nh-cols { columns: 2; column-gap: 2em; }
.nh-cols li { break-inside: avoid; }
@media (max-width: 599px) { .nh-cols { columns: 1; } }

.nh-year { display: inline-block; min-width: 4.5em; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--color_main, #c0392b); }
.nh-name { font-weight: 700; }

table.nh-koyomi { width: 100%; border-collapse: collapse; margin: 0 0 2em; font-size: .95em; }
table.nh-koyomi th, table.nh-koyomi td { padding: .6em .8em; border: 1px solid rgba(0,0,0,.1); text-align: left; vertical-align: top; }
table.nh-koyomi th { width: 32%; background: rgba(0,0,0,.03); font-weight: 700; white-space: nowrap; }
@media (max-width: 599px) { table.nh-koyomi th { width: 38%; white-space: normal; } }
.nh-swatch { display: inline-block; width: 1em; height: 1em; border-radius: 3px; margin-right: .4em; vertical-align: -.1em; border: 1px solid rgba(0,0,0,.15); }

.nh-neta { background: rgba(0,0,0,.03); border-radius: 6px; padding: 1em 1.2em; margin: 0 0 1.2em; }
.nh-neta p { margin: 0 0 .4em; }
.nh-neta p:last-child { margin: 0; }

a.nh-card {
	display: block; text-decoration: none !important; color: inherit !important;
	border: 2px solid var(--color_main, #c0392b); border-radius: 8px;
	padding: 1em 1.2em; margin: 0 0 1.2em; transition: background .2s;
}
a.nh-card:hover { background: color-mix(in srgb, var(--color_main, #c0392b) 6%, #fff); }
.nh-card-title { display: block; font-weight: 700; color: var(--color_main, #c0392b); }
.nh-card-title::after { content: " →"; }
.nh-card-sub { display: block; font-size: .85em; opacity: .75; margin-top: .2em; }

.nh-daynav { display: flex; justify-content: space-between; gap: 1em; flex-wrap: wrap; margin: 3em 0 1em; padding-top: 1em; border-top: 1px solid rgba(0,0,0,.1); font-size: .95em; }
.nh-daynav span { opacity: .4; }
.nh-back { margin: 2em 0; }

/* 今日 */
.nh-today-date { font-size: 1.6em; font-weight: 700; margin: 0 0 .6em; font-variant-numeric: tabular-nums; }
.nh-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .6em; margin: 0 0 2em; }
.nh-chip { border: 1px solid rgba(0,0,0,.1); border-radius: 6px; padding: .6em .8em; }
.nh-chip-k { display: block; font-size: .75em; opacity: .65; }
.nh-chip-v { display: block; font-weight: 700; line-height: 1.4; }

/* クイズ */
.nh-quiz-tools { display: flex; gap: .6em; margin: 0 0 1.5em; flex-wrap: wrap; }
.nh-quiz-tools button { padding: .5em 1em; border: 1px solid rgba(0,0,0,.2); border-radius: 6px; background: #fff; cursor: pointer; font-size: .9em; }
.nh-quiz-q { border: 1px solid rgba(0,0,0,.1); border-radius: 8px; padding: 1.2em; margin: 0 0 1.2em; break-inside: avoid; }
.nh-qno { font-weight: 700; color: var(--color_main, #c0392b); margin: 0 0 .3em !important; }
.nh-qtext { font-size: 1.2em; font-weight: 700; line-height: 1.6; margin: 0 0 .8em !important; }
.nh-choices { list-style: none; padding: 0 !important; margin: 0 0 .8em !important; font-size: 1.1em; }
.nh-choices li { padding: .3em 0; }
.nh-choices li::before { display: none !important; }
.nh-mark { display: inline-block; width: 1.8em; font-weight: 700; }
.nh-quiz-q summary { cursor: pointer; font-weight: 700; }
.nh-answer { font-weight: 700; margin-top: .6em; }

@media print {
	.nh-quiz-tools, .nh-back, .nh-daynav, #header, #footer, .l-header, .l-footer, #sidebar, .l-sidebar, .p-breadcrumb, .c-shareBtns, .p-articleFoot, .p-relatedPosts, .p-toc { display: none !important; }
	.nh-quiz-q { font-size: 14pt; }
	.nh-quiz-q summary { display: none; }
}
.nh-kname { font-weight: 700; }

/* ===== v0.3 日付ページ(見本デザイン) ===== */
.nh-glance, .nh-box, .nh-kcard, .nh-pcard, .nh-neta { box-sizing: border-box; }
.nh-glance { background: #fff; border: 2px solid #13232c; border-radius: 18px; padding: 22px; margin: 0 0 8px; }
.nh-glance p { margin: 0; }
.nh-glance-label { font-size: 14px; font-weight: 900; letter-spacing: .08em; color: #e0763c; margin: 0 0 14px !important; }
.nh-g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.nh-g4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.nh-mt { margin-top: 12px; }
a.nh-tile, div.nh-tile { display: flex; flex-direction: column; gap: 8px; border-radius: 14px; padding: 16px; text-decoration: none !important; color: inherit !important; }
a.nh-tile:hover { filter: brightness(.97); }
.nh-tile-title { font-weight: 900; font-size: 17px; line-height: 1.4; color: #13232c; }
a.nh-tile .nh-tile-title { color: #0b5c7a; }
.nh-tile-desc { font-size: 13px; color: #5d6b72; line-height: 1.6; }
.nh-icon { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.nh-icon-lg { width: 64px; height: 64px; border-radius: 16px; }
.nh-mini { background: #f4f5f2; border-radius: 14px; padding: 14px 16px; }
.nh-mini-dark { background: #13232c; display: flex; align-items: center; gap: 12px; }
.nh-mini-dark .nh-mini-k { color: #b7c4ca; }
.nh-mini-dark .nh-mini-v { color: #fff; }
.nh-mini-k { font-size: 12px !important; color: #5d6b72; font-weight: 700; margin: 0 !important; line-height: 1.5; }
.nh-mini-v { font-size: 19px !important; font-weight: 900; color: #13232c; margin: 2px 0 0 !important; line-height: 1.4; }
.nh-mini-sub { font-size: 12px !important; font-weight: 700; color: #b5561c; margin-top: 2px !important; }
.nh-small { font-size: 15px !important; }
.nh-bar { height: 8px; background: #e3e5e0; border-radius: 99px; overflow: hidden; margin-top: 8px; }
.nh-bar > div { height: 8px; background: #e0763c; border-radius: 99px; }
.nh-leadtext { margin: 16px 0 0; }

h2.nh-h2 { margin-top: 2.6em; }
.nh-box { background: #fff; border: 1px solid #e3e5e0; border-radius: 14px; overflow: hidden; margin: 0 0 1em; }
.nh-row { display: flex; gap: 14px; align-items: center; padding: 14px 18px; border-top: 1px solid #eef0ec; line-height: 1.6; }
.nh-row:first-child { border-top: 0; }
.nh-rowmain { flex: 1; min-width: 0; }
.nh-ktitle { font-weight: 900; font-size: 17px; color: #13232c; }
a.nh-ktitle { color: #0b5c7a; }
.nh-rowdesc { margin: 2px 0 0 !important; font-size: 14px; color: #5d6b72; line-height: 1.6; }
.nh-chip { display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.nh-yr { font-weight: 900; font-size: 17px; color: #13232c; width: 60px; flex: none; font-variant-numeric: tabular-nums; }
.nh-ago { font-size: 12px; font-weight: 700; color: #8a5a2b; background: #fbefe3; border-radius: 6px; padding: 2px 8px; white-space: nowrap; }
details.nh-more { margin: 0 18px; }
.nh-ppl + details.nh-more { margin: 8px 0 0; }
details.nh-more summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 15px; color: #0b5c7a; padding: 14px 0; text-align: center; border-top: 1px dashed #d5d8d2; }
details.nh-more summary::-webkit-details-marker { display: none; }
.nh-more-body { margin: 0 0 14px !important; font-size: 15px; line-height: 2; }
.nh-plain { font-weight: 400; font-size: 15px; }

.nh-kcard { background: #fff; border: 1px solid #e3e5e0; border-radius: 12px; padding: 12px 14px; }
.nh-kcard p { margin: 0 !important; }
.nh-kcard.nh-wide { grid-column: span 2; }
.nh-kv { font-weight: 900; font-size: 17px; color: #13232c; line-height: 1.5; }
.nh-sub { font-size: 13px; font-weight: 500; color: #5d6b72; }
.nh-note { margin: 8px 0 0 !important; font-size: 12px; color: #5d6b72; }

.nh-ppl { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.nh-pcard { background: #fff; border: 1px solid #e3e5e0; border-radius: 14px; padding: 14px 16px; }
.nh-pcard p { margin: 0 !important; line-height: 1.5; }
.nh-pname { font-weight: 900; font-size: 17px; color: #13232c; }
.nh-prole { font-size: 13px; color: #5d6b72; margin-top: 2px !important; }
.nh-page { font-size: 13px; font-weight: 700; color: #0b5c7a; margin-top: 8px !important; }

.nh-flowerbox { display: flex; gap: 16px; align-items: center; padding: 18px; }
.nh-flowerbox p { margin: 0; }
.nh-flower { font-weight: 900; font-size: 20px; color: #13232c; }
.nh-chips-row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.nh-chip-flower { background: #efe6f6; color: #6b3f8f; }

.nh-neta { background: #fffaf3; border: 1px solid #f0dcc4; border-radius: 14px; padding: 18px 22px; margin: 0 0 12px; }
.nh-neta p { margin: 0 !important; }
.nh-neta-label { font-size: 13px; font-weight: 900; color: #b5561c; margin-bottom: 6px !important; }
.nh-neta-text { line-height: 1.9; }
a.nh-cta { display: flex; align-items: center; gap: 16px; background: #13232c; color: #fff !important; border-radius: 14px; padding: 18px 20px; text-decoration: none !important; }
a.nh-cta:hover { background: #1d3442; }
.nh-cta-title { display: block; font-weight: 900; font-size: 17px; }
.nh-cta-sub { display: block; font-size: 13px; color: #b7c4ca; }
.nh-cta-arrow { font-size: 22px; font-weight: 900; }

@media (max-width: 599px) {
	.nh-g3 { grid-template-columns: minmax(0, 1fr); }
	.nh-g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nh-row { padding: 12px 14px; gap: 12px; }
	.nh-row .nh-chip { display: none; }
	.nh-yr { width: 48px; font-size: 15px; }
	.nh-glance { padding: 16px; }
}

/* SWELLの公開日表示を日付系ページでは隠す(10/26 と誤読されるため) */
.nh-datepage .c-postTitle__date, .nh-datepage .p-articleMetas .c-postTimes { display: none !important; }

/* ===== トップページ ===== */
.nh-front-head { margin: 0 0 14px; }
.nh-front-h1 { font-size: 30px !important; font-weight: 900 !important; color: #13232c; margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; line-height: 1.3 !important; }
.nh-front-h1::before, .nh-front-h1::after { display: none !important; }
.nh-front-date { margin: 4px 0 0 !important; font-size: 16px; font-weight: 700; color: #5d6b72; }
.nh-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin: 0 0 16px; }
.nh-wk { display: flex; flex-direction: column; align-items: center; padding: 8px 2px; border-radius: 12px; background: #fff; border: 1px solid #e3e5e0; text-decoration: none !important; color: #13232c !important; line-height: 1.2; }
a.nh-wk:hover { border-color: #0b5c7a; }
.nh-wk-today { background: #13232c; border-color: #13232c; color: #fff !important; }
.nh-wk-off { opacity: .45; }
.nh-wk-l { font-size: 11px; font-weight: 700; }
.nh-wk-d { font-size: 20px; font-weight: 900; margin: 2px 0; }
.nh-wk-w { font-size: 11px; }
.nh-wk-red { color: #c0392b; }
.nh-wk-blue { color: #2b5e8c; }
.nh-wk-today .nh-wk-red, .nh-wk-today .nh-wk-blue { color: #ffd2c4; }
.nh-today a.nh-cta + a.nh-cta { margin-top: 10px; }
@media (max-width: 599px) {
	.nh-front-h1 { font-size: 26px !important; }
	.nh-wk-d { font-size: 17px; }
}
.nh-empty { background: #f4f5f2; border-radius: 12px; padding: 14px 18px; margin: 16px 0 0 !important; font-size: 15px; color: #5d6b72; }
a.nh-up { text-decoration: none !important; color: #26343b !important; }
a.nh-up:hover { background: #f7f8f5; }
.nh-up-date { font-weight: 900; font-size: 17px; color: #13232c; width: 76px; flex: none; font-variant-numeric: tabular-nums; }
.nh-up-date small { font-size: 12px; font-weight: 700; color: #5d6b72; margin-left: 2px; }
.nh-up-arrow { color: #0b5c7a; font-weight: 900; }
