/*
Theme Name: AFFINGER Child
Template: affinger
Description: AFFINGER6 対応
Version: 20240601
*/

/*media Queries スマートフォンとタブレットサイズ（959px以下）で適応したいCSS - スマホ・タブレット
---------------------------------------------------------------------------------------------------*/
@media only screen and (max-width: 959px) {


	/*-- ここまで --*/
}
	
/*media Queries タブレットサイズ（600px～959px）のみで適応したいCSS -タブレットのみ
---------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 600px) and (max-width: 959px) {


	/*-- ここまで --*/
}	
	
/*media Queries タブレット（600px）以上で適応したいCSS -タブレット・PC
---------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 600px) {


	/*-- ここまで --*/
}

/*media Queries PCサイズ（960px）以上で適応したいCSS - PCのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (min-width: 960px) {


	/*-- ここまで --*/
}

/*media Queries スマホサイズ（599px）以下で適応したいCSS - スマホのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (max-width: 599px) {

	
	/*-- ここまで --*/
}

/*==========================================================
  LION MEDIA 互換：記事内ボックス・マーカー等
  （lionmedia/css/content.css から移植。rem→px換算済み）
==========================================================*/
.borderBox{border:1px solid #E5E5E5;padding:20px;margin:20px 0;}
.border2Box{border:4px double #E5E5E5;padding:20px;margin:20px 0;}
.bgBox{background:#F2F2F2;padding:20px;margin:20px 0;}
.paperBox{position:relative;padding:20px;margin:20px 0;background-color:#F2F2F2;}
.paperBox::after{
	content:"";position:absolute;bottom:0;right:0;
	border-color:#D8D8D8 #ffffff #ffffff #D8D8D8;
	border-style:solid;border-width:0 0 20px 20px;
}
.boldBox{border:3px solid #191919;padding:20px;margin:20px 0;font-weight:700;}
.bracketsBox{position:relative;padding:20px;margin:20px 0;}
.bracketsBox::before,
.bracketsBox::after{display:inline-block;position:absolute;width:20px;height:30px;content:"";}
.bracketsBox::before{top:0;left:0;border-top:solid 1px #191919;border-left:solid 1px #191919;}
.bracketsBox::after{right:0;bottom:0;border-right:solid 1px #191919;border-bottom:solid 1px #191919;}
.questionBox,
.exclamationBox{position:relative;margin:20px 0;padding:20px 20px 20px 70px;}
.questionBox{background-color:#D9EFF7;}
.exclamationBox{background-color:#F6E1DF;}
.questionBox::before,
.exclamationBox::before{
	position:absolute;top:20px;left:20px;
	font-size:20px;font-weight:700;color:#ffffff;
	text-align:center;width:30px;height:30px;line-height:30px;border-radius:50%;
}
.questionBox::before{content:"?";background:#0096c8;}
.exclamationBox::before{content:"!";background:#c53929;}
.pointBox{position:relative;border:2px solid #c53929;border-radius:5px;padding:20px;margin:25px 0 20px;}
.pointBox::before{
	content:"POINT";position:absolute;top:-15px;left:15px;
	font-size:16px;font-weight:700;background-color:#ffffff;color:#c53929;padding:0 10px;
}
/* ボックス内の最初・最後の要素の余白を詰める */
:is(.borderBox,.border2Box,.bgBox,.paperBox,.boldBox,.bracketsBox,.questionBox,.exclamationBox,.pointBox) > :first-child{margin-top:0;}
:is(.borderBox,.border2Box,.bgBox,.paperBox,.boldBox,.bracketsBox,.questionBox,.exclamationBox,.pointBox) > :last-child{margin-bottom:0;}

.asterisk{display:block;font-size:13px;color:#7F7F7F;}
.markerYellow{background:linear-gradient(transparent 60%, #ffffbc 60%);}
.markerPink{background:linear-gradient(transparent 60%, #FFDFEF 60%);}
.markerBlue{background:linear-gradient(transparent 60%, #cce5ff 60%);}

.adPost{
	width:100%;overflow:hidden;margin-top:20px;padding:0 10px;background-color:#F2F2F2;
	background-image:linear-gradient(to top right,#fff 0%,#fff 25%,transparent 25%,transparent 50%,#fff 50%,#fff 75%,transparent 75%,transparent 100%);
	background-size:6px 6px;
}
.adPost__title{font-size:12px;padding:10px 0;display:block;font-weight:normal;text-align:center;}

/* YouTube 16:9 レスポンシブ */
.youtube{position:relative;padding-bottom:56.25%;height:0;overflow:hidden;max-width:100%;margin:20px auto 0;}
.youtube iframe{position:absolute;top:0;left:0;width:100%;height:100%;}

@media only screen and (max-width: 767px){
	.questionBox,
	.exclamationBox{padding:15px 15px 15px 55px;}
	.questionBox::before,
	.exclamationBox::before{top:15px;left:15px;font-size:16px;width:25px;height:25px;line-height:25px;}
}
/*-- LION MEDIA 互換ここまで --*/

/*==========================================================
  LION MEDIA子テーマから移植：コピーボタン / .bo / Rinker / 内部リンクカード
==========================================================*/
/*コピーボタン*/
.copyBtn {
  text-align: center;
}

.copyBtn {
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 1px;
  background: #fff;
  border: 2px solid #000;
  cursor: pointer;
  display: block;
  line-height: 27px;
  width: 320px;
  padding: 0 5px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition-property: background-color, color;
  -webkit-transition-duration: 0.3s;
  -webkit-transition-timing-function: ease;
  transition-property:background-color, color;
  transition-duration: 0.3s;
  transition-timing-function: ease;
  margin: 0 auto 10px;
}
@media screen and (min-width: 768px) {
  .copyBtn {
    font-size: 13px;
    line-height: 54px;
    margin: 0 auto 20px;
  }
}

.copyBtn.copiedBtn {
  background: #cfcaca;
  color: #000;
  pointer-events: none;
}

.bo{
list-style-position: inside;
}



/*RINKER PCサイト*/
div.yyi-rinker-contents {
border: solid 2px #e5e5e5;
border-radius: 5px;
box-shadow: 0 0px 3px rgba(0, 0, 0, 0.1);
}
div.yyi-rinker-contents img {
max-width: 100%;
}
div.yyi-rinker-contents div.yyi-rinker-box {
padding: .25em 0;
}
div.yyi-rinker-contents div.yyi-rinker-image {
margin: 2%;
width: 30%;
}
div.yyi-rinker-info {
padding: 0 3%;
width: 100%;
margin: auto;
}
.yyi-rinker-title {
font-size: 1.1em;
	font-weight:bold;
margin-left: .3em;
padding-top: 1em;
}
div.yyi-rinker-contents div.yyi-rinker-title p {
margin: 0;
}
div.yyi-rinker-contents div.yyi-rinker-detail {
font-size: .8em;
color: #42424280;
padding-left: 0;
margin-top: 0;
margin-left: .5em;
}
div.yyi-rinker-contents div.yyi-rinker-detail .price-box {
margin: .5em 0;
margin-left: .5em;
}
div.yyi-rinker-contents div.yyi-rinker-detail .price-box .price {
letter-spacing: 0.1em;
font-size: 1.2em;
margin-right: .5em;
}
div.yyi-rinker-contents ul.yyi-rinker-links {
display: inline-block;
text-align: center;
}
div.yyi-rinker-contents ul.yyi-rinker-links li {
width: 70%;
padding: 0 .7em;
margin: .5em .5em .4em .5em;
font-size: .8em;
display: inline-block;
height: 40px;
border-radius: 3px;
font-weight: bold;
vertical-align: middle;
line-height: 40px;
transition: .3s ease-in-out;
text-align: center;
}
div.yyi-rinker-contents ul.yyi-rinker-links li:hover{
opacity: 0.7;
}
div.yyi-rinker-contents ul.yyi-rinker-links li.amazonkindlelink{
background: #90CAF9;
}
div.yyi-rinker-contents ul.yyi-rinker-links li.amazonlink {
background: #FF9900;
}
div.yyi-rinker-contents ul.yyi-rinker-links li.amazonlink a {
color: #fff;
}
div.yyi-rinker-contents ul.yyi-rinker-links li.rakutenlink {
background: #BE0202;
}
div.yyi-rinker-contents ul.yyi-rinker-links li.yahoolink {
background: #66a7ff;
}
div.yyi-rinker-contents ul.yyi-rinker-links li.freelink2 {
background: #90d581;
}
div.yyi-rinker-contents ul.yyi-rinker-links li a {
height: 40px;
line-height: 40px;
font-size: 0.95em;
padding-left: 0px;
padding-right: 0;
}
div.yyi-rinker-contents ul.yyi-rinker-links li a:after {
position: absolute;
right: auto;
padding-left: 5px;
transition: .3s ease-in-out;
}
div.yyi-rinker-contents ul.yyi-rinker-links li a:hover::after {
opacity: .9;
transform: translateX(2px);
-webkit-transform: translateX(2px);
}


/*RINKER スマホサイト*/
@media screen and (max-width: 540px) {
div.yyi-rinker-contents div.yyi-rinker-box {
padding: 1em 0 0 0;
display: block;
}
div.yyi-rinker-contents div.yyi-rinker-image {
margin: auto;
}
div.yyi-rinker-contents div.yyi-rinker-box div.yyi-rinker-info {
padding: 0;
margin: auto;
width: 90%;
text-align: center;
}
.yyi-rinker-title {
font-size: .9em;
text-align: center
}
div.yyi-rinker-contents div.yyi-rinker-detail .price-box .price {
display: block;
}
div.yyi-rinker-contents ul.yyi-rinker-links li {
width: 85%;
font-size: .9em;
height:50px
}
body div.yyi-rinker-contents ul.yyi-rinker-links li a {
padding: 0;
}
div.yyi-rinker-contents ul.yyi-rinker-links li a:after {}
}



/* 内部リンクカード（ルートC） */
a.nd-card {
    display: flex;
    gap: 16px;
    align-items: stretch;
    margin: 1.8em 0;
    padding: 14px;
    border: 1px solid #e3e6ea;
    border-radius: 10px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
a.nd-card:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,.12);
    border-color: #cfd4da;
    transform: translateY(-2px);
    text-decoration: none;
}
.nd-card__thumb { flex: 0 0 auto; }
.nd-card__thumb img {
    display: block;
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 8px;
}
.nd-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.nd-card__label {
    align-self: flex-start;
    margin-bottom: 6px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    color: #4a6da7;
    background: #eef2f8;
    border-radius: 4px;
}
.nd-card__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.45;
    color: #1a1a1a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.nd-card__excerpt {
    margin-top: 5px;
    font-size: 12.5px;
    line-height: 1.6;
    color: #666e79;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.nd-card__meta {
    margin-top: 7px;
    font-size: 11px;
    color: #99a0aa;
}
@media (max-width: 600px) {
    .nd-card__thumb img { width: 84px; height: 84px; }
    .nd-card__excerpt { display: none; }
    .nd-card__title { font-size: 14px; }
}

/* ブログカード：抜粋と公開日を非表示 */
.nd-card__excerpt,
.nd-card__meta {
    display: none;
}

/* アイキャッチ非表示＋レイアウト調整 */
.nd-card {
    align-items: center;   /* 中身を縦センターに */
    gap: 0;                /* サムネ分の余白をリセット */
    padding: 24px 30px;    /* 上下18→24、左右24→30に拡大 */
    padding-right: 52px;   /* 矢印スペース分を少し追加確保 */
}
.nd-card__thumb {
    display: none;         /* アイキャッチ非表示 */
}
.nd-card__body {
    width: 100%;
}

/* カードらしさ強化：背景＋クリック誘導の矢印 */
.nd-card {
    position: relative;
    background: #f4f6f9 !important;          /* 少し濃いグレーで面を認識させる */
    border-color: #dce0e6;
    padding-right: 48px;          /* 右端の矢印スペースを確保 */
}
.nd-card:hover {
    background: #eef1f5 !important;          /* ホバーでわずかに変化 */
}

/* 右端のリンク矢印（>） */
.nd-card::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    width: 9px;
    height: 9px;
    border-top: 2px solid #8b93a0;
    border-right: 2px solid #8b93a0;
    transform: translateY(-50%) rotate(45deg);
    transition: right .2s ease, border-color .2s ease;
}
.nd-card:hover::after {
    right: 16px;                  /* ホバーで右にスッと動く */
    border-color: #4a6da7;        /* ラベルと同系色に */
}

/*==========================================================
  フッター上ウィジェット（本番LION MEDIA版のウィジェットデザインに寄せる）
  配色：本文 #191919 / アクセント紺 #244765 / 区切り #d8d8d8 / 背景 #f7f7f7
==========================================================*/
#st-footer-under-widgets-box-wrap{
	background:#f7f7f7;
	border-top:5px solid #244765;
	padding:50px 20px 30px;
}
#st-footer-under-widgets-box{
	display:grid;
	grid-template-columns:1fr;
	row-gap:40px;
	align-items:start;
	max-width:760px;
	margin:0 auto;
	padding:0;
	text-align:left;
}
#st-footer-under-widgets-box .footer-topbox{margin:0;padding:0;text-align:left;color:#191919;}

/* 見出し：太字＋下線（紺のアクセント付き） */
#st-footer-under-widgets-box .st-widgets-title{
	position:relative;
	margin:0 0 15px;
	padding:0 0 10px;
	font-size:16px;
	font-weight:700;
	letter-spacing:.5px;
	line-height:1.4;
	color:#191919;
	text-align:left;
	border-bottom:1px solid #e5e5e5;
}
#st-footer-under-widgets-box .st-widgets-title::after{
	content:"";
	position:absolute;
	left:0;
	bottom:-1px;
	width:60px;
	border-bottom:2px solid #244765;
}

/* リスト：「・」付き＋点線区切り */
#st-footer-under-widgets-box ul{margin:0;padding:0;list-style:none;}
#st-footer-under-widgets-box ul.menu > li{
	position:relative;
	margin:0;
	padding:10px 0 10px 18px;
	font-size:14px;
	font-weight:500;
	line-height:1.5;
	border:none;
	background:none;
}
#st-footer-under-widgets-box ul.menu > li + li{border-top:1px dotted #d8d8d8;}
#st-footer-under-widgets-box ul.menu > li::before{
	content:"・";
	position:absolute;
	left:0;
	top:10px;
	color:#191919;
}
#st-footer-under-widgets-box a{
	color:#191919;
	text-decoration:none;
	font-weight:500;
}
#st-footer-under-widgets-box a:hover{color:#244765;text-decoration:underline;}
/* AFFINGERのメニュー矢印等を無効化 */
#st-footer-under-widgets-box ul.menu li a::before,
#st-footer-under-widgets-box ul.menu li a::after{content:none;}

/* 月別サブメニュー：3列のコンパクト表示 */
#st-footer-under-widgets-box ul.sub-menu{
	display:grid !important; /* 常時表示（開閉させない） */
	visibility:visible !important;
	opacity:1 !important;
	height:auto !important;
	position:static !important;
	grid-template-columns:repeat(6, 1fr);
	gap:4px 10px;
	margin:8px 0 2px;
	padding:0;
}
#st-footer-under-widgets-box ul.sub-menu li{
	margin:0;padding:0;border:none;font-size:13px;
}
#st-footer-under-widgets-box ul.sub-menu li::before{content:none;}
#st-footer-under-widgets-box ul.sub-menu a{color:#555;}

/* サイト紹介（カスタムHTML） */
#st-footer-under-widgets-box #custom_html-3 p{margin:0 0 15px;text-align:left !important;}
#st-footer-under-widgets-box #custom_html-3 img{width:100%;max-width:480px;margin:0 auto;height:auto;display:block;border-radius:4px;}
#st-footer-under-widgets-box #custom_html-3 div[style*="margin"]{margin:0 !important;}
#st-footer-under-widgets-box #custom_html-3 .custom-html-widget > span{display:block;font-size:13px !important;line-height:1.8;color:#444;}
#st-footer-under-widgets-box #custom_html-3 a{color:#244765;font-weight:700;}

/* 検索フォーム */
#st-footer-under-widgets-box .widget_search form{max-width:100%;}

/* フッター本体 */
#footer{background:#f7f7f7;border-top:1px solid #e5e5e5;}

/* タブレット・スマホ：1列 */
@media only screen and (max-width: 959px){
	#st-footer-under-widgets-box{row-gap:35px;}
	#st-footer-under-widgets-box-wrap{padding:40px 15px 20px;}
	#st-footer-under-widgets-box ul.sub-menu{grid-template-columns:repeat(4, 1fr);}
}
@media only screen and (max-width: 599px){
	#st-footer-under-widgets-box ul.sub-menu{grid-template-columns:repeat(3, 1fr);}
}
/*-- フッター上ウィジェットここまで --*/

/*==========================================================
  Shortcodes Ultimate 互換スタイル（su_spoiler fancy / caret 相当）
==========================================================*/
.nd-spoiler{
	margin:0 0 20px;
	border:1px solid #ccc;
	border-radius:10px;
	background:#fff;
	overflow:hidden;
}
.nd-spoiler__title{
	position:relative;
	display:block;
	list-style:none;
	cursor:pointer;
	padding:7px 10px 7px 34px;
	background:#f0f0f0;
	color:#333;
	font-size:14.4px;
	font-weight:700;
	line-height:20px;
	user-select:none;
}
.nd-spoiler__title::-webkit-details-marker{display:none;}
.nd-spoiler__title::marker{content:"";}
.nd-spoiler__title::before{
	content:"";
	position:absolute;
	left:13px;
	top:50%;
	margin-top:-5px;
	border-style:solid;
	border-width:5px 0 5px 7px;
	border-color:transparent transparent transparent #333;
	transition:transform .2s ease;
}
.nd-spoiler[open] > .nd-spoiler__title::before{transform:rotate(90deg);}
.nd-spoiler[open] > .nd-spoiler__title{border-bottom:1px solid #ccc;}
.nd-spoiler__title:hover{background:#e8e8e8;}
.nd-spoiler__title:focus-visible{outline:2px solid #244765;outline-offset:-2px;}
.nd-spoiler__content{padding:12px 14px;line-height:1.8;}
.nd-spoiler__content > :first-child{margin-top:0;}
.nd-spoiler__content > :last-child{margin-bottom:0;}
.nd-spoiler__content > br:first-child,
.nd-spoiler__content p:empty{display:none;}
/* ボックス内の折りたたみ */
:is(.bgBox,.paperBox,.borderBox,.border2Box) .nd-spoiler:last-child{margin-bottom:0;}

/* 段組み（su_row / su_column） */
.nd-row{display:flex;flex-wrap:wrap;gap:20px 4%;margin:0 0 20px;}
.nd-col{flex:1 1 0;min-width:0;}
.nd-col-1-2{flex:0 0 48%;}
.nd-col-1-3{flex:0 0 30.66%;}
.nd-col-2-3{flex:0 0 65.33%;}
.nd-col-1-4{flex:0 0 22%;}
.nd-col-3-4{flex:0 0 74%;}
.nd-col-1-1,.nd-col-full{flex:0 0 100%;}
.nd-col-center{text-align:center;}
.nd-col > :first-child{margin-top:0;}
@media only screen and (max-width: 767px){
	.nd-row{display:block;}
	.nd-col{margin-bottom:20px;}
}

/* ラベル（su_label） */
.nd-label{
	display:inline-block;
	padding:1px 8px;
	margin:0 2px;
	border-radius:3px;
	background:#999;
	color:#fff;
	font-size:.85em;
	font-weight:700;
	line-height:1.6;
	vertical-align:baseline;
}
.nd-label-success{background:#4caf50;}
.nd-label-warning{background:#f0a020;}
.nd-label-important{background:#c53929;}
.nd-label-black{background:#191919;}
.nd-label-info{background:#0096c8;}

/* タブ（縦並び表示） */
.nd-tab{margin:0 0 20px;border-left:3px solid #244765;padding-left:12px;}
.nd-tab__title{margin:0 0 6px;font-weight:700;}
/*-- Shortcodes Ultimate 互換ここまで --*/

/*==========================================================
  目次（H2のみ・常時表示）LION MEDIA版デザインに準拠
==========================================================*/
.nd-toc{
	display:block;
	width:100%;
	box-sizing:border-box;
	margin:35px 0 45px;
	padding:20px 25px 20px 20px;
	border:1px dotted #d8d8d8;
	background:#fff;
	color:#191919;
}
.entry-content .nd-toc .nd-toc__title{
	margin:0;
	padding:0;
	font-size:18px !important; /* AFFINGERの本文pサイズ指定に負けないように */
	font-weight:500;
	line-height:1.75;
	border:none;
	background:none;
}
.entry-content .nd-toc .nd-toc__list{
	margin:15px 0 0;
	padding:0;
	list-style:none;
}
.entry-content .nd-toc .nd-toc__item{
	position:relative;
	margin:0;
	padding:10px 0 0 20px;
	font-size:16px;
	font-weight:500;
	line-height:1.5;
	list-style:none;
	border:none;
	background:none;
}
.entry-content .nd-toc .nd-toc__item::before{
	content:"・";
	position:absolute;
	left:0;
	top:10px;
	color:#7f7f7f;
	background:none;
	border:none;
	width:auto;
	height:auto;
}
.entry-content .nd-toc .nd-toc__item:first-child{padding-top:0;}
.entry-content .nd-toc .nd-toc__item:first-child::before{top:0;}
.entry-content .nd-toc .nd-toc__link{
	color:#191919;
	text-decoration:none;
	font-weight:500;
}
.entry-content .nd-toc .nd-toc__link:hover{color:#244765;text-decoration:underline;}
/* ジャンプ時に固定ヘッダー等で見出しが隠れないよう余白 */
.entry-content h2[id^="outline__"]{scroll-margin-top:20px;}
@media only screen and (max-width: 599px){
	.nd-toc{padding:15px;margin:30px 0 35px;}
}
/*-- 目次ここまで --*/

/*==========================================================
  文字組み：本番（LION MEDIA）に合わせる
  ・本文の太さ 500 ／ 見出しの行間 1.5 ／ 記事タイトルの字間 0.5px
  ・書体（Lato＋游ゴシック）は AFFINGER管理「フォントの種類 > その他（優先）」で指定
==========================================================*/
body,
.entry-content p,
.entry-content li,
.entry-content td,
.entry-content th,
#side li,
#st-footer-under-widgets-box li{
	font-weight:500;
}
.entry-content p{line-height:1.75;}
.entry-title,
.post .entry-title:not(.st-css-no){
	line-height:1.5 !important;
	letter-spacing:.5px;
}
.post h2:not(.st-css-no),
.post h3:not(.st-css-no),
.entry-content h2,
.entry-content h3,
.entry-content h4{
	line-height:1.5 !important;
}
/*-- 文字組みここまで --*/

/*==========================================================
  検索結果：ニュース見出し単位の一覧
==========================================================*/
.nd-sr{margin:10px 0 40px;}
.nd-sr-heading{
	position:relative;
	margin:30px 0 15px;
	padding:0 0 10px;
	font-size:20px;
	font-weight:700;
	line-height:1.5;
	color:#191919;
	border-bottom:1px solid #e5e5e5;
	background:none;
}
.nd-sr-heading::after{
	content:"";position:absolute;left:0;bottom:-1px;width:60px;border-bottom:2px solid #244765;
}
.nd-sr-heading::before{content:none;}
/* AFFINGERの見出し装飾（背景・枠）を打ち消す */
#contentInner .nd-sr-heading,
#contentInner h2.nd-sr-heading{
	background:none !important;
	border-top:none !important;
	border-left:none !important;
	border-right:none !important;
	border-bottom:1px solid #e5e5e5 !important;
	padding:0 0 10px !important;
	box-shadow:none !important;
	font-size:20px !important;
	line-height:1.5 !important;
	color:#191919 !important;
}
#contentInner .nd-sr-heading::after{
	content:"" !important;
	position:absolute !important;
	left:0 !important;
	right:auto !important;
	top:auto !important;
	bottom:-1px !important;
	width:60px !important;
	height:0 !important;
	border:none !important;
	border-bottom:2px solid #244765 !important;
	background:none !important;
}
.nd-sr-count{font-size:14px;font-weight:500;color:#7f7f7f;margin-left:6px;}
.nd-sr-empty{color:#555;}

.nd-sr-list,
.post .nd-sr-list{margin:0;padding:0;list-style:none;}
.nd-sr-list > li{list-style:none;margin:0;padding:0;}
.nd-sr-list > li::before{content:none;}

/* 年の区切り */
.nd-sr-year{
	display:flex;
	align-items:center;
	gap:12px;
	margin:28px 0 6px !important;
	color:#244765;
	font-size:15px;
	font-weight:700;
	letter-spacing:.05em;
}
.nd-sr-year:first-child{margin-top:8px !important;}
.nd-sr-year span{flex:0 0 auto;padding:2px 12px;border:1px solid #244765;border-radius:3px;background:#fff;}
.nd-sr-year::after{content:"";flex:1 1 auto;border-top:2px solid #244765;opacity:.6;}

/* 各ニュース */
.nd-sr-item + .nd-sr-item{border-top:1px dotted #d8d8d8;}
.nd-sr-link{
	display:block;
	padding:12px 10px 12px 18px;
	position:relative;
	color:#191919 !important;
	text-decoration:none !important;
	transition:background-color .15s ease;
}
.nd-sr-link::before{
	content:"・";position:absolute;left:2px;top:12px;color:#7f7f7f;
}
.nd-sr-link:hover{background:#f7f7f7;}
.nd-sr-link:hover .nd-sr-title{color:#244765;text-decoration:underline;}
.nd-sr-title{display:block;font-size:16px;font-weight:700;line-height:1.6;}
.nd-sr-snippet{display:block;margin-top:4px;font-size:13px;line-height:1.7;color:#555;}
.nd-sr-badge{
	display:inline-block;margin-right:6px;padding:0 6px;
	font-size:11px;font-weight:700;line-height:1.7;
	color:#244765;background:#eef2f8;border-radius:3px;vertical-align:1px;
}
.nd-sr-meta{display:block;margin-top:4px;font-size:12px;color:#7f7f7f;line-height:1.6;}
.nd-sr-date{margin-right:10px;font-weight:700;color:#555;}
.nd-sr mark{background:linear-gradient(transparent 55%, #ffef9e 55%);color:inherit;padding:0 1px;}
.nd-sr-hidden{display:none !important;}
.nd-sr-more-wrap{text-align:center;margin:20px 0 0;}
.nd-sr-more{
	padding:10px 30px;border:1px solid #244765;border-radius:4px;background:#fff;
	color:#244765;font-size:14px;font-weight:700;cursor:pointer;
}
.nd-sr-more:hover{background:#244765;color:#fff;}
.nd-sr-heading--posts{margin-top:40px;}
@media only screen and (max-width: 599px){
	.nd-sr-title{font-size:15px;}
	.nd-sr-link{padding:10px 4px 10px 16px;}
}
/*-- 検索結果ここまで --*/

/*==========================================================
  検索からのジャンプ先：ハイライト／見出し位置の余白
  ＋ 検索結果「本文で言及」区分ライン
==========================================================*/
.entry-content h3[id^="n-"],
.entry-content details[id^="n-"]{scroll-margin-top:20px;}
@keyframes nd-jump-hl{
	0%,55%{background-color:#fff3b0;box-shadow:0 0 0 6px #fff3b0;}
	100%{background-color:transparent;box-shadow:0 0 0 6px transparent;}
}
.nd-jump-hl{animation:nd-jump-hl 3s ease-out 1;border-radius:2px;}
.nd-spoiler__title.nd-jump-hl{animation-name:nd-jump-hl;}
/* 本文で言及：年次と同じデザイン（区分ライン） */
.nd-sr-year--body{margin-top:22px !important;}
/*-- ジャンプ先ここまで --*/

/*==========================================================
  トップページ（試作）：最新のニュース／年×月の索引表
==========================================================*/
.nd-fp-wrap{margin:0 0 40px;}
.nd-fp{margin:0 0 45px;}
.nd-fp-head{
	display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;
	margin:0 0 14px;padding:0 0 8px;
	border-bottom:3px double #244765;
}
#contentInner .nd-fp-title{
	margin:0 !important;padding:0 !important;
	background:none !important;border:none !important;box-shadow:none !important;
	font-size:22px !important;font-weight:700;line-height:1.4 !important;color:#191919 !important;
	letter-spacing:.08em;
}
#contentInner .nd-fp-title::before,
#contentInner .nd-fp-title::after{content:none !important;display:none !important;}
.nd-fp-sub{font-size:13px;color:#7f7f7f;font-weight:500;}
.nd-fp-live,.nd-ix-badge{
	display:inline-block;margin-left:6px;padding:0 6px;
	font-size:11px;font-weight:700;line-height:1.7;color:#fff;background:#c53929;border-radius:2px;vertical-align:1px;
}

/* ③ 最新のニュース */
.post .nd-fp-news,.nd-fp-news{margin:0;padding:0;list-style:none;counter-reset:none;}
.nd-fp-news li{list-style:none;margin:0;padding:0;border-bottom:1px solid #e5e5e5;}
.nd-fp-news li::before{content:none;}
.nd-fp-news a{
	display:flex;gap:14px;align-items:baseline;
	padding:11px 4px;color:#191919 !important;text-decoration:none !important;
}
.nd-fp-news a:hover{background:#f7f7f7;}
.nd-fp-news a:hover .nd-fp-hl{color:#244765;text-decoration:underline;}
.nd-fp-date{flex:0 0 5.5em;font-size:13px;font-weight:700;color:#244765;white-space:nowrap;}
.nd-fp-hl{flex:1 1 auto;font-size:16px;font-weight:700;line-height:1.6;}
.nd-fp-more{margin:12px 0 0;text-align:right;font-size:14px;}
.nd-fp-more a{color:#244765;font-weight:700;text-decoration:none;}
.nd-fp-more a:hover{text-decoration:underline;}

/* ⑤ 年×月の索引表 */
.nd-ix-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;}
.post table.nd-ix,table.nd-ix{
	width:100%;min-width:720px;border-collapse:collapse;table-layout:fixed;
	margin:0;font-size:13px;background:#fff;
}
table.nd-ix th,table.nd-ix td{
	padding:0;border:1px solid #e0e3e8;text-align:center;vertical-align:middle;background:#fff;
}
table.nd-ix thead th{
	padding:7px 0;background:#244765;color:#fff;font-weight:700;font-size:12px;border-color:#244765;
}
table.nd-ix .nd-ix-y{width:64px;}
table.nd-ix tbody th.nd-ix-y{
	position:sticky;left:0;z-index:1;
	background:#f4f6f9;font-size:14px;font-weight:700;
}
table.nd-ix tbody th.nd-ix-y a{display:block;padding:10px 0;color:#244765;text-decoration:none;}
table.nd-ix tbody th.nd-ix-y a:hover{text-decoration:underline;}
table.nd-ix thead th.nd-ix-y{position:sticky;left:0;z-index:2;}
table.nd-ix .nd-ix-half{width:56px;}
table.nd-ix thead th.nd-ix-half{background:#3b5f80;}
table.nd-ix td.nd-ix-half{background:#fafbfc;}
table.nd-ix td.nd-ix-has{position:relative;}
table.nd-ix a.nd-ix-main{
	display:block;padding:9px 0 7px;color:#191919;text-decoration:none;line-height:1.2;
	transition:background-color .15s ease;
}
table.nd-ix a.nd-ix-main:hover{background:#eef2f8;color:#244765;}
.nd-ix-n{font-size:16px;font-weight:700;font-family:Lato,sans-serif;}
.nd-ix-u{font-size:10px;color:#7f7f7f;margin-left:1px;}
table.nd-ix a.nd-ix-dg{
	display:block;padding:0 0 5px;font-size:10px;color:#7f7f7f;text-decoration:none;line-height:1.2;
}
table.nd-ix a.nd-ix-dg:hover{color:#244765;text-decoration:underline;}
table.nd-ix td.nd-ix-live{background:#fff8f6;}
table.nd-ix .nd-ix-badge{position:absolute;top:-1px;right:-1px;margin:0;font-size:9px;padding:0 3px;border-radius:0;}
table.nd-ix td.nd-ix-none{color:#c8ccd2;}
table.nd-ix td.nd-ix-future{background:repeating-linear-gradient(45deg,#fafafa,#fafafa 4px,#f2f2f2 4px,#f2f2f2 8px);}
.nd-ix-note{margin:8px 0 0;font-size:12px;color:#7f7f7f;}

/* 従来の本文（移行作業用） */
.nd-fp-legacy-note{
	margin:0 0 20px;padding:8px 12px;font-size:12px;color:#7f7f7f;
	background:#fafafa;border:1px dashed #d8d8d8;
}
@media only screen and (max-width: 599px){
	.nd-fp-news a{flex-direction:column;gap:2px;}
	.nd-fp-date{flex-basis:auto;}
	.nd-fp-hl{font-size:15px;}
	#contentInner .nd-fp-title{font-size:19px !important;}
}
/*-- トップページ（試作）ここまで --*/

/* 最新のニュース：見出し横の年月リンク */
.nd-fp-head .nd-fp-month{
	display:inline-block;
	padding:2px 10px;
	font-size:15px;
	font-weight:700;
	line-height:1.6;
	color:#244765;
	border:1px solid #244765;
	border-radius:3px;
	text-decoration:none;
	transition:background-color .15s ease,color .15s ease;
}
/* 年月ラベルは矢印なし */
.nd-fp-head .nd-fp-month:hover{background:#244765;color:#fff;}
.nd-fp-head .nd-fp-live{margin-left:0;align-self:center;}

/* 年×月の索引表：全セルを同じ高さ（「要約」付きの高さ）に統一＋全体を一回り大きく */
table.nd-ix{font-size:14px;}
table.nd-ix thead th{padding:9px 0;font-size:13px;}
table.nd-ix tbody th,
table.nd-ix tbody td{height:64px;box-sizing:border-box;}
table.nd-ix tbody th.nd-ix-y{font-size:15px;}
table.nd-ix tbody th.nd-ix-y a{padding:0;line-height:64px;}
table.nd-ix a.nd-ix-main{padding:6px 0 4px;}
.nd-ix-n{font-size:18px;}
.nd-ix-u{font-size:11px;}
table.nd-ix a.nd-ix-dg{font-size:11px;padding:0 0 4px;}
table.nd-ix .nd-ix-y{width:70px;}
table.nd-ix .nd-ix-half{width:62px;}
table.nd-ix td.nd-ix-none{font-size:14px;}

/*==========================================================
  年×月の索引（案2）：1年を上下2段（6か月＋半期まとめ）、正方形のマス
==========================================================*/
.nd-ix2{display:flex;flex-direction:column;gap:14px;}
.nd-ix2-year{
	display:grid;
	grid-template-columns:76px repeat(7, minmax(0, 1fr));
	grid-template-rows:auto auto;
	border:1px solid #c9d1db;
	background:#fff;
}
.nd-ix2-ylab{
	grid-row:1 / span 2;
	display:flex;align-items:center;justify-content:center;
	background:#244765;
}
.nd-ix2-ylab,.nd-ix2-ylab a{
	color:#fff !important;text-decoration:none !important;
	font-family:Lato,sans-serif;font-size:20px;font-weight:700;line-height:1.2;text-align:center;
}
.nd-ix2-ylab a{display:flex;align-items:center;justify-content:center;width:100%;height:100%;flex-direction:column;}
.nd-ix2-ylab span{display:block;font-size:12px;font-weight:500;opacity:.85;}
.nd-ix2-ylab a:hover{background:#1b3650;}
.nd-ix2-cell{
	position:relative;
	aspect-ratio:1 / 1;
	border-left:1px solid #e0e3e8;
	border-top:1px solid #e0e3e8;
	display:flex;flex-direction:column;align-items:center;justify-content:center;
	background:#fff;
	min-width:0;
}
.nd-ix2-year > .nd-ix2-cell:nth-child(-n+8){border-top:none;}
.nd-ix2-main{
	position:absolute;inset:0;
	display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;
	color:#191919 !important;text-decoration:none !important;
	transition:background-color .15s ease;
}
.nd-ix2-main:hover{background:#eef2f8;}
.nd-ix2-main:hover .nd-ix2-n{color:#244765;}
.nd-ix2-m{font-size:12px;font-weight:700;color:#7f7f7f;line-height:1.2;}
.nd-ix2-num{line-height:1.1;}
.nd-ix2-n{font-family:Lato,sans-serif;font-size:24px;font-weight:700;}
.nd-ix2-u{font-size:11px;color:#7f7f7f;margin-left:1px;}
.nd-ix2-dg{
	position:absolute;left:0;right:0;bottom:6px;z-index:2;
	width:max-content;margin:0 auto;padding:0 6px;
	font-size:11px;line-height:1.6;color:#7f7f7f !important;text-decoration:none !important;
	border:1px solid #d8d8d8;border-radius:2px;background:#fff;
}
.nd-ix2-dg:hover{color:#244765 !important;border-color:#244765;}
.nd-ix2-half{background:#f4f6f9;}
.nd-ix2-half .nd-ix2-m{color:#244765;}
.nd-ix2-live{background:#fff8f6;}
.nd-ix2-badge{
	position:absolute;top:0;right:0;z-index:2;
	padding:0 4px;font-size:10px;font-weight:700;line-height:1.7;color:#fff;background:#c53929;
}
.nd-ix2-future{background:repeating-linear-gradient(45deg,#fafafa,#fafafa 5px,#f2f2f2 5px,#f2f2f2 10px);}
.nd-ix2-future .nd-ix2-m{color:#c8ccd2;}
.nd-ix2-none .nd-ix2-dash{color:#c8ccd2;font-size:16px;margin-top:2px;}
@media only screen and (max-width: 599px){
	.nd-ix2-year{grid-template-columns:40px repeat(7, minmax(0, 1fr));}
	.nd-ix2-ylab,.nd-ix2-ylab a{font-size:13px;}
	.nd-ix2-ylab span{font-size:10px;}
	.nd-ix2-m{font-size:10px;}
	.nd-ix2-n{font-size:15px;}
	.nd-ix2-u{display:none;}
	/* 要約付きのマス：月名・件数・要約を上から詰めて配置 */
	.nd-ix2-cell:has(.nd-ix2-dg) .nd-ix2-main{justify-content:flex-start;gap:0;padding-top:2px;}
	.nd-ix2-cell:has(.nd-ix2-dg) .nd-ix2-n{font-size:14px;}
	.nd-ix2-dg{bottom:1px;padding:0;font-size:10px;line-height:1.2;border:none;background:none;text-decoration:underline !important;}
	/* 更新中：スマホでは文字ではなく赤い印にする */
	.nd-ix2-badge{width:8px;height:8px;padding:0;font-size:0;line-height:0;border-radius:50%;top:3px;right:3px;}
}
/*-- 索引（案2）ここまで --*/

/*==========================================================
  トップページ：① 題字 ② 検索 ⑥ 年代別 ⑦ サイトについて
==========================================================*/
/* ① 題字の帯 */
.nd-mast{margin:0 0 28px;padding:0;text-align:center;}
.entry-content .nd-mast p{margin:0;}
.entry-content .nd-mast .nd-mast-tag{font-size:13px !important;letter-spacing:.3em;color:#555;}
.entry-content .nd-mast .nd-mast-name{
	margin:4px 0 12px;
	font-family:"游明朝体","Yu Mincho",YuMincho,"Hiragino Mincho ProN","Noto Serif JP",serif;
	font-size:42px !important;font-weight:700;letter-spacing:.12em;line-height:1.25 !important;color:#191919;
}
.nd-mast-bar{
	display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:6px 16px;
	padding:7px 4px;border-top:3px double #244765;border-bottom:1px solid #244765;
	font-size:13px;color:#333;
}
.nd-mast-date{font-weight:700;}
.nd-mast-stat strong{font-family:Lato,sans-serif;font-size:15px;color:#244765;margin:0 1px;}

/* ② 検索 */
.nd-fp-search{margin-bottom:40px;}
.nd-fs{display:flex;border:2px solid #244765;border-radius:4px;overflow:hidden;background:#fff;}
.entry-content .nd-fs .nd-fs-input{
	flex:1 1 auto;min-width:0;height:54px;margin:0;padding:0 16px;
	border:none !important;box-shadow:none !important;background:#fff;
	font-size:16px;color:#191919;
}
.nd-fs-input:focus{outline:none;}
.nd-fs:focus-within{box-shadow:0 0 0 3px rgba(36,71,101,.18);}
.nd-fs-btn{
	flex:0 0 auto;width:96px;margin:0;border:none;cursor:pointer;
	background:#244765;color:#fff;font-size:16px;font-weight:700;letter-spacing:.1em;
}
.nd-fs-btn:hover{background:#1b3650;}
.nd-fs-genres{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px;}
.nd-fs-glab{font-size:12px;font-weight:700;color:#7f7f7f;margin-right:4px;}
.nd-fs-chip{
	display:inline-flex;align-items:baseline;gap:5px;padding:3px 10px;
	font-size:13px;font-weight:700;color:#244765 !important;text-decoration:none !important;
	border:1px solid #c9d1db;border-radius:2px;background:#fff;
}
.nd-fs-chip span{font-family:Lato,sans-serif;font-size:11px;font-weight:500;color:#7f7f7f;}
.nd-fs-chip:hover{background:#244765;border-color:#244765;color:#fff !important;}
.nd-fs-chip:hover span{color:#dfe6ee;}

/* ⑥ 年代別ダイジェスト */
.nd-dec{display:grid;grid-template-columns:repeat(3, minmax(0,1fr));gap:14px;}
.nd-dec-card{
	display:flex;flex-direction:column;gap:6px;padding:18px 18px 16px;
	border:1px solid #c9d1db;border-top:4px solid #244765;background:#fff;
	color:#191919 !important;text-decoration:none !important;transition:background-color .15s ease;
}
.nd-dec-card:hover{background:#f4f6f9;}
.nd-dec-era{font-family:Lato,sans-serif;font-size:34px;font-weight:900;line-height:1;color:#244765;}
.nd-dec-era small{font-family:inherit;font-size:14px;font-weight:700;margin-left:2px;}
.nd-dec-range{font-size:12px;color:#7f7f7f;font-weight:700;}
.nd-dec-range em{font-style:normal;margin-left:6px;padding:0 5px;font-size:10px;color:#fff;background:#c53929;}
.nd-dec-lead{font-size:14px;font-weight:700;line-height:1.6;flex:1 1 auto;}
.nd-dec-n{font-size:12px;font-weight:700;color:#244765;}

/* ⑦ サイトについて */
.nd-about{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:24px;align-items:start;}
.entry-content .nd-about-text p{margin:0 0 12px;font-size:15px;line-height:1.8;}
.entry-content .nd-about-text .nd-about-note{font-size:13px;color:#555;}
.entry-content ul.nd-about-points{margin:0 0 12px;padding:0;list-style:none;}
.entry-content ul.nd-about-points li{
	position:relative;margin:0 0 6px;padding:0 0 0 24px;font-size:15px;font-weight:700;list-style:none;
}
.entry-content ul.nd-about-points li::before{
	content:"✓";position:absolute;left:0;top:0;color:#244765;font-weight:900;background:none;
}
.nd-about-links{display:flex;flex-direction:column;gap:10px;}
.nd-about-link{
	display:block;padding:12px 14px;border:1px solid #c9d1db;background:#f4f6f9;
	font-size:14px;font-weight:700;color:#191919 !important;text-decoration:none !important;
}
.nd-about-link span{display:block;font-size:11px;color:#244765;letter-spacing:.1em;margin-bottom:2px;}
.nd-about-link:hover{background:#eef2f8;border-color:#244765;}

@media only screen and (max-width: 767px){
	.nd-dec{grid-template-columns:1fr;}
	.nd-about{grid-template-columns:1fr;}
}
@media only screen and (max-width: 599px){
	.entry-content .nd-mast .nd-mast-name{font-size:30px !important;letter-spacing:.06em;}
	.entry-content .nd-mast .nd-mast-tag{font-size:11px !important;letter-spacing:.15em;}
	.nd-mast-bar{justify-content:center;font-size:12px;}
	.entry-content .nd-fs .nd-fs-input{height:48px;font-size:15px;padding:0 12px;}
	.nd-fs-btn{width:72px;font-size:15px;}
}
/*-- トップページ ①②⑥⑦ ここまで --*/

/*==========================================================
  ヘッダーの日付（試作・全ページ共通）
==========================================================*/
#header-r .nd-dateline{
	display:inline-flex;align-items:baseline;
	padding:5px 0 5px 14px;
	border-left:1px solid rgba(255,255,255,.45);
	color:#fff;
	font-family:Lato,"游ゴシック体","Yu Gothic",YuGothic,"ヒラギノ角ゴシック Pro","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,sans-serif;
	font-weight:700;letter-spacing:.04em;line-height:1.3;white-space:nowrap;
}
.nd-dateline-ymd{font-size:17px;}
.nd-dateline-w{font-size:14px;}
#header-r{display:flex;align-items:center;justify-content:flex-end;}

/* スマホ・タブレット（959px以下）では非表示（AFFINGER標準どおりヘッダー右側ごと非表示） */
@media only screen and (max-width: 959px){
	#header-r.smanone{display:none !important;}
}
/*-- ヘッダーの日付ここまで --*/
.nd-fs-glab small{font-size:11px;font-weight:500;margin-left:2px;}
.nd-fs-keywords{margin-top:8px;}
.nd-fs-chip.nd-fs-kw{border-radius:14px;font-weight:500;color:#191919 !important;}
.nd-fs-chip.nd-fs-kw::before{content:"#";color:#7f7f7f;margin-right:1px;}
.nd-fs-chip.nd-fs-kw:hover{color:#fff !important;}
.nd-fs-chip.nd-fs-kw:hover::before{color:#dfe6ee;}
.nd-fs-glab{min-width:6.5em;}
.nd-sr-genre{
	display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;
	margin:0 0 6px;padding:10px 14px;background:#f4f6f9;border-left:3px solid #244765;font-size:14px;
}
.nd-sr-genre strong{color:#244765;font-size:16px;}
.nd-sr-genre span{font-size:12px;color:#7f7f7f;}
.nd-sr-genre a{margin-left:auto;font-size:13px;font-weight:700;color:#244765;text-decoration:none;}
.nd-sr-genre a:hover{text-decoration:underline;}

/* フッター（電話番号エリア）に出る日付は非表示：ヘッダー用テンプレートがフッターでも使われるため */
#footer .nd-dateline{display:none !important;}
/* トップページのみフッター上のウィジェットエリアを非表示 */
body.front-page #st-footer-under-widgets-box-wrap{display:none !important;}

/*==========================================================
  トップページ 細部調整（hover・このサイトについて・コピー非表示）
==========================================================*/
/* 年の欄：hoverで白地＋紺文字に反転し「一覧へ」を表示 */
.nd-ix2-ylab a{position:relative;transition:background-color .15s ease,color .15s ease;}
.nd-ix2-ylab a:hover{background:#fff !important;color:#244765 !important;box-shadow:inset 0 0 0 2px #244765;}
.nd-ix2-ylab a:hover span{opacity:1;}
.nd-ix2-ylab a::after{
	content:"一覧へ →";display:block;margin-top:4px;font-size:10px;font-weight:700;letter-spacing:.05em;
	opacity:0;transition:opacity .15s ease;
}
.nd-ix2-ylab a:hover::after{opacity:1;}

/* 月・半期のマス：hoverで紺地＋白文字に反転 */
.nd-ix2-main{transition:background-color .15s ease,color .15s ease;}
.nd-ix2-main:hover{background:#244765 !important;}
.nd-ix2-main:hover .nd-ix2-n,
.nd-ix2-main:hover .nd-ix2-m,
.nd-ix2-main:hover .nd-ix2-u{color:#fff !important;}
.nd-ix2-dg:hover{background:#244765;color:#fff !important;border-color:#244765;}

/* このサイトについて：本文とリンクのバランス */
.nd-about{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:28px;align-items:center;}
.entry-content .nd-about-text p{margin:0 0 10px;font-size:15px;line-height:1.9;color:#333;}
.entry-content .nd-about-text p:last-child{margin-bottom:0;}
.entry-content .nd-about-text .nd-about-lead{font-size:17px;font-weight:700;line-height:1.7;color:#191919;}
.nd-about-link{position:relative;padding:14px 36px 14px 16px;background:#fff;border-color:#c9d1db;border-left:3px solid #244765;}
.nd-about-link::after{content:"›";position:absolute;right:14px;top:50%;transform:translateY(-50%);font-size:22px;color:#244765;}
.nd-about-link:hover{background:#244765;color:#fff !important;}
.nd-about-link:hover span,.nd-about-link:hover::after{color:#fff;}

/* トップページのみ「この記事タイトルとURLをコピー」を非表示 */
body.front-page .st-copyurl-btn{display:none !important;}

/* トップページ：項目間の余白を広めに（詰まり感の緩和） */
.nd-fp-wrap .nd-fp{margin-bottom:72px;}
.nd-fp-wrap .nd-fp:last-child{margin-bottom:40px;}
.nd-fp-wrap .nd-mast{margin-bottom:36px;}
.nd-fp-wrap .nd-fp-search{margin-bottom:64px;}
.nd-fp-wrap .nd-fp-head{margin-bottom:20px;}
.nd-fp-wrap .nd-fs-genres{margin-top:16px;}
.nd-fp-wrap .nd-fp-more{margin-top:16px;}
@media only screen and (max-width: 599px){
	.nd-fp-wrap .nd-fp{margin-bottom:52px;}
	.nd-fp-wrap .nd-fp-search{margin-bottom:48px;}
	.nd-fp-wrap .nd-mast{margin-bottom:28px;}
	.nd-fp-wrap .nd-fp-head{margin-bottom:16px;}
}

/* このサイトについて：スマホ・タブレット（767px以下）は本文とリンクを縦1列に
   ※後から追加した2列指定が以前の1列指定を上書きしていたため、ここで改めて指定 */
@media only screen and (max-width: 767px){
	.nd-about{grid-template-columns:1fr;gap:20px;}
}

/*==========================================================
  ウィジェット等の検索フォーム（#searchform）をトップページの検索欄デザインに統一
  ※枠の大きさ（幅・高さ）は変えない：枠線2px・入力欄/ボタンの寸法はAFFINGERのまま
==========================================================*/
#searchform{
	border-color:#244765 !important;
	border-radius:4px !important;
	overflow:hidden;
	background:#fff;
	transition:box-shadow .15s ease;
}
#searchform:focus-within{box-shadow:0 0 0 3px rgba(36,71,101,.18);}
#searchform #s{background:#fff;color:#191919;}
#searchform #s:focus{outline:none;}
#searchform #searchsubmit{
	background:#244765 !important;
	color:#fff !important;
	cursor:pointer;
	transition:background-color .15s ease;
}
#searchform #searchsubmit:hover{background:#1b3650 !important;}

/* フッター：サイト名・キャッチフレーズを隠し、コピーライト行のみ表示 */
#footer #st-footer-logo-wrapper{display:none !important;}
#footer .copyr{margin:0;padding:6px 0;}
#footer .copyr a{color:inherit;text-decoration:underline;}
#footer .copyr a:hover{color:#244765;}

/* 日付ラベル（祝日：赤系／行事：紺系） */
.nd-daylabel{
	display:inline-block;margin-left:8px;padding:1px 7px;
	font-size:12px;font-weight:700;line-height:1.6;letter-spacing:.02em;
	border-radius:2px;vertical-align:1px;white-space:nowrap;
}
.nd-daylabel + .nd-daylabel{margin-left:4px;}
.nd-daylabel--holiday{color:#c53929;background:#fdecea;border:1px solid #f1b8b2;}
.nd-daylabel--event{color:#244765;background:#eef2f8;border:1px solid #c9d1db;}
/* ヘッダー（紺地）では白抜き */
#header-r .nd-daylabel--holiday{color:#fff;background:#c53929;border-color:#c53929;}
#header-r .nd-daylabel--event{color:#244765;background:#fff;border-color:#fff;}
.nd-mast-date .nd-daylabel{font-size:11px;}

/* 日付ラベル：色付きの塗りをやめ、日付と同じ文字スタイル＋「｜」区切りに */
.nd-daylabel,
.nd-daylabel--holiday,
.nd-daylabel--event,
#header-r .nd-daylabel--holiday,
#header-r .nd-daylabel--event{
	margin:0;padding:0;border:none;border-radius:0;background:none;
	color:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;letter-spacing:inherit;vertical-align:baseline;
}
.nd-daylabel::before{content:"｜";margin:0 .2em;font-weight:500;opacity:.7;}
.nd-daylabel + .nd-daylabel{margin-left:0;}
#header-r .nd-daylabel{font-size:17px;}
.nd-mast-date .nd-daylabel{font-size:inherit;}

/*==========================================================
  投稿記事（全記事）：H3見出しの上に改行1.5つ分（見出しの行の高さ×1.5）の余白を追加
  ※H2の直後のH3は従来どおり（余白を足さない）。下側の余白は変えない
==========================================================*/
body.single-post .entry-content h3{margin-top:calc(20px + 1.5lh) !important;}
body.single-post .entry-content h2 + h3{margin-top:20px !important;}
@supports not (margin-top: 1lh){
	body.single-post .entry-content h3{margin-top:70px !important;}
	body.single-post .entry-content h2 + h3{margin-top:20px !important;}
}

/*==========================================================
  投稿記事：直近月のニュースを探す（前後の月カード）
==========================================================*/
.nd-mnav{margin:24px 0 32px;padding-top:12px;border-top:2px solid #244765;}
.nd-mnav-head{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:4px 12px;margin:0 0 12px;}
.nd-mnav-title{font-size:15px;font-weight:700;color:#191919;letter-spacing:.04em;}
.nd-mnav-year{font-size:13px;font-weight:700;color:#244765 !important;text-decoration:none !important;}
.nd-mnav-year:hover{text-decoration:underline !important;}
.nd-mnav-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.nd-mnav-card{
	display:flex;flex-direction:column;gap:3px;padding:12px 16px;
	border:1px solid #c9d1db;background:#fff;
	color:#191919 !important;text-decoration:none !important;
	transition:background-color .15s ease,border-color .15s ease,color .15s ease;
}
.nd-mnav-card small{font-size:12px;font-weight:700;color:#7f7f7f;}
.nd-mnav-card b{font-family:Lato,"游ゴシック体","Yu Gothic",YuGothic,sans-serif;font-size:19px;font-weight:700;line-height:1.3;}
.nd-mnav-card em{font-style:normal;font-size:11px;font-weight:700;color:#c53929;}
.nd-mnav-next{align-items:flex-end;text-align:right;}
a.nd-mnav-card:hover{background:#244765;border-color:#244765;color:#fff !important;}
a.nd-mnav-card:hover small,a.nd-mnav-card:hover em{color:#dfe6ee;}
.nd-mnav-cur{background:#244765;border-color:#244765;color:#fff !important;}
.nd-mnav-cur small,.nd-mnav-cur em{color:#dfe6ee;}
.nd-mnav-off{background:#fafafa;color:#b5b9bf !important;}
.nd-mnav-off small{color:#c8ccd2;}
.nd-mnav-off em{color:#b5b9bf;}
/* 「この記事」カードはPC（960px以上）のみ。スマホ・タブレットは前後の2枚 */
@media only screen and (max-width: 959px){
	.nd-mnav-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
	.nd-mnav-cur{display:none;}
	.nd-mnav-card{padding:10px 12px;}
	.nd-mnav-card b{font-size:17px;}
}
/*-- 直近月のニュースここまで --*/


/* タイトル直下：前後の月ページャー */
.nd-mpager{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0 18px}
.nd-mpager-btn{display:flex;align-items:center;gap:8px;min-height:48px;padding:6px 14px;border:1px solid #c9d3e0;border-radius:6px;background:#fff;color:#1a3a6b !important;text-decoration:none !important;line-height:1.3;transition:background .15s,border-color .15s}
a.nd-mpager-btn:hover{background:#f2f6fb;border-color:#1a3a6b}
.nd-mpager-next{justify-content:flex-end;text-align:right}
.nd-mpager-btn b{font-size:15px;font-weight:700}
.nd-mpager-arw{font-size:16px;color:#1a3a6b}
.nd-mpager-btn em{font-style:normal;font-size:11px;color:#fff;background:#c0392b;padding:1px 6px;border-radius:3px}
.nd-mpager-off{color:#999 !important;background:#f7f7f7;border-style:dashed}
.nd-mpager-off .nd-mpager-arw{color:#bbb}
.nd-mpager-off em{background:#999}
@media (max-width:599px){.nd-mpager-btn{padding:6px 10px;gap:6px}.nd-mpager-btn b{font-size:14px}}
.nd-mpager-wrap{margin:24px 0 28px}
.nd-mpager-wrap .nd-mpager{margin:0}
.nd-mpager-wrap .nd-mnav-title{padding-bottom:3px;border-bottom:2px solid #244765}
/* 上部ページャーの上に1行分の余白 */
.entry-content .nd-mpager-wrap{margin-top:52px} /* 24px + 本文1行（PC 28px） */
@media (max-width:959px){.entry-content .nd-mpager-wrap{margin-top:59px}} /* 24px + 本文1行（SP 35px） */
/* ページャーの直後の目次：ページャーと同じ見出しスタイル（枠なし・文字だけ下線） */
.entry-content .nd-mpager-wrap + .nd-toc{padding:18px 22px 20px;border:none;border-radius:6px;background:#f6f8fb;margin:32px 0 78px} /* 下：見出し前の余白50px + 本文1行（PC 28px） */
@media (max-width:959px){.entry-content .nd-mpager-wrap + .nd-toc{margin-bottom:85px}} /* SP：50px + 35px */
@media (max-width:599px){.entry-content .nd-mpager-wrap + .nd-toc{padding:14px 16px 16px}}
.entry-content .nd-mpager-wrap + .nd-toc .nd-toc__title{display:inline-block;font-size:15px !important;font-weight:700;line-height:1.5;letter-spacing:.04em;padding-bottom:3px;border-bottom:2px solid #244765}
.entry-content .nd-mpager-wrap + .nd-toc .nd-toc__list{margin-top:14px}
.nd-mpager-off{background:#fff}

/* 記事上部・下部：リンクをコピーとSNSボタンを1列に（sns.php の .nd-share） */
.nd-share{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 10px;margin:20px 0}
.st-sns-top .nd-share{margin:0 0 20px}
.nd-share .st-copyurl-btn{margin:0 !important;padding:0 !important;width:auto;display:flex}
.nd-share .st-copyurl-btn a{margin:0 !important;white-space:nowrap}
.nd-share .sns{margin:0 !important;padding:0 !important;width:auto;flex:0 0 auto}
.nd-share .sns ul{margin:0 !important;padding:0 !important;display:flex !important;flex-wrap:nowrap !important;gap:8px;width:auto !important}
.nd-share .sns ul li{margin:0 !important;float:none !important}
/* AFFINGER標準の前後記事リンク（記事下）は直近月ナビと重複するため非表示 */
body.single-post .p-navi{display:none !important}

/* 「リンクをコピー」ボタン：影なし・SNSアイコン（40px丸）に高さをそろえたピル型 */
.st-copyurl-btn a{display:inline-flex !important;align-items:center;gap:6px;height:40px;padding:0 16px !important;border:1px solid #c9d3e0 !important;box-shadow:none !important;border-radius:4px;background:#fff;color:#1a3a6b !important;font-size:14px;font-weight:700;line-height:1;box-sizing:border-box;transition:background .15s,border-color .15s}
.st-copyurl-btn a:hover{background:#f2f6fb;border-color:#1a3a6b !important;color:#1a3a6b !important;box-shadow:none !important}
.st-copyurl-btn .nd-link-ico{flex:0 0 auto;display:block}
.nd-mpager-btn b,.nd-mpager-btn em{white-space:nowrap}
@media (max-width:599px){.nd-mpager-btn{gap:4px;padding:6px 8px}.nd-mpager-btn em{font-size:10px;padding:1px 4px}}

/* 年代別まとめ：上部のカード型ナビ（目次の上） */
.entry-content .nd-dnav-top{margin-top:52px}
@media (max-width:959px){.entry-content .nd-dnav-top{margin-top:59px}}
.entry-content .nd-dnav-top + .nd-toc{padding:18px 22px 20px;border:none;border-radius:6px;background:#f6f8fb;margin:32px 0 78px}
@media (max-width:959px){.entry-content .nd-dnav-top + .nd-toc{margin-bottom:85px}}
@media (max-width:599px){.entry-content .nd-dnav-top + .nd-toc{padding:14px 16px 16px}}
.entry-content .nd-dnav-top + .nd-toc .nd-toc__title{display:inline-block;font-size:15px !important;font-weight:700;line-height:1.5;letter-spacing:.04em;padding-bottom:3px;border-bottom:2px solid #244765}
.entry-content .nd-dnav-top + .nd-toc .nd-toc__list{margin-top:14px}
/* 年代別まとめ：3年代を常時表示（スマホでも現在のカードを隠さない） */
.nd-dnav .nd-mnav-card{align-items:center;text-align:center}
@media (max-width:959px){.nd-dnav .nd-mnav-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.nd-dnav .nd-mnav-cur{display:flex}}
@media (max-width:599px){.nd-dnav .nd-mnav-card{padding-left:4px;padding-right:4px}.nd-dnav .nd-mnav-card small{font-size:10px}}
@media (max-width:599px){.nd-dnav .nd-mnav-card b{font-size:15px}}

/* カテゴリー一覧：共通背景＋年月のアイキャッチ */
.nd-eyecatch{position:relative;display:block;width:100%;aspect-ratio:1.91/1;overflow:hidden;container-type:inline-size;background:#1b2632}
.nd-eyecatch img.nd-eyecatch__bg{position:absolute;inset:0;width:100% !important;height:100% !important;max-width:none;object-fit:cover}
.nd-eyecatch__label{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2cqw;color:#fff;text-align:center;text-shadow:0 1px 6px rgba(0,0,0,.45);pointer-events:none}
.nd-eyecatch__label b{font-family:Oswald,"Hiragino Sans","游ゴシック体","Yu Gothic",YuGothic,sans-serif;font-size:14cqw;font-weight:600;letter-spacing:.04em;line-height:1.1;white-space:nowrap}
.nd-eyecatch__label small{font-size:5.5cqw;font-weight:700;letter-spacing:.12em;padding:.5cqw 3cqw;border:1px solid rgba(255,255,255,.75);border-radius:2px;line-height:1.4}

/* 商品カード（[itemlink]：Rinker の代替） */
.nd-item{display:flex;gap:18px;align-items:center;margin:20px 0 28px;padding:16px 18px;border:1px solid #d7dde6;border-radius:6px;background:#fff}
.nd-item__img{flex:0 0 96px;display:block}
.nd-item__img img{display:block;width:96px !important;height:auto;max-height:140px;object-fit:contain;margin:0 auto;box-shadow:0 2px 6px rgba(0,0,0,.15)}
.nd-item__body{flex:1 1 auto;min-width:0}
.nd-item__pr{display:inline-block;font-size:10px;font-weight:700;line-height:1;color:#7f7f7f;border:1px solid #c9c9c9;border-radius:2px;padding:2px 5px;margin-bottom:6px}
.entry-content .nd-item p.nd-item__title{margin:0 0 12px;font-size:16px;font-weight:700;line-height:1.5}
.nd-item__title a{color:#191919 !important;text-decoration:none !important}
.nd-item__title a:hover{color:#244765 !important;text-decoration:underline !important}
.nd-item__btns{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.nd-item__btn{display:inline-flex;align-items:center;justify-content:center;min-width:120px;height:38px;padding:0 14px;border:1px solid #c9d3e0;border-left-width:4px;border-radius:4px;background:#fff;color:#1a3a6b !important;font-size:13px;font-weight:700;text-decoration:none !important;transition:background .15s}
.nd-item__btn:hover{background:#f2f6fb}
.nd-item__btn--amazon{border-left-color:#f0a020}
.nd-item__btn--rakuten{border-left-color:#bf0000}
.nd-item__btn--mercari{border-left-color:#ff4f50}
.nd-item__px{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
@media (max-width:599px){
	.nd-item{gap:12px;padding:14px 12px;align-items:flex-start}
	.nd-item__img{flex-basis:72px}.nd-item__img img{width:72px !important}
	.entry-content .nd-item p.nd-item__title{font-size:15px}
	.nd-item__btns{flex-direction:column;align-items:stretch}
	.nd-item__btn{min-width:0}
}
.nd-item .wpel-icon{display:none !important}
.nd-item__btn{flex:1 1 0;min-width:0;white-space:nowrap}

/* X（Twitter）投稿の埋め込みを中央揃えに（埋め込みの幅は最大550px） */
.entry-content .twitter-tweet,
.entry-content .twitter-tweet-rendered{margin-left:auto !important;margin-right:auto !important}
/* 話題のキーワード：管理者用の除外ボタン */
.nd-fs-kwx{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;margin:0 6px 0 -4px;border-radius:50%;background:#c53929;color:#fff !important;font-size:12px;line-height:1;text-decoration:none !important;vertical-align:middle;opacity:.75}
.nd-fs-kwx:hover{opacity:1}
