/* ============================================================
   landing.css — 公開LP / 利用規約 / プライバシー / 特商法 共通
   Notion風シンプルデザイン
   ============================================================ */

:root {
  --lp-bg: #FFFFFF;
  --lp-bg-alt: #F7F6F3;
  --lp-text: #37352F;
  --lp-text-mute: #6B6B6B;
  --lp-border: #E9E9E7;
  --lp-accent: #2563EB;
  --lp-accent-hover: #1D4ED8;
  --lp-accent-light: #EFF6FF;
  --lp-success: #10B981;
  --lp-warning: #F59E0B;
  --lp-shadow-sm: 0 1px 2px rgba(55, 53, 47, 0.08);
  --lp-shadow: 0 4px 12px rgba(55, 53, 47, 0.08);
  --lp-shadow-lg: 0 10px 30px rgba(55, 53, 47, 0.12);
  --lp-radius: 8px;
  --lp-radius-lg: 12px;
  --lp-font: "Inter", "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", sans-serif;
  --lp-header-h: 64px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--lp-font);
  color: var(--lp-text);
  background: var(--lp-bg);
  line-height: 1.7;
  font-size: 16px;
  font-feature-settings: "palt";
}
img, svg { max-width: 100%; display: block; }
a { color: var(--lp-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.25em; }

/* ── Container ── */
.lp-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ── */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--lp-border);
  height: var(--lp-header-h);
}
.lp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}
.lp-logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--lp-text);
  letter-spacing: 0.02em;
}
.lp-logo:hover { text-decoration: none; }
.lp-nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.lp-nav a {
  color: var(--lp-text);
  font-size: 14px;
  font-weight: 500;
}
.lp-nav a:hover { color: var(--lp-accent); text-decoration: none; }
.lp-header-cta {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* ── Buttons ── */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--lp-radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.lp-btn:hover { text-decoration: none; }
.lp-btn-sm { padding: 8px 16px; font-size: 14px; }
.lp-btn-block { width: 100%; }

.lp-btn-primary {
  background: var(--lp-accent);
  color: #FFFFFF;
  border-color: var(--lp-accent);
}
.lp-btn-primary:hover {
  background: var(--lp-accent-hover);
  border-color: var(--lp-accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--lp-shadow);
}

.lp-btn-secondary {
  background: #FFFFFF;
  color: var(--lp-text);
  border-color: var(--lp-border);
}
.lp-btn-secondary:hover {
  border-color: var(--lp-accent);
  color: var(--lp-accent);
}

.lp-btn-ghost {
  background: transparent;
  color: var(--lp-text);
  border-color: transparent;
}
.lp-btn-ghost:hover {
  background: var(--lp-bg-alt);
  color: var(--lp-accent);
}

/* ── Sections ── */
.lp-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--lp-border);
}
.lp-section:last-of-type { border-bottom: none; }
.lp-section-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.lp-section-sub {
  text-align: center;
  color: var(--lp-text-mute);
  margin: 0 0 48px;
  font-size: 16px;
}

/* ── Hero ── */
.lp-hero {
  padding: 100px 0 80px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F9FAFB 100%);
  text-align: center;
  border-bottom: 1px solid var(--lp-border);
}
.lp-hero-title {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 24px;
  letter-spacing: -0.02em;
  color: var(--lp-text);
}
.lp-hero-sub {
  font-size: 18px;
  color: var(--lp-text-mute);
  margin: 0 0 40px;
  line-height: 1.7;
}
.lp-hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Grid ── */
.lp-grid-3,
.lp-grid-4 {
  display: grid;
  gap: 24px;
}
.lp-grid-3 { grid-template-columns: repeat(3, 1fr); }
.lp-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ── Card ── */
.lp-card {
  background: #FFFFFF;
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius-lg);
  padding: 32px 28px;
  transition: all 0.15s ease;
}
.lp-card:hover {
  border-color: var(--lp-accent);
  box-shadow: var(--lp-shadow);
  transform: translateY(-2px);
}
.lp-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.5;
}
.lp-card p {
  color: var(--lp-text-mute);
  font-size: 15px;
  margin: 0;
  line-height: 1.7;
}

