/* ============================================
   共通スタイル — 補助金・助成金マッチングサイト
   官公庁風デザインシステム
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Base */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', '游ゴシック', 'Yu Gothic', 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', sans-serif;
    color: #333333;
    background-color: #FFFFFF;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

a {
    color: #0056b3;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.4;
    color: #003366;
}

h1 { font-size: 28px; margin-bottom: 24px; }
h2 { font-size: 24px; margin-bottom: 20px; }
h3 { font-size: 20px; margin-bottom: 16px; }

p {
    margin-bottom: 16px;
}

/* Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background-color: #1a3353;
    color: #FFFFFF;
    border-bottom: 3px solid #0f1f33;
    position: relative;
}

.site-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #F9A825;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    max-width: 1100px;
    margin: 0 auto;
    height: 70px;
}

.site-logo {
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-logo:hover {
    text-decoration: none;
    opacity: 0.9;
}

.site-logo .logo-icon {
    width: 32px;
    height: 32px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header-nav a {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s;
}

.header-nav a:hover {
    border-bottom-color: #FFFFFF;
    text-decoration: none;
}

/* Mobile menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
}

/* Footer */
.site-footer {
    background-color: #F5F5F5;
    border-top: 1px solid #CCCCCC;
    padding: 40px 0 24px;
    margin-top: 60px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 32px;
}

.footer-section h4 {
    font-size: 14px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #003366;
}

.footer-section p,
.footer-section li {
    font-size: 13px;
    color: #666666;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 6px;
}

.footer-section ul li a {
    color: #666666;
    font-size: 13px;
}

.footer-section ul li a:hover {
    color: #003366;
}

.footer-disclaimer {
    background-color: #FFFDE7;
    border: 1px solid #F0E4B0;
    border-radius: 2px;
    padding: 12px 16px;
    margin-bottom: 20px;
}

.footer-disclaimer p {
    font-size: 12px;
    color: #666666;
    margin: 0;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid #CCCCCC;
    padding-top: 16px;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: #999999;
    margin: 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: background-color 0.2s, opacity 0.2s;
    line-height: 1.5;
}

.btn:hover {
    text-decoration: none;
}

.btn-primary {
    background-color: #E8594F;
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: #D04A40;
    color: #FFFFFF;
}

.btn-secondary {
    background-color: #FFFFFF;
    color: #003366;
    border: 2px solid #003366;
}

.btn-secondary:hover {
    background-color: #003366;
    color: #FFFFFF;
}

.btn-large {
    padding: 16px 48px;
    font-size: 18px;
}

/* Cards */
.card {
    background: #FFFFFF;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    padding: 24px;
}

.card-bordered {
    border-left: 4px solid #003366;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 2px;
}

.badge-high {
    background-color: #E8F5E9;
    color: #2E7D32;
}

.badge-medium {
    background-color: #FFF8E1;
    color: #F57F17;
}

.badge-low {
    background-color: #F5F5F5;
    color: #757575;
}

/* Section */
.section {
    padding: 60px 0;
}

