@charset "UTF-8";

:root {
    --ink: #12161c;
    --paper: #f7f6f3;
    --paper-dim: #eeece6;
    --gold: #b08d57;
    --gold-bright: #d3ad76;
    --text-main: #1c1f24;
    --text-mute: #6b6f74;
    --text-on-dark: #f2f0ea;
    --text-on-dark-mute: #a9adb3;
    --serif: 'Noto Serif JP', serif;
    --sans: 'Zen Kaku Gothic New', sans-serif;
    --accent-serif: 'Cormorant Garamond', serif;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- page head (写真+タイトルのヒーロー) ---------- */
.page-head {
    position: relative;
    height: 320px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(33, 58, 112, .25), rgba(33, 58, 112, .75)),
        url('img/アスベストのこと\ TOP.png') center 20%/cover no-repeat;
    display: flex;
    align-items: flex-end;
}

.page-head .wrap {
    padding-bottom: 44px;
}

.page-head .crumb {
    font-family: var(--accent-serif);
    font-style: italic;
    font-size: 13px;
    color: var(--gold-bright);
    letter-spacing: .1em;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.page-head .crumb::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--gold-bright);
}

.page-head h1 {
    font-family: var(--serif);
    font-weight: 700;
    font-size: clamp(28px, 4.2vw, 42px);
    color: var(--text-on-dark);
    letter-spacing: .03em;
}

.g-intro {
    padding: 70px 0 70px;
}

.g-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--accent-serif);
    font-style: italic;
    font-size: 14px;
    color: var(--gold);
    letter-spacing: .1em;
    margin-bottom: 24px;
}

.g-eyebrow::before {
    content: "";
    width: 30px;
    height: 1px;
    background: var(--gold);
}

.g-title {
    font-family: var(--serif);
    font-weight: 700;
    font-size: clamp(26px, 3.8vw, 38px);
    line-height: 1.6;
    margin-bottom: 26px;
}

.g-lead {
    font-size: 15px;
    color: var(--text-mute);
    line-height: 2.15;
    max-width: 64ch;
}



.g-page {
    padding: 20px 0 0;
}

.g-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 80px;
    align-items: start;
}

.g-toc {
    position: sticky;
    top: 50px;
    border-left: 1px solid rgba(0, 0, 0, .1);
    padding-left: 24px;
}

.g-toc .toc-label {
    font-family: var(--accent-serif);
    font-style: italic;
    font-size: 12px;
    color: var(--gold);
    letter-spacing: .08em;
    margin-bottom: 16px;
    display: block;
}

.g-toc ol {
    list-style: none;
    counter-reset: gtoc;
}

.g-toc li {
    counter-increment: gtoc;
    margin-bottom: 2px;
}

.g-toc a {
    display: flex;
    gap: 10px;
    font-size: 12px;
    color: var(--text-mute);
    padding: 7px 0;
    transition: color .3s var(--ease), padding-left .3s var(--ease);
}

.g-toc a::before {
    content: counter(gtoc, decimal-leading-zero);
    font-family: var(--accent-serif);
    font-style: italic;
    color: var(--gold);
    flex: none;
}

.g-toc a:hover {
    color: var(--text-main);
    padding-left: 6px;
}

.g-content {
    padding-bottom: 20px;
}

.g-section {
    margin-bottom: 70px;
    scroll-margin-top: 40px;
}

.g-section:last-child {
    margin-bottom: 0;
}

.g-section-head {
    display: flex;
    align-items: baseline;
    gap: 18px;
    margin-bottom: 22px;
}

.g-section-no {
    flex: none;
    font-family: var(--accent-serif);
    font-style: italic;
    font-size: 26px;
    color: transparent;
    -webkit-text-stroke: 1px var(--gold);
}

.g-section h2 {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-main);
}

.g-section-body {
    padding-left: 44px;
}

.g-section-body p {
    font-size: 14px;
    color: var(--text-mute);
    line-height: 2.1;
    margin-bottom: 16px;
    max-width: 70ch;
}

.g-section-body p:last-child {
    margin-bottom: 0;
}

.g-section-body b {
    color: var(--text-main);
}

.g-mini-list {
    margin: 16px 0;
    list-style: none;
    padding-left: 0;
}

.g-mini-list li {
    font-size: 13.5px;
    color: var(--text-mute);
    line-height: 1.95;
    padding-left: 18px;
    position: relative;
    margin-bottom: 8px;
}

.g-mini-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold);
}

.g-callout {
    background: var(--paper-dim);
    border-left: 3px solid var(--gold);
    padding: 18px 22px;
    margin: 18px 0;
    font-size: 13px;
    color: var(--text-mute);
    line-height: 1.95;
}

.g-callout b {
    color: var(--text-main);
}

.g-img {
    width: 100%;
    border-radius: 6px;
    margin: 20px 0;
    aspect-ratio: 16/8;
    object-fit: cover;
}

.g-img-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 20px 0;
}

.g-img-row img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 6px;
}

.g-cta {
    position: relative;
    overflow: hidden;
    text-align: center;
    color: var(--text-on-dark);
    border-radius: 8px;
    padding: 60px 40px;
    margin-bottom: 110px;
}

.g-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, rgba(33, 58, 112, .45), rgba(33, 58, 112, .55)), url('img/アスベストのこと\ TOP.png') center 20%/cover no-repeat;
}

.g-cta h2,
.g-cta p,
.g-cta a {
    position: relative;
    z-index: 1;
}

.g-cta h2 {
    font-family: var(--serif);
    font-weight: 700;
    font-size: clamp(20px, 2.6vw, 26px);
    margin-bottom: 14px;
}

.g-cta p {
    font-size: 13.5px;
    color: var(--text-on-dark-mute);
    line-height: 2;
    max-width: 48ch;
    margin: 0 auto 26px;
}

.g-cta a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gold);
    color: var(--ink);
    padding: 15px 34px;
    font-size: 13px;
    letter-spacing: .08em;
    border-radius: 2px;
    transition: all .3s var(--ease);
}

.g-cta a:hover {
    background: var(--gold-bright);
}

@media (max-width:900px) {
    .g-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .g-toc {
        position: static;
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(0, 0, 0, .1);
        padding-top: 22px;
    }
}

@media (max-width:640px) {
    .page-head {
        height: 220px;
    }

    .g-intro {
        padding: 50px 0 50px;
    }

    .g-section-head {
        gap: 12px;
    }

    .g-section-no {
        font-size: 20px;
    }

    .g-section h2 {
        font-size: 17px;
    }

    .g-section-body {
        padding-left: 0;
        margin-top: 6px;
    }

    .g-cta {
        padding: 44px 24px;
    }

    .acc-img-row {
        grid-template-columns: 1fr;
    }
}