/* Hallmark · genre: atmospheric · macrostructure: Feature Stack · tone: cinematic
 * hero: Codrops WebGPU Gommage (scroll-scrubbed dissolve) · shop: Infinite Gradient 3D Carousel
 * display: Shippori Mincho / Tomorrow · body: Zen Kaku Gothic New · outlier: IBM Plex Mono
 * nav: N9 Edge-aligned · footer: Ft5 Statement
 * audience: 郡山で中古車の店選びに不安がある人 · use: 加盟店へ行く/電話
 */

html,
body.demo-004 {
  overflow-x: clip;
}

body.demo-004 {
  height: auto;
  min-height: 100vh;
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-weight: 400;
  scroll-snap-type: none;
}

body.demo-004 .site-footer {
  display: none;
}

.ju {
  position: relative;
}

.ju-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: var(--banner-height);
  padding: var(--space-sm) var(--page-gutter);
  pointer-events: none;
  opacity: 0;
  background: transparent;
  color: #f3ead6;
  border-bottom: 1px solid transparent;
  transition: opacity var(--dur-long) var(--ease-out), background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out);
}

body.demo-004.is-ready .ju-nav {
  opacity: 1;
}

body.demo-004.is-past-hero .ju-nav {
  background: var(--color-paper);
  color: var(--color-ink);
  border-bottom-color: var(--color-rule);
}

body.demo-004:not(.is-past-hero) .ju-nav .ju-cta {
  border-color: #f3ead6;
  color: #f3ead6;
}

body.demo-004:not(.is-past-hero) .ju-nav .ju-cta--solid {
  background: #f3ead6;
  border-color: #f3ead6;
  color: #14110e;
}

body.demo-004:not(.is-past-hero) .ju-nav__mark img {
  filter: none;
}

.ju-nav > * {
  pointer-events: auto;
}

.ju-nav__mark {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.ju-nav__mark img {
  display: block;
  height: 1.85rem;
  width: auto;
}

.ju-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.15rem;
  border: 1px solid var(--color-ink);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-style: normal;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur-micro) var(--ease-out), background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), opacity var(--dur-short) var(--ease-out);
}

.ju-cta:hover,
.ju-cta.is-hover {
  transform: translateY(-1px);
  background: var(--color-paper-3);
}

.ju-cta:focus-visible,
.ju-cta.is-focus {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}

.ju-cta:active,
.ju-cta.is-active {
  transform: translateY(0);
}

.ju-cta[aria-disabled="true"],
.ju-cta:disabled {
  opacity: 0.4;
  pointer-events: none;
}

.ju-cta--solid {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-paper);
}

.ju-cta--solid:hover,
.ju-cta--solid.is-hover {
  background: var(--color-ink);
  border-color: var(--color-ink);
  color: var(--color-paper);
}

.ju-kicker {
  margin: 0;
  font-family: var(--font-outlier);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  color: var(--color-accent);
}

.ju-stack .ju-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
  font-weight: 700;
  font-size: var(--text-sm);
}

.ju-stack .ju-kicker::before {
  content: "";
  width: 1.6em;
  height: 2px;
  background: var(--color-accent);
}

/* ---------- Hero: scroll-driven gommage (Codrops WebGPU Gommage extract) ---------- */

.ju-hero {
  position: relative;
  z-index: 50;
  isolation: isolate;
  height: 100svh;
  overflow: clip;
  background: #070605;
  color: #f3ead6;
}

.ju-orbit {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  pointer-events: none;
  perspective: 1100px;
  perspective-origin: 50% 48%;
  background:
    radial-gradient(ellipse at 50% 45%, #2a241c 0%, #0c0b09 62%, #070605 100%);
}

.ju-orbit__world {
  position: relative;
  width: min(72vmin, 34rem);
  height: min(72vmin, 34rem);
  transform-style: preserve-3d;
  will-change: transform;
}

.ju-orbit__item {
  position: absolute;
  left: 50%;
  top: 50%;
  margin: 0;
  width: clamp(4.2rem, 11vw, 7.2rem);
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.ju-orbit__item img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0.28rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  filter: saturate(1.05) contrast(1.04);
}

@media (max-width: 700px) {
  .ju-orbit__world {
    width: min(86vmin, 22rem);
    height: min(86vmin, 22rem);
  }

  .ju-orbit__item {
    width: clamp(3.4rem, 18vw, 5.2rem);
  }
}

.ju-logo-fx {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.ju-hero.is-fx .ju-logoimg {
  opacity: 0;
}

.ju-gommage {
  display: none;
}

.ju-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 48%, transparent 18%, rgba(7, 6, 5, 0.35) 55%, rgba(7, 6, 5, 0.72) 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.4), transparent 30%, transparent 70%, rgba(0, 0, 0, 0.45));
}

