/*
 * Lion Express home page (renewal v2).
 * Direction: clinical calm — light, large Japanese display type; deep teal ink;
 * amber only for primary actions and the route accents; mono micro-labels as a
 * pharmaceutical-label layer; one signature motion (the route map in the hero).
 * Tokens: tokens.css. Motion respects prefers-reduced-motion.
 */

.lx-home-page main {
  overflow-x: hidden;
  overflow-x: clip;
}

.lx-home-page .lx-main {
  padding-block: 0;
}

/* The hero search replaces the header's mobile search at the top of the home page.
   Once the header turns compact, the search floats under it (no layout shift). */
.lx-home-page .lx-header:not(.is-compact) .lx-search--mobile {
  display: none;
}

@media (max-width: 767px) {
  .lx-home-page .lx-header.is-compact .lx-search--mobile {
    position: absolute;
    top: calc(100% + 8px);
    right: var(--lx-gutter);
    left: var(--lx-gutter);
    margin: 0;
    box-shadow: 0 12px 28px rgba(11, 21, 20, 0.16);
    animation: lx-h-drop 0.35s var(--lx-ease) backwards;
  }
}

@keyframes lx-h-drop {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 767px) {
  .lx-home-page .lx-header.is-compact .lx-search--mobile {
    transition: opacity var(--lx-dur) var(--lx-ease), transform var(--lx-dur) var(--lx-ease);
  }

  /* Out of the way while reading down the page; back as soon as the visitor scrolls up. */
  .lx-home-page .lx-header.is-compact.lx-scrolling-down .lx-search--mobile:not(:focus-within) {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
  }
}

.lx-pc-only {
  display: none;
}

/* base.css spaces stacked list items by 4px; home lists lay out with gap. */
.lx-home-page .lx-main [role="list"] > li + li {
  margin-block-start: 0;
}

/* Phrase-aware Japanese line breaks (Chromium); home.js adds BudouX elsewhere. */
.lx-home-page .lx-main :is(p, h2, h3, dd, li, .lx-card__name) {
  word-break: auto-phrase;
  /* text-wrap-style only: the text-wrap shorthand would also reset text-wrap-mode and undo nowrap titles. */
  text-wrap-style: pretty;
}

/* ---------- Shared section frame ---------- */

.lx-h-section {
  padding-block: 64px;
}

.lx-h-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: var(--lx-radius-pill);
  font-size: 16px;
  font-weight: var(--lx-w-label);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: background-color var(--lx-dur) var(--lx-ease), color var(--lx-dur) var(--lx-ease);
}

.lx-h-button--light {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}

.lx-h-button--light:hover {
  background: #fff;
  color: var(--lx-deep);
}

/* ---------- Reveal (only when JS runs; see home.js) ---------- */

.lx-js [data-lx-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--lx-ease), transform 0.8s var(--lx-ease);
}

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

.lx-js li[data-lx-reveal] {
  transform: none;
}

.lx-js li[data-lx-reveal]:nth-child(2) { transition-delay: 0.06s; }
.lx-js li[data-lx-reveal]:nth-child(3) { transition-delay: 0.12s; }
.lx-js li[data-lx-reveal]:nth-child(4) { transition-delay: 0.18s; }
.lx-js li[data-lx-reveal]:nth-child(5) { transition-delay: 0.24s; }
.lx-js li[data-lx-reveal]:nth-child(6) { transition-delay: 0.3s; }

/* ---------- Hero ---------- */

.lx-h-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-top: 22px;
  padding-bottom: 120px;
  /* v2.2: deep teal at the copy, ocean blue towards the map, a soft sky glow behind it */
  background:
    radial-gradient(80% 55% at 88% 22%, rgba(56, 150, 196, 0.4) 0%, rgba(56, 150, 196, 0) 70%),
    radial-gradient(90% 70% at 66% 72%, rgba(29, 120, 130, 0.5) 0%, rgba(14, 59, 56, 0) 60%),
    linear-gradient(165deg, var(--lx-deep) 0%, var(--lx-ocean) 62%, var(--lx-ocean-night) 100%);
  color: #fff;
}

.lx-h-hero__map {
  position: absolute;
  inset: 0;
  z-index: -1;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, transparent calc(100% - 150px), #000 calc(100% - 96px));
  mask-image: linear-gradient(180deg, transparent 0%, transparent calc(100% - 150px), #000 calc(100% - 96px));
}

.lx-h-hero__map canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.lx-h-hero::after {
  content: none;
}

.lx-h-hero__inner {
  position: relative;
  padding-bottom: 20px;
}

.lx-h-hero__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  font-weight: var(--lx-w-label);
  letter-spacing: 0.12em;
}

.lx-h-hero__kicker-mark {
  width: 22px;
  height: 1px;
  background: rgba(150, 205, 196, 0.95);
}

