/* Hallmark · pre-emit critique: P5 H4 E4 S5 R5 V4
 * genre: editorial · macrostructure: Split Studio · theme: warm paper
 * enrichment: real product-context photography · nav: N9 · footer: Ft1
 */
:root {
  --lp-paper: oklch(97% 0.008 83);
  --lp-paper-deep: oklch(94% 0.021 82);
  --lp-card: oklch(99% 0.006 84);
  --lp-ink: oklch(28% 0.022 70);
  --lp-ink-soft: oklch(45% 0.024 70);
  --lp-accent: oklch(48% 0.075 65);
  --lp-accent-deep: oklch(38% 0.068 65);
  --lp-accent-tint: oklch(92% 0.035 72);
  --lp-line: oklch(88% 0.024 77);
  --lp-focus: oklch(48% 0.075 65);
  --lp-shadow: oklch(28% 0.022 70 / 0.12);
  --lp-font-display:
    'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --lp-font-body:
    'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  --lp-shell: 64rem;
  --lp-radius-sm: 0.75rem;
  --lp-radius-lg: 1rem;
  --lp-space-xs: 0.5rem;
  --lp-space-sm: 0.75rem;
  --lp-space-md: 1rem;
  --lp-space-lg: 1.5rem;
  --lp-space-xl: 2rem;
  --lp-space-2xl: 2.5rem;
  --lp-space-3xl: 4rem;
  --lp-space-4xl: 6rem;
  --lp-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --lp-duration-short: 160ms;
  --lp-duration-long: 700ms;
}

html.lp,
.lp-body {
  margin: 0;
  overflow-x: clip;
  background: var(--lp-paper);
  color: var(--lp-ink);
  scroll-behavior: smooth;
}

.lp-body {
  min-height: 100vh;
  font-family: var(--lp-font-body);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

.lp-body *,
.lp-body *::before,
.lp-body *::after {
  box-sizing: border-box;
}

.lp-body h1,
.lp-body h2,
.lp-body h3,
.lp-body p,
.lp-body figure {
  margin: 0;
}

.lp-body h1,
.lp-body h2 {
  min-width: 0;
  overflow-wrap: anywhere;
  font-family: var(--lp-font-display);
  font-style: normal;
  font-weight: 700;
}

.lp-body h1 {
  font-size: clamp(2rem, 4.7vw, 2.75rem);
  line-height: 1.38;
  letter-spacing: -0.025em;
}

.lp-body h1 span {
  white-space: nowrap;
}

.lp-body h1 span.accent_color {
  color: #a87424;
}

.lp-body h2 {
  font-size: clamp(1.55rem, 3.2vw, 2rem);
  line-height: 1.45;
}

.lp-body h3 {
  font-size: 1.1rem;
  line-height: 1.55;
}

.lp-body a {
  color: inherit;
}

.lp-body img,
.lp-body svg {
  display: block;
}

.lp-body img {
  max-width: 100%;
}

.lp-body :focus-visible {
  outline: 3px solid var(--lp-focus);
  outline-offset: 3px;
}

.lp-body ::selection {
  background: var(--lp-accent-tint);
}

.lp-shell {
  width: min(100% - 2.5rem, var(--lp-shell));
  margin-inline: auto;
}

.lp-shell--narrow {
  max-width: 48rem;
}

.lp-skip {
  position: fixed;
  z-index: 100;
  top: var(--lp-space-md);
  left: var(--lp-space-md);
  padding: var(--lp-space-sm) var(--lp-space-md);
  transform: translateY(-180%);
  background: var(--lp-accent-deep);
  color: var(--lp-card);
  font-weight: 700;
  text-decoration: none;
}

.lp-skip:focus {
  transform: translateY(0);
}

.lp-header {
  position: sticky;
  z-index: 40;
  top: 0;
  border-bottom: 1px solid var(--lp-line);
  background: color-mix(in oklch, var(--lp-paper) 92%, transparent);
  backdrop-filter: blur(12px);
}

.lp-header__inner {
  display: flex;
  min-height: 4rem;
  align-items: center;
  justify-content: space-between;
  gap: var(--lp-space-lg);
}

.lp-brand {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  text-decoration: none;
}

.lp-brand img {
  display: block;
  width: auto;
  height: 30px;
}

.lp-nav,
.lp-header__actions,
.lp-footer nav {
  display: flex;
  align-items: center;
}

.lp-nav {
  gap: var(--lp-space-lg);
}

.lp-nav a,
.lp-login,
.lp-footer a {
  white-space: nowrap;
  color: var(--lp-ink-soft);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  text-underline-offset: 0.25em;
}

.lp-nav a:hover,
.lp-login:hover,
.lp-footer a:hover {
  color: var(--lp-ink);
  text-decoration: underline;
}

.lp-header__actions {
  gap: var(--lp-space-md);
}

.lp-button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: var(--lp-space-xs);
  border: 1px solid var(--lp-accent);
  border-radius: 999px;
  padding: 0.7rem 1.7rem;
  background: var(--lp-accent);
  color: var(--lp-card);
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color var(--lp-duration-short) var(--lp-ease-out),
    border-color var(--lp-duration-short) var(--lp-ease-out),
    transform var(--lp-duration-short) var(--lp-ease-out);
}

