@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;500;600;700&display=swap');

:root {
  --page: #fafafa;
  --paper: #ffffff;
  --ink: #292929;
  --muted: #777777;
  --line: #d5d5d5;
  --accent: #158e88;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', 'Noto Serif JP', serif;
  -webkit-font-smoothing: antialiased;
}

/* 公式サイトに合わせた左寄せロゴ／チャコールのヘッダー */
.site-header { background: #333; }
.site-header-inner {
  max-width: 1320px;
  min-height: 140px;
  padding: 10px 20px;
  margin: auto;
  display: flex;
  align-items: center;
}
.site-logo { display: block; width: 186px; flex: none; line-height: 0; }
.site-logo img { display: block; width: 100%; height: auto; }
.site-logo:hover { opacity: .83; }
.site-logo:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }

.ranking-page { min-height: calc(100vh - 140px); }
.ranking-section { width: min(1160px, calc(100% - 48px)); margin: auto; padding: 65px 0 40px; }
.section-heading {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}
.section-heading h1 {
  font-size: clamp(34px, 4.7vw, 60px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: .085em;
  margin: 0;
}
.interim-label { font-size: 20px; font-weight: 500; letter-spacing: .15em; margin: 12px 0 0; }

/* 行は白で統一。写真・王冠・タイポグラフィを主役に */
.ranking-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ranking-item {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) 195px;
  align-items: center;
  gap: 35px;
  min-height: 194px;
  padding: 23px 30px;
  background: var(--paper);
  border-radius: 10px;
}
.place { display: flex; align-items: center; justify-content: center; min-width: 0; }
.rank-crown { display: block; width: 112px; height: 112px; object-fit: contain; }
.rank-number { font-size: 56px; font-weight: 600; line-height: 1; font-variant-numeric: lining-nums; }
.person { display: flex; gap: 35px; align-items: center; min-width: 0; }
.portrait {
  display: block;
  flex: none;
  width: 142px;
  height: 142px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  background: #eee;
  border: 2px solid #e6e6e6;
}
.person-name { font-size: clamp(26px, 2.8vw, 34px); font-weight: 600; letter-spacing: .05em; line-height: 1.5; overflow-wrap: anywhere; }
.points { display: flex; align-items: baseline; justify-content: flex-end; gap: 5px; white-space: nowrap; }
.point-value { font-size: clamp(34px, 3.5vw, 46px); font-weight: 600; letter-spacing: -.03em; font-variant-numeric: lining-nums tabular-nums; }
.point-unit { color: var(--muted); font-size: 18px; }
.note { margin: 30px 0 0; text-align: center; font-size: 13px; color: var(--muted); line-height: 1.9; }
.page-footer { padding: 16px 0 45px; text-align: center; color: var(--muted); letter-spacing: .15em; font-size: 13px; }

@media (max-width: 900px) {
  .ranking-section { width: calc(100% - 32px); padding-top: 46px; }
  .ranking-item { grid-template-columns: 95px minmax(0, 1fr) 154px; gap: 25px; padding: 20px; min-height: 164px; }
  .rank-crown { width: 88px; height: 88px; }
  .rank-number { font-size: 46px; }
  .portrait { width: 112px; height: 112px; }
  .person { gap: 25px; }
  .person-name { font-size: 26px; }
  .point-value { font-size: 36px; }
}
@media (max-width: 600px) {
  .site-header-inner { min-height: 108px; padding: 7px 14px; }
  .site-logo { width: 150px; }
  .ranking-section { width: calc(100% - 20px); padding: 34px 0 25px; }
  .section-heading { padding-bottom: 24px; margin-bottom: 22px; }
  .section-heading h1 { font-size: clamp(28px, 7.6vw, 39px); letter-spacing: .045em; }
  .interim-label { font-size: 15px; margin-top: 9px; }
  .ranking-list { gap: 9px; }
  .ranking-item { grid-template-columns: 54px minmax(0, 1fr) 86px; gap: 15px; min-height: 125px; padding: 16px 10px; border-radius: 7px; }
  .rank-crown { width: 54px; height: 54px; }
  .rank-number { font-size: 36px; }
  .person { gap: 15px; }
  .portrait { width: 76px; height: 76px; }
  .person-name { font-size: clamp(16px, 4.2vw, 21px); line-height: 1.4; }
  .point-value { font-size: clamp(22px, 5.6vw, 30px); }
  .point-unit { font-size: 12px; }
  .note { font-size: 11px; padding: 0 10px; }
}
@media (max-width: 390px) {
  .ranking-item { grid-template-columns: 48px minmax(0, 1fr) 74px; gap: 12px; padding: 14px 7px; }
  .rank-crown { width: 48px; height: 48px; }
  .rank-number { font-size: 32px; }
  .person { gap: 12px; }
  .portrait { width: 67px; height: 67px; }
  .person-name { font-size: 16px; }
  .point-value { font-size: 22px; }
  .point-unit { font-size: 11px; }
}
