@charset "utf-8";
/* CSS Document */

:root {
    --brand: #0c6; /* アクセント */
    --ink: #1a1a1a; /* 文字色 */
    --muted: #6b7280; /* 補助文字 */
    --bg: #ffffff;
    --section: #f8fafc; /* セクション背景 */
    --card: #ffffff; /* カード背景 */
    --ring: #e5e7eb; /* 罫線 */
    --radius: 16px;
    --shadow: 0 6px 20px rgba(0, 0, 0, .06);
    --max: 1100px;
}

* {
    box-sizing: border-box
}

.container {
    max-width: var(--max);
    margin: auto;
    padding: clamp(16px, 3vw, 28px);
}

.breadcrumbs {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 8px
}

.breadcrumbs a {
    color: inherit;
    text-decoration: none
}

h1 {
    font-size: clamp(26px, 3.6vw, 38px);
    line-height: 1.25;
    margin: 8px 0 24px;
    letter-spacing: .02em;
}

.bread_crumb {
    margin-top: 60px;
}

.bread_crumb a {
    color: #000000;
}

.lead {
    background: var(--section);
    border: 1px solid var(--ring);
    border-radius: var(--radius);
    padding: 20px;
    margin: 24px 0 32px;
}

section {
    margin: 40px 0
}

section > h2 {
    font-size: clamp(20px, 2.6vw, 26px);
    margin: 0 0 16px;
    line-height: 1.4;
    border-left: 6px solid var(--brand);
    padding-left: 12px;
}

.card {
    background: var(--card);
    border: 1px solid var(--ring);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
    margin: 16px 0;
}

.meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 14px;
    margin: 8px 0 4px;
}

.subtle {
    color: var(--muted)
}

h3 {
    font-size: clamp(18px, 2.2vw, 22px);
    margin: 0 0 12px
}

h4 {
    font-size: clamp(16px, 2vw, 18px);
    margin: 18px 0 8px
}

.policy-list {
    display: grid;
    gap: 14px
}

.policy-item {
    border-left: 4px solid var(--brand);
    padding-left: 12px;
    background: #fff;
}

.sdg-grid {
    display: grid;
    gap: 16px;
    grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));
    margin-top: 8px;
}

.sdg {
    background: #fff;
    border: 1px solid var(--ring);
    border-radius: 12px;
    padding: 16px;
}

.sdg .icon {
    width: 80%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
    background: #eee;
    display: block;
    margin-bottom: 10px;
    object-fit: cover;
    border: 1px solid var(--ring);
}

.checklist {
    margin: 8px 0 0;
    padding-left: 1.2em
}

.checklist li {
    margin: .35em 0
}

.callout {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(0deg, #f0fdf4, #fafffb);
    border: 1px solid #dcfce7;
    border-radius: 12px;
    padding: 16px;
    margin-top: 16px;
}

.tag {
    display: inline-block;
    font-size: 12px;
    color: #065f46;
    background: #d1fae5;
    padding: 3px 8px;
    border-radius: 999px;
    margin-left: 6px
}

.note {
    font-size: 13px;
    color: var(--muted);
    margin-top: 8px
}

.heroimg {
    width: 100%;
    height: 220px;
    border-radius: 12px;
    background: #e5f5ff;
    border: 1px solid var(--ring);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    font-weight: 600;
    letter-spacing: .05em;
}

/* 「無料で相談する」ボタン（src/components/pages/Sdgs/index.module.css の .btn を統合） */
.btn {
    display: inline-block;
    padding: 20px 40px;
    border-radius: 10px;
    border: 1px solid var(--ring);
    margin-top: 30px;
    text-decoration: none;
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    background: #f57447;
    transition: .2s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}
