.page-home {
  --home-border: 3px;
  --home-shadow: 0 20px 60px rgba(0, 0, 0, .6);
  overflow-x: hidden;
  color: var(--c-off-white);
  font-family: var(--font-body);
}

.page-home .home-context {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  padding: .75rem var(--edge);
  background: var(--c-black);
  border-bottom: 1px solid rgba(245, 197, 24, .25);
  font-size: .78rem;
  letter-spacing: .12em;
  color: var(--c-muted);
}

.page-home .home-context strong {
  color: var(--c-gold);
  font-weight: 800;
}

.page-home .home-hero {
  position: relative;
  padding: clamp(2rem, 5vw, 4.5rem) var(--edge) clamp(2.5rem, 6vw, 5rem);
  background:
    radial-gradient(circle at 85% 15%, rgba(245, 197, 24, .18), transparent 38%),
    radial-gradient(circle at 0% 100%, rgba(139, 0, 0, .55), transparent 42%),
    linear-gradient(140deg, #121214 0%, #1f1f22 60%, #2a1605 100%);
  border-bottom: 4px solid var(--c-gold);
  overflow: hidden;
}

.page-home .home-hero::after {
  content: "財";
  position: absolute;
  right: -0.12em;
  bottom: -0.3em;
  font-family: var(--font-display);
  font-size: clamp(7rem, 20vw, 17rem);
  line-height: 1;
  color: rgba(245, 197, 24, .05);
  pointer-events: none;
  transform: rotate(-8deg);
  z-index: 0;
}

.page-home .hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
}

.page-home .hero-kicker {
  margin-bottom: 1.25rem;
}

.page-home .hero-title-wrap {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.page-home .hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.4vw, 5.2rem);
  line-height: 1.08;
  letter-spacing: .04em;
  margin: 0 0 1.25rem;
  background: linear-gradient(135deg, var(--c-light-gold) 0%, var(--c-gold) 55%, var(--c-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-home .note-vertical {
  writing-mode: vertical-rl;
  font-size: .7rem;
  letter-spacing: .28em;
  color: rgba(245, 197, 24, .5);
  white-space: nowrap;
  margin-top: .5rem;
  flex-shrink: 0;
}

.page-home .hero-desc {
  color: rgba(245, 245, 240, .82);
  font-size: 1.05rem;
  line-height: 1.85;
  max-width: 34em;
  margin: 0 0 var(--space-md);
}

.page-home .hero-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .875rem;
}

.page-home .hero-quick-grid .btn {
  justify-content: center;
  font-weight: 700;
}

.page-home .hero-visual {
  position: relative;
  display: block;
  margin: 0 auto;
  max-width: 340px;
}

.page-home .hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  border: var(--home-border) solid rgba(245, 197, 24, .55);
  box-shadow: var(--shadow-l), 0 0 50px rgba(245, 197, 24, .15);
  transform: rotate(1.5deg);
}

.page-home .hero-coin {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--c-bright), var(--c-gold) 60%, var(--c-muted));
  color: var(--c-black);
  font-weight: 800;
  font-size: 1.1rem;
  border: 2px solid rgba(255, 255, 255, .25);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .45);
}

.page-home .hero-coin--one {
  top: -14px;
  right: -8px;
  animation: homeCoinSpin 6s ease-in-out infinite;
}

.page-home .hero-coin--two {
  bottom: 4px;
  left: -10px;
  animation: homeCoinSpin 7s ease-in-out infinite reverse;
}

@keyframes homeCoinSpin {
  0%, 100% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(20deg) scale(1.08);
  }
}

.page-home .section {
  padding: clamp(2.25rem, 5vw, 4.5rem) var(--edge);
}

.page-home .section + .section {
  border-top: 1px solid rgba(139, 0, 0, .5);
}

.page-home .section[id] {
  scroll-margin-top: 140px;
}

.page-home .chapter {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: var(--space-md);
  padding-bottom: .75rem;
  border-bottom: 1px solid rgba(245, 197, 24, .25);
}

.page-home .chapter-index {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--c-gold);
  letter-spacing: .08em;
  line-height: 1;
}

.page-home .chapter-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.8rem);
  line-height: 1.2;
  margin: 0;
  color: var(--c-off-white);
  letter-spacing: .03em;
}

.page-home .home-entry {
  background: linear-gradient(120deg, transparent 0%, rgba(139, 0, 0, .35) 100%);
}

.page-home .entry-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
}

.page-home .entry-text p {
  color: rgba(245, 245, 240, .82);
  line-height: 1.8;
}

.page-home .entry-list {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0;
  display: grid;
  gap: .875rem;
}

.page-home .entry-list li {
  padding: 1rem 1.125rem;
  background: rgba(26, 26, 29, .8);
  border-left: 4px solid var(--c-gold);
  border-radius: 0 12px 12px 0;
  font-size: .95rem;
  color: var(--c-off-white);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
}

.page-home .img-scene {
  display: block;
}

.page-home .img-scene img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 2px solid rgba(245, 197, 24, .35);
  box-shadow: var(--shadow-l);
}

.page-home .img-scene--gold {
  padding: .5rem;
  background: linear-gradient(135deg, rgba(245, 197, 24, .18), rgba(139, 0, 0, .2));
  border: 2px solid rgba(245, 197, 24, .4);
  border-radius: 24px;
}

.page-home .home-device {
  position: relative;
  background: linear-gradient(160deg, #141416 0%, #231f1a 48%, rgba(139, 0, 0, .6) 100%);
}

.page-home .device-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
}

.page-home .device-step {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 1rem;
  align-items: start;
  margin-bottom: 1.1rem;
}

