@charset "UTF-8";
/* ============================================================
   humbulls Blog — Editorial minimal (fanka-inspired)
   Warm-neutral palette, Yu Gothic body, 860+330 composition
   ============================================================ */

/* Blog palette — fanka準拠 (color-main/bg/gray/beige/pale-gray) + Bulls 自動連携 */
.page-blog-post,
.page-blog-index,
.nav--blog,
.footer--blog,
.blog-breadcrumb {
  --hb-bg:        #FFFFFF;
  --hb-surface:   #F7F7F7;       /* color-bg */
  --hb-surface-2: #E0E0E0;       /* color-pale-gray */
  --hb-text:      #575153;       /* color-main */
  --hb-text-sub:  #767676;
  --hb-text-mute: #828282;       /* color-gray */
  --hb-border:    #E0E0E0;
  --hb-tan:       #BDB8AB;       /* color-beige */
  --hb-gold:      var(--accent, #BFA24B);
  --hb-gold-deep: var(--accent-deep, #A07650);
  --hb-glow:      var(--accent-glow, rgba(191,162,75,0.30));
  --hb-marker:    #FFFF04;
  --hb-link:      #00A6FF;
  --hb-card-bg:   #453F40;
}
/* Bulls Mode: full dark theme. --hb-bg = card surface, --hb-surface = page bg (deeper) */
.bulls-mode .page-blog-post,
.bulls-mode .page-blog-index,
.bulls-mode .nav--blog,
.bulls-mode .footer--blog,
.bulls-mode .blog-breadcrumb,
.bulls-mode.page-blog-post,
.bulls-mode.page-blog-index {
  --hb-bg:        #141414;
  --hb-surface:   #0A0A0A;
  --hb-surface-2: #1F1F1F;
  --hb-text:      #F5F5F5;
  --hb-text-sub:  rgba(255,255,255,0.70);
  --hb-text-mute: rgba(255,255,255,0.45);
  --hb-border:    rgba(255,255,255,0.10);
  --hb-tan:       #FF8C66;
  --hb-link:      #FF8F65;
  --hb-card-bg:   #1A0F0E;
}

.page-blog-post,
.page-blog-index {
  color: var(--hb-text);
  background: var(--hb-bg);
  font-family: "游ゴシック体", "YuGothic", "游ゴシック", "Yu Gothic", "Hiragino Sans", sans-serif;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
}

/* Footer keeps dark backdrop; Bulls deepens it for seamless flow with page bg */
.bulls-mode .footer--blog { background: #0E0E0E; }
.bulls-mode .footer--blog .footer-blog-nav a:hover { color: #FFB89E; }

/* Reset Inter heritage only for blog pages */
.page-blog-post h1,
.page-blog-post h2,
.page-blog-post h3,
.page-blog-post h4,
.page-blog-post h5,
.page-blog-post h6,
.page-blog-index h1,
.page-blog-index h2,
.page-blog-index h3,
.page-blog-index h4,
.page-blog-index h5,
.page-blog-index h6 {
  font-family: "游ゴシック体", "YuGothic", "游ゴシック", "Yu Gothic", "Hiragino Sans", sans-serif;
}

/* ============================================================
   Skip link (a11y) — visible only on focus
   ============================================================ */
.header__skip {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 9999;
}
.header__skip:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 10px 16px;
  background: var(--hb-text, #575153);
  color: #FFFFFF;
  border-radius: 6px;
  font-size: 13px;
  text-decoration: none;
  outline: 2px solid var(--hb-gold, #BFA24B);
}

/* ============================================================
   Slim blog header
   ============================================================ */
.nav--blog {
  position: static;
  background: var(--hb-bg);
  border-bottom: 0;
  padding-block: 20px;
}
.nav--blog .nav-inner {
  max-width: 1230px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
@media (min-width: 1050px) {
  .nav--blog .nav-inner { padding: 0 40px; }
}
.nav--blog .brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
/* POST badge — speech-bubble pointer on lower-left, fanka/TEN inspired */
.nav--blog .brand-post {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: var(--hb-text);
  color: #FFFFFF;
  padding: 5px 10px 6px;
  border-radius: 6px;
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
  margin-left: 8px;
  white-space: nowrap;
}
.nav--blog .brand-post::before {
  content: "";
  position: absolute;
  left: -6px;
  bottom: 5px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 8px 8px;
  border-color: transparent transparent var(--hb-text) transparent;
}
.bulls-mode .nav--blog .brand-post {
  background: var(--accent, #FF6B35);
  color: #0A0A0A;
}
.bulls-mode .nav--blog .brand-post::before {
  border-bottom-color: var(--accent, #FF6B35);
}
.nav--blog .nav-links--blog {
  display: none;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  margin-right: 24px;
}
@media (min-width: 900px) {
  .nav--blog .nav-links--blog { display: flex; }
}
.nav--blog .nav-links--blog > a {
  font-size: 13px;
  color: var(--hb-text);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.2s;
}
.nav--blog .nav-links--blog > a:hover { color: var(--hb-gold); }
.nav--blog .nav-link-home {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding-right: 24px;
  border-right: 1px solid var(--hb-border);
  color: var(--hb-text-sub) !important;
  font-size: 12px !important;
}
.nav--blog .nav-link-home i { width: 13px; height: 13px; stroke-width: 2; }
.nav--blog .nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav--blog .mode-toggle {
  width: 36px; height: 36px;
  border: 1px solid var(--hb-border);
  border-radius: 50%;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--hb-text-sub);
  transition: all 0.2s;
}
.nav--blog .mode-toggle:hover {
  border-color: var(--accent, #BFA24B);
  color: var(--accent, #BFA24B);
}
.nav--blog .mode-toggle i { width: 15px; height: 15px; }
.nav--blog .mode-toggle .ic-bulls { display: none; }
.bulls-mode .nav--blog .mode-toggle .ic-default { display: none; }
.bulls-mode .nav--blog .mode-toggle .ic-bulls { display: block; }

.nav--blog .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--accent, #BFA24B), var(--accent-deep, #A07650));
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 0;
  transition: all 0.2s;
  white-space: nowrap;
  box-shadow: 0 1px 0 0 var(--accent-light, #D4BC6A) inset, 0 8px 18px -8px var(--accent-glow, rgba(191,162,75,0.30));
}
.nav--blog .btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-deep, #A07650), var(--accent, #BFA24B), var(--accent-deep, #A07650));
  box-shadow: 0 1px 0 0 var(--accent-light, #D4BC6A) inset, 0 14px 30px -8px var(--accent-glow, rgba(191,162,75,0.30));
  transform: translateY(-1px);
}
.bulls-mode .nav--blog .btn-primary { color: #0A0A0A; }
.nav--blog .btn-primary i { width: 13px; height: 13px; }

/* ============================================================
   Blog KV carousel — fanka-style branded cards
   ============================================================ */
.blog-kv-slider {
  background: var(--hb-bg);
  padding: 32px 0 36px;
  overflow: hidden;
}
@media (min-width: 1050px) {
  .blog-kv-slider {
    padding: 56px 0 40px;
  }
}

.splide__track { overflow: hidden; }
.splide__slide { padding: 0 8px; height: auto; }
.splide__list { align-items: stretch; }

.blog-kv-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--hb-card-bg);
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  position: relative;
  aspect-ratio: 4 / 3;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  padding: 28px 26px;
  color: #FAFAF8;
  box-shadow: 0 6px 18px -10px rgba(0,0,0,0.25);
}
@media (min-width: 1050px) {
  .blog-kv-card { padding: 34px 30px; }
}
.blog-kv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px -16px rgba(0,0,0,0.45);
}

.blog-kv-card__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(250, 250, 248, 0.78);
  text-transform: uppercase;
  margin-bottom: 22px;
  position: relative;
  z-index: 2;
}
.blog-kv-card__brand::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--hb-gold);
}

.blog-kv-card__title {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 700;
  color: #FAFAF8;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  position: relative;
  z-index: 2;
}
@media (min-width: 1050px) {
  .blog-kv-card__title { font-size: 20px; line-height: 1.6; }
}

.blog-kv-card__thumb {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(250,250,248,0.1) 1px, transparent 0);
  background-size: 14px 14px;
  pointer-events: none;
  opacity: 0.6;
}

.blog-kv-card__meta {
  position: absolute;
  left: 26px;
  bottom: 24px;
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  color: rgba(250, 250, 248, 0.65);
  letter-spacing: 0.12em;
  z-index: 2;
}
@media (min-width: 1050px) {
  .blog-kv-card__meta { left: 30px; bottom: 28px; }
}

.blog-kv-card__accent {
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow, rgba(191,162,75,0.55)), transparent 60%);
  pointer-events: none;
  z-index: 1;
}

/* Splide chrome — monochrome */
.splide__pagination {
  position: static !important;
  display: flex !important;
  justify-content: center;
  gap: 8px !important;
  padding: 28px 0 0 !important;
}
.splide__pagination__page {
  width: 28px !important;
  height: 3px !important;
  background: var(--hb-border) !important;
  border-radius: 2px !important;
  opacity: 1 !important;
  transition: background 0.2s;
  margin: 0 !important;
}
.splide__pagination__page.is-active {
  background: var(--hb-text) !important;
  transform: none !important;
}
.splide__arrows { display: none; }

/* ============================================================
   Body container wrapper
   ============================================================ */
.body-container-bg--blog {
  background: var(--hb-surface);
  padding-top: 48px;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
}
@media (min-width: 1050px) {
  .body-container-bg--blog {
    padding-top: 72px;
    border-top-left-radius: 64px;
    border-top-right-radius: 64px;
  }
}

/* Detail page (fanka準拠): no radius, no top padding (continues from breadcrumb) */
.page-blog-post .body-container-bg--blog {
  padding-top: 0;
  margin-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.body-container--blog {
  max-width: 1230px;
  margin: 0 auto;
  padding: 0 24px 80px;
}
@media (min-width: 1050px) {
  .body-container--blog {
    padding: 0 40px 120px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 64px;
    align-items: start;
  }
}
@media (min-width: 1200px) {
  .body-container--blog {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 80px;
  }
}

/* ============================================================
   Blog listing — page title (fanka準拠)
   ============================================================ */
.blog-page-title {
  max-width: 1230px;
  margin: 0 auto 28px;
  padding: 0 24px;
  font-size: 19px;
  font-weight: 700;
  color: var(--hb-text);
  line-height: 1.4;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 14px;
}
.blog-page-title::before {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: var(--hb-gold);
}
@media (min-width: 1050px) {
  .blog-page-title {
    padding: 0 40px;
    margin: 0 auto 44px;
    font-size: 26px;
    gap: 18px;
  }
  .blog-page-title::before { width: 36px; }
}

.blog-page-title--tag-page {
  background: var(--hb-bg);
  border-radius: 12px;
  box-shadow: 0 4px 4px 0 rgba(0,0,0,0.10);
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 24px;
  padding: 12px 24px;
  font-weight: 700;
  color: var(--hb-text);
}
@media (min-width: 1050px) {
  .blog-page-title--tag-page {
    border-radius: 16px;
    font-size: 28px;
    margin-bottom: 40px;
    padding: 40px;
  }
}

/* ============================================================
   Blog post list — 2-col card grid (fanka準拠)
   ============================================================ */
.blog-post-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
@media (min-width: 768px) {
  .blog-post-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 28px;
  }
}

.blog-post-list__item {
  display: flex;
  flex-direction: column;
  background: var(--hb-bg);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 14px -10px rgba(0,0,0,0.20);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-post-list__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 28px -16px rgba(0,0,0,0.30);
}
.bulls-mode .blog-post-list__item {
  box-shadow: 0 6px 14px -10px rgba(0,0,0,0.50);
}
.bulls-mode .blog-post-list__item:hover {
  box-shadow: 0 16px 28px -16px rgba(0,0,0,0.65);
}

.blog-post-list__thumbnail {
  aspect-ratio: 16 / 10;
  border-radius: 0;
  overflow: hidden;
  background: var(--hb-card-bg);
  position: relative;
}
.blog-post-list__thumbnail a {
  display: block;
  position: absolute;
  inset: 0;
  color: #FAFAF8;
  padding: 22px 20px;
  overflow: hidden;
}
.blog-post-list__thumbnail a::before {
  content: "KNOWLEDGE · HUMBULLS";
  position: absolute;
  top: 22px;
  left: 20px;
  font-family: "Outfit", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(250, 250, 248, 0.6);
}
.blog-post-list__thumbnail a::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(250,250,248,0.08) 1px, transparent 0);
  background-size: 14px 14px;
  pointer-events: none;
}
.blog-post-list__thumbnail img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
  z-index: 1;
}
.blog-post-list__thumbnail img ~ a::before,
.blog-post-list__thumbnail img ~ a::after { display: none; }

