/* ブログカード========================================================================== */
/* ブログカード全体のコンテナ */
.rc-card {
    margin: 2em auto; /* 💡 左右autoで、PCで最大幅に達したときに中央配置にする */
    max-width: 100%;  /* スマホ時は横幅いっぱい */
    background: #eee;
    border: 1px solid #0d2601;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
	padding: .5em;	
}
/* リンクエリア全体化：スマホ時は縦並び(column) */
.rc-card__link {
    display: flex;
    flex-direction: column; 
    text-decoration: none !important;
    color: #333 !important;
}
/* サムネイル */
.rc-card__thumb {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    aspect-ratio: 5 / 4;
}.rc-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 70%;
    position: absolute;
    top: 0;
    left: 0;
}
/* テキストコンテンツ部分 */
.rc-card__content {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
/* 「関連記事」ラベル */
.rc-card__label {
    align-self: flex-start;
    background: #333;
    color: #fff;
    font-size: 0.9rem;
    padding: 2px 8px;
    border-radius: 3px;
    margin-bottom: 8px;
    font-weight: bold;
}
/* 記事タイトル */
.rc-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
	background:none;
	
}
/* 記事抜粋文：💡 スマホ向けサイトを意識してデフォルトは非表示（すっきりさせる） */
.rc-card__excerpt {
    display: none;
}

/**** PC・タブレット用：画面幅が600px以上 ****/
@media screen and (min-width: 600px) {
	/* マウスホバー時のエフェクト */
	.rc-card:hover {
		transform: translateY(-3px);
		box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
	}
    /* カード全体の最大幅 */
    .rc-card {
		max-width: 95%;
    }

    /* 💡 リンクエリアを横並び(row)に変更 */
    .rc-card__link {
        flex-direction: row;
    }

    /* サムネイルを左側にコンパクトに配置し、比率を7:5にする */
    .rc-card__thumb {
        width: 30%;
        min-width: 150px;
        max-width: 200px;
        aspect-ratio: 7 / 5; /* 💡 PC時はご指定の7:5にする */
    }

    /* テキストエリアの余白をPC用に少し広げる */
    .rc-card__content {
        padding: 16px;
    }

    /* 💡 画面幅に余裕があるPCでは、抜粋文を復活させて表示する ***/
    .rc-card__excerpt {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        font-size: 0.85rem;
        color: #666;
        line-height: 1.5;
        margin: 0 !important;
        background: none;
    }
}