/* NoL Renewal D — front-page */

/* ---------- ticker ---------- */
.ticker { border-bottom: 1px solid var(--line); overflow: hidden; padding: 0.6rem 0; }
.ticker-inner {
  display: flex; gap: 3.5rem; width: max-content;
  animation: ticker 34s linear infinite;
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.08em;
  color: var(--muted); white-space: nowrap;
}
.ticker-inner b { color: var(--gold); font-weight: 400; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-inner { animation: none; } }

/* ---------- section ---------- */
section { padding-top: clamp(2.6rem, 5vw, 4rem); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(201, 167, 94, 0.20) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 167, 94, 0.20) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 55% 75% at 74% 50%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 55% 75% at 74% 50%, #000, transparent 75%);
  opacity: 0.55;
}
.hero-art {
  position: absolute; z-index: 1; pointer-events: none;
  right: clamp(0.5rem, 3vw, 3rem); top: 50%; transform: translateY(-50%);
  width: min(40vw, 490px);
  opacity: 0.92;
}
.hero-art img {
  width: 100%; display: block;
  -webkit-mask-image: linear-gradient(100deg, transparent 2%, #000 34%);
  mask-image: linear-gradient(100deg, transparent 2%, #000 34%);
}
.hud-c {
  position: absolute; z-index: 3; width: 18px; height: 18px;
  border: 0 solid rgba(201, 167, 94, 0.5);
}
.hud-c.tl { top: 14px; left: 14px; border-top-width: 1px; border-left-width: 1px; }
.hud-c.tr { top: 14px; right: 14px; border-top-width: 1px; border-right-width: 1px; }
.hud-c.bl { bottom: 14px; left: 14px; border-bottom-width: 1px; border-left-width: 1px; }
.hud-c.br { bottom: 14px; right: 14px; border-bottom-width: 1px; border-right-width: 1px; }
.hero-in { position: relative; z-index: 2; padding-top: clamp(3.5rem, 8vw, 6.5rem); padding-bottom: clamp(3.5rem, 8vw, 6.5rem); }
.hero-kicker {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em;
  color: var(--gold); margin: 0 0 1.6rem;
}
.hero-kicker i { font-style: normal; color: var(--muted); margin-left: 1.2em; }
.hero h1 {
  font-family: var(--font-en); font-style: italic; font-weight: 800;
  font-size: clamp(2.7rem, 7.6vw, 6rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0;
}
.hero h1 span { color: var(--gold); }
.hero-jp {
  font-weight: 900;
  font-size: clamp(1rem, 2.3vw, 1.5rem);
  letter-spacing: 0.05em;
  color: var(--muted);
  margin: 1.8rem 0 0;
}
.hero-lead { max-width: 430px; color: var(--muted); font-size: 0.88rem; margin: 1rem 0 0; }
.hero-cta { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 2.2rem; }
.hero-btn {
  display: inline-flex; align-items: center; gap: 0.8rem;
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em;
  border: 1px solid var(--gold); border-radius: var(--radius); color: var(--gold);
  padding: 0.85rem 1.6rem;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.hero-btn .arrow { transition: transform 0.3s var(--ease); }
.hero-btn:hover { background: var(--gold); color: var(--bg); }
.hero-btn:hover .arrow { transform: translateX(5px); }
.hero-btn.ghost { border-color: var(--line); color: var(--muted); }
.hero-btn.ghost:hover { background: none; border-color: var(--gold); color: var(--gold); }

/* ---------- pickup ---------- */
.pickup { padding-top: clamp(1.6rem, 3.5vw, 2.6rem); }
.pickup .sec-head { margin-bottom: 1.1rem; }
.pick-grid { display: grid; grid-template-columns: 1.9fr 1fr; gap: 1.1rem; }
.pick-main .thumb::after { font-size: clamp(3rem, 7vw, 5.2rem); }
.pick-main .card-body { padding: 1.1rem 1.2rem 1.2rem; }
.pick-main .card-title { font-weight: 900; font-size: clamp(1.1rem, 2.2vw, 1.5rem); }
.card-lead { display: block; color: var(--muted); font-size: 0.85rem; margin-top: 0.7rem; }
.pick-sub { display: grid; grid-template-rows: 1fr 1fr; gap: 1.1rem; }
.pick-sub .card { display: flex; flex-direction: column; }
.pick-sub .thumb { aspect-ratio: auto; flex: 1; min-height: 84px; }
.pick-sub .card-body { margin-top: auto; }
.ad-leader { margin-bottom: 0; }

/* ---------- latest list ---------- */
.news-row {
  display: grid; grid-template-columns: 58px 96px 1fr auto; gap: 1.1rem; align-items: baseline;
  padding: 1.1rem 1.2rem;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease);
}
.news-row:last-child { border-bottom: none; }
.news-row:hover { background: var(--panel-2); }
.news-row:hover .news-title { color: var(--gold); }
.news-no { font-family: var(--font-en); font-style: italic; font-weight: 800; font-size: 0.76rem; color: var(--gold); }
.news-date { font-family: var(--font-mono); font-size: 0.66rem; color: var(--muted); }
.news-title { font-weight: 700; font-size: clamp(0.9rem, 1.4vw, 1rem); line-height: 1.55; transition: color 0.3s var(--ease); }

/* ---------- ranking（メインカラム） ---------- */
.rank-row {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 1.1rem; align-items: center;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease);
}
.rank-row:last-child { border-bottom: none; }
.rank-row:hover { background: var(--panel-2); }
.rank-row:hover .rank-title { color: var(--gold); }
.rank-num {
  font-family: var(--font-en); font-style: italic; font-weight: 800;
  font-size: 1.9rem; line-height: 1; letter-spacing: -0.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(201, 167, 94, 0.6);
  transition: color 0.3s var(--ease);
}
.rank-row:hover .rank-num { color: var(--gold); }
.rank-title { font-weight: 700; font-size: 0.92rem; line-height: 1.55; transition: color 0.3s var(--ease); }

/* ---------- tips ---------- */
.tips-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 1.1rem; align-items: stretch; }
.tip-feature { display: flex; flex-direction: column; }
.tip-feature .thumb { aspect-ratio: 40 / 21; } /* 21/9だと文字入りアイキャッチが上下cropで見切れる */
.tip-feature .card-body { padding: 1.1rem 1.2rem 1.2rem; }
.tip-feature .card-title { font-weight: 900; }
.tip-list { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tip-row {
  flex: 1;
  display: grid; grid-template-columns: 30px 1fr auto; gap: 0.9rem; align-items: center;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease);
}
.tip-row:last-child { border-bottom: none; }
.tip-row:hover { background: var(--panel-2); }
.tip-row:hover .tip-title { color: var(--gold); }
.tip-no { font-family: var(--font-en); font-style: italic; font-weight: 800; font-size: 0.8rem; color: var(--gold); }
.tip-title { font-weight: 700; font-size: 0.85rem; line-height: 1.5; transition: color 0.3s var(--ease); }
.tip-arrow { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); transition: transform 0.3s var(--ease), color 0.3s var(--ease); }
.tip-row:hover .tip-arrow { transform: translateX(4px); color: var(--gold); }

