html {
  font-size: 16px;
}

.site {
  min-height: 100vh;
  background: #f8fafc;
  /* slate-50 */
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #0f172a;
  /* slate-900 */
}

.sec-p {
  padding: 40px 0;
}

.sec-p.-first {
  padding-top: 0;
}

.sec-p.-last {
  padding-bottom: 0;
}

/* ----------------------------------------
-------------------------------------------*/


/* ナビ全体 */
.global-nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
  z-index: 50;
}

/* ナビ内側 */
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  height: 64px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ブランド */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ロゴ丸 */
.nav-logo {
  width: 40px;
  height: 40px;
  background: #dc2626;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;
  font-weight: 700;
  font-size: 20px;
}

/* タイトル */
.nav-title {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}

/* メニュー */
.nav-menu {
  display: flex;
  gap: 32px;
}

.nav-menu a {
  font-size: 14px;
  font-weight: 500;
  color: #0f172a;
  text-decoration: none;
  transition: color .3s;
}

.nav-menu a:hover {
  color: #dc2626;
}

/* ハンバーガー */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .nav-toggle {
    display: block;
  }
}

/* ----------------------------------------
-------------------------------------------*/
.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: background .3s, transform .3s, box-shadow .3s;
}

@media (max-width: 768px) {
  .btn {
    width: 100%;
  }
}

.btn-primary {
  background: #dc2626;
  color: #fff;
  box-shadow: 0 10px 20px rgba(220, 38, 38, .25);
}

.btn-primary.type02 {
  background: #fff;
  color: #6e7a8a;
  border: solid 1px #6e7a8a;
  box-shadow: 0 10px 20px rgba(203, 201, 201, 0.25);
}

.btn-primary:hover {
  background: #b91c1c;
  transform: translateY(-2px);
}

.btn-primary.type02:hover {
  transform: translateY(-2px);
  background: #f1f5f9;
  border: solid 1px #0f172a;
}



/* ----------------------------------------
-------------------------------------------*/
/* Hero全体 */
.hero {
  position: relative;
  padding: 80px 0 100px;
  background: linear-gradient(to bottom, #fef2f2, #ffffff);
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

/* 背景の赤いぼかし丸 */
.hero-bg-circle {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 260px;
  height: 260px;
  background: #fee2e2;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

/* 中身 */
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  position: relative;
  text-align: center;
}

/* バッジ */
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: #dc2626;
  color: #fff;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 24px;

  animation: hero-bounce 2s infinite;
}

/* タイトル */
.hero-title {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #0f172a;
}

.hero-accent {
  color: #dc2626;
}

/* 説明文 */
.hero-lead {
  font-size: 18px;
  line-height: 1.7;
  color: #475569;
  max-width: 720px;
  margin: 0 auto 40px;
}

/* ボタン */
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* アニメーション */
@keyframes hero-bounce {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

/* レスポンシブ */
@media (max-width: 768px) {

  .hero-title {
    font-size: 32px;
  }

  .hero-lead {
    font-size: 16px;
  }
}


/* ----------------------------------------
-------------------------------------------*/
/* セクション全体 */
.election-summary {
  max-width: 720px;
  margin: -40px auto 0;
  padding: 0 16px;
  position: relative;
  z-index: 10;
}

/* カード */
.summary-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .1);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
}

/* 各項目 */
.summary-item {
  padding: 24px 16px;
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* 真ん中だけ罫線 */
.summary-item.is-bordered {
  border-left: 1px solid #f1f5f9;
  border-right: 1px solid #f1f5f9;
}

/* アイコン */
.summary-icon {
  color: #dc2626;
  margin-bottom: 8px;
}

/* ラベル */
.summary-label {
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 4px;
}

/* 値 */
.summary-value {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .summary-card {
    grid-template-columns: 1fr;
  }

  .summary-item.is-bordered {
    border-left: none;
    border-right: none;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
  }
}


/* ----------------------------------------
-------------------------------------------*/
.candidates {
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 16px;
}

.section-head {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 16px;
  text-decoration: underline;
  text-decoration-color: #dc2626;
  text-decoration-thickness: 4px;
  text-underline-offset: 8px;
}

.section-lead {
  font-size: 18px;
  color: #475569;
}

/* ----------------------------------------
-------------------------------------------*/
.party-block {
  margin-bottom: 80px;
}

.party-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 24px;
  border-radius: 20px;
  color: #fff;
  margin-bottom: 32px;
}

.party-info {
  flex: 1;
}

.party-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  background: rgba(255, 255, 255, .2);
  border-radius: 6px;
}

