/* ぽんのセール速報
   Layout: 1カラム。トップは「今日開催中」「もうすぐ始まる」をネットショップとお店に分けて並べ、
   楽天の毎月の日→大型セールのカード→これから来るセールの順。セールのページはネットショップとお店の2つの表に、
   店名の行と期間の横棒を並べる。スマホでは横棒が行の下に回る。
   色: 白に近い桜色の地、くすみローズのアクセント、やわらかいミントとアプリコットで状態を分ける */
:root {
  --bg: #fdf6f7;
  --surface: #ffffff;
  --fg: #4a3a45;
  --muted: #8b7a85;
  --line: #f1e2e7;
  --accent: #df5f86;
  --accent-soft: #fde8ef;
  --soon: #b3621c;
  --soon-soft: #fff0df;
  --live: #23896a;
  --live-soft: #e0f4ec;
  --bar: #ee93ae;
  --bar-past: #e7dce1;
  --shadow: 0 1px 2px rgba(150, 90, 115, .06), 0 6px 18px rgba(150, 90, 115, .07);
  color-scheme: light;
  --font: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font); font-size: 15px; line-height: 1.75;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 0 56px;
}
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: 880px; margin: 0 auto; display: grid; gap: 30px; }

/* ヘッダー */
.site-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding-block: 18px 0; }
.logo { font-weight: 900; font-size: 18px; text-decoration: none; letter-spacing: .02em; }
.logo span { color: var(--accent); }
.updated { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }

