:root {
  --wine: #4b2338;
  --wine-deep: #2b1422;
  --wine-soft: #7b425c;
  --paper: #fbf7ef;
  --cream: #f4eadb;
  --ink: #231d1f;
  --muted: #6f6365;
  --line: rgba(75, 35, 56, 0.15);
  --gold: #b99357;
  --white: #fffdf8;
  --shadow: 0 24px 70px rgba(43, 20, 34, 0.16);
  --radius-lg: 28px;
  --radius-md: 18px;
  --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.9;
  /* 日本語を文節単位で折り返し、語の途中で改行されないようにする */
  word-break: auto-phrase;
  line-break: strict;
  overflow-wrap: break-word;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}
.narrow { max-width: 820px; }
.center { text-align: center; }
.section { padding: 104px 0; }
.section-kicker,
.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}
h1, h2, h3 {
  font-family: "Noto Serif JP", serif;
  line-height: 1.45;
  margin: 0;
  color: var(--wine-deep);
}
h1 { font-size: clamp(1.9rem, 4.4vw, 3.4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3.3rem); letter-spacing: -0.03em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.2em; }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: #4c4244; }
.lead.compact { max-width: 760px; margin-left: auto; margin-right: auto; }
.rich-text p:last-child { margin-bottom: 0; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}
.site-header.scrolled {
  background: rgba(251, 247, 239, 0.92);
  box-shadow: 0 10px 35px rgba(43, 20, 34, 0.08);
  backdrop-filter: blur(14px);
  padding: 10px 0;
}
.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--wine-deep); }
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--wine);
  color: var(--white);
  font-family: "Noto Serif JP", serif;
}
.brand-text { font-size: 1.1rem; letter-spacing: 0.02em; }
.site-nav { display: flex; gap: 22px; font-size: 0.92rem; font-weight: 700; color: #3b3033; }
.site-nav a { position: relative; }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.site-nav a:hover::after { transform: scaleX(1); }
.nav-toggle { display: none; }

.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding-top: 150px;
  background:
    radial-gradient(circle at 85% 20%, rgba(185,147,87,0.18), transparent 34%),
    radial-gradient(circle at 15% 30%, rgba(123,66,92,0.16), transparent 35%),
    linear-gradient(135deg, #fffaf2 0%, #f3e6d7 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.55fr);
  gap: 56px;
  align-items: center;
}
.hero-definition {
  margin: 20px 0 0;
  max-width: 680px;
  font-weight: 500;
  font-size: clamp(1.02rem, 1.8vw, 1.32rem);
  line-height: 1.95;
  color: var(--wine-soft);
}
.hero-copy .lead { max-width: 700px; margin-top: 22px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--wine); color: var(--white); box-shadow: 0 15px 35px rgba(75,35,56,0.22); }
.button.secondary { border: 1px solid var(--line); color: var(--wine-deep); background: rgba(255,255,255,0.42); }
.hero-card {
  min-height: 420px;
  max-width: 280px;
  justify-self: center;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(75,35,56,0.96), rgba(43,20,34,0.98));
  color: var(--white);
  padding: 0;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  position: relative;
}
.hero-card::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(185,147,87,0.15);
  right: -120px;
  top: -90px;
}
.hero-photo {
  display: block;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  object-fit: cover;
  object-position: center 38%;
  position: relative;
  z-index: 1;
}
.hero-card p {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0;
  padding: 22px 24px 24px;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(0.98rem, 1.3vw, 1.12rem);
  line-height: 1.75;
  background: var(--wine-deep);
}

.message-section { background: var(--white); }
.message-section .narrow { border-left: 4px solid var(--gold); padding-left: 34px; }

.issue-section { background: var(--paper); }
.split, .audience-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 72px;
  align-items: start;
}

.quote-section { padding: 72px 0; background: var(--wine-deep); color: var(--white); }
blockquote { margin: 0; text-align: center; }
blockquote span, blockquote strong { display: block; }
blockquote span { color: rgba(255,253,248,0.78); font-size: clamp(1.1rem, 2vw, 1.4rem); }
blockquote strong { font-family: "Noto Serif JP", serif; font-size: clamp(1.8rem, 4vw, 3.2rem); line-height: 1.55; margin-top: 16px; }

.value-section { background: #fffaf2; }
.two-column-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.value-card {
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px);
  min-height: 390px;
  box-shadow: var(--shadow);
}
.value-card.dark { background: var(--wine); color: var(--white); }
.value-card.dark h2 { color: var(--white); }
.value-card.dark p:not(.section-kicker) { color: rgba(255,253,248,0.82); }
.value-card.light { background: var(--white); }

.role-section { background: var(--paper); }
.role-grid, .feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 56px;
}
.role-grid article, .feature-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: 0 14px 36px rgba(43,20,34,0.06);
}
.role-grid span {
  display: inline-block;
  color: var(--gold);
  font-weight: 800;
  margin-bottom: 12px;
}
.role-grid p, .feature-grid p { color: var(--muted); margin-bottom: 0; }

