@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){
  /*必要ならばここにコードを書く*/
}
/* ==========================================================
   ROAD & SOUL カスタムCSS (Cocoon子テーマ用)
   ベース：蛍光グリーン (#00c853)
   作成：Phase 5
   ========================================================== */

/* --- カラー変数 --- */
:root {
  --rs-bg: #fafafa;
  --rs-card: #ffffff;
  --rs-text: #1a1a1a;
  --rs-text-sub: #666666;
  --rs-text-mute: #999999;
  --rs-border: #e5e5e5;
  --rs-accent: #00c853;
  --rs-accent-hover: #00b248;
  --rs-accent-light: #e6fff0;
  --rs-accent-dark: #004d20;
}

/* --- 全体ベース --- */
body {
  background-color: var(--rs-bg);
  color: var(--rs-text);
  font-family: 'Helvetica Neue', 'Hiragino Sans', 'ヒラギノ角ゴシック', 'Noto Sans JP', Arial, sans-serif;
  line-height: 1.7;
}

/* --- リンクカラー --- */
a {
  color: var(--rs-accent-dark);
  transition: color .15s;
}
a:hover {
  color: var(--rs-accent);
}

/* --- ヘッダー --- */
#header-container {
  border-bottom: 1px solid var(--rs-border);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
}
.site-name-text {
  letter-spacing: 2px;
  font-weight: 900;
}
.site-name-text::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--rs-accent);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  box-shadow: 0 0 8px rgba(0,200,83,0.6);
}

/* --- グローバルナビ --- */
#navi .navi-in > .menu-header > .menu-item > a {
  font-size: 13px;
  letter-spacing: 1px;
  font-weight: 600;
  color: var(--rs-text-sub);
}
#navi .navi-in > .menu-header > .menu-item > a:hover {
  color: var(--rs-accent-dark);
  background: var(--rs-accent-light);
  border-radius: 2px;
}

/* --- 記事カード（エントリーカード）のスタイル --- */
.entry-card,
.entry-card-wrap {
  background: var(--rs-card);
  border: 1px solid var(--rs-border);
  border-radius: 4px;
  transition: all .15s;
  margin-bottom: 20px;
}
.entry-card:hover,
.entry-card-wrap:hover {
  border-color: var(--rs-accent);
  box-shadow: 0 4px 12px rgba(0,200,83,0.1);
}

.entry-card-title,
.entry-card-wrap-title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.45;
  color: var(--rs-text);
}
.entry-card:hover .entry-card-title,
.entry-card-wrap:hover .entry-card-wrap-title {
  color: var(--rs-accent-dark);
}

