:root {
  color-scheme: light;
  --ink: #17201c;
  --muted: #5f6f68;
  --paper: #f7f5ef;
  --white: #ffffff;
  --line: #d9ded7;
  --green: #2f6d5a;
  --green-dark: #1e4438;
  --gold: #d6a84f;
  --clay: #9d5c48;
  --shadow: 0 18px 55px rgba(23, 32, 28, 0.16);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Meiryo", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

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

.site-header {
  align-items: center;
  background: rgba(247, 245, 239, 0.92);
  border-bottom: 1px solid rgba(217, 222, 215, 0.8);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  min-height: 64px;
  padding: 12px clamp(18px, 4vw, 52px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  align-items: center;
  background: var(--green);
  border-radius: 8px;
  color: var(--white);
  display: inline-flex;
  font-size: 13px;
  height: 34px;
  justify-content: center;
  line-height: 1;
  width: 34px;
}

.nav {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 700;
  gap: 18px;
  justify-content: flex-end;
}

.nav a {
  border-bottom: 2px solid transparent;
  padding: 6px 0;
}

.nav a:hover,
.nav a:focus-visible {
  border-color: var(--gold);
  color: var(--ink);
}

.hero {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: min(760px, 92vh);
  overflow: hidden;
  padding: 116px clamp(18px, 4vw, 52px) 84px;
  position: relative;
}

.hero-image {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center right;
  position: absolute;
  width: 100%;
  z-index: 0;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(12, 20, 17, 0.92) 0%, rgba(12, 20, 17, 0.76) 38%, rgba(12, 20, 17, 0.28) 70%, rgba(12, 20, 17, 0.08) 100%),
    linear-gradient(0deg, rgba(12, 20, 17, 0.42), rgba(12, 20, 17, 0.05));
  inset: 0;
  position: absolute;
  z-index: 1;
}

.hero-content {
  color: var(--white);
  max-width: 860px;
  min-width: 0;
  position: relative;
  width: 100%;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 12px;
}

.hero h1 {
  font-size: clamp(42px, 5.6vw, 72px);
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0;
  max-width: 840px;
  overflow-wrap: normal;
  word-break: keep-all;
}

.hero h1 > span {
  display: block;
}

.hero-title-ja,
.nowrap {
  white-space: nowrap;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.75;
  margin: 24px 0 0;
  max-width: 670px;
  overflow-wrap: anywhere;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--gold);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  color: #1d170d;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #e2b963;
}

.button.secondary {
  background: var(--white);
  border-color: rgba(47, 109, 90, 0.46);
  color: var(--green);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: #f1f6f2;
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.button.ghost:hover,
.button.ghost:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.button.full {
  width: 100%;
}

.hero-facts {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 46px 0 0;
  max-width: 660px;
}

.hero-facts div {
  border-left: 3px solid var(--gold);
  padding-left: 14px;
}

.hero-facts dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 700;
}

.hero-facts dd {
  font-size: 18px;
  font-weight: 800;
  margin: 2px 0 0;
}

.section {
  padding: 88px clamp(18px, 4vw, 52px);
}

.section-inner {
  margin: 0 auto;
  max-width: 1120px;
  min-width: 0;
  width: 100%;
}

.section h2 {
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: 0;
  line-height: 1.22;
  margin: 0;
  max-width: 820px;
  overflow-wrap: anywhere;
}

