/* FAQ Page Styles */

/* Hero Section */
.hero__content {
  background-image: url(../../img/faq/hero.jpg);
}

/* Main Content */
.faq {
  padding: 100px 0 80px;
  background: #fff;
  overflow: hidden;
}

.faq__inner {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: center;
}

.faq__intro {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: #333;
  line-height: 1.6;
  text-align: center;
  margin: 0;
  font-style: normal;
}

.faq__tabs {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: center;
  border-bottom: 2px solid #fa9a00;
  width: 100vw;
  flex-wrap: wrap;
  margin: 0 calc(50% - 50vw);
  padding: 0 20px;
}

.faq__tab {
  background: #f0f0f0;
  border: none;
  border-radius: 8px 8px 0 0;
  padding: 20px 30px;
  font-family: 'FOT-TsukuARdGothic_Std', 'Zen Maru Gothic', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #333;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  line-height: normal;
  font-style: normal;
  white-space: nowrap;
}

.faq__tab:hover {
  opacity: 0.8;
}

.faq__tab--active {
  background: #fa9a00;
  color: #fff;
}

.faq__content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.faq__category {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.faq__item {
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.faq__question {
  width: 100%;
  background: #f9f9f9;
  border: none;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  text-align: left;
  transition: background 0.3s;
}

.faq__question:hover {
  background: #f0f0f0;
}

.faq__q-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: #fa9a00;
  border-radius: 15px;
  color: #fff;
  font-family: 'Roboto Condensed', 'Arial', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: normal;
  flex-shrink: 0;
  font-style: normal;
}

.faq__question-text {
  flex: 1;
  font-family: 'FOT-TsukuARdGothic_Std', 'Zen Maru Gothic', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #333;
  margin: 0;
  line-height: normal;
  font-style: normal;
  word-break: auto-phrase;
}

.faq__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #333;
  border-radius: 12px;
  color: #fff;
  font-family: 'Noto Sans', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: normal;
  flex-shrink: 0;
  transition: transform 0.3s;
  font-style: normal;
}

.faq__item.is-open .faq__toggle {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  background: #fff;
  border-top: 1px solid #eee;
  padding: 0 100px 0 20px;
  align-items: flex-start;
  gap: 15px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  display: flex;
}

.faq__item.is-open .faq__answer {
  max-height: 1000px;
  padding: 21px 100px 20px 20px;
}

.faq__a-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: #f0f0f0;
  border-radius: 15px;
  color: #fa9a00;
  font-family: 'Roboto Condensed', 'Arial', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: normal;
  flex-shrink: 0;
  font-style: normal;
}

.faq__answer-text {
  flex: 1;
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #333;
  line-height: 1.6;
  margin: 0;
  font-style: normal;
}

/* Contact Section */
.faq-contact {
  padding: 80px 180px;
  background: #fff5e5;
}

.faq-contact__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}

.faq-contact__title {
  font-family: 'FOT-TsukuARdGothic_Std', 'Zen Maru Gothic', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #fa9a00;
  margin: 0;
  line-height: normal;
  font-style: normal;
}

.faq-contact__text {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #333;
  line-height: 1.6;
  margin: 0;
  padding-top: 1px;
  padding-bottom: 3px;
  font-style: normal;
}

.faq-contact__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  padding-top: 1px;
}

.faq-contact__tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.faq-contact__tel-icon {
  width: 32px;
  height: 32px;
  display: block;
}

.faq-contact__tel-number {
  font-family: 'Roboto Condensed', 'Arial', sans-serif;
  font-weight: 700;
  font-size: 34px;
  color: #333;
  line-height: normal;
  font-style: normal;
}

.faq-contact__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px 18px;
  background: #fa9a00;
  color: #333;
  border-radius: 50px;
  font-family: 'FOT-TsukuARdGothic_Std', 'Zen Maru Gothic', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  font-weight: 700;
  font-size: 24px;
  text-decoration: none;
  line-height: 1;
  transition: opacity 0.3s;
  font-style: normal;
  width: 407px;
}

.faq-contact__button:hover {
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 1110px) {
  .faq__tabs {
    gap: 5px;
  }

  .faq__tab {
    padding: 10px 20px;
  }
}

@media (max-width: 1024px) {
  .faq {
    padding: 80px 0 60px;
  }

  .faq__inner {
    gap: 40px;
    padding: 0 20px;
  }

  .faq__tabs {
    padding-bottom: 10px;
    justify-content: flex-start;
    gap: 10px;
  }

  .faq__tab {
    padding: 15px 20px;
    border-radius: 8px;
  }

  .faq__content {
    padding: 0 20px;
  }

  .faq-contact {
    padding: 60px 20px;
  }

  .faq-contact__button {
    width: 100%;
    max-width: 407px;
  }
}

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

  .faq__inner {
    gap: 30px;
  }

  .faq__intro {
    font-size: 16px;
  }

  .faq__tabs {
    flex-wrap: wrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .faq__tab {
    padding: 15px 20px;
    font-size: 14px;
    white-space: nowrap;
  }

  .faq__content {
    padding: 0;
  }

  .faq__category {
    gap: 20px;
  }

  .faq__question {
    padding: 15px;
    gap: 10px;
  }

  .faq__q-badge,
  .faq__a-badge {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

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

  .faq__toggle {
    width: 22px;
    height: 22px;
    font-size: 14px;
  }

  .faq__answer {
    padding: 0 60px 0 15px;
    gap: 10px;
  }

  .faq__item.is-open .faq__answer {
    padding: 15px 60px 15px 15px;
  }

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

  .faq-contact {
    padding: 40px 20px;
  }

  .faq-contact__title {
    font-size: 20px;
  }

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

  .faq-contact__tel-number {
    font-size: 28px;
  }

  .faq-contact__button {
    font-size: 18px;
    padding: 14px 30px 16px;
  }
}