:root {
  --lp-bg: #ffffff;
  --lp-bg-alt: #f5f4f0;          /* 紙のような微オフホワイト */
  --lp-bg-dark: #0a0a0a;         /* ヘッダー・フッターなどの反転背景 */
  --lp-text: #0a0a0a;            /* 主テキスト */
  --lp-text-body: #1f1f1f;       /* 本文 */
  --lp-text-muted: #6b6b6b;      /* メタ情報 */
  --lp-text-faint: #9a9a9a;      /* 補助 */
  --lp-text-inverse: #ffffff;
  --lp-border: #e3e1dc;
  --lp-border-strong: #0a0a0a;
  --lp-accent: #1a3cff;          /* リンクブルー（"link" press からの想起） */
  --lp-accent-ink: #0c1f99;
  --lp-danger: #b8280f;

  --lp-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium",
    "Yu Gothic", "Meiryo", "Helvetica Neue", Arial, sans-serif;
  --lp-font-mono: ui-monospace, "SFMono-Regular", "Menlo", "Consolas",
    "Liberation Mono", monospace;

  --lp-max-w: 1200px;
  --lp-max-w-narrow: 760px;

  --lp-radius: 2px;               /* シャープなエディトリアル感 */
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--lp-bg);
  color: var(--lp-text-body);
  font-family: var(--lp-font-body);
  font-size: 16px;
  line-height: 1.75;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--lp-accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

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

hr {
  border: none;
  border-top: 1px solid var(--lp-border);
  margin: 2em 0;
}

/* ---------- ヘッダー ---------- */

.lp-topbar {
  background: var(--lp-bg-dark);
  color: var(--lp-text-inverse);
  font-family: var(--lp-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.lp-topbar-inner {
  max-width: var(--lp-max-w);
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
}
.lp-topbar a {
  color: var(--lp-text-inverse);
}

.lp-header {
  border-bottom: 1px solid var(--lp-border);
  background: var(--lp-bg);
  position: sticky;
  top: 0;
  z-index: 50;
}
.lp-header-inner {
  max-width: var(--lp-max-w);
  margin: 0 auto;
  padding: 0 24px 0 16px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.lp-brand-mark {
  display: inline-flex;
  align-items: stretch;
  line-height: 0;
  text-decoration: none;
  justify-self: start;
  grid-column: 1;
}
.lp-brand-logo {
  display: block;
  height: 64px;
  width: auto;
  margin: 0;
  padding: 0;
}
.lp-brand {
  font-family: var(--lp-font-mono);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--lp-text);
  text-decoration: none;
  text-align: center;
  grid-column: 2;
}
.lp-brand .dot {
  color: var(--lp-accent);
}
.lp-header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
  grid-column: 3;
}
.lp-header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lp-nav {
  border-bottom: 1px solid var(--lp-border);
  background: var(--lp-bg);
}
.lp-nav-inner {
  max-width: var(--lp-max-w);
  margin: 0 auto;
  padding: 6px 24px;
  display: flex;
  flex-wrap: wrap;
  column-gap: 22px;
  row-gap: 0;
}
.lp-nav a {
  display: inline-block;
  padding: 10px 0;
  font-family: var(--lp-font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lp-text);
  white-space: nowrap;
}
.lp-nav a:hover {
  text-decoration: none;
  color: var(--lp-accent);
}
.lp-nav a.is-active {
  border-bottom: 2px solid var(--lp-text);
}

/* ---------- 共通レイアウト ---------- */

.lp-main {
  max-width: var(--lp-max-w);
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.lp-main--narrow {
  max-width: var(--lp-max-w-narrow);
}

.lp-section {
  margin: 56px 0;
}
.lp-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 2px solid var(--lp-border-strong);
  padding-top: 12px;
  margin-bottom: 24px;
}
.lp-section-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}
.lp-section-label {
  font-family: var(--lp-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lp-text-muted);
}

/* ---------- ヒーロー（トップページ） ---------- */

