/*
Theme Name: Muum Child
Template: muum_tcd085
Theme URI: https://tcd-theme.com/tcd085
Description: たまや 海外の反応 サイト用カスタマイズ子テーマ。親テーマMuumの機能を継承しつつ、独自カスタマイズ・広告枠・追尾広告を実装。
Author: tamaya
Version: 1.0.3
Text Domain: muum-child
*/

/* ==========================================================================
   子テーマ独自CSS
   既存の親テーマfunctions.phpに記述されていたインラインCSSは、
   子テーマの外部CSSとしてここに統合しています。
   ここには「広告枠」関連と「子テーマ専用の上書き」を記述します。
   ========================================================================== */


/* ----------------------------------------------------------------------
   ヘッダーロゴサイズの拡大
   v1.0.3: MUUMは .pc_logo_image / .mobile_logo_image をデフォルトで
   max-height:60px / max-height:40px に制限している。SVGロゴを大きく表示
   するため、両方を上書きする。
---------------------------------------------------------------------- */

/* PCロゴ: ヘッダー上段100pxいっぱいに表示 */
#header .pc_logo_image {
    height: 100px !important;
    max-height: 100px !important;
    width: auto !important;
}

/* モバイルロゴ: モバイルヘッダー60pxにフィット */
#header .mobile_logo_image {
    height: 60px !important;
    max-height: 60px !important;
    width: auto !important;
}


/* ----------------------------------------------------------------------
   左右追尾広告(画面幅1450px以上で表示)
---------------------------------------------------------------------- */
.tmy-side-ad {
    position: fixed;
    top: 220px;
    width: 160px;
    height: 600px;
    z-index: 10;
    background: transparent;
}

.tmy-side-ad.tmy-side-ad--left {
    left: calc((100vw - 1130px) / 2 - 180px);
}

.tmy-side-ad.tmy-side-ad--right {
    right: calc((100vw - 1130px) / 2 - 180px);
}

/* 広告ラベル(AdSense規約遵守) */
.tmy-side-ad__label {
    font-size: 10px;
    color: #999;
    text-align: center;
    margin-bottom: 4px;
    letter-spacing: 0.05em;
}

/* 画面幅1450px未満では左右追尾広告は非表示 */
@media screen and (max-width: 1449px) {
    .tmy-side-ad {
        display: none !important;
    }
}


/* ----------------------------------------------------------------------
   サイドバー内 追尾広告(asideの中の300×600をsticky化)
---------------------------------------------------------------------- */
#side_col .tmy-sticky-ad {
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
    z-index: 5;
}

/* スマホでは追尾を解除(画面が小さいと邪魔になる) */
@media screen and (max-width: 750px) {
    #side_col .tmy-sticky-ad {
        position: static;
    }
}


/* ----------------------------------------------------------------------
   記事内広告(レスポンシブAdSense用の基本スタイル)
---------------------------------------------------------------------- */
.tmy-inarticle-ad {
    margin: 32px auto;
    text-align: center;
    min-height: 90px;
    clear: both;
}

.tmy-inarticle-ad__label {
    font-size: 10px;
    color: #999;
    text-align: center;
    margin-bottom: 6px;
    letter-spacing: 0.05em;
}

@media screen and (max-width: 750px) {
    .tmy-inarticle-ad {
        margin: 24px auto;
    }
}


/* ----------------------------------------------------------------------
   モバイル下部アンカー広告(GoogleアンカーフォーマットでもOKだが手動の場合)
---------------------------------------------------------------------- */
.tmy-mobile-anchor-ad {
    display: none;
}

@media screen and (max-width: 750px) {
    .tmy-mobile-anchor-ad {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 100;
        background: #fff;
        border-top: 1px solid #ddd;
        padding: 4px 0;
        text-align: center;
    }

    /* 閉じるボタン(AdSenseアンカー広告は自動付与だが手動の場合は必要) */
    .tmy-mobile-anchor-ad__close {
        position: absolute;
        top: -22px;
        right: 8px;
        width: 22px;
        height: 22px;
        background: rgba(0, 0, 0, 0.6);
        color: #fff;
        border-radius: 50%;
        line-height: 22px;
        font-size: 14px;
        cursor: pointer;
        text-align: center;
    }
}


/* ==========================================================================
   親テーマfunctions.phpから移植したインラインCSSを統合
   v1.0.1: パフォーマンス改善のため、3つの大きなCSSブロックをここに集約。
   元はwp_headでインライン出力していたが、外部CSSにすることで
   ブラウザキャッシュが効くようになり、HTMLサイズも削減される。
   ========================================================================== */


/* ----------------------------------------------------------------------
   ホームタブカード余白崩れ補正
   (旧: muum_fix_home_tab_card_spacing 関数)
   フロントページのみで効くセレクタなので、CSSとしてはそのまま全ページに
   出力しても他ページに影響しない(対象セレクタが存在しないため)。
---------------------------------------------------------------------- */
#index_tab_post_list .post_list.type1 {
	gap: 40px;
}
#index_tab_post_list .post_list.type1 .item {
	width: calc((100% - 40px) / 2);
	margin: 0 !important;
}
@media screen and (max-width:1100px) {
	#index_tab_post_list .post_list.type1 {
		gap: 30px;
	}
	#index_tab_post_list .post_list.type1 .item {
		width: calc((100% - 30px) / 2);
	}
}
@media screen and (max-width:750px) {
	#index_tab_post_list .post_list.type1 {
		gap: 20px;
	}
	#index_tab_post_list .post_list.type1 .item {
		width: calc((100% - 20px) / 2);
	}
}
@media screen and (max-width:550px) {
	#index_tab_post_list .post_list.type1 .item {
		width: 100%;
	}
}