/* ---------- tools（全幅バンド） ---------- */
.tools-band {
  margin-top: clamp(3rem, 6vw, 5rem);
  background: var(--panel);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: clamp(2.6rem, 5.5vw, 4.5rem) 0;
  overflow: hidden;
}
.tools-head { display: flex; align-items: baseline; gap: 0.9rem; flex-wrap: wrap; }
.tools-head::before { content: ''; width: 4px; height: 1.15em; background: var(--gold); border-radius: 2px; align-self: center; }
.tools-head h2 { font-weight: 900; font-size: clamp(1.3rem, 2.8vw, 1.8rem); margin: 0; }
.tools-head .en { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.tools-lead { color: var(--muted); font-size: 0.88rem; margin: 0.7rem 0 0; max-width: 40em; }
.tool-row {
  position: relative;
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 3rem; flex-wrap: wrap;
  padding: clamp(2rem, 4.5vw, 3.2rem) 0.4rem;
  border-bottom: 1px solid var(--line);
}
.tool-row:last-child { border-bottom: none; padding-bottom: clamp(1rem, 2vw, 1.5rem); }
.tool-main { position: relative; z-index: 3; }
.tool-no {
  display: block;
  font-family: var(--font-mono); font-size: 0.66rem;
  color: var(--gold); letter-spacing: 0.15em;
  margin-bottom: 0.8rem;
}
.tool-big {
  display: block;
  font-family: var(--font-en); font-style: italic; font-weight: 800;
  font-size: clamp(2.2rem, 6.4vw, 5.4rem);
  letter-spacing: -0.015em; line-height: 1.02;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.35s var(--ease), letter-spacing 0.35s var(--ease);
}
.tool-row:hover .tool-big { color: var(--gold); letter-spacing: 0.005em; }
.tool-desc {
  position: relative; z-index: 3;
  max-width: 320px;
  font-size: 0.82rem; color: var(--muted);
  align-self: center;
}
.tool-desc b {
  display: block;
  font-family: var(--font-mono); font-weight: 400;
  font-size: 0.62rem; letter-spacing: 0.15em;
  color: var(--gold); margin-bottom: 0.3rem;
}
.tool-cta {
  display: flex; width: max-content; align-items: center; gap: 0.6rem;
  margin-top: 0.8rem;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em;
  color: var(--gold);
}
.tool-row:nth-of-type(even) .tool-cta { margin-left: auto; }
.tool-cta .arrow { transition: transform 0.3s var(--ease); }
.tool-row:hover .tool-cta .arrow { transform: translateX(5px); }
.tool-art {
  position: absolute; z-index: 2; top: 50%; left: 50%;
  width: min(260px, 22vw);
  transform: translate(-50%, -50%) rotate(-4deg) scale(0.94);
  opacity: 0.22; pointer-events: none;
  border: 1px solid var(--line);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.tool-art img { width: 100%; display: block; }
.tool-row:nth-of-type(even) { flex-direction: row-reverse; }
.tool-row:nth-of-type(even) .tool-main { text-align: right; }
.tool-row:nth-of-type(even) .tool-desc { text-align: right; }
.tool-row:nth-of-type(even) .tool-art { transform: translate(-50%, -50%) rotate(4deg) scale(0.94); }
.tool-row:hover .tool-art { opacity: 0.95; transform: translate(-50%, -50%) rotate(-4deg) scale(1); }
.tool-row:nth-of-type(even):hover .tool-art { transform: translate(-50%, -50%) rotate(4deg) scale(1); }

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  .tool-row, .tool-row:nth-of-type(even) { flex-direction: column; gap: 1rem; }
  .tool-row:nth-of-type(even) .tool-main, .tool-row:nth-of-type(even) .tool-desc { text-align: left; }
  .tool-art, .tool-row:nth-of-type(even) .tool-art { position: static; transform: none; width: min(100%, 440px); opacity: 0.85; order: 2; }
  .tool-row:hover .tool-art, .tool-row:nth-of-type(even):hover .tool-art { transform: none; opacity: 1; }
  .tool-desc { order: 3; }
}

/* ---------- mobile ---------- */
@media (max-width: 768px) {
  .hero-art { width: 76vw; right: -10vw; opacity: 0.34; }
  .hero::before { -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000, transparent 78%); mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000, transparent 78%); }
  .pick-grid { grid-template-columns: 1fr; }
  .pick-sub { grid-template-rows: none; }
  .news-row { grid-template-columns: 58px 1fr auto; row-gap: 0.25rem; }
  .news-title { grid-column: 1 / -1; }
  .rank-row { grid-template-columns: 48px 1fr; }
  .rank-tag { display: none; }
  .tips-grid { grid-template-columns: 1fr; }
  .tip-arrow { display: none; }
  .tip-row { grid-template-columns: 30px 1fr; }
}
