/* ============================================================
   components.css – hokuhoku theme v2
   All component-level styles.
   ============================================================ */

/* ============================================================
   HEADER
   ============================================================ */
.hh-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--c-white);
  transition: box-shadow var(--tr-normal), transform var(--tr-normal);
}
.hh-header.is-scrolled {
  box-shadow: var(--sh-sm);
}
.hh-header.is-hidden {
  transform: translateY(-100%);
}

.hh-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  max-width: var(--w-wide);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
@media (min-width: 1024px) {
  .hh-header__bar { height: 72px; }
}

/* Logo */
.hh-header__logo {
  flex-shrink: 0;
}
.hh-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.hh-logo__img {
  display: block;
  height: 36px;
  width: auto;
}
.hh-header__logo .custom-logo-link img {
  height: 32px;
  width: auto;
}
@media (min-width: 1024px) {
  .hh-logo__img { height: 42px; }
}

/* Global Nav */
.hh-gnav {
  display: none;
}
@media (min-width: 1024px) {
  .hh-gnav {
    display: block;
    flex: 1;
  }
  .hh-gnav__list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
  }
  .hh-gnav__item a {
    display: block;
    padding: 8px 14px;
    font-family: var(--ff-accent);
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    letter-spacing: var(--ls-wide);
    color: var(--c-text);
    border-radius: var(--r-md);
    transition: background var(--tr-fast), color var(--tr-fast);
  }
  .hh-gnav__item a:hover,
  .hh-gnav__item.is-current a {
    background: var(--c-bg);
    color: var(--c-text);
    opacity: 1;
  }
}

/* Mobile Nav */
.hh-gnav.is-open {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 60px 0 0;
  background: var(--c-white);
  padding: var(--sp-8) var(--pad-x);
  overflow-y: auto;
  z-index: var(--z-overlay);
}
.hh-gnav.is-open .hh-gnav__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hh-gnav.is-open .hh-gnav__item a {
  display: block;
  padding: 16px 0;
  font-size: var(--fs-md);
  font-weight: var(--fw-medium);
  border-bottom: 1px solid var(--c-border);
  color: var(--c-text);
}

/* Header actions */
.hh-header__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  flex-shrink: 0;
}

.hh-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--r-full);
  color: var(--c-text);
  transition: background var(--tr-fast);
}
.hh-icon-btn:hover {
  background: var(--c-bg);
  opacity: 1;
}
.hh-icon-btn--cart {
  position: relative;
}
.hh-cart-count {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--c-accent);
  color: var(--c-text);
  font-size: 10px;
  font-weight: var(--fw-black);
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Hamburger */
.hh-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
@media (min-width: 1024px) {
  .hh-hamburger { display: none; }
}
.hh-hamburger__line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: transform var(--tr-fast), opacity var(--tr-fast);
}
.hh-hamburger[aria-expanded="true"] .hh-hamburger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hh-hamburger[aria-expanded="true"] .hh-hamburger__line:nth-child(2) {
  opacity: 0;
}
.hh-hamburger[aria-expanded="true"] .hh-hamburger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   FV SLIDER
   ============================================================ */
.hh-fv {
  position: relative;
  width: 100%;
  background: var(--c-bg);
}
.hh-fv__splide { width: 100%; }
.hh-fv__splide .splide__track,
.hh-fv__splide .splide__list,
.hh-fv__splide .splide__slide {
  width: 100%;
}
.hh-fv__slide {
  position: relative;
  overflow: hidden;
}

.hh-fv__img--sp { display: block; }
.hh-fv__img--pc { display: none; }
@media (min-width: 768px) {
  .hh-fv__img--sp { display: none; }
  .hh-fv__img--pc { display: block; }
}

.hh-fv__img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
@media (max-width: 767px) {
  .hh-fv__img--sp {
    aspect-ratio: 9 / 16;
    object-fit: cover;
  }
}

/* Placeholder */
.hh-fv__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  background-color: var(--c-accent-pale);
}
@media (max-width: 767px) {
  .hh-fv__placeholder { aspect-ratio: 9 / 16; }
}
.hh-fv__placeholder-body {
  text-align: center;
  color: var(--c-text-light);
}
.hh-fv__placeholder-num {
  font-family: var(--ff-heading);
  font-size: var(--fs-4xl);
  font-weight: var(--fw-black);
  color: var(--c-accent-dark);
  opacity: .4;
  line-height: 1;
  margin-bottom: var(--sp-4);
}

/* Splide pagination */
.hh-fv__splide .splide__pagination {
  bottom: var(--sp-5);
  padding: 0;
  gap: var(--sp-2);
}
.hh-fv__splide .splide__pagination__page {
  width: 10px;
  height: 10px;
  margin: 0;
  background: var(--c-white);
  opacity: .5;
  border: 2px solid transparent;
  border-radius: var(--r-full);
  transition: opacity var(--tr-normal), transform var(--tr-normal), width var(--tr-normal);
}
.hh-fv__splide .splide__pagination__page.is-active {
  width: 28px;
  border-radius: var(--r-full);
  background: var(--c-accent);
  opacity: 1;
  transform: none;
}
.hh-fv__splide .splide__pagination__page:hover {
  opacity: .85;
}

/* ============================================================
   NEWS
   ============================================================ */
.hh-news__wrap {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}
@media (min-width: 768px) {
  .hh-news__wrap {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--sp-12);
  }
}

.hh-news__head { flex-shrink: 0; }
.hh-news__en {
  display: block;
  font-family: var(--ff-accent);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--c-accent-dark);
  margin-bottom: var(--sp-1);
}
.hh-news__title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-black);
}