/* ----------------------------------------------------------------------
   トップページ、記事一覧、記事下カードをコンパクト化
   (旧: muum_compact_blog_cards_css 関数)
   デスクトップでは小さめのグリッドカード、
   スマホでは画像左・テキスト右の横並びカードへ切り替える。
---------------------------------------------------------------------- */
#index_tab_post_list .post_list.type1:not(.has_excerpt),
#main_contents.layout_type1 .blog_list.type1:not(.has_excerpt),
#main_contents.layout_type2 .blog_list.type1:not(.has_excerpt) {
	display: grid;
	gap: 18px;
	margin: 0 0 32px;
}
#index_tab_post_list .post_list.type1:not(.has_excerpt) {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
#main_contents.layout_type1 .blog_list.type1:not(.has_excerpt) {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
#main_contents.layout_type2 .blog_list.type1:not(.has_excerpt) {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
body.single #related_post {
	margin-bottom: 0;
}
body.single #related_post .post_list,
body.single #bottom_post_list .bottom_post_list,
#index_bottom_post_list .bottom_post_list {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(150px, 170px));
	gap: 12px;
	margin: 0 !important;
	align-items: start;
	justify-content: center;
}
#index_tab_post_list .post_list.type1:not(.has_excerpt) .item,
#main_contents .blog_list.type1:not(.has_excerpt) .item {
	width: 100% !important;
	height: auto;
	margin: 0 !important;
	min-width: 0;
}
body.single #related_post .post_list .item,
body.single #bottom_post_list .bottom_post_list .item,
#index_bottom_post_list .bottom_post_list .item {
	width: 100% !important;
	height: auto !important;
	margin: 0 !important;
	min-width: 0;
}
#index_tab_post_list .post_list.type1:not(.has_excerpt) .link,
#main_contents .blog_list.type1:not(.has_excerpt) .link {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
}
body.single #bottom_post_list .bottom_post_list .link {
	display: block !important;
	height: auto !important;
	background: #fff;
	position: relative;
}
#index_bottom_post_list .bottom_post_list .link {
	display: block !important;
	height: auto !important;
	background: #fff;
	position: relative;
}
body.single #related_post .post_list > .item > a {
	display: block;
	height: auto;
	background: #fff;
	position: relative;
}
body.single #bottom_post_list .bottom_post_list .link:before {
	display: none;
}
#index_bottom_post_list .bottom_post_list .link:before {
	display: none;
}
	#index_tab_post_list .post_list.type1:not(.has_excerpt) .image_wrap,
	#main_contents .blog_list.type1:not(.has_excerpt) .image_wrap {
		width: 100%;
		height: auto;
		aspect-ratio: 16 / 9;
	}
	#index_tab_post_list .post_list.type1:not(.has_excerpt) .image_wrap:has(.image[style*="tamaya-ai-thumbnails"]),
	#main_contents .blog_list.type1:not(.has_excerpt) .image_wrap:has(.image[style*="tamaya-ai-thumbnails"]) {
		aspect-ratio: 37 / 23;
		background: #fff;
		border: 1px solid #d6dee5;
		box-sizing: border-box;
		overflow: hidden;
	}
	#index_tab_post_list .post_list.type1:not(.has_excerpt) .image[style*="tamaya-ai-thumbnails"],
	#main_contents .blog_list.type1:not(.has_excerpt) .image[style*="tamaya-ai-thumbnails"] {
		background-color: #fff !important;
		background-position: center center !important;
		background-repeat: no-repeat !important;
		background-size: contain !important;
	}
