/* 最上部：3分割枠（縦幅1/3サイズ） */
.section-top-triple {
    margin-bottom: 15px;
}
.triple-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.triple-card {
    background: #fff;
    border: 1px solid #f3b6c1;
    border-radius: 6px;
    overflow: hidden;
    height: 90px; /* 縦幅を1/3程度に抑えた設計 */
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}
.triple-card:hover {
    transform: translateY(-2px);
}
.triple-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* プレミアム枠：左右2分割（半分ずつ並び） */
.section-premium-half {
    margin-bottom: 30px;
}
.half-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 左右半分ずつ */
    gap: 15px;
}
.half-card {
    background: #fff;
    border: 2px solid #f18292;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 8px rgba(241, 130, 146, 0.2);
    transition: transform 0.2s;
}
.half-card:hover {
    transform: translateY(-3px);
}
.half-img-box {
    position: relative;
    height: 170px;
    overflow: hidden;
    background: #fdf2f4;
}
.half-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.half-content {
    padding: 12px 15px;
}
.half-content h3 {
    font-size: 16px;
    color: #222;
}
.half-content .salary {
    font-size: 15px;
    font-weight: bold;
    color: #d1495b;
    margin: 4px 0;
}
.half-content .catch {
    font-size: 12px;
    color: #555;
    height: 36px;
    overflow: hidden;
}

/* スマホ対応（768px以下は縦並びに切り替え） */
@media (max-width: 768px) {
    .triple-grid {
        grid-template-columns: 1fr; /* スマホ時は1列、または必要に応じて3列のまま縮小可 */
        height: auto;
    }
    .triple-card {
        height: 70px;
    }
    .half-grid {
        grid-template-columns: 1fr; /* スマホ時は左右ではなく縦積み */
    }
}