/************************************
** BOYAKI.net × WAMODERN REBOOT
** Cocoon Custom CSS Ver.12.1 HEADER FINAL
************************************/

/* --- 1. 全体背景 --- */
body {
  background-color: #f2f2f2 !important;
  color: #1a1a1a !important;
  font-family: "Helvetica Neue", Arial, "Hiragino Sans", "Meiryo", sans-serif !important;
}

/* --- 2. ヘッダー Ver.12.3 画像表示優先 --- */
/*
  Cocoon設定側：
  ・ヘッダーレイアウト：センターロゴ（デフォルト）
  ・ヘッダー背景画像：完成ヘッダー画像を設定
  ・背景画像を全て表示する：ON
  ・ヘッダーロゴ：空
  ・キャッチフレーズ：表示しない
*/

/* ヘッダー全体を画像用の表示領域にする */
.header-container,
.header-container-in {
  width: 100% !important;
  min-height: 520px !important;
  height: 520px !important;
  background-size: contain !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: #fffdf8 !important;
  overflow: hidden !important;
}

/* Cocoon標準のサイト名エリアは高さだけ残して透明化 */
.logo-header,
.logo {
  width: 100% !important;
  min-height: 520px !important;
  height: 520px !important;
  padding: 0 !important;
  margin: 0 !important;
  text-align: center !important;
}

/* サイトタイトル・説明文は見せない */
.site-name-text,
.logo-text,
.site-name,
.site-description,
.tagline,
.logo .tagline {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* 画像下のナビとの境界 */
.header-container {
  border-bottom: 1px solid rgba(201,162,39,.45) !important;
}

/* --- 3. ナビゲーション --- */
.navi-in a {
  padding: 15px 18px !important;
  font-weight: bold !important;
  color: #000 !important;
  position: relative !important;
  white-space: nowrap !important;
  display: inline-block !important;
  overflow: visible !important;
}

.navi-in a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, #d4af37, #000) !important;
  transform: scaleX(0);
  transition: 0.3s ease;
}

.navi-in a:hover::after {
  transform: scaleX(1);
}

/* --- 4. カルーセル --- */
.carousel {
  margin: 20px auto 26px !important;
}

.carousel-in {
  background: #ffffff !important;
  border-top: 3px solid #d4af37 !important;
  border-bottom: 1px solid #111 !important;
  box-shadow: 5px 5px 0 rgba(0,0,0,0.055) !important;
  padding: 9px 0 !important;
}

.carousel-entry-card-title {
  font-size: 14px !important;
  font-weight: 900 !important;
  color: #111 !important;
  line-height: 1.45 !important;
}

.carousel .a-wrap:hover {
  opacity: 0.92 !important;
}

/* --- 5. 記事一覧カード --- */
.entry-card-wrap,
.a-wrap.entry-card-wrap,
.boyaki-entry-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  gap: 28px !important;
  background: #fff !important;
  margin-bottom: 26px !important;
  padding: 20px !important;
  border: 1px solid #d8d8d8 !important;
  border-left: 5px solid #d4af37 !important;
  box-shadow: 6px 6px 0 rgba(0,0,0,0.055) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.entry-card-wrap:hover,
.a-wrap.entry-card-wrap:hover,
.boyaki-entry-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 9px 9px 0 rgba(0,0,0,0.10) !important;
}

.entry-card,
.boyaki-entry-card article {
  display: block !important;
  width: 100% !important;
}

.entry-card-thumb,
.boyaki-entry-thumb {
  flex: 0 0 340px !important;
  max-width: 340px !important;
  min-height: 190px !important;
  overflow: hidden !important;
  background: #f7f7f7 !important;
  border: 1px solid #eee !important;
}

.entry-card-thumb img,
.boyaki-entry-thumb-image {
  width: 100% !important;
  height: 100% !important;
  min-height: 190px !important;
  object-fit: cover !important;
  transition: transform 0.35s ease !important;
}

.entry-card-wrap:hover .entry-card-thumb img,
.boyaki-entry-card:hover .boyaki-entry-thumb-image {
  transform: scale(1.04) !important;
}