body.single #bottom_post_list .bottom_post_list .image_wrap {
	display: block;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 16 / 9;
	margin: 0;
}
#index_bottom_post_list .bottom_post_list .image_wrap {
	display: block;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 16 / 9;
	margin: 0;
}
body.single #related_post .post_list .image_wrap {
	display: block;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 16 / 9;
	margin: 0 0 7px;
}
#index_tab_post_list .post_list.type1:not(.has_excerpt) .content,
#main_contents .blog_list.type1:not(.has_excerpt) .content {
	width: 100%;
	height: auto;
	min-height: 0;
}
#index_tab_post_list .post_list.type1:not(.has_excerpt) .content_inner,
#main_contents .blog_list.type1:not(.has_excerpt) .content_inner {
	padding: 12px 14px 14px;
}
body.single #bottom_post_list .bottom_post_list .title_area {
	position: static !important;
	left: auto;
	bottom: auto;
	color: #111 !important;
	padding: 10px 0 0 !important;
}
#index_bottom_post_list .bottom_post_list .title_area {
	position: static !important;
	left: auto;
	bottom: auto;
	color: #111 !important;
	padding: 10px 0 0 !important;
}
body.single #related_post .post_list .title {
	position: static !important;
	padding: 0;
	font-size: 0.9rem;
	line-height: 1.48;
	max-height: 4.44em;
	word-break: normal;
	overflow-wrap: anywhere;
}
#index_tab_post_list .post_list.type1:not(.has_excerpt) .title,
#main_contents .blog_list.type1:not(.has_excerpt) .title {
	position: static;
	bottom: auto;
	padding: 0;
	font-size: 1rem;
	line-height: 1.5;
	max-height: 4.5em;
	word-break: normal;
	overflow-wrap: anywhere;
}
body.single #bottom_post_list .bottom_post_list .title {
	position: static !important;
	bottom: auto;
	padding: 0;
	font-size: 0.9rem;
	line-height: 1.48;
	max-height: 4.44em;
	word-break: normal;
	overflow-wrap: anywhere;
}
#index_bottom_post_list .bottom_post_list .title {
	position: static !important;
	bottom: auto;
	padding: 0;
	font-size: 0.9rem;
	line-height: 1.48;
	max-height: 4.44em;
	word-break: normal;
	overflow-wrap: anywhere;
}
#index_tab_post_list .post_list.type1:not(.has_excerpt) .title span,
#main_contents .blog_list.type1:not(.has_excerpt) .title span {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}
body.single #bottom_post_list .bottom_post_list .title span {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}
#index_bottom_post_list .bottom_post_list .title span {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}
body.single #related_post .post_list .title span {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}
#index_tab_post_list .post_list.type1:not(.has_excerpt) .date,
#main_contents .blog_list.type1:not(.has_excerpt) .date {
	position: relative;
	left: auto;
	bottom: auto;
	display: block;
	margin: 10px 0 0;
	padding-left: 18px;
	font-size: 12px;
}
body.single #bottom_post_list .bottom_post_list .date {
	position: relative;
	left: auto;
	bottom: auto;
	display: block;
	margin: 0 0 5px;
	padding-left: 16px;
	font-size: 10px;
	color: #999;
}
#index_bottom_post_list .bottom_post_list .date {
	position: relative;
	left: auto;
	bottom: auto;
	display: block;
	margin: 0 0 5px;
	padding-left: 16px;
	font-size: 10px;
	color: #999;
}
#index_tab_post_list .post_list.type1:not(.has_excerpt) .category,
#main_contents .blog_list.type1:not(.has_excerpt) .category {
	left: 8px;
	top: 8px;
	min-width: 74px;
	height: 28px;
	line-height: 28px;
	padding: 0 10px;
	font-size: 10px;
}
body.single #bottom_post_list .bottom_post_list .category {
	left: 6px;
	top: 6px;
	min-width: 64px;
	height: 24px;
	line-height: 24px;
	padding: 0 8px;
	font-size: 9px;
}
#index_bottom_post_list .bottom_post_list .category {
	left: 6px;
	top: 6px;
	min-width: 64px;
	height: 24px;
	line-height: 24px;
	padding: 0 8px;
	font-size: 9px;
}
body.single #related_post .post_list .category {
	left: 6px;
	top: 6px;
	min-width: 64px;
	height: 24px;
	line-height: 24px;
	padding: 0 8px;
	font-size: 9px;
}
@media screen and (max-width: 1280px) {
	#index_tab_post_list .post_list.type1:not(.has_excerpt) {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	#main_contents.layout_type1 .blog_list.type1:not(.has_excerpt) {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
@media screen and (max-width: 960px) {
	#index_tab_post_list .post_list.type1:not(.has_excerpt),
	#main_contents.layout_type1 .blog_list.type1:not(.has_excerpt) {
		gap: 18px;
	}
}
@media screen and (max-width: 1180px) {
	#main_contents.layout_type2 .blog_list.type1:not(.has_excerpt) {
		display: block;
		margin: 0;
	}
	#main_contents.layout_type2 .blog_list.type1:not(.has_excerpt) .item {
		--muum-list-image-width: 132px;
		margin: 0 0 18px !important;
	}
	#main_contents.layout_type2 .blog_list.type1:not(.has_excerpt) .item:last-of-type {
		margin-bottom: 0 !important;
	}
	#main_contents.layout_type2 .blog_list.type1:not(.has_excerpt) .link {
		flex-direction: row;
		align-items: flex-start;
		gap: 12px;
		height: auto;
	}
		#main_contents.layout_type2 .blog_list.type1:not(.has_excerpt) .image_wrap {
			flex: 0 0 132px;
			width: 132px;
			aspect-ratio: 4 / 3;
		}
		#main_contents.layout_type2 .blog_list.type1:not(.has_excerpt) .image_wrap:has(.image[style*="tamaya-ai-thumbnails"]) {
			aspect-ratio: 37 / 23;
		}
	#main_contents.layout_type2 .blog_list.type1:not(.has_excerpt) .content {
		flex: 1 1 auto;
		width: auto;
		border: none;
		display: block;
		min-width: 0;
	}
	#main_contents.layout_type2 .blog_list.type1:not(.has_excerpt) .content_inner {
		width: 100%;
		min-width: 0;
		padding: 4px 0 0;
	}
	#main_contents.layout_type2 .blog_list.type1:not(.has_excerpt) .title {
		width: 100%;
		font-size: 1.05rem;
		line-height: 1.5;
		max-height: 4.5em;
	}
	#main_contents.layout_type2 .blog_list.type1:not(.has_excerpt) .date {
		margin-top: 8px;
		font-size: 11px;
	}
	#main_contents.layout_type2 .blog_list.type1:not(.has_excerpt) .category {
		left: calc(var(--muum-list-image-width) + 12px);
		top: 0;
		max-width: calc(100% - var(--muum-list-image-width) - 12px);
		min-width: 64px;
		height: 24px;
		line-height: 24px;
		padding: 0 8px;
		font-size: 9px;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		z-index: 4;
	}
	#main_contents.layout_type2 .blog_list.type1:not(.has_excerpt) .item:has(> .category) .content_inner {
		padding-top: 32px;
	}
}
@media screen and (max-width: 900px) {
	#index_tab_post_list .post_list.type1:not(.has_excerpt),
	#main_contents.layout_type1 .blog_list.type1:not(.has_excerpt) {
		display: block;
		margin: 0;
	}
	#index_tab_post_list .post_list.type1:not(.has_excerpt) .item,
	#main_contents.layout_type1 .blog_list.type1:not(.has_excerpt) .item {
		--muum-list-image-width: 132px;
		margin: 0 0 18px 0 !important;
	}
	#index_tab_post_list .post_list.type1:not(.has_excerpt) .item:last-of-type,
	#main_contents.layout_type1 .blog_list.type1:not(.has_excerpt) .item:last-of-type {
		margin-bottom: 0 !important;
	}
	#index_tab_post_list .post_list.type1:not(.has_excerpt) .link,
	#main_contents.layout_type1 .blog_list.type1:not(.has_excerpt) .link {
		flex-direction: row;
		align-items: flex-start;
		gap: 12px;
		height: auto;
	}
		#index_tab_post_list .post_list.type1:not(.has_excerpt) .image_wrap,
		#main_contents.layout_type1 .blog_list.type1:not(.has_excerpt) .image_wrap {
			flex: 0 0 132px;
			width: 132px;
			aspect-ratio: 4 / 3;
		}
		#index_tab_post_list .post_list.type1:not(.has_excerpt) .image_wrap:has(.image[style*="tamaya-ai-thumbnails"]),
		#main_contents.layout_type1 .blog_list.type1:not(.has_excerpt) .image_wrap:has(.image[style*="tamaya-ai-thumbnails"]) {
			aspect-ratio: 37 / 23;
		}
	#index_tab_post_list .post_list.type1:not(.has_excerpt) .content,
	#main_contents.layout_type1 .blog_list.type1:not(.has_excerpt) .content {
		flex: 1 1 auto;
		width: auto;
		border: none;
		display: block;
		min-width: 0;
	}
	#index_tab_post_list .post_list.type1:not(.has_excerpt) .content_inner,
	#main_contents.layout_type1 .blog_list.type1:not(.has_excerpt) .content_inner {
		width: 100%;
		min-width: 0;
		padding: 4px 0 0;
	}
	#index_tab_post_list .post_list.type1:not(.has_excerpt) .title,
	#main_contents.layout_type1 .blog_list.type1:not(.has_excerpt) .title {
		width: 100%;
		font-size: 1.1rem;
		line-height: 1.5;
		max-height: 4.5em;
	}
	#index_tab_post_list .post_list.type1:not(.has_excerpt) .date,
	#main_contents.layout_type1 .blog_list.type1:not(.has_excerpt) .date {
		margin-top: 8px;
		font-size: 11px;
	}
	#index_tab_post_list .post_list.type1:not(.has_excerpt) .category,
	#main_contents.layout_type1 .blog_list.type1:not(.has_excerpt) .category {
		left: calc(var(--muum-list-image-width) + 12px);
		top: 0;
		max-width: calc(100% - var(--muum-list-image-width) - 12px);
		min-width: 64px;
		height: 24px;
		line-height: 24px;
		padding: 0 8px;
		font-size: 9px;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		z-index: 4;
	}
	#index_tab_post_list .post_list.type1:not(.has_excerpt) .item:has(> .category) .content_inner,
	#main_contents.layout_type1 .blog_list.type1:not(.has_excerpt) .item:has(> .category) .content_inner {
		padding-top: 32px;
	}
	body.single #related_post .post_list,
	body.single #bottom_post_list .bottom_post_list,
	#index_bottom_post_list .bottom_post_list {
		display: block !important;
		margin: 0 !important;
	}
	body.single #related_post .post_list .item,
	body.single #bottom_post_list .bottom_post_list .item,
	#index_bottom_post_list .bottom_post_list .item {
		--muum-list-image-width: 132px;
		margin: 0 0 18px 0 !important;
	}
	body.single #related_post .post_list .item:last-of-type,
	body.single #bottom_post_list .bottom_post_list .item:last-of-type,
	#index_bottom_post_list .bottom_post_list .item:last-of-type {
		margin-bottom: 0 !important;
	}
	body.single #related_post .post_list > .item > a,
	body.single #bottom_post_list .bottom_post_list .link,
	#index_bottom_post_list .bottom_post_list .link {
		display: flex !important;
		flex-direction: row;
		align-items: flex-start;
		gap: 12px;
		height: auto !important;
	}
	body.single #related_post .post_list .image_wrap,
	body.single #bottom_post_list .bottom_post_list .image_wrap,
	#index_bottom_post_list .bottom_post_list .image_wrap {
		flex: 0 0 132px;
		width: 132px !important;
		aspect-ratio: 4 / 3;
		margin: 0 !important;
	}
	body.single #bottom_post_list .bottom_post_list .title_area,
	#index_bottom_post_list .bottom_post_list .title_area {
		flex: 1 1 auto;
		width: auto;
		min-width: 0;
		padding: 4px 0 0 !important;
	}
	body.single #related_post .post_list .category,
	body.single #bottom_post_list .bottom_post_list .category,
	#index_bottom_post_list .bottom_post_list .category {
		left: calc(var(--muum-list-image-width) + 12px);
		top: 0;
		max-width: calc(100% - var(--muum-list-image-width) - 12px);
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		z-index: 4;
	}
	body.single #related_post .post_list .item:has(> .category) .title {
		padding-top: 32px;
	}
	body.single #bottom_post_list .bottom_post_list .item:has(> .category) .title_area,
	#index_bottom_post_list .bottom_post_list .item:has(> .category) .title_area {
		padding-top: 32px !important;
	}
	body.single #related_post .post_list .title,
	body.single #bottom_post_list .bottom_post_list .title,
	#index_bottom_post_list .bottom_post_list .title {
		flex: 1 1 auto;
		width: auto;
		min-width: 0;
		margin: 0;
		padding: 4px 0 0;
		font-size: 1.05rem;
		line-height: 1.5;
		max-height: 4.5em;
	}
	body.single #bottom_post_list .bottom_post_list .title,
	#index_bottom_post_list .bottom_post_list .title {
		padding-top: 0;
	}
	body.single #related_post .post_list .title span,
	body.single #bottom_post_list .bottom_post_list .title span,
	#index_bottom_post_list .bottom_post_list .title span {
		-webkit-line-clamp: 3;
	}
	body.single #bottom_post_list .bottom_post_list .date,
	#index_bottom_post_list .bottom_post_list .date {
		margin: 0 0 6px;
		font-size: 11px;
	}
}
@media screen and (max-width: 480px) {
	#index_tab_post_list .post_list.type1:not(.has_excerpt) .image_wrap,
	#main_contents .blog_list.type1:not(.has_excerpt) .image_wrap,
	body.single #related_post .post_list .image_wrap,
	body.single #bottom_post_list .bottom_post_list .image_wrap,
	#index_bottom_post_list .bottom_post_list .image_wrap {
		flex-basis: 118px;
		width: 118px !important;
	}
	#index_tab_post_list .post_list.type1:not(.has_excerpt) .item,
	#main_contents .blog_list.type1:not(.has_excerpt) .item,
	body.single #related_post .post_list .item,
	body.single #bottom_post_list .bottom_post_list .item,
	#index_bottom_post_list .bottom_post_list .item {
		--muum-list-image-width: 118px;
	}
	#index_tab_post_list .post_list.type1:not(.has_excerpt) .title,
	#main_contents .blog_list.type1:not(.has_excerpt) .title,
	body.single #related_post .post_list .title,
	body.single #bottom_post_list .bottom_post_list .title,
	#index_bottom_post_list .bottom_post_list .title {
		font-size: 1rem;
	}
	body.single #related_post .post_list,
	body.single #bottom_post_list .bottom_post_list,
	#index_bottom_post_list .bottom_post_list {
		display: block !important;
	}
		body.single #related_post .post_list .image_wrap,
		body.single #bottom_post_list .bottom_post_list .image_wrap,
		#index_bottom_post_list .bottom_post_list .image_wrap {
			aspect-ratio: 4 / 3;
		}
		body.single #related_post .post_list .image_wrap:has(.image[style*="tamaya-ai-thumbnails"]),
		body.single #bottom_post_list .bottom_post_list .image_wrap:has(.image[style*="tamaya-ai-thumbnails"]),
		#index_bottom_post_list .bottom_post_list .image_wrap:has(.image[style*="tamaya-ai-thumbnails"]),
		#index_tab_post_list .post_list.type1:not(.has_excerpt) .image_wrap:has(.image[style*="tamaya-ai-thumbnails"]),
		#main_contents .blog_list.type1:not(.has_excerpt) .image_wrap:has(.image[style*="tamaya-ai-thumbnails"]) {
			aspect-ratio: 37 / 23;
		}
	}
