/* /assets/css/hero.css  (MAG HERO only / clean) */

/* =========================
   HERO (MAGAZINE COVER)
   ========================= */

.hero--mag{
  position: relative;
  min-height: clamp(520px, 70vh, 820px);
  overflow: hidden;
  color: #fff;

  /* 下の追従UI（mb-sticky）と被らない余白 */
  padding-bottom: 120px;
}

/* ===== BG VIDEO ===== */
.hero--mag .hero-bg{
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero--mag .hero-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;

  /* “表紙”にするため、主張を弱める */
  filter: grayscale(.12) saturate(.35) contrast(.92) brightness(1.08);
  opacity: .58;
  transform: scale(1.03);
}

/* ===== EDITORIAL FILM (色面 + 読みやすさ) ===== */
.hero--mag .hero-film{
  position: absolute;
  inset: 0;
  z-index: 1;

  /* 角だけに色を置く（全面ベタにならない） */
  background:
    radial-gradient(720px 480px at 18% 22%, rgba(255,42,109,.22), rgba(255,42,109,0) 62%),
    radial-gradient(720px 480px at 82% 20%, rgba(40,200,255,.22), rgba(40,200,255,0) 62%),
    radial-gradient(720px 520px at 42% 92%, rgba(241,255,69,.18), rgba(241,255,69,0) 70%),

    /* 中央だけ薄く暗くして文字を安定 */
    radial-gradient(980px 560px at 50% 55%, rgba(0,0,0,.20), rgba(0,0,0,0) 72%),

    /* 下へほんのり暗く */
    linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.30));
}

/* ハーフトーン（極薄） */
.hero--mag .hero-film::after{
  content:"";
  position: absolute;
  inset: -40px;
  background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1.7px);
  background-size: 12px 12px;
  opacity: .11;
  transform: rotate(-6deg);
  pointer-events: none;
}

/* ===== INNER LAYOUT ===== */
.hero--mag .hero-inner{
  position: relative;
  z-index: 2;

  /* header下 + 余白 */
  padding: 110px 16px 70px;

  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 22px;

  /* 重心が揃う（end だと肩書きが浮く） */
  align-items: center;
}

/* 左の塊 */
.hero--mag .hero-main{
  max-width: 640px;
}

/* 肩書き：サブタイトル（ロゴに添える） */
.hero--mag .hero-title{
  margin: 0 0 10px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.25;
  opacity: .80;
  font-size: clamp(13px, 1.3vw, 18px);
  text-shadow: 0 10px 26px rgba(0,0,0,.35);
  transform: none;
}

/* ロゴ：主役（画像ロゴ） */
.hero--mag .hero-brand{
  margin: 0 0 16px;
}

.hero--mag .hero-brand-mark{
  display: block;
  width: min(580px, 60vw);
  max-width: 580px;
  height: auto;
  object-fit: contain;

  filter: drop-shadow(0 18px 34px rgba(0,0,0,.34));
  opacity: 1;
}

/* リード：読みやすさ優先 */
.hero--mag .hero-lead{
  margin: 0 0 18px;
  line-height: 1.7;
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 900;
  opacity: .92;
  text-shadow: 0 10px 26px rgba(0,0,0,.35);
}

/* CTA */
.hero--mag .hero-ctas{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 14px;
}

/* ボタン（.btn を使ってるので hero内で上書き） */
.hero--mag .btn.btn--pop{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;

  font-weight: 1000;
  letter-spacing: .08em;

  border: 3px solid rgba(255,255,255,.9);
  box-shadow: 10px 10px 0 rgba(0,0,0,.36);

  text-decoration: none;
  color: #fff;
}

