/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jul 07 2026 | 04:17:52 */
/* =========================================================
   harima-post-card 共通デザイン（dept_archive / archive_XX共通）
   ========================================================= */
.harima-post-list {
    display: flex;
    flex-direction: column;
}

.harima-post-card {
    display: flex;
    align-items: center;
    border: 1px solid #5c8da8 !important;
    border-radius: 8px !important;
    margin-bottom: 15px !important;
    padding: 15px !important;
    background: #fff !important;
}

.harima-post-card-img {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}

.harima-post-card-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.harima-post-card-body {
    flex: 1;
    min-width: 0;
}

.harima-post-card-date {
    display: flex;
    align-items: center;
    gap: 8px;
}

.harima-post-card-title {
    font-size: 21px !important;
    font-weight: bold !important;
    line-height: 1.4 !important;
    margin: 0 0 8px !important;
}

.harima-post-card-title a {
    color: #333;
}

.harima-post-card-excerpt {
    font-size: 0.9em;
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
}

.harima-post-card-btn {
    text-align: right;
}

.harima-post-card-btn a {
    display: inline-block;
    background-color: #5c8da8 !important;
    color: #fff !important;
    padding: 8px 20px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: bold !important;
}

.hs-dept-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #5c8da8;
    color: #fff;
    font-size: 0.75em;
    padding: 4px 10px;
    border-radius: 999px;
}

/* --- PC版（992px以上）：画像とテキストを横並びに --- */
@media (min-width: 992px) {
    .harima-post-card-img {
        flex: 0 0 230px;
        height: 160px;
        margin-right: 15px;
    }
}

/* --- スマホ版（991px以下）：縦並びに --- */
@media (max-width: 991px) {
    .harima-post-card {
        display: block !important;
    }
    .harima-post-card-img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        margin-bottom: 15px;
    }
    .harima-post-card-body {
        width: 100%;
    }
}

/* harima-post-card内のNEWバッジは、素直なブロック要素として振る舞わせる */
.harima-post-card-body > .new-badge {
    display: inline-block;
    align-self: unset;
    width: auto;
    vertical-align: baseline;
    margin: 0 0 8px;
}

/* harima-post-card の縦揃えをtopに変更（画像とテキストの高さ差による位置ズレ防止） */
.harima-post-card {
    align-items: flex-start !important;
}

/* harima-post-card専用のNEWバッジ（.new-badgeとは完全に別物として定義） */
.harima-card-badge-new {
    display: inline-block;
    width: fit-content;
    font-size: 0.7em;
    font-weight: bold;
    background: #e74c3c;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.05em;
    margin: 0;
}