/* 発売日レーダー：少年マンガ風のデザイン（太い黒線のコマ・網点・集中線・吹き出し） */
:root {
  color-scheme: light;
  --ink: #111111;
  --paper: #fffdf6;
  --surface: #ffffff;
  --text: #111111;
  --muted: #4b4b4b;
  --border: #111111;
  --accent: #e60012;
  --yellow: #ffd400;
  --field: #ffffff;
  --line: 2.5px;
  --pop: 4px 4px 0 var(--ink);
  --pop-big: 6px 6px 0 var(--ink);
  --head-font: "Dela Gothic One", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
  --game: #2b6dff; --manga: #e0459b; --anime: #7c3aed; --movie: #0f8a5f; --other: #6e7781;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  /* 網点（スクリーントーン）の紙 */
  background:
    radial-gradient(rgba(0, 0, 0, .09) 1.1px, transparent 1.5px) 0 0 / 9px 9px,
    var(--paper);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
  line-height: 1.75;
  -webkit-text-size-adjust: 100%;
}

a { color: var(--accent); font-weight: 700; }

/* ---- ヘッダー ---- */
.site-header { background: var(--ink); border-bottom: 4px solid var(--yellow); }
.site-header .inner { display: flex; align-items: center; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap; }
.logo {
  font-family: var(--head-font);
  font-size: 1.3rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: .04em;
  font-weight: 400;
}
.logo span { color: var(--yellow); }
.site-header nav { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.site-header nav a { color: #fff; text-decoration: none; font-size: .9rem; font-weight: 800; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--yellow); }

.inner { max-width: 880px; margin: 0 auto; padding: 12px 16px; }
main.inner { padding-top: 22px; padding-bottom: 40px; }

h1 { font-family: var(--head-font); font-weight: 400; font-size: 1.7rem; line-height: 1.35; margin: 0 0 8px; letter-spacing: .02em; }
h2 {
  font-family: var(--head-font);
  font-weight: 400;
  font-size: 1.15rem;
  line-height: 1.4;
  margin: 36px 0 12px;
  display: inline-block;
  background: var(--ink);
  color: #fff;
  padding: 4px 14px;
  transform: skew(-8deg);
  box-shadow: 4px 4px 0 var(--yellow);
}
h3 { font-size: 1rem; margin: 20px 0 6px; }
.lead { margin: 0 0 20px; }
.note { font-size: .88rem; color: var(--muted); }

.card {
  background: var(--surface);
  border: var(--line) solid var(--ink);
  border-radius: 6px;
  box-shadow: var(--pop);
  padding: 18px;
}

/* ---- 集中線のヒーロー＋吹き出し ---- */
.hero {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 4px;
  box-shadow: var(--pop-big);
  padding: 22px 20px 20px;
  margin-bottom: 18px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(0, 0, 0, .1) 0 1.2deg, transparent 1.2deg 6deg);
  -webkit-mask-image: radial-gradient(circle, transparent 0 22%, #000 60%);
  mask-image: radial-gradient(circle, transparent 0 22%, #000 60%);
  pointer-events: none;
}
.hero > * { position: relative; }
.hero h1 em { font-style: normal; color: var(--accent); -webkit-text-stroke: 1px var(--ink); paint-order: stroke fill; }
.hero .sfx {
  position: absolute;
  right: 14px;
  top: 8px;
  font-family: var(--head-font);
  font-size: 1.6rem;
  color: var(--yellow);
  -webkit-text-stroke: 1.5px var(--ink);
  paint-order: stroke fill;
  transform: rotate(10deg);
  pointer-events: none;
}
.bubble {
  position: relative;
  background: #fff;
  border: var(--line) solid var(--ink);
  border-radius: 22px;
  padding: 10px 16px;
  margin: 12px 0 0;
  max-width: 640px;
}
.bubble::after {
  content: "";
  position: absolute;
  left: 34px;
  bottom: -14px;
  width: 22px;
  height: 14px;
  background: #fff;
  border-right: var(--line) solid var(--ink);
  border-bottom: var(--line) solid var(--ink);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  transform: skewX(-25deg);
}
.upd { font-size: .85rem; color: var(--muted); margin: 18px 0 0; font-weight: 700; }

/* ---- ジャンルのタブ（ページへのリンク） ---- */
.tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 4px 0 14px; }
.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 8px 4px;
  background: #fff;
  border: var(--line) solid var(--ink);
  border-radius: 6px;
  box-shadow: var(--pop);
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  font-size: .9rem;
  line-height: 1.3;
  transition: transform .1s, box-shadow .1s;
}
.tab .ic { font-size: 1.3rem; }
.tab .n { font-size: .72rem; color: var(--muted); font-weight: 700; }
.tab:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.tab[aria-current="page"] { background: var(--yellow); }
.tab.game[aria-current="page"] { background: var(--game); color: #fff; }
.tab.manga[aria-current="page"] { background: var(--manga); color: #fff; }
.tab.anime[aria-current="page"] { background: var(--anime); color: #fff; }
.tab.movie[aria-current="page"] { background: var(--movie); color: #fff; }
.tab[aria-current="page"] .n { color: inherit; opacity: .85; }

/* ---- 検索・表示切り替え・期間 ---- */
.tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0 4px; }
.search {
  flex: 1 1 220px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: var(--line) solid var(--ink);
  border-radius: 999px;
  padding: 0 12px;
  box-shadow: var(--pop);
}
.search input[type="search"] { flex: 1; min-width: 0; border: 0; box-shadow: none; background: transparent; color: var(--text); font: inherit; font-size: 16px; font-weight: 700; padding: 9px 0; outline: none; }
.search input::-webkit-search-cancel-button { display: none; }
.search button { border: 0; background: none; color: var(--ink); font-size: 1rem; font-weight: 900; cursor: pointer; padding: 4px; }
.views { display: flex; gap: 6px; }
.bar { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }
.chip2 {
  font: inherit;
  font-size: .9rem;
  font-weight: 900;
  padding: 7px 14px;
  border-radius: 999px;
  border: var(--line) solid var(--ink);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--ink);
}
.chip2[aria-pressed="true"] { background: var(--ink); color: var(--yellow); }
.chip2 .n { opacity: .75; margin-left: 4px; font-weight: 700; }
.hit { font-size: .9rem; font-weight: 700; margin: 12px 0 0; }

/* ---- 日ごとのリスト（コマ割り） ---- */
.day { margin-top: 22px; }
h2.day-head { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; padding: 0; background: none; color: inherit; transform: none; box-shadow: none; font-size: 1rem; }
.day-head .d {
  font-family: var(--head-font);
  font-weight: 400;
  font-size: 1.05rem;
  background: #fff;
  border: var(--line) solid var(--ink);
  padding: 2px 12px;
  box-shadow: 3px 3px 0 var(--ink);
}
/* 「今日!!」「明日!」は爆発の吹き出し */
.burst {
  display: inline-grid;
  place-items: center;
  font-family: var(--head-font);
  font-size: .85rem;
  color: #fff;
  background: var(--accent);
  padding: 12px 14px;
  clip-path: polygon(50% 0, 61% 22%, 85% 8%, 79% 33%, 100% 40%, 81% 56%, 96% 80%, 70% 76%, 64% 100%, 50% 82%, 36% 100%, 30% 76%, 4% 80%, 19% 56%, 0 40%, 21% 33%, 15% 8%, 39% 22%);
  transform: rotate(-8deg);
}
.burst.tmr { background: var(--yellow); color: var(--ink); }
.rels { display: grid; gap: 10px; }
.rel-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 12px;
  align-items: start;
  background: #fff;
  border: var(--line) solid var(--ink);
  border-radius: 4px;
  padding: 12px 14px;
  box-shadow: var(--pop);
}
.cat { font-size: .74rem; font-weight: 900; color: #fff; border: 2px solid var(--ink); border-radius: 4px; padding: 1px 8px; white-space: nowrap; margin-top: 2px; }
.cat.game { background: var(--game); } .cat.manga { background: var(--manga); } .cat.anime { background: var(--anime); } .cat.movie { background: var(--movie); } .cat.other { background: var(--other); }
.rel-title { font-weight: 900; font-size: 1.02rem; }
.rel-sub { grid-column: 2; font-size: .85rem; color: var(--muted); }
.empty { text-align: center; padding: 26px 12px; font-weight: 700; background: #fff; border: var(--line) dashed var(--ink); border-radius: 6px; margin-top: 16px; }

/* ---- カレンダー ---- */
.cal-nav { display: flex; align-items: center; justify-content: space-between; margin: 18px 0 8px; }
.cal-nav b { font-family: var(--head-font); font-weight: 400; font-size: 1.25rem; }
.cal-nav button { font: inherit; font-weight: 900; font-size: 1.1rem; width: 42px; height: 38px; border-radius: 6px; border: var(--line) solid var(--ink); background: #fff; color: var(--ink); cursor: pointer; box-shadow: 3px 3px 0 var(--ink); }
.cal-nav button:disabled { opacity: .3; cursor: default; box-shadow: none; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal .wd { text-align: center; font-size: .8rem; font-weight: 900; padding: 2px 0; }
.cal .wd.sun { color: var(--accent); } .cal .wd.sat { color: var(--game); }
.cell { font: inherit; text-align: left; min-height: 64px; padding: 4px; border-radius: 3px; border: 2px solid var(--ink); background: #fff; color: var(--text); display: flex; flex-direction: column; gap: 2px; overflow: hidden; }
.cell.blank { visibility: hidden; }
.cell.past { opacity: .4; }
.cell:disabled { color: var(--muted); }
.cell.has { cursor: pointer; box-shadow: 3px 3px 0 var(--ink); }
.cell.today .dnum { background: var(--accent); color: #fff; border-radius: 999px; padding: 0 6px; align-self: flex-start; }
.cell.sel { background: #fff6b3; }
.dnum { font-size: .82rem; font-weight: 900; }
.dots { display: flex; flex-wrap: wrap; gap: 3px; }
.dot { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--ink); }
.dot.game, .ttl.game { background: var(--game); } .dot.manga, .ttl.manga { background: var(--manga); } .dot.anime, .ttl.anime { background: var(--anime); } .dot.movie, .ttl.movie { background: var(--movie); } .dot.other, .ttl.other { background: var(--other); }
.ttl { display: none; font-size: .7rem; font-weight: 700; line-height: 1.3; color: #fff; border-radius: 3px; padding: 1px 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.more { display: none; font-size: .7rem; font-weight: 700; color: var(--muted); }
@media (min-width: 720px) { .cell { min-height: 92px; } .dots { display: none; } .ttl, .more { display: block; } }

/* ---- フォーム・ボタン（ほかのページ用） ---- */
label { font-weight: 700; font-size: .92rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font: inherit; font-weight: 900;
  border: var(--line) solid var(--ink); background: var(--yellow); color: var(--ink);
  border-radius: 999px; padding: 9px 20px; cursor: pointer; text-decoration: none;
  box-shadow: var(--pop);
}

/* ---- 広告枠（AdSense のコードをここに貼る） ---- */
.ad-slot { margin: 28px 0; min-height: 100px; display: flex; align-items: center; justify-content: center; }
.ad-slot:empty::before {
  content: "広告";
  color: var(--muted);
  font-size: .75rem;
  border: 2px dashed #999;
  border-radius: 6px;
  width: 100%;
  text-align: center;
  padding: 36px 0;
  background: #fff;
}

/* ---- FAQ ---- */
details { border: var(--line) solid var(--ink); border-radius: 6px; background: #fff; padding: 10px 14px; margin-bottom: 10px; box-shadow: 3px 3px 0 var(--ink); }
summary { cursor: pointer; font-weight: 900; }
details p { margin: 8px 0 2px; }

.related { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.related a { display: inline-block; padding: 5px 12px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; text-decoration: none; font-size: .9rem; color: var(--ink); box-shadow: 2px 2px 0 var(--ink); }

.site-footer { background: var(--ink); color: #ddd; font-size: .85rem; border-top: 4px solid var(--yellow); margin-top: 20px; }
.site-footer a { color: #fff; margin-right: 14px; font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.4rem; }
  .card { padding: 14px; }
  .tabs { gap: 5px; }
  .tab { font-size: .78rem; padding: 6px 2px; box-shadow: 3px 3px 0 var(--ink); }
  .tab .ic { font-size: 1.1rem; }
  .hero { padding-top: 38px; }
  .hero .sfx { font-size: 1.2rem; top: 6px; }
}