.hero--mag .btn--cyan{ background: linear-gradient(135deg,#1ecbff,#2a6bff); }
.hero--mag .btn--pink{ background: linear-gradient(135deg,#ff2a6d,#ff7a18); }

.hero--mag .btn.btn--pop:active{
  transform: translateY(2px);
  box-shadow: 6px 6px 0 rgba(0,0,0,.36);
}

/* ticker（編集部枠） */
.hero--mag .hero-ticker{
  display: flex;
  gap: 10px;
  align-items: center;

  padding: 10px 12px;
  border-radius: 16px;

  background: rgba(255,255,255,.14);
  border: 2px solid rgba(255,255,255,.6);
  backdrop-filter: blur(10px);

  box-shadow: 10px 10px 0 rgba(0,0,0,.30);

  max-width: 560px;
  opacity: .92;
}

.hero--mag .ticker-label{
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: .14em;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(241,255,69,.92);
  color: #0b2a55;
}

.hero--mag .ticker-item{
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  opacity: .95;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== RIGHT STICKERS ===== */
.hero--mag .hero-side{
  display: grid;
  gap: 12px;
  justify-items: end;

  /* ロゴ主役に寄せるため控えめに */
  opacity: .94;
  transform: translateY(6px);
}

.hero--mag .sticker{
  width: min(320px, 92%);
  background: rgba(255,255,255,.92);
  color: #0b2a55;
  border-radius: 16px;

  border: 3px solid rgba(6,48,85,.50);
  box-shadow: 12px 12px 0 rgba(6,48,85,.26);

  padding: 12px 14px;
  text-decoration: none;

  transform: rotate(.7deg);
}

.hero--mag .sticker:nth-child(2){ transform: rotate(-.7deg); }
.hero--mag .sticker:nth-child(3){ transform: rotate(.4deg); }

.hero--mag .sticker-k{
  display: block;
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: .12em;
  opacity: .65;
  margin-bottom: 6px;
}

.hero--mag .sticker-t{
  display: block;
  font-weight: 1000;
  line-height: 1.25;
}

.hero--mag .sticker-s{
  display: block;
  margin-top: 6px;
  font-size: 12px;
  opacity: .72;
}

/* ステッカー別色味（控えめ） */
.hero--mag .sticker--insta{
  border-color: rgba(255,42,109,.48);
  box-shadow: 12px 12px 0 rgba(255,42,109,.16);
}
.hero--mag .sticker--anime{
  border-color: rgba(40,200,255,.48);
  box-shadow: 12px 12px 0 rgba(40,200,255,.16);
}
.hero--mag .sticker--noon{
  border-color: rgba(241,255,69,.58);
  box-shadow: 12px 12px 0 rgba(241,255,69,.14);
}

/* =========================
   Responsive
   ========================= */

@media (max-width: 860px){
  .hero--mag .hero-inner{
    grid-template-columns: 1fr;
    align-items: start;
    padding: 92px 16px 60px;
  }

  /* 追従バーと被らないように余白追加 */
  .hero--mag{
    padding-bottom: 150px;
  }

  /* ステッカーは横スクロール帯に */
  .hero--mag .hero-side{
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 1fr);
    overflow-x: auto;
    justify-items: start;
    padding-bottom: 8px;
    scrollbar-width: none;
    transform: none;
    opacity: 1;
  }
  .hero--mag .hero-side::-webkit-scrollbar{ display:none; }
  .hero--mag .sticker{ width: 260px; }
}

@media (max-width: 680px){
  /* 肩書き：さらに小さく */
  .hero--mag .hero-title{
    font-size: 12px;
    letter-spacing: .12em;
    margin-bottom: 8px;
  }

  /* ロゴ：スマホは少しだけ抑える */
  .hero--mag .hero-brand-mark{
    width: min(420px, 84vw);
    max-width: 420px;
  }

  /* CTAは折り返しOK */
  .hero--mag .hero-ctas{
    flex-wrap: wrap;
  }
}

/* 低速回線/省データ/OS設定で動画を止めても見えるように */
@media (prefers-reduced-motion: reduce){
  .hero--mag .hero-video{ display:none; }
  .hero--mag .hero-bg{
    background: url("/assets/img/hero-poster.jpg") center/cover no-repeat;
  }
}

/* =========================
   PC tuning (hero--mag)
   ========================= */
@media (min-width: 861px){

  /* 背景をもう少し暗く（動画自体 + フィルム） */
  .hero--mag .hero-video{
    opacity: .46;                 /* 0.58 → 0.46 */
    filter: grayscale(.12) saturate(.30) contrast(.90) brightness(.96);
  }
  .hero--mag .hero-film{
    /* 暗幕を少し強める */
    background:
      radial-gradient(720px 480px at 18% 22%, rgba(255,42,109,.20), rgba(255,42,109,0) 62%),
      radial-gradient(720px 480px at 82% 20%, rgba(40,200,255,.20), rgba(40,200,255,0) 62%),
      radial-gradient(720px 520px at 42% 92%, rgba(241,255,69,.16), rgba(241,255,69,0) 70%),
      radial-gradient(980px 560px at 50% 55%, rgba(0,0,0,.30), rgba(0,0,0,0) 72%),
      linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.42));
  }

  /* 左ブロック全体を“中央寄り”へ（=表紙の重心） */
  .hero--mag .hero-inner{
    /* 左右余白を増やして中央へ寄せる */
    padding-left: 64px;
    padding-right: 64px;

    /* 左カラムを少し広げて、左ブロックが中央に来やすくする */
    grid-template-columns: 1.25fr .75fr;
    gap: 28px;
  }

  /* 左の塊：最大幅を少し広げつつ、左寄りすぎを防ぐ */
  .hero--mag .hero-main{
    max-width: 720px;
  }

  /* H1を大きく、ロゴに寄せる */
  .hero--mag .hero-title{
    font-size: clamp(16px, 1.6vw, 22px); /* 少し大きく */
    margin-bottom: 6px;                  /* ロゴへ寄せる */
    opacity: .86;
  }

  /* ロゴの上余白を詰めて“くっつける” */
  .hero--mag .hero-brand{
    margin-top: 0;
    margin-bottom: 14px;                 /* 少し詰める */
  }

  /* ロゴをほんの少し大きくして主役感 */
  .hero--mag .hero-brand-mark{
    width: min(640px, 54vw);
    max-width: 640px;
  }
}
@media (min-width: 861px){
  .hero--mag .hero-main{ padding-left: 40px; }
}

/* =========================
   PC: H1 & LOGO hard align
   ========================= */
@media (min-width: 861px){

  /* 左ブロックを“1ユニット”として固定 */
  .hero--mag .hero-main{
    display: flex;
    flex-direction: column;
    align-items: flex-start;   /* 左揃えで基準線を統一 */
  }

  /* H1：ロゴ直上に固定 */
  .hero--mag .hero-title{
    margin-bottom: 2px !important;   /* とにかく詰める */
    font-size: clamp(18px, 1.8vw, 24px);
    line-height: 1.2;
    letter-spacing: .12em;
  }

  /* ロゴ：H1に吸い付くように */
  .hero--mag .hero-brand{
    margin-top: 0 !important;
    margin-bottom: 12px;
  }

  .hero--mag .hero-brand-mark{
    display: block;
    width: min(640px, 54vw);
    max-width: 640px;

    /* 視覚的にH1に近づける（保険） */
    margin-top: -2px;
  }

  /* 左ブロック全体を中央寄りにスライド */
  .hero--mag .hero-main{
    margin-left: 60px;   /* ← ここで“中央寄せ感”を作る */
  }
}

@media (min-width: 861px){
  .hero--mag .hero-brand-mark{
    transform: translateX(-12px);  /* ロゴだけ左へ寄せる */
  }
}
/* =========================
   HERO editorial note
   ========================= */
/* =========================
   HERO editorial (media style)
   ========================= */
.hero--mag .hero-editorial{
  position: absolute;
  top: 92px;
  left: 64px;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 6px 12px;
  border-radius: 999px;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;

  color: rgba(255,255,255,.92);
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.35);

  backdrop-filter: blur(6px);
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
}

/* 先頭に“編集部”バッジ感を出す */
.hero--mag .hero-editorial::before{
  content: "EDITORIAL";
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;

  padding: 4px 8px;
  border-radius: 999px;

  background: rgba(255,255,255,.9);
  color: #0b2a55;
}


/* モバイルは非表示 or 下に回す */
@media (max-width: 860px){
  .hero--mag .hero-editorial{
    display: none;
  }
}

/* =========================
   Editorial: IN-FLOW (fix)
   ========================= */
@media (min-width: 861px){

  /* 左ブロックを少し中央寄りに（任意だけど効く） */
  .hero--mag .hero-main{
    margin-left: 60px;
  }

  /* editorialは絶対配置をやめて、左ブロックの先頭に置く */
  .hero--mag .hero-editorial{
    position: static !important;
    display: inline-flex;
    align-items: center;
    gap: 10px;

    max-width: 520px;          /* 長文を制御 */
    flex-wrap: wrap;           /* 必要なら折り返す */

    padding: 7px 12px;
    border-radius: 999px;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;

    color: rgba(255,255,255,.92);
    background: rgba(0,0,0,.38);
    border: 1px solid rgba(255,255,255,.32);
    backdrop-filter: blur(6px);
    box-shadow: 0 10px 26px rgba(0,0,0,.28);

    margin: 0 0 10px;          /* H1との距離 */
  }

  .hero--mag .hero-editorial::before{
    content: "EDITORIAL";
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .18em;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    color: #0b2a55;
  }

  /* H1は“編集見出し”として少しだけ下げる */
  .hero--mag .hero-title{
    margin-top: 0 !important;
  }
}

/* =========================
   Mobile: show editorial
   ========================= */
@media (max-width: 860px){
  .hero--mag .hero-editorial{
    display: inline-flex !important;  /* ←消えてるのを復活 */
    position: static !important;
    margin: 0 0 10px;
    max-width: 92%;
    flex-wrap: wrap;

    font-size: 10px;
    padding: 6px 10px;
    border-radius: 999px;

    background: rgba(0,0,0,.40);
    border: 1px solid rgba(255,255,255,.28);
    color: rgba(255,255,255,.92);
    box-shadow: 0 10px 24px rgba(0,0,0,.22);
    backdrop-filter: blur(6px);
  }

  .hero--mag .hero-editorial::before{
    font-size: 9px;
    padding: 3px 7px;
  }
}

/* =========================
   Mobile: cover-style tightening
   ========================= */
@media (max-width: 680px){

  /* HERO全体：上を詰める（ヘッダー分だけ残す） */
  .hero--mag .hero-inner{
    padding-top: 58px !important;   /* 90px前後 → 58px */
    padding-bottom: 54px !important;
    gap: 10px;
  }

  /* 左ブロック：上に寄せる */
  .hero--mag .hero-main{
    margin-top: -6px;              /* さらに“表紙感” */
  }

  /* EDITORIAL：薄く小さく、上に寄せる */
  .hero--mag .hero-editorial{
    margin: 0 0 8px !important;
    padding: 5px 10px;
    font-size: 9.5px;
    max-width: 94%;
  }
  .hero--mag .hero-editorial::before{
    font-size: 9px;
    padding: 3px 7px;
  }

  /* H1（肩書き）：上に詰める */
  .hero--mag .hero-title{
    margin: 0 0 6px !important;
    font-size: 12px;
    letter-spacing: .12em;
    opacity: .88;
  }

  /* ロゴ：上に詰める + ちょいだけ大きく */
  .hero--mag .hero-brand{
    margin: 0 0 10px !important;
  }
  .hero--mag .hero-brand-mark{
    width: min(440px, 90vw) !important;
    max-width: 440px !important;
  }

  /* リード：間隔を詰めて“見出し下の本文”っぽく */
  .hero--mag .hero-lead{
    margin: 0 0 12px !important;
    line-height: 1.6;
    font-size: 12.5px;
  }

  /* CTA：少しだけ上に寄せる */
  .hero--mag .hero-ctas{
    margin: 0 0 10px !important;
    gap: 10px;
  }

  /* PICK UP：詰める */
  .hero--mag .hero-ticker{
    margin-top: 6px;
  }
}



/* =========================
   HERO LIVE PANEL
   ========================= */
.hero--mag .hero-inner{
  grid-template-columns: 1.15fr .85fr; /* そのままでOK */
}

.hero--mag .hero-live{
  display: grid;
  gap: 12px;
  justify-items: end;
}

.live-card{
  width: min(360px, 92%);
  background: rgba(255,255,255,.92);
  border: 3px solid rgba(6,48,85,.55);
  border-radius: 18px;
  box-shadow: 12px 12px 0 rgba(6,48,85,.28);
  padding: 14px 14px 12px;
  backdrop-filter: blur(10px);
}

.live-head{
  display:flex;
  align-items:center;
  gap: 10px;
  margin-bottom: 10px;
}

.live-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ff2a6d;
  box-shadow: 0 0 0 6px rgba(255,42,109,.18);
  animation: livePulse 1.2s infinite ease-in-out;
}
@keyframes livePulse{
  0%,100%{ transform: scale(1); opacity: 1; }
  50%{ transform: scale(1.15); opacity: .65; }
}

