/* ========================================
   カテゴリカラー
======================================== */
:root {
    --category-no1: #2563eb;
}

/* ========================================
   記事ヘッダー
======================================== */
.article-header {
    padding: 60px 0 40px;
    max-width: 800px;
    margin: 0 auto;
}

.article-category {
    display: inline-block;
    background: var(--category-no1);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.article-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 900;
    line-height: 1.4;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.article-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.article-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
}

.article-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-author-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
}

.article-author-role {
    font-size: 12px;
    color: var(--accent-gray);
}

.article-date {
    font-size: 13px;
    color: var(--accent-gray);
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-date .icon {
    width: 16px;
    height: 16px;
}

.article-date .icon img {
    width: 100%;
    height: 100%;
    opacity: 0.6;
}

/* ========================================
   アイキャッチ画像
======================================== */
.article-featured-image {
    margin: 40px auto;
    max-width: 800px;
    border-radius: 12px;
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    height: auto;
}

/* ========================================
   記事本文
======================================== */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.article-content h2 {
    font-size: 24px;
    font-weight: 900;
    color: var(--primary-color);
    margin: 48px 0 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
}

.article-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 32px 0 16px;
}

.article-content p {
    font-size: 16px;
    line-height: 2;
    color: var(--accent-gray);
    margin-bottom: 24px;
}

.article-content ul {
    margin: 0 0 24px 24px;
}

.article-content li {
    font-size: 16px;
    line-height: 2;
    color: var(--accent-gray);
    margin-bottom: 8px;
}

/* ========================================
   ポイントボックス
======================================== */
.point-box {
    background: var(--light-gray);
    border-left: 4px solid var(--primary-color);
    padding: 24px;
    margin: 32px 0;
    border-radius: 0 8px 8px 0;
}

.point-box-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.point-box-title .icon {
    width: 20px;
    height: 20px;
}

.point-box-title .icon img {
    width: 100%;
    height: 100%;
}

/* ========================================
   シェアボタン
======================================== */
.article-share {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 40px 0;
    padding: 24px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.article-share-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
}

.share-buttons {
    display: flex;
    gap: 12px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
    padding: 10px;
}

.share-btn.twitter { background: #000; }
.share-btn.facebook { background: #1877f2; }
.share-btn.linkedin { background: #0a66c2; }
.share-btn.copy { background: var(--light-gray); }

.share-btn img {
    width: 100%;
    height: 100%;
}

.share-btn.twitter img,
.share-btn.facebook img,
.share-btn.linkedin img {
    filter: brightness(0) invert(1);
}

.share-btn:hover {
    transform: scale(1.1);
}

/* ========================================
   著者プロフィール
======================================== */
.author-profile {
    display: flex;
    gap: 24px;
    padding: 32px;
    background: var(--light-gray);
    border-radius: 12px;
    margin: 40px 0;
}

.author-profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-profile-label {
    font-size: 12px;
    color: var(--accent-gray);
    margin-bottom: 4px;
}

.author-profile-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.author-profile-role {
    font-size: 13px;
    color: var(--accent-gray);
    margin-bottom: 12px;
}

.author-profile-bio {
    font-size: 14px;
    color: var(--accent-gray);
    line-height: 1.8;
}

/* ========================================
   レスポンシブ
======================================== */
@media (max-width: 767px) {
    .author-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
