/*
Theme Name: Hummingbird Child
Theme URI: https://inaka-kurashi.org
Description: Hummingbird の子テーマ（田舎暮らし革命）
Author: あさみん
Template: hummingbird
Version: 1.0
*/
/******* 追加 CSS ***********************************************************/

/* ==========================================================================
   Google Fonts
   使用フォントの読み込み
========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@500;700&family=Poppins:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400&display=swap');


/* ==========================================================================
   記事本文まわり
   .entry-content 内の文字、段落、画像、装飾など
========================================================================== */

/* 記事本文全体の左右余白 */
.entry-content {
	padding: 0 10px;
}

/* 記事本文の段落 */
.entry-content p {
	line-height: 180%;
	letter-spacing: 1px;
}

/* 記事本文内のリスト */
.entry-content ul li {
	font-size: 14px;
	line-height: 210%;
}

/* 記事本文内の強調 */
.entry-content strong {
	font-weight: bold;
	background: linear-gradient(transparent 80%, #fff100 60%);
	font: 500 16px/1.75 "Noto Sans JP", sans-serif !important;
}

/* 記事本文内の画像 */
.entry-content img {
	margin: 25px 0;
}

/* 補足情報ボックス */
.entry-content .info {
	padding: 15px;
	background-color: #ededed;
	font-size: 12px;
	margin: 20px 0;
	line-height: 170%;
}

/* 補足情報ボックス内の strong は別フォント指定 */
.entry-content .info strong {
	font-family: "Lato", "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

/* 記事説明文 */
.description p {
	font-size: 12px !important;
	line-height: 160%;
}

/* 単一記事タイトル・固定ページタイトル */
.single-title,
.page-title {
	line-height: 160%;
}


/* ==========================================================================
   サイドバー・ウィジェット
========================================================================== */

/* ウィジェット内リスト */
.widget ul li {
	font-size: 13px;
	line-height: 160%;
}


/* ==========================================================================
   画像関連
   サムネイルや本文画像など
========================================================================== */

/* アイキャッチ画像は角丸なし */
.eyecatch img {
	border-radius: 0 !important;
}

/* メインカラム内の画像は少し角丸 */
#main img {
	border-radius: 5px;
}


/* ==========================================================================
   ヘッダーまわり
   ロゴ、ナビ、ヘッダー内の説明文など
========================================================================== */

/* ロゴ内のテキスト非表示 */
#logo span {
	display: none;
}


/* ==========================================================================
   関連記事・新着記事など
========================================================================== */

/* ナビ系記事タイトル */
.np-post a .ttl {
	font-size: 13px;
}

/* 著者ボックス内の新着記事・関連記事タイトル */
.single .authorbox .author-newpost li .ttl,
.related-box li .ttl {
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
	font-weight: normal;
	font-size: 12px;
}


/* ==========================================================================
   カスタム埋め込みボックス
   記事内で使う独自のリンクカード風パーツ
========================================================================== */

/* ------------------------------------------
   PC共通スタイル（デフォルト）
------------------------------------------ */
.custom-embed {
	display: flex;
	margin: 25px 0;
	padding: 6px;
	background-color: #f4f4f4;
	font-family: tbudrgothic-std, sans-serif;
}

/* サムネイルエリア */
.custom-embed .embed-thumbnail {
	width: 20%;
}

/* サムネイル画像 */
.custom-embed .embed-thumbnail img {
	width: 100%;
	height: auto;
	margin-bottom: 0 !important;
	margin-top: 0 !important;
	border-radius: 0 !important;
}

/* テキストエリア */
.custom-embed .embed-title {
	width: 75%;
	margin-left: 5%;
	font-size: 13px;
	padding: 10px 10px;
	line-height: 130%;
}

/* タイトル部分 */
.custom-embed .embed-title .t {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 10px !important;
	padding-top: 5px;
	line-height: 160%;
}

