@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}

/*20260313 h2見出しのデザインを変更*/
.entry-content h2,
.entry-content h2::before,
.entry-content h2::after {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: none !important;
}

.entry-content h2 {
  font-size: clamp(1.25rem, 4vw, 1.625rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.3;
  color: #333333 !important;
  margin: 2.5rem 0 0.75rem;
  padding: 0 0 0.5rem;
  display: block;
  -webkit-text-fill-color: #333333;
  border-bottom: 3px solid !important;
  border-image: linear-gradient(90deg, #0071e3, #34aadc) 1 !important;
}

/*20260315 h3見出しのデザインを変更*/
.entry-content h3,
.entry-content h3::before,
.entry-content h3::after {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: none !important;
}

.entry-content h3 {
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: #333333 !important;

  margin: 1.8rem 0 0.6rem;
  /* 左側の余白（padding）も不要であれば、ここを 0 にしてください */
  padding-left: 0;

  /* border-left を none に変更、またはこの行自体を削除 */
  border-left: none !important;
}

/*20260321 目次のデザインを変更*/
/* ===== 目次ボックス（中央配置＋上品な箱感） ===== */
body .entry-content .toc {
  max-width: 640px;
  margin: 32px auto;
  padding: 16px 18px;
  background: #f9fafb !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 16px !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04) !important;
}
/* ===== 内側の不要な線・装飾を全削除 ===== */
body .entry-content .toc *,
body .entry-content .toc-list,
body .entry-content .toc-list li,
body .entry-content .toc-content {
  border: none !important;
  box-shadow: none !important;
}
/* ===== タイトル（黒帯完全除去） ===== */
body .entry-content .toc-title {
  background: none !important;
  color: #6b7280 !important;
  padding: 0 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px !important;
  display: flex !important;
  justify-content: space-between;
  align-items: center;
}
/* Apple風ラベル */
body .entry-content .toc-title::before {
  content: "CONTENTS";
  font-size: 10px;
  color: #9ca3af;
  margin-right: 8px;
}
/* ===== アコーディオンアイコン ===== */
body .entry-content .toc-title::after {
  content: "[開く]";
  font-size: 13px;
  color: #9ca3af;
  transition: transform 0.2s ease;
}
/* 開閉状態 */
body .entry-content .toc.open .toc-title::after {
  content: "−";
}
/* ===== リスト ===== */
body .entry-content .toc-list {
  padding-left: 0 !important;
  margin: 0 !important;
}
/* ===== 各項目 ===== */
body .entry-content .toc-list li {
  list-style: none !important;
  margin: 0 !important;
}
/* ミニマル区切り線 */
body .entry-content .toc-list li + li {
  border-top: 1px solid #eef2f7 !important;
}
/* ===== リンク ===== */
body .entry-content .toc-list a {
  display: block !important;
  padding: 10px 8px !important;
  text-decoration: none !important;
  color: #111827 !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  border-radius: 8px;
  transition: all 0.15s ease;
}
/* ホバー（静かな強調） */
body .entry-content .toc-list a:hover {
  background: #f3f4f6 !important;
  transform: translateX(2px);
}
/* クリック時 */
body .entry-content .toc-list a:active {
  background: #e5e7eb !important;
}
/* ===== スマホ最適化 ===== */
@media screen and (max-width: 768px) {
  body .entry-content .toc {
    max-width: 100%;
    margin: 24px 0;
    padding: 14px;
  }
  body .entry-content .toc-list a {
    font-size: 13px !important;
    padding: 10px 4px !important;
  }
}

/* 20260328 カテゴリー・タグラベルの完全上書き */
/* 1. 全体共通：フォントの質感を整える（システムフォント優先） */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
/* 2. サイドバーの見出し帯（カテゴリー・タグ等のタイトル） */
/* クリップアイコン等を消去し、ミニマルな下線スタイルへ */
.widget-title,
.widget_categories h4,
.widget_tag_cloud h4,
#sidebar .widget-title {
    background-color: transparent !important; /* 背景色を排除 */
    color: #1d1d1f !important;               /* Apple標準の黒 */
    border: none !important;                  /* 全ての枠線をリセット */
    border-bottom: 1px solid #d2d2d7 !important; /* 下線のみ残す */
    padding: 0 0 12px 0 !important;           /* 余白を贅沢に */
    margin-bottom: 24px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
    position: relative;
    text-indent: 0 !important;
}
/* Cocoon独自の擬似要素（クリップ・画鋲アイコン等）を完全に抹殺 */
.widget-title::before,
.widget-title::after,
.widget_categories h4::before,
.widget_tag_cloud h4::before,
#sidebar .widget-title::before,
#sidebar .widget-title::after {
    content: none !important;
    display: none !important;
}
/* 3. カテゴリーラベル（記事カードや投稿内の小さな帯） */
/* 背景を透過させ、磨りガラスのような質感を付与 */
body a.cat-label,
.entry-card .cat-label,
.post-category .cat-label,
.article .cat-label {
    background-color: rgba(245, 245, 247, 0.7) !important;
    color: #1d1d1f !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 6px !important;
    padding: 3px 10px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1) !important;
    display: inline-block;
    text-decoration: none !important;
}
/* 4. タグラベル（カプセル型ボタン） */
/* 枠線メインのデザインから、ホバーでAppleブルーへ */
body .tag-cloud-link,
body .tag-link,
.entry-tag-link {
    background-color: #ffffff !important;
    border: 1px solid #d2d2d7 !important;
    color: #86868b !important;
    border-radius: 20px !important; /* iPhoneのような丸み */
    padding: 4px 14px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    display: inline-block;
    margin: 0 4px 8px 0 !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
/* タグ横のアイコン（iタグ等）も非表示にしてノイズを減らす */
.tag-link .fa, .tag-link .fas, .tag-link .tag-icon {
    display: none !important;
}
/* ホバーアクション：浮遊感とカラーチェンジ */
body .tag-cloud-link:hover,
body .tag-link:hover,
.entry-tag-link:hover {
    background-color: #0071e3 !important; /* Apple Blue */
    color: #ffffff !important;
    border-color: #0071e3 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 15px rgba(0, 113, 227, 0.3) !important;
}
/* 5. サイドバー内のリスト項目（カテゴリー一覧など） */
.widget_categories ul li {
    list-style: none !important;
}
.widget_categories ul li a {
    color: #424245 !important;
    font-size: 14px !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid #f5f5f7 !important;
    display: block;
    transition: color 0.2s ease;
}
.widget_categories ul li a:hover {
    color: #0071e3 !important;
}


/* 20260328 タグ、カテゴリごとの一覧ページのデザイン変更 */
/* 1. ページタイトルエリア（帯）を真っ白にリセット */
.archive-title {
    background-color: #ffffff !important; /* 派手な背景色を廃止 */
    border: none !important;              /* 枠線を排除 */
    color: #1d1d1f !important;            /* Apple標準の黒 */
    text-align: center !important;        /* 中央揃えで洗練させる */
    padding: 60px 20px !important;        /* 贅沢な余白（ホワイトスペース） */
    margin-bottom: 40px !important;
    font-size: 32px !important;           /* タイトルを大きく、かつ細めに */
    font-weight: 600 !important;
    letter-spacing: -0.02em !important;
    position: relative;
}
/* 「カテゴリー：」「タグ：」というプレフィックスを消して、単語だけにする場合 */
/* ※Cocoonの設定で消せますが、CSSでも補強 */
.archive-title span {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #86868b; /* サブテキスト的なグレー */
    margin-bottom: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
/* 2. カテゴリー/タグの説明文（もし入力していれば）のデザイン */
.archive-meta {
    max-width: 600px;
    margin: -20px auto 40px !important;
    color: #515154 !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    text-align: center;
    border: none !important;
    background: none !important;
}
/* 3. 記事一覧カードのグリッド調整（2カラム・3カラムの場合） */
.entry-card-wrap {
    border-radius: 20px !important;       /* iPhoneの角丸 */
    border: 1px solid #f5f5f7 !important; /* 極細の境界線 */
    background: #ffffff !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.entry-card-wrap:hover {
    transform: translateY(-8px) scale(1.01) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
    border-color: #d2d2d7 !important;
}
/* 4. サムネイル画像（アイキャッチ）の角丸とホバー */
.entry-card-thumb img {
    border-radius: 12px !important;
    margin: 12px !important;              /* カード内に少し余白を設ける */
    width: calc(100% - 24px) !important;
    height: auto !important;
    transition: transform 0.6s ease;
}
/* 5. ページ送り（ページネーション）もApple風に */
.pagination a, .pagination .current {
    border: none !important;
    background-color: #f5f5f7 !important;
    color: #1d1d1f !important;
    border-radius: 50% !important;        /* 円形ボタン */
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    margin: 0 5px !important;
}
.pagination .current {
    background-color: #0071e3 !important; /* Apple Blue */
    color: #ffffff !important;
}



/* 20260328 関連記事ボックスのデザイン変更 */
/* 関連記事エリア全体の余白とタイトル */
.related-entry-heading {
    border: none !important;
    background: transparent !important;
    color: #1d1d1f !important;
    font-size: 24px !important;
    font-weight: 600 !important;
    letter-spacing: -0.02em !important;
    text-align: center;
    padding: 60px 0 30px !important;
}
/* 関連記事のカード本体 */
.related-entry-card-wrap {
    border: none !important;
    background-color: #ffffff !important;
    border-radius: 20px !important; /* iPhone風の深い角丸 */
    margin-bottom: 20px !important;
    padding: 0 !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
    overflow: hidden;
}
/* ホバー時の浮遊感（Apple Storeの製品カード風） */
.related-entry-card-wrap:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
    background-color: #ffffff !important;
}
/* サムネイル画像（アイキャッチ） */
.related-entry-card-thumb img {
    border-radius: 0 !important; /* 上部は直線、全体でカードの形に合わせる */
    transition: transform 0.8s cubic-bezier(0.2, 0, 0.2, 1);
}
.related-entry-card-wrap:hover .related-entry-card-thumb img {
    transform: scale(1.05); /* 内部で画像だけわずかにズーム */
}
/* 記事タイトル */
.related-entry-card-title {
    color: #1d1d1f !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    margin: 16px 16px 10px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 2行に収める */
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* 記事の抜粋（スニペット）を非表示または薄くする */
/* Apple風にするならタイトルのみの方がスッキリします */
.related-entry-card-snippet {
    display: none !important; /* 思い切って消すとリッチになります */
}
/* 日付などのメタ情報（必要であれば） */
.related-entry-card-date {
    font-size: 11px !important;
    color: #86868b !important;
    margin: 0 16px 16px !important;
    font-weight: 400;
}
/* カテゴリーラベルが重なる場合の調整 */
.related-entry-card .cat-label {
    top: 12px !important;
    left: 12px !important;
}



/* 20260328 ブログカードのデザインを変更 */
/* 1. 親要素の回り込み解除を無効化し、現代的なコンテナへ */
.widget-entry-cards,
.popular-entry-cards {
    display: block !important;
}
/* 2. カード本体：floatを殺してFlexboxを強制 */
.widget-entry-card.e-card {
    display: flex !important;
    float: none !important; /* float: leftを上書き */
    clear: none !important;
    width: 100% !important;
    padding: 12px !important;
    margin-bottom: 12px !important;
    border: 1px solid #d2d2d7 !important;
    border-radius: 14px !important;
    background-color: #fff !important;
    align-items: center !important; /* 垂直中央 */
    justify-content: flex-start !important; /* 左詰め */
    gap: 16px !important; /* 画像とテキストの距離を固定 */
    box-sizing: border-box !important;
}
/* 3. サムネイル：Cocoonの固定幅を解除し、Apple風サイズへ */
.widget-entry-card-thumb.card-thumb {
    float: none !important;
    margin: 0 !important;
    width: 100px !important; /* 画像幅をエンジニアライクに固定 */
    height: 60px !important;
    flex-shrink: 0 !important; /* 画像が潰れるのを防ぐ */
}
.widget-entry-card-thumb.card-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 8px !important;
}
/* 4. テキストエリア：タイトルの「中抜け」を解消 */
.widget-entry-card-content.card-content {
    float: none !important;
    width: auto !important; /* 100%から固定幅を引いた自動計算へ */
    margin: 0 !important;
    padding: 0 !important;
    flex-grow: 1 !important; /* 残りのスペースを埋める */
}
/* 5. 記事タイトル：右端まで逃げないよう制御 */
.widget-entry-card-title.card-title {
    color: #1d1d1f !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    text-align: left !important;
    margin: 0 !important;
}
/* 6. 不要なメタ情報（日付・ランキング）を消してノイズをカット */
.widget-entry-card-meta,
.popular-entry-card-date {
    display: none !important;
}
/* 7. ランキング数字がある場合：Apple風のドットに変更 */
.ranking-visible .no-1::before, 
.ranking-visible .no-2::before, 
.ranking-visible .no-3::before {
    top: -8px !important;
    left: -8px !important;
    background: #1d1d1f !important;
}





/* ============================================================
   20260509 タグページの作品ダッシュボード化
============================================================ */

.wdash {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1rem 4rem;
}

/* ================================================================
   作品プロフィールカード
================================================================ */
.wdash-profile {
  background: #fff;
  border: 1px solid #f5f5f7;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,.03);
  overflow: hidden;
  margin-bottom: 2rem;
}

.wdash-profile__top {
  display: flex;
  gap: 1.8rem;
  padding: 2rem;
  background: linear-gradient(140deg, #0f0f1a 0%, #1a1a35 55%, #0d1a2e 100%);
  position: relative;
}
.wdash-profile__top::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 45% at 75% 25%, rgba(0,113,227,.2), transparent);
  pointer-events: none;
}

