/* ==========================================================
   custom-hub.css
   custom系 共通回遊ナビ
   置き場所: /css/custom-hub.css
   ========================================================== */

/* =========================
   共通
========================= */
.hub-card {
  display: block;
  height: 100%;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(0,0,0,.06);
  transition: transform .22s ease, box-shadow .22s ease;
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.hub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,.09);
  color: inherit;
  text-decoration: none;
}

.hub-card.is-current {
  pointer-events: none;
  box-shadow: 0 0 0 2px #c4b9a8;
  transform: none;
  cursor: default;
}

.hub-thumb {
  position: relative;
  overflow: hidden;
  background: #eeebe6;
}

.hub-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .36s ease;
}

.hub-card:hover .hub-thumb img {
  transform: scale(1.045);
}

.hub-card.is-current .hub-thumb img {
  transform: none;
}

/* =========================
   上段3カード
========================= */
.hub-top-row .hub-thumb {
  height: 220px;
}

.hub-thumb--graphic {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0ede8;
  padding: 18px;
}

.hub-thumb--graphic img {
  object-fit: contain;
  transition: none;
}

.hub-graphic-icon {
  display: block;
  width: 220px;
  max-width: 72%;
  height: auto;
  opacity: 1;
  transform: none;
}

.hub-card:hover .hub-graphic-icon,
.hub-card.is-current .hub-graphic-icon {
  transform: none;
}

.hub-thumb--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.10) 0%, rgba(0,0,0,0) 45%);
  pointer-events: none;
}

.hub-body {
  padding: .9rem 1.05rem 1rem;
}

.hub-body p {
  margin: 0;
  font-size: .9rem;
  color: #7d7469;
  line-height: 1.65;
}

/* 旧文字ラベルは未使用 */
.hub-text-label {
  display: none;
}

/* =========================
   下段4カード
========================= */
.hub-item-row .hub-thumb {
  height: auto;
}

.hub-card--item {
  display: block;
  height: auto;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

.hub-card--item:hover {
  transform: translateY(-4px);
  box-shadow: none;
}

.hub-card--item.is-current {
  box-shadow: none;
  transform: none;
}

.hub-thumb--item {
  position: relative;
  display: block;
  background: transparent;
  border-radius: 14px;
  overflow: hidden;
}

.hub-thumb--item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .36s ease;
}

.hub-card--item:hover .hub-thumb--item img {
  transform: scale(1.03);
}

.hub-card--item.is-current .hub-thumb--item img {
  transform: none;
}

.hub-thumb--item::after {
  content: none;
}

.hub-item-label {
  position: absolute;
  left: .85rem;
  bottom: .85rem;
  z-index: 2;
  display: inline-block;
  padding: .36rem .7rem;
  background: rgba(255,255,255,.88);
  color: #1a1a1a;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  border-radius: 999px;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

/* =========================
   PACKAGING & GIFT SETS 帯
========================= */
.hub-band {
  display: block;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(0,0,0,.06);
  transition: transform .22s ease, box-shadow .22s ease;
  color: inherit;
  text-decoration: none;
  margin-top: 1.5rem;
  -webkit-tap-highlight-color: transparent;
}

.hub-band:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,.09);
  color: inherit;
  text-decoration: none;
}

.hub-band.is-current {
  pointer-events: none;
  box-shadow: 0 0 0 2px #c4b9a8;
  transform: none;
}

.hub-band-inner {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}

.hub-band-main {
  flex: 0 0 420px;
  max-width: 420px;
  min-height: 315px;
  position: relative;
  overflow: hidden;
  background: #eeebe6;
}

.hub-band-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .36s ease;
}

.hub-band:hover .hub-band-main img {
  transform: scale(1.03);
}

.hub-band.is-current .hub-band-main img {
  transform: none;
}

.hub-band-sub {
  display: flex;
  flex-direction: column;
  flex: 0 0 170px;
  max-width: 170px;
  gap: 2px;
  background: #e5e0d8;
}

.hub-band-sub-img {
  flex: 1;
  overflow: hidden;
  background: #eeebe6;
}

.hub-band-sub-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .36s ease;
}

.hub-band:hover .hub-band-sub-img img {
  transform: scale(1.04);
}

.hub-band-body {
  flex: 1 1 0;
  min-width: 220px;
  padding: 1.4rem 1.5rem 1.3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hub-band-eyebrow {
  display: block;
  font-size: .72rem;
  letter-spacing: .18em;
  color: #9a9186;
  margin-bottom: .3rem;
  text-transform: uppercase;
}

.hub-band-body h3 {
  margin: 0 0 .85rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1f1f1f;
  letter-spacing: .02em;
}

.hub-band-text {
  margin: 0 0 1rem;
  font-size: .9rem;
  line-height: 1.75;
  color: #7d7469;
}

.hub-band-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .48rem;
}

.hub-band-tags span {
  display: inline-block;
  padding: .36rem .7rem;
  border-radius: 999px;
  background: #f4efe7;
  border: 1px solid #e4dccf;
  color: #6d6253;
  font-size: .76rem;
  letter-spacing: .04em;
}

/* =========================
   レスポンシブ
========================= */
@media (max-width: 1199.98px) {
  .hub-band-main {
    flex: 0 0 360px;
    max-width: 360px;
    min-height: 270px;
  }

  .hub-band-sub {
    flex: 0 0 150px;
    max-width: 150px;
  }

  .hub-graphic-icon {
    width: 200px;
    max-width: 70%;
  }
}

@media (max-width: 991.98px) {
  .hub-top-row .hub-thumb {
    height: 200px;
  }

  .hub-graphic-icon {
    width: 180px;
    max-width: 68%;
  }

  .hub-band-main {
    flex: 0 0 300px;
    max-width: 300px;
    min-height: 225px;
  }

  .hub-band-sub {
    flex: 0 0 130px;
    max-width: 130px;
  }
}

@media (max-width: 767.98px) {
  .hub-top-row .hub-thumb {
    height: 180px;
  }

  .hub-thumb--graphic {
    padding: 14px;
  }

  .hub-graphic-icon {
    width: 150px;
    max-width: 66%;
  }

  .hub-body {
    padding: .85rem .95rem .95rem;
  }

  .hub-body p {
    font-size: .86rem;
    line-height: 1.6;
  }

  .hub-band-main {
    flex: 0 0 100%;
    max-width: 100%;
    min-height: 220px;
  }

  .hub-band-sub {
    flex-direction: row;
    flex: 0 0 100%;
    max-width: 100%;
    height: 120px;
  }

  .hub-band-body {
    padding: 1.1rem 1.15rem;
  }

  .hub-band-body h3 {
    font-size: 1rem;
  }
}

@media (max-width: 575.98px) {
  .hub-item-label {
    font-size: .74rem;
  }

  .hub-top-row .hub-thumb {
    height: 170px;
  }

  .hub-graphic-icon {
    width: 132px;
    max-width: 64%;
  }
}