:root {
  --bg: #e7efeb;
  --bg-strong: #d9e5df;
  --surface: #f8fcfa;
  --surface-strong: #ffffff;
  --text: #2f3633;
  --muted: #5e6662;
  --line: #c2ccc7;
  --mint: #7de3cc;
  --mint-strong: #19a785;
  --mint-deep: #0f7a61;
  --radius: 18px;
  --shadow: 0 12px 34px rgba(40, 53, 48, 0.13);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Zen Kaku Gothic New", "M PLUS 1p", "Yu Gothic", sans-serif;
  color: var(--text);
  line-height: 1.65;
  background:
    radial-gradient(circle at 15% 10%, #f4fbf8 0%, transparent 45%),
    radial-gradient(circle at 85% 0%, #dcebe4 0%, transparent 38%),
    var(--bg);
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 10px;
  top: -44px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  z-index: 999;
}

.skip-link:focus {
  top: 10px;
}

.container {
  width: min(1120px, calc(100% - 28px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: rgba(231, 239, 235, 0.88);
  border-bottom: 1px solid rgba(194, 204, 199, 0.8);
}

.site-header__inner {
  min-height: 68px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.brand {
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.header-nav {
  display: flex;
  gap: 12px;
}

.header-nav a {
  text-decoration: none;
  color: #41504a;
  font-weight: 600;
  font-size: 0.93rem;
}

.hero {
  padding: 34px 0 18px;
}

.hero__grid {
  display: grid;
  gap: 20px;
  align-items: center;
}

.kicker,
.section-kicker {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--mint-deep);
  font-weight: 700;
}

.hero h1 {
  margin: 10px 0 0;
  font-size: clamp(1.9rem, 1.35rem + 2.3vw, 3.55rem);
  line-height: 1.28;
  letter-spacing: 0.01em;
  max-width: 24ch;
}

.hero h1 span {
  display: inline-block;
  color: var(--mint-deep);
}

.hero__lead {
  margin: 14px 0 0;
  color: var(--muted);
  max-width: 34ch;
  font-size: clamp(0.97rem, 0.9rem + 0.32vw, 1.13rem);
  line-height: 1.75;
}

.hero-title-line,
.hero-lead-line {
  display: block;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  padding: 0 20px;
  border: 1px solid transparent;
}

.button--primary {
  background: linear-gradient(140deg, var(--mint) 0%, #58d4b8 65%, #3fc8a8 100%);
  color: #163730;
  box-shadow: 0 6px 20px rgba(76, 170, 145, 0.35);
}

.button--primary:hover,
.button--primary:focus-visible {
  filter: brightness(0.96);
}

.button--ghost {
  background: #f3f8f5;
  border-color: #b9cbc3;
  color: #3f4e48;
}

.hero-phone {
  justify-self: center;
  width: min(350px, 88vw);
  border-radius: 30px;
  border: 1px solid #cad5d0;
  background: #edf3f0;
  box-shadow: var(--shadow);
  padding: 8px;
}

.hero-phone img {
  border-radius: 24px;
}

.section {
  padding: 40px 0;
}

.section-head {
  margin-bottom: 16px;
}

.section h2 {
  margin: 8px 0 0;
  font-size: clamp(1.5rem, 1.3rem + 1vw, 2.4rem);
  line-height: 1.24;
}

.target-panel {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.88), rgba(232, 243, 237, 0.9));
  border: 1px solid #bccfc6;
  border-radius: calc(var(--radius) + 4px);
  padding: 20px 18px;
  box-shadow: var(--shadow);
}

.target-panel h2 {
  max-width: 34ch;
  line-height: 1.3;
}

.target-title-line {
  display: block;
}

.target-panel p {
  margin: 10px 0 0;
  color: var(--muted);
}

.value-grid {
  display: grid;
  gap: 12px;
}

.value-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #bed0c8;
  border-radius: var(--radius);
  padding: 16px;
}

.value-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.value-card p {
  margin: 8px 0 0;
  color: #4d5b55;
}

.screen-grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 2px 2px 10px;
  margin-inline: -2px;
  -webkit-overflow-scrolling: touch;
}

.screen-grid::-webkit-scrollbar {
  height: 8px;
}

.screen-grid::-webkit-scrollbar-thumb {
  background: #b9cbc3;
  border-radius: 999px;
}

.screen-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.screen-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 10px 14px;
  box-shadow: var(--shadow);
  flex: 0 0 clamp(180px, 30vw, 215px);
  scroll-snap-align: start;
}

.screen-card img {
  border-radius: 14px;
  border: 1px solid #cad4cf;
  background: #ecf2ee;
  aspect-ratio: 9 / 19;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.screen-card img:hover,
.screen-card img:focus-visible {
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 8px 18px rgba(35, 66, 55, 0.22);
  outline: none;
}

.screen-card h3 {
  margin: 12px 2px 4px;
  font-size: 1.05rem;
}

.screen-card p {
  margin: 0 2px;
  color: var(--muted);
  font-size: 0.94rem;
}

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

.faq-item {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #bed0c8;
  border-radius: var(--radius);
  padding: 14px 16px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  position: relative;
  padding-right: 22px;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: #3f5f53;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 8px 0 0;
  color: #4d5b55;
  line-height: 1.75;
}

.section--accent {
  background:
    linear-gradient(180deg, rgba(140, 214, 194, 0.24), rgba(140, 214, 194, 0.08));
  border-top: 1px solid rgba(172, 198, 188, 0.7);
  border-bottom: 1px solid rgba(172, 198, 188, 0.7);
}

.feature-grid {
  display: grid;
  gap: 12px;
}

.feature-stack {
  display: grid;
  gap: 12px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #bed0c8;
  border-radius: var(--radius);
  padding: 16px;
}

.feature-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 8px 0 0;
  color: #4d5b55;
}

.feature-card--detail h3 {
  font-size: 1.12rem;
}

.chip-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-list li {
  font-size: 0.9rem;
  line-height: 1;
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid #abc4b9;
  background: #f2faf6;
  color: #39514a;
}

.price-shell {
  background: linear-gradient(145deg, #f9fcfb 0%, #e5f4ef 100%);
  border: 1px solid #b7cbc2;
  border-radius: calc(var(--radius) + 4px);
  padding: 22px 20px;
  box-shadow: var(--shadow);
}

.price-shell h2 {
  margin-top: 6px;
}

.price-shell p {
  margin: 10px 0 0;
  color: #4f5e58;
}

.pricing-grid {
  display: grid;
  gap: 12px;
}

.price-plan {
  background: linear-gradient(145deg, #f9fcfb 0%, #e5f4ef 100%);
  border: 1px solid #b7cbc2;
  border-radius: calc(var(--radius) + 4px);
  padding: 18px 16px;
  box-shadow: var(--shadow);
}

.price-plan__label {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #304840;
  line-height: 1.2;
}

.price-plan__label span {
  font-size: 0.9rem;
  font-weight: 600;
  color: #4a5f57;
  margin-left: 6px;
}

.price-plan__list {
  margin: 12px 0 0;
  padding-left: 1.1rem;
  color: #4d5b55;
}

.price-plan__list li + li {
  margin-top: 6px;
}

.price-plan--paid {
  background: linear-gradient(145deg, #eefaf5 0%, #dff4eb 100%);
  border-color: #93b8aa;
}

.price-plan--paid .price-plan__label {
  font-size: clamp(1.65rem, 1.35rem + 1.1vw, 2.35rem);
  color: #173d32;
}

.price-plan__note {
  margin: 10px 0 0;
  color: #3d5750;
  font-size: 0.95rem;
}

.store-grid {
  display: grid;
  gap: 12px;
}

.store-card {
  background: linear-gradient(145deg, #f9fcfb 0%, #e5f4ef 100%);
  border: 1px solid #b7cbc2;
  border-radius: calc(var(--radius) + 4px);
  padding: 18px 16px;
  box-shadow: var(--shadow);
}

.store-card h3 {
  margin: 0;
  font-size: 1.16rem;
}

.store-card p {
  margin: 8px 0 0;
  color: #4d5b55;
}

.store-badge-link {
  margin-top: 12px;
  min-height: 42px;
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  text-decoration: none;
}

.store-badge-link img {
  height: 42px;
  width: auto;
  display: block;
}

.store-badge-link.is-disabled {
  opacity: 0.64;
  cursor: not-allowed;
  pointer-events: none;
}

.store-badge-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 12px;
  border: 1px dashed #a2b9af;
  border-radius: 10px;
  color: #4d5e57;
  font-size: 0.88rem;
  background: #f5faf8;
}

.store-subnote {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #5b6b65;
}

.store-contact-link {
  margin-top: 12px;
}

.support-shell {
  background: linear-gradient(145deg, #f9fcfb 0%, #e8f3ee 100%);
  border: 1px solid #b7cbc2;
  border-radius: calc(var(--radius) + 4px);
  padding: 20px 16px;
  box-shadow: var(--shadow);
}

.support-lead {
  margin: 0 0 14px;
  color: #4d5b55;
  width: min(100%, 860px);
  margin-inline: auto;
  line-height: 1.8;
}

.support-note {
  margin: -2px auto 14px;
  width: min(100%, 860px);
  color: #3f5850;
  font-size: 0.95rem;
}

.support-form {
  width: min(100%, 780px);
  display: grid;
  gap: 12px;
  margin-inline: auto;
}

.form-field {
  display: grid;
  gap: 6px;
}

.form-field span {
  font-size: 0.94rem;
  font-weight: 700;
  color: #3a4c45;
}

.form-field em {
  font-style: normal;
  color: #b54747;
  font-size: 0.82rem;
  margin-left: 6px;
}

.form-field small {
  color: #5d6f68;
  font-size: 0.82rem;
  margin-left: 6px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid #b9cbc3;
  background: #ffffff;
  color: #2f3633;
  border-radius: 12px;
  padding: 12px 13px;
  font: inherit;
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(25, 167, 133, 0.2);
  border-color: #19a785;
}

.support-submit {
  width: fit-content;
  min-width: 148px;
}

.support-submit:disabled {
  opacity: 0.66;
  cursor: wait;
}

.support-status {
  margin: 0;
  min-height: 1.5em;
  font-size: 0.92rem;
  color: #4e5f58;
}

.support-status[data-state="success"] {
  color: #1d6a54;
}

.support-status[data-state="error"] {
  color: #b54747;
}

.cta {
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid #b6cac1;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.85), rgba(229, 242, 236, 0.9));
  padding: 24px 18px;
  text-align: center;
  box-shadow: var(--shadow);
}

.cta h2 {
  margin: 0;
}

.cta p {
  color: var(--muted);
  margin: 8px auto 18px;
  max-width: 64ch;
}

.footer {
  margin-top: 42px;
  border-top: 1px solid #becbc5;
  background: #e2ebe7;
  padding: 22px 0 28px;
}

.footer__inner {
  display: grid;
  gap: 10px;
}

.footer__brand {
  margin: 0;
  font-weight: 700;
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__links a {
  text-decoration: none;
  border-bottom: 1px solid #8aa398;
}

.footer small {
  color: #53625c;
}

.lightbox {
  width: min(92vw, 820px);
  border: 0;
  border-radius: 18px;
  padding: 14px 14px 18px;
  background: rgba(239, 246, 242, 0.98);
  box-shadow: 0 26px 58px rgba(16, 28, 23, 0.45);
  opacity: 0;
  transform: translateY(14px) scale(0.97);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.lightbox[open] {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.lightbox::backdrop {
  background: rgba(16, 25, 21, 0.55);
  backdrop-filter: blur(3px);
}

.lightbox__close-wrap {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 6px;
}

.lightbox__close {
  border: 1px solid #9fb8ad;
  border-radius: 999px;
  background: #f7fbf9;
  color: #2f4c41;
  font: inherit;
  font-size: 0.88rem;
  padding: 6px 12px;
  cursor: pointer;
}

.lightbox__figure {
  margin: 0;
}

.lightbox__figure img {
  width: min(100%, 760px);
  max-height: 78vh;
  margin-inline: auto;
  border-radius: 14px;
  border: 1px solid #bfd0c8;
  object-fit: contain;
  background: #eaf1ed;
}

.lightbox__figure figcaption {
  margin-top: 10px;
  text-align: center;
  color: #3b4e46;
  font-size: 0.95rem;
}

@media (min-width: 820px) {
  .site-header__inner {
    min-height: 74px;
  }

  .hero {
    padding-top: 52px;
  }

  .hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 34px;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 1.6rem + 2.25vw, 4.1rem);
    line-height: 1.24;
    letter-spacing: 0;
    max-width: 22ch;
  }

  .hero__lead {
    font-size: clamp(1rem, 0.88rem + 0.5vw, 1.15rem);
    line-height: 1.78;
    max-width: 46ch;
  }

  .hero-lead-line {
    white-space: nowrap;
  }

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

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

  .pricing-grid {
    grid-template-columns: 1fr 1.15fr;
    align-items: stretch;
  }

  .store-grid {
    grid-template-columns: 1fr 1fr;
  }

  .support-shell {
    padding: 28px 28px;
  }

  .support-lead {
    width: min(100%, 860px);
  }

  .support-form {
    width: min(100%, 860px);
    margin-top: 8px;
  }

  .target-title-line {
    white-space: nowrap;
  }

  .footer__inner {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }

  .footer__links {
    justify-content: center;
  }
}

.legal-main {
  padding: 28px 0 64px;
}

.legal-shell {
  max-width: 840px;
  margin: 0 auto;
}

.legal-header {
  padding: 26px 20px;
  margin-bottom: 14px;
  border-radius: 16px;
  border: 1px solid #bfd0c8;
  background: #f9fcfb;
}

.legal-header h1 {
  margin: 0;
  font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.1rem);
}

.legal-header p {
  margin: 10px 0 0;
  color: var(--muted);
}

.legal-body {
  padding: 22px 20px;
  border-radius: 16px;
  border: 1px solid #bfd0c8;
  background: #f9fcfb;
}

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

.legal-body h2 {
  margin: 0 0 8px;
  font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
}

.legal-body p,
.legal-body li {
  margin: 0;
  color: var(--muted);
}

.legal-body ul {
  margin: 0;
  padding-left: 1.15rem;
}

.legal-body li + li,
.legal-body p + p,
.legal-body p + ul,
.legal-body ul + p {
  margin-top: 8px;
}

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

.legal-kv dt {
  font-weight: 700;
}

.legal-kv dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.back-link {
  display: inline-block;
  margin-top: 18px;
  text-decoration: none;
  border-bottom: 1px solid #94b6a4;
}

@media (min-width: 760px) {
  .legal-main {
    padding-top: 40px;
  }

  .legal-header,
  .legal-body {
    padding: 30px;
  }

  .legal-kv {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 16px;
  }
}