.hh-news__list { flex: 1; }
.hh-news__item {
  border-bottom: 1px solid var(--c-border);
}
.hh-news__item:first-child {
  border-top: 1px solid var(--c-border);
}
.hh-news__link {
  display: flex;
  align-items: baseline;
  gap: var(--sp-4);
  padding: var(--sp-4) 0;
}
.hh-news__link:hover { opacity: 1; }
.hh-news__link:hover .hh-news__text { color: var(--c-accent-dark); }
.hh-news__date {
  flex-shrink: 0;
  font-family: var(--ff-accent);
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  letter-spacing: var(--ls-wide);
}
.hh-news__text {
  font-size: var(--fs-body);
  font-weight: var(--fw-medium);
  transition: color var(--tr-fast);
  line-height: var(--lh-snug);
}
.hh-news__empty { color: var(--c-text-muted); }

/* ============================================================
   PRODUCTS
   ============================================================ */
.hh-products {
  position: relative;
  background: var(--c-bg-white);
}

.hh-products__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
}
@media (min-width: 768px) {
  .hh-products__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-8);
  }
}

.hh-pcard {
  background: var(--c-white);
  border-radius: var(--r-2xl);
  overflow: hidden;
  transition: transform var(--tr-normal), box-shadow var(--tr-normal);
}
.hh-pcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}
.hh-pcard__link {
  display: block;
  color: inherit;
}
.hh-pcard__link:hover { opacity: 1; }

.hh-pcard__thumb {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--c-bg);
}
.hh-pcard__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--tr-slow);
}
.hh-pcard:hover .hh-pcard__thumb img {
  transform: scale(1.05);
}
.hh-pcard__thumb .hh-badge {
  position: absolute;
  top: var(--sp-3);
  left: var(--sp-3);
  z-index: 1;
}
.hh-pcard__noimg {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  background: var(--c-bg);
}

.hh-pcard__body {
  padding: var(--sp-4) var(--sp-4) var(--sp-5);
}
.hh-pcard__cat {
  font-family: var(--ff-accent);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--c-accent-dark);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  margin-bottom: var(--sp-1);
}
.hh-pcard__name {
  font-family: var(--ff-heading);
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
  line-height: var(--lh-snug);
  margin-bottom: var(--sp-2);
}
.hh-pcard__price {
  font-family: var(--ff-heading);
  font-size: var(--fs-lg);
  font-weight: var(--fw-black);
}
.hh-pcard__price del {
  font-size: var(--fs-sm);
  font-weight: var(--fw-normal);
  color: var(--c-text-muted);
}
.hh-pcard__price ins {
  text-decoration: none;
  color: var(--c-error);
}
.hh-products__empty {
  text-align: center;
  padding: var(--sp-12) 0;
  color: var(--c-text-muted);
}

/* ============================================================
   BANNERS
   ============================================================ */
/* --- Banner grid --- */
.hh-banners__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}
@media (min-width: 768px) {
  .hh-banners__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-8);
  }
}

/* --- Banner card --- */
.hh-banner {
  display: block;
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  text-decoration: none;
  color: var(--c-text);
  transition: transform var(--tr-normal), box-shadow var(--tr-normal);
}
.hh-banner:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  opacity: 1;
}

/* Variant backgrounds */
.hh-banner--kodawari {
  background: linear-gradient(135deg, var(--c-bg-white) 0%, #fcfaf4 100%);
}
.hh-banner--howto {
  background: linear-gradient(135deg, #F0F4F0 0%, #E8F0E4 100%);
}

/* Inner layout */
.hh-banner__inner {
  display: flex;
  flex-direction: column;
  padding: var(--sp-8);
  height: 100%;
  min-height: 280px;
}
@media (min-width: 768px) {
  .hh-banner__inner {
    min-height: 320px;
    padding: var(--sp-10) var(--sp-8);
  }
}

/* Text block */
.hh-banner__text {
  flex: 1;
}
.hh-banner__en {
  display: block;
  font-family: var(--ff-accent);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--c-accent-dark);
  margin-bottom: var(--sp-2);
}
.hh-banner__title {
  font-family: var(--ff-body);
  font-size: var(--fs-xl);
  font-weight: var(--fw-black);
  letter-spacing: 0.04em;
  line-height: var(--lh-tight);
  color: var(--c-text);
  margin-bottom: var(--sp-3);
}
@media (min-width: 768px) {
  .hh-banner__title { font-size: var(--fs-2xl); }
}
.hh-banner__desc {
  font-size: var(--fs-sm);
  line-height: var(--lh-body);
  color: var(--c-text-light);
  margin-bottom: var(--sp-5);
}
.hh-br-pc { display: none; }
@media (min-width: 768px) {
  .hh-br-pc { display: inline; }
}

/* CTA */
.hh-banner__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--c-accent-dark);
  letter-spacing: var(--ls-wide);
  transition: gap var(--tr-normal);
}
.hh-banner__cta svg {
  transition: transform var(--tr-normal);
}
.hh-banner:hover .hh-banner__cta svg {
  transform: translateX(4px);
}

/* Visual block */
.hh-banner__visual {
  margin-top: var(--sp-6);
}

/* --- Kodawari: icon grid --- */
.hh-banner__icon-grid {
  display: flex;
  gap: var(--sp-4);
}
.hh-banner__icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  flex: 1;
}
.hh-banner__icon {
  width: 44px;
  height: 44px;
  color: var(--c-accent-dark);
}
@media (min-width: 768px) {
  .hh-banner__icon {
    width: 52px;
    height: 52px;
  }
}
.hh-banner__icon-item span {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--c-text);
  text-align: center;
  letter-spacing: 0.02em;
}