.lx-h-hero__title {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(32px, 8.8vw, 44px);
  font-weight: var(--lx-w-display);
  font-feature-settings: "palt";
  line-height: 1.26;
  letter-spacing: 0.02em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.lx-h-hero__line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.lx-h-hero__line > span {
  display: inline-block;
}


.lx-h-hero__lead {
  margin: 0 0 18px;
  word-break: keep-all;
  overflow-wrap: anywhere;
  color: var(--lx-on-deep);
  font-size: 16px;
  line-height: 1.9;
}


.lx-h-search {
  position: relative;
  display: flex;
  align-items: center;
  height: 56px;
  padding: 5px 5px 5px 48px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(2, 18, 16, 0.32);
  color: var(--lx-ink);
  animation: none;
}

.lx-h-search__icon {
  position: absolute;
  left: 16px;
  width: 22px;
  height: 22px;
  color: var(--lx-muted);
}

.lx-h-search__input {
  flex: 1;
  height: 100%;
  min-width: 0;
  padding: 0 8px 0 0;
  border: 0;
  background: transparent;
  color: var(--lx-ink);
  font-size: 16px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.lx-h-search__input::placeholder {
  color: var(--lx-muted);
}

.lx-h-search__input::-webkit-search-cancel-button {
  display: none;
}

.lx-h-search:focus-within {
  outline: 3px solid var(--lx-amber);
  outline-offset: 2px;
}

.lx-h-search__button {
  flex: none;
  height: 100%;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  background: var(--lx-amber);
  color: var(--lx-ink);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: background-color var(--lx-dur) var(--lx-ease);
}

.lx-h-search__button:hover {
  background: var(--lx-amber-hover);
}

.lx-h-hero__chips {
  display: flex;
  gap: 8px;
  margin: 12px calc(var(--lx-gutter) * -1) 0;
  padding: 0 var(--lx-gutter) 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent);
  mask-image: linear-gradient(90deg, #000 82%, transparent);
  animation: none;
}

.lx-h-hero__chips::-webkit-scrollbar {
  display: none;
}

/* Trailing room so the last chip can scroll clear of the fade. */
.lx-h-hero__chips::after {
  content: "";
  flex: 0 0 40px;
}

/* Scroll rows clip outlines: give focus rings room inside the scrollport. */
.lx-h-hero__chips,
.lx-h-campaign__track,
.lx-h-rail {
  padding-top: 6px;
  margin-top: -6px;
  padding-bottom: 8px;
}

.lx-h-hero__chips {
  margin-top: 6px;
}

.lx-h-tabs .lx-h-tabs__tab:focus-visible {
  outline-offset: -3px;
}

.lx-h-hero__chips a {
  display: inline-flex;
  flex: none;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--lx-radius-pill);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  text-decoration: none;
  letter-spacing: 0.04em;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background-color var(--lx-dur) var(--lx-ease), border-color var(--lx-dur) var(--lx-ease);
}

.lx-h-hero__chips a:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.12);
}

/* v2.2: each category chip carries its tone as a small dot */
.lx-h-hero__chips a[class*="lx-tone-"]::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--lx-tone-bright);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--lx-tone-bright) 24%, transparent);
}

.lx-h-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.lx-h-facts__item {
  padding: 12px 12px 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lx-h-facts__item:nth-child(odd) {
  padding-right: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.lx-h-facts__item:nth-child(even) {
  padding-left: 16px;
}

.lx-h-facts__item:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.lx-h-facts dt {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  color: var(--lx-fact, rgba(150, 205, 196, 0.95));
  font-size: 14px;
  font-weight: var(--lx-w-label);
  letter-spacing: 0.1em;
}

.lx-h-facts__icon {
  flex: none;
  width: 18px;
  height: 18px;
}

/* v2.2: one accent per fact (marks on the deep hero only) */
.lx-h-facts__item--ship { --lx-fact: var(--lx-coral); }
.lx-h-facts__item--time { --lx-fact: var(--lx-sky); }
.lx-h-facts__item--pack { --lx-fact: var(--lx-mint); }
.lx-h-facts__item--pay { --lx-fact: var(--lx-sun); }

.lx-h-facts dd {
  display: grid;
  gap: 2px;
  margin: 0;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.lx-h-facts strong {
  color: #fff;
  font-size: 16px;
  font-weight: var(--lx-w-label);
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.lx-h-facts strong small {
  margin-left: 4px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  font-weight: 400;
}

.lx-h-facts span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  line-height: 1.55;
}

.lx-h-hero :focus-visible,
.lx-h-flow :focus-visible,
.lx-contact-card :focus-visible {
  outline: 3px solid var(--lx-amber);
  outline-offset: 3px;
}

/* ---------- Campaign carousel ---------- */

.lx-h-campaign {
  padding-bottom: 40px;
}

.lx-h-campaign .lx-head {
  margin-bottom: 20px;
}

.lx-h-campaign__track {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0 var(--lx-gutter) 8px;
  overflow-x: auto;
  list-style: none;
  scroll-padding-inline: var(--lx-gutter);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.lx-h-campaign__track::-webkit-scrollbar {
  display: none;
}

.lx-h-campaign__slide {
  flex: 0 0 86%;
  scroll-snap-align: start;
}

.lx-h-campaign__link {
  display: block;
  color: var(--lx-ink);
  text-decoration: none;
}

.lx-h-campaign__media {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  background: var(--lx-fog);
  outline: 1px solid rgba(11, 21, 20, 0.08);
  outline-offset: -1px;
}

.lx-h-campaign__caption {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  align-items: center;
  margin-top: 14px;
}

.lx-h-campaign__caption::after {
  content: "→";
  grid-row: 1 / span 2;
  grid-column: 2;
  color: var(--lx-deep);
  font-size: 18px;
  transition: transform var(--lx-dur) var(--lx-ease);
}

.lx-h-campaign__link:hover .lx-h-campaign__caption::after {
  transform: translateX(4px);
}

.lx-h-campaign__title {
  font-size: 16px;
  font-weight: var(--lx-w-label);
  letter-spacing: 0.04em;
}

.lx-h-campaign__sub {
  color: var(--lx-muted);
  font-size: 14px;
}

.lx-h-campaign__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  transition: transform 0.7s var(--lx-ease);
}

.lx-h-campaign__link:hover .lx-h-campaign__media img {
  transform: scale(1.03);
}

.lx-h-campaign__dots {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 12px;
}

.lx-h-campaign__dot {
  position: relative;
  width: var(--lx-touch);
  height: var(--lx-touch);
  padding: 0;
  border: 0;
  background: transparent;
}

.lx-h-campaign__dot::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--lx-line);
  transform: translate(-50%, -50%);
  transition: width var(--lx-dur) var(--lx-ease), background-color var(--lx-dur) var(--lx-ease);
}

.lx-h-campaign__dot[aria-current="true"]::before {
  width: 22px;
  background: var(--lx-deep);
}

/* ---------- Category index ---------- */

.lx-h-cats {
  padding-top: 48px;
}

.lx-h-cats__grid {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--lx-line);
  list-style: none;
}

