.jp-home {
  min-height: 100vh;
  min-height: 100svh;
  background: #f4e3c5;
  isolation: isolate;
}

.jp-home::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("../images/jp-background.png") center center / cover no-repeat;
}

.jp-title {
  width: min(920px, 100%);
  margin: 12px auto 28px;
  line-height: 1;
}

.jp-title img {
  display: block;
  width: 100%;
  height: auto;
}

.jp-home .page-hero h2 {
  margin-bottom: 0;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  line-height: 1.25;
}

.jp-home .site-header {
  background: rgba(255, 255, 255, 0.88);
  border-bottom-color: rgba(255, 255, 255, 0.65);
}

.jp-home .breadcrumb {
  width: fit-content;
  border-radius: 999px;
  padding: 9px 16px;
  background: rgba(255, 255, 255, 0.92);
}

.jp-home .language-header {
  border-bottom-color: rgba(255, 255, 255, 0.65);
  border-radius: 0 0 16px 16px;
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.92);
}

.jp-home .language-intro {
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  padding: clamp(20px, 4vw, 32px);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 32px rgba(87, 60, 25, 0.12);
}

.jp-home .language-option {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
}

.jp-home .language-future,
.jp-home .language-noscript {
  border-radius: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.92);
}

.jp-home .page-hero,
.jp-home .category-card {
  border-color: rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 32px rgba(87, 60, 25, 0.12);
}

@media (max-width: 760px) {
  .jp-home::before {
    background-position: 58% center;
  }

  .jp-title {
    margin: 16px auto 24px;
  }
}