.blog-post-list__body { padding: 18px 20px 22px; }
@media (min-width: 1050px) {
  .blog-post-list__body { padding: 22px 22px 24px; }
}
.blog-post-list__title {
  font-size: 16px;
  line-height: 1.6;
  font-weight: 700;
  color: var(--hb-text);
  margin: 0;
  letter-spacing: 0.02em;
}
@media (min-width: 1050px) {
  .blog-post-list__title { font-size: 17px; }
}
.blog-post-list__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.blog-post-list__title a:hover { color: var(--hb-gold); }

.blog-post-list__tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}
.blog-post-list__tag-list__item__inner {
  display: block;
  font-size: 11px;
  line-height: 1;
  padding: 4px 9px;
  border: 1px solid var(--hb-tan);
  border-radius: 10px;
  color: var(--hb-tan);
  background: transparent;
  text-decoration: none;
  text-align: center;
  letter-spacing: 0.04em;
  transition: all 0.2s;
}
.blog-post-list__tag-list__item__inner:hover {
  background: var(--hb-tan);
  color: var(--hb-bg);
}
.blog-post-list__date {
  font-size: 12px;
  line-height: 1;
  color: var(--hb-text-mute);
  margin: 14px 0 0;
  letter-spacing: 0.02em;
}
.blog-post-list__date--blog-post {
  font-size: 13px;
  margin-top: 12px;
}
@media (min-width: 1050px) {
  .blog-post-list__date--blog-post {
    font-size: 14px;
    margin-top: 16px;
  }
}
.blog-post-list__date time {
  font-family: "Outfit", sans-serif;
}
.blog-post-list__tag-list--blog-post { margin-top: 18px; }
@media (min-width: 1050px) {
  .blog-post-list__tag-list--blog-post { margin-top: 22px; }
}