.entry-card-snippet {
  font-size: 13px;
  color: var(--rs-text-sub);
  line-height: 1.85;
  /* 冒頭3行表示 */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.entry-card-meta .entry-card-info {
  font-size: 11px;
  color: var(--rs-text-mute);
}

/* --- カテゴリーラベル --- */
.cat-label {
  background: var(--rs-accent);
  color: #fff;
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 2px;
  border: none;
}

/* カテゴリー別カラー */
.cat-label.cat-label-travel,
.cat-travel .cat-label { background: #1b5e20; color: #fff; }
.cat-label.cat-label-food,
.cat-food .cat-label { background: #e65100; color: #fff; }
.cat-label.cat-label-bike,
.cat-food .cat-label { background: #0d47a1; color: #fff; }
.cat-label.cat-label-abroad,
.cat-abroad .cat-label { background: #4a148c; color: #fff; }

/* --- タグクラウド --- */
.tagcloud a,
.tag-cloud-link {
  font-size: 11px !important;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid var(--rs-border);
  color: var(--rs-text-sub);
  background: var(--rs-card);
  margin: 3px;
  transition: all .15s;
  font-weight: 500;
  text-decoration: none;
}
.tagcloud a:hover,
.tag-cloud-link:hover {
  background: var(--rs-accent);
  border-color: var(--rs-accent);
  color: #fff;
}

/* --- ボタン類 --- */
.button,
.more-link,
.wp-block-button__link {
  background: var(--rs-accent);
  color: #fff;
  padding: 11px 28px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: 2px;
  border: none;
  transition: background .15s;
}
.button:hover,
.more-link:hover,
.wp-block-button__link:hover {
  background: var(--rs-accent-hover);
  color: #fff;
}

/* --- 検索ボックス --- */
.search-edit {
  border: 1px solid var(--rs-border);
  border-radius: 2px;
  padding: 8px 12px;
  font-size: 13px;
  background: var(--rs-card);
}
.search-edit:focus {
  border-color: var(--rs-accent);
  box-shadow: 0 0 0 2px rgba(0,200,83,0.15);
  outline: none;
}

/* --- ページネーション --- */
.pagination .page-numbers {
  border: 1px solid var(--rs-border);
  color: var(--rs-text-sub);
  background: var(--rs-card);
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: var(--rs-accent);
  color: #fff;
  border-color: var(--rs-accent);
}

/* --- 記事詳細ページの見出し --- */
.article h1,
.article h2,
.article h3 {
  border: none;
  background: none;
  padding: 0;
}
.article h2 {
  font-size: 24px;
  font-weight: 800;
  border-left: 4px solid var(--rs-accent);
  padding-left: 12px;
  margin: 40px 0 20px;
  line-height: 1.4;
}
.article h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--rs-accent-dark);
  margin: 32px 0 16px;
}

/* --- 記事タイトル（詳細ページ） --- */
.article h1.entry-title {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

/* --- 関連記事 --- */
.related-entry-card-title {
  font-weight: 700;
}

/* --- フッター --- */
.footer {
  background: var(--rs-card);
  border-top: 1px solid var(--rs-border);
  color: var(--rs-text-mute);
}
.footer a {
  color: var(--rs-text-sub);
}
.footer a:hover {
  color: var(--rs-accent);
}

/* --- コメントエリア --- */
.comment-reply-title {
  font-size: 18px;
  font-weight: 800;
  border-left: 4px solid var(--rs-accent);
  padding-left: 12px;
}

/* --- スマホ調整 --- */
@media screen and (max-width: 768px) {
  .entry-card-title,
  .entry-card-wrap-title {
    font-size: 16px;
  }
  .entry-card-snippet {
    font-size: 12px;
    -webkit-line-clamp: 2;
  }
  .article h1.entry-title {
    font-size: 22px;
  }
  .article h2 {
    font-size: 20px;
  }
}

/* --- ページタイトル（カテゴリー・タグページ） --- */
.page-title,
.archive-title {
  font-size: 24px;
  font-weight: 800;
  border-bottom: 2px solid var(--rs-accent);
  padding-bottom: 10px;
  margin-bottom: 24px;
}

/* --- アーカイブページのdescription --- */
.archive-description {
  font-size: 13px;
  color: var(--rs-text-sub);
  margin-bottom: 20px;
}

/* --- スクロールバー・選択色 --- */
::selection {
  background: var(--rs-accent-light);
  color: var(--rs-accent-dark);
}


/* ==========================================================
   Phase 5.5 微調整パッチ
   既存のカスタムCSSの下に追加してください
   ========================================================== */

/* --- ヘッダーをコンパクトに --- */
#header-container {
  padding: 0 !important;
}
#header {
  padding: 8px 0 !important;
}
.site-name-text,
.site-name-text-link {
  font-size: 18px !important;
  margin: 0 !important;
}

/* --- キャッチフレーズ（tagline）が残る場合の非表示 --- */
.tagline,
.site-description {
  display: none !important;
}

/* --- PV数表示の非表示（Cocoon設定で消えない場合） --- */
.entry-card-meta .post-views,
.entry-card-wrap-meta .post-views,
.e-card-info .post-views {
  display: none !important;
}

/* --- フッターを白ベースに強制 --- */
.footer,
#footer,
.footer-in {
  background: var(--rs-card) !important;
  color: var(--rs-text-mute) !important;
  border-top: 1px solid var(--rs-border) !important;
  padding: 32px 4% !important;
}
.footer a,
#footer a,
.footer .site-name-text-link {
  color: var(--rs-text) !important;
}
.footer .copyright {
  font-size: 11px !important;
  color: var(--rs-text-mute) !important;
}

/* --- グローバルナビの余白調整（スッキリ見せる） --- */
#navi {
  border-top: none !important;
  border-bottom: 1px solid var(--rs-border) !important;
  background: var(--rs-card) !important;
}
#navi .navi-in > .menu-header > .menu-item > a {
  padding: 14px 18px !important;
  height: auto !important;
  line-height: 1.4 !important;
  font-size: 13px !important;
}
#navi .navi-in > .menu-header > .menu-item > a .caption-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
#navi .menu-description {
  font-size: 10px !important;
  color: var(--rs-text-mute) !important;
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* --- 記事カードの余白・見た目を詰める --- */
.entry-card-wrap,
.entry-card {
  padding: 16px !important;
  margin-bottom: 12px !important;
}
.entry-card-thumb {
  margin-right: 16px !important;
}