/* --- Howto: step flow --- */
.hh-banner__steps {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  justify-content: center;
}
.hh-banner__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: var(--c-white);
  border-radius: var(--r-lg);
  padding: var(--sp-3) var(--sp-2);
  min-width: 56px;
  box-shadow: var(--sh-xs);
}
@media (min-width: 768px) {
  .hh-banner__step {
    padding: var(--sp-3) var(--sp-3);
    min-width: 68px;
  }
}
.hh-banner__step-num {
  font-family: var(--ff-accent);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--c-accent-dark);
  letter-spacing: var(--ls-wide);
}
.hh-banner__step-label {
  font-size: 0.625rem;
  font-weight: var(--fw-bold);
  color: var(--c-text);
  white-space: nowrap;
}
@media (min-width: 768px) {
  .hh-banner__step-label {
    font-size: var(--fs-xs);
  }
}
.hh-banner__step-arrow {
  color: var(--c-text-muted);
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

/* ============================================================
   COLUMN CAROUSEL
   ============================================================ */
.hh-columns {
  background: var(--c-bg-cream);
}
.hh-columns__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--sp-10);
}
.hh-columns__head .hh-sec-head__en { text-align: left; }
.hh-columns__head .hh-sec-head__title { text-align: left; }

.hh-colcard {
  display: block;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-2xl);
  overflow: hidden;
  transition: transform var(--tr-normal), box-shadow var(--tr-normal);
}
.hh-colcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  opacity: 1;
}
.hh-colcard__thumb {
  position: relative;
  aspect-ratio: 1.91;
  overflow: hidden;
  background: var(--c-bg);
}
.hh-colcard__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--tr-slow);
}
.hh-colcard:hover .hh-colcard__thumb img {
  transform: scale(1.05);
}
.hh-colcard__noimg {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--c-text-muted);
  font-size: var(--fs-sm);
}
.hh-colcard__body {
  padding: var(--sp-4) var(--sp-5) var(--sp-5);
}
.hh-colcard__meta {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-2);
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
}
.hh-colcard__cat {
  font-weight: var(--fw-bold);
  color: var(--c-text);
  background: var(--c-accent);
  padding: 2px 10px;
  border-radius: 5px;
  letter-spacing: var(--ls-wide);
}
.hh-colcard__title {
  font-family: var(--ff-heading);
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
  line-height: var(--lh-snug);
  color: var(--c-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hh-columns__empty {
  text-align: center;
  color: var(--c-text-muted);
  padding: var(--sp-12) 0;
}
.hh-columns__splide .splide__pagination__page {
  background: var(--c-border-dark);
}
.hh-columns__splide .splide__pagination__page.is-active {
  background: var(--c-text);
}

/* ============================================================
   FAQ
   ============================================================ */
.hh-faq { background: var(--c-bg); }

.hh-faq__list {
  display: flex;
  flex-direction: column;
}
.hh-faq__item {
  border-bottom: 1px solid var(--c-border);
}
.hh-faq__item:first-child {
  border-top: 1px solid var(--c-border);
}

.hh-faq__q {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  width: 100%;
  padding: var(--sp-5) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--c-text);
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
  line-height: var(--lh-snug);
}
.hh-faq__q:hover { opacity: .8; }

.hh-faq__mark {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--r-full);
  font-family: var(--ff-heading);
  font-size: var(--fs-sm);
  font-weight: var(--fw-black);
  background: var(--c-accent);
  color: var(--c-text);
  line-height: 1;
}
.hh-faq__mark--a {
  background: var(--c-bg-white);
  color: var(--c-text-light);
}

.hh-faq__q-text {
  flex: 1;
  padding-top: 4px;
}

.hh-faq__chevron {
  flex-shrink: 0;
  margin-top: 6px;
  color: var(--c-text-muted);
  transition: transform var(--tr-normal);
}
.hh-faq__q[aria-expanded="true"] .hh-faq__chevron {
  transform: rotate(180deg);
}

.hh-faq__a {
  display: flex;
  gap: var(--sp-4);
  padding: 0 0 var(--sp-6);
}
.hh-faq__a[hidden] {
  display: none;
}
.hh-faq__a-body {
  flex: 1;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--c-text-light);
}
.hh-faq__a-body p { margin-bottom: var(--sp-3); }
.hh-faq__a-body p:last-child { margin-bottom: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.hh-footer {
  background: var(--c-text);
  color: rgba(255,255,255,.85);
}
.hh-footer__main {
  padding: var(--sp-8) 0 var(--sp-6);
}
@media (min-width: 768px) {
  .hh-footer__main {
    padding: var(--sp-16) 0 var(--sp-12);
  }
}

/* Brand – centered on mobile, left-aligned on desktop */
.hh-footer__brand {
  text-align: center;
  margin-bottom: var(--sp-6);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
@media (min-width: 768px) {
  .hh-footer__brand {
    text-align: left;
    margin-bottom: var(--sp-10);
    padding-bottom: var(--sp-8);
  }
}
.hh-footer__logo {
  display: inline-block;
  margin-bottom: var(--sp-2);
}
.hh-footer__logo-img {
  display: block;
  height: 44px;
  width: auto;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .hh-footer__logo-img {
    height: 48px;
    margin: 0;
  }
}
.hh-footer__logo:hover { opacity: .8; }
.hh-footer__tagline {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.5);
}

/* Link grid – 2x2 on mobile, 4-col on desktop */
.hh-footer__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6) var(--sp-4);
}
@media (min-width: 768px) {
  .hh-footer__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-10);
  }
}

.hh-footer__heading {
  font-family: var(--ff-heading);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wide);
  color: var(--c-white);
  margin-bottom: var(--sp-2);
}
@media (min-width: 768px) {
  .hh-footer__heading {
    font-size: var(--fs-sm);
    margin-bottom: var(--sp-4);
  }
}
.hh-footer__col ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}
@media (min-width: 768px) {
  .hh-footer__col ul {
    gap: var(--sp-2);
  }
}
.hh-footer__col a {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.6);
  transition: color var(--tr-fast);
}
@media (min-width: 768px) {
  .hh-footer__col a {
    font-size: var(--fs-sm);
  }
}
.hh-footer__col a:hover {
  color: var(--c-accent);
  opacity: 1;
}