/* ============================================================
   Sidebar
   ============================================================ */
.blog-sidebar {
  margin-top: 56px;
}
@media (min-width: 1050px) {
  .blog-sidebar {
    position: sticky;
    top: 32px;
    margin-top: 0;
    align-self: start;
  }
}

.blog-sidebar__cta {
  padding: 26px 22px;
  background: var(--hb-bg);
  border: 0;
  border-radius: 16px;
  margin-bottom: 28px;
  box-shadow: 0 6px 14px -10px rgba(0,0,0,0.18);
  position: relative;
  overflow: hidden;
}
.blog-sidebar__cta::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow, rgba(191,162,75,0.30)), transparent 65%);
  pointer-events: none;
}
.bulls-mode .blog-sidebar__cta {
  box-shadow: 0 6px 14px -10px rgba(0,0,0,0.50);
}
.blog-sidebar__cta-eye {
  font-family: "Outfit", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--hb-gold);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.blog-sidebar__cta-eye::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--hb-gold);
}
.blog-sidebar__cta-title {
  font-size: 15px;
  line-height: 1.65;
  font-weight: 700;
  color: var(--hb-text);
  margin: 0 0 18px;
  position: relative;
  z-index: 1;
  letter-spacing: 0.02em;
}
.blog-sidebar__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 13px 18px;
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, var(--accent, #BFA24B), var(--accent-deep, #A07650));
  color: #FFFFFF;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 1px 0 0 var(--accent-light, #D4BC6A) inset, 0 8px 18px -8px var(--accent-glow, rgba(191,162,75,0.30));
}
.blog-sidebar__cta-btn:hover {
  background: linear-gradient(135deg, var(--accent-deep, #A07650), var(--accent, #BFA24B), var(--accent-deep, #A07650));
  box-shadow: 0 1px 0 0 var(--accent-light, #D4BC6A) inset, 0 14px 30px -8px var(--accent-glow, rgba(191,162,75,0.30));
  transform: translateY(-1px);
}
.bulls-mode .blog-sidebar__cta-btn { color: #0A0A0A; }
.blog-sidebar__cta-btn i { width: 13px; height: 13px; }

/* Category card (fanka準拠): pale-gray wrapper + white heading/items separated by 1px gap */
.blog-sidebar__block {
  background: var(--hb-surface-2);
  border: 0;
  border-radius: 16px;
  padding: 0;
  margin-bottom: 28px;
  box-shadow: 0 6px 14px -10px rgba(0,0,0,0.18);
  overflow: hidden;
}
.bulls-mode .blog-sidebar__block {
  box-shadow: 0 6px 14px -10px rgba(0,0,0,0.50);
}
.blog-sidebar__block:last-child { margin-bottom: 0; }

.blog-sidebar__heading {
  background: var(--hb-bg);
  border-radius: 16px 16px 0 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--hb-text);
  margin: 0;
  padding: 22px 22px 20px;
  border-bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.04em;
  line-height: 1;
  font-family: "游ゴシック体", "YuGothic", sans-serif;
}
.blog-sidebar__heading::before {
  content: "";
  display: block;
  width: 22px;
  height: 1px;
  background: var(--hb-gold);
}

.blog-sidebar__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.blog-sidebar__list li {
  background: var(--hb-bg);
  margin-top: 1px;
}
.blog-sidebar__list li + li { border-top: 0; }
.blog-sidebar__list li:last-child { border-radius: 0 0 16px 16px; }
.blog-sidebar__list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5em;
  padding: 14px 22px 16px;
  color: var(--hb-text);
  font-size: 13.5px;
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
  letter-spacing: 0.02em;
  background: transparent;
  position: relative;
}
.blog-sidebar__list a:hover {
  color: var(--hb-gold);
  padding-left: 26px;
}
.blog-sidebar__count {
  font-family: "Outfit", sans-serif;
  color: var(--hb-text-mute);
  font-size: 12px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* ============================================================
   Pagination (fanka準拠 — text only, no badge)
   ============================================================ */
.blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 56px;
  padding: 0;
  flex-wrap: wrap;
}
.blog-pagination a,
.blog-pagination span {
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--hb-text-sub);
  text-decoration: none;
  transition: all 0.2s;
  background: transparent;
  border-radius: 50%;
}
.blog-pagination a:hover {
  color: var(--hb-gold);
  background: var(--hb-bg);
}
.blog-pagination [aria-current="page"] {
  font-weight: 700;
  color: var(--hb-bg);
  background: var(--hb-text);
}
.bulls-mode .blog-pagination [aria-current="page"] {
  color: #0A0A0A;
  background: var(--accent, #FF6B35);
}

/* ============================================================
   Breadcrumb — sits on surface (page bg) for seamless transition
   ============================================================ */
.blog-breadcrumb {
  background: var(--hb-bg);
  padding: 20px 0 28px;
}
.blog-breadcrumb ol {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
  max-width: 1230px;
  margin: 0 auto;
  padding: 0 24px;
  font-size: 11px;
  color: var(--hb-text-mute);
  letter-spacing: 0.02em;
}
@media (min-width: 1050px) {
  .blog-breadcrumb { padding: 28px 0 36px; }
  .blog-breadcrumb ol { padding: 0 40px; font-size: 12px; }
}
.blog-breadcrumb a {
  color: var(--hb-text-sub);
  text-decoration: none;
  transition: color 0.2s;
}
.blog-breadcrumb a:hover { color: var(--hb-text); }
.blog-breadcrumb li + li::before {
  content: "›";
  margin-right: 8px;
  color: var(--hb-text-mute);
}

/* ============================================================
   Blog detail — article wrapped as one floating white card
   ============================================================ */
.main-contents--blog-post {
  width: 100%;
  background: var(--hb-bg);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 4px 0 rgba(0,0,0,0.10);
}
.bulls-mode .main-contents--blog-post {
  box-shadow: 0 4px 4px 0 rgba(0,0,0,0.50);
}

.blog-post__thumbnail {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  overflow: hidden;
  background: var(--hb-card-bg);
  color: #FAFAF8;
}
.blog-post__thumbnail::before {
  content: "KNOWLEDGE · HUMBULLS";
  position: absolute;
  top: 28px;
  left: 28px;
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(250,250,248,0.7);
  z-index: 2;
}
.blog-post__thumbnail::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(250,250,248,0.08) 1px, transparent 0);
  background-size: 16px 16px;
  pointer-events: none;
  z-index: 1;
}
.blog-post__thumbnail img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 3;
}
/* When a featured image exists, hide brand placeholder + dot pattern */
.blog-post__thumbnail:has(img)::before,
.blog-post__thumbnail:has(img)::after { display: none; }
.blog-post__thumbnail:has(img) { background: transparent; }