.entry-card-content,
.boyaki-entry-content {
  flex: 1 !important;
  padding: 2px 6px 0 0 !important;
}

.entry-card-title,
.entry-card-title a,
.entry-card-content .entry-card-title,
.entry-card-content .entry-card-title a,
.entry-card .entry-card-title,
.entry-card .entry-card-title a,
.boyaki-entry-title,
.boyaki-entry-title a {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  color: #111 !important;
  background: transparent !important;
  background-color: transparent !important;
  padding: 0 0 10px 16px !important;
  margin: 0 0 16px 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  line-height: 1.5 !important;
  max-height: 3em !important;
  border-left: 6px solid #d4af37 !important;
  border-bottom: 1px solid #111 !important;
  clip-path: none !important;
  letter-spacing: 0.035em !important;
  box-shadow: none !important;
}

.entry-card-snippet,
.entry-card-content .entry-card-snippet,
.boyaki-entry-snippet {
  font-size: 14.5px !important;
  line-height: 1.75 !important;
  color: #222 !important;
  max-height: 5.25em !important;
  overflow: hidden !important;
  margin-top: 8px !important;
}

.entry-card-meta,
.entry-card-info,
.boyaki-entry-meta,
.boyaki-entry-info {
  margin-top: 14px !important;
  font-size: 12px !important;
  color: #555 !important;
  text-align: right !important;
}

.cat-label,
.entry-card .cat-label {
  background: #111 !important;
  color: #fff !important;
  border-left: 3px solid #d4af37 !important;
  padding: 4px 7px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

/* --- 6. サイドバー共通 --- */
#sidebar aside.widget,
.widget_tag_cloud,
.widget_wpp-widget-2,
.popular-posts,
div[id*="wpp"],
.profile-box,
.widget_popular_entries {
  background: #ffffff !important;
  border: 2px solid #111 !important;
  border-top: 4px solid #d4af37 !important;
  box-shadow: 5px 5px 0 rgba(0,0,0,0.08) !important;
  width: 285px !important;
  margin: 0 auto 30px auto !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.widget-title,
div[id*="wpp"] h2,
.widget_popular_entries .widget-title {
  font-size: 15px !important;
  font-weight: 900 !important;
  color: #d4af37 !important;
  background: #111 !important;
  text-align: center !important;
  padding: 11px 0 !important;
  margin: 0 !important;
  border-bottom: 2px solid #d4af37 !important;
  letter-spacing: 0.05em !important;
}

/* --- 7. 自己紹介 --- */
.author-box,
.profile-box {
  border: none !important;
  background: transparent !important;
  padding: 12px !important;
}

.author-thumb,
.profile-box .author-thumb {
  margin-bottom: 10px !important;
}

.author-thumb img,
.profile-box img {
  transform: scale(1.08) !important;
  border: 2px solid #d4af37 !important;
}

.author-name,
.profile-name,
.author-box .author-name {
  font-weight: 900 !important;
  letter-spacing: 0.04em !important;
}

#sidebar a {
  transition: opacity 0.2s ease, transform 0.2s ease !important;
}

#sidebar a:hover {
  opacity: 0.82 !important;
}

/* --- 8. 人気記事 CLEAN --- */
#sidebar .popular-entry-cards,
#sidebar .popular-posts {
  padding: 12px !important;
}

#sidebar .popular-entry-card-link,
#sidebar .widget-entry-card-link {
  display: block !important;
  padding: 0 !important;
  border-bottom: 1px solid #e5e5e5 !important;
  transition: 0.25s ease !important;
}

#sidebar .popular-entry-card-link:last-child,
#sidebar .widget-entry-card-link:last-child {
  border-bottom: none !important;
}

#sidebar .popular-entry-card,
#sidebar .widget-entry-card {
  display: grid !important;
  grid-template-columns: 82px 1fr !important;
  gap: 10px !important;
  align-items: start !important;
  padding: 12px 0 !important;
  border-bottom: none !important;
}