.hero { display: grid; gap: 10px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--accent); }
h1 { font-weight: 900; font-size: clamp(25px, 6.4vw, 38px); line-height: 1.35; margin: 0; text-wrap: balance; }
h1 .num { color: var(--accent); }
.lead { margin: 0; color: var(--muted); word-break: keep-all; overflow-wrap: anywhere; line-break: strict; }
.lead br.pc { display: none; }
@media (min-width: 720px) { .lead br.pc { display: inline; } }
.lead strong { color: var(--fg); }
h2 { font-size: 19px; font-weight: 900; margin: 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
h2 small { font-size: 12px; font-weight: 500; color: var(--muted); }
h3 { font-size: 14px; font-weight: 700; margin: 0 0 8px; color: var(--muted); display: flex; align-items: baseline; gap: 8px; }
.count { font-size: 12px; font-weight: 700; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 0 9px; }
section { display: grid; gap: 12px; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sub-sec { min-width: 0; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { font-size: 13px; font-weight: 700; padding: 4px 13px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.pill.live { color: var(--live); background: var(--live-soft); border-color: transparent; }
.pill.hon { color: var(--accent); background: var(--accent-soft); border-color: transparent; }
.pill.soon { color: var(--soon); background: var(--soon-soft); border-color: transparent; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { font-size: 13px; font-weight: 700; text-decoration: none; color: var(--accent); padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--accent-soft); background: var(--surface); }
.jump a:hover { border-color: var(--accent); }

/* 行リスト（トップの速報・楽天の日） */
.list { background: var(--surface); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; padding: 14px 18px; }
.item + .item { border-top: 1px solid var(--line); }
.item .main { min-width: 0; display: grid; gap: 2px; }
.item .title { font-weight: 700; font-size: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.item .sub { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.item .go { font-size: 13px; font-weight: 700; text-decoration: none; padding: 6px 14px; border-radius: 999px; color: var(--accent); background: var(--accent-soft); white-space: nowrap; }
.item .go:hover { background: var(--accent); color: var(--surface); }
.more { display: block; width: 100%; font: inherit; font-size: 14px; font-weight: 700; text-align: center; text-decoration: none; color: var(--accent); background: var(--surface); border: 0; border-top: 1px solid var(--line); padding: 12px 18px; cursor: pointer; }
.more:hover { background: var(--accent-soft); }
.empty { padding: 16px 18px; color: var(--muted); font-size: 14px; }
.pr { font-size: 10px; font-weight: 700; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 0 4px; margin-left: 4px; vertical-align: 1px; }

.chip { font-size: 12px; font-weight: 700; padding: 1px 10px; border-radius: 999px; white-space: nowrap; }
.chip.live { color: var(--live); background: var(--live-soft); }
.chip.soon { color: var(--soon); background: var(--soon-soft); }
.chip.later { color: var(--accent); background: var(--accent-soft); }
.chip.done { color: var(--muted); background: var(--bg); }
.chip.tba { color: var(--muted); background: var(--bg); border: 1px dashed var(--muted); }
.genre { font-size: 11px; font-weight: 500; color: var(--muted); background: var(--bg); border-radius: 999px; padding: 0 8px; }

/* 大型セールのカード */
.feature { display: grid; gap: 10px; text-decoration: none; background: var(--accent-soft); border: 1.5px solid transparent; border-radius: 22px; padding: 20px 22px; }
.feature:hover { border-color: var(--accent); }
.feature .ft { font-size: 22px; font-weight: 900; }
.feature .pill { background: var(--surface); }
.feature .pill.live { background: var(--live-soft); }
.feature .sub { color: var(--fg); }
.feature .cta { font-weight: 700; color: var(--accent); }

/* セールのページ */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); }
.filters button[aria-pressed="true"] { background: var(--accent); color: #fff; border-color: var(--accent); }
.row, .axis { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 8px 24px; align-items: center; padding: 16px 18px; }
.row + .row { border-top: 1px solid var(--line); }
.axis { padding-block: 10px; border-bottom: 1px solid var(--line); font-size: 11px; color: var(--muted); background: var(--bg); }
.axis .label { font-weight: 700; letter-spacing: .08em; }
.info { min-width: 0; display: grid; gap: 4px; }
.top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.name { font-weight: 900; font-size: 17px; }
.name a { text-decoration: none; border-bottom: 2px solid var(--accent-soft); }
.name a:hover { border-bottom-color: var(--accent); }
.periods { display: grid; gap: 2px; font-variant-numeric: tabular-nums; }
.period { font-size: 14px; }
.period .tag { color: var(--muted); font-size: 12px; margin-right: 6px; }
.period.past { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--bar-past); }
.note { font-size: 12px; color: var(--muted); }
.note a { color: var(--muted); }
.track { position: relative; height: 22px; min-width: 0; }
.lane { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: var(--line); }
.seg { position: absolute; height: 10px; border-radius: 999px; background: var(--bar); }
.seg.past { background: var(--bar-past); }
.seg.tba { height: 2px; border-radius: 0; background: repeating-linear-gradient(90deg, var(--muted) 0 4px, transparent 4px 8px); }
.mark { position: absolute; top: 0; bottom: 0; width: 0; border-left: 1.5px dashed var(--accent); }
.mark.today { border-left: 2px solid var(--live); }
.axis .tick { position: absolute; top: 2px; transform: translateX(-50%); white-space: nowrap; font-variant-numeric: tabular-nums; }
.axis .tick.hon { color: var(--accent); font-weight: 700; }
.axis .tick.first { transform: none; }
.axis .tick.last { transform: translateX(-100%); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12px; color: var(--muted); }
.legend i { display: inline-block; width: 18px; height: 8px; border-radius: 999px; vertical-align: middle; margin-right: 6px; background: var(--bar); }
.legend i.past { background: var(--bar-past); }
.legend i.hon { width: 0; height: 12px; border-left: 1.5px dashed var(--accent); border-radius: 0; background: none; }
.legend i.today { width: 0; height: 12px; border-left: 2px solid var(--live); border-radius: 0; background: none; }

/* フッター */
.about { font-size: 13px; color: var(--muted); display: grid; gap: 6px; border-top: 1px solid var(--line); padding-top: 18px; }
.about p { margin: 0; }
.about strong { color: var(--fg); }
.back { font-size: 14px; font-weight: 700; color: var(--accent); }

@media (max-width: 720px) {
  .split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .row, .axis { grid-template-columns: minmax(0, 1fr); padding: 14px 16px; }
  .axis .label { display: none; }
  .item { padding: 14px 16px; }
}
@media (prefers-reduced-motion: no-preference) {
  .filters button, .feature, .item .go, .jump a, .more { transition: border-color .15s, background .15s, color .15s; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* よく使うネットショップ・楽天トップへのリンク */
.shop-links { display: flex; flex-wrap: wrap; gap: 8px 6px; align-items: center; }
.shop { font-size: 14px; font-weight: 700; text-decoration: none; color: var(--fg); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; box-shadow: var(--shadow); }
.shop:hover { border-color: var(--accent); color: var(--accent); }
.shop-item { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.shop-item .pr { margin: 0; }
.aside { margin: 0; font-size: 13px; color: var(--muted); }
.text-link { color: var(--accent); font-weight: 700; }

/* PR表記（全ページのヘッダー直下） */
.site-head .pr-note { flex-basis: 100%; margin: 6px 0 0; font-size: 12px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 6px 12px; }
.feature .sub { word-break: keep-all; overflow-wrap: anywhere; }