.live-title{
  font-weight: 1000;
  letter-spacing: .14em;
  color: #0b2a55;
  font-size: 12px;
}

.live-sub{
  margin-left:auto;
  font-size: 11px;
  color: rgba(11,42,85,.55);
  font-weight: 800;
}

.live-list{
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  display: grid;
  gap: 8px;
}

.live-item{
  display: grid;
  gap: 2px;
  padding: 10px 10px;
  border-radius: 14px;
  border: 1px solid rgba(11,42,85,.14);
  background: rgba(255,255,255,.75);
}

.live-item a{
  text-decoration: none;
  color: #0b2a55;
  font-weight: 900;
  line-height: 1.3;
}

.live-date{
  font-size: 11px;
  color: rgba(11,42,85,.55);
  font-weight: 800;
  letter-spacing: .06em;
}

.live-more{
  display: inline-block;
  margin-top: 2px;
  font-weight: 900;
  letter-spacing: .08em;
  font-size: 12px;
  color: #0b2a55;
  text-decoration: none;
}

.live-mini{
  width: min(360px, 92%);
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(0,0,0,.30);
  border: 1px solid rgba(255,255,255,.28);
  color: rgba(255,255,255,.92);
  box-shadow: 10px 10px 0 rgba(0,0,0,.28);
  backdrop-filter: blur(8px);
}
.live-mini-label{
  display:block;
  font-size: 11px;
  letter-spacing: .14em;
  font-weight: 900;
  opacity: .85;
  margin-bottom: 6px;
}
.live-mini-text{
  display:block;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}