.party-name {
  font-size: 24px;
  font-weight: 700;
  margin-top: 4px;
}

.party-copy {
  font-style: italic;
  font-weight: 500;
  opacity: .9;
  margin-left: auto;
  text-align: right;
  font-size: 1rem;
}


@media (max-width: 768px) {
  .party-copy {
    text-align: left;
    width: 100%;
    /* margin-left: 0; */
  }
}

/* ----------------------------------------
-------------------------------------------*/
.party-green {
  background: #059669;
}

.party-yellow {
  background: #eab308;
}

.party-brown {
  background: #78350f;
}

.party-orange {
  background: #f97316;
}

.party-green .party-head,
.party-yellow .party-head,
.party-brown .party-head,
.party-orange .party-head {
  background: inherit;
}

/* ----------------------------------------
-------------------------------------------*/
.candidate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .candidate-grid {
    grid-template-columns: 1fr;
  }


}

@media (max-width: 768px) {
  .support-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

.support-head {
  margin-bottom: .5em;
}

.support-title span {
  font-size: 16px;
  font-weight: normal;
  display: inline-block;
  margin-left: 12px;
}

.support-lead {
  font-size: 18px;
}

/* ----------------------------------------
-------------------------------------------*/
.candidate-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #f1f5f9;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
  transition: box-shadow .3s, transform .3s;
}

.candidate-card:hover {
  box-shadow: 0 18px 40px rgba(0, 0, 0, .15);
  transform: translateY(-4px);
}

.candidate-icon {
  /* height: 192px; */
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  transition: transform .3s;
}

.candidate-card:hover .candidate-icon {
  transform: scale(1.1);
}

