.lp-template *,
.lp-template *::before,
.lp-template *::after {
  box-sizing: border-box;
}

.lp-template {
  --primary: #0d9488;
  --primary-dark: #0a7a70;
  --primary-light: #e6f6f4;
  --primary-alpha: rgba(13, 148, 136, 0.98);
  --cream: #fff8e7;
  --text: #1a2e2c;
  --text-muted: #5a6e6c;
  --white: #ffffff;
  --border: rgba(13, 148, 136, 0.15);
  --radius: 12px;
  --radius-full: 9999px;
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

.lp-template h1,
.lp-template h2,
.lp-template h3,
.lp-template p {
  margin: 0;
}

.lp-template .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.lp-template .section-title {
  text-align: center;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2.5rem;
  letter-spacing: 0.02em;
}

.lp-template .section-title--light {
  color: var(--primary-dark);
}

.lp-template .header {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
}

.lp-template .header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.lp-template .header__logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  gap: 0.35rem;
}

.lp-template .header__logo-main {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 0.04em;
}

.lp-template .header__logo-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 500;
}

.lp-template .header__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.25rem;
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: background 0.2s ease;
}

.lp-template .header__cta:hover {
  background: var(--primary-dark);
}

.lp-template .hero {
  padding: 3rem 0 2.5rem;
  background: var(--white);
}

.lp-template .hero__inner {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 2rem;
  align-items: stretch;
}

.lp-template .hero__content {
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.lp-template .hero__heading {
  text-align: center;
  margin-bottom: 1.25rem;
}

.lp-template .hero__script-img {
  display: block;
  width: min(100%, 280px);
  height: auto;
  margin: 2rem auto -1.25rem;
  transform: translateX(-1.25rem);
}

.lp-template .hero__title {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 0;
  letter-spacing: 0.02em;
}

.lp-template .hero__title-accent {
  font-size: clamp(2.4rem, 5.8vw, 3.5rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1.2;
  display: inline-block;
}

.lp-template .hero__lead {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 0;
  margin-top: 1.25rem;
  font-feature-settings: "palt";
}

.lp-template .hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-template .hero__kv {
  display: block;
  width: 100%;
  max-width: 640px;
  height: auto;
}

.lp-template .hero__features {
  margin-top: auto;
  padding-top: 1.25rem;
}

.lp-template .hero__features-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.lp-template .hero-feature {
  display: flex;
  justify-content: center;
}

.lp-template .hero-feature__circle {
  width: 100%;
  max-width: 128px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--primary-light);
  border: 2px solid var(--primary);
  color: var(--primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 0.55rem;
  text-align: center;
}

.lp-template .hero-feature__icon {
  font-size: 1.85rem;
  flex-shrink: 0;
  line-height: 1;
}

.lp-template .hero-feature__label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.4;
}

.lp-template .price-band {
  padding: 2.5rem 0 3rem;
  background: var(--white);
}

.lp-template .price-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 2.5rem 1.75rem;
  background: #f7f7f5;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  text-align: center;
}

.lp-template .price-card__eyebrow {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.lp-template .price-card__amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.15rem;
  margin: 0 0 1.25rem;
  line-height: 1;
}

.lp-template .price-card__num {
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(3rem, 8vw, 4.25rem);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.lp-template .price-card__unit {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.lp-template .price-card__tax {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-left: 0.1em;
}

.lp-template .price-card__checks {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.lp-template .price-card__checks-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem 1rem;
}

.lp-template .price-card__checks-row:last-child {
  grid-template-columns: repeat(2, max-content);
  justify-content: center;
  column-gap: 2rem;
}

.lp-template .price-card__checks-row li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
}

.lp-template .price-card__checks-row li svg {
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
}

.lp-template .problems {
  padding: 4rem 0;
  background: var(--white);
}

.lp-template .problems__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.lp-template .problem-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.lp-template .problem-card__bubble {
  position: relative;
  background: #fff;
  border: 2px solid var(--primary);
  border-radius: 18px;
  padding: 1.1rem 1rem 1.15rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  line-height: 1.55;
  width: 100%;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.1);
}

.lp-template .problem-card__bubble::after {
  content: "";
  position: absolute;
  bottom: -9px;
  left: 50%;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  transform: rotate(45deg);
  background: #fff;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
}

.lp-template .problem-card__illus {
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-template .problem-card__illus img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.lp-template .solutions {
  padding: 4rem 0;
  background: var(--primary-light);
}

.lp-template .solutions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.lp-template .solution-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lp-template .solution-card__icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--primary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.15);
}

.lp-template .solution-card__title {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
  line-height: 1.45;
}

.lp-template .solution-card__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.75;
  text-align: left;
}

.lp-template .templates {
  padding: 4rem 0;
  background: #eef6f5;
}

.lp-template .templates__slider {
  position: relative;
}

.lp-template .templates__track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.lp-template .templates__dots {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.lp-template .templates__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: var(--radius-full);
  background: rgba(13, 148, 136, 0.25);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lp-template .templates__dot.is-active {
  background: var(--primary);
  transform: scale(1.25);
}

.lp-template .template-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 0 1 calc((100% - 2.5rem) / 3);
  max-width: calc((100% - 2.5rem) / 3);
  transition: transform 0.2s ease;
}