.lp-body .lp-button {
  color: var(--lp-card);
}

.lp-button:hover {
  border-color: var(--lp-accent-deep);
  background: var(--lp-accent-deep);
  transform: translateY(-1px);
}

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

.lp-button--small {
  min-height: 2.5rem;
  padding: 0.55rem 1.25rem;
  font-size: 0.875rem;
}

.lp-button--secondary {
  border-color: var(--lp-line);
  background: var(--lp-card);
  color: var(--lp-ink);
}

.lp-body .lp-button--secondary {
  color: var(--lp-ink);
}

.lp-button--secondary:hover {
  border-color: var(--lp-accent);
  background: var(--lp-card);
  color: var(--lp-accent-deep);
}

.lp-icon {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
}

.lp-icon--large {
  width: 1.75rem;
  height: 1.75rem;
}

.lp-hero {
  padding: 3rem 0 5rem;
}

.lp-hero__grid,
.lp-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 5rem);
}

.lp-split {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

.lp-kicker {
  margin-bottom: var(--lp-space-md) !important;
  color: var(--lp-accent-deep);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.lp-hero__lead {
  max-width: 36rem;
  margin-top: var(--lp-space-lg) !important;
  color: var(--lp-ink-soft);
}

.lp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--lp-space-sm);
  margin-top: var(--lp-space-xl);
}

.lp-actions--center {
  justify-content: center;
}

.lp-page-preview {
  width: min(100%, 20rem);
  justify-self: center;
}

.lp-preview__surface {
  border: 1px solid var(--lp-line);
  border-radius: 2rem;
  padding: var(--lp-space-xl);
  background: var(--lp-card);
  box-shadow: 0 1.125rem 3.125rem var(--lp-shadow);
  text-align: center;
}

.lp-preview__avatar {
  display: inline-flex;
  width: 4rem;
  height: 4rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--lp-accent-tint);
  color: var(--lp-accent-deep);
}

.lp-preview__surface > strong {
  display: block;
  margin-top: var(--lp-space-sm);
  font-family: var(--lp-font-display);
}

.lp-preview__surface > p {
  margin: 0.25rem auto var(--lp-space-lg);
  color: var(--lp-ink-soft);
  font-size: 0.75rem;
  line-height: 1.6;
}

.lp-preview__card {
  display: flex;
  align-items: center;
  gap: var(--lp-space-sm);
  margin-top: var(--lp-space-sm);
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius-sm);
  padding: var(--lp-space-sm);
  text-align: left;
}

.lp-preview__icon {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: var(--lp-space-xs);
  background: var(--lp-accent-tint);
  color: var(--lp-accent-deep);
}

.lp-preview__card strong,
.lp-preview__card small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lp-preview__card strong {
  font-size: 0.85rem;
}

.lp-preview__card small,
.lp-page-preview figcaption,
.lp-qr-feature figcaption {
  color: var(--lp-ink-soft);
  font-size: 0.72rem;
}

.lp-page-preview figcaption {
  margin-top: var(--lp-space-sm);
  text-align: center;
}

.lp-section {
  padding: var(--lp-space-4xl) 0;
  scroll-margin-top: 4rem;
}

.lp-section--tint,
.lp-footer {
  border-top: 1px solid var(--lp-line);
  background: color-mix(in oklch, var(--lp-paper-deep) 64%, var(--lp-paper));
}

.lp-section h2 + p,
.lp-split p + p,
.lp-qr-feature p + p {
  margin-top: var(--lp-space-md);
}

