*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #eee4d8;
  --paper: #fbf7ef;
  --paper-2: #fffaf2;
  --ink: #2e2923;
  --muted: #746b61;
  --hair: #d7cabb;
  --line: #a99b8d;
  --accent: #b87432;
  --accent-2: #315f69;
  --green: #637b55;
  --rose: #a45f5f;
  --shadow: 0 20px 60px rgba(62, 48, 34, 0.12);
  --serif: Georgia, "Times New Roman", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.34) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,0.24) 1px, transparent 1px),
    var(--bg);
  background-size: 64px 64px;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.85;
}

.lp-shell {
  max-width: 1280px;
  padding-top: 18px;
}

.lp-nav {
  align-items: center;
  border-bottom: 1px solid rgba(169, 155, 141, 0.55);
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 12px 2px 14px;
}

.lp-brand {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.lp-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.lp-nav-links a {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.lp-hero {
  display: grid;
  gap: 28px;
  grid-template-columns: 0.68fr 1.32fr;
  min-height: min(500px, calc(100vh - 110px));
  padding: 10px 0 30px;
}

.lp-hero-copy {
  align-self: center;
  max-width: 540px;
}

.lp-kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.32em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.lp-hero h1 {
  font-family: var(--serif);
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.08;
  margin-bottom: 16px;
}

.lp-lead {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.lp-hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}

.lp-read-links {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 6px;
}

.lp-hero-links a,
.lp-open {
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  padding-bottom: 4px;
}

.lp-read-links a {
  align-items: center;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(169, 155, 141, 0.62);
  border-radius: 8px;
  color: var(--ink);
  display: flex;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  min-height: 52px;
  padding: 12px 14px;
}

.lp-read-links a:hover {
  background: rgba(255, 250, 242, 0.78);
  border-color: var(--accent);
}

.lp-hero-figure {
  align-self: center;
  border-radius: 24px 24px 24px 8px;
  overflow: hidden;
}

.lp-hero-figure img {
  aspect-ratio: 16 / 9;
  max-height: min(430px, calc(100vh - 160px));
  height: auto;
  object-fit: cover;
  width: 100%;
}

.lp-section {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 34px;
  grid-template-columns: 0.3fr 1fr;
  padding: 58px 0;
}

.lp-section-head span {
  color: var(--accent);
  display: block;
  font-family: var(--serif);
  font-size: 28px;
  margin-bottom: 12px;
}

.lp-section-head h2 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.08;
  margin-bottom: 14px;
}

.lp-section-head p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.lp-product-list {
  display: grid;
  gap: 0;
}

.lp-product {
  align-items: start;
  border-top: 1px solid rgba(169, 155, 141, 0.62);
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr auto;
  padding: 22px 0;
}

.lp-product:last-child {
  border-bottom: 1px solid rgba(169, 155, 141, 0.62);
}

.lp-product-type {
  color: var(--accent);
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  margin-bottom: 8px;
}

.lp-product h3 {
  font-family: var(--serif);
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.15;
  margin-bottom: 8px;
}

.lp-product p {
  color: var(--muted);
  font-size: 14px;
  max-width: 680px;
}

.lp-concept {
  padding: 46px 0;
}

.lp-concept-copy {
  max-width: 820px;
}

.lp-concept-copy p {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.7;
}

.lp-concept-copy .lp-concept-note,
.lp-section > details p,
.lp-support-note {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.9;
  margin-top: 14px;
}

.showcase-index .lp-shell {
  padding-top: 12px;
}

.showcase-index .lp-nav {
  margin-bottom: 12px;
  padding: 10px 2px 12px;
}

.showcase-index .lp-hero {
  gap: 24px;
  grid-template-columns: 0.72fr 1.28fr;
  min-height: min(430px, calc(100vh - 150px));
  padding: 4px 0 24px;
}

.showcase-index .lp-hero-copy {
  max-width: 500px;
}

.showcase-index .lp-kicker {
  margin-bottom: 12px;
}

.showcase-index .lp-hero h1 {
  font-size: clamp(32px, 3.5vw, 48px);
  margin-bottom: 14px;
}

.showcase-index .lp-lead {
  font-size: 13px;
  line-height: 1.8;
}

.showcase-index .lp-hero-figure {
  border-radius: 22px 22px 22px 8px;
}

.showcase-index .lp-hero-figure img {
  max-height: min(360px, calc(100vh - 220px));
  object-fit: contain;
}

.lp-section > details {
  grid-column: 2;
}

.lp-domain-link {
  background: rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(169, 155, 141, 0.62);
  border-left: 3px solid var(--accent);
  border-top-style: dashed;
  padding-left: 16px;
  padding-right: 16px;
}

.lp-domain-link h3 {
  font-family: var(--sans);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 800;
}

.lp-domain-link .lp-product-type {
  color: var(--muted);
}

.note-card-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.note-card {
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(169, 155, 141, 0.62);
  border-radius: 8px;
  display: grid;
  overflow: hidden;
}

.note-thumb,
.note-thumb-placeholder {
  aspect-ratio: 16 / 9;
  background: rgba(184, 116, 50, 0.12);
  color: var(--accent);
  display: grid;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  place-items: center;
  width: 100%;
}

.note-thumb {
  object-fit: cover;
}

.note-card-body {
  display: grid;
  gap: 7px;
  padding: 14px;
}

.note-card-body strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
}