/* Bottom bar */
.hh-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: var(--sp-4) 0;
}
@media (min-width: 768px) {
  .hh-footer__bottom {
    padding: var(--sp-6) 0;
  }
}
.hh-footer__copy {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.35);
  text-align: center;
}

/* ============================================================
   TOAST
   ============================================================ */
.hh-toast {
  position: fixed;
  bottom: var(--sp-6);
  left: 50%;
  transform: translate(-50%, 20px);
  z-index: var(--z-toast);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  background: var(--c-text);
  color: var(--c-white);
  padding: var(--sp-4) var(--sp-6);
  border-radius: var(--r-full);
  box-shadow: var(--sh-lg);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  opacity: 0;
  transition: all var(--tr-normal);
  pointer-events: none;
  white-space: nowrap;
}
.hh-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
.hh-toast__link {
  color: var(--c-accent) !important;
  font-weight: var(--fw-bold);
  text-decoration: underline;
}
.hh-toast__close {
  background: none;
  border: none;
  color: rgba(255,255,255,.6);
  cursor: pointer;
  font-size: 1.2em;
  padding: 0 0 0 var(--sp-2);
}

/* ============================================================
   GENERIC PAGE
   ============================================================ */
.hh-page {
  background: var(--c-bg-white);
}
.hh-page__inner {
  max-width: var(--w-narrow);
  margin: 0 auto;
  padding: var(--sp-12) var(--pad-x) var(--sp-16);
}
.hh-page__inner h1 {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-black);
  margin-bottom: var(--sp-8);
  text-align: center;
}
.hh-page__inner p { margin-bottom: var(--sp-4); }
.hh-page__inner ul,
.hh-page__inner ol {
  margin-bottom: var(--sp-4);
}
.hh-page__inner ul { list-style: none; }
.hh-page__inner ol { list-style: decimal; }
.hh-page__inner a {
  color: var(--c-accent-dark);
  text-decoration: underline;
}

/* Page hero */
.hh-page-hero {
  padding: var(--sp-16) 0 var(--sp-12);
  background-color: var(--c-bg);
  text-align: center;
}
.hh-page-hero__title {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-black);
  letter-spacing: 0.06em;
}
@media (min-width: 768px) {
  .hh-page-hero__title { font-size: var(--fs-3xl); }
}

/* Posts grid (index.php) */
.hh-posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}
@media (min-width: 768px) {
  .hh-posts-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-8);
  }
}
.hh-post-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-2xl);
  overflow: hidden;
  transition: transform var(--tr-normal), box-shadow var(--tr-normal);
}
.hh-post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}
.hh-post-card a {
  display: block;
  color: inherit;
}
.hh-post-card a:hover { opacity: 1; }
.hh-post-card__thumb {
  aspect-ratio: 1.91;
  overflow: hidden;
}
.hh-post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--tr-slow);
}
.hh-post-card:hover .hh-post-card__thumb img {
  transform: scale(1.05);
}
.hh-post-card__body {
  padding: var(--sp-4) var(--sp-5) var(--sp-5);
}
.hh-post-card__date {
  display: block;
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  margin-bottom: var(--sp-2);
}
.hh-post-card__title {
  font-family: var(--ff-heading);
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
  line-height: var(--lh-snug);
}

/* ============================================================
   LEGAL PAGES (Privacy Policy / Tokushoho)
   ============================================================ */

/* --- Container --- */
.hh-container {
  width: 100%;
  max-width: var(--w-site);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.hh-container--narrow {
  max-width: var(--w-narrow);
}

/* --- Section spacing --- */
.hh-section {
  padding-block: var(--sp-12) var(--sp-16);
}
@media (min-width: 768px) {
  .hh-section {
    padding-block: var(--sp-16) var(--sp-24);
  }
}

/* --- 記事ページ共通：白背景 --- */
.hh-main {
  background: var(--c-bg-white);
}

/* --- Page banner --- */
.hh-page-banner {
  padding: var(--sp-16) var(--pad-x) var(--sp-12);
  text-align: center;
  background: var(--c-bg-cream);
  position: relative;
  overflow: hidden;
}
.hh-page-banner.hh-pattern-dots {
  background-image: radial-gradient(circle, rgba(255,213,89,.18) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
}
.hh-page-banner__inner {
  max-width: var(--w-narrow);
  margin: 0 auto;
}
.hh-page-banner__title {
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  font-weight: var(--fw-black);
  letter-spacing: 0.06em;
  color: var(--c-text);
  margin-bottom: var(--sp-3);
}
@media (min-width: 768px) {
  .hh-page-banner {
    padding: var(--sp-20) var(--pad-x) var(--sp-16);
  }
  .hh-page-banner__title {
    font-size: var(--fs-3xl);
  }
}
.hh-page-banner__sub {
  font-size: var(--fs-sm);
  color: var(--c-text-light);
  line-height: var(--lh-body);
  max-width: 36em;
  margin-inline: auto;
}

/* Compact variant for account pages */
.hh-page-banner--compact {
  padding: var(--sp-10) var(--pad-x) var(--sp-8);
}
@media (min-width: 768px) {
  .hh-page-banner--compact {
    padding: var(--sp-12) var(--pad-x) var(--sp-10);
  }
}
.hh-page-banner--compact .hh-page-banner__title {
  font-size: var(--fs-xl);
}
@media (min-width: 768px) {
  .hh-page-banner--compact .hh-page-banner__title {
    font-size: var(--fs-2xl);
  }
}

/* Eyebrow (reused from section headers) */
.hh-section-header__eyebrow {
  display: block;
  font-family: var(--ff-accent);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--c-accent-dark);
  margin-bottom: var(--sp-2);
}

/* --- Legal card wrapper --- */
.hh-legal-card {
  background: var(--c-white);
  border-radius: var(--r-xl);
  padding: var(--sp-8) var(--sp-6);
  box-shadow: var(--sh-sm);
}
@media (min-width: 768px) {
  .hh-legal-card {
    padding: var(--sp-12) var(--sp-12);
    border-radius: var(--r-2xl);
  }
}

/* --- Legal intro text --- */
.hh-legal-intro {
  margin-bottom: var(--sp-8);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--c-text-light);
}