@media screen and (max-width: 360px) {
	#index_tab_post_list .post_list.type1:not(.has_excerpt) .image_wrap,
	#main_contents .blog_list.type1:not(.has_excerpt) .image_wrap,
	body.single #related_post .post_list .image_wrap,
	body.single #bottom_post_list .bottom_post_list .image_wrap,
	#index_bottom_post_list .bottom_post_list .image_wrap {
		flex-basis: 108px;
		width: 108px !important;
	}
	#index_tab_post_list .post_list.type1:not(.has_excerpt) .item,
	#main_contents .blog_list.type1:not(.has_excerpt) .item,
	body.single #related_post .post_list .item,
	body.single #bottom_post_list .bottom_post_list .item,
	#index_bottom_post_list .bottom_post_list .item {
		--muum-list-image-width: 108px;
	}
}


/* ----------------------------------------------------------------------
   「最近の記事」系ウィジェットのサムネイル表示補正
   親テーマは100px正方形のsize1を使うため、文字入りサムネイルが潰れて
   見えやすい。子テーマ側で横長比率に寄せ、記事タイトルの幅も確保する。
---------------------------------------------------------------------- */
.styled_post_list1 {
	--muum-widget-list-image-width: 118px;
}
.styled_post_list1 a {
	display: flex;
	align-items: stretch;
	width: 100%;
	min-height: 100px;
	height: auto;
	overflow: hidden;
	background: #fff !important;
	position: relative;
}
.styled_post_list1 .image_wrap {
	float: none;
	flex: 0 0 var(--muum-widget-list-image-width);
	width: var(--muum-widget-list-image-width);
	height: auto;
	margin: 6px 0;
	aspect-ratio: 4 / 3;
	position: relative;
	z-index: 1;
	overflow: hidden;
}
.styled_post_list1 .image {
	width: 100%;
	height: 100% !important;
	display: block;
	overflow: hidden;
	position: relative;
	z-index: 2;
	background-position: center center !important;
	background-size: cover !important;
}
.styled_post_list1 .image[style*="tamaya-ai-thumbnails"] {
	background-color: #fff !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
	background-size: contain !important;
	border: 0;
	box-sizing: border-box;
}
.styled_post_list1 .image_wrap:has(.image[style*="tamaya-ai-thumbnails"]) {
	flex: 0 0 148px;
	width: 148px;
	aspect-ratio: 37 / 23;
	height: auto !important;
	margin: 0;
	background: #fff;
	border: 1px solid #d6dee5;
	box-sizing: border-box;
}
#post_image[style*="tamaya-ai-thumbnails"] {
	aspect-ratio: 37 / 23;
	background-color: #fff !important;
	background-repeat: no-repeat !important;
	background-size: contain !important;
	border: 1px solid #d6dee5;
	box-sizing: border-box;
	height: auto !important;
}
.styled_post_list1 li:has(.image[style*="tamaya-ai-thumbnails"]) a,
.styled_post_list1 li:has(.image[style*="tamaya-ai-thumbnails"]) .title_area {
	min-height: 92px;
}
	#index_tab_post_list .post_list .image_wrap:has(.image[style*="tamaya-ai-thumbnails"]),
	#main_contents .blog_list .image_wrap:has(.image[style*="tamaya-ai-thumbnails"]),
	body.single #related_post .post_list .image_wrap:has(.image[style*="tamaya-ai-thumbnails"]),
	body.single #bottom_post_list .bottom_post_list .image_wrap:has(.image[style*="tamaya-ai-thumbnails"]),
	#index_bottom_post_list .bottom_post_list .image_wrap:has(.image[style*="tamaya-ai-thumbnails"]) {
		aspect-ratio: 37 / 23;
		background: #fff;
		border: 1px solid #d6dee5;
		box-sizing: border-box;
		overflow: hidden;
	}
	#index_tab_post_list .post_list .image[style*="tamaya-ai-thumbnails"],
	#main_contents .blog_list .image[style*="tamaya-ai-thumbnails"],
	body.single #related_post .post_list .image[style*="tamaya-ai-thumbnails"],
	body.single #bottom_post_list .bottom_post_list .image[style*="tamaya-ai-thumbnails"],
	#index_bottom_post_list .bottom_post_list .image[style*="tamaya-ai-thumbnails"] {
		background-color: #fff !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
	background-size: contain !important;
}
.styled_post_list1 .title_area {
	float: none;
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	min-height: 100px;
	height: auto;
}
.styled_post_list1 .title_area_inner {
	padding: 0 16px;
}
.styled_post_list1 .title {
	line-height: 1.6;
	max-height: 4.8em;
}
.styled_post_list1 .title span {
	-webkit-line-clamp: 3;
}
.styled_post_list1 .date {
	margin-top: 4px;
	font-size: 13px;
	line-height: 1.3;
}
.styled_post_list1 .category {
	top: 6px;
	width: var(--muum-widget-list-image-width);
}
@media screen and (max-width: 480px) {
	.styled_post_list1 {
		--muum-widget-list-image-width: 112px;
	}
	.styled_post_list1 .title_area_inner {
		padding: 0 14px;
	}
}
@media screen and (max-width: 360px) {
	.styled_post_list1 {
		--muum-widget-list-image-width: 104px;
	}
	.styled_post_list1 .title_area_inner {
		padding: 0 12px;
	}
}


