/* =========================================================
   blog 共通スタイル（cir48.com ブログ）
   ========================================================= */

/* ---- 記事一覧 ---- */
.blog-list {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 4px;
}
.blog-card {
    display: block;
    background: #fff;
    border: 1px solid #ededed;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    padding: 16px 18px;
    margin-bottom: 14px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow .2s, transform .2s;
}
.blog-card:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,0.14);
    transform: translateY(-2px);
}
.blog-card .blog-no {
    display: inline-block;
    font-size: 0.78em;
    font-weight: 700;
    color: #fff;
    background: #3d7c50;
    border-radius: 999px;
    padding: 2px 10px;
    margin-bottom: 8px;
}
.blog-card h2 {
    margin: 4px 0 6px;
    font-size: 1.15em;
    line-height: 1.4;
}
.blog-card .blog-meta {
    font-size: 0.8em;
    color: #888;
}
.blog-card .blog-excerpt {
    margin-top: 8px;
    font-size: 0.9em;
    color: #555;
    line-height: 1.6;
}

/* ---- 記事本文 ---- */
.blog-article {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 6px;
    line-height: 1.85;
}
.blog-article h1.blog-title {
    font-size: 1.5em;
    line-height: 1.45;
    margin: 6px 0 10px;
}
.blog-article .blog-meta {
    font-size: 0.85em;
    color: #888;
    border-bottom: 1px solid #ececec;
    padding-bottom: 12px;
    margin-bottom: 20px;
}
.blog-article .blog-meta .author {
    font-weight: 700;
    color: #3d7c50;
}
.blog-article h2 {
    font-size: 1.2em;
    border-left: 5px solid #3d7c50;
    padding-left: 10px;
    margin: 30px 0 12px;
}
.blog-article p { margin: 0 0 16px; }

/* リード文（冒頭の導入段落） */
.blog-article p.blog-lead {
    background: #f7f8fa;
    border-left: 4px solid #5bbb78;
    border-radius: 8px;
    padding: 14px 16px;
    color: #444;
}

/* ---- 色ランキング ---- */
.color-rank { margin: 8px 0 4px; }
.color-rank .cr-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 0;
    border-bottom: 1px dashed #e6e6e6;
}
.color-rank .cr-rank {
    width: 2.2em;
    text-align: center;
    font-weight: 700;
    color: #555;
}
.color-rank .cr-swatch {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #ccc;
    flex: 0 0 auto;
}
.color-rank .cr-name {
    width: 4.5em;
    font-weight: 600;
}
.color-rank .cr-bar-wrap {
    flex: 1 1 auto;
    background: #f1f1f1;
    border-radius: 999px;
    height: 14px;
    overflow: hidden;
}
.color-rank .cr-bar {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg,#5bbb78,#3d7c50);
}
.color-rank .cr-count {
    width: 3.2em;
    text-align: right;
    font-variant-numeric: tabular-nums;
    color: #333;
}

/* 強調ボックス（最希少色など） */
.blog-callout {
    background: #f4f9f5;
    border: 1px solid #d6e8db;
    border-radius: 10px;
    padding: 14px 16px;
    margin: 18px 0;
}
.blog-callout .ttl { font-weight: 700; color: #3d7c50; }

/* 参考データ */
.blog-refs {
    background: #fafafa;
    border: 1px solid #ececec;
    border-radius: 10px;
    padding: 14px 16px;
    margin: 26px 0;
    font-size: 0.92em;
}
.blog-refs .ttl { font-weight: 700; margin-bottom: 6px; }
.blog-refs ul { margin: 0; padding-left: 1.2em; }
.blog-refs li { margin: 4px 0; }

/* ---- 前後ナビ ---- */
.blog-nav {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 1px 0 10px;
}
.blog-nav a, .blog-nav span {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 14px;
    border: 1px solid #ededed;
    border-radius: 10px;
    background: #fff;
    text-decoration: none;
    color: #333;
    font-size: 0.9em;
}
.blog-nav a:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.12); }
.blog-nav .disabled {
    color: #bbb;
    background: #f7f7f7;
    cursor: default;
}
.blog-nav .nav-arrow { font-size: 1.2em; line-height: 1; }

/* 一覧へ戻る（ボタンは .crystal-btn を使用） */
.blog-back {
    text-align: center;
    margin: 18px 0 4px;
}

/* ---- タイトルのバナー（シックなダーク基調） ---- */
.blog-hero {
    color: #fff;
    background: linear-gradient(135deg,#2b3340 0%,#454f60 100%);
    border-left: 6px solid #5bbb78;
    border-radius: 10px;
    padding: 18px 22px;
    margin: 6px auto 18px;
    max-width: 760px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.18);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    line-height: 1.45;
}
h1.blog-hero .hero-sub { color: #cfe6d6; opacity: 1; }
/* 本文中のボタンは共通の .crystal-btn（assets/css/buttons.css）を使用 */
.blog-article h1.blog-title.blog-hero { font-size: 1.5em; }
h1.blog-hero .hero-sub {
    display: block;
    font-size: 0.5em;
    font-weight: 400;
    opacity: 0.95;
    margin-top: 4px;
}

/* ---- 全メンバーのペンライトカラー一覧グリッド ---- */
.pl-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(150px,1fr));
    gap: 6px 12px;
    margin: 12px 0;
}
.pl-member {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 5px 9px;
    background: #fff;
    border: 1px solid #ededed;
    border-radius: 8px;
    font-size: 0.88em;
}
.pl-name { font-weight: 600; }
.pl-dots { display: inline-flex; gap: 3px; flex: 0 0 auto; }
.pl-dots i {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid #c8c8c8;
    display: inline-block;
}
.pl-note {
    font-size: 0.85em;
    color: #777;
    margin: 8px 0 0;
}