#sidebar .popular-entry-card-thumb,
#sidebar .widget-entry-card-thumb {
  width: 82px !important;
  min-width: 82px !important;
  max-width: 82px !important;
  margin: 0 !important;
}

#sidebar .popular-entry-card-thumb img,
#sidebar .widget-entry-card-thumb img {
  width: 82px !important;
  height: 62px !important;
  object-fit: cover !important;
  border: 1px solid #ddd !important;
  box-shadow: 3px 3px 0 rgba(0,0,0,.05) !important;
}

#sidebar .popular-entry-card-content,
#sidebar .widget-entry-card-content {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

#sidebar .popular-entry-card-title,
#sidebar .widget-entry-card-title {
  font-size: 13px !important;
  line-height: 1.45 !important;
  font-weight: 800 !important;
  color: #111 !important;
  margin: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

#sidebar .popular-entry-card-snippet,
#sidebar .widget-entry-card-snippet {
  display: none !important;
}

#sidebar .popular-entry-card-meta,
#sidebar .widget-entry-card-meta {
  display: none !important;
}

/* --- 9. SELECTED GEARS CLEAN --- */
.boyaki-selected-gears {
  background: linear-gradient(180deg,#fff 0%,#fbfaf6 100%) !important;
  border: 2px solid #111 !important;
  border-top: 6px solid #c9a227 !important;
  box-shadow: 6px 6px 0 rgba(0,0,0,.12) !important;
  padding: 20px 18px !important;
  margin: 0 0 30px !important;
}

.boyaki-selected-gears-head {
  text-align: center !important;
  margin-bottom: 18px !important;
}

.boyaki-selected-gears-title {
  font-family: "Yu Mincho","Hiragino Mincho ProN",serif !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  letter-spacing: .15em !important;
  line-height: 1.2 !important;
  color: #111 !important;
  white-space: nowrap !important;
  margin-bottom: 10px !important;
}

.boyaki-selected-gears-sub {
  color: #777 !important;
  font-size: 12px !important;
  margin: 0 0 18px !important;
}

.boyaki-selected-gears-lead {
  text-align: center !important;
  font-size: 13px !important;
  color: #555 !important;
  line-height: 1.7 !important;
  margin: 0 0 20px !important;
  padding-bottom: 16px !important;
  border-bottom: 1px solid #ddd !important;
}

.boyaki-gear-slot {
  position: relative !important;
  background: #fffdf8 !important;
  border: 1px solid rgba(17,17,17,.18) !important;
  border-left: 4px solid #c9a227 !important;
  padding: 14px 12px 16px !important;
  margin: 20px 0 !important;
  box-shadow: 3px 3px 0 rgba(0,0,0,.045) !important;
}

.boyaki-gear-slot::before {
  content: "";
  position: absolute;
  right: 8px;
  top: 8px;
  width: 42px;
  height: 42px;
  background: radial-gradient(circle, rgba(201,162,39,.18), transparent 65%);
  pointer-events: none;
}

.boyaki-gear-label {
  display: inline-block !important;
  background: #111 !important;
  color: #d4af37 !important;
  border-left: 4px solid #d4af37 !important;
  font-family: "Yu Mincho","Hiragino Mincho ProN",serif !important;
  font-weight: 900 !important;
  font-size: 14px !important;
  letter-spacing: .06em !important;
  padding: 7px 12px !important;
  margin-bottom: 12px !important;
}

.boyaki-gear-comment {
  margin: 10px 0 10px !important;
  font-size: 13.5px !important;
  line-height: 1.7 !important;
  color: #333 !important;
}

.boyaki-gear-slot table {
  width: 100% !important;
  max-width: 235px !important;
  margin: 0 auto !important;
  border: 1px solid #e0e0e0 !important;
  background: #fff !important;
  box-shadow: 3px 3px 0 rgba(0,0,0,.055) !important;
}

.boyaki-gear-slot table td {
  border: none !important;
  padding: 8px !important;
}

.boyaki-gear-slot table img {
  max-width: 128px !important;
  height: auto !important;
}

.boyaki-gear-slot table a {
  color: #111 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  text-decoration: none !important;
}

.boyaki-gear-slot table p {
  font-size: 12px !important;
  line-height: 1.45 !important;
  margin: 6px 0 !important;
}

.boyaki-gear-slot table span[style*="color:#C00"],
.boyaki-gear-slot table p[style*="color:#cc0000"] {
  color: #c41612 !important;
  font-weight: 900 !important;
}

.boyaki-gear-slot table:hover {
  transform: translateY(-1px);
  box-shadow: 5px 5px 0 rgba(0,0,0,.09) !important;
  transition: .25s;
}

/* --- 10. タグクラウド 和モダン配色 --- */
.widget_tag_cloud {
  background: linear-gradient(180deg,#fff 0%,#fbfaf6 100%) !important;
  border: 2px solid #111 !important;
  border-top: 6px solid #c9a227 !important;
  box-shadow: 6px 6px 0 rgba(0,0,0,.12) !important;
  padding: 18px !important;
}

.widget_tag_cloud .widget-title {
  font-size: 0 !important;
  padding: 0 0 16px !important;
  margin: 0 0 18px !important;
  border-bottom: 1px solid #ddd !important;
  background: transparent !important;
}

.widget_tag_cloud .widget-title::before {
  content: "TAG CLOUD";
  display: block;
  font-family: "Yu Mincho","Hiragino Mincho ProN",serif;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: .15em;
  color: #111;
  line-height: 1.25;
}

.widget_tag_cloud .widget-title::after {
  content: "話題になっているテーマ";
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
  color: #777;
}

.tagcloud {
  padding: 8px 6px 12px !important;
  text-align: center !important;
  line-height: 1.85 !important;
  background:
    radial-gradient(circle at 50% 4%, rgba(201,162,39,.10), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.65), rgba(251,250,246,.9)) !important;
}

.tagcloud a {
  display: inline-block !important;
  margin: 2px 5px !important;
  padding: 0 2px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  font-family: "Yu Mincho","Hiragino Mincho ProN",serif !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  text-shadow: 0 1px 0 #fff !important;
  letter-spacing: .03em !important;
  transition: transform .22s ease, color .22s ease, text-shadow .22s ease !important;
}

.tagcloud a:nth-child(4n+1) {
  color: #111 !important;
}

.tagcloud a:nth-child(4n+2) {
  color: #9b6b12 !important;
}

.tagcloud a:nth-child(4n+3) {
  color: #b13a24 !important;
}

.tagcloud a:nth-child(4n) {
  color: #5f6265 !important;
}

.tagcloud a:hover {
  transform: scale(1.06) translateY(-1px) !important;
  color: #c9a227 !important;
  text-shadow: 0 1px 0 #fff, 0 0 10px rgba(201,162,39,.28) !important;
}

/* --- 11. 個別記事タイトル --- */
.entry-title {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif !important;
  font-size: 28px !important;
  font-weight: 900 !important;
  padding: 22px 40px 18px !important;
  color: #111 !important;
  background: #ffffff !important;
  border-bottom: 2px solid #d4af37 !important;
  clip-path: none !important;
  margin-bottom: 32px !important;
  letter-spacing: 0.04em !important;
}

/* --- 12. 記事本文見出し --- */
.entry-content h1,
.article h1 {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif !important;
  font-size: 2.1rem !important;
  font-weight: 900 !important;
  line-height: 1.45 !important;
  color: #111 !important;
  background: linear-gradient(90deg, rgba(212,175,55,0.12), rgba(255,255,255,0)) !important;
  border-bottom: 2px solid #d4af37 !important;
  padding: 20px 20px 16px !important;
  margin: 42px 0 28px !important;
  letter-spacing: 0.06em !important;
  clear: both !important;
}

.entry-content h1::after,
.article h1::after {
  content: "●";
  color: #d4af37;
  font-size: 0.7em;
  margin-left: 8px;
}

.entry-content h2,
.article h2 {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif !important;
  font-size: 1.6rem !important;
  font-weight: 900 !important;
  line-height: 1.5 !important;
  color: #111 !important;
  background: #fff !important;
  border-bottom: 2px solid #111 !important;
  border-left: 8px solid #d4af37 !important;
  padding: 20px 22px !important;
  margin: 38px 0 24px !important;
  letter-spacing: 0.05em !important;
  box-shadow: 0 0 0 1px #e8e8e8 inset !important;
  clear: both !important;
}

.entry-content h3,
.article h3 {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif !important;
  font-size: 1.3rem !important;
  font-weight: 900 !important;
  line-height: 1.5 !important;
  color: #222 !important;
  background: #fff !important;
  border-bottom: 1px solid #d4af37 !important;
  border-left: 5px solid #d4af37 !important;
  padding: 12px 16px !important;
  margin: 32px 0 18px !important;
  letter-spacing: 0.04em !important;
  clear: both !important;
}

.entry-content h4,
.article h4 {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif !important;
  font-size: 1.15rem !important;
  font-weight: 900 !important;
  line-height: 1.5 !important;
  color: #333 !important;
  background: #f7f3e9 !important;
  border-left: 4px solid #d4af37 !important;
  padding: 12px 16px !important;
  margin: 26px 0 14px !important;
  letter-spacing: 0.04em !important;
  clear: both !important;
}

.entry-content h4::before,
.article h4::before {
  content: "✤";
  color: #d4af37;
  margin-right: 10px;
}

.entry-content h5,
.article h5 {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif !important;
  font-size: 1rem !important;
  font-weight: 900 !important;
  line-height: 1.5 !important;
  color: #555 !important;
  border-bottom: 1px dotted #d4af37 !important;
  padding: 8px 0 6px 28px !important;
  margin: 22px 0 12px !important;
  position: relative !important;
  letter-spacing: 0.04em !important;
  clear: both !important;
}

.entry-content h5::before,
.article h5::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 9px;
  height: 9px;
  background: #d4af37;
  box-shadow: 10px 10px 0 rgba(212,175,55,0.65);
}