.ju-hero__veil::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.ju-titlecard {
  position: absolute;
  left: 0;
  right: 0;
  top: 48%;
  z-index: 5;
  margin: 0;
  padding: 0 var(--page-gutter);
  text-align: center;
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 3.5vw, 1.8rem);
  font-style: normal;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: #f6f3ea;
  transform: translateY(-50%);
  pointer-events: none;
}

.ju-logo__catch {
  display: block;
  margin: 0 auto 0.3em;
  max-width: 22em;
  font-family: var(--font-body);
  font-size: clamp(1.4rem, 4.4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.04em;
  color: #f6f3ea;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
  opacity: 0;
}

.ju-logo__proof {
  display: block;
  margin: 0 auto 0.55em;
  font-family: var(--font-outlier);
  font-size: clamp(0.95rem, 2.4vw, 1.25rem);
  font-weight: 500;
  letter-spacing: 0.32em;
  color: rgba(243, 234, 214, 0.88);
  opacity: 0;
}

.ju-logoimg {
  display: block;
  width: min(86vw, 34rem);
  height: auto;
  margin: 0 auto;
}

.ju-logo__sub {
  display: block;
  margin-top: 0.2em;
  font-family: var(--font-body);
  font-size: clamp(1.25rem, 3.6vw, 1.95rem);
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #f6f3ea;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
  opacity: 0;
}

.ju-hero__credit,
.ju-hero__scroll {
  position: absolute;
  z-index: calc(var(--z-raised) + 3);
  margin: 0;
  font-family: var(--font-outlier);
  font-size: var(--text-xs);
  letter-spacing: 0.22em;
  color: #f3ead6;
}

.ju-hero__credit {
  top: calc(var(--banner-height) + var(--space-sm));
  right: var(--page-gutter);
}

.ju-hero__scroll {
  left: 50%;
  bottom: var(--space-lg);
  transform: translateX(-50%);
}

/* ---------- Hero下: 目印バンド ---------- */

.ju-hero-mark {
  position: relative;
  z-index: 3;
  padding: clamp(3.5rem, 10vw, 7rem) var(--page-gutter);
  background: var(--color-paper);
  color: var(--color-ink);
  border-top: 1px solid var(--color-rule);
  border-bottom: 1px solid var(--color-rule);
}

.ju-hero-mark__inner {
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
}

.ju-hero-mark .ju-kicker {
  color: var(--color-accent);
  letter-spacing: 0.22em;
}

.ju-hero-mark h2 {
  margin: 0.5rem 0 0.75rem;
  font-family: var(--font-body);
  font-size: clamp(1.25rem, 3.8vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-ink);
}

.ju-hero-mark__logo {
  margin: 0 auto 0.8rem;
  width: min(70vw, 15rem);
  padding: 0;
  background: transparent;
  border: 0;
}

.ju-hero-mark__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.ju-hero-mark p:not(.ju-kicker) {
  margin: 0;
  color: var(--color-muted);
  font-size: var(--text-sm);
  line-height: 1.7;
}

/* ---------- Shop select: Infinite Gradient 3D Carousel ---------- */

.ju-shops {
  position: relative;
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 18%, #2a2218 0%, #0c0b09 42%, #070605 100%);
  color: #f3ead6;
  border-top: 0;
  overflow: clip;
  padding: 0 var(--page-gutter) clamp(60px, 12vh, 140px);
}

.ju-shops__intro {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: calc(var(--banner-height) + var(--space-xl)) 0 var(--space-lg);
}

.ju-shops .ju-kicker {
  color: rgba(243, 234, 214, 0.78);
  letter-spacing: 0.22em;
  text-shadow: 0 0 24px rgba(225, 6, 0, 0.35);
}

.ju-shops__title {
  margin: var(--space-xs) 0 0;
  font-family: var(--font-body);
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: #f7f3ea;
}

.ju-shops__sub {
  margin: var(--space-sm) auto 0;
  max-width: 46ch;
  color: rgba(243, 234, 214, 0.62);
  font-size: var(--text-sm);
}

.ju-shops__stack {
  width: min(80vw, 980px);
  margin: 0 auto;
}

.ju-shopcard {
  position: sticky;
  top: var(--top, 96px);
  margin: 0 0 34vh;
  background: #1a1814;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: clamp(16px, 2vw, 22px);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  padding: clamp(14px, 1.4vw, 20px);
  display: grid;
  grid-template-columns: minmax(180px, 42%) 1fr;
  grid-template-rows: 1fr auto;
  gap: clamp(16px, 1.6vw, 26px);
  min-height: clamp(300px, 44vh, 460px);
  color: #f7f3ea;
  transform-origin: 50% 0;
  will-change: transform, filter;
}

.ju-shopcard:last-of-type {
  margin-bottom: 0;
}

.ju-shopcard[data-ju-shop-href] {
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.ju-shopcard[data-ju-shop-href]:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.ju-shops__tail {
  height: clamp(48vh, 60vh, 68vh);
}

.ju-shopcard__media {
  grid-column: 1;
  grid-row: 1 / span 2;
  position: relative;
  border-radius: clamp(10px, 1.2vw, 16px);
  overflow: hidden;
  min-height: 200px;
  background: #14110e;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.ju-shopcard__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  transition: transform 1.1s var(--ease-out);
}

.ju-shopcard.is-in .ju-shopcard__img {
  transform: scale(1);
}

.ju-shopcard__no {
  position: absolute;
  left: 0.85rem;
  top: 0.75rem;
  z-index: 1;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(7, 6, 5, 0.6);
  backdrop-filter: blur(6px);
  font-family: var(--font-outlier);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  color: rgba(247, 243, 234, 0.85);
}

.ju-shopcard__body {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  padding: 4px clamp(2px, 1vw, 12px) 0 0;
  display: flex;
  flex-direction: column;
}

.ju-shopcard__kana {
  margin: 0;
  font-family: var(--font-outlier);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: rgba(247, 243, 234, 0.55);
}

.ju-shopcard__name {
  margin: 0.3rem 0 0;
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 1.6vw, 1.5rem);
  font-weight: 800;
  line-height: 1.3;
  color: #f7f3ea;
}

.ju-shopcard__area {
  margin: 0.2rem 0 0;
  font-size: var(--text-sm);
  color: rgba(247, 243, 234, 0.6);
}

.ju-shopcard__line {
  margin: var(--space-sm) 0 0;
  max-width: 46ch;
  line-height: 1.7;
  color: rgba(243, 234, 214, 0.82);
}

.ju-shopcard__note {
  margin: var(--space-xs) 0 0;
  font-size: var(--text-sm);
  color: rgba(243, 234, 214, 0.55);
}

.ju-shopcard__meta {
  margin: var(--space-sm) 0 0;
  display: grid;
  gap: var(--space-3xs);
}

.ju-shopcard__meta div {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: var(--space-sm);
  font-size: var(--text-sm);
}

.ju-shopcard__meta dt {
  color: rgba(243, 234, 214, 0.45);
}

.ju-shopcard__meta dd {
  margin: 0;
  color: #f3ead6;
}

.ju-shopcard__foot {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xs);
}

