:root {
  --bg: #f5fbf8;
  --text: #0f172a;
  --muted: #475569;
  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-300: #6ee7b7;
  --emerald-500: #10b981;
  --emerald-600: #047857;
  --emerald-800: #065f46;
  --shadow-soft: 0 20px 40px rgba(15, 118, 110, 0.15);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 12px;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Noto Sans JP', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f9fffc, var(--bg));
  scroll-behavior: smooth;
}

html {
  scroll-behavior: smooth;
}

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

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  position: relative;
  padding: 1.5rem;
  background: radial-gradient(circle at 20% 20%, rgba(16, 185, 129, 0.15), transparent 35%),
              radial-gradient(circle at 80% 10%, rgba(94, 234, 212, 0.15), transparent 40%),
              linear-gradient(135deg, #e0fdf4, #d6f7ff);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__bg canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.nav--glass {
  padding: 1rem 1.25rem;
  backdrop-filter: blur(8px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.65rem;
  letter-spacing: 0.08em;
  color: #27b0b6;
  position: relative;
  z-index: 3;
}

.brand__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.75rem;
  height: 3.75rem;
  padding: 6px;
  border-radius: 21px;
  box-sizing: border-box;
  overflow: hidden;
}

.brand__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand__name {
  color: #27b0b6;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav__links a {
  font-weight: 500;
  color: #f8fafc;
  padding: 0.45rem 0.85rem;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  transition: color 0.2s ease;
}

.nav__links a:hover {
  color: var(--emerald-300);
}

.nav__download {
  padding: 0.6rem 1rem;
  border-radius: 0;
  background: transparent;
  color: #f8fafc;
  border: none;
  box-shadow: none;
}

.nav__toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--emerald-800);
}

.hero__content {
  display: flex;
  flex-wrap: nowrap;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__overlay {
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
}

.hero__text {
  flex: 1 1 100%;
  min-width: 0;
  padding: 1rem;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  margin-bottom: 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  color: #e2f3eb;
}

.hero__label-icon {
  display: inline-flex;
  width: 1rem;
  height: 1rem;
  margin-right: 0.45rem;
}

.hero__label-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero h1 {
  margin: 0 0 4rem;
  font-size: clamp(16px, 2.5vw, 40px);
  line-height: 1.4;
  color: #dbdbdb;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero__lead {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(248, 250, 252, 0.96);
  margin-bottom: 2rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
  border: 1px solid transparent;
}

.btn--primary {
  background: rgb(39 176 181);
  color: #fff;
  box-shadow: 0 10px 24px rgba(4, 120, 87, 0.2);
  border: 1px solid rgba(4, 120, 87, 0.3);
  backdrop-filter: blur(4px);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(4, 120, 87, 0.24);
}

.btn--ghost {
    background: rgb(253 139 17);
    color: #ffffff;
    /* border-color: rgba(255, 255, 255, 0.5); */
    backdrop-filter: blur(4px);
}

.hero__note {
  font-size: 0.9rem;
  color: rgba(248, 250, 252, 0.9);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}

.hero__visual {
  grid-column: span 6;
  display: grid;
  gap: 1.5rem;
  justify-items: center;
  width: 100%;
}

.hero__card {
  width: clamp(200px, 30vw, 350px);
  padding: 2rem 1.6rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.35);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  text-align: center;
  color: rgba(15, 23, 42, 0.85);
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.hero__card svg {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
}

.hero__card-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__card-bg img,
.hero__card-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: rgba(15, 23, 42, 0.08);
  opacity: 0.82;
  filter: saturate(1);
}

.hero__card-content {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
}

.hero__card--history {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  color: #ffffff;
}

.hero__card--history .hero__card-content {
  position: absolute;
  inset: auto 0 0 0;
  background: rgba(10, 44, 36, 0.7);
  padding: 1rem 1.25rem;
  text-shadow: none;
  color: #ffffff;
}

.hero__card--history p {
  margin: 0;
}

.hero__card--history::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.08));
  z-index: 0;
}

.hero__card--history .hero__card-bg video {
  opacity: 1;
  filter: saturate(1);
}

.hero__card--template {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  color: #ffffff;
  min-height: 360px;
}

.hero__card--template .hero__card-content {
  position: static;
  background: none;
  padding: 1rem 0 0.5rem;
  text-shadow: none;
  color: rgba(15, 23, 42, 0.9);
}

.hero__card--template p {
  margin: 0;
}