.split {
  align-items: start;
  display: grid;
  gap: clamp(34px, 6vw, 80px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  min-width: 0;
}

.split > *,
.feature-grid > *,
.steps > *,
.pricing-grid > * {
  min-width: 0;
}

.problem {
  background: var(--white);
}

.problem-heading {
  margin-bottom: 34px;
}

.problem-flow,
.check-list {
  display: grid;
  gap: 12px;
}

.check-list p {
  background: #f5f8f3;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
  margin: 0;
  padding: 16px 18px;
}

.problem-pair {
  align-items: stretch;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
}

.problem-state {
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.75;
  margin: 0;
  min-height: 88px;
  padding: 18px 20px;
}

.problem-state.before {
  background: #f7f5ef;
  color: var(--muted);
}

.problem-state.after {
  background: #f1f7f2;
  border-color: rgba(47, 109, 90, 0.28);
  color: var(--ink);
  box-shadow: 0 12px 34px rgba(23, 32, 28, 0.06);
}

.problem-state::before {
  display: none;
}

.problem-arrow {
  align-items: center;
  align-self: center;
  background: var(--gold);
  border-radius: 999px;
  color: #20170a;
  display: inline-flex;
  font-size: 22px;
  font-weight: 900;
  height: 36px;
  justify-content: center;
  line-height: 1;
  width: 36px;
  justify-self: center;
}

.check-list p::before {
  color: var(--green);
  content: "✓";
  font-weight: 900;
  margin-right: 10px;
}

.feature-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 38px;
}

.feature-card,
.price-card,
.steps article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 34px rgba(23, 32, 28, 0.07);
}

.feature-card {
  padding: 24px;
}

.feature-icon {
  color: var(--clay);
  display: block;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 18px;
}

.feature-card h3,
.steps h3 {
  font-size: 20px;
  line-height: 1.35;
  margin: 0 0 10px;
}

.feature-card p,
.steps p,
.price-card li,
.faq-list p,
.lead,
.fine-print,
.cta p,
.site-footer p {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.feature-card p,
.steps p {
  margin: 0;
}

.muted {
  background: #ecefe8;
}

.usage-figure {
  margin: 38px 0 0;
  overflow-x: auto;
  padding-bottom: 8px;
}

.usage-figure-frame {
  width: 100%;
}

.usage-figure img {
  border: 1px solid rgba(217, 222, 215, 0.95);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: block;
  width: 100%;
}

.usage-sample-button {
  box-shadow: 0 12px 28px rgba(24, 49, 42, 0.14);
  font-size: 14px;
  grid-column: 3;
  justify-self: center;
  min-height: 42px;
  padding: 9px 17px;
  white-space: nowrap;
  width: auto;
}

.usage-sample-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 12px;
  padding: 0 18px 2px;
}

.steps {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 38px;
}

.steps article {
  padding: 28px;
}

.steps span {
  align-items: center;
  background: var(--green);
  border-radius: 999px;
  color: var(--white);
  display: inline-flex;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  line-height: 1;
  margin-bottom: 18px;
  width: 34px;
}

.security {
  background: var(--green-dark);
  color: var(--white);
}

.security .lead,
.security .check-list p {
  color: rgba(255, 255, 255, 0.78);
}

.security .check-list p {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.security .check-list p::before {
  color: var(--gold);
}

.lead {
  font-size: 18px;
  margin: 24px 0 0;
  max-width: 680px;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.pricing-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 38px;
}

.price-card {
  padding: 30px;
}

.price-card.featured {
  border-color: rgba(47, 109, 90, 0.55);
  box-shadow: var(--shadow);
  position: relative;
}

.plan {
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
  margin: 0 0 8px;
}

.price-card h3 {
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1;
  margin: 0;
}

.price-note {
  color: var(--muted);
  font-weight: 700;
  margin: 12px 0 0;
}

.price-card ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 26px 0;
  padding: 0;
}

.price-card li {
  padding-left: 24px;
  position: relative;
}

.price-card li::before {
  color: var(--green);
  content: "✓";
  font-weight: 900;
  left: 0;
  position: absolute;
}

.fine-print {
  font-size: 13px;
  margin: 18px 0 0;
}

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

.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 20px;
}

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

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

.faq-list summary::after {
  color: var(--green);
  content: "+";
  float: right;
  font-weight: 900;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  border-top: 1px solid var(--line);
  margin: 0;
  padding: 16px 0 20px;
}

.cta {
  background: var(--white);
  text-align: center;
}

.cta h2,
.cta p {
  margin-left: auto;
  margin-right: auto;
}

.cta p {
  max-width: 720px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 28px;
}

.related-guides {
  background: #f5f7f3;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 28px auto 0;
  max-width: 760px;
  padding: 22px;
  text-align: left;
}