.section-gray {
    background-color: #F5F5F5;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #003366;
    margin: 12px auto 0;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #333333;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    font-size: 16px;
    font-family: inherit;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    background-color: #FFFFFF;
    transition: border-color 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: #003366;
    box-shadow: 0 0 0 2px rgba(0, 51, 102, 0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Utility */
.text-center { text-align: center; }
.text-muted { color: #666666; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }

/* Staff / Operator section */
.section-staff {
    padding: 60px 0;
    background: #F8F9FA;
}

.staff-inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.staff-avatar-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.staff-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E8594F 0%, #F09090 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.staff-avatar::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    background: #2E7D32;
    border-radius: 50%;
    border: 2px solid #F8F9FA;
}

.staff-avatar svg {
    width: 36px;
    height: 36px;
    fill: #FFFFFF;
}

.staff-speech-bubble {
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    padding: 16px 24px;
    position: relative;
    text-align: left;
    font-size: 15px;
    color: #333333;
    line-height: 1.7;
}

.staff-speech-bubble::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 24px;
    width: 16px;
    height: 16px;
    background: #FFFFFF;
    border-left: 1px solid #E0E0E0;
    border-bottom: 1px solid #E0E0E0;
    transform: rotate(45deg);
}

.staff-message {
    font-size: 15px;
    color: #555555;
    line-height: 1.8;
    margin-bottom: 24px;
}

.staff-hours {
    font-size: 13px;
    color: #888888;
    margin-top: 16px;
    margin-bottom: 0;
}

/* Female testimonial avatar variant */
.testimonial-avatar-female {
    background-color: #E8594F;
}

/* Responsive */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    h1 { font-size: 24px; }
    h2 { font-size: 20px; }
    h3 { font-size: 18px; }

    .container {
        padding: 0 16px;
    }

    .header-inner {
        padding: 0 16px;
        height: 56px;
    }

    .header-nav {
        display: none;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background-color: #1a3353;
        flex-direction: column;
        padding: 16px 20px;
        gap: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .header-nav.is-open {
        display: flex;
    }

    .header-nav a {
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .menu-toggle {
        display: block;
    }

    .site-logo {
        font-size: 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .section {
        padding: 40px 0;
    }

    .btn-large {
        padding: 14px 32px;
        font-size: 16px;
        width: 100%;
    }
}

/* ========== 採択事例ティッカー（FV直下） ========== */
.adoption-ticker {
    background: #003366;
    padding: 14px 0;
    overflow: hidden;
}

.adoption-ticker-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 24px;
}

.adoption-ticker-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    padding-right: 20px;
}

.adoption-ticker-track {
    display: flex;
    align-items: center;
    gap: 0;
    transition: opacity 0.3s ease;
    min-height: 28px;
}

.ticker-industry {
    font-size: 11px;
    color: #003366;
    background: #FFFFFF;
    padding: 3px 10px;
    border-radius: 3px;
    font-weight: 700;
    white-space: nowrap;
    margin-right: 14px;
}

.ticker-sub {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    white-space: nowrap;
    margin-right: 6px;
}

.ticker-sub::after {
    content: '｜';
    color: rgba(255, 255, 255, 0.3);
    margin-left: 6px;
}

.ticker-amt {
    font-size: 18px;
    font-weight: 800;
    color: #FFD54F;
    white-space: nowrap;
    margin-right: 6px;
}

.ticker-amt::after {
    content: '｜';
    color: rgba(255, 255, 255, 0.3);
    font-size: 13px;
    font-weight: 400;
    margin-left: 6px;
}

.ticker-use {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

@media (max-width: 768px) {
    .adoption-ticker {
        padding: 12px 0;
    }

    .adoption-ticker-inner {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px 16px;
        padding: 0 16px;
    }

    .adoption-ticker-label {
        border-right: none;
        padding-right: 0;
        width: auto;
    }

    .adoption-ticker-track {
        flex-wrap: wrap;
        gap: 6px;
        width: 100%;
    }

    .ticker-sub::after,
    .ticker-amt::after {
        display: none;
    }

    .ticker-amt {
        font-size: 16px;
    }

    .ticker-sub {
        font-size: 12px;
    }

    .ticker-use {
        font-size: 12px;
        width: 100%;
    }
}

/* SEO articles */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.content-shell {
    padding: 40px 0 20px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    color: #666666;
    font-size: 13px;
}

.breadcrumbs a {
    color: #0056b3;
}

.breadcrumbs-separator {
    color: #999999;
}

.blog-hero,
.archive-header {
    border-left: 4px solid #F9A825;
    background: #F7FAFC;
    padding: 32px;
    margin-bottom: 32px;
}

.blog-hero h1,
.archive-header h1 {
    font-size: 32px;
    margin-bottom: 12px;
}

.blog-hero p,
.archive-header p,
.archive-description {
    max-width: 760px;
    color: #4F5B67;
}

.blog-eyebrow {
    color: #A05A00;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 32px;
    align-items: start;
}

.post-list {
    display: grid;
    gap: 20px;
}

.post-card {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 0;
    background: #FFFFFF;
    border: 1px solid #D8E0E8;
    border-radius: 4px;
    overflow: hidden;
}

.post-card--no-thumb {
    grid-template-columns: minmax(0, 1fr);
}

.post-card--no-thumb .post-card-body {
    grid-column: 1 / -1;
}

.post-card-thumb {
    display: block;
    min-height: 180px;
    background: #E8F0F8;
}

.post-card-thumb img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
    display: block;
}

.post-card-body {
    padding: 22px 24px;
}

.post-card h2 {
    font-size: 21px;
    margin-bottom: 10px;
}

.post-card h2 a,
.related-card h3 a {
    color: #003366;
}

.post-card p,
.related-card p {
    color: #4F5B67;
    margin-bottom: 12px;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
    color: #6B7280;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 8px;
}

.post-meta span,
.post-meta a {
    color: #0056b3;
}

.text-link {
    display: inline-flex;
    color: #0056b3;
    font-weight: 700;
    font-size: 14px;
}

.blog-sidebar {
    display: grid;
    gap: 18px;
}

.sidebar-panel,
.empty-panel {
    border: 1px solid #D8E0E8;
    border-radius: 4px;
    background: #FFFFFF;
    padding: 20px;
}

.sidebar-panel h2,
.empty-panel h2 {
    font-size: 18px;
    margin-bottom: 12px;
}

.sidebar-list {
    list-style: none;
}

.sidebar-list li {
    border-bottom: 1px solid #EEF2F6;
    padding: 8px 0;
    font-size: 14px;
}

.sidebar-list li:last-child {
    border-bottom: none;
}

.sidebar-cta {
    background: #F7FAFC;
    border-color: #B8C7D8;
}

.search-form {
    display: flex;
    gap: 8px;
    width: 100%;
}

.search-form input[type="search"] {
    min-width: 0;
    width: 100%;
    border: 1px solid #B8C7D8;
    border-radius: 3px;
    padding: 10px 12px;
    font-size: 14px;
}

.search-form button {
    flex: 0 0 auto;
    border: none;
    border-radius: 3px;
    background: #003366;
    color: #FFFFFF;
    padding: 10px 14px;
    font-weight: 700;
    cursor: pointer;
}

.pagination-nav {
    margin-top: 24px;
}

.pagination-nav .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pagination-nav .page-numbers {
    min-width: 36px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #D8E0E8;
    border-radius: 3px;
    padding: 6px 10px;
    background: #FFFFFF;
}

.pagination-nav .page-numbers.current {
    background: #003366;
    color: #FFFFFF;
    border-color: #003366;
}

.single-page {
    background: linear-gradient(180deg, #F7FAFC 0, #FFFFFF 220px);
}

.seo-article {
    max-width: 900px;
    margin: 0 auto;
    background: #FFFFFF;
}

.article-header {
    border-bottom: 1px solid #D8E0E8;
    padding: 10px 0 28px;
    margin-bottom: 30px;
}

.article-header h1 {
    max-width: 820px;
    font-size: 36px;
    line-height: 1.32;
    margin-bottom: 14px;
    letter-spacing: 0;
}

.article-lead {
    color: #4F5B67;
    font-size: 18px;
    line-height: 1.85;
    margin-bottom: 0;
}

.article-featured {
    margin: 0 0 28px;
    border-radius: 4px;
    overflow: hidden;
    background: #E8F0F8;
}

.article-featured img {
    display: block;
    width: 100%;
}

.article-content {
    color: #2F3A45;
    font-size: 17px;
    line-height: 1.95;
    overflow-wrap: anywhere;
}

.article-content > p {
    margin-bottom: 22px;
}

.article-content > p:not(.article-inline-cta),
.article-content > ul:not([class]),
.article-content > ol:not([class]),
.article-content > blockquote {
    max-width: 780px;
}

.article-content h2 {
    position: relative;
    border-left: 5px solid #F9A825;
    padding: 4px 0 4px 16px;
    margin-top: 52px;
    margin-bottom: 18px;
    font-size: 26px;
    letter-spacing: 0;
}

.article-content h2::after {
    content: '';
    display: block;
    width: 56px;
    height: 2px;
    margin-top: 12px;
    background: #B8C7D8;
}

.article-content h3 {
    margin-top: 32px;
    color: #12324D;
}

.article-content ul,
.article-content ol {
    margin: 0 0 22px 1.4em;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    margin: 28px 0 34px;
    font-size: 14px;
    line-height: 1.65;
    box-shadow: 0 10px 24px rgba(18, 50, 77, 0.06);
}

.article-compare-table {
    table-layout: fixed;
}

.article-content th,
.article-content td {
    border: 1px solid #D8E0E8;
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
}

.article-content th {
    background: #F2F7FB;
    color: #003366;
    font-weight: 700;
}

.article-content thead th {
    background: #12324D;
    color: #FFFFFF;
}

.article-content tbody tr:nth-child(even) td,
.article-content tbody tr:nth-child(even) th {
    background-color: #FAFCFE;
}

.article-content blockquote {
    border-left: 4px solid #B8C7D8;
    background: #F7FAFC;
    padding: 18px 22px;
    margin: 28px 0;
    color: #4F5B67;
    border-radius: 0 6px 6px 0;
}

.seo-keyword-visual {
    margin: 30px 0 36px;
    border: 1px solid #C8D7E4;
    border-radius: 6px;
    overflow: hidden;
    background: #F6FAFD;
    box-shadow: 0 16px 36px rgba(18, 50, 77, 0.10);
}

.seo-keyword-visual img {
    display: block;
    width: 100%;
    height: auto;
}

.seo-keyword-visual figcaption {
    padding: 13px 18px;
    color: #4F5B67;
    font-size: 13px;
    line-height: 1.7;
    background: #FFFFFF;
    border-top: 1px solid #E8EEF4;
}

.article-summary-panel {
    margin: 30px 0 34px;
    padding: 24px 26px;
    border: 1px solid #B8C7D8;
    border-left: 5px solid #F9A825;
    border-radius: 6px;
    background: #FFFDF7;
    box-shadow: 0 12px 28px rgba(18, 50, 77, 0.06);
}

.summary-label {
    margin: 0 0 12px;
    color: #003366;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0;
}

.article-key-points {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.article-key-points li {
    position: relative;
    margin-bottom: 11px;
    padding-left: 24px;
}

.article-key-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #F9A825;
    box-shadow: 0 0 0 4px rgba(249, 168, 37, 0.18);
}

.article-key-emphasis {
    color: #003366;
    font-weight: 700;
}

.article-key-emphasis u {
    text-decoration-line: underline;
    text-decoration-color: #F9A825;
    text-decoration-thickness: 0.12em;
    text-underline-offset: 0.18em;
    text-decoration-skip-ink: auto;
}

.article-fact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 24px 0 30px;
}

.article-fact-grid div {
    padding: 15px 16px;
    border: 1px solid #D8E0E8;
    border-radius: 6px;
    background: #FDFEFF;
}

.article-fact-grid span {
    display: block;
    margin-bottom: 5px;
    color: #667789;
    font-size: 12px;
    font-weight: 700;
}

.article-fact-grid strong {
    display: block;
    color: #12324D;
    line-height: 1.5;
}

.article-context-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 24px 0 30px;
}

