/*
Theme Name:  HOBIN Child (Arkhe)
Theme URI:   https://example.com/hobin
Description: HOBIN - Modern News & Media Child Theme for Arkhe
Author:      HOBIN Team
Template:    arkhe
Version:     1.1.0
License:     GNU General Public License v2 or later
Text Domain: hobin-child
*/

/* ============================================================
   GOOGLE FONTS IMPORT
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

/* ============================================================
   CSS VARIABLES – Light Mode (DEFAULT)
   ============================================================ */
:root {
  /* Brand */
  --hb-accent:          #e8382d;
  --hb-accent-dark:     #c2281f;
  --hb-accent-light:    #fdecea;

  /* Backgrounds */
  --hb-bg:              #ffffff;
  --hb-bg-sub:          #f6f7f9;
  --hb-bg-card:         #ffffff;
  --hb-bg-header:       rgba(255,255,255,0.92);
  --hb-bg-overlay:      rgba(0,0,0,0.52);
  --hb-bg-badge:        #f0f0f0;

  /* Text */
  --hb-text:            #111111;
  --hb-text-sub:        #555555;
  --hb-text-muted:      #999999;
  --hb-text-on-accent:  #ffffff;

  /* Borders & Shadows */
  --hb-border:          #e8e8e8;
  --hb-shadow-sm:       0 1px 4px rgba(0,0,0,0.06);
  --hb-shadow-card:     0 2px 16px rgba(0,0,0,0.07);
  --hb-shadow-hover:    0 10px 32px rgba(0,0,0,0.14);
  --hb-shadow-modal:    0 20px 60px rgba(0,0,0,0.18);

  /* Map */
  --hb-map-fill:        #c8d8ee;
  --hb-map-stroke:      #ffffff;
  --hb-map-hover:       #e8382d;
  --hb-map-region:      #d8e6f4;

  /* UI */
  --hb-radius-sm:       6px;
  --hb-radius:          12px;
  --hb-radius-lg:       20px;
  --hb-transition:      0.22s cubic-bezier(0.4,0,0.2,1);
  --hb-font:            'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
}

/* ============================================================
   CSS VARIABLES – Dark Mode (class-based, triggered by JS toggle)
   ============================================================ */
[data-theme="dark"] {
  --hb-bg:              #0f0f0f;
  --hb-bg-sub:          #1a1a1a;
  --hb-bg-card:         #1c1c1c;
  --hb-bg-header:       rgba(15,15,15,0.94);
  --hb-bg-overlay:      rgba(0,0,0,0.68);
  --hb-bg-badge:        #2a2a2a;

  --hb-text:            #f0f0f0;
  --hb-text-sub:        #aaaaaa;
  --hb-text-muted:      #555555;

  --hb-border:          #2c2c2c;
  --hb-shadow-sm:       0 1px 4px rgba(0,0,0,0.3);
  --hb-shadow-card:     0 2px 16px rgba(0,0,0,0.4);
  --hb-shadow-hover:    0 10px 32px rgba(0,0,0,0.6);
  --hb-shadow-modal:    0 20px 60px rgba(0,0,0,0.7);

  --hb-map-fill:        #253045;
  --hb-map-stroke:      #0f0f0f;
  --hb-map-region:      #1e2a40;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--hb-font);
  background-color: var(--hb-bg);
  color: var(--hb-text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a { color: var(--hb-accent); text-decoration: none; transition: color var(--hb-transition); }
a:hover { color: var(--hb-accent-dark); }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--hb-font);
  color: var(--hb-text);
  line-height: 1.3;
  font-weight: 700;
}

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header,
#masthead {
  background: var(--hb-bg-header);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hb-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background var(--hb-transition), border-color var(--hb-transition);
}

/* Site title "HOBIN" */
.site-branding .site-title,
.site-branding .site-title a {
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
  color: var(--hb-text);
  text-decoration: none;
}

/* ============================================================
   DARK MODE TOGGLE BUTTON
   ============================================================ */
#hobin-theme-toggle {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9000;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--hb-bg-card);
  border: 1.5px solid var(--hb-border);
  box-shadow: var(--hb-shadow-hover);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: transform var(--hb-transition), box-shadow var(--hb-transition);
  line-height: 1;
}

#hobin-theme-toggle:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 24px rgba(232,56,45,0.25);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.main-navigation a {
  color: var(--hb-text-sub);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color var(--hb-transition);
}
.main-navigation a:hover { color: var(--hb-accent); }

/* ============================================================
   PAGE WRAPPER
   ============================================================ */
.l-wrap,
.l-container {
  background: var(--hb-bg);
  transition: background var(--hb-transition);
}

/* ============================================================
   HERO – Featured Post
   ============================================================ */
.hobin-hero {
  display: flex;
  align-items: flex-end;
  position: relative;
  width: 100%;
  min-height: 460px;
  border-radius: var(--hb-radius-lg);
  overflow: hidden;
  margin-bottom: 2.5rem;
  background: var(--hb-bg-sub);
  text-decoration: none;
}

.hobin-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hobin-hero:hover .hobin-hero__bg { transform: scale(1.04); }

.hobin-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.1) 55%, transparent 100%);
}

/* No-image fallback pattern */
.hobin-hero--no-image {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.hobin-hero__body {
  position: relative;
  z-index: 1;
  padding: 2rem 2.5rem;
  width: 100%;
}

.hobin-hero__category {
  display: inline-block;
  background: var(--hb-accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.28em 0.9em;
  border-radius: var(--hb-radius-sm);
  margin-bottom: 0.7rem;
}

.hobin-hero__title {
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: 900;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.hobin-hero__date {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.04em;
}

/* ============================================================
   SECTION LABEL
   ============================================================ */
.hobin-section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hobin-section-label__text {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--hb-text-muted);
}

.hobin-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--hb-border);
}

/* ============================================================
   CARD GRID
   ============================================================ */
.hobin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 0 0 2rem;
}

@media (max-width: 960px) {
  .hobin-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .hobin-grid { grid-template-columns: 1fr; gap: 1rem; }
}

/* ---------- Card ---------- */
.hobin-card {
  background: var(--hb-bg-card);
  border: 1px solid var(--hb-border);
  border-radius: var(--hb-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--hb-shadow-card);
  cursor: pointer;
  /* Scroll animation initial state */
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    box-shadow var(--hb-transition),
    border-color var(--hb-transition);
}

.hobin-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hobin-card.is-visible:hover {
  transform: translateY(-6px);
  box-shadow: var(--hb-shadow-hover);
  border-color: transparent;
}

/* Thumbnail */
.hobin-card__thumb {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--hb-bg-sub);
  flex-shrink: 0;
}

.hobin-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.hobin-card.is-visible:hover .hobin-card__thumb img {
  transform: scale(1.06);
}

/* No thumb placeholder */
.hobin-card__thumb--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--hb-bg-sub) 0%, var(--hb-border) 100%);
}

.hobin-card__thumb--placeholder::after {
  content: 'HOBIN';
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: var(--hb-border);
}

/* Card body */
.hobin-card__body {
  padding: 1rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

/* Category badge */
.hobin-card__cat {
  display: inline-block;
  background: var(--hb-accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.22em 0.65em;
  border-radius: 4px;
  align-self: flex-start;
}

.hobin-card__cat a { color: inherit; }

/* Title */
.hobin-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
  margin: 0;
  color: var(--hb-text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hobin-card__title a {
  color: inherit;
  transition: color var(--hb-transition);
}

.hobin-card__title a:hover { color: var(--hb-accent); }

/* Date */
.hobin-card__date {
  font-size: 0.72rem;
  color: var(--hb-text-muted);
  margin-top: auto;
  letter-spacing: 0.03em;
}

/* ============================================================
   SINGLE POST – Article
   ============================================================ */
.entry-content,
.hobin-article-body {
  color: var(--hb-text);
  font-size: 1rem;
  line-height: 1.85;
}

.entry-content h2,
.entry-content h3 {
  border-left: 4px solid var(--hb-accent);
  padding-left: 0.75rem;
  margin-top: 2rem;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.widget-title,
.widgettitle {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--hb-text-muted);
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--hb-accent);
  margin-bottom: 1rem;
}

/* ============================================================
   JAPAN MAP SHORTCODE
   ============================================================ */
.hobin-map-wrap {
  width: 100%;
  max-width: 740px;
  margin: 2rem auto;
  padding: 2rem 1.5rem 1.5rem;
  background: var(--hb-bg-sub);
  border: 1px solid var(--hb-border);
  border-radius: var(--hb-radius-lg);
  box-shadow: var(--hb-shadow-card);
  transition: background var(--hb-transition), border-color var(--hb-transition);
}

.hobin-map-wrap__title {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hb-text-muted);
  margin-bottom: 1.25rem;
}

.hobin-map-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.hobin-map-svg .pref {
  fill: var(--hb-map-fill);
  stroke: var(--hb-map-stroke);
  stroke-width: 0.8;
  cursor: pointer;
  transition: fill 0.18s ease, filter 0.18s ease;
  outline: none;
}

.hobin-map-svg .pref:hover,
.hobin-map-svg .pref:focus {
  fill: var(--hb-map-hover);
  filter: drop-shadow(0 3px 8px rgba(232,56,45,0.45));
}

.hobin-map-svg .pref.is-active { fill: var(--hb-accent-dark); }

/* Tooltip */
.hobin-map-tip {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  background: var(--hb-text);
  color: var(--hb-bg);
  font-family: var(--hb-font);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35em 0.8em;
  border-radius: var(--hb-radius-sm);
  opacity: 0;
  transition: opacity 0.12s ease;
  white-space: nowrap;
  box-shadow: var(--hb-shadow-sm);
}

/* ============================================================
   GLOSSARY SEARCH WIDGET
   ============================================================ */
.hobin-glossary-wrap { position: relative; }

.hobin-glossary-input {
  width: 100%;
  padding: 0.65rem 1rem 0.65rem 2.4rem;
  border: 1.5px solid var(--hb-border);
  border-radius: var(--hb-radius);
  background: var(--hb-bg);
  color: var(--hb-text);
  font-family: var(--hb-font);
  font-size: 0.88rem;
  outline: none;
  transition: border-color var(--hb-transition), box-shadow var(--hb-transition);
}

.hobin-glossary-input:focus {
  border-color: var(--hb-accent);
  box-shadow: 0 0 0 3px rgba(232,56,45,0.12);
}

/* Search icon */
.hobin-glossary-wrap::before {
  content: '🔍';
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8rem;
  pointer-events: none;
  z-index: 1;
}

.hobin-glossary-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--hb-bg-card);
  border: 1px solid var(--hb-border);
  border-radius: var(--hb-radius);
  box-shadow: var(--hb-shadow-modal);
  z-index: 500;
  max-height: 300px;
  overflow-y: auto;
  display: none;
  animation: hobin-dd-in 0.18s ease;
}

@keyframes hobin-dd-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hobin-glossary-results.is-open { display: block; }