.lp-hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  margin: 32px 0 56px;
  border-top: 2px solid var(--lp-border-strong);
  padding-top: 24px;
}
@media (max-width: 800px) {
  .lp-hero {
    grid-template-columns: 1fr;
  }
}
.lp-hero-image {
  background: var(--lp-bg-alt);
  aspect-ratio: 1.91 / 1;
  position: relative;
  overflow: hidden;
}
.lp-hero-image .ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--lp-font-mono);
  color: var(--lp-text-faint);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.lp-hero-meta {
  font-family: var(--lp-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lp-text-muted);
  margin-bottom: 12px;
}
.lp-hero-title {
  font-size: 36px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.005em;
  margin: 0 0 16px;
}
.lp-hero-summary {
  color: var(--lp-text-body);
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 16px;
}
.lp-hero-publisher {
  font-family: var(--lp-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--lp-text-muted);
}

/* ---------- 記事カードグリッド ---------- */

.lp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
}
.lp-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 800px) {
  .lp-grid,
  .lp-grid--2 {
    grid-template-columns: 1fr;
  }
}

.lp-card {
  display: flex;
  flex-direction: column;
}
.lp-card-image {
  background: var(--lp-bg-alt);
  aspect-ratio: 1.91 / 1;
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
}
.lp-card-image .ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--lp-font-mono);
  color: var(--lp-text-faint);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.lp-card-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-family: var(--lp-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lp-text-muted);
  margin-bottom: 8px;
}
.lp-card-meta .lp-cat {
  color: var(--lp-text);
  font-weight: 700;
}
.lp-card-title {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--lp-text);
}
.lp-card-title a {
  color: inherit;
}
.lp-card-summary {
  font-size: 14px;
  line-height: 1.7;
  color: var(--lp-text-body);
  margin: 0;
}
.lp-card-publisher {
  margin-top: 10px;
  font-family: var(--lp-font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--lp-text-muted);
}

/* ---------- リスト型一覧 ---------- */

.lp-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.lp-list li {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--lp-border);
}
@media (max-width: 600px) {
  .lp-list li {
    grid-template-columns: 1fr;
  }
}
.lp-list-image {
  background: var(--lp-bg-alt);
  aspect-ratio: 1.91 / 1;
  position: relative;
  overflow: hidden;
}
.lp-list-image .ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--lp-font-mono);
  color: var(--lp-text-faint);
  font-size: 11px;
  letter-spacing: 0.08em;
}

/* ---------- ボタン ---------- */

.lp-btn {
  display: inline-block;
  padding: 12px 22px;
  font-family: var(--lp-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--lp-text);
  background: var(--lp-text);
  color: var(--lp-text-inverse);
  cursor: pointer;
  border-radius: var(--lp-radius);
  line-height: 1;
}
.lp-btn:hover {
  background: var(--lp-accent);
  border-color: var(--lp-accent);
  text-decoration: none;
}
.lp-btn--ghost {
  background: transparent;
  color: var(--lp-text);
}
.lp-btn--ghost:hover {
  background: var(--lp-text);
  color: var(--lp-text-inverse);
}
.lp-btn--danger {
  background: var(--lp-danger);
  border-color: var(--lp-danger);
}
.lp-btn--danger:hover {
  background: #8a1d0a;
  border-color: #8a1d0a;
}
.lp-btn--block {
  display: block;
  text-align: center;
  width: 100%;
}

/* ---------- 記事ページ ---------- */