.blog-post__body {
  padding: 32px 26px 48px;
  background: var(--hb-bg);
}
@media (min-width: 1050px) {
  .blog-post__body { padding: 56px 60px 72px; }
}

.blog-post__heading {
  font-size: 24px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--hb-text);
  margin: 0 0 22px;
  letter-spacing: 0.03em;
}
@media (min-width: 1050px) {
  .blog-post__heading {
    font-size: 32px;
    line-height: 1.5;
    margin: 0 0 28px;
  }
}

.u-display--mobile { display: block; }
.u-display--desktop { display: none; }
@media (min-width: 768px) {
  .u-display--mobile { display: none; }
  .u-display--desktop { display: block; }
}

.blog-post-list__tag-list--blog-post {
  margin: 4px 0 14px;
}

/* ============================================================
   Richtext (article body) — fanka style
   ============================================================ */
.richtext-field {
  font-size: 15px;
  line-height: 1.95;
  color: var(--hb-text);
  margin-top: 40px;
}
@media (min-width: 1050px) {
  .richtext-field { font-size: 17px; line-height: 1.95; margin-top: 48px; }
}

.richtext-field > :first-child { margin-top: 0; }
.richtext-field > :last-child { margin-bottom: 0; }

/* Headings */
.richtext-field h2,
.richtext-field h3,
.richtext-field h4,
.richtext-field h5,
.richtext-field h6 {
  font-weight: 700;
  color: var(--hb-text);
  line-height: 1.5;
  margin: 56px 0 18px;
  letter-spacing: 0.03em;
}
@media (min-width: 1050px) {
  .richtext-field h2 { margin: 72px 0 22px; }
  .richtext-field h3 { margin: 56px 0 18px; }
  .richtext-field h4 { margin: 44px 0 14px; }
}
.richtext-field h2 {
  font-size: 19px;
  padding-left: 16px;
  border-left: 4px solid var(--hb-gold);
}
.richtext-field h3 {
  font-size: 17px;
  padding-left: 14px;
  border-left: 2px solid var(--hb-tan);
}
.richtext-field h4,
.richtext-field h5,
.richtext-field h6 { font-size: 15px; }
@media (min-width: 1050px) {
  .richtext-field h2 { font-size: 24px; padding-left: 20px; border-left-width: 4px; }
  .richtext-field h3 { font-size: 20px; padding-left: 16px; }
  .richtext-field h4,
  .richtext-field h5,
  .richtext-field h6 { font-size: 17px; }
}