.hobin-glossary-item {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--hb-border);
  cursor: pointer;
  transition: background var(--hb-transition);
}

.hobin-glossary-item:last-child { border-bottom: none; }
.hobin-glossary-item:hover { background: var(--hb-bg-sub); }

.hobin-glossary-item__term {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--hb-text);
}

.hobin-glossary-item__def {
  font-size: 0.76rem;
  color: var(--hb-text-sub);
  margin-top: 0.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hobin-glossary-empty {
  padding: 1.2rem;
  text-align: center;
  color: var(--hb-text-muted);
  font-size: 0.82rem;
}

/* ============================================================
   TEXT SELECTION LOOKUP BUTTON
   ============================================================ */
#hobin-sel-btn {
  position: fixed;
  display: none;
  z-index: 9998;
  background: var(--hb-text);
  color: var(--hb-bg);
  font-family: var(--hb-font);
  font-size: 0.73rem;
  font-weight: 700;
  padding: 0.4em 0.9em;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  box-shadow: var(--hb-shadow-hover);
  transition: transform var(--hb-transition);
  white-space: nowrap;
  pointer-events: auto;
}

#hobin-sel-btn:hover { transform: scale(1.05); }

/* ============================================================
   GLOSSARY MODAL
   ============================================================ */
#hobin-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

#hobin-modal.is-open { display: flex; }

#hobin-modal-backdrop {
  position: absolute;
  inset: 0;
  background: var(--hb-bg-overlay);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

#hobin-modal-box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 500px;
  background: var(--hb-bg-card);
  border: 1px solid var(--hb-border);
  border-radius: var(--hb-radius-lg);
  box-shadow: var(--hb-shadow-modal);
  padding: 2rem;
  animation: hobin-modal-in 0.22s ease;
}

@keyframes hobin-modal-in {
  from { opacity: 0; transform: scale(0.94) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

#hobin-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  background: var(--hb-bg-sub);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--hb-text-muted);
  transition: background var(--hb-transition), color var(--hb-transition);
}

#hobin-modal-close:hover {
  background: var(--hb-accent);
  color: #fff;
}

#hobin-modal-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--hb-text);
  margin: 0 0 1.25rem;
  padding-right: 2rem;
  line-height: 1.4;
}

#hobin-modal-results {
  max-height: 300px;
  overflow-y: auto;
}

.hobin-modal-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--hb-border);
}

.hobin-modal-item:last-child { border-bottom: none; }

.hobin-modal-item__term {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--hb-accent);
  margin-bottom: 0.35rem;
}

.hobin-modal-item__term a { color: inherit; }

.hobin-modal-item__def {
  font-size: 0.84rem;
  color: var(--hb-text-sub);
  line-height: 1.65;
}

/* External lookup links */
.hobin-modal-ext-links {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--hb-border);
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.hobin-modal-ext-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35em 0.85em;
  border-radius: 20px;
  background: var(--hb-bg-sub);
  color: var(--hb-text-sub);
  border: 1px solid var(--hb-border);
  transition: background var(--hb-transition), color var(--hb-transition);
  text-decoration: none;
}

.hobin-modal-ext-links a:hover {
  background: var(--hb-accent);
  color: #fff;
  border-color: var(--hb-accent);
}

/* ============================================================
   PAGINATION
   ============================================================ */
.hobin-pagination,
.navigation.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  padding: 2rem 0 1rem;
}

.hobin-pagination a,
.hobin-pagination span,
.navigation.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.3rem;
  height: 2.3rem;
  padding: 0 0.6rem;
  border-radius: var(--hb-radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1.5px solid var(--hb-border);
  color: var(--hb-text);
  background: var(--hb-bg-card);
  transition: background var(--hb-transition), border-color var(--hb-transition), color var(--hb-transition);
  text-decoration: none;
}

.hobin-pagination a:hover,
.navigation.pagination .page-numbers:hover,
.hobin-pagination .current,
.navigation.pagination .page-numbers.current {
  background: var(--hb-accent);
  border-color: var(--hb-accent);
  color: #fff;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--hb-bg-sub);
  border-top: 1px solid var(--hb-border);
  padding: 2.5rem 1.5rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--hb-text-muted);
  transition: background var(--hb-transition);
}

/* ============================================================
   UTILITY
   ============================================================ */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* ============================================================
   FRONT PAGE – FULL WIDTH OVERRIDE
   ============================================================ */

/* Arkheのコンテナ制限を解除（フロントページのみ） */
.home .l-content__body,
.front-page .l-content__body {
  max-width: none !important;
  padding: 0 !important;
  width: 100% !important;
}

/* ============================================================
   FRONT PAGE WRAPPER & INNER CONTAINER
   ============================================================ */
.hobin-fp {
  width: 100%;
  background: var(--hb-bg);
}

.hobin-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (max-width: 768px) {
  .hobin-inner { padding: 0 1rem; }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hobin-hero-wrap {
  padding: 1.5rem 0 0;
  background: var(--hb-bg);
}

.hobin-hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0.75rem;
  height: 520px;
}

@media (max-width: 900px) {
  .hobin-hero-grid {
    grid-template-columns: 1fr;
    height: auto;
  }
}

/* メインヒーロー */
.hobin-hero-main {
  position: relative;
  display: flex;
  align-items: flex-end;
  border-radius: var(--hb-radius-lg);
  overflow: hidden;
  background: #1a1a2e;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  transition: transform 0.4s ease;
}

.hobin-hero-main:hover { transform: scale(1.01); }

.hobin-hero-main--no-img {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f3460 100%);
}

.hobin-hero-main__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 55%, transparent 100%);
}

.hobin-hero-main__body {
  position: relative;
  z-index: 1;
  padding: 1.75rem 2rem;
  width: 100%;
}

.hobin-hero-main__title {
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.25;
  margin: 0.5rem 0 0.4rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hobin-hero-main__date {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
}

/* サブヒーロー（右カラム） */
.hobin-hero-sub {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
}

@media (max-width: 900px) {
  .hobin-hero-sub {
    flex-direction: row;
    height: 200px;
  }
}

@media (max-width: 600px) {
  .hobin-hero-sub {
    flex-direction: column;
    height: auto;
  }
}

.hobin-hero-sub__item {
  position: relative;
  display: flex;
  align-items: flex-end;
  flex: 1;
  border-radius: var(--hb-radius);
  overflow: hidden;
  background: #1e293b;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  min-height: 0;
  transition: transform 0.3s ease;
}

.hobin-hero-sub__item:hover { transform: scale(1.02); }

.hobin-hero-sub__item--no-img {
  background: linear-gradient(135deg, #1e2a40 0%, #253050 100%);
}

.hobin-hero-sub__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.80) 0%, transparent 65%);
}

.hobin-hero-sub__body {
  position: relative;
  z-index: 1;
  padding: 0.75rem 0.9rem;
  width: 100%;
}

.hobin-hero-sub__title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin: 0.3rem 0 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.hobin-hero-sub__date {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.03em;
}

/* ============================================================
   BADGE (カテゴリーバッジ)
   ============================================================ */
.hobin-badge {
  display: inline-block;
  background: var(--hb-accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.22em 0.7em;
  border-radius: 4px;
  line-height: 1.6;
  text-decoration: none;
}

.hobin-badge a { color: inherit; text-decoration: none; }

.hobin-badge--sm {
  font-size: 0.62rem;
  padding: 0.18em 0.55em;
}

.hobin-badge--ghost {
  background: transparent;
  border: 1px solid currentColor;
  color: var(--hb-text-muted);
}

/* ============================================================
   CATEGORY NAV RIBBON
   ============================================================ */
.hobin-cat-nav {
  position: sticky;
  top: 60px; /* ヘッダー高さに合わせて調整 */
  z-index: 900;
  background: var(--hb-bg);
  border-bottom: 1px solid var(--hb-border);
  padding: 0;
  margin-top: 1rem;
  transition: background var(--hb-transition), border-color var(--hb-transition);
}

.hobin-cat-nav__track {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  padding: 0.6rem 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.hobin-cat-nav__track::-webkit-scrollbar { display: none; }

.hobin-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  flex-shrink: 0;
  padding: 0.4em 1em;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--hb-text-sub);
  border: 1.5px solid transparent;
  background: var(--hb-bg-sub);
  text-decoration: none;
  transition: background var(--hb-transition), color var(--hb-transition), border-color var(--hb-transition);
  white-space: nowrap;
}

.hobin-cat-pill:hover {
  background: var(--hb-accent-light);
  color: var(--hb-accent);
  border-color: var(--hb-accent);
}

.hobin-cat-pill--active,
.hobin-cat-pill.is-active {
  background: var(--hb-accent);
  color: #fff !important;
  border-color: var(--hb-accent);
}

.hobin-cat-pill__count {
  font-size: 0.62rem;
  opacity: 0.65;
  font-weight: 500;
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
.hobin-section {
  padding: 3rem 0;
}

.hobin-section + .hobin-section {
  border-top: 1px solid var(--hb-border);
}

/* Section Header */
.hobin-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.hobin-sec-head__label {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  position: relative;
  padding-left: 0.9rem;
}

.hobin-sec-head__label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--hb-accent);
  border-radius: 2px;
}

.hobin-sec-head__en {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--hb-text);
  line-height: 1.1;
}

.hobin-sec-head__ja {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--hb-text-muted);
  letter-spacing: 0.08em;
}

.hobin-sec-head__more {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--hb-text-muted);
  border: 1.5px solid var(--hb-border);
  padding: 0.4em 1em;
  border-radius: 20px;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--hb-transition), border-color var(--hb-transition), background var(--hb-transition);
  flex-shrink: 0;
}

.hobin-sec-head__more:hover {
  color: var(--hb-accent);
  border-color: var(--hb-accent);
  background: var(--hb-accent-light);
}

.hobin-arrow {
  display: inline-block;
  transition: transform var(--hb-transition);
}

.hobin-sec-head__more:hover .hobin-arrow,
.hobin-banner:hover .hobin-arrow {
  transform: translateX(4px);
}

/* ============================================================
   CARD GRID (3-column)
   ============================================================ */
.hobin-grid--3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 960px) {
  .hobin-grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .hobin-grid--3 { grid-template-columns: 1fr; gap: 1rem; }
}

/* ============================================================
   CATEGORY SECTION LAYOUT
   (Big image left + 3 list items right)
   ============================================================ */
.hobin-cat-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

@media (max-width: 768px) {
  .hobin-cat-section-grid {
    grid-template-columns: 1fr;
  }
}

/* Category big post */
.hobin-cat-main {
  position: relative;
  display: flex;
  align-items: flex-end;
  border-radius: var(--hb-radius);
  overflow: hidden;
  background: #1a1a2e;
  background-size: cover;
  background-position: center;
  min-height: 320px;
  text-decoration: none;
  transition: transform 0.35s ease;
}

.hobin-cat-main:hover { transform: translateY(-4px); box-shadow: var(--hb-shadow-hover); }