.ju-shops .ju-cta {
  border-color: #f3ead6;
  color: #f3ead6;
}

.ju-shops .ju-cta:hover,
.ju-shops .ju-cta.is-hover {
  background: rgba(243, 234, 214, 0.12);
}

.ju-shops .ju-cta--solid {
  background: #f3ead6;
  border-color: #f3ead6;
  color: #14110e;
}

.ju-shops .ju-cta--solid:hover,
.ju-shops .ju-cta--solid.is-hover {
  background: #fff;
  border-color: #fff;
  color: #14110e;
}

.ju-shops__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .ju-shops__stack {
    width: 88vw;
  }

  .ju-shopcard {
    min-height: clamp(280px, 40vh, 400px);
  }
}

@media (max-width: 620px) {
  .ju-shops__stack {
    width: 92vw;
  }

  .ju-shopcard {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    min-height: 0;
    gap: 13px;
    padding: 12px;
    border-radius: 18px;
  }

  .ju-shopcard__media {
    grid-column: 1;
    grid-row: 1;
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .ju-shopcard__body {
    grid-column: 1;
    grid-row: 2;
    padding: 2px 2px 0;
  }

  .ju-shopcard__foot {
    grid-column: 1;
    grid-row: 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ju-shopcard__img {
    transform: none !important;
    transition: none !important;
  }
}

/* ---------- 目印（JUロゴ） ---------- */

.ju-break {
  position: relative;
  padding: var(--space-3xl) var(--page-gutter);
  background:
    linear-gradient(180deg, #070605 0%, #1a1712 8%, var(--color-paper) 22%, var(--color-paper) 100%);
  color: var(--color-ink);
}

.ju-break__inner {
  display: grid;
  grid-template-columns: minmax(12rem, 22rem) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
  max-width: 68rem;
  margin: 0 auto;
}

.ju-break__mark {
  margin: 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: #fff;
  border: 1px solid var(--color-rule);
}

.ju-break__mark img {
  display: block;
  width: 100%;
  height: auto;
}

.ju-break__copy .ju-kicker {
  color: var(--color-accent);
}

.ju-break__copy h2 {
  margin: var(--space-md) 0 var(--space-sm);
  font-family: var(--font-body);
  font-size: var(--text-display-s);
  font-style: normal;
  font-weight: 800;
  line-height: 1.15;
}

.ju-break__copy p:not(.ju-kicker) {
  margin: 0;
  max-width: 38ch;
  line-height: 1.75;
  color: var(--color-muted);
}

@media (max-width: 800px) {
  .ju-break__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-xl);
  }

  .ju-break__mark {
    max-width: 20rem;
  }
}

.ju-assoc {
  padding: var(--space-3xl) var(--page-gutter);
  background:
    linear-gradient(180deg, #070605 0%, transparent 14%),
    var(--color-paper-2);
  border-top: 0;
}

.ju-assoc h2 {
  margin: var(--space-md) 0 var(--space-sm);
  font-family: var(--font-body);
  font-size: var(--text-display-s);
  font-style: normal;
  font-weight: 800;
  line-height: 1.15;
}

.ju-assoc__lead {
  margin: 0 0 var(--space-xl);
  max-width: 42ch;
  color: var(--color-muted);
  line-height: 1.7;
}

.ju-assoc__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
}

.ju-assoc__card {
  min-width: 0;
  padding: var(--space-lg);
  background: var(--color-paper);
  border: 1px solid var(--color-rule);
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.ju-assoc__card:hover {
  transform: translateY(-3px);
  border-color: rgba(225, 6, 0, 0.22);
}

.ju-assoc__kana {
  margin: 0 0 var(--space-2xs);
  font-family: var(--font-outlier);
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  color: var(--color-accent);
}

.ju-assoc__card h3 {
  margin: 0 0 var(--space-sm);
  font-size: var(--text-lg);
  font-style: normal;
  font-weight: 800;
}

.ju-assoc__card p {
  margin: 0 0 var(--space-sm);
  color: var(--color-muted);
  font-size: var(--text-sm);
  line-height: 1.65;
}

.ju-assoc__addr,
.ju-assoc__meta {
  color: var(--color-ink) !important;
}

.ju-file__acts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

/* ---------- JUとは ---------- */

.ju-stack {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--space-2xl);
  padding: var(--space-3xl) var(--page-gutter);
  background: var(--color-paper);
  border-top: 1px solid var(--color-rule);
}

.ju-stack__sticky {
  position: sticky;
  top: calc(var(--banner-height) + var(--space-xl));
  align-self: start;
}

.ju-stack__sticky h2 {
  margin: var(--space-md) 0 var(--space-md);
  font-family: var(--font-body);
  font-size: var(--text-display-s);
  font-style: normal;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

.ju-stack__punch {
  margin: var(--space-lg) 0 var(--space-sm);
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-style: normal;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--color-ink);
}

.ju-stack__body {
  margin: 0 0 var(--space-md);
  max-width: 36ch;
  line-height: 1.75;
  color: var(--color-muted);
}

.ju-stack__sticky > .ju-cta {
  margin-top: var(--space-md);
}

.ju-stack__scroll {
  display: grid;
  gap: var(--space-md);
}

.ju-panel {
  padding: var(--space-xl) var(--space-lg);
  background: var(--color-paper);
  border: 1px solid var(--color-rule);
}

.ju-panel__no {
  margin: 0 0 var(--space-sm);
  font-family: var(--font-outlier);
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1;
  color: var(--color-accent);
  letter-spacing: 0.02em;
  opacity: 0.9;
}

.ju-panel h3 {
  margin: 0 0 var(--space-sm);
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-style: normal;
  font-weight: 800;
}

.ju-panel p {
  margin: 0;
  max-width: 48ch;
  line-height: 1.75;
  color: var(--color-muted);
}

.ju-panel--mark {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(8rem, 11rem);
  gap: var(--space-lg);
  align-items: center;
}

.ju-panel__text {
  min-width: 0;
}

.ju-panel__mark {
  margin: 0;
  padding: var(--space-md);
  background: transparent;
  border: 1px solid var(--color-rule);
}

.ju-panel__mark--tekisei {
  border-color: var(--color-rule);
}

.ju-panel__mark img {
  display: block;
  width: 100%;
  height: auto;
}

.ju-panel__mark a {
  display: block;
}

.ju-panel__more {
  margin: var(--space-md) 0 0;
}

@media (max-width: 700px) {
  .ju-panel--mark {
    grid-template-columns: 1fr;
  }

  .ju-panel__mark {
    max-width: 14rem;
  }
}

[data-ju-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
}

[data-ju-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Guide / news / links / footer ---------- */

.ju-guide,
.ju-news,
.ju-videos,
.ju-links {
  padding: var(--space-3xl) var(--page-gutter);
}

.ju-guide {
  background: var(--color-paper-2);
  border-top: 1px solid var(--color-rule);
}

.ju-guide__head h2,
.ju-news h2,
.ju-videos h2 {
  margin: var(--space-md) 0 var(--space-sm);
  font-family: var(--font-body);
  font-size: var(--text-display-s);
  font-style: normal;
  font-weight: 800;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.ju-guide__head p {
  margin: 0 0 var(--space-xl);
  color: var(--color-muted);
}

.ju-guide__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.9fr;
  gap: var(--space-md);
}

.ju-guide__list li {
  min-width: 0;
  padding: var(--space-lg);
  background: var(--color-paper);
  border: 1px solid var(--color-rule);
}

.ju-guide__list h3 {
  margin: 0 0 var(--space-xs);
  font-size: var(--text-lg);
  font-style: normal;
  font-weight: 800;
}

.ju-guide__list p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.7;
  font-size: var(--text-sm);
}

.ju-guide__more {
  margin: var(--space-xl) 0 0;
}

.ju-news {
  background: var(--color-paper);
  border-top: 1px solid var(--color-rule);
}

.ju-news h2 {
  margin-bottom: var(--space-xl);
}

.ju-news__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 20rem);
  gap: var(--space-lg);
  align-items: start;
  margin-bottom: var(--space-xl);
}

