:root {
  --bg:            #1a1814;
  --bg-alt:        #1e1c17;
  --bg-alt2:       #201f1a;
  --bg-card:       #26241e;
  --bg-card-warm:  #2c281f;
  --bg-paper:      #f5efe3;
  --bg-paper-paid: #f0e5cc;
  --text:          #efe7d5;
  --text-sub:      #b8ad98;
  --text-muted:    #7a7468;
  --text-paper:    #241f18;
  --text-paper-sub:#4a3f30;
  --accent:        #c2a15a;
  --accent-bright: #d2b56f;
  --accent-dark:   #9f7f3e;
  --border:        rgba(214, 190, 130, 0.18);
  --border-strong: rgba(194, 161, 90, 0.40);
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans',
    'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  --max-width: 960px;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---- Header ---- */
header {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.logo {
  font-size: 23px;
  font-weight: 700;
  color: #f5efe8;
  text-decoration: none;
  letter-spacing: 0.10em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.logo::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ---- Hero ---- */
.hero {
  padding: 108px 0 96px;
  background-color: var(--bg);
  background-image: radial-gradient(rgba(194, 161, 90, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
}

.hero-content {
  max-width: 680px;
}

@media (max-width: 680px) {
  .hero { padding: 60px 0 52px; }
}

.hero-label {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(24px, 4.5vw, 36px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: var(--text);
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 2.0;
  margin-bottom: 40px;
}

.hero-note {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 16px;
  letter-spacing: 0.03em;
}

/* Hero decoration */
.hero-deco {
  position: relative;
  height: 264px;
}

.hero-deco-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 18px 20px;
  right: 0;
}

.hero-deco-card:nth-child(1) { top: 0;    width: 90%; z-index: 3; }
.hero-deco-card:nth-child(2) { top: 22px; width: 82%; right: -12px; z-index: 2; opacity: 0.50; }
.hero-deco-card:nth-child(3) { top: 44px; width: 74%; right: -24px; z-index: 1; opacity: 0.28; }

.hero-deco-tag {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.hero-deco-title {
  font-size: 12px;
  color: var(--text);
  font-weight: 600;
  line-height: 1.55;
  margin-bottom: 14px;
}

.hero-deco-lines { display: flex; flex-direction: column; gap: 6px; }

.hero-deco-line {
  height: 7px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
}

.hero-deco-line.s { width: 55%; }
.hero-deco-line.m { width: 78%; }
.hero-deco-line.l { width: 100%; }

/* ---- Buttons ---- */
.btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  display: inline-block;
  padding: 11px 24px;
  background: var(--accent);
  color: #1a1814;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  border-radius: 3px;
  letter-spacing: 0.04em;
  border: 1.5px solid var(--accent);
  transition: background 0.15s, border-color 0.15s;
}

.btn:hover {
  background: var(--accent-bright);
  border-color: var(--accent-bright);
  color: #1a1814;
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--border-strong);
  font-weight: 600;
}

.btn-outline:hover {
  background: var(--accent);
  color: #1a1814;
  border-color: var(--accent);
}

.btn-paid {
  display: inline-block;
  padding: 11px 24px;
  background: var(--accent-bright);
  color: #1a1814;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  border-radius: 3px;
  letter-spacing: 0.04em;
  border: 1.5px solid var(--accent-bright);
  transition: background 0.15s, border-color 0.15s;
}

.btn-paid:hover {
  background: #e0c87a;
  border-color: #e0c87a;
  color: #1a1814;
}

.btn-free {
  display: inline-block;
  padding: 11px 24px;
  background: transparent;
  color: var(--text-sub);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  border-radius: 3px;
  letter-spacing: 0.04em;
  border: 1.5px solid rgba(239, 231, 213, 0.25);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.btn-free:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-color: rgba(239, 231, 213, 0.40);
}

/* ---- Section labels & titles ---- */
.section-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(19px, 3.2vw, 23px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 10px;
}

.section-lead {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.95;
  margin-bottom: 48px;
}

/* ---- Sample (配信イメージ) ---- */
.sample-section {
  padding: 96px 0;
  background: var(--bg-alt);
}

.sample-cards {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 20px;
  margin-top: 48px;
  align-items: start;
}

@media (max-width: 640px) {
  .sample-cards { grid-template-columns: 1fr; }
}

.sample-card {
  background: var(--bg-paper);
  border-radius: 6px;
  overflow: hidden;
}

.sample-card.paid {
  background: var(--bg-paper-paid);
  border-top: 3px solid var(--accent);
  box-shadow: 0 6px 24px rgba(194, 144, 40, 0.10);
}

.sample-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px 0;
}

.sample-card-label {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #6b6258;
  background: #ddd5c5;
  padding: 3px 8px;
  border-radius: 2px;
}

.sample-card.paid .sample-card-label {
  color: #7a5010;
  background: #e8c878;
}

.sample-card-freq {
  font-size: 11px;
  color: #8a8070;
  letter-spacing: 0.04em;
}

.sample-segment-tag {
  display: inline-block;
  margin: 10px 20px 0;
  font-size: 11px;
  color: #7a5010;
  background: rgba(194, 144, 40, 0.15);
  border: 1px solid rgba(194, 144, 40, 0.30);
  padding: 3px 10px;
  border-radius: 2px;
  letter-spacing: 0.02em;
}

.sample-card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-paper);
  line-height: 1.65;
  margin: 14px 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.10);
}

