/* ========================================== */
/* 最新記事ショートコード専用スタイル（全体改変版） */
/* ========================================== */

.latest-posts {
    margin: 30px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.latest-posts .post-item {
    margin-bottom: 30px;
    padding: 25px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.latest-posts .post-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 0, 0, 0.05);
}

.latest-posts .entry-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 12px;
}

.latest-posts .posted-on {
    display: inline-flex;
    align-items: center;
}

.latest-posts .posted-on::before {
    content: "📅";
    margin-right: 5px;
    font-size: 0.9em;
}

/* タクソノミータグスタイル（共通） */
.latest-posts .taxonomy-links {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-left: 0;
}

.latest-posts .taxonomy-links a {
    display: inline-block;
    padding: 0.35em 0.9em;
    border-radius: 16px;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    transition: all 0.25s ease;
    letter-spacing: 0.02em;
}

/* 製品タグ（ブルー系） */
.latest-posts .product-terms a {
    background: rgba(25, 118, 210, 0.1);
    color: #1976d2;
    border: 1px solid rgba(25, 118, 210, 0.2);
}

.latest-posts .product-terms a:hover {
    background: rgba(25, 118, 210, 0.2);
    transform: translateY(-1.5px);
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.15);
}

/* メンバー限定タグ（ピンク系） */
.latest-posts .member-terms a {
    background: rgba(194, 24, 91, 0.1);
    color: #c2185b;
    border: 1px solid rgba(194, 24, 91, 0.2);
}

.latest-posts .member-terms a:hover {
    background: rgba(194, 24, 91, 0.2);
    transform: translateY(-1.5px);
    box-shadow: 0 2px 8px rgba(194, 24, 91, 0.15);
}

/* タイトルスタイル */
.latest-posts .entry-title {
    margin: 0 0 15px 0;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.3;
}

.latest-posts .entry-title a {
    color: #212529;
    text-decoration: none;
    transition: color 0.2s ease;
}

.latest-posts .entry-title a:hover {
    color: #1976d2;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* サマリースタイル */
.latest-posts .entry-summary {
    margin-top: 15px;
    color: #495057;
    line-height: 1.7;
    font-size: 0.95rem;
}

.latest-posts .entry-summary p {
    margin: 0 0 10px 0;
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
    .latest-posts .post-item {
        padding: 20px;
    }
    
    .latest-posts .entry-title {
        font-size: 1.3rem;
    }
}

/* ================================== */
/* 最新記事ショートコード専用タグスタイル */
/* ================================== */

.latest-posts .taxonomy-links {
    display: inline-block;
    margin-left: 10px;
    font-size: 0; /* インライン要素の隙間を削除 */
}

.latest-posts .taxonomy-links a {
    display: inline-block;
    padding: 0.3em 0.8em;
    border-radius: 15px;
    font-size: 0.8rem; /* 元のサイズに戻す */
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-right: 5px;
    margin-bottom: 3px;
}

/* 製品タグ（青系） */
.latest-posts .product-terms a {
    background-color: #e3f2fd !important;
    color: #1976d2 !important;
    border: 1px solid #bbdefb !important;
}

.latest-posts .product-terms a:hover {
    background-color: #bbdefb !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(25, 118, 210, 0.2);
}

/* メンバー限定タグ（ピンク系） */
.latest-posts .member-terms a {
    background-color: #fce4ec !important;
    color: #c2185b !important;
    border: 1px solid #f8bbd0 !important;
}

.latest-posts .member-terms a:hover {
    background-color: #f8bbd0 !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(194, 24, 91, 0.2);
}

.post-item:last-child {
    border-bottom: 0px;
    margin-bottom: 0px;
}

/* アーカイブページのh1タグのスタイル */
.arkhe-archive-title {
    font-size: 2.5rem;
    font-weight: 400;
    color: #333;
    text-align: center;
    margin: 2rem 0;
    padding-bottom: 1rem;
    line-height: 1.4;
    letter-spacing: 0.05em;
    position: relative;
}
.arkhe-archive-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 2px;
    background: #555;
    margin: 1rem auto 0;
}
.tag .arkhe-archive-title::after {
    background: #4CAF50;
}
.category .arkhe-archive-title::after {
    background: #2196F3;
}


/* search bar style */

/* モダン検索フォームスタイル（ホワイト×ブルー） */
.posts-archive-search {
    max-width: 500px;
    margin: 0 auto 3rem;
}

.search-form {
    position: relative;
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
}

.search-form:focus-within {
    box-shadow: 0 4px 20px rgba(0, 105, 204, 0.15);
    border-color: rgba(0, 105, 204, 0.3);
}

.search-field {
    flex: 1;
    padding: 14px 20px;
    font-size: 15px;
    color: #333;
    background-color: transparent;
    border: none;
    outline: none;
}

.search-field::placeholder {
    color: #999;
}

.search-submit {
    background: #0069cc;
    border: none;
    padding: 12px 20px;
    margin: 4px;
    cursor: pointer;
    color: white;
    border-radius: 26px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.search-submit:hover {
    background: #0052a3;
    transform: translateY(-1px);
}

.search-submit:active {
    transform: translateY(0);
}

.search-submit svg {
    width: 18px;
    height: 18px;
    margin-right: 6px;
}
