.front-wrapper {
    display: flex;
    max-width: var(--pcsize);
    margin: 0 auto;
}
.front-main {
    flex: 1;
}

/* 記事カード全体の囲み枠 */
.card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.2s ease;
    padding-bottom: 1rem;
    margin-bottom: 32px;
}

.card:hover {
    transform: translateY(-4px);
}

/* グリッドレイアウト */
.card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 16px;
    grid-row-gap: 32px;
}

/* サムネイル画像 */
.card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card .card__thumb {
    height: 200px;
    overflow: hidden;
}
.card:first-child .card__thumb {
    height: 400px;
}

/* カード内オーバーレイタイトル */
.overlay-title {
    position: absolute;
    width: 100%;
    color: #fef1cc;
    font-size: 20px;
    font-family: "kinuta-shin-enpitsu-it-stdn", serif;
    text-align: center;
    padding: 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}
.overlay-title.top {
    top: 0;
}
.overlay-title.center {
    top: 50%;
    transform: translateY(-50%);
}
.overlay-title.bottom {
    bottom: 0;
}

/* タグ表示 */
.card__tags {
    font-size: 13px;
    color: #666;
    margin: 0.5em 1em 0 1em;
}
.card__tags span {
    margin-right: 0.5em;
}

/* 読ませる一文（ACFフィールド） */
.card__teaser {
    font-size: 14px;
    color: #444;
    margin: 0.5em 1em 1em 1em;
    line-height: 1.5;
}

/* 古いスタイルで使われていたタイトル（現在未使用） */
.card__title {
    font-size: 10px;
    font-weight: bold;
    margin-top: 8px;
    color: var(--mainfont);
}

/* カテゴリ一覧 */
.category-block {
    margin-top: 80px;
    text-align: center;
}
.category-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    justify-content: center;
    margin-top: 20px;
}
.category-links a {
    display: block;
    padding: 10px;
    background-color: #00000066;
    border-radius: 4px;
    text-decoration: none;
    color: var(--mainfont);
    transition: background-color 0.2s ease;
}
.category-links a:hover {
    background-color: #ccc;
}

/* セクション見出し画像 */
.section-title-img {
    height: 80px;
    width: auto;
    display: block;
    margin-bottom: 1em;
}
.column-title {
    font-size: 32px;
    font-weight: bold;
    font-family: P22Morris, serif;
    color: var(--mainfont);
    margin-bottom: 8px;
    text-transform: capitalize;
    letter-spacing: 2px;
}