/* --- Legal section --- */
.hh-legal-section {
  padding: var(--sp-8) 0;
  border-bottom: 1px solid var(--c-border);
}
.hh-legal-section:first-child {
  padding-top: 0;
}
.hh-legal-section--last,
.hh-legal-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hh-legal-section__title {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--ff-heading);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--c-text);
  margin-bottom: var(--sp-4);
  line-height: var(--lh-snug);
}

.hh-legal-section__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: var(--r-full);
  background: var(--c-accent);
  color: var(--c-text);
  font-family: var(--ff-accent);
  font-size: var(--fs-sm);
  font-weight: var(--fw-black);
  line-height: 1;
}

.hh-legal-section__body {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--c-text-light);
}
.hh-legal-section__body p {
  margin-bottom: var(--sp-4);
}
.hh-legal-section__body p:last-child {
  margin-bottom: 0;
}

/* --- Legal list --- */
.hh-legal-list {
  margin: var(--sp-3) 0 var(--sp-4);
  padding-left: 0;
  list-style: none;
}
.hh-legal-list li {
  position: relative;
  padding-left: 1.4em;
  margin-bottom: var(--sp-2);
  line-height: var(--lh-body);
}
.hh-legal-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: var(--r-full);
  background: var(--c-accent);
}
.hh-legal-list li:last-child {
  margin-bottom: 0;
}

/* --- Legal highlight box --- */
.hh-legal-highlight {
  margin-top: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  background: var(--c-accent-pale);
  border-radius: var(--r-md);
  border-left: 4px solid var(--c-accent);
}
.hh-legal-highlight p {
  margin-bottom: 0;
  color: var(--c-text);
  font-size: var(--fs-sm);
  line-height: var(--lh-body);
}
.hh-legal-highlight a {
  color: var(--c-accent-dark);
  text-decoration: underline;
  font-weight: var(--fw-medium);
}

/* --- Legal table --- */
.hh-legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}
.hh-legal-table__row {
  border-bottom: 1px solid var(--c-border);
}
.hh-legal-table__row:last-child {
  border-bottom: none;
}
.hh-legal-table__head {
  padding: var(--sp-4) var(--sp-4) var(--sp-4) 0;
  font-family: var(--ff-heading);
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
  color: var(--c-text);
  white-space: nowrap;
  vertical-align: top;
  text-align: left;
  width: 160px;
}
.hh-legal-table__data {
  padding: var(--sp-4) 0;
  color: var(--c-text-light);
  vertical-align: top;
}
.hh-legal-table__data a {
  color: var(--c-accent-dark);
  text-decoration: underline;
}
.hh-legal-table__data strong {
  color: var(--c-text);
  font-weight: var(--fw-bold);
}

/* Compact table variant (contact info) */
.hh-legal-table--compact .hh-legal-table__head {
  width: auto;
  padding-right: var(--sp-6);
}

/* Mobile: stack table rows */
@media (max-width: 767px) {
  .hh-legal-table__head,
  .hh-legal-table__data {
    display: block;
    width: 100%;
  }
  .hh-legal-table__head {
    padding: var(--sp-4) 0 var(--sp-1) 0;
    background: var(--c-accent-pale);
    padding: var(--sp-2) var(--sp-3);
    border-radius: var(--r-sm);
    margin-top: var(--sp-3);
  }
  .hh-legal-table__data {
    padding: var(--sp-3) 0 var(--sp-4);
  }
  .hh-legal-table__row:first-child .hh-legal-table__head {
    margin-top: 0;
  }
}

/* --- Legal note --- */
.hh-legal-note {
  display: block;
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  margin-top: var(--sp-1);
}

/* --- Legal notice --- */
.hh-legal-notice {
  margin-top: var(--sp-6);
  padding: var(--sp-5) var(--sp-6);
  background: var(--c-bg);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  line-height: var(--lh-body);
  color: var(--c-text-light);
}
.hh-legal-notice p {
  margin: 0;
}

/* --- Legal updated date --- */
.hh-legal-updated {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  margin-top: var(--sp-4);
}

/* --- Legal CTA --- */
.hh-legal-cta {
  text-align: center;
  margin-top: var(--sp-10);
  padding: var(--sp-8);
  background: var(--c-bg-cream);
  border-radius: var(--r-xl);
}
.hh-legal-cta__text {
  font-family: var(--ff-heading);
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
  color: var(--c-text);
  margin-bottom: var(--sp-5);
}

/* --- Section compact (guide page nav etc.) --- */
.hh-section--compact {
  padding-block: 0;
}

/* --- Shopping guide page nav --- */
.hh-guide-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
}
.hh-guide-nav__list a {
  display: inline-block;
  padding: 8px 18px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--c-text);
  background: var(--c-bg);
  border-radius: var(--r-full);
  text-decoration: none;
  transition: background var(--tr-fast), color var(--tr-fast);
}
.hh-guide-nav__list a:hover {
  background: var(--c-accent);
  color: var(--c-white);
}

