@charset "UTF-8";

/* ================================================================
   分野のサイト用のスタイル（templates/site_base.html が読み込む）
   lp-style.css の部品の見た目を、落ち着いた配色と余白に上書きする。
   指定は全部 body.site-layout の下に置き、LPだけのサイトには効かせない。
   ================================================================ */

body.site-layout {
    --ink: #1c2b3a;
    --ink-soft: #566573;
    --line: #dde4ea;
    --bg-soft: #f4f7fa;
    --brand: #0b4f6c;
    --brand-dark: #083a50;
    --accent: #1f9bb5;
    --accent-soft: #e8f4f7;
    --link: #0b63a5;
    /* 薄い地色と線（サイトごとに替えられるように変数にしてある。下の「サイトごとの配色」） */
    --hero-from: #e6f1f6;
    --hero-mid: #f3f8fb;
    --tint-1: #eef7fa;
    --tint-2: #e2f0f5;
    --tint-3: #f2f7fb;
    --tint-line: #cfe5ec;
    --tint-line-2: #cfe0ec;
    --footer-bg: #12283a;

    background: #fff;
    color: var(--ink);
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", Meiryo, sans-serif;
    font-size: 16px;
    line-height: 1.9;
}

/* サイトごとの配色。指定のないサイトは、上の既定（青）のまま */
body.site-layout.site-fudosan {
    --brand: #1d5c45;
    --brand-dark: #143f30;
    --accent: #2f9d74;
    --accent-soft: #e8f5ee;
    --hero-from: #e2f1e8;
    --hero-mid: #f2f9f5;
    --tint-1: #eef8f2;
    --tint-2: #dff0e6;
    --tint-3: #f2f9f5;
    --tint-line: #cbe5d6;
    --tint-line-2: #cfe4d8;
    --footer-bg: #12261e;
}

body.site-layout.site-factoring {
    --brand: #283b78;
    --brand-dark: #1b2855;
    --accent: #3f66c4;
    --accent-soft: #ebf0fa;
    --hero-from: #e4eaf7;
    --hero-mid: #f2f5fb;
    --tint-1: #eef2fa;
    --tint-2: #e0e7f6;
    --tint-3: #f2f5fb;
    --tint-line: #cdd7ee;
    --tint-line-2: #d2daee;
    --footer-bg: #141c38;
}

body.site-layout a {
    color: var(--link);
}

body.site-layout .lp-container {
    max-width: none;
    padding: 0;
    background: #fff;
}

body.site-layout .site-inner {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ----------------------------------------------------------------
   ヘッダー（サイト名とメニュー）
   ---------------------------------------------------------------- */
body.site-layout .site-header {
    background: #fff;
    border-bottom: 1px solid var(--line);
}

body.site-layout .site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 70px;
}

body.site-layout .site-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--ink);
}

body.site-layout .site-brand:hover {
    text-decoration: none;
}

body.site-layout .site-brand img {
    width: 38px;
    height: 38px;
    display: block;
}

body.site-layout .site-brand__name {
    display: block;
    font-size: 1.18rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.25;
}

body.site-layout .site-brand__tagline {
    display: block;
    font-size: 0.7rem;
    color: var(--ink-soft);
    letter-spacing: 0.04em;
    line-height: 1.4;
}

body.site-layout .site-nav {
    display: flex;
    gap: 4px 24px;
    font-size: 0.9rem;
    font-weight: 600;
}