.hobin-cat-main--no-img {
  background: linear-gradient(135deg, #1e2a40 0%, #253050 100%);
}

.hobin-cat-main__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, transparent 60%);
}

.hobin-cat-main__body {
  position: relative;
  z-index: 1;
  padding: 1.25rem 1.4rem;
  width: 100%;
}

.hobin-cat-main__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
  margin: 0.45rem 0 0.3rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hobin-cat-main__date {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
}

/* Category side list */
.hobin-cat-side {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hobin-cat-side__item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--hb-border);
  text-decoration: none;
  transition: background var(--hb-transition);
}

.hobin-cat-side__item:last-child { border-bottom: none; }

.hobin-cat-side__item:hover .hobin-cat-side__title {
  color: var(--hb-accent);
}

.hobin-cat-side__thumb {
  width: 88px;
  height: 62px;
  border-radius: var(--hb-radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--hb-bg-sub);
}

.hobin-cat-side__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.hobin-cat-side__item:hover .hobin-cat-side__thumb img {
  transform: scale(1.05);
}

.hobin-cat-side__thumb--placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--hb-bg-sub), var(--hb-border));
}

.hobin-cat-side__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.hobin-cat-side__title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--hb-text);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--hb-transition);
}

.hobin-cat-side__date {
  font-size: 0.68rem;
  color: var(--hb-text-muted);
  letter-spacing: 0.03em;
}

/* ============================================================
   FEATURE BANNERS (地図 & 用語集)
   ============================================================ */
.hobin-feature-banners {
  padding: 2.5rem 0 3.5rem;
  background: var(--hb-bg-sub);
  border-top: 1px solid var(--hb-border);
}

.hobin-banners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 640px) {
  .hobin-banners-grid { grid-template-columns: 1fr; }
}

.hobin-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--hb-bg-card);
  border: 1.5px solid var(--hb-border);
  border-radius: var(--hb-radius);
  text-decoration: none;
  box-shadow: var(--hb-shadow-sm);
  transition:
    border-color var(--hb-transition),
    box-shadow var(--hb-transition),
    transform var(--hb-transition);
}

.hobin-banner:hover {
  border-color: var(--hb-accent);
  box-shadow: var(--hb-shadow-card);
  transform: translateY(-2px);
}

.hobin-banner__icon {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1;
}

.hobin-banner__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hobin-banner__body strong {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--hb-text);
}

.hobin-banner__body span {
  font-size: 0.75rem;
  color: var(--hb-text-muted);
}

.hobin-banner__arrow {
  font-size: 1.1rem;
  color: var(--hb-text-muted);
  flex-shrink: 0;
}

/* ============================================================
   CARD STYLES (フロントページ用)
   ============================================================ */
.hobin-card {
  background: var(--hb-bg-card);
  border: 1px solid var(--hb-border);
  border-radius: var(--hb-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--hb-shadow-card);
  /* Scroll animation */
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    box-shadow var(--hb-transition),
    border-color var(--hb-transition);
}

.hobin-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hobin-card.is-visible:hover {
  transform: translateY(-5px);
  box-shadow: var(--hb-shadow-hover);
  border-color: transparent;
}

.hobin-card__thumb-link { display: block; }

.hobin-card__thumb {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--hb-bg-sub);
  flex-shrink: 0;
}

.hobin-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.hobin-card.is-visible:hover .hobin-card__thumb img { transform: scale(1.05); }

.hobin-card__thumb--placeholder {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--hb-bg-sub) 0%, var(--hb-border) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hobin-card__thumb--placeholder::after {
  content: 'HOBIN';
  font-weight: 900;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  color: var(--hb-border);
}

.hobin-card__body {
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.hobin-card__title {
  font-size: 0.93rem;
  font-weight: 700;
  line-height: 1.45;
  margin: 0;
  color: var(--hb-text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hobin-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--hb-transition);
}

.hobin-card__title a:hover { color: var(--hb-accent); }

.hobin-card__excerpt {
  font-size: 0.78rem;
  color: var(--hb-text-sub);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hobin-card__date {
  font-size: 0.7rem;
  color: var(--hb-text-muted);
  margin-top: auto;
  letter-spacing: 0.03em;
}

/* ============================================================
   STICKY HEADER SCROLLED STATE
   ============================================================ */
.site-header.is-scrolled,
#masthead.is-scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
}

/* Category nav スティッキー時のシャドウ */
.hobin-cat-nav.is-stuck {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* ============================================================
   DARK MODE – accent-light の変数追加
   ============================================================ */
:root {
  --hb-accent-light: rgba(232,56,45,0.10);
}

[data-theme="dark"] {
  --hb-accent-light: rgba(232,56,45,0.15);
}

/* ============================================================
   HEADER – DARK REDESIGN
   ============================================================ */

/* ── メインヘッダー背景 ── */
#header.l-header,
.l-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #0d1117 !important;
  border-bottom: none !important;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 4px 24px rgba(0,0,0,0.25) !important;
  transition: background 0.3s ease, box-shadow 0.3s ease !important;
}

/* ── アクセントライン（上端の赤ライン） ── */
#header.l-header::before,
.l-header::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #e8382d 0%, #ff6b35 50%, #e8382d 100%);
  background-size: 200% 100%;
  animation: hobin-stripe-shift 4s linear infinite;
  z-index: 2;
}

@keyframes hobin-stripe-shift {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ── ロゴ（テキスト） ── */
#header .c-headLogo,
#header .l-header__logo a,
#header .site-title a,
.l-header .c-headLogo,
.l-header .l-header__logo a {
  color: #ffffff !important;
  font-weight: 900 !important;
  font-size: 1.4rem !important;
  letter-spacing: -0.04em !important;
  text-decoration: none !important;
  text-shadow: 0 0 20px rgba(232,56,45,0.4);
  transition: text-shadow 0.25s ease !important;
}

#header .c-headLogo:hover,
.l-header .c-headLogo:hover {
  text-shadow: 0 0 30px rgba(232,56,45,0.7) !important;
}

/* ── グローバルナビ ── */
#header .c-gnav a,
#header .c-gnavWrap a,
.l-header .c-gnav a,
.l-header .c-gnavWrap a {
  color: rgba(255,255,255,0.8) !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  padding: 0.3em 0.6em !important;
  border-radius: 4px !important;
  transition: color 0.2s ease, background 0.2s ease !important;
}

#header .c-gnav a:hover,
.l-header .c-gnav a:hover {
  color: #ffffff !important;
  background: rgba(255,255,255,0.08) !important;
}

/* ── ハンバーガーメニューボタン（モバイル） ── */
#header .c-drawerBtn span,
.l-header .c-drawerBtn span {
  background: rgba(255,255,255,0.85) !important;
}

/* ── 検索ボタン ── */
#header .c-searchBtn,
.l-header .c-searchBtn,
#header .c-searchBtn svg,
.l-header .c-searchBtn svg {
  color: rgba(255,255,255,0.75) !important;
  fill: rgba(255,255,255,0.75) !important;
}

#header .c-searchBtn:hover,
.l-header .c-searchBtn:hover {
  color: #ffffff !important;
}

/* ── ヘッダーバー（上部の細いバー） ── */
.l-headerBar,
.l-headerBar__inner {
  background: #070b10 !important;
  color: rgba(255,255,255,0.6) !important;
  border-bottom: 1px solid rgba(255,255,255,0.05) !important;
  font-size: 0.72rem !important;
}

.l-headerBar a {
  color: rgba(255,255,255,0.6) !important;
}

/* ── ダークモード時: ヘッダーをより濃く ── */
[data-theme="dark"] #header.l-header,
[data-theme="dark"] .l-header {
  background: #060a0f !important;
}

/* ── スクロール時: ヘッダーを少し透明に ── */
#header.l-header.is-scrolled,
.l-header.is-scrolled {
  background: rgba(13,17,23,0.95) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

/* ── カテゴリーナビ sticky top 補正 ── */
.hobin-cat-nav {
  top: 56px !important; /* ヘッダーの実際の高さに合わせる */
}

/* ============================================================
   NEWS TICKER
   ============================================================ */
.hobin-ticker {
  background: var(--hb-accent);
  color: #fff;
  overflow: hidden;
  height: 38px;
  display: flex;
  align-items: center;
}

.hobin-ticker__label {
  flex-shrink: 0;
  background: rgba(0,0,0,0.25);
  padding: 0 1.1rem;
  height: 100%;
  display: flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  gap: 0.4em;
}

.hobin-ticker__track-wrap {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

.hobin-ticker__track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  will-change: transform;
  animation: hobin-ticker-scroll 30s linear infinite;
}

.hobin-ticker__track:hover {
  animation-play-state: paused;
}

@keyframes hobin-ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.hobin-ticker__item {
  display: inline-flex;
  align-items: center;
  padding: 0 2.5rem 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s;
}

.hobin-ticker__item:hover { opacity: 0.8; }

.hobin-ticker__item::before {
  content: '▶';
  font-size: 0.55rem;
  margin-right: 0.6rem;
  opacity: 0.7;
}

/* ============================================================
   PICK UP SECTION
   ============================================================ */
/* PICK UP: LIFESTYLEと同じストライプ背景で統一 */
.hobin-section--pickup {
  background: linear-gradient(180deg, var(--hb-bg-sub) 0%, var(--hb-bg) 100%);
}

.hobin-pickup-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

@media (max-width: 860px) {
  .hobin-pickup-grid { grid-template-columns: 1fr; }
}

/* Pick Up main feature */
.hobin-pickup-main {
  position: relative;
  display: flex;
  align-items: flex-end;
  border-radius: var(--hb-radius-lg);
  overflow: hidden;
  background: #111827;
  background-size: cover;
  background-position: center;
  min-height: 360px;
  text-decoration: none;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hobin-pickup-main:hover {
  transform: translateY(-4px);
  box-shadow: var(--hb-shadow-hover);
}

.hobin-pickup-main--no-img {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 60%, #0f172a 100%);
}

.hobin-pickup-main__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.05) 60%, transparent 100%);
}

.hobin-pickup-main__body {
  position: relative;
  z-index: 1;
  padding: 1.75rem 2rem;
  width: 100%;
}

.hobin-pickup-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  background: #fff;
  color: var(--hb-accent);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.25em 0.75em;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.hobin-pickup-label::before {
  content: '★';
  font-size: 0.6rem;
}

.hobin-pickup-main__title {
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.28;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hobin-pickup-main__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hobin-pickup-main__date {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
}

/* Pick Up sub grid (右2×2) */
.hobin-pickup-sub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 540px) {
  .hobin-pickup-sub { grid-template-columns: 1fr; }
}

.hobin-pickup-sub__item {
  position: relative;
  display: flex;
  align-items: flex-end;
  border-radius: var(--hb-radius);
  overflow: hidden;
  background: #1e293b;
  background-size: cover;
  background-position: center;
  min-height: 155px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.hobin-pickup-sub__item:hover { transform: scale(1.03); }

.hobin-pickup-sub__item--no-img {
  background: linear-gradient(135deg, #1e2a40 0%, #2d3f5f 100%);
}

.hobin-pickup-sub__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, transparent 65%);
}