/* Paragraphs */
.richtext-field p {
  line-height: 1.95;
  margin: 0 0 1.7em;
}
.richtext-field p:last-child { margin-bottom: 0; }

/* Marker highlight */
.richtext-field span[style*="background-color"] {
  padding-inline: 4px;
  font-weight: 600;
}

/* Lists */
.richtext-field ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6em;
}
.richtext-field ul li {
  position: relative;
  padding-left: 18px;
  line-height: 2;
}
.richtext-field ul li + li { margin-top: 6px; }
.richtext-field ul li::before {
  content: "";
  position: absolute;
  top: 0.78em;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hb-gold);
}

.richtext-field ol {
  padding-left: 1.4em;
  margin: 0 0 1.6em;
}
.richtext-field ol li { line-height: 2; }
.richtext-field ol li + li { margin-top: 6px; }

/* Blockquote */
.richtext-field blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  background: var(--hb-surface);
  border-left: 3px solid var(--hb-tan);
  border-radius: 0 8px 8px 0;
  font-size: 0.94em;
  line-height: 1.9;
  color: var(--hb-text);
}

/* Images */
.richtext-field img {
  border-radius: 14px;
  max-width: 100%;
  height: auto;
  margin: 28px 0;
  display: block;
}

/* Inline links */
.richtext-field a {
  color: var(--hb-link);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.richtext-field a:hover { text-decoration: none; }

/* Inline code */
.richtext-field :not(pre) > code {
  background: var(--hb-surface-2);
  padding: 2px 7px;
  border-radius: 4px;
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.9em;
  color: var(--hb-text);
}

/* Code blocks */
.richtext-field pre {
  margin: 28px 0;
  padding: 20px 24px;
  background: #2F2B2C;
  color: #F5F5F5;
  border-radius: 10px;
  overflow-x: auto;
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.75;
}
.richtext-field pre code { color: inherit; background: transparent; padding: 0; font-size: inherit; }

/* Strong */
.richtext-field strong { font-weight: 700; color: var(--hb-text); }

/* hr */
.richtext-field hr {
  border: none;
  border-top: 1px solid var(--hb-border);
  margin: 48px 0;
}

/* ============================================================
   Inline TOC (table of contents card)
   ============================================================ */
.blog-toc {
  background: var(--hb-surface-2);
  border-radius: 14px;
  padding: 24px 22px;
  margin: 40px 0 48px;
  position: relative;
  counter-reset: toc-num;
}
@media (min-width: 1050px) {
  .blog-toc { padding: 28px 32px; margin: 48px 0 56px; }
}
.blog-toc__heading {
  font-size: 16px;
  font-weight: 700;
  color: var(--hb-text);
  margin: 0 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hb-border);
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  font-family: "Outfit", "游ゴシック体", sans-serif;
}
.blog-toc__heading::before {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: var(--hb-gold);
}
@media (min-width: 1050px) {
  .blog-toc__heading { font-size: 17px; gap: 14px; }
  .blog-toc__heading::before { width: 28px; }
}
.blog-toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.blog-toc__list > li {
  counter-increment: toc-num;
  display: flex;
  gap: 14px;
  align-items: baseline;
}
.blog-toc__list > li::before {
  content: counter(toc-num, decimal-leading-zero);
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--hb-gold);
  letter-spacing: 0.06em;
  flex-shrink: 0;
  min-width: 22px;
}
.blog-toc__list a {
  color: var(--hb-text);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.65;
  transition: color 0.2s;
  letter-spacing: 0.02em;
  flex: 1;
}
@media (min-width: 1050px) {
  .blog-toc__list { gap: 14px; }
  .blog-toc__list > li::before { font-size: 12px; min-width: 26px; }
  .blog-toc__list a { font-size: 14px; }
}
.blog-toc__list a:hover { color: var(--hb-gold); }
.blog-toc__sub { padding-left: 22px; }
.blog-toc__sub a::before { content: "・"; }