body.site-layout .site-nav a {
    color: var(--ink);
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

body.site-layout .site-nav a:hover {
    color: var(--brand);
    border-bottom-color: var(--brand);
    text-decoration: none;
}

/* ----------------------------------------------------------------
   入口の導入部
   ---------------------------------------------------------------- */
body.site-layout .site-hero {
    background: linear-gradient(135deg, var(--hero-from) 0%, var(--hero-mid) 55%, #fff 100%);
    border-bottom: 1px solid var(--line);
    padding: 60px 0 56px;
}

body.site-layout .site-hero__inner {
    display: flex;
    align-items: center;
    gap: 40px;
}

body.site-layout .site-hero__text {
    flex: 1 1 auto;
    min-width: 0;
}

body.site-layout .site-hero__art {
    flex: 0 0 300px;
}

body.site-layout .site-hero__art img {
    display: block;
    width: 100%;
    height: auto;
}

body.site-layout .site-hero__eyebrow {
    margin: 0 0 14px;
    color: var(--brand);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

body.site-layout .site-hero__title {
    margin: 0 0 18px;
    color: var(--ink);
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: 0.02em;
}

body.site-layout .site-hero__lead {
    margin: 0 0 28px;
    max-width: 620px;
    color: var(--ink-soft);
    font-size: 1.02rem;
    line-height: 2;
}

body.site-layout .site-hero__action {
    display: inline-block;
    padding: 13px 30px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.04em;
}

body.site-layout .site-hero__action:hover {
    background: var(--brand-dark);
    text-decoration: none;
}

/* ----------------------------------------------------------------
   記事の頭（現在地・見出し・日付）
   ---------------------------------------------------------------- */
body.site-layout .site-pagehead {
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
    padding: 26px 0 30px;
}

body.site-layout .site-pagehead .site-inner {
    max-width: 808px;
}

body.site-layout .site-breadcrumb {
    margin: 0 0 14px;
    color: var(--ink-soft);
    font-size: 0.8rem;
}

body.site-layout .site-breadcrumb__sep {
    margin: 0 8px;
    color: #9aa7b3;
}

body.site-layout .pr-label {
    margin: 0 0 14px;
}

body.site-layout .lp-header {
    margin: 0;
}

body.site-layout .lp-title {
    margin: 0;
    color: var(--ink);
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: 0.01em;
}

body.site-layout .site-pagehead__lead {
    margin: 12px 0 0;
    color: var(--ink-soft);
    font-size: 0.98rem;
    line-height: 1.9;
}

body.site-layout .site-dates {
    margin: 12px 0 0;
    color: var(--ink-soft);
    font-size: 0.82rem;
}

/* ----------------------------------------------------------------
   本文
   ---------------------------------------------------------------- */
body.site-layout .lp-content {
    max-width: 808px;
    margin: 0 auto;
    padding: 36px 24px 76px;
    line-height: 2;
}

body.site-layout .lp-content p {
    margin: 1.15em 0;
}

body.site-layout .lp-content h2 {
    position: relative;
    margin: 2.9em 0 1.1em;
    padding: 0 0 14px;
    background: none;
    border: none;
    border-bottom: 2px solid var(--line);
    border-radius: 0;
    color: var(--ink);
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.55;
}

body.site-layout .lp-content h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 76px;
    height: 2px;
    background: var(--brand);
}

body.site-layout .lp-content h3 {
    margin: 2.1em 0 0.8em;
    padding: 1px 0 1px 13px;
    background: none;
    border-left: 4px solid var(--accent);
    color: var(--ink);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.6;
}

/* 部品の中の小見出し（箇条書きや表の題）は、控えめな札にする */
body.site-layout .lp-content .checklist h3,
body.site-layout .lp-content .info-table__title,
body.site-layout .lp-content .sources h3,
body.site-layout .lp-content .page-links__title {
    margin: 0 0 10px;
    padding: 0;
    border: none;
    color: var(--brand);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

body.site-layout .heading-separator {
    display: none;
}

body.site-layout .marker-under {
    background: linear-gradient(transparent 64%, #ffe9a6 64%);
}

/* ----------------------------------------------------------------
   箇条書き
   ---------------------------------------------------------------- */
body.site-layout .checklist {
    margin: 1.7em 0;
    padding: 20px 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
}

body.site-layout .checklist__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

body.site-layout .checklist__list li {
    position: relative;
    margin: 0;
    padding: 5px 0 5px 28px;
    color: var(--ink);
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.8;
}

body.site-layout .checklist__list li::before {
    content: "✓";
    position: absolute;
    left: 3px;
    top: 5px;
    margin: 0;
    color: var(--accent);
    font-weight: 700;
}

body.site-layout .checklist--blue {
    background: var(--accent-soft);
    border: 1px solid var(--tint-line);
    border-left: 5px solid var(--brand);
    border-radius: 8px;
}

body.site-layout .checklist--blue .checklist__list li {
    font-weight: 600;
}

/* ----------------------------------------------------------------
   表
   ---------------------------------------------------------------- */
body.site-layout .info-table-wrapper {
    margin: 1.7em 0;
}

body.site-layout .info-table {
    border: 1px solid var(--line);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 10px;
    overflow: hidden;
}

body.site-layout .info-table th {
    width: 30%;
    padding: 14px 16px;
    background: var(--bg-soft);
    border: none;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: 0.92rem;
    text-align: left;
    vertical-align: top;
}

body.site-layout .info-table td {
    padding: 14px 16px;
    border: none;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
    line-height: 1.85;
    text-align: left;
}

body.site-layout .info-table tr:last-child th,
body.site-layout .info-table tr:last-child td {
    border-bottom: none;
}

body.site-layout .hikaku-table th,
body.site-layout .hikaku-table td {
    padding: 12px 10px;
    border-color: var(--line);
    line-height: 1.65;
}

body.site-layout .hikaku-table thead .highlight {
    background: var(--brand) !important;
    color: #fff !important;
}

body.site-layout .hikaku-table .highlight {
    background: var(--tint-1);
}

body.site-layout .hikaku-table tbody tr:nth-child(even) .highlight {
    background: var(--tint-2);
}

/* ----------------------------------------------------------------
   図
   ---------------------------------------------------------------- */
body.site-layout .eyecatch {
    margin: 1.9em 0;
}

body.site-layout .eyecatch img {
    display: block;
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
    border: 1px solid var(--line);
    border-radius: 12px;
}

/* ----------------------------------------------------------------
   目次
   ---------------------------------------------------------------- */
body.site-layout .site-toc {
    margin: 1.9em 0;
    padding: 20px 24px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 10px;
}

body.site-layout .site-toc__title {
    margin: 0 0 8px;
    color: var(--brand);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

body.site-layout .site-toc ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

body.site-layout .site-toc li {
    padding: 3px 0;
    font-size: 0.95rem;
    line-height: 1.7;
}

body.site-layout .site-toc a {
    color: var(--ink);
}

body.site-layout .site-toc a:hover {
    color: var(--link);
}

/* ----------------------------------------------------------------
   囲み（読む人の状況・注意・補足）
   ---------------------------------------------------------------- */
body.site-layout .site-callout {
    margin: 1.7em 0;
    padding: 18px 22px;
    border: 1px solid var(--tint-line-2);
    border-radius: 10px;
    background: var(--tint-3);
}

body.site-layout .site-callout--caution {
    background: #fff8e6;
    border-color: #f0d898;
}

body.site-layout .site-callout--question {
    background: #fff;
    border: 1px solid var(--line);
    border-left: 5px solid var(--accent);
}

body.site-layout .site-callout__title {
    margin: 0 0 6px;
    color: var(--ink);
    font-size: 0.98rem;
    font-weight: 700;
}

body.site-layout .site-callout p {
    margin: 0.4em 0;
    font-size: 0.96rem;
    line-height: 1.85;
}

body.site-layout .site-callout ul {
    margin: 0.4em 0;
    padding-left: 1.3em;
    font-size: 0.96rem;
    line-height: 1.85;
}

/* ----------------------------------------------------------------
   記事のカード（入口）
   ---------------------------------------------------------------- */
body.site-layout .card-group {
    margin: 2.2em 0;
}

body.site-layout .card-group__title {
    margin: 0 0 12px;
    color: var(--brand);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

body.site-layout .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 18px;
}

body.site-layout .card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: var(--ink);
    transition: box-shadow 0.15s, transform 0.15s, border-color 0.15s;
}

body.site-layout .card:hover {
    border-color: var(--accent);
    box-shadow: 0 10px 26px rgba(11, 79, 108, 0.1);
    text-decoration: none;
    transform: translateY(-2px);
}

body.site-layout .card__icon {
    flex: 0 0 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: var(--accent-soft);
    border-radius: 12px;
}

body.site-layout .card__icon img {
    display: block;
    width: 28px;
    height: 28px;
}

body.site-layout .card__body {
    min-width: 0;
}

body.site-layout .card__title {
    display: block;
    color: var(--ink);
    font-size: 1.04rem;
    font-weight: 700;
    line-height: 1.6;
}

body.site-layout .card__desc {
    display: block;
    margin-top: 6px;
    color: var(--ink-soft);
    font-size: 0.88rem;
    line-height: 1.75;
}

body.site-layout .card__more {
    display: block;
    margin-top: 10px;
    color: var(--brand);
    font-size: 0.85rem;
    font-weight: 700;
}

/* ----------------------------------------------------------------
   サイト内のリンク一覧・出典
   ---------------------------------------------------------------- */
body.site-layout .page-links {
    margin: 2em 0;
}

body.site-layout .page-links__list {
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
}

body.site-layout .page-links__list li + li {
    border-top: 1px solid var(--line);
}

body.site-layout .page-links__list a {
    display: block;
    position: relative;
    padding: 15px 40px 15px 18px;
    color: var(--ink);
}

body.site-layout .page-links__list a::after {
    content: "›";
    position: absolute;
    right: 16px;
    top: 50%;
    color: var(--accent);
    font-size: 1.5em;
    line-height: 1;
    transform: translateY(-50%);
}

body.site-layout .page-links__list a:hover {
    background: var(--bg-soft);
    text-decoration: none;
}

body.site-layout .page-links__name {
    display: block;
    color: var(--link);
    font-weight: 700;
    line-height: 1.6;
}

body.site-layout .page-links__desc {
    display: block;
    margin-top: 2px;
    color: var(--ink-soft);
    font-size: 0.88rem;
    line-height: 1.7;
}

body.site-layout .sources {
    margin: 3em 0 1.6em;
    padding: 20px 24px;
    border: 1px solid var(--line);
    border-radius: 10px;
}

body.site-layout .source-list {
    margin: 0;
    padding-left: 1.2em;
    color: var(--ink-soft);
    font-size: 0.9rem;
    line-height: 1.8;
}

body.site-layout .source-list li {
    margin: 3px 0;
}

body.site-layout .sources .site-dates {
    margin: 10px 0 0;
}

/* ----------------------------------------------------------------
   サイトのボタン（お問い合わせフォームへ、など。広告のボタンではない）
   ---------------------------------------------------------------- */
body.site-layout a.site-button {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.04em;
}

body.site-layout a.site-button:hover {
    background: var(--brand-dark);
    text-decoration: none;
}

/* ----------------------------------------------------------------
   入口のページだけ: 本文の幅を広げ、文章の列は読みやすい幅に保つ
   ---------------------------------------------------------------- */
body.site-top .lp-content {
    max-width: 1040px;
    padding-top: 12px;
}

body.site-top .lp-content > p,
body.site-top .lp-content > .checklist,
body.site-top .lp-content > .site-callout,
body.site-top .lp-content > .info-table-wrapper {
    max-width: 760px;
}

/* 図と要点を横に並べる囲み */
body.site-layout .media-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 36px;
    margin: 1.8em 0;
    padding: 28px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 14px;
}

body.site-layout .media-panel__media img {
    display: block;
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}

body.site-layout .media-panel__title {
    margin: 0 0 10px;
    color: var(--brand);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

body.site-layout .media-panel__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

body.site-layout .media-panel__list li {
    position: relative;
    padding: 7px 0 7px 28px;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.8;
}

body.site-layout .media-panel__list li::before {
    content: "✓";
    position: absolute;
    left: 3px;
    top: 7px;
    color: var(--accent);
    font-weight: 700;
}

body.site-layout .media-panel__text {
    margin: 12px 0 0;
    color: var(--ink-soft);
    font-size: 0.9rem;
    line-height: 1.8;
}

/* ----------------------------------------------------------------
   フッター
   ---------------------------------------------------------------- */
body.site-layout .site-footer {
    padding: 46px 0 26px;
    background: var(--footer-bg);
    color: #c5d2dd;
}

body.site-layout .site-footer__inner {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 36px;
}

body.site-layout .site-footer__name {
    margin: 0;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

body.site-layout .site-footer__desc {
    margin: 10px 0 0;
    max-width: 440px;
    font-size: 0.85rem;
    line-height: 1.85;
}

body.site-layout .site-footer__links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px 22px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.88rem;
}

body.site-layout .site-footer__links a {
    color: #e7eef4;
}

body.site-layout .site-footer__note {
    margin: 28px 0 0;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: #b4c3d0;
    font-size: 0.78rem;
    line-height: 1.8;
}

body.site-layout .site-footer__note a {
    color: #e7eef4;
    text-decoration: underline;
}

body.site-layout .site-footer__copy {
    margin: 30px 0 0;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: #9db0c0;
    font-size: 0.78rem;
}

/* 上に注意書きがあるときは、線と余白を注意書きの側に持たせる */
body.site-layout .site-footer__note + .site-footer__copy {
    margin-top: 14px;
    padding-top: 0;
    border-top: none;
}

/* ----------------------------------------------------------------
   スマホ
   ---------------------------------------------------------------- */
@media (max-width: 760px) {
    body.site-layout .site-inner {
        padding: 0 18px;
    }

    body.site-layout .site-header__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding-top: 12px;
    }

    body.site-layout .site-brand__tagline {
        display: none;
    }

    body.site-layout .site-nav {
        width: 100%;
        gap: 16px;
        padding-bottom: 6px;
        overflow-x: auto;
        scrollbar-width: none;
        font-size: 0.82rem;
    }

    body.site-layout .site-nav::-webkit-scrollbar {
        display: none;
    }

    body.site-layout .site-nav a:first-child {
        display: none;
    }

    body.site-layout .site-hero {
        padding: 38px 0 36px;
    }

    body.site-layout .site-hero__art {
        display: none;
    }

    body.site-layout .site-hero__title {
        font-size: 1.5rem;
    }

    body.site-layout .site-hero__lead {
        font-size: 0.96rem;
    }

    body.site-layout .site-pagehead {
        padding: 20px 0 24px;
    }

    body.site-layout .lp-title {
        font-size: 1.4rem;
    }

    body.site-layout .lp-content {
        padding: 26px 18px 60px;
    }

    body.site-layout .lp-content h2 {
        font-size: 1.25rem;
    }

    body.site-layout .lp-content h3 {
        font-size: 1.08rem;
    }

    body.site-layout .checklist,
    body.site-layout .site-toc,
    body.site-layout .site-callout,
    body.site-layout .sources {
        padding: 16px 18px;
    }

    body.site-layout .info-table th {
        width: 34%;
        padding: 12px;
    }

    body.site-layout .info-table td {
        padding: 12px;
    }

    body.site-layout .card-grid {
        grid-template-columns: 1fr;
    }

    body.site-layout .media-panel {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 18px;
    }

    body.site-layout .site-footer__inner {
        grid-template-columns: 1fr;
        gap: 26px;
    }
}