.article-context-cards section {
    min-height: 100%;
    padding: 20px;
    border: 1px solid #D8E0E8;
    border-radius: 6px;
    background: #FFFFFF;
    box-shadow: 0 8px 20px rgba(18, 50, 77, 0.06);
}

.article-context-cards h3 {
    margin: 0 0 8px;
    font-size: 17px;
    color: #003366;
}

.article-context-cards p {
    margin: 0;
    color: #4F5B67;
    font-size: 14px;
    line-height: 1.8;
}

.article-compare-table thead th:nth-child(1),
.article-compare-table tbody th {
    width: 24%;
}

.article-compare-table thead th:nth-child(2) {
    width: 30%;
}

.article-compare-table thead th:nth-child(3) {
    width: 24%;
}

.article-compare-table thead th:nth-child(4) {
    width: 22%;
}

.article-steps {
    margin: 24px 0 30px;
    padding: 0;
    list-style: none;
}

.article-steps li {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    margin-bottom: 14px;
    padding: 18px;
    border: 1px solid #D8E0E8;
    border-radius: 6px;
    background: #FFFFFF;
    box-shadow: 0 8px 20px rgba(18, 50, 77, 0.05);
}

.article-steps li > span {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #003366;
    color: #FFFFFF;
    font-weight: 700;
}

