/* サイト全体の見た目（ヘッダー・見出し・記事タイトル・記事カード・フッター）
   基調：深い緑 #2f4a3c ／ 差し色：オレンジ #c9822e */
:root { --rsx-green: #2f4a3c; --rsx-green-d: #24392e; --rsx-orange: #c9822e; --rsx-line: #e2d9cb; --rsx-ink: #2b2f2a; }

/* ---- ヘッダー：濃い帯にして高さを詰める ---- */
body #header-container, body #header-container .header-container-in { background: var(--rsx-green); }
body #header.header { background: var(--rsx-green); }
body #header .header-in { padding-top: 14px; padding-bottom: 12px; min-height: 0; }
body #header .logo-header, body #header .logo { padding: 0; margin: 0; }
body #header .site-name-text, body #header .site-name-text-link, body #header .logo-text a { color: #fff; font-weight: 800; font-size: 22px; letter-spacing: .04em; text-decoration: none; }
body #header .tagline { color: #d9e4dc; }
body #navi, body #navi .navi-in, body #navi .navi-in > ul { background: var(--rsx-green-d); }
body #navi .navi-in > ul > li > a { color: #fff; font-weight: 700; }
body #navi .navi-in > ul > li > a .item-label { color: #fff; font-weight: 700; }
body #navi .navi-in > ul > li > a:hover { background: var(--rsx-green); box-shadow: inset 0 -3px 0 var(--rsx-orange); }
body #navi .navi-in > ul .sub-menu { background: var(--rsx-green-d); }

/* ---- 記事・ページのタイトル：大きく太く、下に色の線 ---- */
body .article h1.entry-title, body h1.archive-title, body .rs-archive-title { font-size: 1.75em; font-weight: 800; line-height: 1.45; color: var(--rsx-ink); padding: 0 0 .5em; margin: .2em 0 .8em; position: relative; letter-spacing: .01em; background: none; border: 0; }
body .article h1.entry-title::after, body h1.archive-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--rsx-green) 0 72px, var(--rsx-orange) 72px 108px, #ebe4d8 108px 100%); }

/* ---- 本文の見出し：左に色の線 ---- */
body .article .entry-content h2, body .rs .rs-sec > h2 { background: #f6f3ec; border: 0; border-left: 6px solid var(--rsx-green); border-radius: 0 8px 8px 0; font-size: 1.32em; font-weight: 800; color: var(--rsx-ink); padding: .65em .9em; line-height: 1.5; box-shadow: 0 1px 0 var(--rsx-line); }
body .article .entry-content h3, body .rs h3 { border: 0; border-bottom: 2px solid var(--rsx-line); padding: .2em 0 .35em; font-size: 1.12em; font-weight: 800; color: var(--rsx-ink); position: relative; background: none; }
body .article .entry-content h3::after, body .rs h3::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 3.2em; height: 2px; background: var(--rsx-orange); }
body .rs-faq h3 { border-bottom: 0; padding-left: 1.6em; }
body .rs-faq h3::after { display: none; }
body .rs-faq h3::before { content: "Q"; position: absolute; left: 0; top: .1em; color: var(--rsx-orange); font-weight: 900; }