@media (max-width: 900px) {
  .ju-news__row {
    grid-template-columns: minmax(0, 1fr);
  }
}

.ju-news__photo {
  display: block;
  border: 1px solid var(--color-rule);
  overflow: hidden;
}

.ju-news__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

.ju-news__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
  border: 1px solid var(--color-rule);
  background: var(--color-paper);
}

.ju-news__list li {
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid var(--color-rule);
  font-size: var(--text-sm);
}

.ju-news__list li a {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 10rem) minmax(0, 1fr);
  gap: var(--space-md);
  color: inherit;
  text-decoration: none;
}

.ju-news__list li a:hover strong,
.ju-news__list li a:focus-visible strong {
  text-decoration: underline;
}

.ju-news__list li:first-child {
  border-top: 0;
}

.ju-news__list time {
  font-family: var(--font-outlier);
  color: var(--color-accent);
}

.ju-news__list span {
  color: var(--color-muted);
}

.ju-news__list strong {
  font-weight: 700;
}

.ju-videos {
  background: var(--color-paper);
  border-top: 1px solid var(--color-rule);
}

.ju-videos__row {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--page-gutter);
  -webkit-overflow-scrolling: touch;
}

.ju-videocard {
  flex: 0 0 auto;
  width: min(72vw, 17rem);
  scroll-snap-align: start;
  color: inherit;
  text-decoration: none;
}