.page-home .step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--c-gold);
  color: var(--c-black);
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 0 0 3px rgba(245, 197, 24, .2);
}

.page-home .device-step p,
.page-home .device-tip {
  margin: 0;
  line-height: 1.75;
  color: rgba(245, 245, 240, .85);
  font-size: .95rem;
}

.page-home .device-tip {
  margin: .5rem 0 1.5rem;
  padding: .9rem 1.1rem;
  background: rgba(10, 10, 10, .5);
  border-left: 4px solid var(--c-crimson);
  border-radius: 0 12px 12px 0;
  font-size: .88rem;
}

.page-home .season-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
}

.page-home .season-text p {
  color: rgba(245, 245, 240, .82);
  line-height: 1.8;
}

.page-home .season-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-md) 0;
  background: rgba(26, 26, 29, .72);
  border-radius: 14px;
  overflow: hidden;
}

.page-home .season-table th,
.page-home .season-table td {
  text-align: left;
  padding: .85rem 1rem;
  border-bottom: 1px solid rgba(245, 197, 24, .18);
  font-size: .9rem;
}

.page-home .season-table th {
  background: rgba(245, 197, 24, .12);
  color: var(--c-gold);
  font-weight: 700;
  letter-spacing: .04em;
}

.page-home .season-table td {
  color: rgba(245, 245, 240, .82);
}

.page-home .season-table tr:last-child td {
  border-bottom: none;
}

.page-home .settle-wrap {
  max-width: var(--container);
  margin: 0 auto;
}

.page-home .settle-lead {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.7;
  color: var(--c-light-gold);
  max-width: 36em;
  margin-bottom: var(--space-md);
}

.page-home .settle-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.page-home .settle-card {
  padding: 1.75rem;
  border-radius: 18px;
  border: 1px solid rgba(245, 197, 24, .2);
  background: rgba(26, 26, 29, .78);
}

.page-home .settle-card--red {
  background: linear-gradient(145deg, rgba(139, 0, 0, .55), rgba(26, 26, 29, .85));
  border-color: rgba(220, 20, 60, .5);
}

.page-home .settle-card h3 {
  font-family: var(--font-display);
  color: var(--c-gold);
  font-size: 1.25rem;
  margin: 0 0 .75rem;
}

.page-home .settle-card p {
  font-size: .92rem;
  line-height: 1.8;
  color: rgba(245, 245, 240, .78);
  margin: 0;
}

.page-home .settle-note {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 1rem;
  margin-top: var(--space-md);
  padding: 1.1rem 1.25rem;
  background: rgba(139, 0, 0, .35);
  border-left: 4px solid var(--c-crimson);
  border-radius: 0 14px 14px 0;
}

.page-home .settle-note span {
  font-weight: 700;
  color: var(--c-bright);
  letter-spacing: .1em;
}

.page-home .settle-note p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.7;
  color: rgba(245, 245, 240, .85);
}

.page-home .news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: var(--container);
  margin: 0 auto;
}

.page-home .news-item {
  display: block;
  padding: 1.5rem;
  background: linear-gradient(160deg, rgba(26, 26, 29, .9), rgba(26, 26, 29, .6));
  border: 2px solid rgba(245, 197, 24, .22);
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.page-home .news-item:hover,
.page-home .news-item:focus-visible {
  transform: translateY(-4px);
  border-color: var(--c-gold);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .45);
}

.page-home .news-item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.4;
  margin: .5rem 0 .6rem;
  color: var(--c-off-white);
}

.page-home .news-item p {
  font-size: .88rem;
  line-height: 1.7;
  margin: 0;
  color: rgba(245, 245, 240, .68);
}

.page-home .home-trust {
  position: relative;
  background: linear-gradient(140deg, rgba(139, 0, 0, .2), transparent), var(--c-dark);
  border-top: 1px solid rgba(245, 197, 24, .25);
}

.page-home .trust-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: var(--container);
  margin: 0 auto var(--space-lg);
}

.page-home .metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  padding: 1.25rem 1rem;
  background: rgba(10, 10, 10, .5);
  border: 1px solid rgba(245, 197, 24, .18);
  border-radius: 16px;
  text-align: center;
}

.page-home .metric-num {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--c-gold);
  line-height: 1;
}

.page-home .metric-label {
  font-size: .8rem;
  letter-spacing: .06em;
  color: rgba(245, 245, 240, .65);
}

.page-home .trust-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: var(--container);
  margin: 0 auto var(--space-lg);
}

.page-home .trust-item {
  padding: 1.6rem;
  background: rgba(10, 10, 10, .5);
  border: 1px solid rgba(245, 197, 24, .18);
  border-radius: 18px;
}

.page-home .trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(245, 197, 24, .14);
  color: var(--c-gold);
  font-size: 1.4rem;
  margin-bottom: .75rem;
}

.page-home .trust-item h3 {
  font-size: 1.05rem;
  margin: 0 0 .5rem;
  color: var(--c-off-white);
}

.page-home .trust-item p {
  font-size: .88rem;
  line-height: 1.7;
  margin: 0;
  color: rgba(245, 245, 240, .7);
}

.page-home .trust-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  max-width: var(--container);
  margin: 0 auto;
}

@media (min-width: 768px) {
  .page-home .hero-quick-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home .settle-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .trust-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .page-home .hero-layout {
    grid-template-columns: 1.1fr .9fr;
  }

  .page-home .entry-layout {
    grid-template-columns: .9fr 1.1fr;
  }

  .page-home .device-layout {
    grid-template-columns: 1.05fr .95fr;
  }

  .page-home .season-layout {
    grid-template-columns: 1fr 1fr;
  }
}