.lx-h-cats__grid > li {
  border-bottom: 1px solid var(--lx-line);
}

.lx-h-cat {
  display: grid;
  grid-template-columns: 40px 1fr 20px;
  gap: 14px;
  align-items: center;
  min-height: 84px;
  padding: 14px 4px;
  color: var(--lx-ink);
  text-decoration: none;
}

.lx-h-cat__num {
  color: var(--lx-link);
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.lx-h-cat__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--lx-deep);
}

.lx-h-cat__icon svg {
  width: 36px;
  height: 36px;
}

.lx-h-cat__body {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.lx-h-cat__name {
  font-size: 17px;
  font-weight: var(--lx-w-label);
  letter-spacing: 0.05em;
}

.lx-h-cat__desc {
  overflow: hidden;
  color: var(--lx-muted);
  font-size: 14px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

@media (max-width: 359px) {
  .lx-h-cat__desc {
    overflow: visible;
    white-space: normal;
    text-overflow: clip;
  }
}

@media (max-width: 399px) {
  .lx-h-cats .lx-head--row {
    flex-wrap: wrap;
    align-items: flex-start;
  }
}

.lx-h-cat__arrow {
  width: 20px;
  height: 20px;
  color: var(--lx-deep);
  transition: transform var(--lx-dur) var(--lx-ease);
}

.lx-h-cat:hover .lx-h-cat__arrow {
  transform: translateX(4px);
}

/* v2.2: the group's tone on its number tile and arrow */
.lx-h-cat[class*="lx-tone-"] .lx-h-cat__num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--lx-tone-tint);
  color: var(--lx-tone);
  font-size: 17px;
  font-weight: 500;
}

.lx-h-cat[class*="lx-tone-"] .lx-h-cat__arrow {
  color: var(--lx-tone);
}

/* ---------- Product cards ---------- */

.lx-h-reco {
  padding-top: 40px;
}

.lx-h-tabs .lx-h-tabs__list {
  display: flex;
  gap: 24px;
  margin: 0 calc(var(--lx-gutter) * -1) 24px;
  padding: 0 var(--lx-gutter);
  overflow-x: auto;
  border: 0;
  border-bottom: 1px solid var(--lx-line);
  border-radius: 0;
  scrollbar-width: none;
}

.lx-h-tabs__list::-webkit-scrollbar {
  display: none;
}

.lx-h-tabs .lx-h-tabs__tab {
  position: relative;
  flex: none;
  min-width: var(--lx-touch);
  min-height: 48px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--lx-muted);
  font-size: 15px;
  font-weight: var(--lx-w-label);
  letter-spacing: 0.06em;
}

.lx-h-tabs__tab::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--lx-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--lx-dur-slow) var(--lx-ease);
}

.lx-h-tabs .lx-h-tabs__tab:hover {
  background: none;
  color: var(--lx-ink);
}

.lx-h-tabs .lx-h-tabs__tab[aria-selected="true"] {
  background: none;
  color: var(--lx-ink);
}

.lx-h-tabs__tab[aria-selected="true"]::after {
  transform: scaleX(1);
}

/* ---------- Flow ---------- */

.lx-h-flow {
  position: relative;
  background-color: var(--lx-deep);
  background-image: radial-gradient(rgba(150, 205, 196, 0.13) 1px, transparent 1.4px);
  background-size: 16px 16px;
  color: #fff;
}

.lx-h-flow__track {
  position: relative;
  margin-top: 8px;
}

.lx-h-flow__steps {
  display: grid;
  gap: 32px;
  margin: 0;
  padding: 0 0 0 36px;
  list-style: none;
}