/* --- 13. 記事本文 --- */
.entry-content p,
.article p {
  font-size: 18px !important;
  line-height: 1.9 !important;
  color: #222 !important;
}

/* --- 14. 筆者署名ブロック --- */
.masa-sign {
  margin: 56px 0 28px !important;
  padding: 28px 36px !important;
  background: #fafafa !important;
  border: 1px solid #111 !important;
  color: #111 !important;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif !important;
}

.masa-sign-project {
  display: block !important;
  margin-bottom: 28px !important;
  color: #111 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.28em !important;
  font-weight: 500 !important;
}

.masa-sign-main {
  display: flex !important;
  align-items: center !important;
  gap: 24px !important;
}

.masa-sign-name {
  display: block !important;
  color: #111 !important;
  font-size: 1.55rem !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

.masa-sign-divider {
  display: block !important;
  width: 3px !important;
  height: 34px !important;
  background: #d4af37 !important;
  flex: 0 0 3px !important;
}

.masa-sign-en {
  display: block !important;
  font-size: 1.1rem !important;
  font-style: italic !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  color: #111 !important;
}

.masa-sign-jp {
  display: block !important;
  margin-top: 8px !important;
  font-size: 0.9rem !important;
  line-height: 1.7 !important;
  color: #555 !important;
}

/* --- 15. ランキングカード --- */
.ranking-item {
  background: #f3f3f3;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 35px;
}

.ranking-item h3 {
  background: #fff !important;
  border-left: 8px solid #d4af37 !important;
  border-bottom: 2px solid #111 !important;
  box-shadow: 0 0 0 1px #e8e8e8 inset !important;
  padding: 18px 20px !important;
  margin-bottom: 25px !important;
  color: #111 !important;
  font-weight: 900 !important;
  font-size: 28px !important;
  line-height: 1.4 !important;
}

.ranking-item img {
  max-width: 100%;
  height: auto;
}

.affiliate-box {
  margin-top: 20px;
}

/* --- 16. フッター --- */
.footer,
.footer-in {
  background: #111 !important;
  color: #ddd !important;
}

.footer a {
  color: #d4af37 !important;
}

.copyright {
  color: #bbb !important;
  letter-spacing: 0.04em !important;
}

/* --- 17. スマホ調整 --- */
@media screen and (max-width: 768px) {
  .header-container,
  .header-container-in,
  .logo-header,
  .logo {
    min-height: 240px !important;
    height: 240px !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }

  .entry-card-wrap,
  .a-wrap.entry-card-wrap,
  .boyaki-entry-card {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
    padding: 14px !important;
    margin-bottom: 24px !important;
  }

  .entry-card-thumb,
  .boyaki-entry-thumb {
    flex: none !important;
    max-width: 100% !important;
    min-height: auto !important;
  }

  .entry-card-thumb img,
  .boyaki-entry-thumb-image {
    min-height: auto !important;
  }

  .entry-card-title,
  .entry-card-title a,
  .entry-card-content .entry-card-title,
  .entry-card-content .entry-card-title a,
  .boyaki-entry-title,
  .boyaki-entry-title a {
    font-size: 17px !important;
    padding: 0 0 9px 13px !important;
    -webkit-line-clamp: 2 !important;
  }

  .entry-card-meta,
  .entry-card-info,
  .boyaki-entry-meta,
  .boyaki-entry-info {
    text-align: left !important;
  }

  .entry-title {
    font-size: 22px !important;
    padding: 18px 20px 14px !important;
  }

  .entry-content h1,
  .article h1 {
    font-size: 1.65rem !important;
  }

  .entry-content h2,
  .article h2 {
    font-size: 1.35rem !important;
    padding: 16px 18px !important;
  }

  .entry-content h3,
  .article h3 {
    font-size: 1.18rem !important;
  }

  .masa-sign {
    padding: 24px 20px !important;
  }

  .masa-sign-main {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px !important;
  }

  .masa-sign-divider {
    width: 44px !important;
    height: 3px !important;
    flex: 0 0 3px !important;
  }

  .boyaki-selected-gears {
    padding: 14px !important;
  }

  .boyaki-selected-gears-title {
    font-size: 20px !important;
    letter-spacing: .1em !important;
  }

  .boyaki-gear-label {
    display: block !important;
    text-align: center !important;
  }

  #sidebar .popular-entry-card,
  #sidebar .widget-entry-card {
    grid-template-columns: 76px 1fr !important;
  }

  #sidebar .popular-entry-card-thumb,
  #sidebar .widget-entry-card-thumb {
    width: 76px !important;
    min-width: 76px !important;
    max-width: 76px !important;
  }

  #sidebar .popular-entry-card-thumb img,
  #sidebar .widget-entry-card-thumb img {
    width: 76px !important;
    height: 58px !important;
  }
}