/* --- Guide subtitle (h3 within sections) --- */
.hh-guide__subtitle {
  font-family: var(--ff-heading);
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
  color: var(--c-text);
  margin-top: var(--sp-6);
  margin-bottom: var(--sp-3);
  padding-left: var(--sp-3);
  border-left: 3px solid var(--c-accent);
}
.hh-guide__subtitle:first-child,
.hh-legal-section__body > .hh-guide__subtitle:first-child {
  margin-top: 0;
}

/* ============================================================
   KODAWARI PAGE – 商品のこだわり
   ============================================================ */
.hh-kodawari-intro__body {
  text-align: center;
  font-size: var(--fs-body);
  line-height: var(--lh-loose);
  color: var(--c-text-light);
  max-width: 40em;
  margin-inline: auto;
}
.hh-kodawari-intro__body p + p {
  margin-top: var(--sp-4);
}

.hh-kodawari-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
}
@media (min-width: 768px) {
  .hh-kodawari-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-10);
  }
}

.hh-kodawari-card {
  background: var(--c-white);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: transform var(--tr-normal), box-shadow var(--tr-normal);
}
.hh-kodawari-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}
.hh-kodawari-card__img img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3/2;
  object-fit: cover;
}
.hh-kodawari-card__body {
  padding: var(--sp-6);
}
.hh-kodawari-card__num {
  display: inline-block;
  font-family: var(--ff-accent);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wider);
  color: var(--c-accent-dark);
  margin-bottom: var(--sp-2);
}
.hh-kodawari-card__title {
  font-family: var(--ff-heading);
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  line-height: var(--lh-snug);
  margin-bottom: var(--sp-3);
}
.hh-kodawari-card__text {
  font-size: var(--fs-sm);
  color: var(--c-text-light);
  line-height: var(--lh-body);
}

/* ============================================================
   HOWTO PAGE – hokuhokuの食べ方
   ============================================================ */
.hh-howto-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
}
@media (min-width: 768px) {
  .hh-howto-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-10);
  }
}

.hh-howto-card {
  background: var(--c-white);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-sm);
}
.hh-howto-card__img img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3/2;
  object-fit: cover;
}
.hh-howto-card__body {
  padding: var(--sp-6);
}
.hh-howto-card__step {
  display: inline-block;
  font-family: var(--ff-accent);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wider);
  color: var(--c-white);
  background: var(--c-accent-dark);
  padding: 4px 14px;
  border-radius: var(--r-full);
  margin-bottom: var(--sp-3);
}
.hh-howto-card__title {
  font-family: var(--ff-heading);
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  line-height: var(--lh-snug);
  margin-bottom: var(--sp-3);
}
.hh-howto-card__text {
  font-size: var(--fs-sm);
  color: var(--c-text-light);
  line-height: var(--lh-body);
}
.hh-howto-card__note {
  margin-top: var(--sp-4);
  padding: var(--sp-4);
  background: var(--c-accent-pale);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  color: var(--c-text);
  line-height: var(--lh-body);
}

/* Serving guide amount cards */
.hh-howto-amount__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}
@media (min-width: 600px) {
  .hh-howto-amount__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 768px) {
  .hh-howto-amount__grid {
    grid-template-columns: repeat(5, 1fr);
    gap: var(--sp-5);
  }
}
.hh-howto-amount__card {
  background: var(--c-white);
  border-radius: var(--r-xl);
  padding: var(--sp-6) var(--sp-4);
  text-align: center;
  box-shadow: var(--sh-xs);
}
.hh-howto-amount__icon img {
  width: 56px;
  height: 56px;
  border-radius: var(--r-full);
  margin-bottom: var(--sp-3);
}
.hh-howto-amount__weight {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--c-text);
  margin-bottom: var(--sp-1);
}
.hh-howto-amount__value {
  font-family: var(--ff-heading);
  font-size: var(--fs-lg);
  font-weight: var(--fw-black);
  color: var(--c-accent-dark);
}
.hh-howto-amount__note {
  margin-top: var(--sp-6);
  padding: var(--sp-5);
  background: var(--c-white);
  border-radius: var(--r-lg);
  font-size: var(--fs-sm);
  color: var(--c-text-light);
  line-height: var(--lh-body);
  text-align: center;
}

/* ============================================================
   FAQ PAGE – よくある質問（フルページ版）
   ============================================================ */
.hh-faq-page__category {
  margin-bottom: var(--sp-10);
}
.hh-faq-page__category:last-of-type {
  margin-bottom: var(--sp-6);
}
.hh-faq-page__cat-title {
  font-family: var(--ff-heading);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--c-text);
  padding-bottom: var(--sp-3);
  margin-bottom: var(--sp-5);
  border-bottom: 2px solid var(--c-accent);
  position: relative;
}
.hh-faq-page__cat-title::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--c-accent);
  border-radius: var(--r-full);
  margin-right: var(--sp-2);
  vertical-align: middle;
}

/* ============================================================
   ENTRY CONTENT – 記事本文の見出し・本文スタイル
   ビジュアルエディタの「見出し2/3/4」がそのまま反映される。
   Google 推奨: body 16px, line-height 1.5–2.0, letter-spacing 0.04em
   ============================================================ */
.hh-entry-content {
  font-size: var(--fs-body);       /* 15px mobile / 16px desktop */
  line-height: var(--lh-body);     /* 1.85 */
  letter-spacing: var(--ls-normal);/* 0.04em */
  color: var(--c-text);
  word-break: break-word;
  overflow-wrap: break-word;
}