/* --- 記事下部の「コピーライト（©）」を控えめに --- */
.entry-card-meta .post-date,
.entry-card .post-date {
  font-size: 11px !important;
  color: var(--rs-text-mute) !important;
}

/* --- グローバルナビのホバー時の背景を控えめに --- */
#navi .navi-in > .menu-header > .menu-item > a:hover {
  background: var(--rs-accent-light) !important;
  color: var(--rs-accent-dark) !important;
}

/* --- モバイル表示の微調整 --- */
@media screen and (max-width: 768px) {
  #header {
    padding: 6px 0 !important;
  }
  .site-name-text,
  .site-name-text-link {
    font-size: 15px !important;
  }
  #navi .navi-in > .menu-header > .menu-item > a {
    padding: 10px 12px !important;
    font-size: 12px !important;
  }
  #navi .menu-description {
    display: none !important; /* モバイルでは説明文を非表示 */
  }
}

/* --- サイト名のドット装飾を強化 --- */
.site-name-text::before,
.site-name a::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--rs-accent);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  box-shadow: 0 0 10px rgba(0,200,83,0.8);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 8px rgba(0,200,83,0.6); }
  50% { box-shadow: 0 0 14px rgba(0,200,83,0.9); }
}




/* ==========================================================
   Phase 6: Front Page カスタムCSS
   style.css の末尾に追加
   ========================================================== */

/* トップページのときだけCocoonデフォルトの余白を調整 */
.home #main,
.home #main-in {
  padding: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
}

.home .breadcrumb,
.home .pagination { display: none !important; }

/* ========== 1. HERO ========== */
.rs-hero {
  padding: 60px 4% 50px;
  background: linear-gradient(160deg, #f0fff5 0%, var(--rs-bg) 80%);
  border-bottom: 1px solid var(--rs-border);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.rs-hero::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0,200,83,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.rs-hero-inner { position: relative; z-index: 1; }
.rs-hero-tag {
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--rs-accent-dark);
  margin-bottom: 10px;
  font-weight: 700;
}
.rs-hero-title {
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin: 0 0 14px;
  border: none !important;
  padding: 0 !important;
  background: none !important;
}
.rs-hero-title span {
  color: var(--rs-accent);
  position: relative;
  display: inline-block;
}
.rs-hero-title span::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 8px;
  background: var(--rs-accent-light);
  z-index: -1;
}
.rs-hero-sub {
  font-size: 13px;
  color: var(--rs-text-sub);
  max-width: 500px;
  margin: 0 auto 20px;
  line-height: 1.9;
}
.rs-hero-stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.rs-hstat { text-align: center; }
.rs-hstat-n {
  font-size: 22px;
  font-weight: 800;
  color: var(--rs-accent);
  line-height: 1;
}
.rs-hstat-l {
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--rs-text-mute);
  margin-top: 3px;
  font-weight: 600;
}

/* ========== 2. TAG CLOUD ========== */
.rs-tag-cloud-section {
  padding: 24px 4% 22px;
  border-bottom: 1px solid var(--rs-border);
  background: var(--rs-card);
}
.rs-sec-label {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--rs-accent-dark);
  margin-bottom: 12px;
  font-weight: 700;
}
.rs-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.rs-tag-pill {
  font-size: 11px;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid var(--rs-border);
  color: var(--rs-text-sub);
  background: var(--rs-card);
  font-weight: 500;
  text-decoration: none;
  transition: all .15s;
}
.rs-tag-pill:hover {
  background: var(--rs-accent);
  border-color: var(--rs-accent);
  color: #fff;
}
.rs-tag-pill .rs-cnt {
  font-size: 9px;
  opacity: .7;
  margin-left: 4px;
}

/* ========== 3. FILTER BAR ========== */
.rs-filter-bar {
  background: var(--rs-bg);
  border-bottom: 1px solid var(--rs-border);
  padding: 10px 4%;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 90;
}
.rs-filter-label {
  font-size: 10px;
  color: var(--rs-text-mute);
  letter-spacing: 2px;
  margin-right: 4px;
  font-weight: 700;
}
.rs-tag-btn {
  font-size: 11px;
  padding: 5px 11px;
  border-radius: 2px;
  border: 1px solid var(--rs-border);
  color: var(--rs-text-sub);
  background: var(--rs-card);
  font-weight: 600;
  text-decoration: none;
  transition: all .15s;
}
.rs-tag-btn:hover {
  border-color: var(--rs-accent);
  color: var(--rs-accent-dark);
}
.rs-tag-btn-active {
  background: var(--rs-accent);
  border-color: var(--rs-accent);
  color: #fff;
}
.rs-count-badge {
  font-size: 10px;
  background: var(--rs-bg);
  color: var(--rs-text-mute);
  padding: 1px 6px;
  border-radius: 10px;
  margin-left: 4px;
  font-weight: 600;
}
.rs-tag-btn-active .rs-count-badge {
  background: var(--rs-accent-dark);
  color: #fff;
}

