@charset "UTF-8";

/* =========================================
   スポキャリマガジン (column.css)
   ========================================= */

:root {
    --primary: #105ea1;
    --primary-dark: #0c487d;
    --primary-light: #e6f0fa;
    --accent: #ff6f00;
    --text-main: #1e293b;
    --text-sub: #64748b;
    --bg-gray: #f8fafc;
    --border-color: #e2e8f0;
    --radius-sm: 2px;
    --radius-md: 3px;
    --radius-lg: 4px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(16, 94, 161, 0.08);
}

body.column-page {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Hiragino Sans', sans-serif;
    color: var(--text-main);
    background-color: #f1f5f9;
    line-height: 1.8;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

/* メインコンテナ */
.column-container {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

/* パンくず */
.column-breadcrumb {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
    font-size: 13px;
    margin-bottom: 24px;
}

.column-breadcrumb ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.column-breadcrumb li {
    display: flex;
    align-items: center;
    color: var(--text-sub);
}

.column-breadcrumb li:not(:last-child)::after {
    content: ">";
    margin-left: 8px;
    color: #cbd5e1;
    font-size: 11px;
}

.column-breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.column-breadcrumb a:hover {
    text-decoration: underline;
}

/* 2カラムレイアウト */
.column-layout {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    margin-bottom: 50px;
}

.column-main {
    flex: 1;
    min-width: 0;
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    padding: 36px 40px;
    box-sizing: border-box;
}

.column-sidebar {
    width: 300px;
    flex-shrink: 0;
}

@media screen and (max-width: 860px) {
    .column-layout {
        flex-direction: column;
        gap: 24px;
    }
    .column-sidebar {
        width: 100%;
    }
    .column-main {
        padding: 24px 18px;
    }
}

/* 記事ヘッダー */
.column-header {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.column-header__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.column-badge {
    background: var(--primary-light);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}

.column-date {
    font-size: 13px;
    color: var(--text-sub);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.column-title {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.45;
    color: #0f172a;
    margin: 0 0 20px 0;
}

@media screen and (max-width: 640px) {
    .column-title {
        font-size: 20px;
    }
}

.column-eyecatch {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 28px;
    background: #e2e8f0;
}

.column-eyecatch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 記事本文 */
.column-content {
    font-size: 16px;
    line-height: 1.9;
    color: #1e293b;
}

.column-content p {
    margin: 0 0 1.6em 0;
}

.column-content strong {
    font-weight: 700;
    background: linear-gradient(transparent 65%, #fff099 65%);
}

.column-content h2 {
    font-size: 21px;
    font-weight: 800;
    color: #0f172a;
    background: #f8fafc;
    border-left: 6px solid var(--primary);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 16px;
    margin: 44px 0 20px 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.column-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 8px;
    margin: 32px 0 16px 0;
}

.column-content ul, .column-content ol {
    margin: 0 0 1.6em 0;
    padding-left: 24px;
}

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

.column-image {
    margin: 28px 0;
}

.column-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    display: block;
}

.column-image figcaption {
    font-size: 13px;
    color: var(--text-sub);
    text-align: center;
    margin-top: 8px;
}

/* テーブルスタイル */
.column-table-wrap {
    overflow-x: auto;
    margin: 24px 0;
}

.column-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.column-table th, .column-table td {
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.column-table th {
    background: #f1f5f9;
    color: #0f172a;
    font-weight: 700;
    white-space: nowrap;
}

/* 目次 */
.column-toc {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: 18px 22px;
    margin: 28px 0;
}

.column-toc__title {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.column-toc__list {
    margin: 0;
    padding-left: 20px;
    font-size: 14px;
}

.column-toc__list li {
    margin-bottom: 6px;
}

.column-toc__list a {
    color: var(--primary);
    text-decoration: none;
}

.column-toc__list a:hover {
    text-decoration: underline;
}

/* CTAボックス */
.column-cta-box {
    margin: 40px 0;
    background: linear-gradient(135deg, #0c487d 0%, #105ea1 100%);
    color: #ffffff;
    border-radius: var(--radius-md);
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(16, 94, 161, 0.2);
}

.column-cta-box__badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 2px;
    margin-bottom: 12px;
}

.column-cta-box__title {
    font-size: 21px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 10px 0;
}

.column-cta-box__desc {
    font-size: 14px;
    color: #e2e8f0;
    line-height: 1.7;
    margin: 0 auto 24px auto;
    max-width: 600px;
}

.column-cta-box__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.column-cta-box__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 3px;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background 0.15s ease;
}

.column-cta-box__btn.primary {
    background: #ff6f00;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(255, 111, 0, 0.35);
}

.column-cta-box__btn.primary:hover {
    transform: translateY(-2px);
    background: #e65100;
}

.column-cta-box__btn.secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.column-cta-box__btn.secondary:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* FAQ */
.column-faq-list {
    margin: 28px 0;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
}

.column-faq-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #cbd5e1;
}

.column-faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.column-faq-q {
    font-size: 16px;
    font-weight: 800;
    color: #0c487d;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.column-faq-q::before {
    content: "Q";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    background: var(--primary);
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    border-radius: 2px;
    margin-top: 1px;
}

.column-faq-a {
    font-size: 14px;
    color: var(--text-main);
    line-height: 1.7;
    margin-left: 34px;
}

/* サイドバー */
.column-sidebar-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 20px;
}

.column-sidebar-title {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 8px;
    margin: 0 0 16px 0;
}

.column-sidebar-banner {
    display: block;
    background: linear-gradient(135deg, #105ea1 0%, #0c487d 100%);
    color: #ffffff !important;
    padding: 16px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    text-align: center;
    font-weight: 700;
    transition: transform 0.2s;
}

.column-sidebar-banner:hover {
    transform: translateY(-2px);
}