/* --- h2 見出し — アクセントボーダー付き（文字幅に合わせる） --- */
.hh-entry-content h2 {
  font-family: var(--ff-body);
  font-size: 1.2rem;
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: 0.04em;
  color: var(--c-text);
  width: fit-content;
  margin: var(--sp-12) 0 var(--sp-5);
  padding: var(--sp-3) var(--sp-5);
  background: var(--c-bg);
  border-left: 4px solid var(--c-accent);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
@media (min-width: 768px) {
  .hh-entry-content h2 {
    font-size: 1.2rem;
  }
}

/* --- h3 見出し — 左ボーダーのみ --- */
.hh-entry-content h3 {
  font-family: var(--ff-body);
  font-size: 0.9rem;
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: 0.04em;
  color: var(--c-text);
  margin: var(--sp-10) 0 var(--sp-4);
  padding-left: var(--sp-4);
  border-left: 3px solid var(--c-accent-dark);
}
@media (min-width: 768px) {
  .hh-entry-content h3 {
    font-size: 0.9rem;
  }
}

/* --- h4 見出し — 下線（文字幅に合わせる） --- */
.hh-entry-content h4 {
  font-family: var(--ff-body);
  font-size: 0.8rem;
  font-weight: var(--fw-bold);
  line-height: var(--lh-snug);
  letter-spacing: 0.04em;
  color: var(--c-text);
  width: fit-content;
  margin: var(--sp-8) 0 var(--sp-3);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--c-border);
}
@media (min-width: 768px) {
  .hh-entry-content h4 {
    font-size: 0.8rem;
  }
}

/* 最初の見出しは上マージン縮小 */
.hh-entry-content > h2:first-child,
.hh-entry-content > h3:first-child,
.hh-entry-content > h4:first-child {
  margin-top: 0;
}

/* --- 段落 --- */
.hh-entry-content p {
  margin-bottom: var(--sp-5);
}
.hh-entry-content p:last-child {
  margin-bottom: 0;
}

/* --- リスト --- */
.hh-entry-content ul,
.hh-entry-content ol {
  margin-bottom: var(--sp-5);
  padding-left: 1.5em;
}
.hh-entry-content ul {
  list-style: disc;
}
.hh-entry-content ol {
  list-style: decimal;
}
.hh-entry-content li {
  margin-bottom: var(--sp-2);
  line-height: var(--lh-body);
}
.hh-entry-content li::marker {
  color: var(--c-accent-dark);
}

/* --- リンク --- */
.hh-entry-content a {
  color: var(--c-accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--tr-fast);
}
.hh-entry-content a:hover {
  color: var(--c-text);
}

/* --- 画像 --- */
.hh-entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  margin: var(--sp-6) 0;
}
.hh-entry-content figure {
  margin: var(--sp-6) 0;
}
.hh-entry-content figcaption {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  text-align: center;
  margin-top: var(--sp-2);
}

/* --- 引用 --- */
.hh-entry-content blockquote {
  margin: var(--sp-6) 0;
  padding: var(--sp-5) var(--sp-6);
  background: var(--c-bg);
  border-left: 4px solid var(--c-border-dark);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-style: italic;
  color: var(--c-text-light);
}
.hh-entry-content blockquote p:last-child {
  margin-bottom: 0;
}
.hh-entry-content blockquote cite {
  display: block;
  font-size: var(--fs-sm);
  font-style: normal;
  color: var(--c-text-muted);
  margin-top: var(--sp-3);
}

/* --- テーブル --- */
.hh-entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--sp-6) 0;
  font-size: var(--fs-sm);
}
.hh-entry-content th,
.hh-entry-content td {
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--c-border);
  text-align: left;
}
.hh-entry-content th {
  background: var(--c-bg);
  font-weight: var(--fw-bold);
}

/* --- コード --- */
.hh-entry-content code {
  font-size: 0.875em;
  background: var(--c-bg);
  padding: 2px 6px;
  border-radius: var(--r-sm);
}
.hh-entry-content pre {
  margin: var(--sp-6) 0;
  padding: var(--sp-5);
  background: var(--c-text);
  color: var(--c-bg);
  border-radius: var(--r-lg);
  overflow-x: auto;
  font-size: var(--fs-sm);
  line-height: 1.6;
}
.hh-entry-content pre code {
  background: none;
  padding: 0;
}

/* --- 区切り線 --- */
.hh-entry-content hr {
  margin: var(--sp-10) 0;
  border: none;
  border-top: 1px solid var(--c-border);
}

/* --- WordPress ブロック --- */
.hh-entry-content .wp-block-image {
  margin: var(--sp-6) 0;
}
.hh-entry-content .wp-block-image img {
  margin: 0;
}
.hh-entry-content .has-text-align-center {
  text-align: center;
}

/* ============================================================
   ARTICLE – 投稿・コラム共通
   ============================================================ */

/* Article meta */
.hh-article__meta,
.hh-column-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3);
  justify-content: center;
  margin-bottom: var(--sp-4);
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
}
.hh-article__cat,
.hh-column-article__cat {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--c-text);
  background: var(--c-accent);
  padding: 3px 12px;
  border-radius: var(--r-full);
  text-decoration: none;
  letter-spacing: var(--ls-wide);
}
.hh-column-article__updated {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
}

/* Article hero image */
.hh-article__hero,
.hh-column-article__hero {
  margin-top: var(--sp-8);
}
.hh-article__hero-img,
.hh-column-article__hero-img {
  width: 100%;
  height: auto;
  border-radius: var(--r-xl);
  display: block;
}
@media (min-width: 768px) {
  .hh-article__hero-img,
  .hh-column-article__hero-img {
    border-radius: var(--r-2xl);
  }
}

/* Column article header */
.hh-column-article__header {
  padding: var(--sp-10) 0 0;
  text-align: center;
}
.hh-column-article__title {
  font-family: var(--ff-body);
  font-size: var(--fs-xl);
  font-weight: var(--fw-black);
  text-align: start;
  line-height: var(--lh-snug);
  letter-spacing: 0.04em;
}
@media (min-width: 768px) {
  .hh-column-article__title {
    font-size: var(--fs-lg);
  }
}

