/* ============================================
   Column Pages — Syncless
   ============================================ */

.col-main {
    background: #f8fafc;
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 6rem;
}

.col-container {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ヘッダー画像セクション */
.col-header-hero {
    position: relative;
    width: calc(100% + 4rem);
    margin: -3rem -2rem 3rem -2rem;
    height: 320px;
    overflow: hidden;
    border-radius: 0 0 16px 16px;
}

.col-header-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.col-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(5,12,28,0.4) 0%, rgba(5,12,28,0.8) 100%);
    pointer-events: none;
}

/* Eyebrow row */
.col-eyebrow-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.col-back {
    font-size: 0.8rem;
    color: #6688bb;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: color 0.2s;
}

.col-back:hover {
    color: #4488ff;
}

.col-tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #4488ff;
    background: rgba(68, 136, 255, 0.08);
    border: 1px solid rgba(68, 136, 255, 0.25);
    padding: 3px 10px;
    border-radius: 20px;
}

/* Title */
.col-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    line-height: 1.25;
    color: #0a0f1e;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

/* Meta */
.col-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.8rem;
    color: #8899bb;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* Lead */
.col-lead {
    margin-bottom: 2.5rem;
}

.col-lead p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #334466;
    font-weight: 500;
}

/* Body */
.col-body {
    color: #1a2a44;
}

.col-body h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0a0f1e;
    margin: 2.5rem 0 1rem;
    padding-left: 1rem;
    border-left: 3px solid #4488ff;
    line-height: 1.4;
}

.col-body p {
    font-size: 1rem;
    line-height: 1.9;
    color: #2a3a55;
    margin-bottom: 1.25rem;
}

.col-body p strong {
    color: #0a0f1e;
    font-weight: 600;
}

.col-body .col-hr {
    border: none;
    border-top: 1px solid rgba(0,0,0,0.08);
    margin: 2.5rem 0;
}

.col-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.col-list li {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #2a3a55;
    padding: 0.9rem 1.1rem;
    background: #fff;
    border: 1px solid rgba(68, 136, 255, 0.15);
    border-radius: 8px;
    border-left: 3px solid rgba(68, 136, 255, 0.5);
}

.col-list li strong {
    color: #0a0f1e;
    font-weight: 600;
}

/* Related */
.col-related {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.col-related h3 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8899bb;
    margin-bottom: 1.5rem;
}

.col-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.col-related-card {
    display: block;
    padding: 1.25rem;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.col-related-card:hover {
    border-color: rgba(68, 136, 255, 0.4);
    box-shadow: 0 4px 16px rgba(68, 136, 255, 0.1);
    transform: translateY(-2px);
}

.col-related-tag {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #4488ff;
    margin-bottom: 0.5rem;
}

.col-related-card p {
    font-size: 0.85rem;
    line-height: 1.55;
    color: #334466;
    margin: 0;
}

/* インラインチャート */
.col-chart-wrap {
    margin: 2.5rem 0;
    background: #f4f6fb;
    border: 1px solid rgba(68,136,255,0.12);
    border-radius: 12px;
    padding: 1.5rem 1.5rem 1rem;
}

.col-chart-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6688bb;
    margin: 0 0 0.5rem;
}

#col-pyramid-chart {
    width: 100%;
    height: 260px;
}

.col-chart-caption {
    font-size: 0.78rem;
    color: #8899bb;
    text-align: center;
    margin: 0.5rem 0 0;
    line-height: 1.6;
}

/* 記事内画像 */
.col-img-wrap {
    margin: 2.5rem 0;
    border-radius: 12px;
    overflow: hidden;
}

.col-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* YouTubeビデオ埋め込み */
.col-video-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 2.5rem 0;
    border-radius: 12px;
    background: #000;
}

.col-video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

@media (max-width: 640px) {
    .col-related-grid {
        grid-template-columns: 1fr;
    }

    .col-title {
        font-size: 1.6rem;
    }

    #col-pyramid-chart { height: 200px; }
}