.wdash-profile__cover { flex-shrink: 0; position: relative; z-index: 1; }
.wdash-profile__cover a { display: block; }
.wdash-profile__cover img {
  width: 110px !important; height: auto !important;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08);
  display: block;
  transition: transform .6s cubic-bezier(.2,0,.2,1);
}
.wdash-profile__cover:hover img { transform: scale(1.03); }

.wdash-profile__info { flex: 1; min-width: 0; position: relative; z-index: 1; }
.wdash-profile__badges { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .7rem; }

.wdash-status-dot {
  display: inline-flex; align-items: center; gap: .4em;
  font-size: .75rem; font-weight: 600;
  color: var(--sc, #22c55e);
  background: color-mix(in srgb, var(--sc,#22c55e) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--sc,#22c55e) 35%, transparent);
  padding: .2em .75em; border-radius: 20px;
}
.wdash-status-dot__ring {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sc, #22c55e);
  animation: wdash-pulse 2s ease-in-out infinite;
}
@keyframes wdash-pulse {
  0%,100% { box-shadow: 0 0 0 2px color-mix(in srgb,var(--sc,#22c55e) 30%,transparent); }
  50%      { box-shadow: 0 0 0 5px color-mix(in srgb,var(--sc,#22c55e) 10%,transparent); }
}
.wdash-genre-pill {
  font-size: .72rem; font-weight: 600; letter-spacing: .05em;
  color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  padding: .2em .8em; border-radius: 6px;
}
.wdash-profile__title {
  font-size: 1.7rem !important; font-weight: 800 !important;
  color: #fff !important; -webkit-text-fill-color: #fff !important;
  margin: 0 0 .25rem !important; line-height: 1.25 !important;
  letter-spacing: -.02em !important;
  border: none !important; border-bottom: none !important;
  border-image: none !important; background: none !important; padding: 0 !important;
}
.wdash-profile__author { font-size: .82rem; color: rgba(255,255,255,.45); margin: 0 0 .9rem; }
.wdash-stats { display: flex; gap: 1.4rem; margin-bottom: .7rem; }
.wdash-stat__num { display: block; font-size: 1.5rem; font-weight: 700; color: #fff; line-height: 1; }
.wdash-stat__label { display: block; font-size: .68rem; color: rgba(255,255,255,.38); margin-top: .12rem; letter-spacing: .04em; }

.wdash-official-btn {
  display: inline-flex; align-items: center; gap: .45em;
  font-size: .8rem; font-weight: 600;
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  padding: .45em 1.1em; border-radius: 20px;
  text-decoration: none;
  transition: all .4s cubic-bezier(.4,0,.2,1);
}
.wdash-official-btn:hover {
  background: #0071e3; border-color: #0071e3; color: #fff;
  transform: translateY(-2px); box-shadow: 0 6px 15px rgba(0,113,227,.3);
}
.wdash-official-btn svg { width: 13px; height: 13px; flex-shrink: 0; }

.wdash-profile__desc {
  padding: 1.25rem 2rem;
  border-bottom: 1px solid #f0f0f2;
  background: #fafafa;
}
.wdash-profile__desc p { margin: 0; font-size: .88rem; line-height: 1.9; color: #515154; }

.wdash-profile__posts { padding: 1.5rem 2rem 2rem; background: #fff; }

/* ================================================================
   アコーディオン（Google Material風 + Apple丸み）
================================================================ */
.wdash-accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* アイテム全体 */
.wdash-acc-item {
  border-bottom: 1px solid #f0f0f2;
}
.wdash-acc-item:last-child {
  border-bottom: none;
}

/* ヘッダーボタン */
.wdash-acc-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: 1rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
  transition: opacity .15s;
}
.wdash-acc-header:hover { opacity: .75; }
.wdash-acc-header:active { opacity: .5; }

/* カテゴリ名 */
.wdash-acc-header__name {
  flex: 1;
  font-size: .95rem;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -.01em;
}

/* 件数バッジ */
.wdash-acc-header__count {
  font-size: .72rem;
  font-weight: 500;
  color: #fff;
  background: #0071e3;
  padding: .15em .6em;
  border-radius: 20px;
  line-height: 1.5;
  flex-shrink: 0;
}

/* シェブロン矢印 */
.wdash-acc-header__chevron {
  width: 18px;
  height: 18px;
  color: #86868b;
  flex-shrink: 0;
  transition: transform .25s cubic-bezier(.4,0,.2,1);
}
.wdash-acc-item.is-open .wdash-acc-header__chevron {
  transform: rotate(180deg);
}

/* パネル：max-height でスムーズアニメ */
.wdash-acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s cubic-bezier(.4,0,.2,1);
}
.wdash-acc-item.is-open .wdash-acc-panel {
  /* JSが scrollHeight をセット。CSSは初期状態のみ制御 */
}

/* パネル内の余白 */
.wdash-acc-panel .widget-entry-cards {
  padding-bottom: .75rem;
}

/* ================================================================
   カテゴリカードグリッド
================================================================ */
.wdash-catgrid {
  display: grid;
  /* 2列グリッド。カードとドロワーは全幅で独立した行 */
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}

/* カテゴリカード */
.wdash-catcard {
  grid-column: span 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .3rem;
  padding: 1.25rem 1.25rem 1rem;
  background: #f5f5f7;
  border: 1.5px solid transparent;
  border-radius: 16px;
  cursor: pointer;
  text-align: left;
  transition: background .2s, border-color .2s, box-shadow .2s, transform .2s cubic-bezier(.4,0,.2,1);
  position: relative;
  -webkit-tap-highlight-color: transparent;
}
.wdash-catcard:hover {
  background: #ebebed;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.07);
}
.wdash-catcard.is-active {
  background: #fff;
  border-color: #0071e3;
  box-shadow: 0 0 0 3px rgba(0,113,227,.12), 0 8px 24px rgba(0,113,227,.1);
  transform: translateY(-2px);
}

.wdash-catcard__icon {
  font-size: 1.6rem;
  line-height: 1;
  margin-bottom: .2rem;
}
.wdash-catcard__name {
  font-size: .95rem;
  font-weight: 700;
  color: #1d1d1f;
  line-height: 1.2;
}
.wdash-catcard.is-active .wdash-catcard__name { color: #0071e3; }

.wdash-catcard__count {
  font-size: .75rem;
  font-weight: 600;
  color: #86868b;
}
.wdash-catcard.is-active .wdash-catcard__count { color: #0071e3; }

.wdash-catcard__latest {
  font-size: .68rem;
  color: #adadb0;
  margin-top: .1rem;
}

/* シェブロン */
.wdash-catcard__chevron {
  position: absolute;
  bottom: 1rem; right: 1rem;
  width: 16px; height: 16px;
  color: #adadb0;
  transition: transform .25s cubic-bezier(.4,0,.2,1), color .2s;
}
.wdash-catcard.is-active .wdash-catcard__chevron {
  transform: rotate(180deg);
  color: #0071e3;
}

/* ドロワー：全幅で2列グリッドをまたぐ */
.wdash-drawer {
  grid-column: 1 / -1;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s cubic-bezier(.4,0,.2,1);
}
.wdash-drawer[hidden] { display: none; } /* hidden属性で完全非表示 */
/* hidden解除後はdisplayを戻す */
.wdash-drawer:not([hidden]) { display: block; }

.wdash-drawer__inner {
  padding: .5rem 0 .75rem;
  border-top: 1px solid #f0f0f2;
  margin-top: .25rem;
}

/* ================================================================
   ブログカード補正（タグページ内限定）
================================================================ */
.wdash-profile__posts .widget-entry-card.e-card {
  background-color: #fff !important;
  border: 1px solid #d2d2d7 !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 15px rgba(0,0,0,.04) !important;
  transition: all .4s cubic-bezier(.4,0,.2,1) !important;
}
.wdash-profile__posts .widget-entry-card.e-card:hover {
  transform: translateY(-4px) scale(1.005) !important;
  box-shadow: 0 20px 40px rgba(0,0,0,.08) !important;
  border-color: #b0b0b8 !important;
}
.wdash-profile__posts .widget-entry-card-date.card-date {
  display: block !important;
  font-size: 11px !important;
  color: #86868b !important;
  font-weight: 400 !important;
  margin-top: 3px !important;
}
.wdash-profile__posts .widget-entry-card-thumb.card-thumb img {
  border-radius: 8px !important;
  object-fit: cover !important;
}
.wdash-profile__posts .widget-entry-card.e-card:hover .widget-entry-card-title.card-title {
  color: #0071e3 !important;
}

.wdash-no-thumb {
  width: 100px; height: 60px;
  background: #f5f5f7; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
}
.wdash-card-num {
  flex-shrink: 0; font-size: .72rem; font-weight: 700;
  color: #d2d2d7; min-width: 20px; text-align: right;
  font-variant-numeric: tabular-nums; align-self: center;
}
.widget-entry-card:nth-child(1) .wdash-card-num,
.widget-entry-card:nth-child(2) .wdash-card-num,
.widget-entry-card:nth-child(3) .wdash-card-num { color: #0071e3; }

/* ================================================================
   関連作品
================================================================ */
.wdash-section { margin-bottom: 2rem; }
.wdash-section__title {
  font-size: 1rem; font-weight: 700; color: #1d1d1f;
  margin: 0 0 1rem; padding: 0 0 .5rem;
  border-bottom: 1px solid #d2d2d7;
  background: none; letter-spacing: -.01em;
}
.wdash-related { display: flex; gap: .75rem; flex-wrap: wrap; }
.wdash-related__item {
  display: flex; flex-direction: column; align-items: center;
  gap: .4rem; text-decoration: none; color: inherit; width: 76px;
}
.wdash-related__img {
  width: 76px; height: 108px; border-radius: 12px; overflow: hidden;
  background: #f5f5f7; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; box-shadow: 0 4px 15px rgba(0,0,0,.06);
  border: 1px solid #f5f5f7;
  transition: all .4s cubic-bezier(.4,0,.2,1);
}
.wdash-related__img img { width: 100% !important; height: 100% !important; object-fit: cover; transition: transform .6s cubic-bezier(.2,0,.2,1); }
.wdash-related__item:hover .wdash-related__img { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,.1); border-color: #d2d2d7; }
.wdash-related__item:hover .wdash-related__img img { transform: scale(1.05); }
.wdash-related__name { font-size: .7rem; text-align: center; color: #424245; line-height: 1.3; word-break: break-all; }

/* ================================================================
   モバイル
================================================================ */
@media screen and (max-width: 600px) {
  .wdash { padding: 0 .75rem 3rem; }
  .wdash-profile { border-radius: 16px; }
  .wdash-profile__top { padding: 1.4rem 1.4rem 1.2rem; gap: 1rem; }
  .wdash-profile__cover img { width: 80px !important; }
  .wdash-profile__title { font-size: 1.25rem !important; }
  .wdash-profile__desc { padding: 1rem 1.4rem; }
  .wdash-profile__posts { padding: 1.2rem 1.4rem 1.6rem; }
  .wdash-stats { gap: 1rem; }
  .wdash-stat__num { font-size: 1.15rem; }
  /* モバイルは1列 */
  .wdash-catgrid { grid-template-columns: 1fr; }
  .wdash-catcard { flex-direction: row; align-items: center; gap: .75rem; padding: 1rem 1.1rem; }
  .wdash-catcard__icon { font-size: 1.3rem; margin-bottom: 0; }
  .wdash-catcard__latest { display: none; }
  .wdash-catcard__chevron { position: static; margin-left: auto; }
  .wdash-acc-header { padding: .85rem 0; }
  .wdash-acc-header__name { font-size: .9rem; }
}