/* ============================================================
   SNS share
   ============================================================ */
.module-sns-share {
  display: flex;
  gap: 10px;
  margin: 56px 0 32px;
  padding-block: 24px;
  border-top: 1px solid var(--hb-border);
  border-bottom: 1px solid var(--hb-border);
}
.module-sns-share a {
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  color: var(--hb-text-sub);
  border-radius: 6px;
  transition: all 0.2s;
}
.module-sns-share a:hover {
  color: var(--hb-text);
  background: var(--hb-surface);
}
.module-sns-share i { width: 17px; height: 17px; stroke-width: 1.8; }

/* ============================================================
   Author card (square avatar)
   ============================================================ */
.author-card-flat {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 22px;
  padding: 32px 0 8px;
  align-items: center;
}
@media (min-width: 1050px) {
  .author-card-flat {
    grid-template-columns: 108px 1fr;
    gap: 28px;
    padding: 40px 0 8px;
    align-items: start;
  }
}
.author-card-flat__avatar {
  width: 88px;
  height: 88px;
  background: var(--hb-surface-2);
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--hb-border);
}
@media (min-width: 1050px) {
  .author-card-flat__avatar {
    width: 108px;
    height: 108px;
  }
}
.author-card-flat__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.author-card-flat__role {
  font-family: "Outfit", sans-serif;
  font-size: 10px;
  color: var(--hb-gold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.author-card-flat__role::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--hb-gold);
}
.author-card-flat__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--hb-text);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
@media (min-width: 1050px) {
  .author-card-flat__name { font-size: 20px; }
}
.author-card-flat__bio {
  font-size: 13px;
  line-height: 1.8;
  color: var(--hb-text);
  margin: 0;
}
@media (min-width: 1050px) {
  .author-card-flat__bio { font-size: 14px; }
}