.sample-card-body {
  font-size: 12px;
  color: var(--text-paper-sub);
  line-height: 2.0;
  padding: 0 20px;
}

.sample-card-body p + p { margin-top: 10px; }

.sample-card-question {
  margin: 14px 20px 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-paper);
  line-height: 1.8;
}

.sample-card-footer {
  margin: 12px 20px 20px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  font-size: 11px;
  color: #8a8070;
  line-height: 1.7;
}

/* ---- Plans ---- */
.plans-section {
  padding: 96px 0;
  background: var(--bg-alt2);
}

.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}

@media (max-width: 580px) {
  .plans { grid-template-columns: 1fr; }
}

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 30px 26px;
}

.plan-card.featured {
  background: var(--bg-card-warm);
  border-color: var(--border-strong);
  border-top: 3px solid var(--accent);
}

.plan-tag {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.plan-card.featured .plan-tag {
  color: var(--accent);
}

.plan-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.plan-price {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.plan-features li {
  font-size: 13px;
  color: var(--text-sub);
  padding-left: 18px;
  position: relative;
  line-height: 1.7;
}

.plan-features li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

.plan-card.featured .plan-features li::before {
  color: var(--accent);
}

.plan-note {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

/* ---- How ---- */
.how-section {
  padding: 96px 0;
  background: var(--bg);
}

.how-steps {
  border-left: 1px solid var(--border);
  padding-left: 36px;
  margin-left: 16px;
  margin-top: 48px;
}

.how-step {
  position: relative;
  padding-bottom: 44px;
}

.how-step:last-child { padding-bottom: 0; }

.how-step::before {
  content: '';
  position: absolute;
  left: -41px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--accent);
}

.how-step-num {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 8px;
}

.how-step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 10px;
}

.how-step-body {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.95;
  max-width: 520px;
}

.how-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 36px;
  margin-left: 52px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  max-width: 520px;
}

/* ---- Why ---- */
.why-section {
  padding: 96px 0;
  background: var(--bg-alt);
}

.why-body {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 2.1;
  max-width: 560px;
  margin-top: 32px;
}

.why-body p + p { margin-top: 22px; }

/* ---- Segments ---- */
.segments-section {
  padding: 96px 0;
  background: var(--bg-alt2);
}

.segments-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}

.segment-chip {
  font-size: 13px;
  color: var(--text-sub);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 9px 16px;
  line-height: 1.4;
  transition: border-color 0.15s, color 0.15s;
}

.segment-chip:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

/* ---- Flow (有料版手順) ---- */
.flow-section {
  padding: 96px 0;
  background: var(--bg);
}

.flow-lead {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.95;
  max-width: 520px;
  margin-top: 16px;
  margin-bottom: 44px;
}

.flow-steps {
  border-left: 1px solid var(--border);
  padding-left: 32px;
  margin-left: 10px;
}

.flow-step {
  position: relative;
  padding-bottom: 30px;
}

.flow-step:last-child { padding-bottom: 0; }

.flow-step::before {
  content: '';
  position: absolute;
  left: -37px;
  top: 5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--accent);
}

.flow-step-num {
  font-size: 11px;
  letter-spacing: 0.10em;
  color: var(--accent);
  margin-bottom: 4px;
}