/* ========== 4. PICKUP TILES ========== */
.rs-pickup-section {
  background: var(--rs-card);
  border-bottom: 1px solid var(--rs-border);
  padding: 32px 4% 36px;
}
.rs-pickup-inner { max-width: 1200px; margin: 0 auto; }
.rs-pickup-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--rs-accent);
}
.rs-pickup-title {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 4px;
  color: var(--rs-accent-dark);
  margin: 0;
  border: none;
  padding: 0;
  background: none;
}
.rs-pickup-sub {
  font-size: 11px;
  color: var(--rs-text-mute);
  letter-spacing: 1px;
  font-weight: 500;
}
.rs-pickup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1px;
  background: var(--rs-border);
  border: 1px solid var(--rs-border);
}
.rs-tile {
  background: var(--rs-card);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--rs-text);
  transition: background .15s;
}
.rs-tile:hover {
  background: var(--rs-accent-light);
  color: var(--rs-text);
}
.rs-tile-thumb {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rs-tile-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rs-tile-ph {
  width: 100%;
  height: 100%;
  display: block;
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
}
.rs-tile-body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.rs-tile-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.rs-tile-date {
  font-size: 10px;
  color: var(--rs-text-mute);
  font-weight: 600;
}
.rs-tile-title {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--rs-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rs-tile:hover .rs-tile-title { color: var(--rs-accent-dark); }
.rs-tile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-top: auto;
  padding-top: 4px;
}
.rs-tile-tags span {
  font-size: 9px;
  color: var(--rs-text-mute);
  font-weight: 500;
}

/* カテゴリータグの色分け（PICKUPタイル＆最新記事共通） */
.rs-cat-tag {
  font-size: 9px;
  letter-spacing: 1.5px;
  padding: 3px 9px;
  border-radius: 2px;
  font-weight: 700;
  display: inline-block;
}
.rs-ct-travel { background: #e8f5e9; color: #1b5e20; }
.rs-ct-food   { background: #fff3e0; color: #e65100; }
.rs-ct-bike   { background: #e3f2fd; color: #0d47a1; }
.rs-ct-abroad { background: #f3e5f5; color: #4a148c; }

/* ========== 5. MAIN FEED ========== */
.rs-main-feed {
  max-width: 760px;
  margin: 0 auto;
  padding: 36px 4%;
}
.rs-feed-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--rs-accent);
}
.rs-feed-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1px;
  margin: 0;
  border: none;
  padding: 0;
  background: none;
}
.rs-feed-sort {
  font-size: 11px;
  color: var(--rs-text-sub);
  font-weight: 600;
}
.rs-article-item {
  border-bottom: 1px solid var(--rs-border);
  transition: all .15s;
}
.rs-art-link {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  text-decoration: none;
  color: inherit;
  transition: all .15s;
}
.rs-article-item:hover {
  background: var(--rs-card);
  margin: 0 -4%;
}
.rs-article-item:hover .rs-art-link {
  padding: 24px 4%;
}
.rs-art-thumb {
  width: 220px;
  aspect-ratio: 4/3;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 3px;
  background: #f0f0f0;
}
.rs-art-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rs-art-ph {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
}
.rs-art-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rs-art-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.rs-art-date {
  font-size: 11px;
  color: var(--rs-text-mute);
  font-weight: 500;
}
.rs-art-author {
  font-size: 11px;
  color: var(--rs-text-sub);
}
.rs-art-author::before {
  content: "·";
  margin-right: 8px;
  color: var(--rs-border);
}
.rs-art-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--rs-text);
  margin: 2px 0 4px;
  border: none !important;
  padding: 0 !important;
  background: none !important;
}
.rs-article-item:hover .rs-art-title { color: var(--rs-accent-dark); }
.rs-art-excerpt {
  font-size: 13px;
  color: var(--rs-text-sub);
  line-height: 1.85;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}
