/* ==========================================================
   プロノ(ハミューレ) × ミツウマ コラボ第2弾 専用CSS
   - お知らせ詳細 news-detail-purono2.html の追加パーツ(.hm2-〜)
   - トップページのバナー広告(.collab-banner)
   style.css の色(ミツウマレッド #8a151b / 文字 #222 / Inter)に合わせています
   既存のクラスには影響しません
   ========================================================== */

/* ---------- 詳細ページ ---------- */
.hm2-label {
  display: inline-block;
  padding: 3px 12px;
  margin-bottom: 12px;
  background: #8a151b;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  border-radius: 2px;
}

.hm2-lead strong {
  background: linear-gradient(transparent 62%, #f3dcdd 62%);
}

/* 第1弾からのあゆみ */
.hm2-story {
  display: grid;
  grid-template-columns: 1fr 230px;
  gap: 32px;
  align-items: center;
}

.hm2-story-logo {
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  padding: 16px;
  background: #fff;
}

.hm2-textlink {
  color: #8a151b;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hm2-textlink:hover {
  opacity: .7;
}

/* ラインアップ */
.hm2-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid #e5e5e5;
}

.hm2-item:first-child {
  padding-top: 10px;
}

.hm2-item:nth-child(even) .hm2-item-img {
  order: 2;
}

.hm2-item-img {
  position: relative;
}

.hm2-item-img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.hm2-num {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  color: #fff;
  background: #222;
  padding: 3px 10px;
  border-radius: 2px;
}

.hm2-code {
  font-size: 13px;
  color: #888;
  letter-spacing: .06em;
  margin-bottom: 2px;
}

.hm2-name {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 10px;
}

.hm2-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #8a151b;
  border: 1px solid #8a151b;
  border-radius: 2px;
  padding: 0 8px;
  margin-left: 6px;
  vertical-align: middle;
}

.hm2-catch {
  font-weight: 700;
  color: #8a151b;
  margin-bottom: 12px;
}

.hm2-points {
  margin-bottom: 18px;
}

.hm2-points li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 4px;
  font-size: 14px;
  line-height: 1.7;
}

.hm2-points li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: .72em;
  width: 6px;
  height: 6px;
  background: #8a151b;
}

.hm2-spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.hm2-spec th,
.hm2-spec td {
  border-top: 1px solid #e5e5e5;
  padding: 7px 4px;
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}

.hm2-spec th {
  width: 4.8em;
  color: #777;
  font-weight: 400;
  white-space: nowrap;
}

.hm2-spec .nw {
  white-space: nowrap;
}

.hm2-price {
  font-size: 19px;
  font-weight: 700;
  color: #222;
}

.hm2-price small {
  font-size: 12px;
  font-weight: 400;
  margin-left: 2px;
}

/* 販売場所 */
.hm2-shop {
  background: #f6f5f3;
  border-radius: 4px;
  padding: 28px 30px 32px;
}

.hm2-shop-list {
  margin-bottom: 22px;
}

.hm2-shop-list li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 4px;
}

.hm2-shop-list li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: .72em;
  width: 6px;
  height: 6px;
  background: #8a151b;
}

.hm2-btns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hm2-btns .btn {
  padding: 14px 8px;
}

.hm2-notes {
  font-size: 13px;
  color: #777;
  line-height: 1.8;
}

.hm2-back {
  text-align: center;
  margin-top: 60px;
}

/* スクロールでふわっと表示 */
.hm2-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}

.hm2-fade.is-show {
  opacity: 1;
  transform: none;
}

@media (max-width: 768px) {
  .hm2-story {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hm2-story-logo {
    max-width: 260px;
  }

  .hm2-item {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 30px 0;
  }

  .hm2-item:nth-child(even) .hm2-item-img {
    order: 0;
  }

  .hm2-shop {
    padding: 24px 18px 26px;
  }

  .hm2-btns {
    grid-template-columns: 1fr;
  }
}

/* ---------- トップページ用 バナー広告 ---------- */
.collab-banner {
  padding: 20px 0 60px;
}

.collab-banner-link {
  display: grid;
  grid-template-columns: 340px 1fr;
  border: 1px solid #222;
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.collab-banner-text {
  background: #222;
  color: #fff;
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.collab-banner-vol {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  background: #8a151b;
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 16px;
  transition: background .3s, color .3s;
}

.collab-banner-sub {
  font-size: 13px;
  letter-spacing: .08em;
  opacity: .8;
  margin-bottom: 6px;
}

.collab-banner-title {
  font-size: 25px;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 14px;
}

.collab-banner-desc {
  font-size: 13px;
  line-height: 1.8;
  opacity: .9;
  margin-bottom: 22px;
}

.collab-banner-more {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  align-self: flex-start;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid #fff;
  border-radius: 2px;
  padding: 10px 20px;
  transition: background .3s, color .3s;
}

.collab-banner-img {
  overflow: hidden;
  display: flex;
  align-items: center;
}

.collab-banner-img img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .6s ease;
}

.collab-banner-link:hover .collab-banner-img img {
  transform: scale(1.03);
}

.collab-banner-link:hover .collab-banner-more {
  background: #fff;
  color: #222;
}

.collab-banner-link:hover .collab-banner-more .arrow-long {
  background-color: #222;
}

.collab-banner-link:hover .collab-banner-more .arrow-long::after {
  border-color: #222;
}

@media (max-width: 900px) {
  .collab-banner-link {
    grid-template-columns: 1fr;
  }

  .collab-banner-img {
    order: -1;
  }

  .collab-banner-text {
    padding: 24px 20px;
  }

  .collab-banner-title {
    font-size: 21px;
  }
}

/* お知らせスライダー：赤いバーが枠の外にはみ出さないように */
.news-progress {
  overflow: hidden;
}