/* mobile: live panel is horizontal scroll */
@media (max-width: 860px){
  .hero--mag .hero-inner{
    grid-template-columns: 1fr;
  }
  .hero--mag .hero-live{
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 1fr);
    overflow-x: auto;
    justify-items: start;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .hero--mag .hero-live::-webkit-scrollbar{ display:none; }
  .live-card, .live-mini{ width: 280px; }
}

/* =========================
   MB BULLETIN (live feeling without NEWS duplication)
   ========================= */
.mb-bulletin{
  display:flex;
  align-items:center;
  gap: 10px;

  margin: 10px 0 12px;
  padding: 10px 12px;

  border-radius: 16px;
  background: rgba(255,255,255,.14);
  border: 2px solid rgba(255,255,255,.55);
  backdrop-filter: blur(10px);
  box-shadow: 10px 10px 0 rgba(0,0,0,.30);

  max-width: 560px;
}

.mb-badge{
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: .18em;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: #0b2a55;
}

.mb-bulletin-text{
  color:#fff;
  font-weight: 900;
  opacity: .95;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ちょい“動き” */
.mb-bulletin-text.is-flash{
  animation: mbFlash .7s ease-in-out;
}
@keyframes mbFlash{
  0%{ opacity:.35; transform: translateY(1px); }
  100%{ opacity:.95; transform: translateY(0); }
}

/* mobile */
@media (max-width: 680px){
  .mb-bulletin{
    max-width: 92%;
    margin: 8px 0 10px;
  }
  .mb-bulletin-text{ font-size: 12px; }
}

/* =========================
   HERO PICKS (independent cards + thumb)
   ========================= */
.hero--mag .hero-picks{
  display: grid;
  gap: 12px;
  justify-items: end;
  align-content: center;
}

.hero--mag .pick-card{
  width: min(360px, 92%);
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;

  padding: 12px;
  border-radius: 18px;

  background: rgba(255,255,255,.92);
  border: 3px solid rgba(6,48,85,.55);
  box-shadow: 12px 12px 0 rgba(6,48,85,.26);

  text-decoration: none;
  color: #0b2a55;

  backdrop-filter: blur(10px);
  transition: transform .15s ease, box-shadow .15s ease;
}

.hero--mag .pick-card:hover{
  transform: translateY(-2px);
  box-shadow: 16px 16px 0 rgba(6,48,85,.22);
}

.hero--mag .pick-thumb{
  width: 96px;
  height: 96px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(11,42,85,.16);
  background: rgba(255,255,255,.6);
}

.hero--mag .pick-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero--mag .pick-body{
  display: grid;
  gap: 6px;
  align-content: center;
  min-width: 0;
}

.hero--mag .pick-kicker{
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: .16em;
  opacity: .55;
}

/* タイトルを大きく（主役） */
.hero--mag .pick-title{
  font-size: 16px;
  font-weight: 1000;
  line-height: 1.25;
  letter-spacing: .02em;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero--mag .pick-desc{
  font-size: 12px;
  color: rgba(11,42,85,.68);
  line-height: 1.4;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== Mobile: 横スクロール棚 ===== */
@media (max-width: 860px){
  .hero--mag .hero-picks{
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 1fr);
    overflow-x: auto;
    justify-items: start;
    padding-bottom: 8px;
    scrollbar-width: none;
    align-content: start;
  }
  .hero--mag .hero-picks::-webkit-scrollbar{ display:none; }

  .hero--mag .pick-card{
    width: 280px;
    grid-template-columns: 88px 1fr;
  }
  .hero--mag .pick-thumb{
    width: 88px;
    height: 88px;
  }
  .hero--mag .pick-title{
    font-size: 15px;
  }
}

/* =========================
   HERO PICKS: feature layout
   ========================= */

/* 右側全体：縦に積む */
.hero--mag .hero-picks{
  display: grid;
  gap: 14px;
  justify-items: end;
}

/* ===== メイン特集（1記事目） ===== */
.hero--mag .pick-card.is-feature{
  width: min(420px, 96%);
  grid-template-columns: 140px 1fr;   /* サムネ大きく */
  padding: 16px;
  box-shadow: 16px 16px 0 rgba(6,48,85,.28);
}

.hero--mag .pick-card.is-feature .pick-thumb{
  width: 140px;
  height: 140px;
  border-radius: 18px;
}

.hero--mag .pick-card.is-feature .pick-title{
  font-size: 20px;      /* タイトルをドン */
  line-height: 1.25;
}

.hero--mag .pick-card.is-feature .pick-desc{
  font-size: 13px;
  white-space: normal;  /* 2行くらい見せる */
}

/* ===== サブ2記事（少し小さめ） ===== */
.hero--mag .pick-card:not(.is-feature){
  width: min(360px, 92%);
  grid-template-columns: 96px 1fr;
}

.hero--mag .pick-card:not(.is-feature) .pick-thumb{
  width: 96px;
  height: 96px;
}

.hero--mag .pick-card:not(.is-feature) .pick-title{
  font-size: 15px;
}

/* ===== Mobile: 横スクロールでも大小 ===== */
@media (max-width: 860px){

  .hero--mag .hero-picks{
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 1fr);
    overflow-x: auto;
    justify-items: start;
  }

  /* メイン特集：モバイルでも少し大きく */
  .hero--mag .pick-card.is-feature{
    width: 320px;
    grid-template-columns: 120px 1fr;
  }
  .hero--mag .pick-card.is-feature .pick-thumb{
    width: 120px;
    height: 120px;
  }
  .hero--mag .pick-card.is-feature .pick-title{
    font-size: 18px;
  }

  /* サブ */
  .hero--mag .pick-card:not(.is-feature){
    width: 260px;
  }
}
/* =========================
   HERO HUB (right side features) - CLEAN
   PC: 1st huge / 2-3 row
   Mobile: all same size + horizontal shelf
   ========================= */

.hero--mag .hero-hub{
  display: grid;
  gap: 16px;
  justify-items: end;
  align-content: center;
}

/* =========================
   CARD base (not transparent)
   ========================= */

.hero--mag .hub-card{
  --accent: rgba(122,166,255,.55); /* default */

  width: min(520px, 34vw);
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 14px;

  padding: 14px;
  border-radius: 22px;
  text-decoration: none;
  color: #0b2a55;

  background: #fff;                 /* ←透けない */
  border: 3px solid rgba(6,48,85,.18);
  box-shadow:
    12px 12px 0 rgba(6,48,85,.16),
    0 18px 44px rgba(0,0,0,.16);

  position: relative;
  overflow: hidden;

  outline: 3px solid var(--accent);
  outline-offset: -3px;

  transition: transform .15s ease, box-shadow .15s ease;
}

@media (hover:hover){
  .hero--mag .hub-card:hover{
    transform: translateY(-2px);
    box-shadow:
      14px 14px 0 rgba(6,48,85,.14),
      0 26px 70px rgba(0,0,0,.20);
  }
}

/* accent by modifier class */
.hero--mag .hub-card--feature{ --accent: rgba(255,42,109,.55); }
.hero--mag .hub-card--series { --accent: rgba(40,200,255,.55); }
.hero--mag .hub-card--guide  { --accent: rgba(241,255,69,.65); }

/* =========================
   THUMB
   ========================= */

.hero--mag .hub-thumb{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, rgba(11,42,85,.10), rgba(255,42,109,.10));

  border: 2px solid rgba(255,255,255,.88);
  box-shadow: 8px 8px 0 rgba(0,0,0,.16);
}