/* ── Feature icon (simple badge) ── */
.lp-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--lp-accent-light);
  color: var(--lp-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

/* ── Problem section ── */
.lp-problem { background: var(--lp-bg-alt); border-bottom: 1px solid var(--lp-border); }

/* ── SNS grid ── */
.lp-sns-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.lp-sns-item {
  background: #FFFFFF;
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  padding: 24px 20px;
  text-align: center;
  transition: all 0.15s ease;
}
.lp-sns-item:hover {
  border-color: var(--lp-accent);
  box-shadow: var(--lp-shadow-sm);
}
.lp-sns-name {
  font-weight: 700;
  font-size: 16px;
  color: var(--lp-text);
}
.lp-sns-note {
  font-size: 12px;
  color: var(--lp-text-mute);
  margin-top: 6px;
}

/* ── Pricing ── */
.lp-pricing { background: var(--lp-bg-alt); }
.lp-plan {
  background: #FFFFFF;
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.15s ease;
}
.lp-plan:hover {
  border-color: var(--lp-accent);
  box-shadow: var(--lp-shadow);
}
.lp-plan-popular {
  border-color: var(--lp-accent);
  border-width: 2px;
  box-shadow: var(--lp-shadow-lg);
  transform: translateY(-4px);
}
.lp-plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--lp-accent);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.lp-plan-name {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px;
}
.lp-plan-price {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 24px;
  color: var(--lp-text);
  letter-spacing: -0.02em;
}
.lp-plan-price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--lp-text-mute);
}
.lp-plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
}
.lp-plan-features li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--lp-text);
  border-bottom: 1px solid var(--lp-border);
  position: relative;
  padding-left: 22px;
}
.lp-plan-features li:last-child { border-bottom: none; }
.lp-plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--lp-accent);
  font-weight: 700;
}

/* ── Steps ── */
.lp-step {
  background: #FFFFFF;
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius-lg);
  padding: 32px 28px;
  text-align: center;
}
.lp-step-no {
  font-size: 13px;
  font-weight: 700;
  color: var(--lp-accent);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.lp-step h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px;
}
.lp-step p {
  color: var(--lp-text-mute);
  font-size: 15px;
  margin: 0;
}

/* ── FAQ ── */
.lp-faq { background: var(--lp-bg-alt); }
.lp-faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lp-faq-item {
  background: #FFFFFF;
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  padding: 0;
  transition: all 0.15s ease;
}
.lp-faq-item[open] {
  border-color: var(--lp-accent);
  box-shadow: var(--lp-shadow-sm);
}
.lp-faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-right: 56px;
  user-select: none;
  font-size: 15px;
  line-height: 1.5;
}
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--lp-text-mute);
  transition: transform 0.15s ease;
}
.lp-faq-item[open] summary::after {
  content: "−";
  color: var(--lp-accent);
}
.lp-faq-item p {
  padding: 0 24px 20px;
  margin: 0;
  color: var(--lp-text-mute);
  font-size: 15px;
  line-height: 1.8;
}

/* ── Company table ── */
.lp-company-table {
  max-width: 720px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius-lg);
  padding: 8px 32px;
}
.lp-company-table dl {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0;
  margin: 0;
}
.lp-company-table dt,
.lp-company-table dd {
  padding: 18px 8px;
  border-bottom: 1px solid var(--lp-border);
  margin: 0;
  font-size: 15px;
}
.lp-company-table dt {
  font-weight: 600;
  color: var(--lp-text-mute);
}
.lp-company-table dl > *:nth-last-child(-n+2) { border-bottom: none; }

/* ── Footer ── */
.lp-footer {
  background: var(--lp-bg-alt);
  padding: 60px 0 32px;
  border-top: 1px solid var(--lp-border);
}
.lp-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.lp-footer-logo {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}
.lp-footer-desc {
  color: var(--lp-text-mute);
  font-size: 14px;
  margin: 0;
  line-height: 1.7;
}
.lp-footer h4 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--lp-text);
}
.lp-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lp-footer ul li {
  padding: 6px 0;
  font-size: 14px;
  color: var(--lp-text-mute);
}
.lp-footer ul li a {
  color: var(--lp-text-mute);
}
.lp-footer ul li a:hover { color: var(--lp-accent); }
.lp-footer-copy {
  text-align: center;
  color: var(--lp-text-mute);
  font-size: 13px;
  padding-top: 32px;
  border-top: 1px solid var(--lp-border);
}

/* ============================================================
   Legal pages (terms / privacy / tokusho)
   ============================================================ */