.article-steps strong {
    display: block;
    color: #003366;
    margin-bottom: 4px;
}

.article-steps p {
    margin: 0;
    color: #4F5B67;
    line-height: 1.8;
}

.article-note {
    border-left-color: #F9A825;
    background: #FFF9E8;
    color: #4A3A12;
}

.article-warning-list {
    display: grid;
    gap: 12px;
    margin: 24px 0 30px;
    padding: 0;
    list-style: none;
}

.article-warning-list li {
    margin: 0;
    padding: 18px 20px;
    border: 1px solid #E7C873;
    border-radius: 6px;
    background: #FFF9E8;
}

.article-warning-list strong {
    display: block;
    margin-bottom: 6px;
    color: #6B4A00;
}

.article-warning-list p {
    margin: 0;
    color: #4F5B67;
}

.article-faq {
    display: grid;
    gap: 12px;
    margin: 24px 0 30px;
}

.article-faq details {
    border: 1px solid #D8E0E8;
    border-radius: 6px;
    background: #FFFFFF;
    overflow: hidden;
}

.article-faq summary {
    cursor: pointer;
    padding: 16px 20px;
    color: #003366;
    font-weight: 700;
    list-style-position: outside;
}

.article-faq details[open] summary {
    background: #F7FAFC;
    border-bottom: 1px solid #E8EEF4;
}

.article-faq p {
    margin: 0;
    padding: 18px 20px 20px;
    color: #4F5B67;
    line-height: 1.85;
}

.article-inline-cta {
    margin: 32px 0 8px;
}