.hobin-pickup-sub__body {
  position: relative;
  z-index: 1;
  padding: 0.65rem 0.75rem;
  width: 100%;
}

.hobin-pickup-sub__title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0.25rem 0 0;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* ============================================================
   RANKING SECTION
   ============================================================ */
.hobin-section--ranking {
  background: var(--hb-bg);
}

.hobin-ranking-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  counter-reset: ranking;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hobin-ranking-list > li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hobin-ranking-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--hb-border);
  text-decoration: none;
  counter-increment: ranking;
  transition: background var(--hb-transition);
}

.hobin-ranking-item:first-child { border-top: 1px solid var(--hb-border); }

.hobin-ranking-item:hover .hobin-ranking-item__title {
  color: var(--hb-accent);
}

.hobin-ranking-item__num {
  font-size: 1.4rem;
  font-weight: 900;
  font-style: italic;
  color: var(--hb-border);
  width: 2.2rem;
  flex-shrink: 0;
  text-align: center;
  letter-spacing: -0.04em;
  line-height: 1;
  content: counter(ranking);
  font-family: 'Georgia', serif;
}

/* Top 3 番号カラー */
.hobin-ranking-item:nth-child(1) .hobin-ranking-item__num { color: #f59e0b; }
.hobin-ranking-item:nth-child(2) .hobin-ranking-item__num { color: #94a3b8; }
.hobin-ranking-item:nth-child(3) .hobin-ranking-item__num { color: #cd7c4e; }

.hobin-ranking-item__thumb {
  width: 80px;
  height: 56px;
  border-radius: var(--hb-radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--hb-bg-sub);
}

.hobin-ranking-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.hobin-ranking-item:hover .hobin-ranking-item__thumb img {
  transform: scale(1.08);
}

.hobin-ranking-item__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hobin-ranking-item__title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--hb-text);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--hb-transition);
}

.hobin-ranking-item__date {
  font-size: 0.68rem;
  color: var(--hb-text-muted);
}

/* ランキング 2カラムレイアウト */
.hobin-ranking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 3rem;
}

@media (max-width: 768px) {
  .hobin-ranking-grid { grid-template-columns: 1fr; gap: 0; }
}

/* ============================================================
   CATEGORY COLOR SYSTEM
   ============================================================ */
.hobin-badge[data-color="0"] { background: #e8382d; }
.hobin-badge[data-color="1"] { background: #2563eb; }
.hobin-badge[data-color="2"] { background: #16a34a; }
.hobin-badge[data-color="3"] { background: #9333ea; }
.hobin-badge[data-color="4"] { background: #ea580c; }
.hobin-badge[data-color="5"] { background: #0891b2; }
.hobin-badge[data-color="6"] { background: #be185d; }
.hobin-badge[data-color="7"] { background: #65a30d; }

.hobin-cat-pill[data-color="0"]:hover,
.hobin-cat-pill[data-color="0"].is-active { background:#e8382d; border-color:#e8382d; color:#fff !important; }
.hobin-cat-pill[data-color="1"]:hover,
.hobin-cat-pill[data-color="1"].is-active { background:#2563eb; border-color:#2563eb; color:#fff !important; }
.hobin-cat-pill[data-color="2"]:hover,
.hobin-cat-pill[data-color="2"].is-active { background:#16a34a; border-color:#16a34a; color:#fff !important; }
.hobin-cat-pill[data-color="3"]:hover,
.hobin-cat-pill[data-color="3"].is-active { background:#9333ea; border-color:#9333ea; color:#fff !important; }
.hobin-cat-pill[data-color="4"]:hover,
.hobin-cat-pill[data-color="4"].is-active { background:#ea580c; border-color:#ea580c; color:#fff !important; }
.hobin-cat-pill[data-color="5"]:hover,
.hobin-cat-pill[data-color="5"].is-active { background:#0891b2; border-color:#0891b2; color:#fff !important; }

/* ============================================================
   SECTION BG STRIPE (装飾)
   ============================================================ */
.hobin-section--stripe {
  background: linear-gradient(180deg, var(--hb-bg-sub) 0%, var(--hb-bg) 100%);
}

/* ============================================================
   "NEW" / "HOT" POST BADGES
   ============================================================ */
.hobin-card {
  position: relative;
}

.hobin-card__new-badge {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 2;
  background: #e8382d;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.2em 0.55em;
  border-radius: 3px;
  line-height: 1.5;
}

/* ============================================================
   SECTION DIVIDER (波形装飾)
   ============================================================ */
.hobin-wave-divider {
  height: 40px;
  background: var(--hb-bg-sub);
  clip-path: ellipse(55% 100% at 50% 0%);
  margin-bottom: -1px;
}

/* ============================================================
   TAG CLOUD SECTION
   ============================================================ */
.hobin-tags-section {
  padding: 2rem 0;
  border-top: 1px solid var(--hb-border);
}

.hobin-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.hobin-tag-pill {
  display: inline-block;
  padding: 0.35em 0.85em;
  border: 1.5px solid var(--hb-border);
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--hb-text-sub);
  text-decoration: none;
  background: var(--hb-bg);
  transition: border-color var(--hb-transition), color var(--hb-transition), background var(--hb-transition);
}

.hobin-tag-pill:hover {
  border-color: var(--hb-accent);
  color: var(--hb-accent);
  background: var(--hb-accent-light);
}

.hobin-tag-pill--lg { font-size: 0.88rem; font-weight: 700; }
.hobin-tag-pill--sm { font-size: 0.68rem; }

/* ============================================================
   HEADER – 配色修正 (Arkhe CSS変数を上書き)
   ============================================================ */

/* Arkheのheader_bg CSS変数を上書き */
:root {
  --ark-color--header_bg:  #0d1117;
  --ark-color--header_txt: #ffffff;
}

/* ヘッダー本体 + 全子要素を透明に（ダーク背景を透過させる） */
#header.l-header,
.l-header,
#header .l-header__body,
#header .l-header__center,
#header .l-header__left,
#header .l-header__right,
#header .l-header__bar,
#header .l-header__barInner,
.l-header .l-header__body,
.l-header .l-header__center,
.l-header .l-header__left,
.l-header .l-header__right {
  background: transparent !important;
  color: #ffffff !important;
}

/* ヘッダー全体に濃紺背景を確実に適用 */
#header.l-header {
  background: #0d1117 !important;
}

/* ── .l-container の max-width が白く見せている場合の対策 ── */
#header .l-container,
.l-header .l-container {
  background: transparent !important;
}

/* ── ロゴ文字色 ── */
#header .l-header__logo,
#header .l-header__logo a,
#header .l-header__logo *,
.l-header .l-header__logo,
.l-header .l-header__logo a,
.l-header .l-header__logo * {
  color: #ffffff !important;
  background: transparent !important;
}

/* ── ナビゲーション文字色 ── */
#header .c-gnav,
#header .c-gnav li,
#header .c-gnav a,
#header .c-gnavWrap,
.l-header .c-gnav a,
.l-header .c-gnavWrap a {
  color: rgba(255,255,255,0.85) !important;
  background: transparent !important;
}

/* ── アイコンボタン（検索・ハンバーガー）── */
#header .c-iconBtn,
#header .c-iconBtn svg,
#header .l-header__searchBtn *,
#header .l-header__drawerBtn *,
.l-header .c-iconBtn svg {
  color: rgba(255,255,255,0.8) !important;
  fill: rgba(255,255,255,0.8) !important;
  background: transparent !important;
}

/* ── ハンバーガーバー ── */
#header .c-drawerBtn__bar,
#header [class*="drawerBtn"] span,
.l-header .c-drawerBtn__bar {
  background: rgba(255,255,255,0.85) !important;
}

/* ── スティッキー時 ── */
#header.l-header[data-pcfix="1"],
#header.l-header[data-spfix="1"] {
  background: rgba(13,17,23,0.96) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

/* ── ダークモード ── */
[data-theme="dark"] #header.l-header {
  background: #060a0f !important;
}

/* ── Arkhe変数をダークモードでも上書き ── */
[data-theme="dark"] {
  --ark-color--header_bg:  #060a0f;
  --ark-color--header_txt: #f0f0f0;
}

/* ============================================================
   REGION / AREA SEARCH – 都道府県から探す
   ============================================================ */
.hobin-section--region {
  background: var(--hb-bg-sub);
}

.hobin-region-table {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--hb-border);
  border-radius: var(--hb-radius);
  overflow: hidden;
  background: var(--hb-bg-card);
}

.hobin-region-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 1.25rem;
  border-bottom: 1px solid var(--hb-border);
}

.hobin-region-row:last-child {
  border-bottom: none;
}

.hobin-region-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--hb-text-sub);
  background: var(--hb-bg-sub);
  border: 1px solid var(--hb-border);
  padding: 0.3em 0.5em;
  border-radius: var(--hb-radius-sm);
  text-align: center;
  white-space: nowrap;
}

.hobin-region-prefs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.hobin-pref-pill {
  display: inline-block;
  padding: 0.26em 0.72em;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--hb-text);
  background: var(--hb-bg);
  border: 1.5px solid var(--hb-border);
  border-radius: 20px;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background var(--hb-transition),
    color var(--hb-transition),
    border-color var(--hb-transition),
    transform var(--hb-transition);
}

.hobin-pref-pill:hover {
  background: var(--hb-accent);
  color: #fff;
  border-color: var(--hb-accent);
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .hobin-region-row {
    grid-template-columns: 64px 1fr;
    gap: 0.5rem;
    padding: 0.55rem 0.9rem;
  }
  .hobin-region-label { font-size: 0.68rem; }
  .hobin-pref-pill    { font-size: 0.7rem; padding: 0.22em 0.6em; }
}

/* ============================================================
   EXPLORE GRID – コンテンツから探す
   ============================================================ */
.hobin-explore-sec {
  padding: 3rem 0;
  border-top: 1px solid var(--hb-border);
  background: var(--hb-bg-sub);
}

.hobin-explore-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.85rem;
}

@media (max-width: 1024px) {
  .hobin-explore-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .hobin-explore-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
}

.hobin-explore-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.75rem 0.75rem;
  border-radius: var(--hb-radius);
  text-decoration: none;
  text-align: center;
  min-height: 148px;
  position: relative;
  overflow: hidden;
  transition: transform var(--hb-transition), box-shadow var(--hb-transition);
  cursor: pointer;
}

.hobin-explore-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--hb-shadow-hover);
  text-decoration: none;
}

/* Map card */
.hobin-explore-card--map {
  background: linear-gradient(140deg, #0f3460 0%, #1a1a4e 100%);
}

/* Glossary card */
.hobin-explore-card--glossary {
  background: linear-gradient(140deg, #14532d 0%, #052e16 100%);
}

/* Category cards */
.hobin-explore-card--cat {
  background: linear-gradient(
    140deg,
    var(--explore-color, #1d4ed8),
    color-mix(in srgb, var(--explore-color, #1d4ed8) 40%, #000)
  );
}

.hobin-explore-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}

.hobin-explore-card__icon {
  font-size: 1.9rem;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}

.hobin-explore-card__title {
  font-size: 0.85rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.hobin-explore-card__desc {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.68);
  font-weight: 500;
}

/* Shimmer effect on hover */
.hobin-explore-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0) 40%,
    rgba(255,255,255,0.08) 50%,
    rgba(255,255,255,0) 60%
  );
  background-size: 200% 200%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hobin-explore-card:hover::before {
  opacity: 1;
}

/* ============================================================
   HERO EMPTY STATE（ピックアップ未設定時）
   ============================================================ */
.hobin-hero-empty {
  padding: 3rem 0;
  background: var(--hb-bg-sub);
  border-bottom: 1px solid var(--hb-border);
}

.hobin-hero-empty__msg {
  text-align: center;
  font-size: 0.9rem;
  color: var(--hb-text-muted);
  background: var(--hb-bg-card);
  border: 2px dashed var(--hb-border);
  border-radius: var(--hb-radius);
  padding: 2rem;
  margin: 0;
}

/* ============================================================
   MAP PAGE – 都道府県マップ固定ページ
   ============================================================ */

/* フルワイドオーバーライド（マップページ） */
.page-id-map .l-content__body,
.page-template-page-map .l-content__body,
body.page-map .l-content__body {
  max-width: none !important;
  padding: 0 !important;
  width: 100% !important;
}

.hobin-map-page {
  width: 100%;
  background: var(--hb-bg);
}

/* Hero */
.hobin-map-page__hero {
  background: linear-gradient(135deg, #0d1117 0%, #1a2744 100%);
  padding: 3rem 0 2.5rem;
  text-align: center;
}

.hobin-map-page__title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.hobin-map-page__title-icon {
  font-size: 1.8rem;
}

.hobin-map-page__lead {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  margin: 0;
  line-height: 1.7;
}

/* Body */
.hobin-map-page__body {
  padding: 3rem 0;
}

/* Map wrap – SVGを中央寄せ */
.hobin-map-page__map-wrap {
  max-width: 900px;
  margin: 0 auto 3rem;
  background: var(--hb-bg-card);
  border: 1px solid var(--hb-border);
  border-radius: var(--hb-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--hb-shadow-card);
}

/* Region nav title */
.hobin-map-page__region-nav {
  margin-top: 0.5rem;
}

.hobin-map-page__region-nav-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--hb-text);
  margin: 0 0 1rem;
  padding-left: 0.9rem;
  position: relative;
}

.hobin-map-page__region-nav-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--hb-accent);
  border-radius: 2px;
}

.hobin-map-page__region-table {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--hb-border);
  border-radius: var(--hb-radius);
  overflow: hidden;
  background: var(--hb-bg-card);
}