/* ---- 記事一覧のカード：白いカードに影、タイトルを太く大きく ---- */
body .list .entry-card-wrap, body .related-list .related-entry-card-wrap { background: #fff; border: 1px solid var(--rsx-line); border-radius: 12px; padding: 14px; margin-bottom: 18px; box-shadow: 0 1px 2px rgba(60, 40, 10, .06), 0 6px 18px rgba(60, 40, 10, .09); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
body .list .entry-card-wrap:hover, body .related-list .related-entry-card-wrap:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(60, 40, 10, .08), 0 12px 28px rgba(60, 40, 10, .16); border-color: var(--rsx-orange); background: #fff; }
body .entry-card-title, body .related-entry-card-title { font-size: 1.18em; font-weight: 800; line-height: 1.5; color: var(--rsx-ink); letter-spacing: .01em; }
body .entry-card-wrap:hover .entry-card-title { color: var(--rsx-green); }
body .entry-card-snippet { color: #5d5a54; line-height: 1.7; margin-top: .35em; }
body .entry-card-thumb img, body .related-entry-card-thumb img { border-radius: 8px; }
body .entry-card-meta { color: #7a756c; }
body .cat-label { background: var(--rsx-green); border: 0; border-radius: 0 0 6px 0; padding: 3px 8px; font-weight: 700; font-size: 11px; }

/* ---- トップの新着記事カードのタイトル ---- */
body .rsp-card-t { font-weight: 800; color: var(--rsx-ink); }
body .rsp-head h2 { font-weight: 800; }

/* ---- サイドバー ---- */
body #sidebar .widget { background: #fff; border: 1px solid var(--rsx-line); border-radius: 12px; padding: 16px; box-shadow: 0 1px 2px rgba(60, 40, 10, .05), 0 4px 12px rgba(60, 40, 10, .06); }
/* 子テーマが英語の見出し（Recent Posts）を文字サイズ0で隠し、::after で日本語を出しているので、h2 本体の大きさ・余白は触らない */
body #sidebar h3, body #sidebar .widget-title { background: none; border: 0; border-left: 5px solid var(--rsx-green); padding: .1em 0 .1em .6em; font-size: 1.02em; font-weight: 800; color: var(--rsx-ink); margin-bottom: .7em; }
body #sidebar h2.wp-block-heading::after { font-weight: 800; color: var(--rsx-ink); border-left: 5px solid var(--rsx-green); padding-left: .55em; }
body #sidebar a { font-weight: 600; }
body #sidebar a:hover { color: var(--rsx-orange); }

/* ---- フッター ---- */
body #footer, body .footer { background: var(--rsx-green-d); color: #dfe7e1; }
body #footer a { color: #fff; }
body #footer .source-org, body #footer .copyright { color: #dfe7e1; }
body #footer .rs-footer-info { color: #fff; }

@media screen and (max-width: 834px) {
	body #header .site-name-text, body #header .logo-text a { font-size: 18px; }
	body .article h1.entry-title, body h1.archive-title { font-size: 1.4em; }
	body .article .entry-content h2, body .rs .rs-sec > h2 { font-size: 1.18em; }
	body .entry-card-title { font-size: 1.05em; }
}

/* ---- 駅・比較・物件・固定ページでは、テーマ標準のSNSボタン・フォロー・関連記事・投稿者欄を出さない ---- */
body.single-station .sns-share, body.single-station .sns-follow, body.single-station #related-entries, body.single-station .pager-post-navi, body.single-station .author-info, body.single-station .footer-meta, body.single-station .date-tags,
body.single-rs_guide .sns-share, body.single-rs_guide .sns-follow, body.single-rs_guide .pager-post-navi, body.single-rs_guide .author-info, body.single-rs_guide .footer-meta,
body.single-rs_property .sns-share, body.single-rs_property .sns-follow, body.single-rs_property #related-entries, body.single-rs_property .pager-post-navi, body.single-rs_property .author-info, body.single-rs_property .footer-meta, body.single-rs_property .date-tags,
body.page .sns-share, body.page .sns-follow, body.page .author-info, body.page .footer-meta, body.page .date-tags,
body.single-post .sns-follow, body.post-type-archive-station .sns-follow { display: none !important; }

/* サイドバーの案内 */
.rs-side-t { font-weight: 800; border-left: 5px solid #2f4a3c; padding-left: .55em; margin: 0 0 .6em; }
.rs-side-list { list-style: none; margin: 0 0 1.2em; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .35em .8em; }
.rs-side-list li { margin: 0; }
.rs-side-list a { font-weight: 600; text-decoration: none; }
.rs-side-cta a { display: block; text-align: center; background: #c9822e; color: #fff !important; font-weight: 800; padding: .8em; border-radius: 8px; text-decoration: none; }
