/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Color Palette - Pattern A: Thai Royal Yellow */
  --primary-color: #f4d03f;
  --secondary-color: #28b463;
  --accent-color: #ec7063;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --white: #ffffff;
  --light-bg: #fdfefe;
  --border-color: #e8f6f3;

  /* Typography */
  --font-thai: "Noto Sans Thai", sans-serif;
  --font-japanese: "Yu Gothic", "Hiragino Sans", sans-serif;
  --font-english: "Open Sans", sans-serif;

  /* Spacing */
  --container-max-width: 1200px;
  --section-padding: 80px 0;
  --element-spacing: 2rem;

  /* Shadows */
  --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
  --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.2);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
}

body {
  font-family: var(--font-japanese);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  overflow-x: hidden;
}

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Progress Bar */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  z-index: 1000;
  transition: width 0.1s ease;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 999;
  transition: var(--transition-medium);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo h1 {
  font-family: var(--font-thai);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
}

.logo-subtitle {
  font-family: var(--font-thai);
  font-size: 0.9rem;
  color: var(--text-light);
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
}

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

.nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition-fast);
}

.nav a:hover::after {
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 24px;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), #f7dc6f);
  color: var(--text-dark);
  box-shadow: var(--shadow-light);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-secondary {
  background: var(--secondary-color);
  color: var(--white);
  box-shadow: var(--shadow-light);
}

.btn-secondary:hover {
  background: #239b56;
  transform: translateY(-2px);
}

.btn-line {
  background: #00c300;
  color: var(--white);
  font-size: 0.9rem;
  padding: 8px 16px;
}

.btn-line:hover {
  background: #00a300;
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.1rem;
}

.btn-bounce {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-5px);
  }
  60% {
    transform: translateY(-3px);
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #fef9e7, #eafaf1);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-video-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #fef9e7, #eafaf1);
  position: relative;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 0;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.3;
}

.title-main {
  color: var(--text-dark);
  display: block;
  margin-bottom: 1rem;
}

.title-accent {
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  display: block;
}

