:root {
  --bg: #f4efe8;
  --surface: #fffdf9;
  --surface-strong: #fff7ee;
  --ink: #18232e;
  --ink-soft: #586777;
  --line: #dccfbe;
  --line-strong: #c2af98;
  --accent: #9b5c2c;
  --accent-deep: #6f3f19;
  --accent-soft: #ead6c2;
  --forest: #234038;
  --forest-soft: #dce7e3;
  --white: #ffffff;
  --shadow-soft: 0 18px 44px rgba(24, 35, 46, 0.08);
  --shadow-card: 0 10px 28px rgba(24, 35, 46, 0.08);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans JP", sans-serif;
  color: var(--ink);
  line-height: 1.75;
  background:
    radial-gradient(circle at top left, rgba(155, 92, 44, 0.08), transparent 28%),
    linear-gradient(180deg, #f6f1eb 0%, #fdfaf5 35%, #f8f4ed 100%);
}

a {
  color: var(--accent-deep);
  text-underline-offset: 3px;
}

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

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(253, 250, 245, 0.88);
  border-bottom: 1px solid rgba(111, 63, 25, 0.12);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
}

.brand-mark {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  color: var(--accent-deep);
  text-transform: uppercase;
}

.brand-name {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-nav a {
  text-decoration: none;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-deep);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  color: var(--white);
}

.btn-small {
  min-height: 42px;
  padding: 0 16px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 74px;
}

.hero-orbit {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.7;
}

.hero-orbit-a {
  right: -120px;
  top: -60px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(155, 92, 44, 0.22), transparent 68%);
}

.hero-orbit-b {
  left: -140px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(35, 64, 56, 0.14), transparent 72%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 30px;
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(155, 92, 44, 0.12);
  color: var(--accent-deep);
  font-size: 0.82rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.3;
}

h1 {
  font-size: clamp(2rem, 1.35rem + 2vw, 3.6rem);
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(1.55rem, 1.12rem + 1.2vw, 2.5rem);
  margin-bottom: 10px;
}

h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}

p {
  margin-top: 0;
  margin-bottom: 14px;
}

.hero-lead {
  max-width: 58ch;
  font-size: 1.04rem;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 22px;
}

.hero-points,
.summary-list,
.detail-list {
  margin: 0;
  padding-left: 1.2em;
}

.hero-points li,
.summary-list li,
.detail-list li {
  margin-bottom: 6px;
}

.hero-card,
.info-card,
.plan-card,
.process-card,
.trust-card,
.merchant-card,
.contact-form,
.faq-list details,
.timeline li {
  border: 1px solid rgba(111, 63, 25, 0.14);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 249, 0.92);
  box-shadow: var(--shadow-card);
}

.hero-card {
  padding: 28px;
}

.card-label {
  margin-bottom: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-deep);
}

.hero-card-links {
  margin-top: 20px;
  display: grid;
  gap: 8px;
}

.hero-card-links a {
  text-decoration: none;
  font-weight: 600;
}

.section {
  padding: 82px 0;
}

.muted-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, rgba(234, 214, 194, 0.28) 100%);
}

.accent-section {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(20, 38, 34, 0.96) 0%, rgba(35, 64, 56, 0.95) 100%),
    linear-gradient(180deg, rgba(155, 92, 44, 0.2), rgba(155, 92, 44, 0));
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading p:last-child {
  color: var(--ink-soft);
}

.section-heading-light p,
.section-heading-light h2 {
  color: var(--white);
}

.info-grid,
.plan-grid,
.process-grid,
.trust-grid,
.merchant-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

.info-grid,
.trust-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plan-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.merchant-grid,
.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.info-card,
.plan-card,
.process-card,
.trust-card,
.merchant-card {
  padding: 24px;
}

.plan-card.featured {
  background: linear-gradient(180deg, rgba(255, 247, 238, 0.98) 0%, rgba(255, 253, 249, 0.98) 100%);
  border-color: rgba(155, 92, 44, 0.28);
}

.plan-badge {
  margin-bottom: 10px;
  color: var(--forest);
  font-weight: 700;
}

.plan-price {
  margin-bottom: 4px;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.3;
}

.plan-subprice {
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-weight: 600;
}

.process-card {
  color: rgba(255, 255, 255, 0.94);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.process-step {
  display: inline-flex;
  margin-bottom: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #f0cfb1;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.timeline li {
  padding: 22px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 0 18px;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 700;
}

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

.faq-list details p {
  color: var(--ink-soft);
}

.merchant-table {
  display: grid;
  gap: 12px;
}

.merchant-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(111, 63, 25, 0.12);
}

.merchant-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.merchant-row span {
  color: var(--ink-soft);
}

.owner-figure {
  margin: 0 0 18px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(111, 63, 25, 0.12);
  max-width: 240px;
}

.contact-direct {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 18px;
}

.contact-direct a {
  font-weight: 700;
  text-decoration: none;
}

.contact-form {
  padding: 24px;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin: 6px 0 16px;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--white);
  font: inherit;
  color: var(--ink);
}