/************************************
** 人気記事 FINAL SELECTED GEARS統一
************************************/

#sidebar .widget_popular_entries,
#sidebar .popular-posts,
#sidebar .widget_wpp-widget-2 {
  background: linear-gradient(180deg,#fff 0%,#fbfaf6 100%) !important;
  border: 2px solid #111 !important;
  border-top: 6px solid #c9a227 !important;
  box-shadow: 6px 6px 0 rgba(0,0,0,.12) !important;
  padding: 18px !important;
}

#sidebar .widget_popular_entries .widget-title,
#sidebar .popular-posts .widget-title,
#sidebar .widget_wpp-widget-2 .widget-title {
  font-size: 0 !important;
  padding: 0 0 16px !important;
  margin: 0 0 18px !important;
  border-bottom: 1px solid #ddd !important;
  background: transparent !important;
}

#sidebar .widget_popular_entries .widget-title::before,
#sidebar .popular-posts .widget-title::before,
#sidebar .widget_wpp-widget-2 .widget-title::before {
  content: "POPULAR POSTS";
  display: block;
  font-family: "Yu Mincho","Hiragino Mincho ProN",serif;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: .15em;
  color: #111;
  line-height: 1.25;
}

#sidebar .widget_popular_entries .widget-title::after,
#sidebar .popular-posts .widget-title::after,
#sidebar .widget_wpp-widget-2 .widget-title::after {
  content: "人気記事｜よく読まれている記事";
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
  color: #777;
}