.hero-subtitle-wrapper {
  margin-bottom: 2rem;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-trust {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.badge {
  background: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  color: var(--text-dark);
  box-shadow: var(--shadow-light);
}

/* Section Styles */
section {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Features Section */
.features {
  background: var(--light-bg);
}

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

.feature-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-light);
  text-align: center;
  transition: var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
}

.feature-icon {
  margin-bottom: 1.5rem;
}

.icon-bg {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto;
  box-shadow: var(--shadow-light);
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.feature-description {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.feature-description-left {
  text-align: left;
}

.feature-highlight {
  background: linear-gradient(135deg, var(--accent-color), #f1948a);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-weight: 600;
  display: inline-block;
}

.highlight-score {
  font-size: 1.2rem;
  font-weight: 700;
}

/* Video Demo Section */
.video-demo {
  background: var(--white);
}

.video-demo-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.video-demo-text h2 {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.video-demo-text p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.demo-features {
  list-style: none;
}

.demo-features li {
  padding: 0.5rem 0;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.video-demo-player {
  position: relative;
}

.video-placeholder {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  transition: var(--transition-medium);
  box-shadow: var(--shadow-medium);
}

.video-placeholder:hover {
  transform: scale(1.05);
}

.play-button {
  font-size: 4rem;
  margin-bottom: 1rem;
}

/* Pricing Section */
.pricing {
  background: var(--light-bg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.pricing-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-light);
  transition: var(--transition-medium);
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
}

.pricing-popular {
  border: 3px solid var(--primary-color);
  transform: scale(1.05);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: var(--text-dark);
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
}

.pricing-header {
  margin-bottom: 2rem;
}

.pricing-title {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.2rem;
}

.price-currency {
  font-size: 1.2rem;
  color: var(--text-light);
}

.price-amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
}

.price-period {
  font-size: 1rem;
  color: var(--text-light);
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.pricing-features li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-dark);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-cta {
  margin-top: auto;
}

.pricing-guarantee {
  background: rgba(40, 180, 99, 0.1);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
}

.guarantee-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.guarantee-icon {
  font-size: 2rem;
}

.guarantee-text h4 {
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.guarantee-text p {
  color: var(--text-light);
}

/* Testimonials Section */
.testimonials {
  background: var(--white);
}

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

.testimonial-card {
  background: var(--light-bg);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-light);
  transition: var(--transition-medium);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.testimonial-info h4 {
  color: var(--text-dark);
  margin-bottom: 0.2rem;
}

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

.testimonial-content p {
  color: var(--text-dark);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-rating {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stars {
  font-size: 1.2rem;
}

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

/* FAQ Section */
.faq {
  background: var(--light-bg);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: 15px;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-light);
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.faq-question:hover {
  background: rgba(244, 208, 63, 0.1);
}

.faq-question h4 {
  color: var(--text-dark);
  font-weight: 600;
}

.faq-toggle {
  font-size: 1.5rem;
  color: var(--primary-color);
  font-weight: bold;
  transition: var(--transition-fast);
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  text-align: center;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  color: var(--white);
}

.cta-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.cta-trust {
  opacity: 0.8;
  font-size: 1rem;
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #bdc3c7;
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-section ul li a:hover {
  color: var(--primary-color);
}

.footer-logo h3 {
  font-family: var(--font-thai);
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.footer-tagline {
  color: #bdc3c7;
  font-style: italic;
}

.footer-bottom {
  border-top: 1px solid #34495e;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-badges {
  display: flex;
  gap: 1rem;
}

.footer-badges .badge {
  background: rgba(244, 208, 63, 0.2);
  color: var(--primary-color);
}

/* Chatbot */
.chatbot {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.chatbot-toggle {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-medium);
  transition: var(--transition-medium);
}

.chatbot-toggle:hover {
  transform: scale(1.1);
}

.chatbot-icon {
  font-size: 1.5rem;
}

.chatbot-window {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 300px;
  background: var(--white);
  border-radius: 15px;
  box-shadow: var(--shadow-heavy);
  display: none;
}

.chatbot-window.active {
  display: block;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chatbot-header {
  background: var(--primary-color);
  padding: 1rem;
  border-radius: 15px 15px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-header h4 {
  color: var(--text-dark);
  margin: 0;
}

.chatbot-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

.chatbot-content {
  padding: 1rem;
}

.chatbot-content p {
  color: var(--text-dark);
  line-height: 1.5;
}

/* Exit Intent Popup */
.exit-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.exit-popup.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.exit-popup-content {
  background: var(--white);
  padding: 3rem;
  border-radius: 20px;
  text-align: center;
  max-width: 400px;
  position: relative;
  animation: popIn 0.3s ease;
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.exit-popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
}

.exit-popup h3 {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.exit-popup p {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.exit-popup-offer {
  background: linear-gradient(135deg, var(--accent-color), #f1948a);
  color: var(--white);
  padding: 1rem;
  border-radius: 15px;
  margin-bottom: 2rem;
}

.offer-text {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.offer-code {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 1rem;
  }
  

  .nav {
    gap: 1rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .video-demo-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .pricing-popular {
    transform: none;
  }

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

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

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

  .chatbot {
    bottom: 10px;
    right: 10px;
  }

  .chatbot-window {
    width: 280px;
  }

  .exit-popup-content {
    margin: 1rem;
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

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

  .feature-card {
    padding: 2rem;
  }

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

  .section-title {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #ffd700;
    --secondary-color: #008000;
    --accent-color: #ff4500;
    --text-dark: #000000;
    --text-light: #333333;
  }
}

/* Print styles */
@media print {
  .header,
  .chatbot,
  .exit-popup,
  .progress-bar {
    display: none !important;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
  }

  .btn {
    border: 2px solid var(--text-dark);
    background: transparent !important;
    color: var(--text-dark) !important;
  }
}
/* ======== SP（～480px）ヒーロー＆ヘッダー最適化 ======== */
@media (max-width: 480px) {
  /* 固定ヘッダーのかぶり回避 */
  .hero {
    padding-top: 110px; /* 位置が高ければ90〜120で微調整 */
    min-height: auto;
  }

  /* 見出し・サブの可読性 */
  .hero-title {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 1rem;
  }
  .hero-subtitle-wrapper { margin-bottom: 1.5rem; }
  .hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.7;
    padding: 0 6px; /* 端でのつぶれ防止 */
  }

  /* CTAボタンは縦積み＆幅いっぱい */
  .hero-cta {
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }

  /* バッジは2列で折り返し */
  .trust-badges { flex-wrap: wrap; gap: 0.5rem; }
  .trust-badges .badge {
    flex: 1 1 calc(50% - 0.5rem);
    text-align: center;
  }
}

/* ======== SP（～768px）ナビ＆ハンバーガー ======== */
@media (max-width: 768px) {
  /* ハンバーガーの見た目 */
  .mobile-menu-toggle{
    width: 40px; height: 40px; border-radius: 8px;
    border: 1px solid var(--border-color);
    background: #fff; cursor: pointer;
    display: grid; place-items: center;
    font-size: 1.2rem;
  }

  /* デフォでナビ非表示、開いたらドロップダウン */
  .nav { display: none; }
  .nav.mobile-active{
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    padding: 12px 20px;
    gap: 12px;
    z-index: 1000;
  }
  .nav.mobile-active a { padding: 8px 4px; }
}
/* ── SP（～480px）：ヒーロー上部に確実な余白を作る ── */
@media (max-width: 480px) {
  /* 固定ヘッダー分の押し下げ（全体） */
  :root { --header-h: 64px; }
  .header { height: var(--header-h); }   /* 見た目を固定 */
  body    { padding-top: var(--header-h);}/* ヘッダーに隠れないよう全体を下げる */

  /* ヒーロー内の見出しブロックの“直前”にダミー空きスペースを入れる */
  .hero-content::before{
    content: "";
    display: block;
    height: 80px; /* ←ココを 60〜140px で調整してOK */
  }
}
/* ========== 1) 料金プランのチェック位置を縦にピタッと揃える ========== */
/* リスト全体はカード内で中央配置、各行は左寄せ＋固定アイコン列 */
.pricing-features{
  width: max-content;
  margin: 0 auto 2rem;   /* 中央に置く */
}
.pricing-features li{
  position: relative;
  padding-left: 28px;    /* チェック用の左余白（固定列） */
  text-align: left;      /* 行内は左寄せ */
  line-height: 1.9;
  /* 先頭に書かれている「✅」は左の余白側に追い出して見えなくする */
  text-indent: -1.2em;   /* 先頭だけ左へ逃がす（改行はpadding-leftで揃う） */
}
.pricing-features li::before{
  content: "✔";
  color: var(--secondary-color);
  font-weight: 700;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
}

/* ========== 2) スマホのヒーロー見出しとヘッダーの間を +16px 空ける ========== */
/* 中央寄せは維持したまま、疑似要素で上に空きを足す */
@media (max-width: 480px){
  .hero-content::before{
    content: "";
    display: block;
    height: 96px;  /* 既存より +16px にしたい場合は数値を 16px 分増やす */
  }
}

/* ========== 3) 30日間返金保証のアイコンを常にタイトルの上に置く ========== */
/* 幅広でもスマホでも縦積み（アイコン → 見出し → 説明）の順に固定 */
.guarantee-content{
  display: flex;
  flex-direction: column !important; /* すべての幅で縦並びに */
  align-items: center;
  text-align: center;
  gap: .5rem;
}
.guarantee-icon{ font-size: 2.2rem; }
/* まずデフォルトは非表示（PC幅） */
.mobile-menu-toggle{ 
  display: none !important;
}

/* 768px以下のときだけ表示＆見た目を適用 */
@media (max-width: 768px){
  .mobile-menu-toggle{
    display: grid !important;
    place-items: center;
    width: 40px; height: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: #fff;
    font-size: 1.2rem;
    cursor: pointer;
  }
  /* モバイルはナビ隠す → トグルで開く */
  .nav{ display: none; }
  .nav.mobile-active{
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    padding: 12px 20px; gap: 12px; z-index: 1000;
  }
}
/* ── モバイル時、ハンバーガー展開でヒーローに被らないようにする ── */
@media (max-width: 768px){
  /* 固定→追従（sticky）に変更して、ヘッダーがレイアウトを押し下げる */
  .header{
    position: sticky;
    top: 0;
  }
  /* ドロップダウンを通常フローに置く（absoluteをやめる） */
  .nav.mobile-active{
    position: static;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    padding: 12px 20px;
    gap: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
  }
}
/* 右上固定のデモサイト表示 */
.demo-badge {
  position: fixed;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 6px;
  z-index: 2000;
  pointer-events: none; /* 下のリンク操作可 */
  white-space: nowrap;
}