.lx-h-flow__track::before,
.lx-h-flow__track::after {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 7px;
  width: 1px;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0 6px, transparent 6px 12px);
}

.lx-h-flow__track::after {
  background: var(--lx-amber);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1.8s 0.2s var(--lx-ease);
}

.lx-h-flow__track.is-in::after {
  transform: scaleY(1);
}

.lx-h-flow__runner {
  position: absolute;
  z-index: 1;
  top: 6px;
  left: 3px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #ffd68c;
  box-shadow: 0 0 0 4px rgba(245, 165, 36, 0.2), 0 0 16px rgba(245, 165, 36, 0.7);
  opacity: 0;
}

.lx-h-flow__track.is-in .lx-h-flow__runner {
  animation: lx-h-run-y 4.6s 2s var(--lx-ease) infinite;
}

@keyframes lx-h-run-y {
  0% { top: 6px; opacity: 0; }
  12% { opacity: 1; }
  82% { opacity: 1; }
  100% { top: calc(100% - 16px); opacity: 0; }
}

@keyframes lx-h-run-x {
  0% { left: 0; opacity: 0; }
  12% { opacity: 1; }
  82% { opacity: 1; }
  100% { left: calc(100% - 9px); opacity: 0; }
}

.lx-h-flow__step {
  position: relative;
}

.lx-h-flow__step::before {
  content: "";
  position: absolute;
  top: 10px;
  left: -34px;
  width: 11px;
  height: 11px;
  border: 1px solid var(--lx-amber);
  border-radius: 999px;
  background: var(--lx-deep);
}

.lx-h-flow__num {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 40px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.02em;
}

.lx-h-flow__step h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 20px;
  font-weight: var(--lx-w-display);
  letter-spacing: 0.06em;
}

.lx-h-flow__step p {
  margin: 0;
  color: var(--lx-on-deep);
  font-size: 15px;
  line-height: 1.85;
}

.lx-h-flow__action {
  margin: 40px 0 0;
}

/* ---------- New arrivals rail ---------- */

.lx-h-rail {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0 var(--lx-gutter) 8px;
  overflow-x: auto;
  list-style: none;
  scroll-padding-inline: var(--lx-gutter);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.lx-h-rail::-webkit-scrollbar {
  display: none;
}

.lx-h-rail > li {
  flex: 0 0 44%;
  scroll-snap-align: start;
}

/* ---------- Trust ---------- */

.lx-h-trust {
  background: var(--lx-wash-mint);
}

.lx-h-info {
  background: var(--lx-wash-sky);
}

.lx-h-trust__statement {
  margin: 0 0 32px;
  padding-left: 18px;
  border-left: 2px solid var(--lx-deep);
  color: var(--lx-ink);
  font-size: 21px;
  font-weight: var(--lx-w-display);
  line-height: 1.7;
  letter-spacing: 0.05em;
}

.lx-h-trust__links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.lx-h-trust__links a,
.lx-h-trust__contact a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--lx-touch);
  min-height: var(--lx-touch);
}

/* Equal gaps around each 「・」: the inline padding keeps short labels like LINE
   over the 44px min-width (no centring slack), and the matching negative margin
   lets the target overlap the separator instead of widening the row (#259). */
.lx-h-trust__contact a {
  padding-inline: 6px;
  margin-inline: -6px;
}

.lx-h-trust__rule {
  margin: 0 0 32px;
  padding: 20px 20px 22px;
  border: 1px solid var(--lx-line);
  border-radius: 12px;
  background: var(--lx-paper);
}

.lx-h-trust__rule p {
  margin: 0 0 8px;
  color: var(--lx-ink);
  font-size: 16px;
  line-height: 1.8;
}

.lx-h-trust__rule .lx-h-trust__label {
  margin-bottom: 8px;
  color: var(--lx-link);
  font-size: 12px;
}

.lx-h-trust__rule a {
  font-size: 15px;
}