.hero--mag .hub-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================
   BADGE (FEATURE/SERIES/GUIDE)
   ========================= */

.hero--mag .hub-badge{
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;

  font-size: 10px;
  font-weight: 1000;
  letter-spacing: .14em;

  padding: 6px 10px;
  border-radius: 999px;

  color: #fff;
  border: 2px solid rgba(255,255,255,.86);
  box-shadow: 6px 6px 0 rgba(0,0,0,.18);
}

.hero--mag .hub-badge--feature{ background: #ff2a6d; }
.hero--mag .hub-badge--series { background: #28c8ff; }
.hero--mag .hub-badge--guide  { background: #f1ff45; color:#0b2a55; }

/* =========================
   TEXT
   ========================= */

.hero--mag .hub-body{
  display: grid;
  gap: 8px;
  align-content: center;
  min-width: 0;
}

.hero--mag .hub-kicker{
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: .14em;
  opacity: .75;
}

.hero--mag .hub-title{
  margin: 0;
  font-size: 18px;
  font-weight: 1000;
  line-height: 1.15;
  letter-spacing: .02em;
}

.hero--mag .hub-meta{
  margin: 0;
  font-size: 12px;
  color: rgba(11,42,85,.68);

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero--mag .hub-cta{
  margin-top: 2px;
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: .08em;
  color: #0b2a55;
}

/* =========================
   PC: 1st huge / 2-3 row
   ========================= */
@media (min-width: 861px){

  /* 1枚目：特大 */
  .hero--mag .hub-card.is-feature{
    width: min(720px, 44vw);
    grid-template-columns: 240px 1fr;
    padding: 20px;

    box-shadow:
      18px 18px 0 rgba(6,48,85,.16),
      0 34px 90px rgba(0,0,0,.22);
  }

  .hero--mag .hub-card.is-feature .hub-thumb{
    border-radius: 22px;
    box-shadow: 10px 10px 0 rgba(0,0,0,.16);
  }

  .hero--mag .hub-card.is-feature .hub-title{
    font-size: 32px; /* PCはドカン */
    line-height: 1.12;
  }

  .hero--mag .hub-card.is-feature .hub-meta{
    white-space: normal;
    overflow: visible;
  }

  /* 2-3枚目：横組み（指定クラスのみ） */
  .hero--mag .hub-card.is-row{
    width: min(520px, 34vw);
    grid-template-columns: 160px 1fr;
    padding: 14px;
  }

  .hero--mag .hub-card.is-row .hub-thumb{
    aspect-ratio: 4 / 3; /* 横長にして“横組み”感 */
  }

  .hero--mag .hub-card.is-row .hub-title{
    font-size: 18px;
  }
}

/* =========================
   Mobile: all same + shelf
   ========================= */
@media (max-width: 860px){

  /* 右側を“横スクロール棚”に */
  .hero--mag .hero-hub{
    grid-auto-flow: column;
    grid-auto-columns: 300px;
    overflow-x: auto;
    justify-items: start;
    align-content: start;
    padding-bottom: 10px;
    scrollbar-width: none;
  }
  .hero--mag .hero-hub::-webkit-scrollbar{ display:none; }

  /* 3枚とも同じサイズ（is-feature / is-row を無効化） */
  .hero--mag .hub-card,
  .hero--mag .hub-card.is-feature,
  .hero--mag .hub-card.is-row{
    width: 300px;
    grid-template-columns: 110px 1fr;
    padding: 12px;
  }

  .hero--mag .hub-thumb,
  .hero--mag .hub-card.is-feature .hub-thumb,
  .hero--mag .hub-card.is-row .hub-thumb{
    aspect-ratio: 1 / 1;
    border-radius: 18px;
  }

  .hero--mag .hub-title,
  .hero--mag .hub-card.is-feature .hub-title,
  .hero--mag .hub-card.is-row .hub-title{
    font-size: 16px;
    line-height: 1.18;
  }

  .hero--mag .hub-meta{
    font-size: 12px;
  }
}


@media (max-width: 860px){
  .hero--mag{
    min-height: auto !important;  /* ←これが効く */
  }
}
:root{
  --mb-sticky-h: 0px;            /* PCは0でもOK */
  --mb-sticky-h-mobile: 92px;    /* 実測に合わせて調整 */
}

.hero--mag{
  padding-bottom: calc(24px + var(--mb-sticky-h));
}

@media (max-width: 860px){
  .hero--mag{
    padding-bottom: calc(16px + var(--mb-sticky-h-mobile)) !important;
  }
}