/* ========== CSS Variables ========== */
:root {
  --primary: #8E24AA;
  --primary-light: #CE93D8;
  --primary-dark: #6A1B9A;
  --accent: #EC407A;
  --accent-hover: #D81B60;
  --bg: #FFF8F6;
  --bg-alt: #F3E5F5;
  --text: #2D2D2D;
  --text-light: #666;
  --white: #fff;
  --footer-bg: #2D2D2D;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --header-h: 72px;
  --transition: 0.3s ease;
}

/* ========== Reset & Base ========== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  color: var(--text);
}

/* ========== Buttons ========== */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  letter-spacing: 0.02em;
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(236, 64, 122, 0.3);
}

.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(236, 64, 122, 0.4);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn--outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--header {
  background: var(--accent);
  color: var(--white);
  padding: 8px 24px;
  font-size: 0.85rem;
}

.btn--header:hover {
  background: var(--accent-hover);
}

.btn--lg {
  padding: 16px 48px;
  font-size: 1.1rem;
}

/* ========== Header ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
  background: transparent;
}

.header--scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.header__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
}

.header__logo span {
  color: var(--accent);
}

.header__nav-list {
  display: flex;
  gap: 32px;
}

.header__nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition);
}

.header__nav-link:hover {
  color: var(--primary);
}

.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all var(--transition);
  border-radius: 2px;
}

.header__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.header__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.header__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== Hero ========== */
.hero {
  padding-top: calc(var(--header-h) + 60px);
  padding-bottom: 80px;
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-alt) 100%);
  overflow: hidden;
}

.hero__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero__content {
  flex: 1;
}