.lx-h-trust__grid {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lx-h-trust__item {
  padding: 22px 0;
  border-top: 1px solid var(--lx-line);
}

.lx-h-trust__label {
  margin: 0 0 10px;
  color: var(--lx-link);
  font-family: var(--lx-font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.lx-h-trust__item h3 {
  margin: 0 0 6px;
  color: var(--lx-ink);
  font-size: 18px;
  font-weight: var(--lx-w-label);
  letter-spacing: 0.04em;
}

.lx-h-trust__item p {
  margin: 0;
  color: var(--lx-body);
  font-size: 15px;
}

.lx-h-trust__item .lx-h-trust__note {
  margin-top: 8px;
  color: var(--lx-muted);
  font-size: 14px;
}

/* ---------- News + FAQ ---------- */

.lx-h-info__grid {
  display: grid;
  gap: 56px;
}

.lx-h-newsline {
  margin: 0 0 56px;
  padding: 0;
  border-top: 1px solid var(--lx-line);
  border-bottom: 1px solid var(--lx-line);
  list-style: none;
}

.lx-h-newsline li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
  padding: 14px 0;
  font-size: 15px;
}

.lx-h-newsline li + li {
  border-top: 1px solid var(--lx-line);
}

.lx-h-newsline__label {
  color: var(--lx-link);
  font-family: var(--lx-font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.lx-h-newsline time {
  color: var(--lx-muted);
  font-family: var(--lx-font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.lx-h-newsline a {
  color: var(--lx-ink);
}

.lx-h-faq {
  border-top: 1px solid var(--lx-line);
}

.lx-h-faq__item {
  border-bottom: 1px solid var(--lx-line);
}

.lx-h-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
}

.lx-h-faq__item summary::-webkit-details-marker {
  display: none;
}

.lx-h-faq__q {
  color: var(--lx-ink);
  font-size: 16px;
  font-weight: var(--lx-w-label);
  line-height: 1.6;
  letter-spacing: 0.03em;
}

.lx-h-faq__sign {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  border: 1px solid var(--lx-line);
  border-radius: 999px;
}

.lx-h-faq__sign::before,
.lx-h-faq__sign::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1.5px;
  background: var(--lx-deep);
  transform: translate(-50%, -50%);
  transition: transform var(--lx-dur) var(--lx-ease);
}

.lx-h-faq__sign::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.lx-h-faq__item[open] .lx-h-faq__sign::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.lx-h-faq__a p {
  margin: 0;
  padding: 0 0 20px;
  color: var(--lx-body);
  font-size: 15px;
}

.lx-h-info__more {
  margin: 12px 0 0;
}

/* ---------- PC ---------- */

@media (min-width: 768px) {
  .lx-pc-only {
    display: inline;
  }

  .lx-h-section {
    padding-block: 112px;
  }

  

  

  .lx-h-hero {
    padding-top: 28px;
    padding-bottom: 0;
    background:
      radial-gradient(60% 80% at 74% 46%, rgba(56, 150, 196, 0.42) 0%, rgba(56, 150, 196, 0) 62%),
      radial-gradient(45% 60% at 6% 100%, rgba(29, 120, 110, 0.4) 0%, rgba(29, 120, 110, 0) 70%),
      linear-gradient(170deg, var(--lx-deep) 0%, var(--lx-ocean) 70%, var(--lx-ocean-night) 100%);
  }

  .lx-h-hero::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    height: 170px;
    background: linear-gradient(180deg, rgba(7, 31, 46, 0) 0%, rgba(7, 31, 46, 0.94) 62%);
    pointer-events: none;
  }

  .lx-h-hero__inner {
    padding-bottom: 28px;
  }

  .lx-h-search {
    max-width: 640px;
  }

  .lx-h-hero__copy {
    max-width: 860px;
  }

  .lx-h-hero__title {
    margin-bottom: 24px;
    font-size: clamp(52px, 4.9vw, 72px);
    line-height: 1.2;
  }

  .lx-h-hero__lead {
    font-size: 17px;
  }

  .lx-h-hero__chips {
    display: none;
  }

  .lx-h-hero__map {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 36%, rgba(0, 0, 0, 0.35) 50%, #000 66%);
    mask-image: linear-gradient(90deg, transparent 0%, transparent 36%, rgba(0, 0, 0, 0.35) 50%, #000 66%);
  }

  .lx-h-facts {
    grid-template-columns: repeat(4, 1fr);
  }

  .lx-h-facts__item,
  .lx-h-facts__item:nth-child(odd),
  .lx-h-facts__item:nth-child(even) {
    padding: 18px 24px 22px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 0;
  }

  .lx-h-facts__item:first-child {
    padding-left: 0;
  }

  .lx-h-facts__item:last-child {
    border-right: 0;
  }

  .lx-h-campaign {
    padding-block: 96px 40px;
  }

  .lx-h-cats {
    padding-block: 72px;
  }

  .lx-h-reco {
    padding-block: 72px 112px;
  }

  .lx-h-campaign__track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: min(100% - (var(--lx-gutter) * 2), var(--lx-content-max));
    margin-inline: auto;
    padding: 0;
    overflow: visible;
  }

  .lx-h-campaign__dots {
    display: none;
  }

  .lx-h-cats__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-left: 1px solid var(--lx-line);
  }

  .lx-h-cats__grid > li {
    border-right: 1px solid var(--lx-line);
  }

  .lx-h-cat {
    position: relative;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr;
    gap: 0;
    align-items: start;
    min-height: 236px;
    padding: 28px;
    transition: background-color var(--lx-dur-slow) var(--lx-ease), color var(--lx-dur-slow) var(--lx-ease);
  }

  .lx-h-cat__num {
    margin-bottom: 40px;
    font-size: 56px;
  }

  .lx-h-cat__name {
    font-size: 22px;
  }

  .lx-h-cat__desc {
    white-space: normal;
  }

  .lx-h-cat__arrow {
    position: absolute;
    right: 28px;
    bottom: 28px;
  }

  .lx-h-cat:hover {
    background: var(--lx-deep);
    color: #fff;
  }

  .lx-h-cat:hover .lx-h-cat__arrow,
  .lx-h-cat:hover .lx-h-cat__num {
    color: rgba(150, 205, 196, 0.95);
  }

  .lx-h-cat:hover .lx-h-cat__desc {
    color: rgba(255, 255, 255, 0.7);
  }

  /* v2.2: tinted tiles in the group's tone; hover fills with the tone */
  .lx-h-cats__grid:has(.lx-h-cat[class*="lx-tone-"]) {
    gap: 12px;
    border: 0;
  }

  .lx-h-cats__grid:has(.lx-h-cat[class*="lx-tone-"]) > li {
    border: 0;
  }

  .lx-h-cat[class*="lx-tone-"] {
    height: 100%;
    border-radius: var(--lx-radius-card);
    background: var(--lx-tone-tint);
  }

  .lx-h-cat[class*="lx-tone-"] .lx-h-cat__num {
    display: block;
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    font-size: 56px;
    font-weight: 300;
  }

  .lx-h-cat[class*="lx-tone-"]:hover {
    background: var(--lx-tone);
    color: #fff;
  }

  .lx-h-cat[class*="lx-tone-"]:hover .lx-h-cat__num,
  .lx-h-cat[class*="lx-tone-"]:hover .lx-h-cat__arrow {
    color: #fff;
  }

  .lx-h-tabs .lx-h-tabs__list {
    gap: 36px;
    margin: 0 0 32px;
    padding: 0;
  }

  .lx-h-tabs .lx-h-tabs__tab {
    font-size: 16px;
  }

  

  

  

  .lx-h-flow__steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 44px 0 0;
  }

  .lx-h-flow__runner {
    top: 1px;
    left: 0;
  }

  .lx-h-flow__track.is-in .lx-h-flow__runner {
    animation-name: lx-h-run-x;
  }

  .lx-h-flow__track::before,
  .lx-h-flow__track::after {
    top: 5px;
    right: 0;
    bottom: auto;
    left: 0;
    width: auto;
    height: 1px;
  }

  .lx-h-flow__track::before {
    background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.34) 0 6px, transparent 6px 12px);
  }

  .lx-h-flow__track::after {
    transform: scaleX(0);
    transform-origin: left;
  }

  .lx-h-flow__track.is-in::after {
    transform: scaleX(1);
  }

  .lx-h-flow__step::before {
    top: -44px;
    left: 0;
  }

  .lx-h-flow__num {
    margin-bottom: 14px;
    font-size: 56px;
  }

  .lx-h-flow__step h3 {
    font-size: 22px;
  }

  .lx-h-flow__step p {
    max-width: 30em;
    font-size: 16px;
  }

  .lx-h-flow__action {
    margin-top: 56px;
  }

  .lx-h-rail {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px 24px;
    width: min(100% - (var(--lx-gutter) * 2), var(--lx-content-max));
    margin-inline: auto;
    padding: 0;
    overflow: visible;
  }

  /* Four cards cannot hold 「18,227円 税込」 below 1024px (tablets, landscape iPhones). */
  @media (max-width: 1023px) {
    .lx-h-rail {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  .lx-h-trust__statement {
    max-width: 22em;
    margin-bottom: 56px;
    padding-left: 28px;
    font-size: 32px;
    line-height: 1.6;
  }

  .lx-h-trust__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }

  .lx-h-trust__item {
    padding-top: 28px;
  }

  .lx-h-info__grid {
    grid-template-columns: 8fr 4fr;
    gap: 64px;
  }

  
}