/* ----------------------------------------------------------------------
   モバイルメニュー: 親項目を開閉トリガー化
---------------------------------------------------------------------- */
@media screen and (max-width: 1251px) {
	#mobile_menu .muum-mobile-menu-parent-opener > a {
		font-weight: 700;
		cursor: pointer;
	}
	#mobile_menu .muum-mobile-menu-parent-opener > .child_menu_button {
		pointer-events: auto;
	}
	#mobile_menu .muum-mobile-menu-top-link > a {
		background: #285f78 !important;
		font-weight: 700;
	}
	#mobile_menu .muum-mobile-menu-top-link > a:hover {
		background: #317694 !important;
	}
}


/* ----------------------------------------------------------------------
   コメント欄のコンパクト・モダン化
   v1.0.4: コメント本文のフォント差・日時位置・返信インデントを統一
   v1.0.5: 返信コメントは対象コメント直下にインデント表示へ戻す
   v1.0.6: コメント同士の縦余白を少し圧縮
   v1.0.7: コメントフォームは名前欄だけを表示
   v1.0.8: コメント入力欄の文字サイズを本文表示に統一
---------------------------------------------------------------------- */
#comments {
	--muum-comment-main-color: #317694;
	--muum-comment-hover-color: #3f8faf;
	--muum-comment-border-color: #e2e7eb;
	font-family: Arial, "Hiragino Sans", "Yu Gothic Medium", Meiryo, sans-serif;
	padding-top: 28px;
}
#comment_header {
	margin-bottom: 14px;
}
#comment_tab {
	overflow: hidden;
	border: 1px solid var(--muum-comment-border-color);
	border-radius: 6px;
	background: #fff;
}
#comment_tab li a,
#comment_tab li p {
	padding: 13px 14px;
	background: #f5f7f9 !important;
	color: #27323a !important;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.45;
}
#comment_tab li.active a {
	background: var(--muum-comment-main-color) !important;
	color: #fff !important;
}
#comment_tab li:not(.active) a:hover {
	background: var(--muum-comment-hover-color) !important;
	color: #fff !important;
}
#comments .commentlist {
	display: block;
	margin: 0;
	padding: 0;
}
#comments .comment {
	margin: 0;
	padding: 11px 28px 12px;
	border: 0;
	border-bottom: 1px solid #eeeeee;
	border-radius: 0;
	background: #fff;
}
#comments .commentlist .children {
	margin: 8px 0 -12px 18px;
	padding: 0 0 0 18px;
	border-left: 1px solid #d6d6d6;
	border-top: 1px solid #eeeeee;
	list-style: none;
}
#comments .commentlist .children .comment {
	padding-top: 11px;
	padding-right: 0;
	padding-bottom: 12px;
	padding-left: 0;
}
#comments .commentlist .children > .comment:first-child {
	border-top: 0;
}
#comments .comment-meta {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	min-height: 0;
	margin-bottom: 6px;
}
#comments .comment-meta::before,
#comments .comment-meta::after {
	content: none;
	display: none;
}
#comments .comment-meta-left {
	display: flex;
	float: none;
	align-items: center;
	width: auto;
	min-width: 0;
}
#comments .avatar {
	flex: 0 0 32px;
	width: 32px !important;
	height: 32px !important;
	margin-right: 9px;
}
#comments .comment-name-date {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2px 4px;
	height: auto;
	margin: 0;
	padding: 0;
	line-height: 1.4;
}
#comments .comment-number {
	font-size: 13px;
	font-weight: 700;
}
#comments .comment-number-link {
	color: #111 !important;
	text-decoration: none;
}
#comments .comment-number-link:hover {
	color: #111 !important;
}
#comments .muum-comment-reference {
	color: #005070 !important;
	font-weight: 700;
	text-decoration: none;
}
#comments .muum-comment-reference:hover {
	color: var(--muum-comment-hover-color) !important;
}
#comments .comment-name {
	font-size: 13px;
	font-weight: 700;
}
#comments .comment-name a,
#comments .comment-name span {
	color: #111;
	text-decoration: none;
}
#comments .comment-date {
	flex: 0 0 auto;
	margin: 0 0 0 auto;
	color: #888;
	font-size: 13px;
	line-height: 1.4;
	text-align: right;
	white-space: nowrap;
}
#comments .muum-comment-footer {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 3px;
	padding-right: 0;
}
#comments .comment-act {
	position: static;
	flex: 0 0 auto;
	margin: 0;
	padding: 0;
	font-size: 11px;
	white-space: nowrap;
}
#comments .comment-act span {
	display: inline-flex;
	align-items: center;
}
#comments .comment-act a,
#comments .comment-act a:visited {
	margin: 0;
	padding: 0;
	border: 0;
	color: #111;
	text-decoration: none;
}
#comments .comment-act a:hover {
	color: var(--muum-comment-hover-color) !important;
}
#comments .muum-comment-reply-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 27px;
	height: 27px;
	min-height: 27px;
	padding: 0;
	border: 1px solid #d8e1e7 !important;
	border-radius: 999px;
	background: #fff;
	color: #317694 !important;
	font-weight: 700;
	line-height: 1;
}
#comments .muum-comment-reply-link:hover {
	border-color: var(--muum-comment-main-color) !important;
	background: #f3fbfd;
	color: var(--muum-comment-main-color) !important;
}
#comments .muum-comment-reply-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	line-height: 1;
}
#comments .muum-comment-reply-icon svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: currentColor;
}
#comments .comment-quote {
	display: none !important;
}
#comments .comment-content.post_content,
#comments .comment-content.post_content p,
#comments .comment-content.post_content li,
#comments .comment-content.post_content span,
#comments .comment-content.post_content a {
	color: #111 !important;
	font-family: inherit !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	line-height: 1.62 !important;
}
#comments .comment-content.post_content p {
	margin-bottom: 2px;
}
#comments .comment-content.post_content .muum-comment-reference {
	color: #005070 !important;
	font-weight: 700 !important;
	text-decoration: none;
}
#comments .muum-comment-like-bar {
	justify-content: flex-end !important;
	padding: 0 !important;
}
#comments .muum-comment-like-button {
	gap: 4px !important;
	min-width: 43px;
	min-height: 27px;
	padding: 4px 8px !important;
	border: 1px solid #d8e1e7 !important;
	border-radius: 999px;
	background: #fff !important;
	color: #317694 !important;
	font-weight: 700;
}
#comments .muum-comment-like-button.has-likes,
#comments .muum-comment-like-button.is-liked {
	border-color: #317694 !important;
	background: #f3fbfd !important;
	color: #317694 !important;
}
#comments .muum-comment-like-button__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	line-height: 1;
}
#comments .muum-comment-like-button__icon svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: currentColor;
}
#comments .muum-comment-like-button__count {
	font-size: 12px !important;
	font-weight: 700;
	line-height: 1;
}
#comments .comment.mcc-level-1 .comment-content.post_content,
#comments .comment.mcc-level-1 .comment-content.post_content p,
#comments .comment.mcc-level-1 .comment-content.post_content li,
#comments .comment.mcc-level-1 .comment-content.post_content span {
	color: #0000cd !important;
	font-size: 16px !important;
	font-weight: 700 !important;
}
#comments .comment.mcc-level-1 .muum-comment-like-button {
	border-color: #0000cd !important;
	background: #f3f6ff !important;
	color: #0000cd !important;
}
#comments .comment.mcc-level-2 .comment-content.post_content,
#comments .comment.mcc-level-2 .comment-content.post_content p,
#comments .comment.mcc-level-2 .comment-content.post_content li,
#comments .comment.mcc-level-2 .comment-content.post_content span {
	color: #800080 !important;
	font-size: 17px !important;
	font-weight: 700 !important;
}
#comments .comment.mcc-level-2 .muum-comment-like-button {
	border-color: #800080 !important;
	background: #fbf2fb !important;
	color: #800080 !important;
}
#comments .comment.mcc-level-3 .comment-content.post_content,
#comments .comment.mcc-level-3 .comment-content.post_content p,
#comments .comment.mcc-level-3 .comment-content.post_content li,
#comments .comment.mcc-level-3 .comment-content.post_content span {
	color: #008000 !important;
	font-size: 17px !important;
	font-weight: 700 !important;
}
#comments .comment.mcc-level-3 .muum-comment-like-button {
	border-color: #008000 !important;
	background: #f1faf1 !important;
	color: #008000 !important;
}
#comments .comment.mcc-level-4 .comment-content.post_content,
#comments .comment.mcc-level-4 .comment-content.post_content p,
#comments .comment.mcc-level-4 .comment-content.post_content li,
#comments .comment.mcc-level-4 .comment-content.post_content span {
	color: #e67e00 !important;
	font-size: 18px !important;
	font-weight: 800 !important;
}
#comments .comment.mcc-level-4 .muum-comment-like-button {
	border-color: #e67e00 !important;
	background: #fff8ed !important;
	color: #e67e00 !important;
}
#comments .comment.mcc-level-5 .comment-content.post_content,
#comments .comment.mcc-level-5 .comment-content.post_content p,
#comments .comment.mcc-level-5 .comment-content.post_content li,
#comments .comment.mcc-level-5 .comment-content.post_content span {
	color: #dc143c !important;
	font-size: 18px !important;
	font-weight: 800 !important;
}
#comments .comment.mcc-level-5 .muum-comment-like-button {
	border-color: #dc143c !important;
	background: #ffe7e4 !important;
	color: #dc143c !important;
}
#comments .comment_form_wrapper {
	margin-top: 18px;
	padding: 16px;
	border: 1px solid var(--muum-comment-border-color);
	border-radius: 6px;
	background: #fff;
}
#comments #guest_info {
	display: block !important;
}
#comments #guest_email,
#comments #guest_url {
	display: none !important;
}
#comments #guest_info div {
	margin-bottom: 10px;
}
#comments #guest_info input,
#comments #comment_textarea textarea {
	border-color: #d7dde2;
	border-radius: 4px;
	box-shadow: none;
	font-family: inherit;
	font-size: 15px;
}
#comments #comment_textarea textarea {
	height: 120px;
	margin-top: 8px;
	line-height: 1.7;
}
#comments #submit_comment {
	width: 180px;
	height: 44px;
	margin-top: 12px;
	border-radius: 4px;
	background: var(--muum-comment-main-color) !important;
	color: #fff !important;
	line-height: 44px;
}
#comments #submit_comment:hover,
#comments #cancel_comment_reply a:hover {
	background: var(--muum-comment-hover-color) !important;
	color: #fff !important;
}
@media screen and (max-width: 480px) {
	#comments {
		padding-top: 24px;
	}
	#comments .comment {
		padding: 10px 0 12px;
	}
	#comments .commentlist .children .comment {
		padding: 10px 0 12px;
	}
	#comments .commentlist .children {
		margin: 7px 0 -12px 10px;
		padding-left: 12px;
		border-left: 1px solid #d6d6d6;
	}
	#comments .comment-meta {
		display: flex;
		align-items: flex-start;
	}
	#comments .comment-date {
		font-size: 11px;
	}
	#comments .muum-comment-footer {
		justify-content: flex-end;
		margin-top: 2px;
	}
	#comments .comment-act {
		margin: 0;
		white-space: normal;
	}
	#comments .comment-act a,
	#comments .comment-act a:visited {
		margin: 0;
	}
	#comments .comment_form_wrapper {
		padding: 14px;
	}
}