.hero__title {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 16px;
  color: var(--text);
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero__badges {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-light);
  background: var(--white);
  padding: 6px 14px;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.hero__badge i {
  color: var(--primary);
}

.hero__visual {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 350px;
}

.hero__circle {
  position: absolute;
  border-radius: 50%;
}

.hero__circle--lg {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  opacity: 0.15;
}

.hero__circle--md {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  opacity: 0.2;
  right: 20px;
  top: 20px;
}

.hero__circle--sm {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  opacity: 0.25;
  left: 30px;
  bottom: 30px;
}

.hero__icon {
  font-size: 5rem;
  color: var(--primary);
  opacity: 0.6;
  z-index: 1;
}

/* ========== Problems ========== */
.problems {
  padding: 100px 0;
  background: var(--white);
}

.problems__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.problems__card {
  text-align: center;
  padding: 40px 28px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid #f0e6f6;
  transition: transform var(--transition), box-shadow var(--transition);
}

.problems__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.problems__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.problems__icon i {
  font-size: 1.5rem;
  color: var(--primary);
}

.problems__card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.problems__card-text {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ========== Features ========== */
.features {
  padding: 100px 0;
  background: var(--bg-alt);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.features__card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.features__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.features__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.features__icon i {
  font-size: 1.3rem;
  color: var(--white);
}

.features__card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.features__card-text {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ========== Pricing ========== */
.pricing {
  padding: 100px 0;
  background: var(--white);
}

.pricing__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.pricing__toggle-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-light);
  transition: color var(--transition);
}

.pricing__toggle-label--active {
  color: var(--text);
  font-weight: 700;
}

.pricing__toggle-switch {
  width: 52px;
  height: 28px;
  background: var(--primary-light);
  border-radius: 50px;
  border: none;
  cursor: pointer;
  position: relative;
  transition: background var(--transition);
}

.pricing__toggle-switch.active {
  background: var(--primary);
}

.pricing__toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: var(--white);
  border-radius: 50%;
  transition: transform var(--transition);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.pricing__toggle-switch.active .pricing__toggle-knob {
  transform: translateX(24px);
}

.pricing__toggle-discount {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 50px;
  margin-left: 6px;
  font-weight: 700;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.pricing__card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  border: 2px solid #eee;
  text-align: center;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.pricing__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing__card--recommended {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}

.pricing__card--recommended:hover {
  transform: scale(1.03) translateY(-4px);
}

.pricing__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 20px;
  border-radius: 50px;
}

.pricing__plan-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.pricing__price {
  margin-bottom: 28px;
}

.pricing__amount {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
}

.pricing__period {
  font-size: 0.9rem;
  color: var(--text-light);
}

.pricing__features {
  text-align: left;
  margin-bottom: 32px;
}

.pricing__features li {
  padding: 8px 0;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing__features li i {
  color: var(--primary);
  font-size: 0.85rem;
}

/* ========== Steps ========== */
.steps {
  padding: 100px 0;
  background: var(--bg-alt);
}

.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.steps__item {
  text-align: center;
  position: relative;
}

.steps__number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-weight: 900;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.steps__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: var(--shadow);
}

.steps__icon i {
  font-size: 2rem;
  color: var(--primary);
}

.steps__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.steps__text {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ========== FAQ ========== */
.faq {
  padding: 100px 0;
  background: var(--white);
}

.faq__list {
  max-width: 720px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid #eee;
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  text-align: left;
  font-family: inherit;
  gap: 16px;
}

.faq__question:hover {
  color: var(--primary);
}

.faq__icon {
  font-size: 0.85rem;
  color: var(--text-light);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq__item.active .faq__icon {
  transform: rotate(180deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq__item.active .faq__answer {
  max-height: 200px;
}

.faq__answer p {
  padding-bottom: 20px;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ========== Final CTA ========== */
.final-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.final-cta__inner {
  text-align: center;
}

.final-cta__title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
}

.final-cta__text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}

/* ========== Footer ========== */
.footer {
  background: var(--footer-bg);
  padding: 60px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logo {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--white);
}

.footer__logo span {
  color: var(--accent);
}

.footer__tagline {
  font-size: 0.85rem;
  margin-top: 8px;
}

.footer__links {
  display: flex;
  gap: 60px;
}

.footer__col-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer__col li {
  margin-bottom: 8px;
}

.footer__col a {
  font-size: 0.85rem;
  transition: color var(--transition);
}

.footer__col a:hover {
  color: var(--white);
}

.footer__bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.8rem;
}

/* ========== Responsive: Tablet (768px) ========== */
@media (max-width: 768px) {
  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right var(--transition);
    padding-top: calc(var(--header-h) + 20px);
    z-index: 999;
  }

  .header__nav.active {
    right: 0;
  }

  .header__nav-list {
    flex-direction: column;
    gap: 0;
    padding: 0 24px;
  }

  .header__nav-link {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
    font-size: 1rem;
  }

  .header__hamburger {
    display: flex;
  }

  .btn--header {
    display: none;
  }

  .hero__inner {
    flex-direction: column;
    text-align: center;
  }

  .hero__title {
    font-size: 1.8rem;
  }

  .hero__badges {
    justify-content: center;
  }

  .hero__visual {
    min-height: 220px;
  }

  .hero__circle--lg {
    width: 200px;
    height: 200px;
  }

  .hero__circle--md {
    width: 140px;
    height: 140px;
  }

  .hero__circle--sm {
    width: 80px;
    height: 80px;
  }

  .hero__icon {
    font-size: 3.5rem;
  }

  .problems__grid,
  .features__grid,
  .pricing__grid,
  .steps__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .pricing__card--recommended {
    transform: none;
    order: -1;
  }

  .pricing__card--recommended:hover {
    transform: translateY(-4px);
  }

  .section-title {
    font-size: 1.5rem;
    margin-bottom: 36px;
  }

  .final-cta__title {
    font-size: 1.5rem;
  }

  .footer__inner {
    flex-direction: column;
  }

  .footer__links {
    gap: 32px;
    flex-wrap: wrap;
  }
}

/* ========== Responsive: Desktop (1024px) ========== */
@media (min-width: 769px) and (max-width: 1024px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__title {
    font-size: 2.2rem;
  }
}