#sidebar .popular-entry-card-link,
#sidebar .widget-entry-card-link {
  display: block !important;
  position: relative !important;
  background: #fffdf8 !important;
  border: 1px solid rgba(17,17,17,.18) !important;
  border-left: 4px solid #c9a227 !important;
  box-shadow: 3px 3px 0 rgba(0,0,0,.045) !important;
  margin: 14px 0 !important;
  padding: 12px !important;
  transition: .25s ease !important;
}

#sidebar .popular-entry-card-link:hover,
#sidebar .widget-entry-card-link:hover {
  transform: translateY(-1px) !important;
  box-shadow: 5px 5px 0 rgba(0,0,0,.08) !important;
}

#sidebar .popular-entry-card,
#sidebar .widget-entry-card {
  display: grid !important;
  grid-template-columns: 72px 1fr !important;
  gap: 10px !important;
  align-items: start !important;
  padding: 0 !important;
  border-bottom: none !important;
}

#sidebar .popular-entry-card-thumb,
#sidebar .widget-entry-card-thumb {
  width: 72px !important;
  min-width: 72px !important;
  max-width: 72px !important;
  margin: 0 !important;
}

#sidebar .popular-entry-card-thumb img,
#sidebar .widget-entry-card-thumb img {
  width: 72px !important;
  height: 54px !important;
  object-fit: cover !important;
  border: 1px solid #ddd !important;
  box-shadow: 3px 3px 0 rgba(0,0,0,.05) !important;
}

