/* トップページ（フロント）ハブ */

body.maroan-front-hub-page .post_content {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.maroan-front-hub {
  margin-top: 0.25rem;
}

.maroan-front-hub__hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.maroan-front-hub__hero-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #e8e4dc;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.maroan-front-hub__hero-card:hover,
.maroan-front-hub__hero-card:focus-visible {
  transform: translateY(-2px);
  border-color: #c9d4b8;
  box-shadow: 0 8px 18px rgba(58, 75, 5, 0.12);
}

.maroan-front-hub__hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 0.65rem;
  background: #f9f7f2;
}

.maroan-front-hub__hero-media--kakejiku {
  min-height: 130px;
}

.maroan-front-hub__hero-media img {
  display: block;
  width: 100%;
  max-height: 110px;
  object-fit: contain;
}

.maroan-front-hub__hero-media--kakejiku img {
  max-height: 120px;
}

.maroan-front-hub__hero-label {
  padding: 0.7rem 1rem;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color_htag, #3a4b05);
  background: linear-gradient(180deg, #fff 0%, #f4f7ef 100%);
}

.maroan-front-hub__lead {
  max-width: 42rem;
  margin: 0 auto 2rem;
  text-align: center;
  font-size: 1.02em;
  line-height: 1.8;
  color: #444;
}

.maroan-front-hub__section + .maroan-front-hub__section,
.maroan-front-hub__about {
  margin-top: 2.5rem;
}

.maroan-front-hub__section-title {
  margin: 0 0 1.25rem;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  background: var(--color_htag, #3a4b05);
  color: #fff;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.35;
  text-align: center;
}

.maroan-front-hub__section-title--plain {
  background: transparent;
  color: var(--color_htag, #3a4b05);
  border-bottom: 2px solid #e5e9df;
  border-radius: 0;
  padding: 0 0 0.55rem;
}

.maroan-front-hub__quick {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.maroan-front-hub__quick-link {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.8rem;
  border: 1px solid #d7dece;
  border-radius: 999px;
  background: #fff;
  color: var(--color_htag, #3a4b05);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.maroan-front-hub__quick-link:hover,
.maroan-front-hub__quick-link:focus-visible {
  background: #f4f7ef;
  border-color: #b7c59f;
}

.maroan-front-hub__entry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.maroan-front-hub__entry-grid--kakejiku {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.maroan-front-hub__entry-item {
  margin: 0;
}

.maroan-front-hub__entry-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #e8e4dc;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  color: #333;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.maroan-front-hub__entry-card:hover,
.maroan-front-hub__entry-card:focus-visible {
  transform: translateY(-2px);
  border-color: #c9d4b8;
  box-shadow: 0 8px 18px rgba(58, 75, 5, 0.12);
}

.maroan-front-hub__entry-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 130px;
  padding: 0.5rem;
  background: #f9f7f2;
}

.maroan-front-hub__entry-thumb--kakejiku {
  min-height: 120px;
}

.maroan-front-hub__entry-thumb img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 120px;
  object-fit: contain;
}

.maroan-front-hub__entry-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.9rem 1rem 1rem;
}

.maroan-front-hub__entry-name {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color_htag, #3a4b05);
}

.maroan-front-hub__entry-desc {
  font-size: 0.86rem;
  line-height: 1.55;
  color: #555;
}

.maroan-front-hub__entry-meta {
  margin-top: auto;
  font-size: 0.8rem;
  font-weight: 600;
  color: #7c8a9a;
}

.maroan-front-hub__product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

/* SWELL .post_content の見出しスタイルがカード内に波及しないよう明示 */
body.maroan-front-hub-page .maroan-front-hub .maroan-rms-product-card__title {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.45;
  font-weight: 700;
  color: #1f2937;
}

body.maroan-front-hub-page .maroan-front-hub .maroan-rms-product-card__subtitle {
  font-size: 0.78rem;
}

body.maroan-front-hub-page .maroan-front-hub .maroan-rms-product-card__price {
  font-size: 0.92rem;
}

body.maroan-front-hub-page .maroan-front-hub .maroan-rms-product-card__body {
  padding: 0.6rem 0.7rem 0.75rem;
}

.maroan-front-hub__more-wrap {
  margin: 1.25rem 0 0;
  text-align: center;
}

.maroan-front-hub__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0 1.35rem;
  border: 1px solid var(--color_main, #3a4b05);
  border-radius: 999px;
  background: #fff;
  color: var(--color_main, #3a4b05);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.maroan-front-hub__more:hover,
.maroan-front-hub__more:focus-visible {
  background: var(--color_main, #3a4b05);
  color: #fff;
}

.maroan-front-hub__more--contact {
  background: var(--color_main, #3a4b05);
  color: #fff;
}

.maroan-front-hub__more--contact:hover,
.maroan-front-hub__more--contact:focus-visible {
  background: var(--color_main_dark, #2c3804);
}

.maroan-front-hub__review-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid #e8e4dc;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.maroan-front-hub__review-item + .maroan-front-hub__review-item {
  border-top: 1px solid #eef1ea;
}

.maroan-front-hub__review-link {
  display: block;
  padding: 0.95rem 1.1rem;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.18s ease;
}

.maroan-front-hub__review-link:hover,
.maroan-front-hub__review-link:focus-visible {
  background: #f8faf5;
}

.maroan-front-hub__review-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.85rem;
  margin-bottom: 0.35rem;
  font-size: 0.82rem;
  color: #7c8a9a;
}

.maroan-front-hub__review-cat {
  font-weight: 600;
}

.maroan-front-hub__review-title {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.5;
  color: #1f2937;
}

.maroan-front-hub__about-text {
  margin: 0;
  line-height: 1.85;
  color: #444;
}

@media (max-width: 959px) {
  .maroan-front-hub__product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 599px) {
  .maroan-front-hub__hero {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .maroan-front-hub__lead {
    text-align: left;
    font-size: 0.96rem;
  }

  .maroan-front-hub__quick {
    justify-content: flex-start;
  }

  .maroan-front-hub__entry-grid,
  .maroan-front-hub__entry-grid--kakejiku {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
  }

  .maroan-front-hub__entry-thumb {
    min-height: 96px;
  }

  .maroan-front-hub__entry-thumb img {
    max-height: 90px;
  }

  .maroan-front-hub__entry-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .maroan-front-hub__product-grid {
    gap: 0.75rem;
  }

  body.maroan-front-hub-page .maroan-front-hub .maroan-rms-product-card__title {
    font-size: 0.8rem;
  }
}