@media (min-width: 1100px) {
  .lx-h-hero__inner {
    padding-bottom: 72px;
  }
}

@media (min-width: 768px) and (max-height: 880px) {
  .lx-h-hero {
    padding-top: 20px;
  }

  .lx-h-hero__title {
    margin-bottom: 16px;
    font-size: clamp(46px, 7svh, 72px);
  }

  .lx-h-hero__lead {
    margin-bottom: 20px;
  }

  .lx-h-hero__inner {
    padding-bottom: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lx-h-hero__line > span,
  .lx-h-hero__lead,
  .lx-h-search,
  .lx-h-hero__chips {
    animation: none;
  }

  .lx-js [data-lx-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .lx-h-flow__track::after {
    transform: none;
    transition: none;
  }

  .lx-h-flow__runner {
    display: none;
  }
}

/* ---------- v3 award pass: the order journey follows the scroll (2026-10-05) ----------
   home.js sets --lx-flow (0..1) on the track and .is-reached on each step; the looping dot
   becomes a kraft parcel that travels the route. Without JS the earlier reveal stays. */
/* the route runs from the first marker to your home; the amber part follows the parcel */
.lx-h-flow__track[data-lx-flow]::before,
.lx-h-flow__track[data-lx-flow]::after {
  top: var(--lx-flow-first, 10px);
  bottom: auto;
  height: calc(var(--lx-flow-last, 100%) - var(--lx-flow-first, 10px));
}

.lx-h-flow__track[data-lx-flow]::after {
  transform: scaleY(var(--lx-flow, 0));
  transition: none;
}

/* the parcel is the 404 page's kraft box at a readable size, centred on the rail */
.lx-h-flow__track[data-lx-flow] .lx-h-flow__runner.is-parcel {
  top: calc(var(--lx-flow-pos, 15px) - 12px);
  left: -8px;
  width: 30px;
  height: 24px;
  border-radius: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 24'%3E%3Cpath d='M4 5 7 1h16l3 4z' fill='%23e2b67c'/%3E%3Crect x='1' y='5' width='28' height='18' rx='2' fill='%23cf9f66'/%3E%3Crect x='12' y='5' width='6' height='18' fill='%23ead0a4'/%3E%3Cpath d='M1 9.5h28' stroke='%23b1824b'/%3E%3C/svg%3E") center / contain no-repeat;
  box-shadow: none;
  filter: drop-shadow(0 0 10px rgba(245, 165, 36, 0.5)) drop-shadow(0 2px 2px rgba(0, 0, 0, 0.35));
  opacity: 1;
  animation: none;
  transition: opacity 0.35s var(--lx-ease), scale 0.35s var(--lx-ease);
}

.lx-h-flow__track[data-lx-flow].is-delivered .lx-h-flow__runner.is-parcel {
  opacity: 0;
  scale: 0.5;
}

.lx-h-flow__track[data-lx-flow].is-delivered .lx-h-flow__step:last-child::before {
  box-shadow: 0 0 0 6px rgba(245, 165, 36, 0.24), 0 0 24px rgba(245, 165, 36, 0.75);
}

.lx-h-flow__track[data-lx-flow] .lx-h-flow__step {
  /* 0.62 keeps the dimmed steps at about 5.4:1 on the deep band (WCAG AA for small text) */
  opacity: 0.62;
  transition: opacity 0.5s var(--lx-ease);
}

.lx-h-flow__track[data-lx-flow] .lx-h-flow__step.is-reached {
  opacity: 1;
}

.lx-h-flow__track[data-lx-flow] .lx-h-flow__step::before {
  transition: background-color 0.4s var(--lx-ease), box-shadow 0.4s var(--lx-ease);
}

.lx-h-flow__track[data-lx-flow] .lx-h-flow__step.is-reached::before {
  background: var(--lx-amber);
  box-shadow: 0 0 0 4px rgba(245, 165, 36, 0.2);
}

/* the last step is "your home": when the parcel arrives, its marker becomes the house pin of the key visual */
.lx-h-flow__track[data-lx-flow] .lx-h-flow__step:last-child.is-reached::before {
  width: 22px;
  height: 22px;
  margin: -5px 0 0 -5px;
  border-color: var(--lx-amber);
  background: var(--lx-amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 11.5 12 5l8 6.5V19a1 1 0 0 1-1 1h-4.5v-5h-5v5H5a1 1 0 0 1-1-1z' fill='%230b1514'/%3E%3C/svg%3E") center / 13px 13px no-repeat;
}

@media (min-width: 768px) {
  .lx-h-flow__track[data-lx-flow]::before,
  .lx-h-flow__track[data-lx-flow]::after {
    top: 5px;
    right: auto;
    left: var(--lx-flow-first, 0px);
    width: calc(var(--lx-flow-last, 100%) - var(--lx-flow-first, 0px));
    height: 1px;
  }

  .lx-h-flow__track[data-lx-flow]::after {
    transform: scaleX(var(--lx-flow, 0));
  }

  .lx-h-flow__track[data-lx-flow] .lx-h-flow__runner.is-parcel {
    top: -7px;
    left: calc(var(--lx-flow-pos, 6px) - 15px);
  }
}

/* ---------- v3 award pass phase 2: category illustrations (2026-10-05) ----------
   One original line drawing per curated group (Block/_category_art.twig), in the group's tone.
   Phones keep the compact numbered rows; PC tiles show the drawing, which draws itself in on hover. */
.lx-h-cat__art {
  display: none;
}

.lx-cat-art {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.lx-cat-art__disc {
  fill: var(--lx-tone-bright, var(--lx-mint));
  opacity: 0.38;
  transition: opacity var(--lx-dur-slow) var(--lx-ease), transform var(--lx-dur-slow) var(--lx-ease);
  transform-origin: 36px 30px;
}

@media (min-width: 768px) {
  .lx-h-cat__art {
    position: absolute;
    top: 24px;
    right: 24px;
    display: block;
    width: 84px;
    height: 84px;
    color: var(--lx-tone, var(--lx-deep));
    transition: color var(--lx-dur-slow) var(--lx-ease);
  }

  .lx-h-cat[class*="lx-tone-"]:hover .lx-h-cat__art {
    color: #fff;
  }

  .lx-h-cat[class*="lx-tone-"]:hover .lx-cat-art__disc {
    opacity: 0.22;
    transform: scale(1.12);
  }
}

@media (min-width: 768px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
  .lx-h-cat:hover .lx-cat-art__line path {
    stroke-dasharray: 1;
    animation: lx-cat-draw 0.9s var(--lx-ease) both;
  }

  .lx-h-cat:hover .lx-cat-art__line path:nth-child(2) { animation-delay: 0.08s; }
  .lx-h-cat:hover .lx-cat-art__line path:nth-child(3) { animation-delay: 0.16s; }
  .lx-h-cat:hover .lx-cat-art__line path:nth-child(4) { animation-delay: 0.24s; }
}

@keyframes lx-cat-draw {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

/* ---------- v3 award pass phase 2: campaign gallery band (2026-10-05) ----------
   The operator's banners keep their artwork; they now hang in a night-coloured band, framed
   like lit prints (thin light edge, deep shadow), so their bright colours read as art, not noise. */
.lx-h-campaign {
  padding-top: 56px;
  padding-bottom: 56px;
  background:
    radial-gradient(1px 1px at 18% 30%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 72% 18%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 46% 78%, rgba(255, 255, 255, 0.35), transparent),
    linear-gradient(180deg, var(--lx-ocean-night) 0%, #0b2a35 100%);
  background-size: 280px 240px, 360px 300px, 420px 360px, auto;
  color: #fff;
}

.lx-h-campaign .lx-head__kicker {
  color: rgba(150, 205, 196, 0.95);
}

.lx-h-campaign .lx-head__title {
  color: #fff;
}

.lx-h-campaign__link {
  color: #fff;
  transition: transform 0.5s var(--lx-ease);
}

.lx-h-campaign__media {
  border-radius: 14px;
  background: #0b2a35;
  outline: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 48px -26px rgba(0, 0, 0, 0.75), 0 0 0 6px rgba(255, 255, 255, 0.03);
  transition: box-shadow 0.5s var(--lx-ease);
}

.lx-h-campaign__sub {
  color: var(--lx-on-deep);
}

.lx-h-campaign__caption::after {
  color: rgba(150, 205, 196, 0.95);
}

.lx-h-campaign__dot::before {
  background: rgba(255, 255, 255, 0.28);
}

.lx-h-campaign__dot[aria-current="true"]::before {
  background: #fff;
}

.lx-h-campaign :focus-visible {
  outline: 3px solid var(--lx-amber);
  outline-offset: 3px;
}

@media (hover: hover) {
  .lx-h-campaign__link:hover {
    transform: translateY(-4px);
  }

  .lx-h-campaign__link:hover .lx-h-campaign__media {
    box-shadow: 0 36px 56px -24px rgba(0, 0, 0, 0.85), 0 0 0 6px rgba(255, 255, 255, 0.05);
  }
}

@media (min-width: 768px) {
  .lx-h-campaign {
    padding-block: 104px 96px;
  }
}

/* ---------- v3 award pass phase 2: the shop's promise as a statement (2026-10-05) ----------
   The operator's own words, set large as a signed quote; a big opening bracket in the brand's
   teal carries the composition. Icons give each service point a quick visual anchor. */
.lx-h-trust__quote {
  position: relative;
  margin: 8px 0 40px;
  padding: 0;
}

/* Real brackets at the statement's own size: the opening one hangs into the margin so the
   text lines up with the heading above (palt makes the bracket half-width). */
.lx-h-trust__mark {
  color: var(--lx-link);
  font-weight: 300;
  font-feature-settings: "palt";
}

.lx-h-trust__statement {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--lx-ink);
  font-size: clamp(26px, 5.6vw, 44px);
  font-weight: var(--lx-w-display);
  line-height: 1.42;
  letter-spacing: 0.02em;
}

.lx-h-trust__statement p {
  margin: 0;
  text-indent: -0.5em;
  text-wrap: balance;
  word-break: keep-all;
}

.lx-h-trust__by {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 20px;
  margin-top: 18px;
  color: var(--lx-muted);
  font-size: 14px;
  letter-spacing: 0.06em;
}

.lx-h-trust__by::before {
  content: "";
  align-self: center;
  width: 28px;
  height: 1px;
  background: currentColor;
}

.lx-h-trust__by .lx-h-trust__links {
  margin-top: 0;
}

.lx-h-trust__icon {
  display: block;
  width: 26px;
  height: 26px;
  margin-bottom: 10px;
  color: var(--lx-deep);
}

@media (min-width: 768px) {
  .lx-h-trust__quote {
    margin: 24px 0 64px;
    padding-top: 40px;
  }

  .lx-h-trust__quote::before {
    top: -34px;
    font-size: 200px;
  }
}

/* ---------- v3 award review (N-04): category tiles led by their drawing (2026-10-05) ----------
   White tiles with a 4 px tone bar instead of a full pastel fill: the drawing is the hero and the
   number becomes a small mono kicker. Hover still fills with the tone and draws the line art in.
   Phones keep the compact numbered rows. */
@media (min-width: 768px) {
  .lx-h-cat[class*="lx-tone-"] {
    grid-template-rows: auto auto 1fr;
    align-content: start;
    min-height: 280px;
    padding: 24px 28px 28px 32px;
    border: 1px solid var(--lx-line);
    /* the tone still colours the tile (the 2026-10-05 「色味が少ない」 feedback), as light
       that fades from the drawing's corner into white instead of a flat pastel fill */
    background: radial-gradient(120% 90% at 0% 0%, var(--lx-tone-tint) 0%, var(--lx-paper) 62%);
    box-shadow: inset 4px 0 0 var(--lx-tone);
  }

  .lx-h-cat[class*="lx-tone-"] .lx-h-cat__num {
    margin-bottom: 0;
    color: var(--lx-tone);
    font-family: var(--lx-font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
  }

  .lx-h-cat__art {
    position: static;
    width: 112px;
    height: 112px;
    margin: 14px 0 18px -6px;
  }

  .lx-h-cat[class*="lx-tone-"]:hover {
    border-color: var(--lx-tone);
    background: var(--lx-tone);
  }
}