/* Article breadcrumb */
.hh-column-article__breadcrumb,
.hh-column-archive__breadcrumb {
  padding: var(--sp-4) 0;
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  background: var(--c-bg);
}
.hh-column-article__breadcrumb a,
.hh-column-archive__breadcrumb a {
  color: var(--c-text-muted);
  text-decoration: none;
}
.hh-column-article__breadcrumb a:hover,
.hh-column-archive__breadcrumb a:hover {
  color: var(--c-accent-dark);
}

/* Article navigation (prev/next) */
.hh-article__nav {
  border-top: 1px solid var(--c-border);
  padding: var(--sp-8) 0;
}
.hh-article__nav-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
}
.hh-article__nav-link {
  display: block;
  text-decoration: none;
  color: var(--c-text);
  padding: var(--sp-4);
  border-radius: var(--r-lg);
  transition: background var(--tr-fast);
}
.hh-article__nav-link:hover {
  background: var(--c-bg);
  opacity: 1;
}
.hh-article__nav-link--next {
  text-align: right;
}
.hh-article__nav-label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--c-accent-dark);
  letter-spacing: var(--ls-wide);
  margin-bottom: var(--sp-2);
}
.hh-article__nav-title {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  line-height: var(--lh-snug);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   TOC – 目次
   ============================================================ */
.hh-toc {
  margin: var(--sp-8) auto;
  padding: var(--sp-5) var(--sp-6);
  max-width: 480px;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
}
.hh-toc__heading {
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
  color: var(--c-text);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--c-border);
}
.hh-toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc;
}
.hh-toc__list li {
  counter-increment: toc;
  margin-bottom: var(--sp-2);
}
.hh-toc__list li::before {
  content: counter(toc) ". ";
  font-weight: var(--fw-bold);
  color: var(--c-accent-dark);
}
.hh-toc__list a {
  color: var(--c-text);
  text-decoration: none;
  font-size: var(--fs-sm);
  line-height: var(--lh-snug);
  transition: color var(--tr-fast);
}
.hh-toc__list a:hover {
  color: var(--c-accent-dark);
}
.hh-toc__list .hh-toc__h3 {
  padding-left: var(--sp-5);
}
.hh-toc__list .hh-toc__h3::before {
  content: "- ";
}

/* ============================================================
   COLUMN ARCHIVE – コラム一覧
   ============================================================ */
.hh-column-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}
@media (min-width: 600px) {
  .hh-column-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .hh-column-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-8);
  }
}
.hh-colcard__link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.hh-colcard__excerpt {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  line-height: var(--lh-body);
  margin-top: var(--sp-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Column filter nav */
.hh-column-filter__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
}
.hh-column-filter__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 8px 18px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--c-text);
  background: var(--c-bg);
  border-radius: var(--r-full);
  text-decoration: none;
  transition: background var(--tr-fast), color var(--tr-fast);
}
.hh-column-filter__link:hover,
.hh-column-filter__link.is-active {
  background: var(--c-accent);
  color: var(--c-white);
}
.hh-column-filter__count {
  font-size: var(--fs-xs);
  opacity: .7;
}

/* ============================================================
   404 PAGE
   ============================================================ */
.hh-404 {
  padding: var(--sp-16) 0 var(--sp-20);
  text-align: center;
}
@media (min-width: 768px) {
  .hh-404 {
    padding: var(--sp-20) 0 var(--sp-24);
  }
}
.hh-404__content {
  max-width: 520px;
  margin: 0 auto;
}
.hh-404__icon {
  color: var(--c-accent);
  margin-bottom: var(--sp-4);
}
.hh-404__code {
  font-family: var(--ff-heading);
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: var(--fw-black);
  line-height: 1;
  color: var(--c-border);
  letter-spacing: 0.08em;
}
.hh-404__title {
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--c-text);
  margin-top: var(--sp-3);
  margin-bottom: var(--sp-4);
}
@media (min-width: 768px) {
  .hh-404__title {
    font-size: var(--fs-2xl);
  }
}
.hh-404__message {
  font-size: var(--fs-sm);
  line-height: var(--lh-body);
  color: var(--c-text-light);
  margin-bottom: var(--sp-8);
}
.hh-404__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-10);
}
.hh-404__links {
  padding-top: var(--sp-8);
  border-top: 1px solid var(--c-border);
}
.hh-404__links-heading {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--c-text-muted);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}
.hh-404__links ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-2) var(--sp-5);
}
.hh-404__links a {
  font-size: var(--fs-sm);
  color: var(--c-text);
  text-decoration: none;
  transition: color var(--tr-fast);
}
.hh-404__links a:hover {
  color: var(--c-accent-dark);
}

/* Related section */
.hh-related {
  background: var(--c-bg);
}

/* ============================================================
   PAGINATION – 共通ページネーション
   ============================================================ */
.hh-pagination {
  margin-top: var(--sp-10);
  text-align: center;
}
.hh-pagination .nav-links {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
}
.hh-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--c-text);
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-full);
  text-decoration: none;
  transition: background var(--tr-fast), color var(--tr-fast), border-color var(--tr-fast);
}
.hh-pagination .page-numbers:hover {
  background: var(--c-bg);
  border-color: var(--c-accent);
}
.hh-pagination .page-numbers.current {
  background: var(--c-accent);
  color: var(--c-white);
  border-color: var(--c-accent);
}
.hh-pagination .page-numbers.dots {
  border: none;
  background: none;
}

/* Post card – no-image placeholder */
.hh-post-card__noimg {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: var(--c-bg);
  color: var(--c-text-muted);
  font-size: var(--fs-sm);
}

/* Archive empty state */
.hh-archive-empty {
  text-align: center;
  padding: var(--sp-16) 0;
  font-size: var(--fs-body);
  color: var(--c-text-muted);
}