/* ── マップページ: Arkheが生成する全ての空きスペース・タイトル・パンくず を非表示 ──
   .hobin-page-map は functions.php の body_class フックで body 要素に付与 */

/* タイトルコンテナ・パンくず・ページヘッダーを丸ごと非表示 */
.hobin-page-map .l-pageHeader,
.hobin-page-map .c-pageHeader,
.hobin-page-map .l-breadcrumb,
.hobin-page-map .c-breadcrumb,
.hobin-page-map [class*="breadcrumb"],
.hobin-page-map [class*="pageHeader"],
.hobin-page-map [class*="pageTitle"],
.hobin-page-map .l-article__heading,
.hobin-page-map .entry-header,
.hobin-page-map .c-lead,
.hobin-page-map .l-article__lead,
.hobin-page-map .p-pageTitle,
.hobin-page-map .c-pageTitle,
.hobin-page-map .entry-title,
.hobin-page-map .l-article > header,
.hobin-page-map .l-article > .entry-header,
.page-template-page-map .l-pageHeader,
.page-template-page-map .c-pageHeader,
.page-template-page-map .l-breadcrumb,
.page-template-page-map .c-breadcrumb,
.page-template-page-map [class*="breadcrumb"],
.page-template-page-map .entry-header {
  display: none !important;
}

/* ── マップページ: 全コンテナの余白・パディングをゼロにリセット ── */
.hobin-page-map .l-main,
.hobin-page-map .l-content,
.hobin-page-map .l-content__body,
.hobin-page-map .l-article,
.hobin-page-map .l-article__body,
.hobin-page-map .l-article__inner,
.page-template-page-map .l-main,
.page-template-page-map .l-content,
.page-template-page-map .l-content__body,
.page-template-page-map .l-article,
.page-template-page-map .l-article__body {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  max-width: none !important;
}

/* ============================================================
   SUB-NAV BAR（ヘッダー直下カテゴリーナビ）
   親カテゴリー表示 + 子カテゴリー ドロップダウン
   ============================================================ */
.hobin-subnav {
  background: var(--hb-bg);
  border-bottom: 2px solid var(--hb-border);
  position: sticky;
  top: 56px;
  z-index: 990;
}

.hobin-subnav__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: stretch;
  gap: 0;
  white-space: nowrap;
}

/* ── アイテムラッパー ── */
.hobin-subnav__item {
  position: static;
  display: flex;
  align-items: stretch;
}

/* ── ナビリンク共通 ── */
.hobin-subnav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  padding: 0.65rem 0.9rem;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--hb-text-sub);
  text-decoration: none;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -2px;
  transition:
    color var(--hb-transition),
    border-color var(--hb-transition),
    background var(--hb-transition);
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  border-radius: var(--hb-radius-sm) var(--hb-radius-sm) 0 0;
}
.hobin-subnav__link:hover {
  color: var(--hb-accent);
  border-bottom-color: var(--hb-accent);
  background: color-mix(in srgb, var(--hb-accent) 6%, transparent);
}
.hobin-subnav__item--open > .hobin-subnav__link {
  color: var(--hb-accent);
  border-bottom-color: var(--hb-accent);
  background: color-mix(in srgb, var(--hb-accent) 8%, transparent);
}
.hobin-subnav__link--active {
  color: var(--hb-accent);
  border-bottom-color: var(--hb-accent);
}

/* ── ドロップダウン付きアイテムの視覚的ヒント ── */
.hobin-subnav__item--has-children > .hobin-subnav__link {
  padding-right: 0.6rem; /* シェブロン分 詰める */
}

/* ▾ シェブロン — CSS で描画（文字化け防止） */
.hobin-subnav__chevron {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--hb-transition);
  color: var(--hb-text-muted);
}
/* SVG 矢印を ::before で描く */
.hobin-subnav__chevron::before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: border-color var(--hb-transition);
}
.hobin-subnav__link:hover .hobin-subnav__chevron,
.hobin-subnav__item--open > .hobin-subnav__link .hobin-subnav__chevron {
  transform: rotate(180deg);
  color: var(--hb-accent);
}

/* ── ドロップダウンメニュー本体 ──
   JS により document.body に移動済み。position:fixed で
   backdrop-filter / overflow 祖先の影響を受けない。
   開閉は .hobin-subnav__item--open クラスを dropdown 自身に付与して制御。 */
.hobin-subnav__dropdown {
  position: fixed;
  top: 0;    /* JS で上書き */
  left: 0;   /* JS で上書き */
  min-width: 200px;
  background: var(--hb-bg-card);
  border: 1px solid var(--hb-border);
  border-top: 3px solid var(--hb-accent);
  border-radius: 0 0 var(--hb-radius) var(--hb-radius);
  box-shadow: 0 12px 32px rgba(0,0,0,0.14);
  list-style: none;
  margin: 0;
  padding: 0.4rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0s linear 0.18s;
  z-index: 9999;
  pointer-events: none;
}
/* dropdown 自身に --open クラスが付いたら表示（body 直下のため） */
.hobin-subnav__dropdown.hobin-subnav__item--open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0s linear 0s;
  pointer-events: auto;
}

/* ドロップダウン内リンク */
.hobin-subnav__dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.52rem 1.1rem;
  font-size: 0.8rem;
  color: var(--hb-text);
  text-decoration: none;
  transition: background var(--hb-transition), color var(--hb-transition);
  gap: 0.75rem;
}
.hobin-subnav__dropdown-link:hover {
  background: var(--hb-bg-sub);
  color: var(--hb-accent);
}
.hobin-subnav__dropdown-link--active {
  color: var(--hb-accent);
  font-weight: 700;
}
.hobin-subnav__dropdown-link--all {
  font-weight: 700;
  border-bottom: 1px solid var(--hb-border);
  padding-bottom: 0.6rem;
  margin-bottom: 0.2rem;
  color: var(--hb-accent);
}
.hobin-subnav__dropdown-count {
  font-size: 0.7rem;
  color: var(--hb-text-muted);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .hobin-subnav { top: 52px; }
  .hobin-subnav__inner { padding: 0 0.5rem; }
  .hobin-subnav__link { padding: 0.55rem 0.7rem; font-size: 0.78rem; }
}

/* ============================================================
   HEADER ENHANCED（Arkhe header 拡張スタイル）
   ============================================================ */
.p-header,
.c-header,
.l-header,
#masthead {
  height: auto !important;
  min-height: 56px;
}

/* ── サイト名（ロゴ）を中央揃えに ── */
/* Arkhe グリッドレイアウト: center カラムを flex で中央揃え */
.l-header__center {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

/* ロゴ要素（テキストロゴ or 画像ロゴ）を中央に */
.l-header__logo,
.c-headLogo,
.l-header__logo .site-title,
.l-header__logo .site-name,
.l-header__center .site-title,
.l-header__center .site-name {
  text-align: center !important;
  width: 100%;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

/* テキストロゴのリンクも中央に */
.c-headLogo a,
.l-header__logo a {
  display: flex !important;
  justify-content: center !important;
}

/* Arkhe ヘッダー内メニュー項目 */
.p-header__nav a,
.c-header__nav a,
.l-header__nav a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--hb-text);
  transition: color var(--hb-transition);
}
.p-header__nav a:hover,
.c-header__nav a:hover { color: var(--hb-accent); }

/* ============================================================
   BODY WRAP – 2 カラムレイアウト（メイン + サイドバー）
   ============================================================ */
.hobin-body-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2.5rem;
  align-items: start;
}

/* カラム内の .hobin-inner を無効化（max-width / padding を解除） */
.hobin-body-wrap .hobin-inner,
.hobin-col-inner,
.hobin-main-col .hobin-inner {
  max-width: none !important;
  padding: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* col-inner はセクション内部で padding/margin の代わりに使う */
.hobin-col-inner {
  padding: 0;
  margin: 0;
}

/* メインカラム: セクションの余白を調整 */
.hobin-main-col > .hobin-section {
  padding: 2.25rem 0;
}
/* PICKUPの上端をサイドバーのpadding-top(0.75rem)に合わせて揃える */
.hobin-main-col > .hobin-section--pickup {
  margin-top: 0.75rem;
}

/* ============================================================
   RIGHT SIDEBAR – サイドバー共通
   ============================================================ */
.hobin-sidebar {
  position: sticky;
  top: 108px; /* header(56px) + subnav(~42px) + gap */
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--hb-border) transparent;
  padding-top: 0.75rem;
}
.hobin-sidebar::-webkit-scrollbar { width: 4px; }
.hobin-sidebar::-webkit-scrollbar-thumb { background: var(--hb-border); border-radius: 2px; }

