
/* FAQ Section - よくある質問 */
#faq {
  background-color: #192f60;
  padding: 80px 0;
}

.faq-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
}

.faq-title {
  font-family: "Inter-SemiBold", Helvetica;
  font-weight: 600;
  font-size: 48px;
  color: #ffffff;
  text-align: center;
  margin-bottom: 60px;
  letter-spacing: 1px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.faq-question {
  display: flex;
  align-items: center;
  padding: 25px 30px;
  cursor: pointer;
  position: relative;
}

.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #ffffff;
  border-radius: 50%;
  font-family: "Inter-Bold", Helvetica;
  font-weight: 700;
  font-size: 20px;
  margin-right: 25px;
  flex-shrink: 0;
}

.faq-text {
  font-family: "Inter-Medium", Helvetica;
  font-weight: 600;
  font-size: 18px;
  color: #192f60;
  line-height: 1.4;
  flex: 1;
}

.faq-toggle {
  font-family: "Inter-Bold", Helvetica;
  font-weight: 700;
  font-size: 24px;
  color: #192f60;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 20px;
  transition: transform 0.2s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 0 30px;
  background-color: #f8f9fa;
  border-radius: 0 0 16px 16px;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 20px 30px;
  display: flex;
  align-items: flex-start;
  gap: 25px;
}

.faq-answer .faq-icon {
  flex-shrink: 0;
}

.faq-answer p {
  font-family: "Inter-Regular", Helvetica;
  font-weight: 600;
  font-size: 18px;
  color: #192f60;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

/* Responsive design for FAQ Section */
@media (max-width: 1024px) {
  .faq-container {
    padding: 0 30px;
  }

  .faq-title {
    font-size: 28px;
    margin-bottom: 50px;
  }

  .faq-text {
    font-size: 16px;
  }

  .faq-icon {
    width: 45px;
    height: 45px;
    font-size: 18px;
    margin-right: 20px;
  }

  .faq-answer {
    padding: 0 25px;
  }

  .faq-item.active .faq-answer {
    padding: 15px 25px;
  }

  .faq-answer p {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  #faq {
    padding: 60px 0;
  }

  .faq-container {
    padding: 0 20px;
  }

  .faq-title {
    font-size: 24px;
    margin-bottom: 40px;
  }

  .faq-question {
    padding: 20px 25px;
  }

  .faq-text {
    font-size: 15px;
  }

  .faq-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
    margin-right: 15px;
  }

  .faq-toggle {
    font-size: 20px;
    width: 25px;
    height: 25px;
  }

  .faq-answer {
    padding: 0 20px;
  }

  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }

  .faq-answer p {
    font-size: 14px;
  }
}

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

  .faq-title {
    font-size: 20px;
    margin-bottom: 30px;
  }

  .faq-question {
    padding: 15px 20px;
  }

  .faq-text {
    font-size: 14px;
  }

  .faq-icon {
    width: 35px;
    height: 35px;
    font-size: 14px;
    margin-right: 12px;
  }

  .faq-toggle {
    font-size: 18px;
    width: 20px;
    height: 20px;
  }

  .faq-answer {
    padding: 0 15px;
  }

  .faq-item.active .faq-answer {
    padding: 12px 15px;
  }

  .faq-answer p {
    font-size: 13px;
  }
}