.candidate-icon img {
  aspect-ratio: 1/1;
  aspect-ratio: 1436/2048;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.candidate-body {
  padding: 24px;
}

.candidate-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.candidate-pledge {
  display: inline-block;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.candidate-text {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
}


.support-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}


.support-pledge {
  display: inline-block;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}






/* ===============================
   Vote Section
================================ */

.vote-section {
  background: #0f172a;
  /* slate-900 */
  color: #ffffff;
  padding: 96px 20px;
  position: relative;
  overflow: hidden;
}

.vote-inner {
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ---------- Head ---------- */

.vote-head {
  text-align: center;
  margin-bottom: 64px;
}

.vote-title {
  font-size: min(7vw, 38px);
  font-weight: 800;
  margin-bottom: 12px;
}

.vote-lead {
  color: #94a3b8;
  font-size: 1rem;
}

.vote-flow-img {
  width: 90%;
  max-width: 600px;
  margin: auto;
  margin-top: 64px;
}

/* ---------- Grid ---------- */

.vote-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .vote-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Card ---------- */

.vote-card {
  background: #1e293b;
  /* slate-800 */
  border-radius: 24px;
  padding: 32px;
  border: 1px solid #334155;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.vote-card:hover {
  transform: translateY(-4px);
}

/* 色分け */
.vote-card-shop:hover {
  border-color: #ef4444;
}

.vote-card-online:hover {
  border-color: #3b82f6;
}

/* ---------- Card Head ---------- */

.vote-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.vote-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.vote-icon-red {
  background: #ef4444;
}

.vote-icon-blue {
  background: #3b82f6;
}

.vote-card-title h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.vote-point {
  font-weight: 700;
  font-size: 0.95rem;
}

.vote-point-red {
  color: #fca5a5;
}

.vote-point-blue {
  color: #93c5fd;
}

/* ---------- List ---------- */

.vote-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vote-list-item {
  display: flex;
  gap: 12px;
  color: #cbd5f5;
  font-size: 0.95rem;
  line-height: 1.6;
}

.vote-list-item-strong {
  font-weight: 700;
  color: #ffffff;
}

.vote-list-icon {
  font-weight: 700;
  flex-shrink: 0;
}

.vote-list-icon-red {
  color: #ef4444;
}

.vote-list-icon-blue {
  color: #3b82f6;
}

.vote-list-icon-yellow {
  color: #facc15;
}

/* ---------- Note ---------- */

.vote-note {
  background: #020617;
  padding: 16px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-style: italic;
  margin-top: 32px;
}

.vote-note-red {
  border-left: 4px solid #ef4444;
}

/* ---------- Button ---------- */

.vote-button {
  width: 100%;
  padding: 16px;
  border-radius: 14px;
  border: none;
  background: #3b82f6;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.35);
  transition: background 0.3s ease, transform 0.2s ease;
  text-decoration: none;
}

.vote-button:hover {
  background: #2563eb;
  transform: translateY(-2px);
}

.vote-button:active {
  transform: translateY(0);
}

.vote-note-blue {
  border-left: 4px solid #2563eb;
}

/* =========================
   Prizes section
========================= */

.prizes {
  padding: 96px 16px;
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

.prizes-icon {
  margin: 0 auto 24px;
  color: #dc2626;
  /* 赤 */
}

.prizes-title {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 48px;
}

/* grid */
.prizes-grid {
  display: grid;
  gap: 48px;
  max-width: 896px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .prizes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* card */
.prizes-card {
  text-align: left;
  padding: 24px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.prizes-card--first {
  border-top: 4px solid #dc2626;
}

.prizes-card--other {
  border-top: 4px solid #94a3b8;
}

/* card title */
.prizes-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
}

/* rank badge */
.prizes-rank {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
}

.prizes-rank--first {
  background: #fee2e2;
  color: #dc2626;
}

.prizes-rank--other {
  background: #f1f5f9;
  color: #475569;
}

/* text */
.prizes-text {
  color: #475569;
  line-height: 1.7;
}

.text-emphasis {
  color: #dc2626;
  font-weight: 700;
}

.text-bold {
  font-weight: 700;
  color: #1e293b;
}

/* =========================
   Schedule / Timeline
========================= */

.schedule {
  padding: 96px 0;
  background: #ffffff;
}

.schedule-inner {
  max-width: 896px;
  margin: 0 auto;
  padding: 0 16px;
}

.schedule-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.02em;
  margin-bottom: 64px;
}

/* timeline base */
.timeline {
  position: relative;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 16px;
  width: 4px;
  background: #f1f5f9;
}

@media (min-width: 768px) {
  .timeline-line {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* item */
.timeline-item {
  position: relative;
  display: flex;
  margin-bottom: 32px;
}

.timeline-item--left {
  justify-content: flex-start;
  padding-right: 2em;
}

@media (max-width: 768px) {
  .timeline-item--left {
    padding-left: 2em;
    padding-right: unset;
  }

}

.timeline-item--right {
  justify-content: flex-end;
  padding-left: 2em;
}

.timeline-content {
  width: 100%;
  padding: 24px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

@media (min-width: 768px) {
  .timeline-content {
    width: 50%;
  }

  .timeline-item--right .timeline-content {
    text-align: right;
  }
}

/* dot */
.timeline-dot {
  position: absolute;
  left: 16px;
  top: 24px;
  width: 32px;
  height: 32px;
  background: #ffffff;
  border: 4px solid #dc2626;
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

@media (min-width: 768px) {
  .timeline-dot {
    left: 50%;
  }
}

/* text styles */
.timeline-date {
  display: block;
  color: #dc2626;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 8px;
}

.timeline-heading {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.timeline-text {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.6;
}

/* =========================
   Footer
========================= */

.site-footer {
  background: #f8fafc;
  padding: 80px 16px 40px;
  border-top: 1px solid #e2e8f0;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* brand */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  opacity: 0.5;
  filter: grayscale(100%);
}

.footer-logo {
  width: 32px;
  height: 32px;
  background: #0f172a;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.footer-brand-name {
  font-size: 0.875rem;
  font-weight: 700;
}

/* nav */
.footer-nav {
  display: flex;
  gap: 24px;
  margin-bottom: 48px;
}

.footer-nav a {
  font-size: 0.875rem;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #475569;
}

/* copyright */
.footer-copy {
  font-size: 0.75rem;
  color: #94a3b8;
  text-align: center;
  line-height: 1.6;
}

/* responsive */
.sp-only {
  display: inline;
}

@media (min-width: 768px) {
  .sp-only {
    display: none;
  }
}

/* ----------------------------------------
-------------------------------------------*/

.fv-img {
  padding-top: 64px;
}

img {
  vertical-align: bottom;
}


/* ----------------------------------------
-------------------------------------------*/

/* .hero {
  position: relative;
  padding: 128px 0 80px;
  overflow: hidden;
  background: linear-gradient(to bottom, #fef2f2, #ffffff);
}

.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: background .3s, transform .3s, box-shadow .3s;
}

.btn-primary {
  background: #dc2626;
  color: #fff;
  box-shadow: 0 10px 20px rgba(220,38,38,.25);
}

.btn-primary:hover {
  background: #b91c1c;
  transform: translateY(-2px);
}

.candidate-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #f1f5f9;
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
  transition: box-shadow .3s, transform .3s;
}

.candidate-card:hover {
  box-shadow: 0 14px 32px rgba(0,0,0,.15);
  transform: translateY(-4px);
} */