@import url('promotion.css');

.faq-content {
  background: #fff;
  padding: 64px 24px 96px;
}

.faq-content-inner {
  position: relative;
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.faq-floats {
  position: fixed;
  top: 50%;
  right: max(16px, calc((100vw - var(--content-max-width)) / 2 + 16px));
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-floats__online {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #0F6055;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}

.faq-floats__top {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-left: auto;
  margin-right: auto;
  border: none;
  border-radius: 50%;
  background: #111;
  color: #fff;
  cursor: pointer;
}

.faq-head {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e0e0e0;
}

.faq-head .content-title-wrap {
  display: inline-block;
  margin-bottom: 8px;
}

.faq-head__title {
  margin: 0;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.03em;
  color: #011D20;
}

.faq-head__sub {
  margin: 0;
  font-size: 14px;
  color: #888;
}

.faq-list {
  border-top: 1px solid #e0e0e0;
}

.faq-item {
  border-bottom: 1px solid #e0e0e0;
}

.faq-item__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 20px 4px 20px 0;
  border: none;
  background: transparent;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  box-sizing: border-box;
}

.faq-item__question {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.55;
  color: #111;
  letter-spacing: -0.02em;
}

.faq-item__question::before {
  content: 'Q. ';
}

.faq-item__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  color: #333;
}

.faq-item__panel {
  display: none;
  padding: 0 0 24px;
}

.faq-item.is-open .faq-item__panel {
  display: block;
}

.faq-item__answer {
  padding: 20px 24px;
  background: #f5f5f5;
  font-size: 14px;
  line-height: 1.75;
  color: #444;
}

.faq-item__answer p {
  margin: 0 0 12px;
}

.faq-item__answer p:last-child {
  margin-bottom: 0;
}

.faq-item__answer a {
  color: #0F6055;
  font-weight: 700;
  text-decoration: none;
}

.faq-item__answer a:hover {
  text-decoration: underline;
}

.faq-item__flow {
  margin: 8px 0;
  font-weight: 600;
  color: #333;
}

@media (max-width: 1024px) {
  .faq-floats {
    right: 16px;
  }
}

@media (max-width: 767px) {
  .faq-content {
    padding: 40px 16px 72px;
  }

  .faq-item__trigger {
    padding: 16px 0;
  }

  .faq-item__question {
    font-size: 14px;
  }

  .faq-item__answer {
    padding: 16px;
    font-size: 13px;
  }
}