.ju-videocard__thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--color-rule);
  background: var(--color-paper-3);
}

.ju-videocard__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s var(--ease-out);
}

.ju-videocard:hover .ju-videocard__thumb img {
  transform: scale(1.05);
}

.ju-videocard__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.28);
  transition: background 0.2s ease;
}

.ju-videocard:hover .ju-videocard__play {
  background: rgba(0, 0, 0, 0.4);
}

.ju-videocard__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: var(--space-sm) 0 var(--space-2xs);
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1.5;
}

.ju-videocard__date {
  display: block;
  font-family: var(--font-outlier);
  font-size: var(--text-xs);
  color: var(--color-muted);
}

.ju-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
  background: var(--color-paper-2);
  border-top: 1px solid var(--color-rule);
}

.ju-links__card {
  min-width: 0;
  padding: var(--space-lg);
  background: #ffffff;
  border: 1px solid var(--color-rule);
  color: inherit;
  text-decoration: none;
  transition:
    transform var(--dur-short) var(--ease-out),
    border-color var(--dur-short) var(--ease-out);
}

.ju-links__card:hover,
.ju-links__card.is-hover {
  transform: translateY(-2px);
  border-color: rgba(225, 6, 0, 0.28);
}

.ju-links__card:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}

.ju-links__card p {
  margin: 0 0 var(--space-xs);
  font-family: var(--font-outlier);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  color: var(--color-accent);
}