/* サイドバー ウィジェット共通 */
.hobin-sw {
  background: var(--hb-bg-card);
  border: 1px solid var(--hb-border);
  border-radius: var(--hb-radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.hobin-sw:last-child { margin-bottom: 0; }

.hobin-sw__head {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.9rem 1.1rem 0.7rem;
  border-bottom: 2px solid var(--hb-accent);
  background: var(--hb-bg-sub);
}
.hobin-sw__en {
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--hb-accent);
  text-transform: uppercase;
}
.hobin-sw__ja {
  font-size: 0.72rem;
  color: var(--hb-text-muted);
  font-weight: 500;
}

/* ============================================================
   SIDEBAR RANKING LIST
   ============================================================ */
.hobin-sidebar-ranking {
  list-style: none;
  margin: 0;
  padding: 0.4rem 0;
}

.hobin-sidebar-ranking__item {
  border-bottom: 1px solid var(--hb-border);
}
.hobin-sidebar-ranking__item:last-child { border-bottom: none; }

.hobin-sidebar-ranking__link {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.7rem 1rem;
  text-decoration: none;
  transition: background var(--hb-transition);
}
.hobin-sidebar-ranking__link:hover {
  background: var(--hb-bg-sub);
}

.hobin-sidebar-ranking__num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 900;
  background: var(--hb-bg-badge);
  color: var(--hb-text-muted);
  margin-top: 2px;
}
.hobin-sidebar-ranking__num--top {
  /* background / color set inline */
}

.hobin-sidebar-ranking__info {
  flex: 1;
  min-width: 0;
}

.hobin-sidebar-ranking__thumb {
  width: 56px;
  height: 42px;
  border-radius: 6px;
  overflow: hidden;
  float: right;
  margin-left: 0.5rem;
  flex-shrink: 0;
}
.hobin-sidebar-ranking__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hobin-sidebar-ranking__title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--hb-text);
  line-height: 1.45;
  margin: 0 0 0.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hobin-sidebar-ranking__date {
  font-size: 0.68rem;
  color: var(--hb-text-muted);
}

/* ============================================================
   SIDEBAR EXPLORE LIST
   ============================================================ */
.hobin-sw-explore-list {
  padding: 0.4rem 0;
}

.hobin-sw-explore-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  text-decoration: none;
  border-bottom: 1px solid var(--hb-border);
  transition: background var(--hb-transition);
  color: var(--hb-text);
}
.hobin-sw-explore-item:last-child { border-bottom: none; }
.hobin-sw-explore-item:hover { background: var(--hb-bg-sub); }

.hobin-sw-explore-item__icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--explore-accent, #e8382d);
}
.hobin-sw-explore-item__icon svg {
  width: 38px;
  height: 38px;
  display: block;
}

.hobin-sw-explore-item__text {
  flex: 1;
  min-width: 0;
}
.hobin-sw-explore-item__text strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--hb-text);
  margin-bottom: 0.1rem;
}
.hobin-sw-explore-item__text span {
  font-size: 0.7rem;
  color: var(--hb-text-muted);
}

.hobin-sw-explore-item__arrow {
  font-size: 0.8rem;
  color: var(--hb-accent);
  flex-shrink: 0;
}

.hobin-sw-explore-item--map .hobin-sw-explore-item__text strong { color: #1d4ed8; }
.hobin-sw-explore-item--glossary .hobin-sw-explore-item__text strong { color: #059669; }

/* ============================================================
   RESPONSIVE – BODY WRAP
   ============================================================ */
@media (max-width: 1024px) {
  .hobin-body-wrap {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .hobin-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
  }
  .hobin-sw { margin-bottom: 0; }
  .hobin-sw--explore { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .hobin-body-wrap { padding: 0 1rem 2rem; }
  .hobin-sidebar { grid-template-columns: 1fr; }
  .hobin-sw--explore { grid-column: auto; }
}

/* ============================================================
   SIDEBAR TAGS CLOUD – サイドバー内のタグクラウド調整
   ============================================================ */
.hobin-sw--tags .hobin-tags-cloud {
  padding: 0.9rem 1rem 1rem;
  margin-top: 0;
}

/* ============================================================
   HEADER LOGO AREA POLISH（Gizmodo風：大きく中央に）
   ============================================================ */
/* サイト名フォントを強調 */
.site-title,
.site-title a,
.p-header__site-name,
.c-header__site-name {
  font-size: 1.75rem !important;
  font-weight: 900 !important;
  letter-spacing: -0.06em !important;
  color: var(--hb-text) !important;
  text-transform: uppercase;
}

/* ヘッダー内レイアウト改善 */
.p-header__inner,
.c-header__inner,
.l-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  min-height: 56px;
}

/* Arkheが生成するヘッダーナビ（primary menu が割り当てられた場合） */
.p-header__nav ul,
.c-header__nav ul,
.main-navigation ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.25rem;
}

.p-header__nav > ul > li > a,
.c-header__nav > ul > li > a,
.main-navigation > ul > li > a {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.85rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--hb-text);
  text-decoration: none;
  border-radius: var(--hb-radius-sm);
  transition: color var(--hb-transition), background var(--hb-transition);
}
.p-header__nav > ul > li > a:hover,
.main-navigation > ul > li > a:hover {
  color: var(--hb-accent);
  background: var(--hb-accent-light);
}

/* front-page の l-content__body は line 834 で定義済み */

/* ============================================================
   SECTION STRIPE（body-wrap内での交互背景調整）
   ============================================================ */
.hobin-main-col .hobin-section--stripe,
.hobin-main-col .hobin-section--pickup {
  background: var(--hb-bg-sub);
  border-radius: var(--hb-radius);
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ============================================================
   DARK MODE – サイドバー・サブナビ
   ============================================================ */
[data-theme="dark"] .hobin-subnav {
  background: var(--hb-bg);
  border-bottom-color: var(--hb-border);
}
[data-theme="dark"] .hobin-sw {
  background: var(--hb-bg-card);
  border-color: var(--hb-border);
}
[data-theme="dark"] .hobin-sw__head {
  background: var(--hb-bg-sub);
}
[data-theme="dark"] .hobin-sidebar-ranking__link:hover,
[data-theme="dark"] .hobin-sw-explore-item:hover {
  background: var(--hb-bg-sub);
}

/* ============================================================
   HERO SLIDER（Swiper ベース）
   ============================================================ */

.hobin-slider-wrap {
  width: 100%;
  overflow: hidden;
  margin-bottom: 2.5rem; /* PICK UP との間隔 */
}

.hobin-hero-swiper {
  width: 100%;
  height: 540px;
}

/* ── 各スライド ── */
.hobin-slide {
  display: block;
  width: 100%;
  height: 100%;
  background-color: #111;
  background-size: cover;
  background-position: center;
  position: relative;
  text-decoration: none;
  overflow: hidden;
}
.hobin-slide--no-img {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

/* グラデーションオーバーレイ */
.hobin-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.48) 50%,
    rgba(0,0,0,0.10) 100%
  );
  z-index: 1;
}

/* テキストボディ */
.hobin-slide__body {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 0;
  right: 38%;
  padding: 3rem 2.5rem 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hobin-slide__subtitle {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.80);
  letter-spacing: 0.06em;
  margin: 0;
  line-height: 1.4;
}

