@charset "UTF-8";

/* =========================
   Hero Notice Panel
========================= */
.hero-notice{
  max-width: 1080px;
  margin: 36px auto 26px;
  padding: 26px 22px 32px;
  text-align: center;
  background:
    radial-gradient(1200px 280px at 50% -80px, rgba(248,211,75,.16), transparent 60%),
    linear-gradient(180deg, var(--panel), rgba(255,255,255,.03));
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.06);
}

/* ─ バッジ列 */
.hero-badges{
  display:flex; flex-wrap:wrap;
  justify-content:center; align-items:center;
  gap:12px; margin-bottom:14px;
}
.badge{
  display:inline-flex; align-items:center; gap:.5ch;
  padding:8px 12px;
  border-radius:10px;
  font-weight:800; font-size:14px; letter-spacing:.02em;
  border:1px solid rgba(255,255,255,.14);
  white-space:nowrap;
}
.badge-hot{
  color:#fff;
  background: linear-gradient(180deg, #f87171, #dc2626);
  box-shadow: 0 8px 22px rgba(239,68,68,.38);
  position:relative;
}
.badge-hot::before{
  content:""; width:8px;height:8px;border-radius:50%;
  background:#fff; display:inline-block;
  box-shadow:0 0 0 0 rgba(255,255,255,.85);
  animation: ping 1.6s cubic-bezier(0,0,.2,1) infinite;
}
.badge-info{
  color:#e5e7eb;
  background: linear-gradient(180deg, rgba(17,24,39,.96), rgba(17,24,39,.88));
  box-shadow: 0 8px 22px rgba(0,0,0,.35);
}

/* ─ 見出し */
.hero-title{
  margin:4px 0 6px;
  line-height:1.15;
  font-weight:900;
  font-size: clamp(43px, 4.8vw, 54px);
  letter-spacing:.02em;
  /* 黄グラデを文字で切り抜き＋柔らかい光彩 */
  background: linear-gradient(180deg, #fff8c8 0%, var(--accent) 60%, #d1a300 100%);
  -webkit-background-clip:text; background-clip:text; color:#434b5e;
  text-shadow: 0 2px 0 rgba(0,0,0,.30), 0 18px 48px rgba(255,222,89,.22);
}
.hero-title .kakko{ letter-spacing:.05em; }
.hero-title .title-sub{ display:inline-block; margin-top:4px; }

/* ─ リード文 */
.hero-lead{
  margin: 6px 0 0;
  color: var(--muted);
  font-size: clamp(14px, 2.6vw, 16px);
}

/* =========================
   Countdown 強調フレーム
========================= */
.countdown-box{
  position: relative;
  isolation: isolate;           /* 枠の下に回転レイヤーを閉じ込める */
  max-width: 720px;
  margin: 20px auto 28px;
  padding: 22px 16px 18px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  box-shadow: 0 4px 12px rgba(0,0,0,.20);
}

/* 外周：回転するグラデーション枠 */
/*.countdown-box::before{
  content:"";
  position:absolute;
  inset:-2px;                   /* 外側に2px広げて太めに見せる */
  border-radius: inherit;
  background: conic-gradient(
    from 0deg,
    #f8d34b, #ef4444, #f59e0b, #f8d34b
  );
  /* 枠だけ見せる（中をくり抜く） */
  -webkit-mask: 
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  padding: 2px;
  z-index: -1;
  animation: spin 12s linear infinite;
}*/

/* 内側：うっすら線（情報の箱を締める） */
.countdown-box::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius: inherit;
  pointer-events:none;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset;
}

/* 見出し「締切まで」ピル */
.countdown-box > h4{
  position:absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  margin:0;
  padding: 6px 14px;
  font-weight: 800;
  font-size: 1.3em;
  letter-spacing: .08em;
  color: #0f1720;
  background: #fde68a;          /* 目立つ薄い黄 */
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(248,211,75,.35);
}

.cd-text-1{
	 font-size: 1.8em;
	font-weight: bold;
}

/* カードと数字（既存スタイルがある場合は強さを揃える） */
.countdown{
  display:grid;
  grid-template-columns: repeat(4,1fr);
  gap:14px;
}
.cd-card{
  text-align:center;
  background: rgba(0,0,0,.07);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 14px 8px;
}
.cd-num{
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  font-size: clamp(28px, 6vw, 42px);
  letter-spacing: .02em;
  line-height: 1;
  text-shadow: 0 10px 24px rgba(0,0,0,.35);
}
.cd-num.sec{ color:#ef4444; }
.cd-lbl{
  margin-top:6px;
  font-size:0.9em;
  color:#333333;
}

/* 枠の回転アニメーション */
@keyframes spin{
  to{ transform: rotate(360deg); }
}

/* 動きを減らしたいユーザー環境では停止 */
@media (prefers-reduced-motion: reduce){
  .countdown-box::before{ animation: none; }
}

/* モバイル微調整 */
@media (max-width: 640px){
  .countdown-box{ padding: 0px 12px 14px;width: 95%; margin: 0 auto;}
  .countdown{ gap:10px; }
  .cd-card{ padding: 12px 6px; }
  .countdown-box > h4{ top:-12px; font-size:13px; padding:6px 12px; }
}


/*===============


 見出しタイトル


===============*/



/**印刷

SyntaxHighlighterについて*/
    /* デフォルト：479px以下用（スマートフォン用）の記述 */

@media screen and (max-width:480px){



}


@media screen and (min-width:481px){




}



@media screen and (min-width:767px){




    /* 768px以上用（タブレット用）の記述 */
}



@media screen and (min-width:980px){



    /* 980px以上用（PC用）の記述 */
}

@media screen and (min-width:1023px){




}