.hero__card--template .hero__card-bg img {
  object-fit: contain;
}

.section {
  padding: 2rem 0 6rem 0;
}

.section h2 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3vw, 2.6rem);
}

.section__lead {
  text-align: center;
  color: rgba(15, 23, 42, 0.72);
  max-width: 640px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

.section--features {
  background: #fff;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.feature {
  padding: 2rem;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 18px 34px rgba(15, 118, 110, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.feature__icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(16, 185, 129, 0.1);
  margin-bottom: 1.2rem;
}

.feature__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature__media {
  width: 100%;
  margin: -1.5rem -1.5rem 1rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #111111;
  height: 380px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.feature__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.feature--delete .feature__media img {
  object-fit: contain;
  background: #0b1323;
}

.feature h3 {
  margin: 0 0 0.8rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.section--workflow {
  background: var(--emerald-50);
}

.section--workflow .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.workflow__list {
  padding-left: 1rem;
  color: var(--muted);
  line-height: 1.8;
}

.workflow__panel {
  display: flex;
  justify-content: center;
}

.panel {
  width: min(320px, 100%);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 38px rgba(15, 118, 110, 0.14);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.panel__title {
  font-weight: 600;
  color: var(--emerald-800);
}

.panel__template {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.18);
  color: var(--emerald-800);
  font-weight: 500;
  font-size: 0.85rem;
}

.chip--muted {
  background: rgba(15, 23, 42, 0.08);
  color: var(--muted);
}

.panel__divider {
  height: 1px;
  background: rgba(15, 23, 42, 0.1);
}

.panel__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
}

.panel__footer strong {
  font-size: 1.4rem;
  color: var(--emerald-600);
}

.section--pricing {
  background: #fff;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.plan {
  border-radius: var(--radius-md);
  padding: 2.4rem 2rem;
  box-shadow: 0 24px 46px rgba(15, 118, 110, 0.1);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border: 1px solid rgba(15, 118, 110, 0.08);
}

.plan--pro {
  border: 1px solid rgba(4, 120, 87, 0.32);
  transform: translateY(-12px);
  background: linear-gradient(180deg, rgba(236, 253, 245, 0.6), #fff);
}

.plan h3 {
  margin: 0;
  font-size: 1.4rem;
}

.plan__price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--emerald-800);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.plan__price-note {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}

.plan__note {
  display: block;
  margin-top: 0.2rem;
  margin-left: 1em;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  color: var(--muted);
}

.plan ul li::before {
  content: '✓';
  color: var(--emerald-600);
  margin-right: 0.5rem;
}

.section--cta {
  background: linear-gradient(120deg, rgba(16, 185, 129, 0.9), rgba(4, 120, 87, 0.92));
  text-align: center;
  color: #fff;
  border-radius: var(--radius-lg);
  margin: 0 1rem;
}

.section--cta .btn {
  margin-top: 1.5rem;
  background: #fff;
  color: var(--emerald-800);
  box-shadow: none;
}

.section--faq {
  background: #fff;
}

.faq {
  margin: 0 auto;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq details {
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq p {
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  background: #f8fffb;
}

.footer__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
}

.footer__links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.95rem;
  color: rgba(15, 23, 42, 0.62);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  width: 100%;
}

.footer__bottom .brand--footer {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.footer__copy {
  margin: 0;
  color: rgba(15, 23, 42, 0.48);
  font-size: 0.85rem;
}

@media (max-width: 960px) {
  .hero__content {
    flex-direction: column;
    gap: 2rem;
  }

  .hero__visual {
    order: -1;
    margin-bottom: 2rem;
    width: 100%;
  }

  .plan--pro {
    transform: none;
  }
}

@media (max-width: 720px) {
  .nav__toggle {
    display: block;
  }

  .nav__links {
    position: absolute;
    top: 4.5rem;
    right: 1rem;
    flex-direction: column;
    background: #fff;
    padding: 1.2rem;
    border-radius: var(--radius-md);
    box-shadow: 0 18px 38px rgba(15, 118, 110, 0.15);
    display: none;
    min-width: 200px;
  }

  .nav__links--open {
    display: flex;
  }

  .hero {
    padding-top: 1.8rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section--cta {
    margin: 0;
    border-radius: 0;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .feature,
  .plan,
  .panel {
    padding: 1.6rem;
  }

  .workflow__list {
    padding-left: 0;
  }
}