/* ----------------------------------------------------------------------
   本文末尾の関連カテゴリ・タグ表示
   (旧: muum_post_term_footer_css 関数)
   .muum-post-term-footer は単一記事ページにのみPHPで出力されるため、
   セレクタが他ページに影響することはない。
---------------------------------------------------------------------- */
.muum-post-term-footer {
	margin: 42px 0 0;
	padding: 0;
	border: 1px solid #d8dce3;
	background: #fff;
}
.muum-post-term-footer__title {
	display: inline-block;
	position: relative;
	margin: -1px 0 0 -1px;
	padding: 12px 24px 12px 18px;
	background: #eceff3;
	color: #111;
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1;
}
.muum-post-term-footer__title::after {
	content: '';
	position: absolute;
	top: 0;
	right: -18px;
	width: 0;
	height: 0;
	border-top: 46px solid #eceff3;
	border-right: 18px solid transparent;
}
.muum-post-term-footer__body {
	padding: 20px 18px 18px;
}
.muum-post-term-footer__row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 10px 12px;
}
.muum-post-term-footer__row + .muum-post-term-footer__row {
	margin-top: 14px;
}
.muum-post-term-footer__label {
	flex: 0 0 auto;
	color: #333;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.8;
}
.muum-post-term-footer__items {
	display: flex;
	flex: 1 1 0%;
	flex-wrap: wrap;
	gap: 8px 10px;
	min-width: 0;
}
.muum-post-term-footer__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 10px;
	border-radius: 5px;
	text-decoration: none !important;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.35;
	transition: background-color 0.25s ease, color 0.25s ease;
}
.muum-post-term-footer__link--category {
	background: #6fc3ef;
	color: #fff !important;
}
.muum-post-term-footer__link--category:hover {
	background: #48addf;
	color: #fff !important;
}
.muum-post-term-footer__link--tag {
	background: #f1f3f6;
	color: #222 !important;
}
.muum-post-term-footer__link--tag:hover {
	background: #e4e8ee;
	color: #111 !important;
}
.muum-post-term-footer__link--tag::before {
	content: '#';
	margin-right: 0.25em;
}
@media screen and (max-width: 750px) {
	.muum-post-term-footer {
		margin-top: 34px;
	}
	.muum-post-term-footer__title {
		font-size: 1.25rem;
		padding: 11px 20px 11px 16px;
	}
	.muum-post-term-footer__title::after {
		right: -16px;
		border-top-width: 40px;
		border-right-width: 16px;
	}
	.muum-post-term-footer__body {
		padding: 16px 14px 14px;
	}
	.muum-post-term-footer__row {
		gap: 8px 10px;
	}
	.muum-post-term-footer__label {
		width: 100%;
		line-height: 1.4;
	}
}