/* リンク全体を覆うためのラッパー */
.all {
	position: relative;
	z-index: 1;
	transition: 1s;
}

/* 全体リンク */
.all a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-indent: -999px;
	z-index: 2;
}

/* ホバー時 */
.all:hover {
	transition: 1s;
	zoom: 1; /* IE対応 */
}


/* ==========================================================================
   PC用スタイル
   768px以上、769px以上、1100px以上
========================================================================== */

/* ------------------------------------------
   768px以上
   ロゴ画像サイズ調整
------------------------------------------ */
@media only screen and (min-width: 768px) {
	#logo img {
		height: 120px !important;
		max-height: 120px !important;
	}

	#logo .img {
		margin-bottom: 0px !important;
	}
}


/* ------------------------------------------
   1100px以上
   ヘッダー・グローバルナビ調整
------------------------------------------ */
@media only screen and (min-width: 1100px) {
	#g_nav {
		font: 500 16px/1.75 "Noto Sans JP", sans-serif !important;
	}

	.nav > li {
		font-size: 14px;
	}

	#inner-header {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.site_description {
		width: 250px;
		padding-left: 10px;
	}
}

/* ------------------------------------------
   1100px以上
   メインカラム幅調整
------------------------------------------ */
@media only screen and (min-width: 1100px) {
	#main {
		width: 60%;
		padding-right: 0;
		float: none;
	}
}

/* ------------------------------------------
   1100px以上
   サイドバー幅調整
------------------------------------------ */
@media only screen and (min-width: 1100px) {
	#sidebar1 {
		width: 35%;
		float: none;
		margin-left: auto;
	}
}


/* ==========================================================================
   SP用スタイル
   768px以下、767px以下、480px以下
========================================================================== */

/* ------------------------------------------
   768px以下
   カスタム埋め込みボックスを縦並びに変更
------------------------------------------ */
@media screen and (max-width: 768px) {
	.custom-embed {
		display: block;
		padding: 20px;
		margin: 30px;
	}

	.custom-embed .embed-thumbnail {
		width: 100%;
		margin-bottom: 10px;
	}

	.custom-embed .embed-title {
		width: 100%;
		margin-left: 0;
		font-size: 12px;
		padding: 0;
		line-height: 150%;
		padding: 5px 10px;
	}

	.custom-embed .embed-title .t {
		font-size: 14px;
		margin-bottom: 8px !important;
		padding-top: 0;
	}
}



/* ------------------------------------------
   480px以下
   トップ一覧アイキャッチ画像の高さ制限
------------------------------------------ */
@media only screen and (max-width: 480px) {
	.top-post-list .post-list .eyecatch {
		max-height: 150px !important;
	}
}

/* ------------------------------------------
   480px以下
   各種タイトル文字サイズ調整
------------------------------------------ */
@media only screen and (max-width: 480px) {
	.single-title,
	.page-title,
	.entry-title {
		font-size: 15px !important;
		padding: 10px 5px !important;
	}
}





/******************************************************
2026追加
**********************************************************/

.top-post-list .post-list .entry-content .entry-title{
	font-size:18px!important;
}

.top-post-list .description p{
	line-height:160%;
}


.entry-content p{
	font-size:14.5px;
	line-height:210%;
}

.top-post-list .post-list .entry-content p{
	font-size:12px!important;
	line-height:160%!important;
}

.widgettitle{
	background-color:#ff7373!important;
	color:#fff!important;
	font-size:13px!important;
	line-height:130%!important;
	text-align:center;
	padding:5px!important;
	font-family:"Noto Sans JP", sans-serif !important;
	font-weight:500;
}

/*********************
YouTubeショートコード
*************************************/

.youtube-banner-box {
	margin: 30px 0;
	text-align: center;
}

.youtube-banner-box__image {
	display: inline-block;
	margin-bottom: 16px;
}

.youtube-banner-box__image img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