.note-card-body span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.note-card-body .note-date {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.note-section-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  margin-top: 14px;
}

.note-more-link {
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  margin-top: 12px;
  padding-bottom: 4px;
}

.lp-open {
  justify-self: end;
  white-space: nowrap;
}

.lp-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 18px;
  justify-content: space-between;
  padding: 34px 0 18px;
}

.lp-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.lp-footer a {
  color: var(--muted);
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-shell {
  max-width: 1360px;
  margin: 0 auto;
  padding: 28px;
}

.topbar {
  align-items: center;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(169, 155, 141, 0.46);
  border-radius: 0;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 0 2px 10px;
}

.brand {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.topnav a {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.topnav a:hover {
  color: var(--accent);
}

.hero-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1.08fr 0.92fr;
  min-height: 620px;
}

.panel {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 620px;
  padding: clamp(34px, 5vw, 72px);
}

.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero-title,
.article-title {
  font-family: var(--serif);
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.06;
  margin: 18px 0;
}

.hero-lead,
.article-lead {
  color: var(--muted);
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.75;
  max-width: 680px;
}

.hero-meta {
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: grid;
  font-size: 13px;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 44px;
  padding-top: 18px;
}

.hero-visual {
  min-height: 620px;
  padding: 26px;
}

.hero-image {
  border-radius: 28px;
  height: 100%;
  min-height: 568px;
  object-fit: cover;
  width: 100%;
}

.collage {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
  height: 100%;
}

.mock-large {
  grid-column: 1 / -1;
}

.mock {
  background: linear-gradient(145deg, #fffdfa, #efe2d0);
  border: 1px solid rgba(169, 155, 141, 0.7);
  border-radius: 28px;
  min-height: 220px;
  overflow: hidden;
  padding: 22px;
  position: relative;
}

.mock::before {
  background: rgba(255,255,255,0.72);
  border-bottom: 1px solid rgba(169, 155, 141, 0.55);
  content: "";
  height: 34px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.mock-title {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.1;
  margin-top: 42px;
  max-width: 260px;
  position: relative;
  z-index: 1;
}

.mock-caption {
  color: var(--muted);
  font-size: 12px;
  margin-top: 12px;
  max-width: 300px;
  position: relative;
  z-index: 1;
}

.mock-screen {
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(169, 155, 141, 0.5);
  border-radius: 22px;
  display: grid;
  gap: 10px;
  margin-top: 20px;
  padding: 14px;
  position: relative;
  z-index: 1;
}

.live-preview {
  background: #fff;
  border: 1px solid rgba(169, 155, 141, 0.65);
  border-radius: 22px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6);
  height: 360px;
  margin-top: 22px;
  overflow: hidden;
  position: relative;
}

.live-preview iframe {
  border: 0;
  height: 100%;
  transform: scale(0.74);
  transform-origin: 0 0;
  width: 135%;
}

.live-preview img {
  height: 100%;
  object-fit: cover;
  object-position: top left;
  width: 100%;
}

.live-preview::after {
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 22px;
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.bars span,
.tiles span {
  background: rgba(49, 95, 105, 0.18);
  border-radius: 999px;
  display: block;
  height: 10px;
  margin: 8px 0;
}

.bars span:nth-child(2) { width: 72%; }
.bars span:nth-child(3) { width: 54%; }
.tiles {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, 1fr);
}
.tiles span {
  aspect-ratio: 1;
  border-radius: 14px;
  height: auto;
  margin: 0;
}

.magazine-section {
  margin-top: 28px;
}

.section-head {
  align-items: end;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 0 0 20px;
  padding: 0 4px 10px;
}

.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
}

.section-head p {
  color: var(--muted);
  font-size: 13px;
  max-width: 520px;
}

.feature-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}

.feature-card {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 8px;
  min-height: 420px;
  padding: 24px;
}

.feature-card.wide {
  grid-column: span 2;
}

.item-no {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 30px;
}

.feature-card h3 {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.1;
  margin: 12px 0;
}

.feature-card p {
  color: var(--muted);
  font-size: 14px;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.feature-tags span {
  border: 1px solid var(--hair);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.button {
  align-items: center;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--paper);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  justify-content: center;
  min-height: 42px;
  padding: 9px 16px;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.article {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.article-hero {
  display: grid;
  gap: 0;
  grid-template-columns: 0.96fr 1.04fr;
  min-height: min(510px, calc(100vh - 130px));
}

.article-copy {
  padding: clamp(28px, 4vw, 54px);
}

.article-visual {
  background: #e7d9c8;
  padding: 34px;
}

.article-image {
  background: #e7d9c8;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  min-height: min(510px, calc(100vh - 130px));
  overflow: hidden;
  padding: 24px;
}

.article-image img {
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  display: block;
  height: auto;
  max-height: min(360px, calc(100vh - 240px));
  object-fit: contain;
  width: 100%;
}

.article-image figcaption {
  color: #3d352f;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
  margin: 0;
  max-width: 640px;
}

.product-note {
  align-content: center;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.58), rgba(255,255,255,0.18)),
    #e7d9c8;
  color: var(--ink);
  display: grid;
  min-height: 620px;
}

.product-note span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.24em;
}

.product-note p {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.28;
  margin-top: 18px;
  max-width: 520px;
}

.article-body {
  display: grid;
  gap: 26px;
  grid-template-columns: 0.7fr 1.3fr;
  padding: clamp(30px, 4vw, 58px);
}

.article-body aside {
  border-right: 1px solid var(--hair);
  color: var(--muted);
  font-size: 13px;
  padding-right: 26px;
}

.article-body h2 {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.45;
  margin: 22px 0 10px;
}

.article-body p,
.article-body li {
  color: #4d453e;
  font-size: 15px;
  margin-bottom: 14px;
}

.article-body h2:first-child {
  margin-top: 0;
}

.page-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.page-jump a {
  border: 1px solid var(--hair);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
}

.domain-cta {
  background: rgba(255,255,255,0.42);
  border: 1px solid var(--hair);
  border-radius: 10px;
  display: grid;
  gap: 10px;
  margin-top: 28px;
  padding: 18px;
}

.domain-cta strong {
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.domain-cta a {
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
}

.detail-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 700;
  gap: 16px;
  margin-top: 24px;
  padding: 18px 2px 4px;
}

.detail-footer a:hover {
  color: var(--accent);
}

.catalog-list {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 18px 0 28px;
}

.catalog-list a {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--hair);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  padding: 14px;
}