/* ----------------------------------------------------------------------
   サイドバーのカテゴリ階層を折りたたみ表示
---------------------------------------------------------------------- */
#side_col .category_list_widget > ul > li > a {
	padding-right: 112px;
}
#side_col .category_list_widget > ul > li > a:hover {
	padding-left: 20px;
}
#side_col .category_list_widget > ul > li > a .title {
	min-width: 0;
	padding-right: 12px;
}
#side_col .category_list_widget > ul > li > a .count {
	position: absolute;
	top: 50%;
	right: 58px;
	transform: translateY(-50%);
}
#side_col .category_list_widget li.muum-cat-has-children > a {
	padding-right: 112px;
	padding-left: 20px;
}
#side_col .category_list_widget li.muum-cat-has-children > a:hover {
	padding-left: 20px;
}
#side_col .category_list_widget li.muum-cat-has-children > .muum-cat-toggle {
	position: absolute;
	z-index: 3;
	top: 0;
	right: 0;
	width: 52px;
	height: 60px;
	margin: 0;
	padding: 0;
	border: 0;
	border-left: 1px solid #eef0f3;
	border-radius: 0;
	border-bottom: 1px solid #ddd;
	background: transparent;
	cursor: pointer;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}
#side_col .category_list_widget li.muum-cat-has-children > .muum-cat-toggle::before {
	content: '';
	position: absolute;
	top: 23px;
	left: 20px;
	width: 8px;
	height: 8px;
	border-right: 2px solid #111;
	border-bottom: 2px solid #111;
	transform: rotate(45deg);
	transition: transform 0.2s ease, top 0.2s ease;
}
#side_col .category_list_widget li.muum-cat-has-children > .muum-cat-toggle:hover {
	background: #f5f6f8;
}
#side_col .category_list_widget li.muum-cat-open > .muum-cat-toggle::before {
	top: 27px;
	transform: rotate(225deg);
}
#side_col .category_list_widget ul[hidden] {
	display: none !important;
}

/* ----------------------------------------------------------------------
   サイドバーのアーカイブを年別に折りたたみ表示
---------------------------------------------------------------------- */
#side_col .tcdw_archive_list_widget .muum-yearly-archive__list {
	margin: 0;
	padding: 0;
	list-style: none;
}
#side_col .tcdw_archive_list_widget .muum-yearly-archive__year,
#side_col .tcdw_archive_list_widget .muum-yearly-archive__month {
	position: relative;
	margin: 0;
	padding: 0;
	list-style: none;
}
#side_col .tcdw_archive_list_widget .muum-yearly-archive__year-button {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	box-sizing: border-box;
	width: 100%;
	height: 47px;
	margin: -1px 0 0;
	padding: 0 52px 0 18px;
	border: 1px solid #ddd;
	border-radius: 0;
	background: #fff;
	color: #111;
	font: inherit;
	font-weight: 700;
	line-height: 47px;
	text-align: left;
	cursor: pointer;
	transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
#side_col .tcdw_archive_list_widget .muum-yearly-archive__year-button::after {
	content: '';
	position: absolute;
	top: 18px;
	right: 21px;
	width: 8px;
	height: 8px;
	border-right: 2px solid #111;
	border-bottom: 2px solid #111;
	transform: rotate(45deg);
	transition: transform 0.18s ease, top 0.18s ease;
}
#side_col .tcdw_archive_list_widget .muum-yearly-archive__year-button:hover,
#side_col .tcdw_archive_list_widget .muum-archive-year-open > .muum-yearly-archive__year-button {
	background: #f5f6f8;
	color: #174f65;
}
#side_col .tcdw_archive_list_widget .muum-archive-year-open > .muum-yearly-archive__year-button::after {
	top: 22px;
	border-color: #174f65;
	transform: rotate(225deg);
}
#side_col .tcdw_archive_list_widget .muum-yearly-archive__year-count,
#side_col .tcdw_archive_list_widget .muum-yearly-archive__month-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 22px;
	padding: 0 8px;
	border-radius: 999px;
	background: #eef3f6;
	color: #60707a;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}
#side_col .tcdw_archive_list_widget .muum-yearly-archive__months {
	display: block;
	margin: 0;
	padding: 0;
	list-style: none;
}
#side_col .tcdw_archive_list_widget .muum-yearly-archive__months[hidden] {
	display: none !important;
}
#side_col .tcdw_archive_list_widget .muum-yearly-archive__months a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 42px;
	margin: -1px 0 0;
	padding: 0 18px 0 34px;
	border: 1px solid #ddd;
	background: #fff;
	color: #333;
	font-size: 13px;
	line-height: 42px;
	text-decoration: none;
	transition: background-color 0.18s ease, color 0.18s ease;
}
#side_col .tcdw_archive_list_widget .muum-yearly-archive__months a:hover,
#side_col .tcdw_archive_list_widget .muum-archive-month-current > a {
	background: #f3fbfd;
	color: #174f65;
}
#side_col .tcdw_archive_list_widget .muum-yearly-archive__empty {
	box-sizing: border-box;
	height: 47px;
	margin: -1px 0 0;
	padding: 0 18px;
	border: 1px solid #ddd;
	background: #fff;
	color: #777;
	font-size: 13px;
	line-height: 47px;
}


/* ----------------------------------------------------------------------
   サイドバーのアンテナサイト固定リンク
---------------------------------------------------------------------- */
#side_col .muum-antenna-sites-widget {
	margin-bottom: 30px;
}
#side_col .muum-antenna-site-list {
	display: grid;
	gap: 7px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}
#side_col .muum-antenna-site-list__item {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}
#side_col .muum-antenna-site-list__item::before {
	content: none !important;
}
#side_col .muum-antenna-site-list__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 40px;
	padding: 9px 11px 9px 10px;
	border: 1px solid #d8e1e7;
	border-left: 4px solid #317694;
	border-radius: 4px;
	background: #fff;
	color: #0f4e63 !important;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.35;
	text-decoration: none !important;
	transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
#side_col .muum-antenna-site-list__link::after {
	content: '›';
	flex: 0 0 auto;
	margin-left: 10px;
	color: #317694;
	font-size: 1.15rem;
	font-weight: 900;
	line-height: 1;
}
#side_col .muum-antenna-site-list__link:hover {
	transform: translateX(1px);
	border-color: #317694;
	background: #f3fbfd;
	color: #083f52 !important;
}