.lp-article-head {
  margin: 24px 0 32px;
}
.lp-article-meta {
  font-family: var(--lp-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lp-text-muted);
  margin-bottom: 12px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.lp-article-meta .lp-cat {
  color: var(--lp-text);
  font-weight: 700;
}
.lp-article-title {
  font-size: 36px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.005em;
  margin: 0 0 16px;
}
.lp-article-summary {
  font-size: 18px;
  line-height: 1.8;
  color: var(--lp-text-body);
  border-left: 3px solid var(--lp-text);
  padding: 4px 0 4px 16px;
  margin: 0 0 24px;
}
.lp-article-publisher {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 13px;
  color: var(--lp-text-muted);
  border-top: 1px solid var(--lp-border);
  border-bottom: 1px solid var(--lp-border);
  padding: 12px 0;
}
.lp-article-publisher dt {
  font-family: var(--lp-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lp-text-muted);
  margin-right: 4px;
}
.lp-article-publisher dd {
  margin: 0 16px 0 0;
  color: var(--lp-text);
}
.lp-article-publisher--stacked {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 6px 16px;
}
.lp-article-publisher--stacked dt,
.lp-article-publisher--stacked dd {
  margin: 0;
}

.lp-article-hero {
  background: var(--lp-bg-alt);
  aspect-ratio: 1.91 / 1;
  position: relative;
  overflow: hidden;
  margin: 0 0 32px;
}
.lp-article-hero .ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--lp-font-mono);
  color: var(--lp-text-faint);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.lp-article-body {
  font-size: 17px;
  line-height: 1.95;
  color: var(--lp-text-body);
}
.lp-article-body h2 {
  font-size: 22px;
  line-height: 1.5;
  font-weight: 700;
  margin: 2.4em 0 0.8em;
  padding-top: 0.8em;
  border-top: 1px solid var(--lp-border);
}
.lp-article-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 1.8em 0 0.6em;
}
.lp-article-body p {
  margin: 0 0 1.4em;
}
.lp-article-body ul,
.lp-article-body ol {
  padding-left: 1.4em;
  margin: 0 0 1.4em;
}
.lp-article-body li {
  margin-bottom: 0.4em;
}
.lp-article-body blockquote {
  border-left: 3px solid var(--lp-border-strong);
  margin: 1.4em 0;
  padding: 4px 0 4px 18px;
  color: var(--lp-text-muted);
}
.lp-article-body a {
  color: var(--lp-accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.lp-share {
  margin: 40px 0 32px;
  padding: 20px 0;
  border-top: 1px solid var(--lp-border);
  border-bottom: 1px solid var(--lp-border);
}
.lp-share__title {
  font-family: var(--lp-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lp-text-muted);
  margin: 0 0 12px;
}
.lp-share__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.lp-share__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--lp-border);
  background: var(--lp-bg);
  color: var(--lp-text);
  border-radius: var(--lp-radius);
  cursor: pointer;
  text-decoration: none;
  position: relative;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.lp-share__btn:hover,
.lp-share__btn:focus-visible {
  background: var(--lp-text);
  color: var(--lp-text-inverse);
  border-color: var(--lp-text);
}
.lp-share__btn svg {
  width: 18px;
  height: 18px;
  display: block;
}
.lp-share__btn--text {
  font-family: var(--lp-font-mono);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.lp-share__copy-feedback {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--lp-text);
  color: var(--lp-text-inverse);
  font-family: var(--lp-font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  padding: 4px 8px;
  border-radius: var(--lp-radius);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.lp-share__copy-feedback.is-visible {
  opacity: 1;
}

/* ---------- フォーム ---------- */

.lp-form {
  display: grid;
  gap: 24px;
}
.lp-field {
  display: grid;
  gap: 6px;
}
.lp-field-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--lp-text);
}
.lp-field-required {
  display: inline-block;
  margin-left: 8px;
  font-family: var(--lp-font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  background: var(--lp-text);
  color: var(--lp-text-inverse);
  padding: 2px 6px;
  border-radius: var(--lp-radius);
  vertical-align: 2px;
}
.lp-field-required.optional {
  background: transparent;
  color: var(--lp-text-muted);
  border: 1px solid var(--lp-border);
}
.lp-field-hint {
  font-size: 12px;
  color: var(--lp-text-muted);
  line-height: 1.6;
}
.lp-input,
.lp-textarea,
.lp-select {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  background: var(--lp-bg);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  color: var(--lp-text);
}
.lp-input:focus,
.lp-textarea:focus,
.lp-select:focus {
  outline: none;
  border-color: var(--lp-text);
}
.lp-textarea {
  min-height: 200px;
  resize: vertical;
  line-height: 1.7;
}
.lp-textarea--rich {
  min-height: 400px;
  font-family: var(--lp-font-mono);
  font-size: 13px;
  line-height: 1.7;
}
.lp-counter {
  text-align: right;
  font-family: var(--lp-font-mono);
  font-size: 11px;
  color: var(--lp-text-muted);
}

.lp-uploader {
  border: 1.5px dashed var(--lp-border);
  background: var(--lp-bg-alt);
  padding: 32px;
  text-align: center;
  border-radius: var(--lp-radius);
}
.lp-uploader-title {
  font-weight: 700;
  margin: 0 0 4px;
}
.lp-uploader-hint {
  font-size: 12px;
  color: var(--lp-text-muted);
  line-height: 1.6;
  margin: 0;
}

.lp-radio-group {
  display: grid;
  gap: 8px;
}
.lp-radio {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  cursor: pointer;
}
.lp-radio input {
  margin-top: 4px;
}
.lp-radio-title {
  font-weight: 700;
  font-size: 14px;
}
.lp-radio-desc {
  font-size: 12px;
  color: var(--lp-text-muted);
  margin-top: 2px;
}

.lp-checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.7;
}

/* ---------- 通知バナー（callout） ---------- */

.lp-callout {
  border-left: 3px solid var(--lp-text);
  background: var(--lp-bg-alt);
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.7;
}
.lp-callout--info {
  border-color: var(--lp-accent);
}
.lp-callout--warn {
  border-color: var(--lp-danger);
}
.lp-callout-title {
  font-weight: 700;
  margin: 0 0 4px;
  font-size: 14px;
}
.lp-callout p {
  margin: 0;
}

/* ---------- ステップインジケータ ---------- */

.lp-steps {
  display: flex;
  gap: 0;
  margin-bottom: 32px;
  font-family: var(--lp-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lp-text-muted);
  border-top: 2px solid var(--lp-border-strong);
  border-bottom: 1px solid var(--lp-border);
}
.lp-step {
  flex: 1;
  padding: 12px 8px;
  border-right: 1px solid var(--lp-border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.lp-step:last-child {
  border-right: none;
}
.lp-step .num {
  width: 22px;
  height: 22px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
}
.lp-step.is-active {
  color: var(--lp-text);
}
.lp-step.is-active .num {
  background: var(--lp-text);
  color: var(--lp-text-inverse);
  border-color: var(--lp-text);
}

/* ---------- カテゴリチップ ---------- */

.lp-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}
.lp-cats a {
  font-family: var(--lp-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 12px;
  border: 1px solid var(--lp-border);
  color: var(--lp-text);
  text-decoration: none;
}
.lp-cats a:hover {
  background: var(--lp-text);
  color: var(--lp-text-inverse);
  border-color: var(--lp-text);
  text-decoration: none;
}
.lp-cats a.is-active {
  background: var(--lp-text);
  color: var(--lp-text-inverse);
  border-color: var(--lp-text);
}

/* ---------- フッター ---------- */

.lp-footer {
  background: var(--lp-bg-dark);
  color: var(--lp-text-inverse);
  padding: 56px 24px 24px;
  margin-top: 80px;
}
.lp-footer-inner {
  max-width: var(--lp-max-w);
  margin: 0 auto;
}
.lp-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
@media (max-width: 800px) {
  .lp-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.lp-footer h4 {
  font-family: var(--lp-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c9c7c1;
  margin: 0 0 12px;
  font-weight: 400;
}
.lp-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lp-footer li {
  margin-bottom: 8px;
  font-size: 13px;
}
.lp-footer a {
  color: var(--lp-text-inverse);
}
.lp-footer-brand {
  font-family: var(--lp-font-mono);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}
.lp-footer-brand .dot {
  color: var(--lp-accent);
}
.lp-footer-tag {
  font-size: 13px;
  color: #c9c7c1;
  line-height: 1.7;
  margin: 0 0 12px;
}
.lp-footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-family: var(--lp-font-mono);
  letter-spacing: 0.08em;
  color: #c9c7c1;
  text-transform: uppercase;
}

/* ---------- 共通単一カード（取り下げ・410・認証完了） ---------- */

.lp-panel {
  max-width: 600px;
  margin: 56px auto;
  padding: 40px;
  border: 1px solid var(--lp-border);
  background: var(--lp-bg);
  border-radius: var(--lp-radius);
}
.lp-panel--center {
  text-align: center;
}
.lp-panel-status {
  font-family: var(--lp-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lp-text-muted);
  margin-bottom: 12px;
}
.lp-panel-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 12px;
}
.lp-panel p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--lp-text-body);
}
.lp-panel-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* ---------- 表 ---------- */

.lp-meta-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 13px;
}
.lp-meta-table th,
.lp-meta-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--lp-border);
  vertical-align: top;
}
.lp-meta-table th {
  font-family: var(--lp-font-mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lp-text-muted);
  width: 200px;
}

/* ---------- ユーティリティ ---------- */

.u-mono {
  font-family: var(--lp-font-mono);
}
.u-muted {
  color: var(--lp-text-muted);
}
.u-mt-0 {
  margin-top: 0;
}
.u-text-center {
  text-align: center;
}
.u-flex-end {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