/* ============================================================
   Recommended posts (horizontal cards)
   ============================================================ */
.module-recommended-post {
  max-width: 1230px;
  margin: 0 auto;
  padding: 64px 24px 48px;
}
@media (min-width: 1050px) {
  .module-recommended-post {
    padding: 96px 40px 80px;
  }
}
.module-recommended-post__heading {
  font-size: 20px;
  font-weight: 700;
  color: var(--hb-text);
  margin: 0 0 32px;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 14px;
}
.module-recommended-post__heading::before {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: var(--hb-gold);
}
@media (min-width: 1050px) {
  .module-recommended-post__heading {
    font-size: 24px;
    margin-bottom: 44px;
    gap: 18px;
  }
  .module-recommended-post__heading::before { width: 36px; }
}

.module-recommended-post__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .module-recommended-post__list {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
}
@media (min-width: 1050px) {
  .module-recommended-post__list {
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 28px;
  }
}

.module-recommended-post__item a {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 0.3s;
}
.module-recommended-post__item a:hover { transform: translateY(-3px); }
.module-recommended-post__item a:hover .module-recommended-post__title {
  color: var(--hb-gold);
}

.module-recommended-post__thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: var(--hb-card-bg);
  margin-bottom: 16px;
}
.module-recommended-post__thumb::before {
  content: "humbulls";
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: "Outfit", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(250,250,248,0.5);
  text-transform: uppercase;
  z-index: 2;
}
.module-recommended-post__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(250,250,248,0.06) 1px, transparent 0);
  background-size: 12px 12px;
  pointer-events: none;
  z-index: 1;
}
.module-recommended-post__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 3;
}