.hobin-slide__title {
  font-size: clamp(1.35rem, 2.6vw, 2.15rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.25;
  margin: 0;
  text-shadow: 0 2px 14px rgba(0,0,0,0.5);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hobin-slide__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-top: 0.4rem;
  padding: 0.6em 1.4em;
  background: var(--hb-accent);
  color: #fff !important;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 100px;
  width: fit-content;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 18px rgba(232,56,45,0.4);
  text-decoration: none;
}
.hobin-slide:hover .hobin-slide__btn {
  background: var(--hb-accent-dark);
  transform: translateX(4px);
  box-shadow: 0 6px 24px rgba(232,56,45,0.5);
}

/* ── カスタム矢印ボタン ── */
.hobin-swiper-prev,
.hobin-swiper-next {
  width: 46px !important;
  height: 46px !important;
  background: rgba(255,255,255,0.18) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50% !important;
  border: 1.5px solid rgba(255,255,255,0.35) !important;
  color: #fff !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, transform 0.18s ease !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}
.hobin-swiper-prev { left: 18px !important; }
.hobin-swiper-next { right: 18px !important; }
.hobin-swiper-prev:hover {
  background: rgba(255,255,255,0.32) !important;
  transform: translateY(-50%) scale(1.06) !important;
}
.hobin-swiper-next:hover {
  background: rgba(255,255,255,0.32) !important;
  transform: translateY(-50%) scale(1.06) !important;
}
.hobin-swiper-prev::after,
.hobin-swiper-next::after { display: none !important; }

/* ── ページネーション（長方形バー） ── */
.hobin-swiper-pagination {
  bottom: 18px !important;
}
.hobin-swiper-pagination .swiper-pagination-bullet {
  width: 8px !important;
  height: 8px !important;
  background: rgba(255,255,255,0.55) !important;
  opacity: 1 !important;
  border-radius: 4px !important;
  transition: width 0.25s ease, background 0.25s ease !important;
}
.hobin-swiper-pagination .swiper-pagination-bullet-active {
  width: 28px !important;
  background: #fff !important;
}

/* ── 空スライド用メッセージ ── */
.hobin-hero-empty {
  padding: 2.5rem 0;
  margin-bottom: 2.5rem;
}

/* ── body-wrap top padding 調整 ── */
.hobin-body-wrap { padding-top: 0; }

/* ── レスポンシブ ── */
@media (max-width: 1024px) {
  .hobin-hero-swiper { height: 460px; }
}
@media (max-width: 768px) {
  .hobin-hero-swiper { height: 340px; }
  .hobin-slide__body { right: 0; padding: 1.25rem 1.25rem 2.5rem; }
  .hobin-slide__title { font-size: 1.2rem; }
  .hobin-swiper-prev { left: 8px !important; }
  .hobin-swiper-next { right: 8px !important; }
}
@media (max-width: 480px) {
  .hobin-hero-swiper { height: 240px; }
  .hobin-slide__subtitle { font-size: 0.75rem; }
  .hobin-slide__btn { font-size: 0.78rem; padding: 0.5em 1.1em; }
  .hobin-slider-wrap { margin-bottom: 1.75rem; }
}

/* ============================================================
   CATEGORY SECTION – 子カテゴリータブ
   ============================================================ */

/* sec-head に子タブがある場合のレイアウト調整 */
.hobin-sec-head--with-children {
  flex-wrap: wrap;
  gap: 0.5rem 0;
}
.hobin-sec-head--with-children .hobin-sec-head__left {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
}

/* 子カテゴリータブ群 */
.hobin-child-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

/* 各子カテゴリーピル */
.hobin-child-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2em 0.75em;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  border: 1.5px solid var(--pill-color, #e8382d);
  color: var(--pill-color, #e8382d);
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.hobin-child-pill:hover {
  background: var(--pill-color, #e8382d);
  color: #fff;
}

/* sec-head__label の EN テキストを固定色ではなく dynamic color に */
.hobin-sec-head__en {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
}

@media (max-width: 600px) {
  .hobin-sec-head--with-children {
    flex-direction: column;
  }
  .hobin-sec-head--with-children .hobin-sec-head__more {
    align-self: flex-start;
  }
}

/* ============================================================
   HOBIN FOOTER – メディアサイト用カスタムフッター
   ============================================================ */

/* ── Arkhe デフォルトフッターを完全非表示 ── */
.l-footer { display: none !important; }

/* ── フッター全体 ── */
.hobin-footer {
  background: #0d1117;
  color: #a0aec0;
  font-size: 0.84rem;
  line-height: 1.7;
  border-top: 3px solid var(--hb-accent, #e8382d);
}

[data-theme="dark"] .hobin-footer {
  background: #060a0f;
  border-top-color: var(--hb-accent, #e8382d);
}

/* ── 共通インナー ── */
.hobin-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── 上段エリア ── */
.hobin-footer__top {
  padding: 3.5rem 0 3rem;
}
.hobin-footer__top .hobin-footer__inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

/* ── ブランドカラム ── */
.hobin-footer__logo {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #fff;
  text-decoration: none;
  margin-bottom: 0.75rem;
  line-height: 1;
}
.hobin-footer__logo:hover { color: var(--hb-accent, #e8382d); }

.hobin-footer__tagline {
  font-size: 0.78rem;
  color: #718096;
  margin: 0 0 1.25rem;
  line-height: 1.6;
}

/* ── SNS アイコン ── */
.hobin-footer__sns {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.5rem;
}
.hobin-footer__sns-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #a0aec0;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.hobin-footer__sns-btn:hover {
  background: var(--hb-accent, #e8382d);
  color: #fff;
  transform: translateY(-2px);
}

/* ── カラムタイトル ── */
.hobin-footer__col-title {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* ── リンクリスト ── */
.hobin-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.hobin-footer__links a {
  color: #718096;
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.15s ease, padding-left 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
}
.hobin-footer__links a::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--hb-accent, #e8382d);
  opacity: 0;
  transition: opacity 0.15s ease;
  flex-shrink: 0;
}
.hobin-footer__links a:hover {
  color: #fff;
  padding-left: 0.4em;
}
.hobin-footer__links a:hover::before {
  opacity: 1;
}

/* ── 下段コピーライトバー ── */
.hobin-footer__bottom {
  background: rgba(0,0,0,0.35);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.1rem 0;
}
.hobin-footer__bottom .hobin-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.hobin-footer__copy {
  font-size: 0.74rem;
  color: #4a5568;
  margin: 0;
  letter-spacing: 0.02em;
}
.hobin-footer__legal-nav {
  display: flex;
  gap: 1.25rem;
}
.hobin-footer__legal-nav a {
  font-size: 0.74rem;
  color: #4a5568;
  text-decoration: none;
  transition: color 0.15s ease;
}
.hobin-footer__legal-nav a:hover { color: #a0aec0; }

/* ── レスポンシブ ── */
@media (max-width: 900px) {
  .hobin-footer__top .hobin-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .hobin-footer__col--brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 560px) {
  .hobin-footer__top .hobin-footer__inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .hobin-footer__bottom .hobin-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* ============================================================
   LATEST NEWS – 最新記事フィーチャーセクション（全幅）
   ============================================================ */
.hobin-latest {
  background: var(--hb-bg);
  border-bottom: 1px solid var(--hb-border);
  padding: 2rem 0 2.5rem;
}
.hobin-latest__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── セクションヘッダー ── */
.hobin-latest__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  margin-bottom: 1.25rem;
  border-bottom: 2px solid var(--hb-accent);
}
.hobin-latest__head-label {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.hobin-latest__head-en {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--hb-accent);
  letter-spacing: 0.1em;
}
.hobin-latest__head-ja {
  font-size: 0.78rem;
  color: var(--hb-text-muted);
  font-weight: 500;
}

/* ── 2カラムメイングリッド（左：大フィーチャー＋サムネイル / 右：タイトルリスト） ── */
.hobin-latest__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

/* ── 左カラム（大フィーチャー上段 ＋ サムネイルカード下段） ── */
.hobin-latest__left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 0;
}

/* ── 大フィーチャー（左上・高さ自動拡張） ── */
.hobin-latest__feature {
  display: block;
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: var(--hb-bg-card);
  border-radius: var(--hb-radius);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.hobin-latest__feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}
.hobin-latest__feature--main {
  flex: 1;
  min-height: 240px;
}
.hobin-latest__feature--no-img { background: var(--hb-bg-card); }

.hobin-latest__feature-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.80) 0%, rgba(0,0,0,0.05) 65%);
  pointer-events: none;
}
.hobin-latest__feature-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.1rem 1.25rem 1.25rem;
  z-index: 2;
}
.hobin-latest__feature-title {
  color: #fff;
  font-size: clamp(0.9rem, 1.4vw, 1.2rem);
  font-weight: 800;
  line-height: 1.45;
  margin: 0.4rem 0 0.3rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.hobin-latest__feature-date {
  font-size: 0.71rem;
  color: rgba(255,255,255,0.65);
}

/* ── サムネイルカード2枚グリッド（左下・横並び均等） ── */
.hobin-latest__thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.hobin-latest__card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: var(--hb-radius);
  overflow: hidden;
  background: var(--hb-bg-card);
  border: 1px solid var(--hb-border);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.hobin-latest__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.hobin-latest__card-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--hb-bg-sub);
  flex-shrink: 0;
}
.hobin-latest__card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.hobin-latest__card:hover .hobin-latest__card-thumb img {
  transform: scale(1.05);
}
.hobin-latest__card-nothumb {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--hb-bg-sub) 0%, var(--hb-border) 100%);
}
.hobin-latest__card-body {
  padding: 0.65rem 0.8rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
}
.hobin-latest__card-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--hb-text);
  line-height: 1.5;
  margin: 0.2rem 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hobin-latest__card-date {
  font-size: 0.69rem;
  color: var(--hb-text-muted);
  margin-top: auto;
}

/* ============================================================
   LATEST – タイトルリストエリア（右カラム・全高）
   ============================================================ */
.hobin-latest__title-list {
  display: flex;
  flex-direction: column;
  background: var(--hb-bg-card);
  border: 1px solid var(--hb-border);
  border-radius: var(--hb-radius);
  overflow: hidden;
}
.hobin-latest__title-list__head {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hb-text-muted);
  padding: 0.65rem 0.9rem 0.55rem;
  border-bottom: 1px solid var(--hb-border);
  margin: 0;
}
.hobin-latest__title-item {
  display: flex;
  align-items: flex-start;
  padding: 0.65rem 0.9rem;
  text-decoration: none;
  border-bottom: 1px solid var(--hb-border);
  transition: background 0.15s ease;
  flex: 1;
}
.hobin-latest__title-item:last-child { border-bottom: none; }
.hobin-latest__title-item:hover { background: var(--hb-bg-sub); }

.hobin-latest__title-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  width: 100%;
}
.hobin-latest__title-cat {
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
}
.hobin-latest__title-text {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--hb-text);
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hobin-latest__title-date {
  font-size: 0.65rem;
  color: var(--hb-text-muted);
}

/* ── レスポンシブ ── */
@media (max-width: 860px) {
  .hobin-latest__grid {
    grid-template-columns: 1fr; /* 縦積み */
  }
}
@media (max-width: 480px) {
  .hobin-latest__thumbs {
    grid-template-columns: 1fr; /* サムネイルも縦積み */
  }
}


/* ============================================================
   占いページ全体 – Arkheデフォルト要素のリセット（正確なセレクター版）
   ============================================================ */

/* ① ページ全体の背景を星空テーマに統一 */
.hobin-uranai-fullpage,
.hobin-uranai-fullpage #wrapper,
.hobin-uranai-fullpage #content,
.hobin-uranai-fullpage .l-wrapper,
.hobin-uranai-fullpage .l-content,
.hobin-uranai-fullpage .l-content__body {
  background: #0a0818 !important;
}

/* ② グレー帯タイトルエリア・パンくずを非表示（PHPフィルターのフォールバック） */
.hobin-uranai-fullpage #top_title_area,
.hobin-uranai-fullpage .l-content__top,
.hobin-uranai-fullpage .p-topArea,
.hobin-uranai-fullpage #breadcrumb,
.hobin-uranai-fullpage .p-breadcrumb {
  display: none !important;
}

/* ③ .l-content__body の幅制約を解除（白い左右余白を除去） */
.hobin-uranai-fullpage .l-content__body,
.hobin-uranai-fullpage .l-content__body.l-container {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* ④ フッター上のパディングをリセット */
.hobin-uranai-fullpage .l-footer,
.hobin-uranai-fullpage footer {
  background: #0a0818 !important;
  border-top: 1px solid rgba(255,255,255,0.08) !important;
}

/* ============================================================
   今週の占い – サイドバーウィジェット
   ============================================================ */
.hobin-uranai-sw {
  position: relative;
  background: linear-gradient(155deg, #0f0c2e 0%, #1a1040 50%, #0d1a3a 100%);
  border-radius: var(--hb-radius);
  overflow: hidden;
  padding: 0;
  border: none;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.06);
}

/* 背景の星 */
.hobin-uranai-sw__bg-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hobin-uranai-sw__bg-stars span {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #fff;
  animation: hobin-twinkle 3s ease-in-out infinite;
}
.hobin-uranai-sw__bg-stars span:nth-child(1) { top: 12%; left: 8%;  animation-delay: 0s;   opacity: .6; }
.hobin-uranai-sw__bg-stars span:nth-child(2) { top: 22%; left: 88%; animation-delay: .8s;  opacity: .4; width:3px; height:3px; }
.hobin-uranai-sw__bg-stars span:nth-child(3) { top: 60%; left: 15%; animation-delay: 1.5s; opacity: .5; }
.hobin-uranai-sw__bg-stars span:nth-child(4) { top: 75%; left: 72%; animation-delay: 2.1s; opacity: .7; width:3px; height:3px; }
.hobin-uranai-sw__bg-stars span:nth-child(5) { top: 40%; left: 52%; animation-delay: .3s;  opacity: .3; }
@keyframes hobin-twinkle {
  0%, 100% { opacity: .15; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.4); }
}