.lp-template .template-card:hover {
  transform: translateY(-4px);
}

.lp-template .template-card__img {
  aspect-ratio: 3 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--white);
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.12);
  background: var(--white);
}

.lp-template .template-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.lp-template .template-card__label {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
}

.lp-template .flow {
  padding: 4rem 0;
  background: var(--white);
}

.lp-template .flow__steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
}

.lp-template .flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
  max-width: 196px;
  text-align: center;
}

.lp-template .flow-step__circle {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--primary-light);
  border: 3px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.lp-template .flow-step__num {
  position: absolute;
  top: -8px;
  left: -8px;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 700;
  border-radius: 50%;
  letter-spacing: 0.02em;
  padding: 0;
  border: 2px solid var(--white);
  box-shadow: 0 2px 6px rgba(13, 148, 136, 0.2);
}

.lp-template .flow-step__icon {
  font-size: 1.75rem;
  color: var(--primary);
}

.lp-template .flow-step__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.45;
}

.lp-template .flow-step__desc {
  margin-top: 0.4rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.6;
}

.lp-template .flow-step__arrow {
  color: var(--primary);
  font-size: 1.5rem;
  opacity: 0.4;
  padding: 2rem 0.35rem 0;
  flex-shrink: 0;
}

.lp-template .cta-band {
  background: var(--primary-alpha);
  padding: 4rem 0;
}

.lp-template .cta-band__inner {
  text-align: center;
}

.lp-template .cta-band__lead {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.lp-template .cta-band__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--white);
  color: var(--primary);
  text-decoration: none;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 900;
  padding: 1.1rem 3rem;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
  transition: opacity 0.2s ease;
  min-width: min(100%, 420px);
}

.lp-template .cta-band__btn:hover {
  opacity: 0.8;
}

.lp-template .cta-band__btn svg {
  font-size: 1.4em;
}

.lp-template .cta-band__note {
  margin-top: 1.25rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
}

.lp-template .footer {
  padding: 1.5rem 0;
  background: #f5f9f8;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .lp-template .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .lp-template .hero__content {
    min-height: auto;
  }

  .lp-template .hero__features {
    margin-top: 2rem;
  }

  .lp-template .hero__visual {
    margin: 0 auto;
    max-width: 420px;
  }

  .lp-template .hero__kv {
    max-width: 100%;
  }

  .lp-template .problems__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lp-template .solutions__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .lp-template .templates__track {
    gap: 1rem;
  }

  .lp-template .template-card {
    flex: 0 1 calc((100% - 1rem) / 2);
    max-width: calc((100% - 1rem) / 2);
  }

  .lp-template .flow__steps {
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
  }

  .lp-template .flow-step {
    flex: none;
    max-width: 280px;
    width: 100%;
  }

  .lp-template .flow-step__arrow {
    transform: rotate(90deg);
    padding: 0;
  }
}

@media (max-width: 600px) {
  .lp-template .header__logo {
    gap: 0.2rem;
  }

  .lp-template .hero {
    padding: 1.5rem 0 1rem;
  }

  .lp-template .hero__inner {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .lp-template .hero__content {
    display: contents;
  }

  .lp-template .hero__heading {
    order: 1;
    margin-bottom: 0.35rem;
  }

  .lp-template .hero__script-img {
    width: min(100%, 280px);
    margin: 0.5rem auto -0.65rem;
    transform: translateX(-0.65rem);
  }

  .lp-template .hero__lead {
    order: 2;
    margin-top: 0.5rem;
  }

  .lp-template .hero__visual {
    order: 3;
    margin: 0.5rem auto 0;
    max-width: min(88%, 280px);
    width: 100%;
  }

  .lp-template .hero__features {
    order: 4;
    margin-top: 0.5rem;
    padding-top: 0;
  }

  .lp-template .hero__features-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
  }

  .lp-template .hero-feature__circle {
    max-width: none;
    padding: 0.55rem 0.35rem;
    gap: 0.3rem;
  }

  .lp-template .hero-feature__icon {
    font-size: 1.35rem;
  }

  .lp-template .hero-feature__label {
    font-size: 0.62rem;
    line-height: 1.35;
  }

  .lp-template .problems__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: none;
    margin: 0;
  }

  .lp-template .problem-card__bubble {
    font-size: 0.75rem;
    padding: 0.85rem 0.65rem 0.9rem;
    min-height: 72px;
  }

  .lp-template .problem-card__illus {
    width: 72px;
    height: 72px;
  }

  .lp-template .templates .container {
    padding-left: 0;
    padding-right: 0;
  }

  .lp-template .templates .section-title {
    padding-left: clamp(1.25rem, 4vw, 2.5rem);
    padding-right: clamp(1.25rem, 4vw, 2.5rem);
  }

  .lp-template .templates__track {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    gap: 0.875rem;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem) 0.25rem;
    scrollbar-width: none;
  }

  .lp-template .templates__track::-webkit-scrollbar {
    display: none;
  }

  .lp-template .template-card {
    flex: 0 0 min(78vw, 300px);
    max-width: min(78vw, 300px);
    scroll-snap-align: center;
  }

  .lp-template .template-card:hover {
    transform: none;
  }

  .lp-template .templates__dots {
    display: flex;
  }

  .lp-template .price-card__checks-row {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
}