.rs-art-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}
.rs-art-tag {
  font-size: 10px;
  color: var(--rs-text-sub);
  padding: 2px 7px;
  border: 1px solid var(--rs-border);
  border-radius: 2px;
  background: var(--rs-card);
}
.rs-read-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--rs-accent-dark);
  font-weight: 700;
  letter-spacing: 1px;
  margin-top: 4px;
}
.rs-no-result {
  padding: 60px;
  text-align: center;
  color: var(--rs-text-mute);
}

/* ========== LOAD MORE ========== */
.rs-load-more-wrap {
  padding: 28px 4% 40px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.rs-load-more {
  display: block;
  padding: 13px 36px;
  background: var(--rs-accent);
  color: #fff;
  font-size: 12px;
  letter-spacing: 2px;
  border-radius: 2px;
  width: 100%;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s;
}
.rs-load-more:hover {
  background: var(--rs-accent-hover);
  color: #fff;
}

/* ========== MOBILE ========== */
@media screen and (max-width: 640px) {
  .rs-art-link {
    flex-direction: column;
    gap: 12px;
    padding: 20px 0;
  }
  .rs-article-item:hover .rs-art-link {
    padding: 20px 0;
  }
  .rs-article-item:hover {
    margin: 0;
    background: transparent;
  }
  .rs-art-thumb {
    width: 100%;
    aspect-ratio: 16/9;
  }
  .rs-art-title { font-size: 17px; line-height: 1.45; }
  .rs-art-excerpt { font-size: 13px; -webkit-line-clamp: 2; }
  .rs-hero-title { font-size: 34px; }
  .rs-hero-stats { gap: 18px; }
  .rs-pickup-grid {
    grid-template-columns: 1fr 1fr;
  }
}






/* ==========================================================
   Phase 6 最終仕上げ（任意）
   style.css の末尾に必要なものだけ追加
   ========================================================== */



/* --- PICKUP タイトルを3行まで表示可能に --- */
.rs-tile-title {
  -webkit-line-clamp: 3 !important;
  min-height: 2.4em; /* 最低2行分の高さを確保 */
}

/* --- タイル同士の区切りを少し立体的に --- */
.rs-pickup-grid {
  background: #f0f0f0 !important;
  gap: 2px !important;
}

/* --- PICKUPセクション全体に軽い背景色 --- */
.rs-pickup-section {
  background: #fcfcfc !important;
}




/* ==========================================================
   Phase 7: 記事詳細ページ（single.php）のデザイン統一
   ========================================================== */

/* --- 記事詳細ページ全体のコンテナ --- */
.single #main,
.single #main-in {
  max-width: 780px !important;
  margin: 0 auto !important;
  padding: 40px 4% 60px !important;
  background: transparent !important;
}

/* --- 記事全体を白カードで囲む（任意）--- */
.single .article {
  background: var(--rs-card);
  padding: 48px 48px 56px;
  border-radius: 4px;
  border: 1px solid var(--rs-border);
}

/* --- パンくずリスト --- */
.single .breadcrumb {
  font-size: 11px;
  color: var(--rs-text-mute);
  margin-bottom: 16px;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
}
.single .breadcrumb a {
  color: var(--rs-text-sub);
  text-decoration: none;
}
.single .breadcrumb a:hover {
  color: var(--rs-accent);
}

/* --- 記事タイトル（H1）--- */
.single h1.entry-title,
.single .entry-title {
  font-size: 28px !important;
  font-weight: 900 !important;
  line-height: 1.45 !important;
  letter-spacing: -0.3px !important;
  margin: 0 0 20px !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  color: var(--rs-text) !important;
}

/* --- 記事メタ情報（日付・カテゴリ・著者など）--- */
.single .entry-meta,
.single .date-tags,
.single .post-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--rs-text-mute);
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rs-border);
}
.single .post-date,
.single .post-update {
  font-size: 11px;
  color: var(--rs-text-mute);
}

/* カテゴリラベルは既存の .rs-cat-tag スタイルで統一 */
.single .cat-label {
  background: var(--rs-accent);
  color: #fff;
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 2px;
  border: none;
  text-transform: uppercase;
}

/* --- アイキャッチ --- */
.single .eye-catch {
  margin: 0 -48px 32px !important;
  border-radius: 0 !important;
}
.single .eye-catch img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- 本文 --- */
.single .entry-content {
  font-size: 15px;
  line-height: 1.95;
  color: var(--rs-text);
}
.single .entry-content p {
  margin-bottom: 1.8em;
}

