/*
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) {

	
	/*-- ここまで --*/
}

/* 注意書き・免責（本文中の p.note） - 2026-08-28 追加
---------------------------------------------------------------------------------------------------*/
.entry-content p.note,
.post p.note {
	margin: 1.8em 0;
	padding: 1em 1.2em;
	background: #f7f5f2;
	border-left: 4px solid #c8a06a;
	border-radius: 2px;
	font-size: 93%;
	line-height: 1.9;
	color: #4a453f;
}

.entry-content p.note strong,
.post p.note strong {
	color: #8a5a1e;
}

.entry-content p.note a,
.post p.note a {
	color: #8a5a1e;
	text-decoration: underline;
}

@media print, screen and (max-width: 599px) {

	.entry-content p.note,
	.post p.note {
		padding: 0.9em 1em;
		font-size: 91%;
		line-height: 1.85;
	}
}

/* アイキャッチが無い記事に AFFINGER が出す「NO IMAGE」を消す。
 *
 * 107本すべてに画像が無く、トップに15個・カテゴリ一覧に20個・
 * 記事ページに13個と、同じ枠が並んでいた（2026-09-03 実測）。
 * **画像が無い状態より悪い。** 文字だけの一覧にして、
 * その分だけ題名と抜粋を見せる。
 *
 * src で判定しているので、実際の写真を入れた記事では当たらない。
 * 写真を用意したら、この指定は何もしなくなる。
 */
img[src*="/images/no-img"] {
	display: none;
}

/* カード一覧（トップ・カテゴリ）。画像の枠が空くので詰める。
   日付は .post-card-image の中にあるので、枠ごとは消さない。 */
.post-card-image {
	min-height: 0;
	padding: 0;
	background: none;
}

.post-card-date {
	margin: 0 0 6px;
}

.post-card-title {
	font-size: 106%;
	line-height: 1.55;
}

/* 関連記事。dl.clearfix の dt が画像、dd が題名と抜粋。
   dt を消して、dd の回り込み用の余白を戻す。**dd は消さない。** */
.kanren dl.clearfix > dt {
	display: none;
}

.kanren dl.clearfix > dd {
	margin-left: 0;
	width: auto;
	float: none;
}
