/**
 * Front Page Styles
 * スマホ: 2列×3行、タブレット以上: 3列×2行
 */

/* 投稿リストのグリッドレイアウト */
.p-frontSection .p-postList {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, 1fr);
    /* スマホは2列 */
    margin: 0;
    padding: 0;
    list-style: none;
}

/* タブレット以上は3列 */
@media (min-width: 768px) {
    .p-frontSection .p-postList {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 投稿リストのアイテム */
.p-frontSection .p-postList__item {
    margin: 0;
}

/* セクションのタイトル */
.p-frontSection__title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

/* 投稿リストのリンク */
.p-frontSection .p-postList__link {
    display: flex;
    flex-direction: column;
    position: relative;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.p-frontSection .p-postList__link:hover {
    opacity: 0.9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.p-frontSection .p-postList__thumb {
    width: 100%;
    height: 180px;
    display: block;
    object-fit: cover;
    border-radius: 0;
}

/* タブレット以上では画像の高さを少し増やす */
@media (min-width: 768px) {
    .p-frontSection .p-postList__thumb {
        height: 200px;
    }
}

/* PCではもう少し大きく */
@media (min-width: 1024px) {
    .p-frontSection .p-postList__thumb {
        height: 220px;
    }
}

/* ボディ部分 */
.p-frontSection .p-postList__body {
    padding: 10px;
}

/* タイトル */
.p-frontSection .p-postList__title {
    font-size: 1em;
    font-weight: bold;
    margin: 0 0 5px 0;
    line-height: 1.4;
}

/* 抜粋文 */
.p-frontSection .p-postList__excerpt {
    font-size: 0.875em;
    color: #666;
    margin: 5px 0;
    line-height: 1.5;
}

/* メタ情報 */
.p-frontSection .p-postList__meta {
    margin-top: 8px;
    font-size: 0.8125em;
    color: #888;
}

.p-frontSection .c-postTimes__posted {
    display: inline-block;
}