/* --- 見出し H2 --- */
.single .entry-content h2 {
  font-size: 24px !important;
  font-weight: 800 !important;
  border: none !important;
  background: none !important;
  border-left: 4px solid var(--rs-accent) !important;
  padding: 4px 0 4px 16px !important;
  margin: 48px 0 24px !important;
  line-height: 1.45 !important;
  color: var(--rs-text) !important;
}

/* --- 見出し H3 --- */
.single .entry-content h3 {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: var(--rs-accent-dark) !important;
  border: none !important;
  background: none !important;
  padding: 0 0 8px 0 !important;
  margin: 36px 0 18px !important;
  line-height: 1.45 !important;
  position: relative;
}
.single .entry-content h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--rs-accent);
}

/* --- 見出し H4 --- */
.single .entry-content h4 {
  font-size: 17px !important;
  font-weight: 700 !important;
  border: none !important;
  background: none !important;
  padding: 0 !important;
  margin: 28px 0 14px !important;
  color: var(--rs-text) !important;
}

/* --- リンクの装飾 --- */
.single .entry-content a:not(.wp-block-button__link) {
  color: var(--rs-accent-dark);
  text-decoration: underline;
  text-decoration-color: var(--rs-accent-light);
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}
.single .entry-content a:hover {
  color: var(--rs-accent);
  text-decoration-color: var(--rs-accent);
}

/* --- 強調・引用 --- */
.single .entry-content strong {
  font-weight: 700;
  background: linear-gradient(transparent 60%, var(--rs-accent-light) 60%);
}
.single .entry-content blockquote {
  border: none !important;
  border-left: 4px solid var(--rs-accent) !important;
  padding: 16px 24px !important;
  background: var(--rs-bg) !important;
  margin: 24px 0 !important;
  font-size: 14px;
  color: var(--rs-text-sub);
  border-radius: 0 !important;
}
.single .entry-content blockquote p:last-child {
  margin-bottom: 0;
}

/* --- リスト --- */
.single .entry-content ul li,
.single .entry-content ol li {
  margin-bottom: 8px;
  line-height: 1.85;
}
.single .entry-content ul li::marker {
  color: var(--rs-accent);
}

/* --- コードブロック・インライン --- */
.single .entry-content code {
  background: var(--rs-bg);
  padding: 2px 6px;
  border-radius: 2px;
  font-size: 0.9em;
  color: var(--rs-accent-dark);
  border: 1px solid var(--rs-border);
}
.single .entry-content pre {
  background: #f4f4f4 !important;
  border: 1px solid var(--rs-border) !important;
  border-radius: 4px !important;
  padding: 16px !important;
}

/* --- 画像 --- */
.single .entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 16px 0;
}
.single .wp-block-image figcaption {
  font-size: 11px;
  color: var(--rs-text-mute);
  text-align: center;
  margin-top: 8px;
}

/* --- 記事下のタグ表示 --- */
.single .entry-tags,
.single .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 32px 0 24px;
  padding: 20px 0;
  border-top: 1px solid var(--rs-border);
  border-bottom: 1px solid var(--rs-border);
}
.single .entry-tags a,
.single .tag-list a {
  font-size: 11px;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid var(--rs-border);
  color: var(--rs-text-sub);
  background: var(--rs-card);
  text-decoration: none;
  transition: all .15s;
}
.single .entry-tags a:hover,
.single .tag-list a:hover {
  background: var(--rs-accent);
  border-color: var(--rs-accent);
  color: #fff;
}

/* --- SNSシェアボタン（Cocoon標準）--- */
.single .sns-share {
  margin: 32px 0;
  padding: 20px 0;
  border-top: 1px solid var(--rs-border);
  border-bottom: 1px solid var(--rs-border);
}
.single .sns-share-buttons a {
  border-radius: 2px !important;
}

/* --- 著者情報（プロフィール欄）--- */
.single .author-box,
.single .author {
  background: var(--rs-bg);
  border: 1px solid var(--rs-border);
  border-radius: 4px;
  padding: 24px;
  margin: 32px 0;
}