.lp-split > div > p:first-of-type {
  margin-top: var(--lp-space-lg);
}

.lp-notice {
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius-sm);
  padding: var(--lp-space-md);
  background: var(--lp-card);
  color: var(--lp-ink-soft);
  font-size: 0.875rem;
}

.lp-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius-lg);
  box-shadow: 0 1.125rem 3.125rem var(--lp-shadow);
  object-fit: cover;
}

.lp-rows {
  margin-top: var(--lp-space-2xl);
  border-top: 1px solid var(--lp-line);
  border-bottom: 1px solid var(--lp-line);
}

.lp-row {
  display: grid;
  grid-template-columns: minmax(10rem, 1fr) minmax(0, 2fr);
  gap: var(--lp-space-lg);
  padding: var(--lp-space-lg) 0;
}

.lp-row + .lp-row {
  border-top: 1px solid var(--lp-line);
}

.lp-row p,
.lp-row div {
  color: var(--lp-ink-soft);
}

.lp-problem {
  grid-template-columns: 3rem minmax(10rem, 1fr) minmax(0, 2fr);
}

.lp-number,
.lp-step-number {
  color: var(--lp-accent);
  font-family: var(--lp-font-display);
  font-weight: 700;
}

.lp-table-wrap {
  margin-top: var(--lp-space-2xl);
  overflow-x: auto;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius-lg);
  background: var(--lp-card);
}

.lp-table {
  width: 100%;
  border-collapse: collapse;
}

.lp-table th,
.lp-table td {
  border-bottom: 1px solid var(--lp-line);
  padding: var(--lp-space-md) 1.25rem;
  text-align: left;
  vertical-align: top;
}

.lp-table tr:last-child th,
.lp-table tr:last-child td {
  border-bottom: 0;
}

.lp-table thead {
  background: var(--lp-paper-deep);
}

.lp-table thead th {
  color: var(--lp-ink-soft);
  font-size: 0.875rem;
}

.lp-table thead th:last-child,
.lp-table tbody td:last-child {
  color: var(--lp-accent-deep);
  font-weight: 600;
}

.lp-table tbody th,
.lp-table tbody td {
  font-size: 0.875rem;
  line-height: 1.65;
}

.lp-footnote,
.lp-muted {
  margin-top: var(--lp-space-md) !important;
  color: var(--lp-ink-soft);
  font-size: 0.8rem;
}

.lp-qr-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--lp-space-2xl);
  margin-top: var(--lp-space-2xl);
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius-lg);
  padding: var(--lp-space-2xl);
  background: var(--lp-card);
}

.lp-feature-label {
  display: flex;
  align-items: center;
  gap: var(--lp-space-xs);
  color: var(--lp-accent-deep);
  font-size: 0.875rem;
  font-weight: 700;
}

.lp-qr-feature h3 {
  margin-top: var(--lp-space-sm);
  font-family: var(--lp-font-display);
  font-size: 1.35rem;
}

.lp-qr-feature p:not(.lp-feature-label) {
  margin-top: var(--lp-space-md);
  color: var(--lp-ink-soft);
}

.lp-qr-feature figure {
  width: 12rem;
  text-align: center;
}

.lp-qr-feature img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius-sm);
  object-fit: contain;
}

.lp-qr-feature figcaption {
  margin-top: var(--lp-space-sm);
  line-height: 1.6;
}

.lp-strong {
  color: var(--lp-ink) !important;
  font-weight: 500;
}

.lp-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--lp-space-lg);
  margin-top: var(--lp-space-2xl);
}

.lp-steps article {
  border-top: 2px solid var(--lp-accent);
  padding-top: var(--lp-space-md);
}

.lp-step-number {
  font-size: 2rem;
}

.lp-steps h3 {
  margin-top: 0.25rem;
}

.lp-steps p {
  margin-top: var(--lp-space-xs);
  color: var(--lp-ink-soft);
}

.lp-faq {
  margin-top: var(--lp-space-xl);
  border-top: 1px solid var(--lp-line);
  border-bottom: 1px solid var(--lp-line);
}

.lp-faq details + details {
  border-top: 1px solid var(--lp-line);
}

.lp-faq summary {
  display: flex;
  min-height: 3.75rem;
  cursor: pointer;
  list-style: none;
  align-items: center;
  justify-content: space-between;
  gap: var(--lp-space-md);
  padding: var(--lp-space-sm) 0;
  font-weight: 700;
}

