:root {
  --cream: #f7f2ea;
  --ivory: #fffaf2;
  --sand: #e6d7c4;
  --gold: #c7a873;
  --ink: #1e1b16;
  --slate: #4a4236;
  --mist: #f0e9df;
  --accent: #b08a5a;
}

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

body {
  font-family: "Zen Kaku Gothic Antique", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--ink);
  background: radial-gradient(1200px 800px at 15% 10%, #ffffff 0%, var(--cream) 55%, #f2e8db 100%);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 600;
}

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

.bg-ribbon {
  position: fixed;
  inset: -15% -10% auto auto;
  width: 420px;
  height: 420px;
  background: conic-gradient(from 210deg, #f7ead7, #f2dfc4, #fbf3e6, #f7ead7);
  border-radius: 50%;
  opacity: 0.45;
  filter: blur(10px);
  z-index: 0;
}

.nav {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 7vw;
  background: rgba(255, 250, 242, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(199, 168, 115, 0.2);
  z-index: 10;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(30, 27, 22, 0.08);
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--slate);
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  letter-spacing: 0.5px;
}

.lang-btn.is-active {
  background: var(--ink);
  color: var(--ivory);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--ivory);
  font-weight: 700;
  letter-spacing: 1px;
}

.brand-text small {
  color: var(--slate);
  display: block;
  font-size: 12px;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--slate);
}

.btn {
  border: none;
  background: var(--ink);
  color: var(--ivory);
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn-ghost {
  background: rgba(30, 27, 22, 0.08);
  color: var(--ink);
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  padding: 80px 7vw 40px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  color: var(--accent);
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero h1 .title-highlight {
  display: inline-block;
  background: linear-gradient(120deg, #f6ead7 0%, #e6caa4 100%);
  padding: 2px 10px;
  border-radius: 12px;
}

.title-main {
  display: block;
}

.section-title h2 .title-main {
  margin-bottom: 6px;
}

.lead {
  font-size: 16px;
  color: var(--slate);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin: 24px 0 16px;
  flex-wrap: wrap;
}

.trust {
  display: flex;
  gap: 22px;
  color: var(--slate);
  font-size: 13px;
}

.trust strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
}

.hero-card {
  display: grid;
  gap: 16px;
}

.invitation {
  background: var(--ivory);
  border-radius: 28px;
  padding: 26px;
  border: 1px solid rgba(176, 138, 90, 0.25);
  box-shadow: 0 20px 50px rgba(30, 27, 22, 0.12);
  animation: floatIn 1s ease both;
}

.invitation-header {
  border-bottom: 1px dashed rgba(176, 138, 90, 0.35);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.invitation-header h2 {
  font-size: 22px;
}

.invitation-body .pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--mist);
  margin-bottom: 10px;
  font-size: 12px;
}

.form-row {
  margin: 14px 0;
}

.form-row label {
  display: block;
  font-size: 12px;
  color: var(--slate);
  margin-bottom: 6px;
}

.seg {
  display: flex;
  gap: 8px;
}

.seg button {
  flex: 1;
  padding: 8px 0;
  border-radius: 999px;
  border: 1px solid rgba(30, 27, 22, 0.2);
  background: transparent;
  cursor: pointer;
}

.seg-active {
  background: var(--ink);
  color: var(--ivory);
  border-color: transparent;
}

input {
  width: 100%;
  border: 1px solid rgba(30, 27, 22, 0.15);
  border-radius: 10px;
  padding: 10px 12px;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.link-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-small {
  background: var(--accent);
  color: var(--ivory);
  border: none;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
}

.sub {
  font-size: 12px;
  color: var(--slate);
}

.qr-card {
  background: linear-gradient(140deg, #fef9f3, #f0e1cd);
  border-radius: 20px;
  padding: 16px;
  text-align: center;
  border: 1px solid rgba(176, 138, 90, 0.25);
}

.qr {
  width: 110px;
  height: 110px;
  margin: 0 auto 10px;
  background: #fff;
  border-radius: 18px;
  display: grid;
  place-items: center;
}

.qr-inner {
  width: 78px;
  height: 78px;
  background: repeating-linear-gradient(45deg, #2a2620 0 6px, #ffffff 6px 12px);
  border-radius: 8px;
}

.logos {
  padding: 20px 7vw 50px;
  text-align: center;
  color: var(--slate);
}

.logo-row {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  font-weight: 600;
  color: var(--ink);
}

.section-title {
  padding: 0 7vw 20px;
}

.section-title h2 {
  font-size: clamp(26px, 3vw, 38px);
}

.feature-grid,
.flow-steps,
.template-grid,
.price-grid,
.faq-grid {
  display: grid;
  gap: 22px;
  padding: 0 7vw 60px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card, .step, .template-card, .price-card, .faq-item {
  background: var(--ivory);
  border-radius: 20px;
  padding: 22px;
  border: 1px solid rgba(176, 138, 90, 0.2);
  box-shadow: 0 12px 30px rgba(30, 27, 22, 0.08);
}

.card ul, .price-card ul {
  list-style: none;
  margin-top: 12px;
  color: var(--slate);
  font-size: 14px;
}

.card ul li::before, .price-card ul li::before {
  content: "•";
  margin-right: 6px;
  color: var(--accent);
}

.step span {
  font-size: 18px;
  color: var(--accent);
}

.template-img {
  height: 150px;
  border-radius: 16px;
  margin-bottom: 12px;
}

.t1 {
  background: linear-gradient(140deg, #fff8ee, #e3caa2);
}

.t2 {
  background: linear-gradient(140deg, #f6f1e8, #c9d2b2);
}

.t3 {
  background: linear-gradient(140deg, #f2e8dc, #b5b0a4);
}

.price-card .price {
  font-size: 28px;
  margin: 12px 0;
}

.price-card.highlight {
  border: 2px solid var(--accent);
  transform: translateY(-6px);
}

.faq-item h4 {
  margin-bottom: 8px;
}

.cta {
  padding: 70px 7vw 90px;
}

.cta-inner {
  background: linear-gradient(135deg, #1f1a13, #3b3226);
  color: var(--ivory);
  padding: 44px;
  border-radius: 28px;
  text-align: center;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  padding: 30px 7vw 40px;
  color: var(--slate);
}

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

.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .nav-actions {
    gap: 10px;
  }

  .hero {
    padding-top: 40px;
  }

  .trust {
    flex-direction: column;
    gap: 8px;
  }

  .cta-inner {
    padding: 32px 20px;
  }
}