.audience-section.importer { background: linear-gradient(135deg, #fbf7ef, #f1e4d2); }
.audience-section.retailer { background: var(--white); }
.audience-grid.reverse { grid-template-columns: 1.2fr 0.8fr; }
.audience-grid.reverse > div:first-child { order: 2; }
.audience-grid.reverse > div:last-child { order: 1; }

.features-section { background: #fffaf2; }
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.feature-grid article { min-height: 220px; }
.feature-grid h3 { margin-bottom: 14px; }

.promise-section { background: var(--wine); color: var(--white); }
.promise-section h2 { color: var(--white); }
.promise-section p { color: rgba(255,253,248,0.84); }

.final-section {
  background:
    radial-gradient(circle at 20% 20%, rgba(185,147,87,0.2), transparent 30%),
    linear-gradient(135deg, #2b1422, #4b2338);
  color: var(--white);
}
.final-card {
  text-align: center;
  border: 1px solid rgba(255,253,248,0.18);
  border-radius: var(--radius-lg);
  padding: clamp(44px, 8vw, 86px) 24px;
}
.final-card p {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.8rem, 5vw, 4rem);
  line-height: 1.35;
  margin: 0 0 0.18em;
}
.final-card small {
  display: block;
  margin-top: 28px;
  color: rgba(255,253,248,0.78);
  font-size: 1rem;
}

/* Product */
.product-section { background: var(--paper); }
.browser {
  margin-top: 56px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--white);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #efe6d8;
  border-bottom: 1px solid var(--line);
}
.browser-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: #cdbfae; }
.browser-bar .url {
  margin-left: 14px;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
.browser-body {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 0;
}
.mock-list { padding: 8px 0; border-right: 1px solid var(--line); }
.mock-pick {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 22px 12px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  font-size: 0.9rem;
  color: var(--wine-deep);
}
.mock-pick strong { color: var(--wine); font-weight: 700; }
.mock-pick .caret { margin-left: auto; color: var(--muted); font-size: 0.75rem; }
.mock-row {
  display: grid;
  grid-template-columns: 2fr 1.1fr 0.8fr 0.6fr;
  gap: 10px;
  align-items: center;
  padding: 14px 22px;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(75,35,56,0.06);
}
.mock-row:last-child { border-bottom: 0; }
.mock-row.head { color: var(--gold); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; }
.mock-row span:first-child { font-family: "Noto Serif JP", serif; color: var(--wine-deep); }
.mock-row .qty {
  justify-self: end;
  min-width: 38px;
  padding: 3px 0;
  text-align: center;
  border-radius: 8px;
  background: var(--cream);
  font-weight: 700;
}
.mock-summary { padding: 26px 24px; background: #fffaf2; display: flex; flex-direction: column; }
.ms-title { font-weight: 800; color: var(--wine-deep); margin: 0 0 16px; }
.mock-summary dl { margin: 0; display: grid; gap: 12px; }
.mock-summary dl > div { display: flex; justify-content: space-between; gap: 12px; font-size: 0.92rem; }
.mock-summary dt { color: var(--muted); margin: 0; }
.mock-summary dd { margin: 0; font-weight: 700; color: var(--wine-deep); }
.mock-summary dd.free { color: #2f6b3d; }
.ms-btn {
  margin-top: 22px;
  text-align: center;
  padding: 12px;
  border-radius: 999px;
  background: var(--wine);
  color: var(--white);
  font-weight: 800;
  font-size: 0.92rem;
}
.mock-note { margin: 16px 0 0; color: var(--muted); font-size: 0.82rem; }

/* How it works */
.how-section { background: var(--white); }
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 56px;
}
.how-grid article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 28px;
}
.step-num {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.1em;
  font-size: 0.82rem;
}
.how-grid h3 { margin-bottom: 12px; }
.how-grid p { color: var(--muted); margin-bottom: 0; }

/* Pricing */
.pricing-section { background: var(--paper); }
.price-group-title {
  margin: 56px 0 22px;
  font-size: 1.2rem;
  color: var(--wine-deep);
}
.price-group-title span { color: var(--muted); font-size: 0.92rem; font-weight: 500; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price-grid.two { grid-template-columns: repeat(2, 1fr); max-width: 720px; }
.price-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 28px;
  box-shadow: 0 14px 36px rgba(43,20,34,0.06);
}
.price-card.featured { border-color: var(--wine-soft); box-shadow: 0 22px 50px rgba(75,35,56,0.16); }
.plan-badge {
  position: absolute;
  top: -12px;
  right: 22px;
  margin: 0;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 800;
}
.plan-name { font-family: "Noto Serif JP", serif; font-size: 1.3rem; color: var(--wine-deep); margin: 0 0 4px; }
.plan-meta { color: var(--muted); font-size: 0.88rem; margin: 0 0 16px; }
.plan-price { font-size: 2rem; font-weight: 800; color: var(--wine); margin: 0; }
.plan-price span { font-size: 0.92rem; font-weight: 500; color: var(--muted); }
.price-card ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.price-card li { position: relative; padding-left: 24px; color: #4c4244; font-size: 0.92rem; }
.price-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 12px; height: 6px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}
.price-note { margin: 18px 0 0; color: var(--muted); font-size: 0.88rem; }

/* Partners */
.partners-section { background: #fffaf2; }
.partner-perks { display: flex; flex-direction: column; justify-content: center; }
.partner-perks ul { margin: 0 0 28px; padding: 0; list-style: none; display: grid; gap: 16px; }
.partner-perks li { position: relative; padding-left: 30px; font-size: 1.05rem; color: var(--wine-deep); }
.partner-perks li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5em;
  width: 14px; height: 7px;
  border-left: 2.5px solid var(--gold);
  border-bottom: 2.5px solid var(--gold);
  transform: rotate(-45deg);
}
.partner-perks .button { align-self: flex-start; }

/* Who */
.who-section { background: var(--white); }
.who-section .narrow { border-left: 4px solid var(--gold); padding-left: 34px; }
.who-section strong { color: var(--wine); }

/* FAQ */
.faq-section { background: var(--paper); }
.section-kicker.center { text-align: center; }
.faq-list { margin-top: 40px; display: grid; gap: 14px; }
.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  position: relative;
  font-weight: 700;
  color: var(--wine-deep);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 24px; top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--wine-soft);
  border-bottom: 2px solid var(--wine-soft);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list details > div { padding: 0 24px 22px; }
.faq-list details p { margin: 0; color: #4c4244; }
.faq-list details a { color: var(--wine); text-decoration: underline; }

.cta-band { margin-top: 40px; }
.cta-large { min-height: 58px; padding: 0 34px; font-size: 1.02rem; }

.contact-section { background: var(--white); }
.contact-section .section-kicker { text-align: left; }
.contact-section .lead.compact { margin-left: 0; margin-right: 0; max-width: 640px; }
.contact-form {
  margin-top: 40px;
  display: grid;
  gap: 22px;
  max-width: 640px;
}
.contact-form .field { display: grid; gap: 8px; }
.contact-form label { font-weight: 700; color: var(--wine-deep); font-size: 0.96rem; }
.contact-form .req,
.contact-form .opt {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 9px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  vertical-align: middle;
}
.contact-form .req { background: rgba(75,35,56,0.1); color: var(--wine); }
.contact-form .opt { background: rgba(111,99,101,0.12); color: var(--muted); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form textarea { resize: vertical; line-height: 1.8; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--wine-soft);
  box-shadow: 0 0 0 3px rgba(123,66,92,0.15);
}
.contact-form .button[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }
.contact-form .button { justify-self: start; }
.form-status { margin: 4px 0 0; font-weight: 700; }
.form-status.is-error { color: #9a2b3c; }
.form-status.is-success { color: #2f6b3d; }
.contact-thanks {
  margin-top: 40px;
  max-width: 640px;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
}
.contact-thanks h3 { margin-bottom: 10px; }
.contact-thanks p { margin: 0; color: var(--muted); }
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer { padding: 28px 0; background: var(--wine-deep); color: rgba(255,253,248,0.78); }
.footer-brand { color: var(--white); margin: 0; }
.footer-inner p { margin: 0; }

@media (max-width: 920px) {
  .section { padding: 78px 0; }
  .hero-grid, .split, .audience-grid, .audience-grid.reverse, .two-column-card { grid-template-columns: 1fr; gap: 34px; }
  .audience-grid.reverse > div:first-child,
  .audience-grid.reverse > div:last-child { order: initial; }
  .hero-card { min-height: 420px; }
  .role-grid, .feature-grid, .how-grid, .price-grid { grid-template-columns: 1fr 1fr; }
  .browser-body { grid-template-columns: 1fr; }
  .mock-list { border-right: 0; border-bottom: 1px solid var(--line); }
  .site-nav {
    position: fixed;
    inset: 66px 16px auto 16px;
    display: none;
    flex-direction: column;
    padding: 24px;
    border-radius: 20px;
    background: rgba(255,253,248,0.98);
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .nav-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; width: 24px; background: var(--wine-deep); }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, var(--container)); }
  .section { padding: 64px 0; }
  .hero { padding-top: 120px; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .message-section .narrow { padding-left: 22px; }
  .role-grid, .feature-grid, .how-grid, .price-grid, .price-grid.two { grid-template-columns: 1fr; }
  .mock-row { grid-template-columns: 1.6fr 1fr 0.7fr; font-size: 0.82rem; padding: 12px 16px; }
  .mock-row span:nth-child(3) { display: none; }
  .who-section .narrow { padding-left: 22px; }
  .value-card { min-height: auto; }
  .header-inner { gap: 12px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