.article-inline-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 22px;
    border-radius: 4px;
    background: #F9A825;
    color: #11314A;
    font-weight: 700;
    text-decoration: none;
}

.article-cta {
    max-width: 900px;
    margin: 44px auto;
    padding: 28px;
    background: #F7FAFC;
    border: 1px solid #B8C7D8;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    box-shadow: 0 12px 28px rgba(18, 50, 77, 0.06);
}

.article-cta h2 {
    font-size: 22px;
    margin-bottom: 8px;
}

.article-cta p {
    margin-bottom: 0;
    color: #4F5B67;
}

.related-posts {
    max-width: 900px;
    margin: 0 auto;
}

.related-posts > h2 {
    font-size: 24px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.related-card {
    border: 1px solid #D8E0E8;
    border-radius: 4px;
    background: #FFFFFF;
    padding: 18px;
}

.related-card h3 {
    font-size: 17px;
    margin-bottom: 8px;
}

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

    .blog-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sidebar-cta {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .content-shell {
        padding-top: 28px;
    }

    .blog-hero,
    .archive-header {
        padding: 24px 20px;
    }

    .blog-hero h1,
    .archive-header h1,
    .article-header h1 {
        font-size: 26px;
        line-height: 1.42;
    }

    .article-header {
        padding-bottom: 22px;
        margin-bottom: 24px;
    }

    .article-content {
        font-size: 16px;
        line-height: 1.9;
    }

    .article-content > p {
        margin-bottom: 20px;
    }

    .article-content h2 {
        margin-top: 42px;
        margin-bottom: 16px;
        padding-left: 13px;
        font-size: 22px;
        line-height: 1.45;
    }

    .article-content h3 {
        font-size: 18px;
    }

    .post-card {
        grid-template-columns: 1fr;
    }

    .post-card-thumb,
    .post-card-thumb img {
        min-height: 190px;
    }

    .post-card-body {
        padding: 20px;
    }

    .blog-sidebar,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .seo-keyword-visual {
        margin-left: -4px;
        margin-right: -4px;
        border-radius: 4px;
        box-shadow: 0 10px 24px rgba(18, 50, 77, 0.08);
    }

    .seo-keyword-visual figcaption {
        padding: 11px 13px;
        font-size: 12px;
    }

    .article-summary-panel {
        margin: 24px 0 28px;
        padding: 18px;
    }

    .article-key-points li {
        padding-left: 22px;
    }

    .article-fact-grid,
    .article-context-cards {
        grid-template-columns: 1fr;
    }

    .article-content th,
    .article-content td {
        padding: 10px 11px;
    }

    .article-compare-table,
    .article-compare-table thead,
    .article-compare-table tbody,
    .article-compare-table tr,
    .article-compare-table th,
    .article-compare-table td {
        display: block;
        width: 100%;
    }

    .article-compare-table thead {
        display: none;
    }

    .article-compare-table tr {
        margin-bottom: 14px;
        border: 1px solid #D8E0E8;
        border-radius: 6px;
        overflow: hidden;
        background: #FFFFFF;
        box-shadow: 0 8px 18px rgba(18, 50, 77, 0.05);
    }

    .article-compare-table th,
    .article-compare-table td {
        border: 0;
        border-bottom: 1px solid #E8EEF4;
    }

    .article-compare-table tbody th {
        background: #F2F7FB;
        color: #003366;
        font-size: 15px;
    }

    .article-compare-table td::before {
        display: block;
        margin-bottom: 4px;
        color: #667789;
        font-size: 12px;
        font-weight: 700;
    }

    .article-compare-table td:nth-child(2)::before {
        content: '向いているケース';
    }

    .article-compare-table td:nth-child(3)::before {
        content: '確認するもの';
    }

    .article-compare-table td:nth-child(4)::before {
        content: '注意点';
    }

    .article-steps li {
        grid-template-columns: 34px 1fr;
        gap: 12px;
        padding: 15px;
    }

    .article-steps li > span {
        width: 34px;
        height: 34px;
    }

    .article-warning-list li,
    .article-context-cards section {
        padding: 16px;
    }

    .article-faq summary {
        padding: 15px 16px;
    }

    .article-faq p {
        padding: 15px 16px 17px;
    }

    .article-inline-cta a {
        width: 100%;
        min-height: 48px;
        padding: 12px 16px;
        text-align: center;
    }

    .search-form {
        flex-direction: column;
    }

    .search-form button {
        width: 100%;
    }

    .article-cta {
        align-items: stretch;
        flex-direction: column;
        margin: 34px auto;
        padding: 22px;
    }

    .article-cta .btn {
        width: 100%;
    }
}