.ju-links__card h3 {
  margin: 0;
  font-size: var(--text-lg);
  font-style: normal;
  font-weight: 800;
}

.ju-links__logo {
  display: block;
  height: 96px;
  width: 220px;
  max-width: 100%;
  margin-top: var(--space-xs);
  object-fit: contain;
  object-position: left center;
}

/* Orico画像の上下の余白を除き、ロゴ本体の幅を他と揃える。 */
.ju-links__logo--orico {
  height: auto;
  aspect-ratio: 55 / 24;
  object-fit: cover;
  object-position: center;
}

.ju-links__logo--fukukuru {
  width: 180px;
}

.ju-foot {
  padding: 0 0 var(--space-xl);
  background: #263a4f;
  color: #fff;
  border-top: 1px solid #263a4f;
}

.ju-foot__line {
  margin: 0;
  padding: clamp(2rem, 5vw, 3.5rem) var(--page-gutter);
  max-width: none;
  width: 100%;
  box-sizing: border-box;
  background: var(--color-night);
  color: var(--color-night-ink);
  font-family: var(--font-body);
  font-size: var(--text-display-s);
  font-style: normal;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.ju-foot__meta {
  display: flex;
  justify-content: space-between;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  padding: var(--space-md) var(--page-gutter) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.85);
}

.ju-foot__name {
  margin: 0 0 var(--space-xs);
  color: #fff;
  font-weight: 700;
}

.ju-foot__meta p {
  margin: 0;
}

.ju-foot__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.ju-foot__links a,
.ju-foot a {
  color: inherit;
}

.ju-foot__copy {
  margin: var(--space-lg) var(--page-gutter) 0;
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 900px) {
  .ju-titlecard {
    letter-spacing: 0.08em;
  }

  .ju-stack,
  .ju-guide__list,
  .ju-links,
  .ju-assoc__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ju-stack__sticky {
    position: static;
  }

  .ju-news__list li a {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-2xs);
  }

  .ju-foot__meta {
    flex-direction: column;
  }

  .ju-cta {
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ju-hero .ju-titlecard,
  .ju-hero .ju-hero__credit,
  .ju-hero .ju-hero__scroll,
  .ju-nav {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