/* ヘッダー */
.hobin-uranai-sw__head {
  padding: 1rem 1rem 0.6rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 1;
}
.hobin-uranai-sw__head-label {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.hobin-uranai-sw__en {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: .12em;
  background: linear-gradient(90deg, #f5d76e, #e8a838);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hobin-uranai-sw__ja {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
}
.hobin-uranai-sw__week {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: .04em;
}

/* TOP3リスト */
.hobin-uranai-sw__ranking {
  padding: 0.6rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  position: relative;
  z-index: 1;
}
.hobin-uranai-sw__item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
  transition: background 0.15s ease;
}
.hobin-uranai-sw__item--1 {
  background: rgba(245,215,110,0.12);
  border-color: rgba(245,215,110,0.25);
}
.hobin-uranai-sw__item:hover {
  background: rgba(255,255,255,0.1);
}
.hobin-uranai-sw__medal {
  font-size: 1.1rem;
  flex-shrink: 0;
  width: 1.5rem;
  text-align: center;
}
.hobin-uranai-sw__emoji {
  font-size: 1.4rem;
  flex-shrink: 0;
}
.hobin-uranai-sw__info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}
.hobin-uranai-sw__zodiac {
  font-size: 0.88rem;
  font-weight: 700;
  color: #f0ecff;
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}
.hobin-uranai-sw__zodiac small {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  font-weight: 400;
}
.hobin-uranai-sw__lucky {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.45);
}
.hobin-uranai-sw__lucky-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  opacity: .85;
}

/* もっと見るボタン */
.hobin-uranai-sw__more {
  display: block;
  text-align: center;
  padding: 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .1em;
  background: linear-gradient(90deg, rgba(245,215,110,0.15), rgba(232,168,56,0.15));
  color: #f5d76e;
  text-decoration: none;
  border-top: 1px solid rgba(245,215,110,0.15);
  transition: background 0.2s ease, color 0.2s ease;
  position: relative;
  z-index: 1;
}
.hobin-uranai-sw__more:hover {
  background: linear-gradient(90deg, rgba(245,215,110,0.25), rgba(232,168,56,0.25));
  color: #ffe680;
}


/* ============================================================
   今週の占い – 固定ページ（page-uranai.php）
   ============================================================ */

/* ページ全体の変数 */
.hobin-uranai-page {
  --up-bg:        #0a0818;
  --up-bg-card:   #130f2e;
  --up-bg-card2:  #1c1640;
  --up-accent:    #f5d76e;
  --up-accent2:   #e8a838;
  --up-text:      #f0ecff;
  --up-text-sub:  rgba(240,236,255,0.65);
  --up-text-muted:rgba(240,236,255,0.35);
  --up-border:    rgba(255,255,255,0.08);
  --up-border2:   rgba(245,215,110,0.18);
  background: var(--up-bg);
  min-height: 100vh;
  color: var(--up-text);
}

/* Arkheのデフォルトコンテンツ幅制限を解除 */
.hobin-uranai-page .l-main,
.hobin-uranai-page .l-wrap,
.hobin-uranai-page .l-inner {
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ── HERO ── */
.hobin-uranai-hero {
  position: relative;
  background: linear-gradient(160deg, #090617 0%, #1a0f3d 45%, #0d1a3a 100%);
  padding: 5rem 1.5rem 6rem;
  text-align: center;
  overflow: hidden;
}
.hobin-uranai-hero__stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hobin-uranai-star {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  animation: hobin-twinkle 4s ease-in-out infinite;
}
.hobin-uranai-hero__moon {
  position: absolute;
  top: 1.5rem;
  right: 8%;
  font-size: 4rem;
  opacity: .18;
  animation: hobin-float 8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes hobin-float {
  0%,100% { transform: translateY(0) rotate(-8deg); }
  50%     { transform: translateY(-14px) rotate(4deg); }
}
.hobin-uranai-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}
.hobin-uranai-hero__kana {
  font-size: .72rem;
  letter-spacing: .4em;
  color: var(--up-text-muted);
  margin: 0 0 .6rem;
}
.hobin-uranai-hero__title {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  margin: 0 0 1.2rem;
}
.hobin-uranai-hero__title-en {
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  font-weight: 900;
  letter-spacing: .18em;
  background: linear-gradient(90deg, #f5d76e 0%, #fff8e0 50%, #e8a838 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.hobin-uranai-hero__title-ja {
  font-size: clamp(1rem, 3vw, 1.4rem);
  font-weight: 700;
  color: var(--up-text-sub);
  letter-spacing: .3em;
}
.hobin-uranai-hero__week-badge {
  display: inline-block;
  padding: .35rem 1.2rem;
  border: 1px solid var(--up-border2);
  border-radius: 999px;
  font-size: .8rem;
  color: var(--up-accent);
  letter-spacing: .1em;
  margin-bottom: 1rem;
}
.hobin-uranai-hero__desc {
  font-size: .88rem;
  color: var(--up-text-sub);
  line-height: 1.8;
  margin: 0;
}
.hobin-uranai-hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
}
.hobin-uranai-hero__wave svg { width: 100%; height: 100%; display: block; }

/* ── ボディ ── */
.hobin-uranai-body {
  background: var(--up-bg);
  padding: 2.5rem 0 4rem;
}
.hobin-uranai-body__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── セクションタイトル ── */
.hobin-uranai-sec-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .2em;
  color: var(--up-accent);
  text-align: center;
  margin: 0 0 2rem;
}
.hobin-uranai-sec-title__deco {
  font-size: .75rem;
  opacity: .6;
}

/* ── TOP3 表彰台スタイル ── */
.hobin-uranai-top3 {
  margin-bottom: 3.5rem;
}
.hobin-uranai-top3__grid {
  display: grid;
  grid-template-columns: 1fr 1.12fr 1fr;
  gap: 1rem;
  align-items: end;
}
.hobin-uranai-top3__card {
  background: var(--up-bg-card);
  border: 1px solid var(--up-border);
  border-radius: 16px;
  padding: 1.5rem 1.2rem 1.2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.hobin-uranai-top3__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.hobin-uranai-top3__card--gold {
  border-color: rgba(245,215,110,.3);
  background: linear-gradient(180deg, rgba(245,215,110,.08) 0%, var(--up-bg-card) 60%);
}
.hobin-uranai-top3__card--gold::before { background: linear-gradient(90deg,#f5d76e,#e8a838); }
.hobin-uranai-top3__card--silver::before { background: linear-gradient(90deg,#c0c8d8,#9aa3b0); }
.hobin-uranai-top3__card--bronze::before { background: linear-gradient(90deg,#cd7f32,#a05a2c); }
.hobin-uranai-top3__card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.4); }

.hobin-uranai-top3__rank-badge {
  position: absolute;
  top: .7rem;
  right: .8rem;
  font-size: .68rem;
  color: var(--up-text-muted);
  display: flex;
  align-items: center;
  gap: .2rem;
}
.hobin-uranai-crown { font-size: 1rem; }
.hobin-uranai-top3__emoji { font-size: 3rem; display: block; margin-bottom: .4rem; }
.hobin-uranai-top3__zodiac { display: flex; flex-direction: column; gap: .1rem; margin-bottom: .8rem; }
.hobin-uranai-top3__kanji { font-size: 1.6rem; font-weight: 900; color: var(--up-accent); line-height: 1; }
.hobin-uranai-top3__name { font-size: .78rem; color: var(--up-text-sub); }
.hobin-uranai-top3__score-wrap {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .9rem;
}
.hobin-uranai-top3__score-bar {
  flex: 1;
  height: 5px;
  border-radius: 3px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}
.hobin-uranai-top3__score-fill {
  height: 100%;
  border-radius: 3px;
  transition: width .6s ease;
}
.hobin-uranai-top3__score-num { font-size: .7rem; color: var(--up-accent); font-weight: 700; min-width: 1.8em; text-align: right; }
.hobin-uranai-top3__fortune {
  font-size: .8rem;
  color: var(--up-text-sub);
  line-height: 1.65;
  margin: 0 0 .8rem;
  text-align: left;
}
.hobin-uranai-top3__lucky {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .7rem;
  color: var(--up-text-muted);
  justify-content: center;
}
.hobin-uranai-top3__lucky-color {
  width: 9px; height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── 全12干支グリッド ── */
.hobin-uranai-all__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.hobin-uranai-card {
  background: var(--up-bg-card2);
  border: 1px solid var(--up-border);
  border-left: 3px solid var(--uz-color, #7c3aed);
  border-radius: 12px;
  padding: 1rem 1rem 0.9rem;
  transition: transform .18s ease, box-shadow .18s ease;
}
.hobin-uranai-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,.35); }
.hobin-uranai-card__rank {
  display: flex;
  align-items: baseline;
  gap: .15rem;
  margin-bottom: .6rem;
}
.hobin-uranai-card__rank-num {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--up-accent);
}
.hobin-uranai-card__rank-label { font-size: .65rem; color: var(--up-text-muted); }
.hobin-uranai-card__header {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: .65rem;
}
.hobin-uranai-card__emoji { font-size: 1.9rem; }
.hobin-uranai-card__title-wrap { display: flex; flex-direction: column; gap: .1rem; }
.hobin-uranai-card__kanji { font-size: 1.3rem; font-weight: 900; color: var(--up-text); line-height: 1; }
.hobin-uranai-card__name { font-size: .72rem; color: var(--up-text-sub); }
.hobin-uranai-card__score {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .7rem;
}
.hobin-uranai-card__score-bar {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}
.hobin-uranai-card__score-fill {
  height: 100%;
  border-radius: 2px;
  background: var(--uz-color, #7c3aed);
  opacity: .85;
}
.hobin-uranai-card__score-num { font-size: .65rem; color: var(--up-text-muted); min-width: 1.8em; text-align: right; }
.hobin-uranai-card__fortune {
  font-size: .78rem;
  color: var(--up-text-sub);
  line-height: 1.6;
  margin: 0 0 .6rem;
}
.hobin-uranai-card__lucky-row {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .68rem;
  color: var(--up-text-muted);
}
.hobin-uranai-card__lucky-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--uz-color, #7c3aed);
  flex-shrink: 0;
  opacity: .8;
}

/* ── フッター帯 ── */
.hobin-uranai-footer-band {
  margin-top: 3.5rem;
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--up-border2);
}
.hobin-uranai-footer-band__text {
  font-size: .82rem;
  letter-spacing: .12em;
  color: var(--up-accent);
  margin: 0 0 1.2rem;
}
.hobin-uranai-footer-band__btn {
  display: inline-block;
  padding: .55rem 1.8rem;
  border: 1px solid var(--up-border2);
  border-radius: 999px;
  font-size: .8rem;
  color: var(--up-text-sub);
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.hobin-uranai-footer-band__btn:hover {
  background: rgba(245,215,110,.12);
  color: var(--up-accent);
}

/* ── レスポンシブ ── */
@media (max-width: 700px) {
  .hobin-uranai-top3__grid {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .hobin-uranai-top3__card--gold { order: -1; }
}
@media (max-width: 480px) {
  .hobin-uranai-all__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 340px) {
  .hobin-uranai-all__grid { grid-template-columns: 1fr; }
}
