.article-archive-page {
    padding: 0 0 80px;
}
.head-cover {
    position: relative;
    padding: 120px 0 0;
    background: color-mix(in srgb, var(--accent-color-1) 10%, transparent);
    z-index: 100;
}
/* --- アーカイブヘッダー（たまご型背景） --- */
.archive-header {
    position: relative;
    margin: 0 0 -143px;
    text-align: center;
    overflow: hidden;
}
.category-title-bg {
    position: relative;
    display: inline-block;
    padding: 40px 0px;
    z-index: 50;
}
.category-title-bg::before {
    position: absolute;
    content: "";
    top: 10px;
    left: -20px;
    width: 50px;
    height: 100px;
    border-radius: 50%;
    background: var(--main-color-white);
    z-index: 0;
    transform: rotate(50deg);
}
.category-title-bg .main-title {
    position: relative;
    font-size: 2.8rem;
    letter-spacing: 0.1em;
    z-index: 10;
    color: var(--text-color-black);
}

.category-title-bg .sub-title {
    font-size: 14px;
    color: #b0a090;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- グリッドレイアウト --- */
.article-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* PCは4カラム */
    gap: 40px 20px;
    padding: 60px 0;
}

/* レスポンシブ：タブレットは2カラム、スマホは1カラム */
@media screen and (max-width: 1024px) {
    .article-grid { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 599px) {
    .article-grid { grid-template-columns: 1fr; }
}

/* --- 記事カード --- */
.article-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card-img {
    width: 100%;
    aspect-ratio: 16 / 10; /* 画像の比率を統一 */
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 15px;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.article-card:hover .card-img img {
    transform: scale(1.05);
}

/* メタ情報 */
.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    margin-bottom: 10px;
}

.card-meta .cat {
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-meta .circle {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.card-meta .date {
    color: #999;
}

/* タイトル */
.card-title {
    font-size: 16px;
    line-height: 1.5;
    font-weight: bold;
    margin-bottom: 10px;
    height: 3em; /* 2行分で高さを固定 */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* タグ */
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    font-size: 12px;
    color: #b0a090;
}

/* カラー設定（group1〜5） */
.group1 .circle { background: #ff914d; }
.group2 .circle { background: #ff914d; }
.group3 .circle { background: #4099d9; }
.group4 .circle { background: #4099d9; }
.group5 .circle { background: #4c9e18; }