/* 共通レイアウトと見出し調整 */
.main-content h1,
.main-content h2,
.main-content h3,
.main-content h4 {
  background: none;
  border: none;
}

.main-content h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: #222;
}

.main-content h3 {
  font-size: 1.4rem;
  color: #222;
}

/* ヒーローセクション */
.lp-hero {
  border: 5px solid #444;
  background-color: #fff;
  padding: 2em 1em 3em 1em;
  color: #222;
  text-align: center;
  margin-bottom: 2em;
}

.lp-logo {
  width: 400px;
  max-width: 60%;
  margin-bottom: 30px;
}

.lp-hero-text {
  max-width: 90%;
  margin: 0 auto;
}

.lp-hero-text .lp-catch {
  font-size: 3.2rem;
  margin-bottom: 1em;
}

.em-color {
  color: #E94C3D;
  font-weight: bold;
}

.lp-hero-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

.lp-section-title {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #222;
  letter-spacing: 0.02em;
  font-weight: 600;
}
.lp-section-title i {
  margin-right: 0.5em;
  color: #184e4f;
}

/* CTAボタン */
.btn-cta {
  display: inline-block;
  background: #184e4f;
  color: #fff;
  padding: 0.8em 1.6em;
  font-size: 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.btn-cta:hover {
  background: #0c3839;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.lp-contact {
  padding: 40px 20px;
  text-align: center;
}

/* グリッドレイアウト */
.lp-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 0 auto;
  width: 95%;
  max-width: 1100px;
}

.lp-grid-2 {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin: 0 auto;
  width: 95%;
}

@media (max-width: 768px) {
  .lp-grid-3 {
    grid-template-columns: 1fr;
  }

  .lp-grid-3,
  .lp-grid-2 {
    width: 100%;
  }
}

.lp-label {
  display: inline-block;
  background: #184e4f;
  color: #fff;
  font-size: 0.8rem;
  padding: 0.2em 0.6em;
  border-radius: 4px;
  margin-right: 0.5em;
}

/* 特長セクション */
.lp-feature-box {
  background: #fff;
  border-radius: 10px;
  padding: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature-img {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10px 10px 0 0;
}

.feature-box-text {
  padding: 1em;
}

.feature-box-text h3 {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.5em;
}

.feature-box-text p {
  font-size: 0.95rem;
  color: #555;
}

/* アイコン付きボックス */
.lp-icon-box {
  background: #fff;
  border-radius: 10px;
  padding: 1em;
  padding-top: 1.5em;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  border-top: 6px solid transparent;
}

.lp-icon-box i {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #ff5252;
}

.lp-icon-box.recommend-ai {
  border-top-color: #4A90E2;
}

.lp-icon-box.recommend-freelance {
  border-top-color: #E94C3D;
}

.lp-icon-box.recommend-design {
  border-top-color: #A5D610;
}

/* カリキュラムボックス */
.lp-curr-box {
  background: #fff;
  padding: 1em;
  font-weight: normal;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
  border-top: 6px solid transparent;
}

.curr-text {
  border-top-color: #4A90E2;
}
.curr-image {
  border-top-color: #A5D610;
}
.curr-compare {
  border-top-color: #FF9800;
}
.curr-code {
  border-top-color: #E94C3D;
}
.curr-nocode {
  border-top-color: #7D57C1;
}
.curr-output {
  border-top-color: #00B894;
}

/* FAQ */
.lp-faq-question {
  background: #f8f8f8;
  border: none;
  padding: 1rem;
  width: 100%;
  font-weight: bold;
  cursor: pointer;
  border-radius: 8px;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
  font-size: 1rem;
}

.lp-faq-question:hover {
  background: #eaeaea;
}

.lp-faq-question .q-label {
  color: #184e4f;
  margin-right: 0.5em;
  font-weight: bold;
}

.lp-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  font-size: 0.95rem;
  color: #444;
}

.lp-faq-answer .a-label {
  color: #184e4f;
  font-weight: bold;
  margin-right: 0.5em;
}

.lp-faq-item.open .lp-faq-answer {
  max-height: 200px;
  padding: 0 1rem 1rem;
}

.lp-faq-title {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #222;
}
.lp-faq-title i {
  margin-right: 0.5em;
  color: #184e4f;
}

.lp-faq-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  padding: 0.5rem 1rem;
  margin-bottom: 1rem;
  transition: box-shadow 0.3s ease;
}

.lp-faq-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.lp-faq-question i {
  margin-left: auto;
  transition: transform 0.3s;
}

.lp-faq-item.open .lp-faq-question i {
  transform: rotate(180deg);
}

@media (max-width: 768px) {
  .lp-hero-text .lp-catch {
    font-size: 1.2em;
  }

  .lp-hero-text p {
    font-size: 1em;
  }

  .lp-section-title,
  .lp-faq-title {
    font-size: 1.2em;
  }

  .main-content h2 {
    font-size: 1.2em;
  }

  .main-content h3 {
    font-size: 1.1em;
  }

  .feature-box-text h3 {
    font-size: 1em;
  }

  .feature-box-text p {
    font-size: 0.9em;
  }

  .btn-cta {
    font-size: 1rem;
    padding: 0.6em 1.2em;
  }

  .lp-faq-question {
    font-size: 0.95rem;
  }

  .lp-faq-answer {
    font-size: 0.9rem;
  }
}