.related-guides p {
  color: var(--ink);
  font-weight: 900;
  margin: 0 0 10px;
}

.related-guides ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.2em;
}

.related-guides a {
  color: var(--green);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  background: var(--ink);
  color: var(--white);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: space-between;
  padding: 28px clamp(18px, 4vw, 52px);
}

.site-footer p {
  color: rgba(255, 255, 255, 0.68);
  margin: 0;
  max-width: 720px;
}

.site-footer p:first-child {
  color: var(--white);
  font-weight: 900;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 12px;
}

.footer-links a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.legal-main {
  padding: 120px clamp(18px, 4vw, 52px) 80px;
}

.legal-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 34px rgba(23, 32, 28, 0.07);
  margin: 0 auto;
  max-width: 980px;
  padding: clamp(24px, 5vw, 48px);
}

.legal-card h1 {
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0 0 20px;
}

.legal-card h2 {
  border-top: 1px solid var(--line);
  font-size: 22px;
  line-height: 1.45;
  margin: 34px 0 14px;
  padding-top: 24px;
}

.legal-card p,
.legal-card li,
.legal-table td,
.legal-table th {
  color: var(--muted);
}

.legal-card ul,
.legal-card ol {
  margin: 12px 0 0;
  padding-left: 1.2em;
}

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

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

.legal-table th {
  color: var(--ink);
  font-weight: 900;
  width: 28%;
}

.notice {
  background: #fff7e2;
  border: 1px solid #ead39b;
  border-radius: 8px;
  color: #5c4311;
  font-weight: 700;
  margin: 20px 0;
  padding: 14px 16px;
}

.updated {
  color: var(--muted);
  font-size: 13px;
  margin-top: 28px;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    position: absolute;
  }

  .hero {
    min-height: auto;
    padding-top: 150px;
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(12, 20, 17, 0.94) 0%, rgba(12, 20, 17, 0.82) 46%, rgba(12, 20, 17, 0.54) 100%);
  }

  .split,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

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

  .problem-pair {
    gap: 18px;
    grid-template-columns: 1fr;
  }

  .problem-flow {
    gap: 42px;
  }

  .problem-pair:not(:last-child) {
    border-bottom: 1px dashed rgba(47, 109, 90, 0.24);
    padding-bottom: 42px;
  }

  .problem-state {
    padding-top: 42px;
    position: relative;
  }

  .problem-state::before {
    border-radius: 999px;
    display: inline-flex;
    font-size: 12px;
    font-weight: 900;
    left: 18px;
    letter-spacing: 0;
    line-height: 1;
    padding: 6px 9px;
    position: absolute;
    top: 14px;
  }

  .problem-state.before::before {
    background: #ebe7dc;
    color: var(--muted);
    content: "困りごと";
  }

  .problem-state.after::before {
    background: rgba(47, 109, 90, 0.12);
    color: var(--green);
    content: "使える状態";
  }

  .problem-arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .hero-content,
  .section-inner {
    max-width: calc(100vw - 36px);
    width: calc(100vw - 36px);
  }

  .nav {
    font-size: 13px;
    gap: 12px;
  }

  .hero {
    padding-bottom: 64px;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 1.12;
  }

  .hero-title-ja {
    white-space: normal;
  }

  .section h2 {
    font-size: 28px;
    line-height: 1.3;
  }

  .hero-copy,
  .section h2,
  .problem-state,
  .check-list p {
    word-break: break-all;
  }

  .hero-copy,
  .section h2 {
    max-width: 330px;
  }

  .hero-actions,
  .hero-facts,
  .feature-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .hero-facts {
    gap: 18px;
  }

  .button {
    width: 100%;
  }

  .usage-figure-frame,
  .usage-figure img {
    max-width: none;
    width: 820px;
  }

  .usage-sample-button {
    width: auto;
  }

  .section {
    padding: 64px 18px;
  }

  .feature-card,
  .price-card,
  .steps article {
    padding: 22px;
  }

  .site-footer {
    display: block;
  }

  .site-footer p + p {
    margin-top: 12px;
  }
}