.lp-legal {
  padding: 60px 0 80px;
}
.lp-legal .lp-container { max-width: 880px; }
.lp-legal h1 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 24px;
  letter-spacing: -0.01em;
  text-align: center;
}
.lp-legal h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 48px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--lp-accent);
  line-height: 1.5;
}
.lp-legal h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 28px 0 10px;
  line-height: 1.5;
}
.lp-legal p,
.lp-legal li {
  font-size: 15px;
  line-height: 1.9;
  color: var(--lp-text);
}
.lp-legal ol,
.lp-legal ul {
  padding-left: 1.5em;
  margin: 0 0 20px;
}
.lp-legal li { margin-bottom: 6px; }
.lp-legal-lead {
  background: var(--lp-bg-alt);
  padding: 20px 24px;
  border-radius: var(--lp-radius);
  margin-bottom: 32px;
  color: var(--lp-text-mute);
}
.lp-legal-date {
  margin-top: 48px;
  padding: 24px;
  background: var(--lp-bg-alt);
  border-radius: var(--lp-radius);
  color: var(--lp-text-mute);
  font-size: 14px;
  text-align: right;
}
.lp-legal-contact {
  background: var(--lp-bg-alt);
  padding: 20px 24px;
  border-radius: var(--lp-radius);
  margin: 20px 0;
}
.lp-legal-contact p { margin: 0; }

/* ── 特商法 table ── */
.lp-tokusho-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  overflow: hidden;
}
.lp-tokusho-table th,
.lp-tokusho-table td {
  padding: 16px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--lp-border);
  font-size: 15px;
  line-height: 1.8;
}
.lp-tokusho-table th {
  background: var(--lp-bg-alt);
  font-weight: 600;
  width: 200px;
  color: var(--lp-text);
}
.lp-tokusho-table td small {
  display: block;
  font-size: 13px;
  color: var(--lp-text-mute);
  margin-top: 4px;
}
.lp-tokusho-table tr:last-child th,
.lp-tokusho-table tr:last-child td { border-bottom: none; }

/* ============================================================
   Responsive
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .lp-hero-title { font-size: 36px; }
  .lp-section-title { font-size: 28px; }
  .lp-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .lp-sns-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .lp-plan-popular { transform: none; }
}

/* Mobile */
@media (max-width: 640px) {
  .lp-container { padding: 0 20px; }

  .lp-header { height: auto; }
  .lp-header-inner { padding: 10px 0; gap: 8px; flex-wrap: wrap; }
  .lp-nav { display: none; }
  .lp-header-cta .lp-btn-ghost { display: none; }

  .lp-hero { padding: 60px 0 50px; }
  .lp-hero-title { font-size: 28px; line-height: 1.4; }
  .lp-hero-sub { font-size: 15px; }
  .lp-hero-cta { flex-direction: column; gap: 10px; }
  .lp-hero-cta .lp-btn { width: 100%; }

  .lp-section { padding: 56px 0; }
  .lp-section-title { font-size: 24px; }
  .lp-section-sub { font-size: 14px; margin-bottom: 32px; }

  .lp-grid-3,
  .lp-grid-4,
  .lp-sns-grid {
    grid-template-columns: 1fr;
  }

  .lp-card { padding: 24px 20px; }

  .lp-plan { padding: 28px 20px; }
  .lp-plan-price { font-size: 28px; }

  .lp-company-table { padding: 4px 20px; }
  .lp-company-table dl { grid-template-columns: 110px 1fr; }
  .lp-company-table dt,
  .lp-company-table dd { padding: 14px 4px; font-size: 14px; }

  .lp-footer { padding: 48px 0 24px; }
  .lp-footer-grid { grid-template-columns: 1fr; gap: 32px; margin-bottom: 32px; }

  .lp-legal h1 { font-size: 26px; }
  .lp-legal h2 { font-size: 19px; margin: 36px 0 14px; }
  .lp-legal h3 { font-size: 16px; }
  .lp-legal p, .lp-legal li { font-size: 14px; }
  .lp-legal-lead { padding: 16px 18px; }

  .lp-tokusho-table,
  .lp-tokusho-table tbody,
  .lp-tokusho-table tr,
  .lp-tokusho-table th,
  .lp-tokusho-table td {
    display: block;
    width: 100%;
  }
  .lp-tokusho-table th {
    width: 100%;
    padding: 12px 16px;
    border-bottom: 1px solid var(--lp-border);
  }
  .lp-tokusho-table td {
    padding: 12px 16px 16px;
  }
}
