/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jun 19 2026 | 03:52:17 */
/* ===== ブログポータル ===== */
.blogp {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.blogp br { display: none; }

/* カード全体（リンク） */
.blogp-card {
    display: flex;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    text-decoration: none !important;
    color: inherit !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.blogp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(0,0,0,0.15);
}

/* 写真 */
.blogp-photo {
    flex: 0 0 35%;
    width: 35%;
    position: relative;
    overflow: hidden;
    background: #5c8da8;
}
.blogp-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.blogp-card:hover .blogp-photo img {
    transform: scale(1.06);
}
/* 写真上のタイトル（下に暗いグラデーションを敷いて可読性確保） */
.blogp-photo-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 30px 18px 16px;
    color: #fff;
    font-size: 1.15em;
    font-weight: bold;
    text-align: center;
    line-height: 1.4;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0) 100%);
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* 本文側 */
.blogp-body {
    flex: 1;
    padding: 18px 24px;
    display: flex;
    flex-direction: column;
}
.blogp-desc {
    font-size: 0.9em;
    line-height: 1.7;
    color: #444;
    margin: 0 0 14px;
}
.blogp-more {
    margin-top: auto;
    align-self: flex-end;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #5c8da8;
    color: #fff;
    padding: 9px 22px;
    border-radius: 24px;
    font-size: 0.88em;
    font-weight: bold;
    transition: background 0.2s, gap 0.2s;
}
.blogp-card:hover .blogp-more {
    background: #3b6f8a;
    gap: 11px;
}
.blogp-arrow {
    transition: transform 0.2s;
}

/* スマホ：写真上・本文下の縦積み */
@media (max-width: 600px) {
    .blogp-card { flex-direction: column; }
    .blogp-photo {
        flex: 0 0 auto;
        width: 100%;
        height: 160px;
    }
    .blogp-body { padding: 20px; }
    .blogp-more { align-self: stretch; justify-content: center; }
}

/* カードが下からふわっとフェードイン */
.blogp-card {
    opacity: 0;
    transform: translateY(30px);
    animation: blogpFadeUp 1.2s ease forwards;
}
@keyframes blogpFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* カード高さを固定して統一（この数値はお好みで調整） */
.blogp-card {
    height: 160px;
}

/* スマホは縦積みなので高さ固定を解除 */
@media (max-width: 600px) {
    .blogp-card {
        height: auto;
    }
}

/* 本文説明が溢れたら省略 */
.blogp-desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}