.catalog-list strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
}

.catalog-list span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.catalog-list.compact {
  grid-template-columns: 1fr;
}

details {
  border-top: 1px solid var(--hair);
  margin-top: 14px;
  padding-top: 14px;
}

summary {
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

.article-body ul {
  padding-left: 20px;
}

.info-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.info-list div {
  border-top: 1px solid var(--hair);
  padding-top: 10px;
}

.info-list strong {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.pattern-qr { --accent: #315f69; }
.pattern-spec { --accent: #637b55; }
.pattern-data { --accent: #8a6b3f; }
.pattern-chain { --accent: #a45f5f; }
.pattern-galaxy { --accent: #3f5278; }
.pattern-kids { --accent: #c07848; }

.footer {
  color: var(--muted);
  font-size: 12px;
  padding: 30px 4px 10px;
}

@media (max-width: 920px) {
  .lp-hero,
  .lp-section {
    grid-template-columns: 1fr;
  }
  .lp-section > details {
    grid-column: auto;
  }
  .lp-hero {
    min-height: auto;
    padding-bottom: 38px;
  }
  .lp-product {
    grid-template-columns: 1fr;
  }
  .note-card-grid {
    grid-template-columns: 1fr;
  }
  .catalog-list {
    grid-template-columns: 1fr;
  }
  .lp-read-links {
    grid-template-columns: 1fr;
  }
  .lp-open {
    justify-self: start;
  }
  .site-shell {
    padding: 14px;
  }
  .hero-grid,
  .article-hero,
  .article-body,
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .hero-copy,
  .hero-visual,
  .article-hero {
    min-height: auto;
  }
  .article-image,
  .product-note {
    min-height: 360px;
  }
  .hero-image {
    min-height: auto;
  }
  .feature-card.wide {
    grid-column: span 1;
  }
  .article-body aside {
    border-right: 0;
    border-bottom: 1px solid var(--hair);
    padding: 0 0 20px;
  }
  .hero-meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .lp-nav {
    align-items: flex-start;
    flex-direction: column;
  }
  .lp-hero h1 {
    font-size: 32px;
  }
  .lp-section {
    padding: 42px 0;
  }
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    position: static;
  }
  .hero-title,
  .article-title {
    font-size: 32px;
  }
  .collage {
    grid-template-columns: 1fr;
  }
  .mock-large {
    grid-column: auto;
  }
}