/* --- 関連記事 --- */
.single .related-entry {
  margin: 48px 0 24px;
}
.single .related-entry-heading {
  font-size: 18px !important;
  font-weight: 800 !important;
  border: none !important;
  border-bottom: 2px solid var(--rs-accent) !important;
  padding: 0 0 12px !important;
  margin: 0 0 20px !important;
  background: none !important;
  color: var(--rs-text) !important;
  letter-spacing: 1px;
}
.single .related-entry-card {
  border: 1px solid var(--rs-border) !important;
  border-radius: 4px !important;
  transition: all .15s;
}
.single .related-entry-card:hover {
  border-color: var(--rs-accent) !important;
  box-shadow: 0 4px 12px rgba(0,200,83,0.1);
}
.single .related-entry-card-title {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--rs-text) !important;
}

/* --- 前後の記事ナビ --- */
.single .navi-entry,
.single .navi-prev-next {
  margin: 24px 0;
}
.single .navi-entry a {
  border: 1px solid var(--rs-border) !important;
  border-radius: 4px !important;
  padding: 16px !important;
  background: var(--rs-card) !important;
  transition: all .15s;
}
.single .navi-entry a:hover {
  border-color: var(--rs-accent) !important;
  box-shadow: 0 2px 8px rgba(0,200,83,0.08);
}

/* --- コメント欄 --- */
.single .comment-area {
  margin-top: 48px;
}
.single .comment-title,
.single .comment-reply-title {
  font-size: 18px !important;
  font-weight: 800 !important;
  border: none !important;
  border-left: 4px solid var(--rs-accent) !important;
  padding: 4px 0 4px 12px !important;
  margin: 0 0 20px !important;
  background: none !important;
}
.single .comment-form input[type="text"],
.single .comment-form input[type="email"],
.single .comment-form textarea {
  border: 1px solid var(--rs-border) !important;
  border-radius: 2px !important;
}
.single .comment-form input:focus,
.single .comment-form textarea:focus {
  border-color: var(--rs-accent) !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(0,200,83,0.15) !important;
}

/* --- モバイル表示 --- */
@media screen and (max-width: 768px) {
  .single #main,
  .single #main-in {
    padding: 20px 0 40px !important;
  }
  .single .article {
    padding: 24px 16px 32px;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
  .single h1.entry-title,
  .single .entry-title {
    font-size: 22px !important;
  }
  .single .entry-content {
    font-size: 14px;
  }
  .single .entry-content h2 {
    font-size: 20px !important;
    margin: 36px 0 18px !important;
  }
  .single .entry-content h3 {
    font-size: 17px !important;
    margin: 28px 0 14px !important;
  }
  .single .eye-catch {
    margin: 0 -16px 24px !important;
  }
}



/* ==========================================================
   Phase 7: アーカイブページ（カテゴリ・タグ・検索結果）
   ========================================================== */

/* --- アーカイブページ全体のコンテナ --- */
.archive #main,
.archive #main-in,
.search #main,
.search #main-in {
  max-width: 860px !important;
  margin: 0 auto !important;
  padding: 40px 4% 60px !important;
}

/* --- パンくずリスト --- */
.archive .breadcrumb,
.search .breadcrumb {
  font-size: 11px;
  color: var(--rs-text-mute);
  margin-bottom: 20px;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
}
.archive .breadcrumb a,
.search .breadcrumb a {
  color: var(--rs-text-sub);
}
.archive .breadcrumb a:hover,
.search .breadcrumb a:hover {
  color: var(--rs-accent);
}

/* --- ページタイトル（カテゴリ名・タグ名・検索語）--- */
.archive .page-title,
.archive .a-wrap .archive-title,
.search .page-title,
.archive h1.a-title,
.search h1.a-title {
  font-size: 26px !important;
  font-weight: 900 !important;
  padding: 0 0 12px !important;
  margin: 0 0 8px !important;
  border: none !important;
  border-bottom: 2px solid var(--rs-accent) !important;
  background: none !important;
  color: var(--rs-text) !important;
  letter-spacing: -0.3px;
}

/* --- カテゴリラベルをタイトル横に装飾 --- */
.archive .page-title::before,
.tag .page-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 24px;
  background: var(--rs-accent);
  margin-right: 12px;
  vertical-align: middle;
  border-radius: 2px;
}

/* --- カテゴリ/タグの説明文 --- */
.archive .archive-description,
.archive .category-description,
.archive .tag-description {
  font-size: 13px;
  color: var(--rs-text-sub);
  line-height: 1.85;
  margin: 0 0 32px !important;
  padding: 16px 20px !important;
  background: var(--rs-accent-light) !important;
  border-radius: 4px !important;
  border: none !important;
}

/* --- 記事件数表示（任意） --- */
.archive .result-count {
  font-size: 12px;
  color: var(--rs-text-mute);
  margin-bottom: 24px;
  display: block;
}