.youtube-banner-box__text {
	font-size: 16px;
	line-height: 1.9;
	color: #333;
	margin: 0;
}

.youtube-banner-box__text a {
	color: inherit;
	text-decoration: underline;
}

@media screen and (max-width: 767px) {
	.youtube-banner-box {
		margin: 24px 0;
	}

	.youtube-banner-box__text {
		font-size: 14px;
		line-height: 1.8;
		text-align: left;
	}
}

/****************************
リンクカード
****************/

.asamin-linkcard {
	margin: 30px 0;
}

.asamin-linkcard a {
	display: block;
	text-decoration: none;
	color: inherit;
	border: 1px solid #ddd;
	border-radius: 14px;
	background: #fff;
	overflow: hidden;
	transition: .3s;
}

.asamin-linkcard a:hover {
	box-shadow: 0 8px 20px rgba(0,0,0,0.08);
	transform: translateY(-2px);
}

.asamin-linkcard__inner {
	display: flex;
	align-items: stretch;
}

.asamin-linkcard__content {
	flex: 1;
	padding: 24px;
	min-width: 0;
}

.asamin-linkcard__title {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
	margin-bottom: 10px;
	word-break: break-word;
	font-family:"Noto Sans JP", sans-serif !important;
}

.asamin-linkcard__desc {
	font-size: 12px;
	line-height: 1.6;
	color: #555;
	margin-bottom: 12px;
	word-break: break-word;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.asamin-linkcard__site {
	font-size: 13px;
	font-weight: 600;
	color: #ff5757;
	font-family:"Noto Sans JP", sans-serif !important;
}

.asamin-linkcard__thumb {
	width: 280px;
	flex-shrink: 0;
	background: #f5f5f5;
}

.asamin-linkcard__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media screen and (max-width: 767px) {
	.asamin-linkcard__inner {
		flex-direction: column-reverse;
	}

	.asamin-linkcard__thumb {
		width: 100%;
	}

	.asamin-linkcard__thumb img {
		aspect-ratio: 16 / 9;
		height: auto;
	}

	.asamin-linkcard__content {
		padding: 16px;
	}

	.asamin-linkcard__title {
		font-size: 18px;
	}

	.asamin-linkcard__desc {
		font-size: 14px;
	}

	.asamin-linkcard__site {
		font-size: 13px;
	}
}


/* ------------------------------------------
   767px以下
   ロゴ画像のスマホ用サイズ調整
------------------------------------------ */
@media only screen and (max-width: 767px) {
#logo a img {
width: auto;
margin-top: 1px;
max-width: 100%;
height:100px!important;
}
#content{
	padding:20px;
}
.top-post-list .post-list .entry-content .entry-title{
font-size:16px!important;
}
.site_description{
display:none;
}
.single-title, .page-title, .entry-title{
font-size:18px!important;
line-height:140%!important;
}
	.entry-content h2{
		font-size:17px!important;
	}
	.entry-content p{
		font-size:16px!important;
	}
	.entry-content h3{
		font-size:17px!important;
	}
	.entry-content ul li{
		margin-bottom:6px!important;
	}
	.entry-content ol li{
		margin-bottom:7px;
	}
	
}

/************************************
     シミュレーション
************************************/

.ijk-note {
	font-size:12px!important;
	line-height: 1.7;
	margin-top: 8px;
	padding: 10px 12px!important;
	border-radius: 6px;
}

#ijk-breakdown{
	font-size:14px;
}

.ijk-table{
	font-size:14px!important;	
}
.entry-content table {
    width: 100%;
    font-size: 14px;
    border: 1px solid #efefef;
    margin-bottom: 1.5em;
}

.ijk-sources strong{
	margin-bottom:10px;
}

@media only screen and (max-width: 767px) {
	.ijk-hero-title{
		font-size:20px!important;
		margin-top:5px!important;
	}
	.ijk-hero-sub{
		font-size:13px!important;
	}
}