
:root {
  --green: #0f4f33;
  --green-dark: #0a3524;
  --green-soft: #e8f2ec;
  --gold: #c9a24a;
  --gold-soft: #f7edcf;
  --cream: #faf7ed;
  --paper: #fffdf7;
  --text: #1d241f;
  --muted: #68766d;
  --border: #e2dbc5;
  --shadow: 0 16px 40px rgba(15, 79, 51, .10);
  --radius: 18px;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(circle at 10% 0%, rgba(201, 162, 74, .16), transparent 30%), linear-gradient(180deg, #fffdf7 0%, var(--cream) 100%);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
  line-height: 1.8;
  letter-spacing: .02em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255, 253, 247, .94); border-bottom: 1px solid rgba(226, 219, 197, .9); backdrop-filter: blur(12px); }
.header-inner { width: min(100% - 32px, var(--max)); margin: 0 auto; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; flex-direction: column; gap: 2px; font-weight: 900; color: var(--green); line-height: 1.2; letter-spacing: .05em; }
.logo span { font-size: 12px; font-weight: 800; color: var(--gold); letter-spacing: .12em; }
.global-nav { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 800; color: var(--green-dark); }
.global-nav a:hover { color: var(--gold); }
.header-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 18px; border-radius: 999px; background: var(--green); color: #fff; box-shadow: 0 10px 22px rgba(15, 79, 51, .22); }
.page-hero { width: min(100% - 32px, var(--max)); margin: 34px auto 0; padding: 42px clamp(24px, 5vw, 56px); border-radius: 20px; color: #fff; background: linear-gradient(135deg, rgba(10, 53, 36, .96), rgba(20, 103, 66, .92)), radial-gradient(circle at 80% 0%, rgba(201, 162, 74, .42), transparent 34%); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 240px; height: 240px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 12px; color: var(--gold-soft); font-size: 13px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 32px; height: 2px; background: var(--gold); }
.page-hero h1 { margin: 0; font-size: clamp(30px, 5vw, 48px); line-height: 1.35; letter-spacing: .05em; }
.page-hero p { max-width: 760px; margin: 16px 0 0; color: rgba(255, 255, 255, .88); font-size: 15px; }
.breadcrumb { width: min(100% - 32px, var(--max)); margin: 18px auto 0; color: var(--muted); font-size: 13px; }
.breadcrumb a { color: var(--green); font-weight: 800; }
.layout { width: min(100% - 32px, var(--max)); margin: 28px auto 64px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 34px; align-items: start; }
.article-list { display: grid; gap: 20px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin: 0 0 18px; padding-bottom: 12px; border-bottom: 2px solid rgba(15, 79, 51, .12); }
.section-head h2 { margin: 0; color: var(--green-dark); font-size: 24px; line-height: 1.4; }
.section-head p { margin: 0; color: var(--muted); font-size: 13px; }
.filter-panel { margin-bottom: 22px; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: rgba(255, 253, 247, .96); box-shadow: 0 10px 24px rgba(15, 79, 51, .06); }
.filter-panel h2 { margin: 0 0 12px; color: var(--green-dark); font-size: 20px; }
.filter-group { margin-top: 14px; }
.filter-label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 13px; font-weight: 900; }
.filter-buttons { display: flex; flex-wrap: wrap; gap: 9px; }
.filter-btn { appearance: none; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--green-dark); cursor: pointer; font: inherit; font-size: 13px; font-weight: 800; padding: 7px 13px; transition: .2s ease; }
.filter-btn:hover, .filter-btn.is-active { border-color: var(--green); background: var(--green); color: #fff; }
.article-card { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; min-height: 170px; padding: 18px; background: rgba(255, 253, 247, .94); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 10px 24px rgba(15, 79, 51, .06); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.article-card[hidden] { display: none; }
.article-card:hover { transform: translateY(-3px); border-color: rgba(201, 162, 74, .65); box-shadow: 0 18px 38px rgba(15, 79, 51, .12); }
.thumb { min-height: 134px; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, rgba(15, 79, 51, .82), rgba(201, 162, 74, .55)), repeating-linear-gradient(-45deg, rgba(255,255,255,.16) 0 10px, transparent 10px 20px); position: relative; }
.thumb::before { content: "相続土地"; position: absolute; inset: auto 14px 14px 14px; color: rgba(255, 255, 255, .9); font-size: 13px; font-weight: 900; letter-spacing: .08em; }
.thumb:has(img)::before { display: none; }
.thumb img { width: 100%; height: 100%; min-height: 134px; object-fit: cover; }
.article-body { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.meta { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-bottom: 10px; color: var(--muted); font-size: 13px; font-weight: 800; }
.category { display: inline-flex; align-items: center; gap: 6px; color: var(--green); }
.category::before { content: ""; width: 4px; height: 18px; border-radius: 99px; background: var(--gold); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tag { display: inline-flex; align-items: center; border-radius: 999px; background: var(--green-soft); color: var(--green-dark); font-size: 12px; font-weight: 800; padding: 3px 9px; }
.article-card h3 { margin: 0; color: var(--green-dark); font-size: 20px; line-height: 1.55; }
.article-card p { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.sidebar { display: grid; gap: 22px; position: sticky; top: 96px; }
.side-box { padding: 24px; border-radius: var(--radius); background: rgba(255, 253, 247, .96); border: 1px solid var(--border); box-shadow: 0 12px 28px rgba(15, 79, 51, .08); }
.side-box h2, .side-box h3 { margin: 0 0 16px; color: var(--green-dark); font-size: 20px; line-height: 1.45; }
.side-cta { color: #fff; background: linear-gradient(150deg, rgba(10, 53, 36, .96), rgba(15, 79, 51, .92)), radial-gradient(circle at 80% 10%, rgba(201, 162, 74, .5), transparent 38%); border-color: rgba(255, 255, 255, .18); overflow: hidden; }
.side-cta h2 { color: #fff; }
.side-cta p { margin: 0 0 18px; color: rgba(255, 255, 255, .84); font-size: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; padding: 0 18px; border-radius: 999px; background: var(--gold); color: #fff; font-weight: 900; text-align: center; box-shadow: 0 12px 26px rgba(0, 0, 0, .16); }
.category-list, .ranking-list, .mini-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.category-list li + li { border-top: 1px solid var(--border); }
.category-list a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 13px 0; color: var(--green-dark); font-size: 14px; font-weight: 900; }
.category-list a::after { content: "›"; color: var(--gold); font-size: 20px; line-height: 1; }
.ranking-list, .mini-list { gap: 16px; }
.ranking-list a, .mini-list a { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: start; }
.rank-no { display: inline-flex; justify-content: center; align-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--green-soft); color: var(--green); font-size: 18px; font-weight: 900; font-family: Georgia, serif; }
.ranking-title { color: var(--green-dark); font-size: 14px; font-weight: 900; line-height: 1.6; }
.ranking-cat { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; font-weight: 800; }
.bottom-cta { width: min(100% - 32px, var(--max)); margin: 0 auto 60px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: 24px; box-shadow: var(--shadow); }
.bottom-cta__item { min-height: 260px; padding: clamp(28px, 4vw, 48px); color: #fff; background: linear-gradient(135deg, rgba(10, 53, 36, .92), rgba(15, 79, 51, .78)); display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.bottom-cta__item:nth-child(2) { background: linear-gradient(135deg, rgba(35, 62, 49, .92), rgba(201, 162, 74, .72)); }
.bottom-cta__item::after { content: ""; position: absolute; right: -44px; bottom: -44px; width: 170px; height: 170px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%; }
.bottom-cta .label { color: var(--gold-soft); font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.bottom-cta h2 { margin: 10px 0 12px; font-size: clamp(24px, 3.2vw, 34px); line-height: 1.4; }
.bottom-cta p { margin: 0 0 22px; color: rgba(255, 255, 255, .86); font-size: 14px; }
.bottom-cta a { display: inline-flex; align-items: center; justify-content: center; width: fit-content; min-height: 46px; padding: 0 22px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--green); font-weight: 900; }
.site-footer { background: var(--green-dark); color: rgba(255, 255, 255, .86); padding: 44px 0 28px; }
.footer-inner { width: min(100% - 32px, var(--max)); margin: 0 auto; display: grid; grid-template-columns: 1.2fr 2fr; gap: 32px; }
.footer-logo { color: #fff; font-size: 22px; font-weight: 900; letter-spacing: .04em; }
.footer-logo span { display: block; margin-top: 6px; color: var(--gold-soft); font-size: 12px; letter-spacing: .10em; }
.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 24px; font-size: 13px; font-weight: 800; }
.footer-nav a { color: rgba(255, 255, 255, .84); }
.copyright { width: min(100% - 32px, var(--max)); margin: 30px auto 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .54); font-size: 12px; }
.article-page { width: min(100% - 32px, 920px); margin: 28px auto 34px; padding: clamp(22px, 4vw, 46px); background: rgba(255, 253, 247, .96); border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow); }
.article-page h1 { margin: 0; color: var(--green-dark); font-size: clamp(30px, 5vw, 46px); line-height: 1.35; letter-spacing: .04em; }
.article-page .lead { margin: 20px 0 0; color: var(--muted); font-size: 16px; }
.article-cover { margin: 28px 0; border-radius: 20px; overflow: hidden; background: var(--green-soft); }
.article-cover img { width: 100%; max-height: 460px; object-fit: cover; }
.article-content { margin-top: 28px; }
.article-content h2 { margin: 2.2em 0 .65em; padding-left: 14px; border-left: 5px solid var(--gold); color: var(--green-dark); font-size: 27px; line-height: 1.45; }
.article-content h3 { margin: 1.9em 0 .5em; color: var(--green-dark); font-size: 22px; line-height: 1.5; }
.article-content p, .article-content li { color: #29332d; font-size: 16px; }
.article-content a { color: var(--green); font-weight: 800; text-decoration: underline; text-decoration-color: rgba(201, 162, 74, .55); text-underline-offset: 4px; }
.article-content blockquote { margin: 1.5em 0; padding: 18px 22px; background: var(--green-soft); border-left: 4px solid var(--green); border-radius: 14px; color: var(--green-dark); }
.article-content code { padding: .15em .35em; border-radius: 6px; background: #f0ead7; }
.article-content pre { overflow: auto; padding: 18px; border-radius: 14px; background: #0a3524; color: #fff; }
.article-content figure { margin: 2em 0; }
.article-content figure img { width: 100%; border-radius: 16px; box-shadow: 0 12px 26px rgba(15, 79, 51, .10); }
.article-content figcaption { margin-top: 8px; color: var(--muted); font-size: 13px; text-align: center; }
.article-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; background: #fff; }
.article-content th, .article-content td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; }
.article-content th { background: var(--green-soft); color: var(--green-dark); }
.article-cta { width: min(100% - 32px, 920px); margin: 0 auto 34px; }
.article-cta__inner { position: relative; overflow: hidden; padding: clamp(26px, 4vw, 42px); border-radius: 24px; color: #fff; background: linear-gradient(135deg, rgba(10, 53, 36, .97), rgba(15, 79, 51, .9)), radial-gradient(circle at 86% 12%, rgba(201, 162, 74, .52), transparent 34%); box-shadow: var(--shadow); }
.article-cta__inner::after { content: ""; position: absolute; right: -54px; bottom: -72px; width: 210px; height: 210px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%; }
.article-cta__label { margin: 0 0 10px; color: var(--gold-soft); font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.article-cta h2 { position: relative; z-index: 1; margin: 0 0 12px; font-size: clamp(24px, 3vw, 32px); line-height: 1.45; letter-spacing: .04em; }
.article-cta__text { position: relative; z-index: 1; max-width: 720px; margin: 0 0 20px; color: rgba(255, 255, 255, .88); font-size: 15px; }
.proof-frame { position: relative; z-index: 1; display: block; width: min(100%, 540px); height: 62px; margin: 0 0 16px; border: 0; border-radius: 999px; background: transparent; overflow: hidden; }
.article-cta__button { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; min-width: 180px; min-height: 48px; padding: 0 28px; border-radius: 999px; background: var(--gold); color: #fff; font-weight: 900; line-height: 1; text-align: center; white-space: nowrap; box-sizing: border-box; box-shadow: 0 12px 26px rgba(0, 0, 0, .16); }
.article-cta__button:hover { filter: brightness(1.04); transform: translateY(-1px); }
.related-section { width: min(100% - 32px, 920px); margin: 0 auto 60px; display: grid; gap: 24px; }
.related-box { padding: 24px; border: 1px solid var(--border); border-radius: 22px; background: rgba(255, 253, 247, .96); box-shadow: 0 10px 24px rgba(15, 79, 51, .06); }
.related-box h2 { margin: 0 0 16px; color: var(--green-dark); font-size: 22px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card { display: block; padding: 16px; border-radius: 16px; border: 1px solid var(--border); background: #fff; }
.related-card h3 { margin: 8px 0 0; color: var(--green-dark); font-size: 15px; line-height: 1.55; }
.related-card p { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.empty-message { color: var(--muted); font-size: 14px; }
@media (max-width: 960px) { .global-nav { display: none; } .layout { grid-template-columns: 1fr; } .sidebar { position: static; grid-template-columns: 1fr 1fr; } .side-cta { grid-column: 1 / -1; } .related-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .header-inner { min-height: 66px; } .page-hero { margin-top: 20px; padding: 30px 22px; border-radius: 16px; } .article-card { grid-template-columns: 1fr; gap: 14px; padding: 14px; } .thumb { min-height: 190px; } .section-head { display: block; } .section-head p { margin-top: 4px; } .sidebar, .bottom-cta, .footer-inner { grid-template-columns: 1fr; } .bottom-cta__item { min-height: 220px; } .proof-frame { width: 100%; height: 60px; margin-bottom: 14px; } .article-cta__button { width: 100%; padding-inline: 24px; } .footer-nav { grid-template-columns: 1fr 1fr; } }