.module-recommended-post__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.module-recommended-post__title {
  font-size: 14px;
  line-height: 1.65;
  font-weight: 700;
  color: var(--hb-text);
  margin: 0;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 1050px) {
  .module-recommended-post__title { font-size: 14px; }
}
.module-recommended-post__date {
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  color: var(--hb-text-mute);
  margin: 0;
  letter-spacing: 0.06em;
}

/* ============================================================
   Page-top button
   ============================================================ */
.pagetop-button {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent, #BFA24B), var(--accent-deep, #A07650));
  color: #FFFFFF;
  display: grid;
  place-items: center;
  border: 0;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.2s;
  z-index: 100;
  box-shadow: 0 8px 18px -8px var(--accent-glow, rgba(191,162,75,0.30));
}
.bulls-mode .pagetop-button { color: #0A0A0A; }
.pagetop-button.is-visible {
  opacity: 0.9;
  pointer-events: auto;
}
.pagetop-button:hover {
  opacity: 1;
  transform: translateY(-2px);
}
.pagetop-button i { width: 18px; height: 18px; stroke-width: 2; }

/* ============================================================
   Blog footer — slim dark
   ============================================================ */
.footer--blog {
  background: #3F3A3B;
  color: #FAFAF8;
  padding: 56px 0 24px;
  font-family: "游ゴシック体", "YuGothic", "游ゴシック", "Yu Gothic", sans-serif;
}
.footer--blog .wrap {
  max-width: 1230px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 1050px) {
  .footer--blog .wrap { padding: 0 40px; }
}
.footer-blog-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (min-width: 768px) {
  .footer-blog-inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 48px;
  }
}
.footer-blog-brand-text {
  font-family: "Outfit", sans-serif;
  font-weight: 900;
  font-size: 20px;
  color: #FAFAF8;
  letter-spacing: -0.01em;
}
.footer-blog-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  margin: 8px 0 0;
  line-height: 1.8;
}
.footer-blog-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.footer-blog-nav a {
  font-size: 13px;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.footer-blog-nav a:hover { color: #FAFAF8; }
.footer-blog-sns { display: flex; gap: 10px; }
.footer-blog-sns a {
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.78);
  transition: all 0.2s;
}
.footer-blog-sns a:hover {
  background: rgba(255,255,255,0.08);
  color: #FAFAF8;
  border-color: rgba(255,255,255,0.4);
}
.footer-blog-sns i,
.footer-blog-sns svg { width: 15px; height: 15px; stroke-width: 1.8; display: block; }
.footer-blog-bottom {
  padding-top: 20px;
  text-align: center;
  color: rgba(255,255,255,0.48);
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  letter-spacing: 0.04em;
}
.footer-blog-bottom a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  transition: color 0.2s;
}
.footer-blog-bottom a:hover { color: #FAFAF8; }

/* ============================================================
   Responsive details
   ============================================================ */
@media (max-width: 1049px) {
  .blog-sidebar {
    display: none;
  }
}