/* --- 記事カード（Cocoon標準の entry-card を上書き）--- */
.archive .entry-card,
.archive .entry-card-wrap,
.search .entry-card,
.search .entry-card-wrap {
  background: var(--rs-card);
  border: 1px solid var(--rs-border);
  border-radius: 4px;
  padding: 20px !important;
  margin-bottom: 16px !important;
  transition: all .15s;
  box-shadow: none !important;
}
.archive .entry-card:hover,
.archive .entry-card-wrap:hover,
.search .entry-card:hover,
.search .entry-card-wrap:hover {
  border-color: var(--rs-accent);
  box-shadow: 0 4px 12px rgba(0,200,83,0.1);
  transform: translateY(-1px);
}

/* カードのサムネイル */
.archive .entry-card-thumb,
.search .entry-card-thumb {
  width: 220px !important;
  flex-shrink: 0;
  margin-right: 20px !important;
  border-radius: 3px !important;
  overflow: hidden;
}
.archive .entry-card-thumb img,
.search .entry-card-thumb img {
  border-radius: 3px !important;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* カードのタイトル */
.archive .entry-card-title,
.archive .entry-card-wrap-title,
.search .entry-card-title,
.search .entry-card-wrap-title {
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  color: var(--rs-text) !important;
  margin: 4px 0 8px !important;
  border: none !important;
  padding: 0 !important;
  background: none !important;
}
.archive .entry-card:hover .entry-card-title,
.search .entry-card:hover .entry-card-title {
  color: var(--rs-accent-dark) !important;
}

/* カードの冒頭テキスト */
.archive .entry-card-snippet,
.search .entry-card-snippet {
  font-size: 13px !important;
  color: var(--rs-text-sub) !important;
  line-height: 1.85 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* カードのメタ情報 */
.archive .entry-card-meta,
.search .entry-card-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--rs-text-mute);
  margin-bottom: 6px;
}

/* --- ページネーション --- */
.archive .pagination,
.search .pagination {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 40px 0 20px;
  padding: 0;
}
.archive .pagination .page-numbers,
.search .pagination .page-numbers {
  padding: 8px 14px !important;
  border: 1px solid var(--rs-border) !important;
  border-radius: 2px !important;
  color: var(--rs-text-sub) !important;
  background: var(--rs-card) !important;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all .15s;
  min-width: 36px;
  text-align: center;
}
.archive .pagination .page-numbers:hover,
.search .pagination .page-numbers:hover {
  border-color: var(--rs-accent) !important;
  color: var(--rs-accent-dark) !important;
}
.archive .pagination .page-numbers.current,
.search .pagination .page-numbers.current {
  background: var(--rs-accent) !important;
  border-color: var(--rs-accent) !important;
  color: #fff !important;
}

/* --- 検索結果：検索語が表示される部分 --- */
.search .page-title em,
.search .search-title em {
  font-style: normal;
  color: var(--rs-accent);
  font-weight: 900;
  background: var(--rs-accent-light);
  padding: 2px 8px;
  border-radius: 2px;
}

/* --- 検索結果：該当なしの表示 --- */
.search .no-result,
.search .no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--rs-text-mute);
  font-size: 14px;
}

/* --- 404ページも同じトーンに --- */
.error404 #main,
.error404 #main-in {
  max-width: 600px !important;
  margin: 0 auto !important;
  padding: 60px 4% !important;
  text-align: center;
}
.error404 .page-title {
  font-size: 48px !important;
  font-weight: 900 !important;
  color: var(--rs-accent) !important;
  border: none !important;
  margin-bottom: 16px !important;
}

/* --- モバイル対応 --- */
@media screen and (max-width: 768px) {
  .archive .page-title,
  .archive h1.a-title,
  .search .page-title,
  .search h1.a-title {
    font-size: 22px !important;
  }
  .archive .entry-card,
  .archive .entry-card-wrap,
  .search .entry-card,
  .search .entry-card-wrap {
    padding: 16px !important;
  }
  .archive .entry-card-thumb,
  .search .entry-card-thumb {
    width: 120px !important;
    margin-right: 12px !important;
  }
  .archive .entry-card-title,
  .archive .entry-card-wrap-title,
  .search .entry-card-title,
  .search .entry-card-wrap-title {
    font-size: 15px !important;
  }
  .archive .entry-card-snippet,
  .search .entry-card-snippet {
    font-size: 12px !important;
    -webkit-line-clamp: 2 !important;
  }
}