#sidebar .popular-entry-card-content,
#sidebar .widget-entry-card-content {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

#sidebar .popular-entry-card-title,
#sidebar .widget-entry-card-title {
  font-size: 12.5px !important;
  line-height: 1.5 !important;
  font-weight: 800 !important;
  color: #111 !important;
  margin: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

#sidebar .popular-entry-card-snippet,
#sidebar .widget-entry-card-snippet,
#sidebar .popular-entry-card-meta,
#sidebar .widget-entry-card-meta {
  display: none !important;
}
/************************************
 BOYAKI Hero Header Final Ver.12.2
************************************/

/* Cocoon標準ヘッダーをリセット */
.header,
.header-container,
.header-container-in,
.header-in,
.logo-header{
  min-height:0 !important;
  height:auto !important;
  margin:0 !important;
  padding:0 !important;
  background:none !important;
}

.logo-header,
.site-name,
.site-name-text,
.logo-text,
.tagline,
.site-description{
  display:none !important;
}

/* Hero Header */
.boyaki-hero-header{
  width:100% !important;
  background:#fff !important;
  text-align:center !important;
  line-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  border-bottom:1px solid #d4af37 !important;
}

.boyaki-hero-header img{
  display:block !important;
  width:92vw !important;
  max-width:1500px !important;
  min-width:720px !important;
  height:auto !important;
  margin:0 auto !important;
}

#navi,
.navi{
  margin:0 !important;
  padding:0 !important;
}

.carousel{
  margin-top:18px !important;
}

@media screen and (max-width:768px){
  .boyaki-hero-header img{
    width:100% !important;
    min-width:0 !important;
  }
}
/************************************
 BOYAKI Navigation Ver.13
************************************/

/* ナビ全体 */
#navi .navi-in{
  display:flex !important;
  justify-content:center !important;
}

#navi .navi-in > ul{
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  flex-wrap:nowrap !important;
  width:auto !important;
  max-width:none !important;
}

/* 各メニュー */
#navi .navi-in > ul > li{
  flex:0 0 auto !important;
  width:auto !important;
  max-width:none !important;
}

/* リンク */
#navi .navi-in > ul > li > a{
  display:block !important;
  padding:14px 20px !important;
  white-space:nowrap !important;
  overflow:visible !important;
  text-overflow:clip !important;
  max-width:none !important;
}