.contact-form textarea {
  resize: vertical;
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.form-note {
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.form-status {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 0.94rem;
}

.form-status.info,
.form-status.success,
.form-status.error {
  display: block;
}

.form-status.info {
  background: #f5efe7;
  border-color: #ddc8b3;
  color: var(--accent-deep);
}

.form-status.success {
  background: var(--forest-soft);
  border-color: #b5cdc4;
  color: #1e463d;
}

.form-status.error {
  background: #fdf0ed;
  border-color: #e2c1b7;
  color: #893d22;
}

.site-footer {
  border-top: 1px solid rgba(111, 63, 25, 0.12);
  background: #f2ebe2;
}

.footer-inner {
  padding: 26px 0 34px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.footer-title {
  margin-bottom: 4px;
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-links a {
  text-decoration: none;
}

.legal-page {
  background: linear-gradient(180deg, #f6f1eb 0%, #fcfaf6 100%);
}

.legal-main {
  padding: 56px 0 80px;
}

.legal-shell {
  width: min(920px, 92vw);
  margin: 0 auto;
}

.legal-card {
  padding: 32px;
  border: 1px solid rgba(111, 63, 25, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 249, 0.96);
  box-shadow: var(--shadow-soft);
}

.legal-back {
  display: inline-flex;
  margin-bottom: 18px;
  font-weight: 700;
  text-decoration: none;
}

.legal-meta {
  margin-bottom: 24px;
  color: var(--ink-soft);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
}

.legal-table th,
.legal-table td {
  padding: 14px 12px;
  vertical-align: top;
  border-bottom: 1px solid rgba(111, 63, 25, 0.12);
  text-align: left;
}

.legal-table th {
  width: 220px;
  color: var(--ink-soft);
  font-weight: 700;
}

.legal-section + .legal-section {
  margin-top: 28px;
}

.legal-section ul {
  padding-left: 1.2em;
}

.review-note,
.review-grid,
.review-card,
.review-assumption,
.review-checklist {
  border-radius: var(--radius-md);
}

.review-note {
  margin-bottom: 22px;
  padding: 16px 18px;
  border: 1px solid rgba(155, 92, 44, 0.18);
  background: linear-gradient(180deg, rgba(234, 214, 194, 0.42) 0%, rgba(255, 247, 238, 0.68) 100%);
}

.review-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 22px 0 28px;
}

.review-card {
  padding: 20px;
  border: 1px solid rgba(111, 63, 25, 0.14);
  background: rgba(255, 253, 249, 0.98);
  box-shadow: var(--shadow-card);
}

.review-card h2,
.review-card h3 {
  margin-bottom: 10px;
}

.review-kv {
  display: grid;
  gap: 10px;
}

.review-kv div {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(111, 63, 25, 0.12);
}

.review-kv div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.review-kv span {
  display: block;
  margin-bottom: 2px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.review-kv strong {
  display: block;
}

.review-assumption {
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px dashed rgba(111, 63, 25, 0.26);
  background: rgba(255, 249, 241, 0.92);
}

.review-assumption h2 {
  margin-bottom: 10px;
}

.review-checklist {
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(35, 64, 56, 0.16);
  background: rgba(220, 231, 227, 0.52);
}

.review-checklist ul {
  margin: 0;
  padding-left: 1.2em;
}

.comparison-table {
  margin-top: 24px;
  overflow-x: auto;
  border: 1px solid rgba(111, 63, 25, 0.14);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 249, 0.96);
  box-shadow: var(--shadow-card);
}

.comparison-table table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 14px;
  vertical-align: top;
  text-align: left;
  border-bottom: 1px solid rgba(111, 63, 25, 0.12);
}

.comparison-table thead th {
  background: rgba(234, 214, 194, 0.42);
  color: var(--accent-deep);
  font-weight: 700;
}

.comparison-table tbody th {
  width: 160px;
  color: var(--ink-soft);
  font-weight: 700;
}

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

.is-motion-ready .motion-reveal {
  opacity: 0;
  transform: translateY(18px);
}

.is-motion-ready .motion-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s ease, transform 0.55s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

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

  .is-motion-ready .motion-reveal,
  .is-motion-ready .motion-reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .plan-grid,
  .merchant-grid,
  .contact-grid,
  .timeline,
  .info-grid,
  .trust-grid,
  .process-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .header-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .container,
  .legal-shell {
    width: min(1120px, 94vw);
  }

  .site-header {
    position: static;
  }

  .header-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .hero {
    padding: 52px 0 46px;
  }

  .section {
    padding: 60px 0;
  }

  .hero-card,
  .info-card,
  .plan-card,
  .process-card,
  .trust-card,
  .merchant-card,
  .contact-form,
  .timeline li,
  .legal-card {
    padding: 20px;
  }

  .merchant-row,
  .legal-table,
  .legal-table tbody,
  .legal-table tr,
  .legal-table th,
  .legal-table td {
    display: block;
    width: 100%;
  }

  .merchant-row {
    gap: 4px;
  }

  .legal-table th {
    padding-bottom: 6px;
    border-bottom: 0;
  }

  .legal-table td {
    padding-top: 0;
  }
}