/* ----------------------------------------------------------------------
   サイドバーのタグ一覧リンク / タグ一覧ページ
---------------------------------------------------------------------- */
.muum-tag-index-widget__link {
	display: block;
	padding: 18px 18px 16px;
	border: 1px solid #d8dce3;
	background: #fff;
	text-decoration: none !important;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}
.muum-tag-index-widget__link:hover {
	border-color: #111;
	background: #f7f8fa;
}
.muum-tag-index-widget__title,
.muum-tag-index-widget__note {
	display: block;
}
.muum-tag-index-widget__title {
	color: #111;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
}
.muum-tag-index-widget__note {
	margin-top: 6px;
	color: #6b7280;
	font-size: 0.82rem;
	line-height: 1.55;
}
.tag-cloud-pro {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 30px 0 0;
}
.tag-cloud-pro .tag_code {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 0 14px;
	border: 1px solid #d8dce3;
	border-radius: 5px;
	background: #fff;
	color: #222 !important;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none !important;
	transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.tag-cloud-pro .tag_code::before {
	content: '#';
	margin-right: 0.25em;
	color: #6b7280;
}
.tag-cloud-pro .tag_code:hover {
	border-color: #111;
	background: #111;
	color: #fff !important;
}
.tag-cloud-pro .tag_code:hover::before {
	color: #fff;
}


/* ----------------------------------------------------------------------
   タグアーカイブの表示整理
   タグ名のヘッダーを見える状態に戻し、1件だけの一覧でも余白が出すぎない
   ようにタグページだけ上書きする。
---------------------------------------------------------------------- */
body.tag #page_header {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	height: auto;
	padding: 14px 20px;
	line-height: normal;
	border-top: 1px solid #e5e9ef;
	border-bottom: 1px solid #d8dce3;
	background: #f7f9fb !important;
}
body.tag #page_header .title {
	margin: 0;
	padding: 0;
	background: transparent !important;
	color: #17465a !important;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.35;
}
body.tag #main_contents {
	padding-top: 36px;
}
body.tag #main_contents.layout_type2 .blog_list.type1:not(.has_excerpt) {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 236px));
	gap: 18px;
	align-items: start;
	justify-content: start;
}
body.tag #main_contents.layout_type2 .blog_list.type1:not(.has_excerpt) .item {
	max-width: 236px;
}
body.blog #main_contents .blog_list.type1:not(.has_excerpt) .category,
body.tag #main_contents .blog_list.type1:not(.has_excerpt) .category {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 10px;
	right: 10px;
	left: auto;
	z-index: 8;
	max-width: calc(100% - 20px);
	min-width: auto;
	height: 26px;
	padding: 0 10px;
	border-radius: 4px;
	background: rgba(49, 118, 148, 0.96) !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
	color: #fff !important;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
@media screen and (max-width: 750px) {
	body.tag #page_header {
		min-height: 48px;
		padding: 12px 16px;
	}
	body.tag #page_header .title {
		font-size: 1.1rem;
	}
	body.tag #main_contents {
		padding-top: 24px;
	}
	body.tag #main_contents.layout_type2 .blog_list.type1:not(.has_excerpt) {
		display: block;
	}
	body.tag #main_contents.layout_type2 .blog_list.type1:not(.has_excerpt) .item {
		max-width: none;
	}
	body.blog #main_contents .blog_list.type1:not(.has_excerpt) .category,
	body.tag #main_contents .blog_list.type1:not(.has_excerpt) .category {
		top: 8px;
		right: 8px;
		height: 24px;
		padding: 0 8px;
		font-size: 9px;
	}
}

@media screen and (max-width: 750px) {
	#side_col .category_list_widget li.muum-cat-has-children > a {
		padding-right: 104px;
	}
	#side_col .category_list_widget li.muum-cat-has-children > .muum-cat-toggle {
		top: 0;
		right: 0;
		height: 50px;
	}
	#side_col .category_list_widget li.muum-cat-has-children > .muum-cat-toggle::before {
		top: 18px;
	}
	#side_col .category_list_widget li.muum-cat-open > .muum-cat-toggle::before {
		top: 22px;
	}
}

/* ----------------------------------------------------------------------
   フッターのアーカイブ・カテゴリをコンパクト化
---------------------------------------------------------------------- */
#footer_widget_inner {
	padding-top: 24px;
	padding-bottom: 18px;
}
#footer_widget #block-5,
#footer_widget .widget_block:has(.wp-block-archives) {
	display: none !important;
}
#footer_widget #block-6,
#footer_widget .widget_block:has(.wp-block-categories),
#footer_widget .widget_block:has(.muum-footer-category-widget) {
	float: none;
	width: 100%;
	margin: 0;
}
#footer_widget #block-6 .wp-block-group,
#footer_widget #block-6 .wp-block-group__inner-container,
#footer_widget .widget_block:has(.wp-block-categories) .wp-block-group,
#footer_widget .widget_block:has(.wp-block-categories) .wp-block-group__inner-container,
#footer_widget .muum-footer-category-widget {
	margin: 0;
}
#footer_widget #block-6 .wp-block-heading,
#footer_widget .widget_block:has(.wp-block-categories) .wp-block-heading,
#footer_widget .muum-footer-category-widget__heading {
	margin: 0 0 10px;
	color: #111;
	font-size: 0;
	font-weight: 700;
	line-height: 1.4;
}
#footer_widget #block-6 .wp-block-heading::after,
#footer_widget .widget_block:has(.wp-block-categories) .wp-block-heading::after {
	content: 'カテゴリ';
	font-size: 14px;
}
#footer_widget .muum-footer-category-widget__heading {
	font-size: 14px;
}
#footer_widget .wp-block-categories,
#footer_widget .muum-footer-category-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	max-height: 92px;
	margin: 0;
	padding: 0 4px 2px 0;
	overflow-y: auto;
	list-style: none;
}
#footer_widget .wp-block-categories li,
#footer_widget .muum-footer-category-list__item {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}
#footer_widget .wp-block-categories li::before,
#footer_widget .muum-footer-category-list__item::before {
	content: none !important;
}
#footer_widget .wp-block-categories a,
#footer_widget .muum-footer-category-list__link {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 5px 10px;
	border: 1px solid #d8e1e7;
	border-radius: 999px;
	background: #fff;
	color: #174f65 !important;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none !important;
	transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}
#footer_widget .wp-block-categories a:hover,
#footer_widget .muum-footer-category-list__link:hover {
	border-color: #317694;
	background: #f3fbfd;
	color: #083f52 !important;
}
@media screen and (max-width: 750px) {
	#footer_widget_inner {
		max-width: none;
		padding: 24px 0 18px;
	}
	#footer_widget #block-6 .wp-block-heading,
	#footer_widget .widget_block:has(.wp-block-categories) .wp-block-heading {
		font-size: 0;
	}
	#footer_widget #block-6 .wp-block-heading::after,
	#footer_widget .widget_block:has(.wp-block-categories) .wp-block-heading::after {
		font-size: 13px;
	}
	#footer_widget .muum-footer-category-widget__heading {
		font-size: 13px;
	}
	#footer_widget .wp-block-categories,
	#footer_widget .muum-footer-category-list {
		max-height: 118px;
		gap: 7px;
	}
	#footer_widget .wp-block-categories a,
	#footer_widget .muum-footer-category-list__link {
		min-height: 27px;
		padding: 5px 9px;
		font-size: 11px;
	}
}
