/*
 Theme Name:   airi Child
 Description:  airi Child Theme
 Template:     airi
*/

/* Webフォントは functions.php の airi_child_enqueue_fonts() で読み込む。
   @import はレンダリングを直列にブロックするためCSS側には置かない。 */

body,
.entry-title,
.woocommerce-loop-product__title { font-family: 'Noto Sans JP', 'Helvetica Neue', sans-serif; }

.home h1, 
.home h2, 
.home h3, 
.home h4, 
.home h5, 
.home h6,
.main-navigation,
.anton {font-family: 'Anton' !important;}


a,button { outline: none;}

.site-info { display: none;}
.site-branding img { width: 150px; max-width: 150px !important;}

@media (max-width: 640px) {
	.site-branding img { width: 120px;}
}

.row-eq-height { display: flex; flex-wrap: wrap; }

.center { text-align: center;}
/*common*/
input.input-text::placeholder { color: #aaa; }


.site-content { padding: 40px 0; }
@media (max-width: 767px) {
	.site-content { padding: 20px 0;}
}
/*
@media (min-width: 1200px) {
	.site-content .container { max-width: 1140px !important; }
}
@media (min-width: 992px) {
	.site-content .container { max-width: 960px !important; }
}
@media (min-width: 768px) {
	.site-content .container { max-width: 720px !important; }
}
@media (min-width: 576px) {
	.site-content .container { max-width: 540px !important; }
}
*/

/*header*/
.main-navigation a {font-size: 22px; }

@media (max-width: 1199px) {
	.main-navigation a { font-size: 25px; }
}

.site-header { border-bottom: 1px solid #eee; }
@media (max-width: 767px) {
	.site-header { border-bottom: 1px solid #eee; /* -webkit-box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.1); box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.1);*/ }
}

@media (max-width: 1199px) {
	.menuStyle2 .main-navigation a:hover:after,
	.menuStyle2 .main-navigation .current-menu-item:after { display: none;}
}

.mobile-menu-toggle:focus { outline: none; }

.is-sticky .site-header { padding: 10px; background:rgba(255,255,255,0.7) !important;} 
.is-sticky .site-header .site-branding img { width: 100px; }

/*Side*/
.widget-area { padding: 0; border: none;}

ul.instagram-pics { text-align: center;margin: 20px auto; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap;}
ul.instagram-pics li { width: 33.33333333%; padding: 2px;}

.null-instagram-feed p a { display: block; color: #fff; text-align: center; font-weight: bold; padding: 7px; border-radius: 20px; font-size: 15px; margin: 0px; background: #00aeef; }

@media (max-width: 767px) {
	.widget-area { padding: 15px; }
}

/*footer*/
.sidebar-column .widget p { font-size: 13px;}

/*Home*/
@media (max-width: 767px) {
	.elementor-heading-title { font-size: 36px !important;}
}


/*Post*/
.single-post .posted-on a,
.blog-loop .posted-on a,
.comments-area .comment-time { letter-spacing: 0;}


/*Shop*/
.related h2 { font-weight: bold; font-size: 18px; display: flex; align-items: center; margin: 80px 0 40px !important; font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ Pro W3", Helvetica, Arial,  "メイリオ", Meiryo, Verdana, "游ゴシック", YuGothic, "Yu Gothic", sans-serif !important; }
.related h2:before,
.related h2:after { content: ""; flex-grow: 1; height: 1px; display: block; }
.related h2:before { margin-right: .4em; background: linear-gradient(-90deg, #ccc, transparent);}
.related h2:after { margin-left: .4em; background: linear-gradient(90deg, #ccc, transparent); }
.related h2.woocommerce-loop-product__title { margin: 10px 0 !important;}


/*PAGE txt contents*/
h1.entry-title {font-weight: bold; font-size: 1.5rem;}
.contents_txt {}
.contents_txt h1, 
.contents_txt h2, 
.contents_txt h3, 
.contents_txt h4, 
.contents_txt h5, 
.contents_txt h6 { margin: 40px auto 30px; font-weight: bold;}

.contents_txt h2 { font-size: 20px; border-bottom: 1px solid #ccc; padding-bottom: 10px;}
.contents_txt h3 { font-size: 17px; margin-bottom: 15px;}
.contents_txt h4 { font-size: 15px; margin-bottom: 10px;}
.contents_txt p {  font-size: 15px; margin: 15px auto; line-height: 28px;}

.guide_mail { border: 1px dotted #ccc; padding: 10px;}

/*Woocommerce */
.woocommerce .woocommerce-breadcrumb { font-weight: normal; font-size: 12px; margin-bottom: 30px;}



/*Woocommerce カテゴリー*/
@media (max-width: 767px) {
	.woocommerce-product-loop:not(.single) .site-content > .container { padding: 0 45px;}
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering { display: none;}

.woocommerce ul.products li.product a img { margin-bottom: 10px;}

.woocommerce ul.products li.product .woocommerce-loop-category__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 0.75em !important;}


.sold-out-overlay { background: #000; color: #fff; font-size: 12px; font-weight: 600; padding: 5px 10px; position: absolute; left: 10px; top: 10px; }


/*Woocommerce 詳細*/
.woocommerce div.product .product_title { font-size: 22px;}
.woocommerce div.product form.cart .variations td,
.woocommerce div.product form.cart .variations th { text-align: left; padding: 0; vertical-align:middle;}

.product-template-default .site-content > .container { padding: 0 40px; }

.woocommerce div.product .product_title { font-size: 25px; }

.woocommerce div.product form.cart .variations select {height: 60px;}

.product_meta {font-size: 12px; color: #555; margin-top: 10px;}
.sku_wrapper { margin-right: 20px; }
.sku_wrapper span.sku { font-size: 95%; color: #000; }

.related.products h2 { font-size: 20px; color: #555;}



.tshirts_info dt small { font-weight: normal;}
.tshirts_info dd { margin: 10px auto;}

.tshirts_info dt.important_info,
.tshirts_info dd.important_info { color: #d80000;}

.tshirts_info dd .size_table table th,
.tshirts_info dd .size_table table td {
    font-size: 12px;
    line-height: 1.1;
    white-space: nowrap;
    border: none;
    border-bottom: solid #000 1px;
    padding: 10px 4px;
}

@media only screen and (min-width: 768px) {
	.tshirts_info { display: flex; justify-content: space-between}
	.tshirts_info dl { width: 48%;}

}


/*Woocommerce サイドバー*/

.woocommerce ul.cart_list li img,
.woocommerce ul.product_list_widget li img { float: left; margin-right: 15px; width: 80px;}


/*Woocommerce カート*/

.product-remove a.remove { border: none;}
.woocommerce-cart .cart-collaterals .cart_totals .button { color: #fff; font-weight: bold;}
.woocommerce-shipping-destination { font-weight: normal; font-size: 90%;}
@media only screen and (min-width: 768px) {
	.woocommerce-shipping-destination {  text-align: left;}

}
.shipping-calculator-button { display: inline-block; border: 1px solid #ccc; padding: 5px 15px; font-size: 80%; background: #fff;}

.woocommerce table.woocommerce-checkout-review-order-table td { padding-top: 20px; padding-bottom: 20px;}

/*Woocommerce 支払い*/
#customer_details h3 { padding-bottom: 5px; margin-bottom: 15px; font-size: 18px; font-weight: bold; border-bottom: 1px solid #ddd;}

.woocommerce-checkout #order_review_heading { margin-bottom: 30px;}

.woocommerce-checkout-review-order-table thead th { width: 50%; padding-top: 10px; padding-bottom: 10px; background: #ebe9eb; }
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td { padding-top: 20px; padding-bottom: 20px;}


.woocommerce-checkout #payment div.payment_box { padding-bottom: 0; margin-bottom: 0;}

.wc_payment_method label { font-weight: bold;}
ul.payment_methods { padding: 30px !important;}

.wc-stripe-elements-field, .wc-stripe-iban-element-field { width: 250px;}

.woocommerce form .form-row { margin: 10px auto 5px;}
.woocommerce form .form-row label {min-width: 200px;font-size: 12px; color: #555; }

.woocommerce form .form-row-wide,
.woocommerce form .form-row-first,
.woocommerce form .form-row-last { float: none; width: 100%; padding: 0 !important;}



.woocommerce-checkout .place-order { padding: 20px; text-align: center;}
.woocommerce #payment #place_order,
.woocommerce-page #payment #place_order { float: none; display: inline-block !important; width: 300px; margin: 0 auto; }

.woocommerce-privacy-policy-text { font-size: 14px; display: none;}


.mailerror { border: 1px dotted #ccc; padding: 0px 15px 15px; color: #555; margin-top: 30px; }
.mailerror h3 { font-size: 15px; margin-top: 20px; }
.mailerror p { font-size: 12px; margin: 5px auto;}
.mailerror a { text-decoration: underline;}

@media (max-width: 767px) {
	ul.payment_methods { padding: 20px !important;}
	.woocommerce form .form-row label { display: block;  }
	.woocommerce-page #payment #place_order { width: 100%; }

}


/*Woocommerce 購入確認*/
.woocommerce-order-details__title,
.woocommerce-column__title {margin-bottom: 15px; font-size: 18px; font-weight: bold;}
.woocommerce .woocommerce-customer-details address { padding: 20px; line-height: 30px;}

/*Woocommerce 購入完了*/
.woocommerce ul.order_details {  border: 3px solid #ccc; padding: 0.5em 1em;}
.woocommerce ul.order_details li { padding: 1em 2em 1em 0em; }


.woocommerce .woocommerce-customer-details address { margin-bottom: 30px !important;}

/*撮影機材*/
#equipment { margin-bottom: 40px;}
#equipment .row { margin-bottom: 15px !important;}
#equipment h2 { margin-top: 50px; font-weight: bold; font-size: 40px;}

#equipment h2 span {font-size: 70%; display: block; font-weight: normal; margin-bottom: 10px;}
#equipment h3 { margin: 50px auto 30px; font-weight: bold;}
.nfx-amkr-box { border: 1px solid #ddd; background: #fff; box-sizing: border-box; margin: 0; padding: 1.5em 1em; height: 100%; }
.nfx-amkr-image { text-align: center; height: 180px; display: block; vertical-align: top; }
.nfx-amkr-image img { max-width: none; max-height: 180px;}
.nfx-amkr-content { display: block; vertical-align: top; }
.nfx-amkr-title { font-weight: bold; line-height: 20px; }
.nfx-amkr-title a { box-shadow: none; color: #d2691e; text-decoration: none; }
.nfx-amkr-desc { color: #666; list-style: none; font-size: .9em; padding-left: 0; margin: 0; }
.nfx-amkr-desc li { margin-bottom: .2em; }
.nfx-amkr-price { color: #b00; font-weight: bold; font-family: initial; font-weight: bold; }
.nfx-amkr-amzlink a { background: #f6ce50; color: #000 !important; font-size: 14px; padding: 7px 15px 5px; border-radius: 5px; border-bottom: 3px solid #e3b628; margin-top: 10px; width: auto; text-align: center; display: block; font-weight: 700;}
.nfx-amkr-amzlink a:hover { color: #555; background: #F6A037; border-top: 3px solid #C09A24; border-bottom: none;}

@media only screen and (max-width: 767px) {
	#equipment h2 { font-size: 30px;}
	#equipment h3 { font-size: 22px;}
	.nfx-amkr-image { width: auto; }
	.nfx-amkr-content { margin: 0;}
}


/*サイズ表*/

/* ===================================================================
   記事ページ（単一投稿）のデザイン
   -------------------------------------------------------------------
   親テーマは body 16px / line-height 1.5 の欧文基準で、日本語の長文には
   行間・字間が足りない。また col-lg-8 + サイドバーの2カラムだと本文幅が
   中途半端に狭くなるため、記事は1カラム・センター寄せに変更する。

   すべて .single-post スコープ。ショップ・固定ページには影響しない。
   サイドバーを戻したい場合は、次の「1カラム化」ブロックを丸ごと消す。
   =================================================================== */

/* --- 1カラム化 ------------------------------------------------- */
/* サイドバーは functions.php の airi_child_single_post_full_width() で
   そもそも出力させていない。以下は、設定が戻された場合や
   他プラグインがサイドバーを差し込んだ場合の保険。
   Bootstrapのグリッドが3系（float）でも4系（flex）でも効くよう両方指定する */
.single-post #secondary { display: none; }
.single-post #primary.content-area {
	float: none;
	width: 100%;
	max-width: 100%;
	flex: 0 0 100%;
	margin: 0 auto;
}
.single-post .entry-header,
.single-post .entry-content,
.single-post .entry-footer,
.single-post #comments { max-width: 1040px; margin-left: auto; margin-right: auto; }

/* 関連記事と前後記事は、本文カードの左右パディング（親テーマの
   .content-area.layout-full が 100px 200px）を打ち消して横いっぱいに出す。
   読ませる本文は1040pxに抑えたまま、サムネイルだけ大きく見せたいため */
.single-post .pj-related,
.single-post .post-navigation {
	max-width: none;
	width: auto;
	margin-left: -200px;
	margin-right: -200px;
	padding-left: 24px;
	padding-right: 24px;
}

@media only screen and (max-width: 991px) {
	/* カードのパディングが30pxに変わる幅 */
	.single-post .pj-related,
	.single-post .post-navigation {
		margin-left: -30px;
		margin-right: -30px;
		padding-left: 15px;
		padding-right: 15px;
	}
}

/* --- 記事ヘッダー ----------------------------------------------- */
.single-post .entry-header { margin-bottom: 2.4em; text-align: center; }
.single-post h1.entry-title {
	font-size: 2rem;
	line-height: 1.55;
	font-weight: 700;
	letter-spacing: .01em;
	margin: .4em 0 .6em;
}
.single-post .posted-on,
.single-post .entry-meta {
	font-size: 12px;
	letter-spacing: .12em;
	color: #999;
	text-transform: uppercase;
}
.single-post .entry-meta { margin-top: .6em; }

/* アイキャッチ画像 */
.single-post .post-thumbnail { margin: 0 0 2.6em; }
.single-post .post-thumbnail img { width: 100%; height: auto; border-radius: 8px; }

/* --- 本文の基本 ------------------------------------------------- */
.single-post .entry-content {
	font-size: 18px;
	line-height: 1.95;        /* 日本語は行間を広く取らないと読み進められない */
	letter-spacing: .02em;
	color: #333;              /* 真っ黒より少し落として目の負担を減らす */
}
.single-post .entry-content p { margin: 0 0 1.9em; }

/* 導入文。記事の入口だけ少し大きくして引き込む */
.single-post .entry-content .yt-lead {
	font-size: 1.1em;
	line-height: 1.9;
	color: #222;
}

/* --- 見出し ----------------------------------------------------- */
/* 見出しの手前に大きく余白を取り、話題の切れ目をはっきりさせる */
.single-post .entry-content h2 {
	font-size: 1.65rem;
	line-height: 1.55;
	font-weight: 700;
	color: #191919;
	margin: 3.4em 0 1.1em;
	padding-bottom: .55em;
	border-bottom: 2px solid #f0437e;
}
.single-post .entry-content h3 {
	font-size: 1.25rem;
	line-height: 1.6;
	font-weight: 700;
	color: #191919;
	margin: 2.8em 0 .9em;
	padding-left: .65em;
	border-left: 4px solid #f0437e;
}
.single-post .entry-content h4 { font-size: 1.05rem; font-weight: 700; margin: 2.2em 0 .8em; }
.single-post .entry-content > h2:first-child,
.single-post .entry-content > h3:first-child { margin-top: 0; }

/* --- リスト ----------------------------------------------------- */
.single-post .entry-content ul,
.single-post .entry-content ol { margin: 0 0 1.9em; padding-left: 1.5em; }
.single-post .entry-content li { margin-bottom: .7em; line-height: 1.9; }
.single-post .entry-content li:last-child { margin-bottom: 0; }

/* --- 引用（動画内の発言を載せる用） ------------------------------ */
.single-post .entry-content blockquote {
	position: relative;
	margin: 2.4em 0;
	padding: 1.4em 1.5em 1.4em 3.2em;
	background: #f7f7f8;
	border: 0;
	border-left: 4px solid #f0437e;
	border-radius: 0 6px 6px 0;
	font-size: .95em;
	font-style: normal;       /* 日本語はイタリックにすると読みにくい */
	color: #444;
}
.single-post .entry-content blockquote:before {
	content: "\201C";
	position: absolute;
	left: .45em;
	top: .1em;
	font-family: Georgia, serif;
	font-size: 3em;
	line-height: 1;
	color: #f0437e;
	opacity: .35;
}
.single-post .entry-content blockquote p { margin: 0; }
.single-post .entry-content blockquote cite { display: block; margin-top: .8em; font-size: 12px; color: #999; font-style: normal; }

/* --- 動画埋め込み・画像 ----------------------------------------- */
.single-post .entry-content figure,
.single-post .entry-content .wp-block-embed { margin: 2.8em 0; }

/* YouTube埋め込みを16:9に固定する。
   本来はWordPressコアのブロックCSS（.wp-embed-aspect-16-9）が面倒を見るが、
   この環境では効いておらず、iframeが既定の高さのまま正方形に潰れていた。
   コア側の ::before を打ち消したうえで、padding-top方式で自前に比率を作る。
   aspect-ratio ではなくpadding-topを使うのは、古いブラウザでも確実に効くため。 */
.single-post .entry-content .wp-block-embed__wrapper:before { display: none; }
.single-post .entry-content .wp-block-embed.is-type-video .wp-block-embed__wrapper {
	position: relative;
	width: 100%;
	padding-top: 56.25%;      /* 9 ÷ 16 */
	height: 0;
	overflow: hidden;
	border-radius: 8px;
}
.single-post .entry-content .wp-block-embed.is-type-video .wp-block-embed__wrapper iframe,
.single-post .entry-content .wp-block-embed.is-type-video .wp-block-embed__wrapper > * {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}
.single-post .entry-content .wp-block-embed iframe { border-radius: 8px; display: block; }
.single-post .entry-content img { height: auto; border-radius: 6px; }
.single-post .entry-content figcaption {
	font-size: 13px;
	color: #888;
	text-align: center;
	margin-top: .9em;
	line-height: 1.7;
}

/* 動画のスクリーンショット。キャプションを一体化したカードとして見せる */
.single-post .entry-content .yt-shot { margin: 2.8em 0; }
.single-post .entry-content .yt-shot img { width: 100%; border-radius: 8px 8px 0 0; display: block; }
.single-post .entry-content .yt-shot figcaption {
	margin: 0;
	padding: .9em 1.1em;
	background: #f7f7f8;
	border-radius: 0 0 8px 8px;
	text-align: left;
	font-size: 13px;
	color: #666;
}
/* スクショを2枚並べる場合 */
.single-post .entry-content .yt-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 2.8em 0; }
/* Gutenbergのグループブロックは、中身をラッパーdivで1枚包んでから出力する。
   そのままだとラッパー自身がグリッドの1マス目を占めてしまい、
   画像は「半分の幅で縦に2枚」並ぶ。display:contents でラッパーを透過させ、
   中のfigureを直接グリッドの要素として扱わせる。
   ラッパーが無い場合（ブロック構造が変わった場合）もそのまま動く。 */
.single-post .entry-content .yt-shots > .wp-block-group__inner-container { display: contents; }
.single-post .entry-content .yt-shots figure { margin: 0; max-width: none; }
.single-post .entry-content .yt-shots img { width: 100%; height: auto; border-radius: 6px; display: block; }

/* --- 記事末の「この動画について」カード ------------------------- */
.single-post .entry-content .yt-meta {
	margin: 3em 0 0;
	padding: 1.6em 1.8em;
	background: #fafafa;
	border: 1px solid #ececec;
	border-radius: 10px;
	font-size: .92em;
	line-height: 1.85;
}
.single-post .entry-content .yt-meta h3 {
	margin: 0 0 .9em;
	padding: 0;
	border: 0;
	font-size: 1rem;
	letter-spacing: .06em;
	color: #666;
}
.single-post .entry-content .yt-meta ul { margin: 0; padding-left: 1.3em; }
.single-post .entry-content .yt-meta li { margin-bottom: .45em; }

/* --- 区切り線・強調・リンク ------------------------------------- */
.single-post .entry-content hr { margin: 3.4em 0; border: 0; border-top: 1px solid #e8e8e8; }
.single-post .entry-content strong { font-weight: 700; color: #111; }
.single-post .entry-content a { color: #d0246a; text-decoration: underline; text-underline-offset: 3px; box-shadow: none; }
.single-post .entry-content a:hover { color: #f0437e; }

/* --- 記事下・コメント欄 ----------------------------------------- */
.single-post .entry-footer { margin-top: 3.2em; font-size: 13px; color: #999; }
.single-post #comments { margin-top: 4em; }
.single-post #comments .comments-title,
.single-post #comments #reply-title { font-size: 1.15rem; font-weight: 700; }

/* --- スマホ ----------------------------------------------------- */
@media only screen and (max-width: 767px) {
	.single-post h1.entry-title { font-size: 1.45rem; }
	.single-post .entry-content { font-size: 16px; line-height: 1.9; }
	.single-post .entry-content h2 { font-size: 1.3rem; margin-top: 2.8em; }
	.single-post .entry-content h3 { font-size: 1.1rem; margin-top: 2.4em; }
	.single-post .entry-content blockquote { padding: 1.1em 1.1em 1.1em 2.6em; }
	.single-post .entry-content .yt-meta { padding: 1.2em 1.3em; }
	.single-post .entry-content .yt-shots { grid-template-columns: 1fr; }
}


/* --- 文字の行長だけ絞る ------------------------------------------
   本文エリアは1040pxまで広げたが、その幅いっぱいに文字を流すと
   1行が長すぎて目が戻れなくなる。文章系のブロックだけ820pxに制限し、
   画像・動画・スクショは1040pxいっぱいに見せて緩急をつける。
   （タイポグラフィ指定より後に置かないと margin の一括指定に負けるため末尾）
   ------------------------------------------------------------------ */
.single-post .entry-content > p,
.single-post .entry-content > h2,
.single-post .entry-content > h3,
.single-post .entry-content > h4,
.single-post .entry-content > ul,
.single-post .entry-content > ol,
.single-post .entry-content > blockquote,
.single-post .entry-content > hr,
.single-post .entry-content > .yt-meta {
	max-width: 820px;
	margin-left: auto;
	margin-right: auto;
}
/* 見出しは行長を絞っても上下の余白は保つ */
.single-post .entry-content > h2 { margin-top: 3.4em; margin-bottom: 1.1em; }
.single-post .entry-content > h3 { margin-top: 2.8em; margin-bottom: .9em; }
.single-post .entry-content > p  { margin-bottom: 1.9em; }

@media only screen and (max-width: 767px) {
	.single-post .entry-content > h2 { margin-top: 2.8em; }
	.single-post .entry-content > h3 { margin-top: 2.4em; }
}


/* ===================================================================
   記事末のYouTube導線（.yt-cta）
   -------------------------------------------------------------------
   冒頭の埋め込みは「記事内で見てもらう」ため、末尾のこれは
   「YouTubeへ送る」ため。役割が違うので、ここでは2つ目のiframeを置かず
   サムネイルのリンクにする。ページも軽くなり、視聴もYouTube本体で発生する。
   =================================================================== */
.single-post .entry-content .yt-cta {
	max-width: 820px;
	margin: 3.6em auto 0;
	padding: 1.6em;
	background: #16161a;
	border-radius: 12px;
	color: #fff;
}
.single-post .entry-content .yt-cta__thumb { display: block; position: relative; border-radius: 8px; overflow: hidden; box-shadow: none; }
.single-post .entry-content .yt-cta__thumb img { width: 100%; height: auto; border-radius: 8px; display: block; margin: 0; }
/* 再生ボタンの三角。画像を足さずCSSだけで作る */
.single-post .entry-content .yt-cta__thumb:after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 68px;
	height: 48px;
	background: rgba(0, 0, 0, .72);
	border-radius: 12px;
}
.single-post .entry-content .yt-cta__thumb:before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-40%, -50%);
	z-index: 2;
	border-style: solid;
	border-width: 10px 0 10px 17px;
	border-color: transparent transparent transparent #fff;
}
.single-post .entry-content .yt-cta__thumb:hover:after { background: #f00; }

.single-post .entry-content .yt-cta__label {
	margin: 1.3em 0 .4em;
	font-size: 11px;
	letter-spacing: .14em;
	color: #8a8a94;
	text-transform: uppercase;
}
.single-post .entry-content .yt-cta__title { margin: 0 0 .7em; font-size: 1.05rem; font-weight: 700; line-height: 1.6; color: #fff; }
.single-post .entry-content .yt-cta__note { margin: 0 0 1.4em; font-size: .88em; line-height: 1.8; color: #b6b6c0; }

.single-post .entry-content .yt-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.single-post .entry-content .yt-cta a.yt-cta__btn,
.single-post .entry-content .yt-cta a.yt-cta__sub {
	display: inline-block;
	padding: .85em 1.5em;
	border-radius: 999px;
	font-size: .9em;
	font-weight: 700;
	text-decoration: none;
	box-shadow: none;
	transition: opacity .15s;
}
.single-post .entry-content .yt-cta a.yt-cta__btn { background: #f00; color: #fff; }
.single-post .entry-content .yt-cta a.yt-cta__sub { background: #2c2c34; color: #fff; }
.single-post .entry-content .yt-cta a.yt-cta__btn:hover,
.single-post .entry-content .yt-cta a.yt-cta__sub:hover { opacity: .82; color: #fff; }

/* チャンネルページへの補助リンク。ボタンを3つ並べると主役が消えるので、
   動画と登録はボタン、チャンネルページはテキストリンクで階層をつける */
.single-post .entry-content .yt-cta__channel {
	margin: 1.3em 0 0;
	padding-top: 1.2em;
	border-top: 1px solid #2c2c34;
	font-size: .85em;
	line-height: 1.8;
	color: #b6b6c0;
}
.single-post .entry-content .yt-cta a.yt-cta__channel-link {
	color: #fff;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
	box-shadow: none;
	white-space: nowrap;
}
.single-post .entry-content .yt-cta a.yt-cta__channel-link:hover { color: #f0437e; }

@media only screen and (max-width: 767px) {
	.single-post .entry-content .yt-cta { padding: 1.2em; }
	.single-post .entry-content .yt-cta__actions { display: block; }
	.single-post .entry-content .yt-cta a.yt-cta__btn,
	.single-post .entry-content .yt-cta a.yt-cta__sub { display: block; text-align: center; margin-bottom: 10px; }
}


/* ===================================================================
   記事一覧ページ（/vlog/）
   -------------------------------------------------------------------
   レイアウトは functions.php の airi_child_blog_grid_layout() で
   親テーマの 'layout-grid'（PC3列・タブレット2列・スマホ1列）に固定済み。
   ここでは見出しの可視化とカードの体裁だけを整える。
   =================================================================== */

/* 親テーマは一覧の見出しを screen-reader-text で隠しているが、
   Vlog一覧はページとしての入口になるので、見えるようにする */
.pj-loop .page-title.screen-reader-text {
	position: static;
	width: auto;
	height: auto;
	margin: 0 0 .4em;
	padding: 0;
	overflow: visible;
	clip: auto;
	clip-path: none;
	white-space: normal;
	font-size: 2rem;
	font-weight: 700;
	text-align: center;
}
.pj-loop .site-main > header { margin-bottom: 3em; }
/* 見出しの下に添えるリード文 */
/* カテゴリー・タグ・検索の見出し。
   /vlog/ は .page-title.screen-reader-text、アーカイブは .page-title と
   マークアップが違うので、共通の .pj-loop 側でまとめて体裁を合わせる */
.pj-loop .page-header { text-align: center; }
.pj-loop .page-title {
	margin: 0 0 .4em;
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
}
.pj-loop .archive-description {
	max-width: 46em;
	margin: 0 auto;
	font-size: .9rem;
	line-height: 1.9;
	color: #888;
}
.pj-loop .archive-description p:last-child { margin-bottom: 0; }

body.blog .site-main > header:after {
	content: "アメリカ・カリフォルニアでの日常を、動画と記事でお届けしています。";
	display: block;
	text-align: center;
	font-size: .9rem;
	line-height: 1.9;
	color: #888;
}

/* --- カード --- */
.pj-loop .blog-loop .post-inner {
	margin-bottom: 40px;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 6px 24px rgba(61, 82, 96, .12);
	transition: transform .18s, box-shadow .18s;
}
.pj-loop .blog-loop .hentry { border: 0; padding-bottom: 0; margin-bottom: 0; }
.pj-loop .blog-loop .post-inner:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(61, 82, 96, .18); }

/* サムネイルは動画に合わせて16:9で切り揃える。
   アイキャッチの縦横比がまちまちでも一覧の見た目が崩れない */
.pj-loop .blog-loop .post-thumbnail { margin: 0; display: block; }
.pj-loop .blog-loop .post-thumbnail img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	display: block;
	border-radius: 0;
}

.pj-loop .blog-loop .post-info { padding: 1.2em 1.4em 1.5em; }
.pj-loop .blog-loop .entry-header { margin-bottom: 0; }
.pj-loop .blog-loop .entry-title {
	margin: .5em 0 .6em;
	font-size: 1.05rem;
	line-height: 1.65;
	font-weight: 700;
}
.pj-loop .blog-loop .entry-title a { color: #191919; box-shadow: none; text-decoration: none; }
.pj-loop .blog-loop .entry-title a:hover { color: #f0437e; }
.pj-loop .blog-loop .posted-on { font-size: 11px; letter-spacing: .1em; color: #999; }
.pj-loop .blog-loop .posted-on a { color: #999; box-shadow: none; }
.pj-loop .blog-loop .entry-meta { font-size: 11px; color: #aaa; }
.pj-loop .blog-loop .entry-meta a { color: #f0437e; box-shadow: none; }

/* --- ページ送り --- */
.pj-loop .posts-navigation { margin-top: 1em; }
.pj-loop .posts-navigation a { box-shadow: none; }

@media only screen and (max-width: 767px) {
	.pj-loop .page-title,
	.pj-loop .page-title.screen-reader-text { font-size: 1.5rem; }
	.pj-loop .site-main > header { margin-bottom: 2em; }
	.pj-loop .blog-loop .post-inner { margin-bottom: 26px; }
}


/* ===================================================================
   縦型動画（YouTubeショート）への対応
   -------------------------------------------------------------------
   パジメのチャンネルには 16:9 の通常動画と 9:16 のショートが混在する。
   ショートを16:9の枠に入れると左右が黒帯だらけになり、
   縦長のスクショを本文幅いっぱいに置くと画面を占領してしまうため、
   縦型のときだけ幅を絞る。記事生成側でクラスを付け分ける。
   =================================================================== */

/* --- 縦型の埋め込み（9:16） --- */
.single-post .entry-content .wp-block-embed.is-vertical {
	max-width: 400px;
	margin-left: auto;
	margin-right: auto;
}
.single-post .entry-content .wp-block-embed.is-type-video.is-vertical .wp-block-embed__wrapper {
	padding-top: 177.78%;      /* 16 ÷ 9 */
}

/* --- 縦型のスクリーンショット --- */
.single-post .entry-content .yt-shot--portrait {
	max-width: 400px;
	margin-left: auto;
	margin-right: auto;
}
/* 縦型を2枚並べる場合。全幅だと1枚あたりが縦に長すぎる */
.single-post .entry-content .yt-shots--portrait {
	max-width: 680px;
	margin-left: auto;
	margin-right: auto;
}

@media only screen and (max-width: 767px) {
	.single-post .entry-content .wp-block-embed.is-vertical,
	.single-post .entry-content .yt-shot--portrait { max-width: 300px; }
	.single-post .entry-content .yt-shots--portrait { max-width: none; }
}


/* ===================================================================
   トップページの最新記事リスト（[pajime_latest_posts]）
   -------------------------------------------------------------------
   Vlog一覧（.pj-loop .blog-loop）と同じカードの見え方に揃えている。
   ただしトップページは body class が blog ではないので、
   一覧側のCSSは効かない。ここで独立して定義する。
   =================================================================== */
.pj-posts { max-width: 1140px; margin: 0 auto; padding: 70px 15px; }
.pj-posts__title { font-size: 2rem; font-weight: 700; text-align: center; margin: 0 0 .4em; }
.pj-posts__lead { font-size: .9rem; line-height: 1.9; color: #888; text-align: center; margin: 0 0 2.6em; }

.pj-posts__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 30px;
}

.pj-post {
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 6px 24px rgba(61, 82, 96, .12);
	transition: transform .18s, box-shadow .18s;
}
.pj-post:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(61, 82, 96, .18); }

.pj-post__thumb { display: block; box-shadow: none; }
/* サムネイルは動画に合わせて16:9で切り揃える */
.pj-post__thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }

.pj-post__body { padding: 1.2em 1.4em 1.5em; }
.pj-post__date { font-size: 11px; letter-spacing: .1em; color: #999; margin: 0 0 .5em; }
.pj-post__title { font-size: 1.05rem; line-height: 1.65; font-weight: 700; margin: 0 0 .8em; }
.pj-post__title a { color: #191919; box-shadow: none; text-decoration: none; }
.pj-post__title a:hover { color: #f0437e; }
.pj-post__cat { margin: 0; font-size: 11px; }
.pj-post__cat a {
	display: inline-block;
	padding: .35em .9em;
	background: #fdeef4;
	border-radius: 999px;
	color: #d0246a;
	box-shadow: none;
	text-decoration: none;
}
.pj-post__cat a:hover { background: #f0437e; color: #fff; }

.pj-posts__more { text-align: center; margin: 3em 0 0; }
.pj-posts__more a {
	display: inline-block;
	padding: .9em 2.4em;
	border: 1px solid #191919;
	border-radius: 999px;
	color: #191919;
	font-size: .9rem;
	font-weight: 700;
	text-decoration: none;
	box-shadow: none;
	transition: background .15s, color .15s;
}
.pj-posts__more a:hover { background: #191919; color: #fff; }

@media only screen and (max-width: 767px) {
	.pj-posts { padding: 45px 15px; }
	.pj-posts__title { font-size: 1.5rem; }
	.pj-posts__grid { grid-template-columns: 1fr; gap: 22px; }
}


/* ===================================================================
   パンくずリスト（.pj-bc）
   -------------------------------------------------------------------
   表示はAIOSEO、構造化データもAIOSEOが出力する。
   Bootstrapの .row の中に入れると後続のカラムと重なって崩れたため、
   グリッドの外に独立したブロックとして置いている（header.php）。
   .pj-bc--aioseo / .pj-bc--fallback で出どころが分かる。
   =================================================================== */
.pj-bc-wrap {
	width: 100%;
	clear: both;
	padding: 10px 0 20px;
	overflow: hidden;          /* 親のfloatやネガティブマージンの影響を受けないようにする */
}
.pj-bc {
	display: block;
	font-size: 12px;
	line-height: 1.9;
	color: #999;
	margin: 0;
	padding: 0;
	word-break: break-word;
}
.pj-bc a { color: #888; box-shadow: none; text-decoration: none; }
.pj-bc a:hover { color: #f0437e; text-decoration: underline; }
/* AIOSEOが出す区切り文字と、フォールバック側の区切り文字の両方に余白を与える */
.pj-bc .aioseo-breadcrumb-separator,
.pj-bc .pj-bc__sep { margin: 0 .5em; color: #c8c8c8; }
.pj-bc .aioseo-breadcrumbs { display: inline; }
.pj-bc .aioseo-breadcrumb { display: inline; }
/* 現在地（リンクでない最後の項目）は少しだけ濃く */
.pj-bc .aioseo-breadcrumb:last-child,
.pj-bc > span:last-child { color: #666; }

/* 記事ページだけ幅を狭めないこと。
   .container は margin:0 auto なので max-width を縮めると中央寄せになり、
   その下の本文カード（.content-area.layout-full はコンテナ全幅）と
   左端がズレる。一覧ページと同じく、コンテナの幅そのままで揃える */

@media only screen and (max-width: 767px) {
	.pj-bc-wrap { padding: 10px 0 20px; }
	.pj-bc { font-size: 11px; }
}

/* ===========================================================
   記事一覧のページ送り（1 / 2 / 3）
   functions.php の airi_child_numbered_pagination() が出力する
   =========================================================== */
.pj-pagination {
	margin: 56px 0 24px;
	clear: both;
}

.pj-pagination .page-numbers {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pj-pagination .page-numbers li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.pj-pagination li .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	color: #333;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.pj-pagination li a.page-numbers:hover,
.pj-pagination li a.page-numbers:focus {
	background: #f5f5f5;
	border-color: #999;
	color: #000;
}

.pj-pagination li .page-numbers.current {
	background: #111;
	border-color: #111;
	color: #fff;
}

.pj-pagination li .page-numbers.dots {
	border-color: transparent;
	min-width: 24px;
	padding: 0 4px;
	font-weight: 400;
	color: #999;
}

.pj-pagination li .prev,
.pj-pagination li .next {
	font-weight: 400;
}

@media (max-width: 480px) {
	.pj-pagination .page-numbers {
		gap: 6px;
	}

	.pj-pagination li .page-numbers {
		min-width: 40px;
		height: 40px;
		padding: 0 9px;
		font-size: 14px;
	}

	/* 狭い画面では前へ・次への文字を隠して矢印だけにする */
	.pj-pagination li .prev,
	.pj-pagination li .next {
		font-size: 0;
	}

	.pj-pagination li .prev::before {
		content: "\2039";
		font-size: 20px;
	}

	.pj-pagination li .next::before {
		content: "\203A";
		font-size: 20px;
	}
}

/* ===========================================================
   動画で紹介したもの（概要欄のアフィリエイトリンク）
   autopost.py の b_affiliate() が記事末・YouTube導線の直前に出力する
   =========================================================== */
.yt-aff {
	max-width: 820px;
	margin: 3em auto 2.4em;
	padding: 1.4em 1.6em 1.2em;
	border: 1px solid #e6e6e6;
	border-radius: 10px;
	background: #fafafa;
}

.yt-aff__label {
	margin: 0 0 .8em;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .12em;
	color: #888;
}

.yt-aff__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.yt-aff__list li {
	margin: 0;
	padding: .62em 0;
	border-top: 1px solid #ececec;
	list-style: none;
}

.yt-aff__list li:first-child {
	border-top: 0;
	padding-top: 0;
}

.yt-aff__list a {
	display: inline-block;
	color: #191919;
	font-size: 15px;
	line-height: 1.7;
	font-weight: 700;
	text-decoration: none;
	box-shadow: none;
}

.yt-aff__list a:hover,
.yt-aff__list a:focus {
	color: #f0437e;
	text-decoration: underline;
}

.yt-aff__list a::after {
	content: " ↗";
	font-size: 12px;
	color: #bbb;
}

.yt-aff__pr {
	margin: 1em 0 0;
	padding-top: .9em;
	border-top: 1px solid #ececec;
	font-size: 11.5px;
	line-height: 1.8;
	color: #999;
}

@media only screen and (max-width: 767px) {
	.yt-aff {
		margin: 2.4em 0 2em;
		padding: 1.2em 1.2em 1em;
	}

	.yt-aff__list a { font-size: 14px; }
}

/* ===========================================================
   撮影機材一覧ページ（/equipment/ · template-aff.php）
   =========================================================== */
.pj-equip {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 15px 60px;
}

.pj-equip__head { margin: 0 0 48px; text-align: center; }

.pj-equip__title {
	margin: 0 0 .7em;
	font-size: 2.1rem;
	font-weight: 700;
	line-height: 1.4;
}

.pj-equip__title span {
	display: block;
	margin-bottom: .25em;
	font-family: Anton, sans-serif;
	font-size: .8em;
	letter-spacing: .06em;
	color: #f0437e;
}

.pj-equip__lead {
	max-width: 42em;
	margin: 0 auto 1.6em;
	font-size: 1rem;
	line-height: 2;
	color: #444;
	text-align: left;
}

.pj-equip__pr {
	max-width: 42em;
	margin: 0 auto;
	padding: .9em 1.2em;
	border: 1px solid #ececec;
	border-radius: 8px;
	background: #fafafa;
	font-size: 12px;
	line-height: 1.9;
	color: #888;
	text-align: left;
}

/* --- カテゴリー内リンク --- */
.pj-equip__nav { margin: 0 0 56px; }

.pj-equip__nav ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pj-equip__nav li { margin: 0; list-style: none; }

.pj-equip__nav a {
	display: inline-block;
	padding: 8px 16px;
	border: 1px solid #ddd;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	color: #333;
	text-decoration: none;
	box-shadow: none;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.pj-equip__nav a:hover,
.pj-equip__nav a:focus { background: #111; border-color: #111; color: #fff; }

/* --- セクション --- */
.pj-equip__section { margin: 0 0 64px; scroll-margin-top: 80px; }

.pj-equip__h2 {
	margin: 0 0 .5em;
	padding-bottom: .45em;
	border-bottom: 2px solid #111;
	font-size: 1.4rem;
	font-weight: 700;
}

.pj-equip__seclead {
	margin: 0 0 1.8em;
	font-size: .92rem;
	line-height: 1.95;
	color: #777;
}

/* --- 商品カード --- */
.pj-equip__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pj-equip__card {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 18px;
	border: 1px solid #ececec;
	border-radius: 10px;
	background: #fff;
	list-style: none;
	transition: transform .18s ease, box-shadow .18s ease;
}

.pj-equip__card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 32px rgba(61, 82, 96, .14);
}

.pj-equip__thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 170px;
	margin-bottom: 16px;
	box-shadow: none;
}

.pj-equip__thumb img {
	max-width: 100%;
	max-height: 170px;
	width: auto;
	height: auto;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.pj-equip__body { display: flex; flex-direction: column; flex: 1; }

.pj-equip__name { margin: 0 0 .6em; font-size: 14px; line-height: 1.7; font-weight: 700; }

.pj-equip__name a { color: #191919; text-decoration: none; box-shadow: none; }
.pj-equip__name a:hover { color: #f0437e; text-decoration: underline; }

.pj-equip__note {
	margin: 0 0 1.1em;
	font-size: 12.5px;
	line-height: 1.85;
	color: #888;
}

/* 主ボタンは日本、右に小さくアメリカ。ASINは国ごとに別なので
   US側は商品ページか検索結果か、テンプレート側で出し分けている */
.pj-equip__buy {
	display: flex;
	gap: 6px;
	margin: auto 0 0;
}

.pj-equip__buy-jp {
	flex: 1;
	display: block;
	padding: 10px 12px;
	border: 1px solid #111;
	border-radius: 6px;
	background: #111;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	box-shadow: none;
	transition: background-color .15s ease, border-color .15s ease;
}

.pj-equip__buy-jp:hover,
.pj-equip__buy-jp:focus { background: #f0437e; border-color: #f0437e; color: #fff; }

.pj-equip__buy-us {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 46px;
	padding: 0 10px;
	border: 1px solid #ddd;
	border-radius: 6px;
	background: #fff;
	color: #888;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	box-shadow: none;
	transition: border-color .15s ease, color .15s ease;
}

.pj-equip__buy-us:hover,
.pj-equip__buy-us:focus { border-color: #111; color: #111; }

/* --- 下部の導線 --- */
.pj-equip__cta {
	margin: 56px 0 0;
	padding: 1.6em 1.8em;
	border-radius: 10px;
	background: #f7f7f7;
}

.pj-equip__cta p { margin: 0; font-size: .95rem; line-height: 2; color: #444; }

@media only screen and (max-width: 991px) {
	.pj-equip__grid { grid-template-columns: repeat(2, 1fr); }
}

@media only screen and (max-width: 575px) {
	.pj-equip__title { font-size: 1.6rem; }
	.pj-equip__nav { margin-bottom: 40px; }
	.pj-equip__section { margin-bottom: 48px; }
	.pj-equip__grid { grid-template-columns: 1fr; gap: 16px; }
	.pj-equip__card { flex-direction: row; gap: 14px; padding: 14px; }
	.pj-equip__thumb { flex: 0 0 96px; height: 96px; margin-bottom: 0; }
	.pj-equip__thumb img { max-height: 96px; }
	.pj-equip__cta { padding: 1.3em 1.2em; }
}

/* ===========================================================
   前後の記事（単一投稿の下）
   functions.php の airi_child_adjacent_post_link() が出力する
   =========================================================== */
.post-navigation {
	max-width: 1440px;
	margin: 56px auto 0;
	padding: 0 24px;
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.post-navigation .nav-previous,
.post-navigation .nav-next { min-width: 0; }

.pj-adjacent {
	display: flex;
	gap: 14px;
	align-items: center;
	height: 100%;
	padding: 14px;
	border: 1px solid #ececec;
	border-radius: 10px;
	background: #fff;
	color: #191919;
	text-decoration: none;
	box-shadow: none;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.pj-adjacent:hover,
.pj-adjacent:focus {
	transform: translateY(-2px);
	border-color: #ddd;
	box-shadow: 0 10px 26px rgba(61, 82, 96, .14);
	color: #191919;
}

/* 次の記事は右寄せにして、前後の向きが見た目で分かるようにする */
.pj-adjacent--next { flex-direction: row-reverse; text-align: right; }

.pj-adjacent__thumb {
	flex: 0 0 116px;
	display: block;
	overflow: hidden;
	border-radius: 6px;
	background: #f3f3f3;
}

.pj-adjacent__thumb img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

/* アイキャッチが無い記事でも横幅が崩れないよう、空の枠を保つ */
.pj-adjacent__thumb:empty {
	aspect-ratio: 16 / 9;
	background: #f3f3f3;
}

.pj-adjacent__body { min-width: 0; }

.pj-adjacent__label {
	display: block;
	margin-bottom: .45em;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .1em;
	color: #aaa;
}

.pj-adjacent__title {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.7;
	color: #191919;
}

.pj-adjacent:hover .pj-adjacent__title { color: #f0437e; }

@media only screen and (max-width: 767px) {
	.post-navigation { margin-top: 40px; }
	.post-navigation .nav-links { grid-template-columns: 1fr; gap: 12px; }

	/* 縦並びになったら、次の記事も左揃えに戻す */
	.pj-adjacent--next { flex-direction: row; text-align: left; }
	.pj-adjacent__thumb { flex-basis: 96px; }
	.pj-adjacent__title { -webkit-line-clamp: 2; font-size: 13px; }
}

/* 0件のときの空の件数表示を消す（functions.php で中身を空にしている） */
.comments-number:empty { display: none; }

/* ===========================================================
   あわせて読みたい（記事末の内部リンク）
   autopost.py の b_related() が出力する
   =========================================================== */
.pj-rel {
	max-width: 820px;
	margin: 3em auto 2.4em;
	padding: 1.5em 1.6em 1.2em;
	border: 1px solid #ececec;
	border-radius: 10px;
	background: #fafafa;
}

.pj-rel__label {
	margin: 0 0 1em;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .12em;
	color: #888;
}

.pj-rel__list { margin: 0; padding: 0; list-style: none; }

.pj-rel__item { margin: 0; padding: 0; list-style: none; }
.pj-rel__item + .pj-rel__item { margin-top: .9em; padding-top: .9em; border-top: 1px solid #ececec; }

.pj-rel__item a {
	display: flex;
	gap: 14px;
	align-items: center;
	color: #191919;
	text-decoration: none;
	box-shadow: none;
}

.pj-rel__thumb {
	flex: 0 0 104px;
	display: block;
	overflow: hidden;
	border-radius: 6px;
	background: #eee;
}

.pj-rel__thumb img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.pj-rel__title {
	min-width: 0;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.7;
}

.pj-rel__item a:hover .pj-rel__title { color: #f0437e; text-decoration: underline; }

@media only screen and (max-width: 767px) {
	.pj-rel { margin: 2.4em 0 2em; padding: 1.2em 1.2em 1em; }
	.pj-rel__thumb { flex-basis: 88px; }
	.pj-rel__title { font-size: 13px; }
}

/* ===========================================================
   関連記事（コメントの下・4件）
   functions.php の airi_child_related_posts() が出力する
   =========================================================== */
/* 記事本文は読みやすさのため1040pxに抑えているが、
   関連記事はサムネイルを見せたいので画面幅に追従させる */
.pj-related {
	max-width: 1440px;
	margin: 56px auto 0;
	padding: 40px 24px 0;
	border-top: 1px solid #ececec;
}

.pj-related__title {
	margin: 0 0 1.6em;
	font-size: 1.5rem;
	font-weight: 700;
	text-align: center;
}

.pj-related__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pj-related__item { margin: 0; padding: 0; list-style: none; }

.pj-related__item a {
	display: block;
	color: #191919;
	text-decoration: none;
	box-shadow: none;
}

.pj-related__thumb {
	display: block;
	overflow: hidden;
	margin-bottom: .8em;
	border-radius: 8px;
	background: #f3f3f3;
	aspect-ratio: 16 / 9;
}

.pj-related__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .3s ease;
}

.pj-related__item a:hover .pj-related__thumb img { transform: scale(1.05); }

.pj-related__name {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.8;
}

.pj-related__item a:hover .pj-related__name { color: #f0437e; }

.pj-related__date {
	display: block;
	margin-top: .5em;
	font-size: 11px;
	letter-spacing: .08em;
	color: #aaa;
}

@media only screen and (max-width: 991px) {
	.pj-related__grid { grid-template-columns: repeat(2, 1fr); }
}

@media only screen and (max-width: 575px) {
	.pj-related { margin-top: 40px; padding-top: 32px; }
	.pj-related__grid { gap: 16px; }
	.pj-related__name { -webkit-line-clamp: 2; font-size: 13px; }
}