:root{
  --bg: #f6f6f7;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #667085;

  --line: rgba(15,23,42,.10);

  --blue-title: #1565c0;     /* ã‚¿ã‚¤ãƒˆãƒ«é’ */
  --red: #e53935;            /* DLãƒœã‚¿ãƒ³èµ¤ */
  --red-dark: #c62828;

  --orange: #ff7a00;         /* ãƒã‚¤ãƒ³ãƒˆæž  */
  --star: #f59e0b;

  --max: 980px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: "Inter","Noto Sans JP", system-ui, -apple-system, "Segoe UI",
    "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container{ max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.top-gap{ height: 64px; }
.bottom-gap{ height: 120px; }

h1,h2,h3,h4{ margin:0; }
a{ color: inherit; text-decoration: none; }

.muted{ color: var(--muted); }
.count{ color: var(--muted); font-size: 13px; }

/* Page hero */
.page-hero{ padding: 18px 0 14px; }
.page-hero h1{
  font-size: clamp(22px, 3vw, 34px);
  letter-spacing: .2px;
  line-height: 1.25;
}
.page-hero p{ margin: 10px 0 0; }
.hero-meta{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 10px; }
.chip{
  display:inline-flex; align-items:center; gap:8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.85);
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

/* Filters */
.filters{
  margin: 12px 0 14px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.80);
  border: 1px solid var(--line);
  box-shadow: 0 10px 22px rgba(15,23,42,.06);
}
.filter-row{ display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.search{
  flex: 1 1 260px;
  display:flex; align-items:center; gap:10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}
.search input{
  width:100%;
  border:0; outline:0;
  font-size: 14px;
  background: transparent;
  color: var(--text);
}
.chipset{ display:flex; gap:8px; flex-wrap:wrap; }
.tagchip{
  cursor:pointer;
  border:1px solid var(--line);
  background: rgba(255,255,255,.86);
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  transition: .15s ease;
}
.tagchip:hover{ transform: translateY(-1px); box-shadow: 0 10px 22px rgba(15,23,42,.06); }
.tagchip.active{
  color: var(--text);
  background: rgba(21,101,192,.08);
  border-color: rgba(21,101,192,.20);
}

/* Ranking */
.rank-wrap{ padding: 8px 0 40px; }
.rank-head{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 6px 0 12px;
}
.rank-head h2{ font-size: 18px; letter-spacing:.2px; }

/* ====== Article-like rank card ====== */
.rank-card{
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0;                /* è¨˜äº‹æ„Ÿ */
  padding: 14px;
  margin: 0 0 14px;
}

/* â€œç¬¬â—¯ä½â€æœ­ï¼ˆå·¦ä¸Šï¼‰ */
.rank-ribbon{
  position:absolute;
  top: 8px;
  left: 8px;
  transform: rotate(-10deg);
  background: #fff;
  border: 2px solid var(--red);
  color: var(--red);
  font-weight: 900;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 6px;
  line-height: 1;
}

/* Head row */
.rc-head{
  display:grid;
  grid-template-columns: 84px 1fr auto;
  gap: 12px;
  align-items: start;
}

.rc-icon{
  width: 84px;
  height: 84px;
  border-radius: 14px;
  border: 1px solid var(--line);
  object-fit: cover;
  background: rgba(15,23,42,.04);
}
.rc-icon-fallback{
  width: 84px;
  height: 84px;
  border-radius: 14px;
  border: 1px solid var(--line);
  display:grid;
  place-items:center;
  font-weight: 900;
  background: rgba(21,101,192,.08);
  color: rgba(15,23,42,.85);
}

/* Title + badges */
.rc-title{
  display:inline-block;
  color: var(--blue-title);
  font-weight: 900;
  font-size: 16px;
  line-height: 1.25;
}
.rc-badges{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top: 6px;
}
.badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.95);
  color: var(--muted);
}
.badge.red{
  background: rgba(229,57,53,.10);
  border-color: rgba(229,57,53,.20);
  color: var(--red-dark);
}
.badge.green{
  background: rgba(22,163,74,.10);
  border-color: rgba(22,163,74,.18);
  color: #0f5132;
}

.rc-sub{
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
  font-weight: bold;
  /* float: left; */
  /* border: 1px solid blue; */
  width: 100%;
  margin: 30px 0 30px 0;
}
.rc-date{
  margin-top: 6px;
  display:flex;
  align-items:center;
  gap:8px;
  float: left;
  font-size: 12px;
  width: 60%;
  color: var(--muted);
}
.date-label{
  display:inline-flex;
  align-items:center;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(229,57,53,.10);
  border: 1px solid rgba(229,57,53,.20);
  color: var(--red-dark);
  font-weight: 900;
}

/* Stars */
.rc-rating{
  margin-top: 10px;
  display:flex;
  align-items:center;
  gap:8px;
  font-size: 12px;
  float: right;
}
.stars{
  color: var(--star);
  letter-spacing: .08em;
  font-weight: 900;
}
.score{
  color: var(--muted);
  font-weight: 900;
}

/* Top DL button (small) */
.rc-dlbtn{
  align-self: center;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 14px 20px;
  border-radius: 999px;
  background: #ff8f00;
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  border: 0;
  box-shadow: 0 6px 0 rgba(0,0,0,.08);
  transition: .12s ease;
}
.rc-dlbtn:hover{ transform: translateY(-1px); box-shadow: 0 8px 0 rgba(0,0,0,.10); }
.rc-dlbtn:active{ transform: translateY(2px); box-shadow: 0 2px 0 rgba(0,0,0,.10); }