.lp-faq summary::-webkit-details-marker {
  display: none;
}

.lp-faq__mark {
  position: relative;
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  color: var(--lp-accent);
  transition: transform var(--lp-duration-short) var(--lp-ease-out);
}

.lp-faq__mark::before,
.lp-faq__mark::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1rem;
  height: 2px;
  content: '';
  transform: translate(-50%, -50%);
  background: currentColor;
}

.lp-faq__mark::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.lp-faq details[open] .lp-faq__mark {
  transform: rotate(45deg);
}

.lp-faq details > p {
  max-width: 65ch;
  padding: 0 var(--lp-space-xl) var(--lp-space-md) 0;
  color: var(--lp-ink-soft);
}

.lp-final {
  border-top: 1px solid var(--lp-line);
  padding: var(--lp-space-4xl) 0;
  text-align: center;
}

.lp-final p {
  margin-top: var(--lp-space-md);
  color: var(--lp-ink-soft);
}

.lp-footer {
  padding: var(--lp-space-2xl) 0;
}

.lp-footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--lp-space-xl);
}

.lp-footer__top > div > p:last-child {
  max-width: 28rem;
  margin-top: var(--lp-space-xs);
  color: var(--lp-ink-soft);
  font-size: 0.75rem;
}

.lp-footer nav {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--lp-space-sm) var(--lp-space-lg);
}

.lp-footer__note {
  margin-top: var(--lp-space-xl) !important;
  border-top: 1px solid var(--lp-line);
  padding-top: var(--lp-space-md);
  color: var(--lp-ink-soft);
  font-size: 0.75rem;
}

@keyframes lp-rise {
  from {
    opacity: 0;
    transform: translateY(0.875rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lp-rise {
  animation: lp-rise var(--lp-duration-long) var(--lp-ease-out) both;
}

.lp-rise--1 {
  animation-delay: 50ms;
}
.lp-rise--2 {
  animation-delay: 150ms;
}
.lp-rise--3 {
  animation-delay: 250ms;
}
.lp-rise--4 {
  animation-delay: 350ms;
}

@media (max-width: 56rem) {
  .lp-nav {
    display: none;
  }

  .lp-hero__grid,
  .lp-split {
    grid-template-columns: minmax(0, 1fr);
  }

  .lp-split {
    gap: var(--lp-space-2xl);
  }
}

@media (max-width: 48rem) {
  .lp-section,
  .lp-final {
    padding: var(--lp-space-3xl) 0;
  }

  .lp-problem,
  .lp-row {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--lp-space-xs);
  }

  .lp-problem {
    grid-template-columns: 2.5rem minmax(0, 1fr);
  }

  .lp-problem p {
    grid-column: 2;
  }

  .lp-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--lp-space-xl);
  }

  .lp-qr-feature {
    grid-template-columns: minmax(0, 1fr);
  }

  .lp-qr-feature figure {
    width: min(12rem, 100%);
    margin-inline: auto;
  }

  .lp-table,
  .lp-table tbody,
  .lp-table tr,
  .lp-table th,
  .lp-table td {
    display: block;
  }

  .lp-table thead {
    display: none;
  }

  .lp-table tr + tr {
    border-top: 1px solid var(--lp-line);
  }

  .lp-table tbody th,
  .lp-table tbody td {
    border: 0;
    padding: 0.35rem var(--lp-space-md);
  }

  .lp-table tbody th {
    padding-top: var(--lp-space-md);
  }

  .lp-table tbody td:last-child {
    padding-bottom: var(--lp-space-md);
  }

  .lp-footer__top {
    flex-direction: column;
  }

  .lp-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 32rem) {
  .lp-shell {
    width: min(100% - 2rem, var(--lp-shell));
  }

  .lp-login {
    display: none;
  }

  .lp-button--small {
    padding-inline: 1rem;
  }

  .lp-hero {
    padding: var(--lp-space-2xl) 0 var(--lp-space-3xl);
  }

  .lp-body h1 {
    font-size: clamp(1.75rem, 10.5vw, 2rem);
  }

  .lp-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .lp-actions .lp-button {
    width: 100%;
  }

  .lp-qr-feature {
    padding: var(--lp-space-lg);
  }
}

@media (prefers-reduced-motion: reduce) {
  html.lp,
  .lp-body {
    scroll-behavior: auto;
  }

  .lp-body *,
  .lp-body *::before,
  .lp-body *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