.flow-step-text {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.85;
}

/* ---- CTA ---- */
.cta-section {
  padding: 96px 0;
  background: var(--bg-alt);
  text-align: center;
}

.cta-title {
  font-size: clamp(19px, 3.5vw, 26px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.95;
  max-width: 440px;
  margin: 0 auto 36px;
}

.cta-section .btn-group { justify-content: center; }

/* ---- Footer ---- */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 44px 0;
  text-align: center;
}

.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.footer-links a:hover { color: var(--text-sub); }

.footer-copy {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ---- Hero deco label ---- */
.hero-deco-label {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: right;
  margin-bottom: 10px;
}

/* ---- Sample card outer wrapper ---- */
.sample-card-outer {
  display: flex;
  flex-direction: column;
}

.sample-card-context {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.sample-card-context.paid {
  color: var(--accent-dark);
}

.sample-image-tag {
  margin-left: auto;
  font-size: 9px;
  letter-spacing: 0.08em;
  color: #a09488;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 2px;
  padding: 2px 6px;
  white-space: nowrap;
}

/* ---- Hero pricing pills ---- */
.hero-pricing {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
  margin-bottom: 4px;
}

.hero-pricing-pill {
  font-size: 12px;
  color: var(--text-sub);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px 14px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.hero-pricing-pill--paid {
  color: var(--accent-bright);
  border-color: rgba(194, 161, 90, 0.35);
  background: rgba(194, 161, 90, 0.06);
}

/* ---- Plan price block ---- */
.plan-price-block {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.plan-price-main {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}

.plan-price-main--large {
  font-size: 38px;
  line-height: 1.1;
}

.plan-price-label,
.plan-price-tax {
  font-size: 11px;
  color: var(--text-muted);
}

.plan-price-freq {
  font-size: 11px;
  color: var(--text-sub);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 2px 8px;
  align-self: center;
}

.plan-card.featured .plan-price-main {
  color: var(--accent-bright);
}

.plan-card.featured .plan-price-freq {
  color: var(--accent);
  border-color: rgba(194, 161, 90, 0.28);
}

/* ---- Sample card purpose label ---- */
.sample-card-purpose {
  display: block;
  padding: 12px 20px 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a8070;
}

.sample-card.paid .sample-card-purpose {
  color: #9a6020;
}

/* ---- Sample diff note ---- */
.sample-diff-note {
  margin: 10px 20px 0;
  font-size: 11px;
  color: #7a5010;
  font-style: italic;
  line-height: 1.7;
}

/* ---- Why editorial ---- */
.why-editorial {
  font-size: 15px;
  font-style: italic;
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 6px;
  padding-left: 14px;
  border-left: 2px solid var(--accent-dark);
  opacity: 0.80;
}

/* ---- Mobile section spacing ---- */
@media (max-width: 640px) {
  .sample-section,
  .plans-section,
  .how-section,
  .why-section,
  .segments-section,
  .flow-section,
  .cta-section { padding: 64px 0; }

  .section-lead { margin-bottom: 32px; }
  .plans { margin-top: 32px; }
  .how-steps { margin-top: 32px; }
  .segments-grid { margin-top: 28px; }
}

/* ---- Inner pages (tokushoho / privacy) ---- */
.inner-page { padding: 60px 0 80px; }

.back-link {
  display: inline-block;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 40px;
}

.back-link:hover { color: var(--text-sub); }

.page-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.page-date {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.prose {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-sub);
}

.prose h2 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-top: 48px;
  margin-bottom: 12px;
}

.prose p { margin-bottom: 16px; }
.prose ul { padding-left: 20px; margin-bottom: 16px; }
.prose li { margin-bottom: 6px; }

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 8px;
  font-size: 14px;
}

.prose table th,
.prose table td {
  padding: 11px 14px;
  border: 1px solid var(--border);
  vertical-align: top;
  text-align: left;
}

.prose table th {
  background: var(--bg-card);
  font-weight: 600;
  color: var(--text);
  width: 160px;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .prose table,
  .prose table tbody,
  .prose table tr,
  .prose table th,
  .prose table td { display: block; width: 100%; }
  .prose table th { border-bottom: none; padding-bottom: 4px; white-space: normal; }
  .prose table td { border-top: none; padding-top: 4px; }
}