/* Points box (orange) */
.rc-points{
  margin-top: 12px;
  border: 2px solid var(--orange);
  background: rgba(255,122,0,.06);
  padding: 12px 12px 10px;
}
.rc-points-title{
  color: var(--orange);
  font-weight: 900;
  font-size: 13px;
  margin-bottom: 8px;
  text-align: center;
}
.rc-points ul{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap:8px;
}
.rc-points li{
  display:flex;
  gap:10px;
  align-items:flex-start;
  font-size: 13px;
  font-weight: 700;
  color: rgba(15,23,42,.88);
}
.check{
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid var(--orange);
  display:grid;
  place-items:center;
  color: var(--orange);
  font-size: 12px;
  line-height: 1;
  flex: 0 0 auto;
  margin-top: 2px;
}

/* Main screenshot */
.rc-heroimg{
  margin-top: 12px;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  background: rgba(15,23,42,.03);
}

/* Body text (article-like) */
.rc-body{ margin-top: 10px; }
.rc-headline{
  margin-top: 6px;
  color: var(--red-dark);
  font-weight: 900;
  font-size: 14px;
}
.rc-body p{
  margin: 10px 0 0;
  font-size: 13px;
  color: rgba(15,23,42,.86);
}

/* Links row */
.rc-links{
  margin-top: 10px;
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
}
.rc-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.90);
  color: rgba(15,23,42,.88);
  font-size: 12px;
  font-weight: 900;
}
.rc-link:hover{ box-shadow: 0 10px 22px rgba(15,23,42,.06); transform: translateY(-1px); }

/* Thumb grid */
.rc-thumbs{
  margin-top: 12px;
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.rc-thumb{
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  object-fit: cover;
  background: rgba(15,23,42,.03);
}

/* ====== Review (æŠ˜ã‚Šç•³ã¿) ====== */
.review{
  margin-top: 12px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.92);
}

.review summary{
  cursor: pointer;
  list-style: none;
  padding: 12px 12px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  font-weight: 900;
  font-size: 13px;
  color: rgba(15,23,42,.92);
  user-select: none;
}
.review summary::-webkit-details-marker{ display:none; }

.review .sum-left{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap:wrap;
}
.review .sum-pill{
  align-items:center;
  gap:8px;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(21,101,192,.08);
  border: 1px solid rgba(21,101,192,.20);
  color: rgba(15,23,42,.86);
  font-size: 12px;
  font-weight: 900;
}
.review .sum-plus{
  width: 28px; height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.14);
  display:grid;
  place-items:center;
  color: rgba(15,23,42,.70);
  font-weight: 900;
  background: rgba(255,255,255,.90);
}

.review[open] summary .sum-plus{ transform: rotate(45deg); } /* ï¼‹â†’Ã—ã£ã½ã */

.review-body{
  padding: 0 12px 12px;
  color: rgba(15,23,42,.86);
  font-size: 13px;
}

.review-summary{
  margin: 10px 0 0;
  font-weight: 800;
}

.review-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}
@media (max-width: 720px){
  .review-grid{ grid-template-columns: 1fr; }
}

.review-box{
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(245,245,245,.40);
  padding: 10px;
}
.review-box-title{
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 8px;
}
.review-box-title.good{ color: #0f5132; }
.review-box-title.bad{ color: #8a2a2a; }
.review-box ul{
  margin:0;
  padding: 0 0 0 18px;
  font-weight: 700;
  color: rgba(15,23,42,.84);
}

.review-text p{
  margin: 8px 0 0;
  font-size: 13px;
  color: rgba(15,23,42,.86);
}

/* ====== Bottom CTA button (ç”»åƒå¯„ã›) ====== */
.rank-cta{
  margin-top: 14px;
  display:flex;
  justify-content:center;
}

.btn-download-big{
  position: relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  min-width: min(520px, 100%);
  padding: 16px 18px;
  border-radius: 19px;
  background: var(--red);
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  border: 0;

  /* ã·ã£ãã‚Šå½±ï¼ˆç”»åƒã£ã½ãï¼‰ */
  box-shadow:
    0 10px 0 rgba(0,0,0,.12),
    0 18px 24px rgba(0,0,0,.12);
  transition: .12s ease;
}

.btn-download-big::before{
  /* ä¸Šã®ãƒã‚¤ãƒ©ã‚¤ãƒˆ */
  content:"";
  position:absolute;
  left: 18px;
  right: 18px;
  top: 8px;
  height: 44%;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  pointer-events:none;
}

.btn-download-big:hover{
  transform: translateY(-1px);
  box-shadow:
    0 12px 0 rgba(0,0,0,.12),
    0 22px 28px rgba(0,0,0,.14);
}
.btn-download-big:active{
  transform: translateY(3px);
  box-shadow:
    0 6px 0 rgba(0,0,0,.12),
    0 14px 20px rgba(0,0,0,.10);
}

.btn-download-big .icon{
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display:grid;
  place-items:center;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.22);
  font-size: 16px;
  line-height: 1;
}

/* small note */
.btn-download-big .sub{
  font-size: 12px;
  font-weight: 800;
  opacity: .95;
}

/* responsive */
@media (max-width: 720px){
  .rc-head{ grid-template-columns: 84px 1fr; }
  .rc-dlbtn{grid-column: 1 / -1;justify-self: start;width: 100%;}
}
