.wrap {
  border-bottom: 1px solid #818187;
}

.wrap:first-child {
  border-top: 1px solid #818187;
}

.qa-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.5rem 0;
  cursor: pointer;
}

.qa-title p {
  font-weight: bold;
}

.icon {
  position: relative;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.icon::before,
.icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.icon::before {
  transform: translate(-50%, -50%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.wrap.is-open .icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.wrap.is-open .icon::after {
  transform: translate(-50%, -50%) rotate(135deg);
}

.content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.6s ease, padding 0.6s ease;
  padding: 0;
}

.wrap.is-open .content {
  max-height: 200px;
  padding-bottom: 2.5rem;
}

.content p {
  margin: 0 0 0.5rem;
}

.content p:last-child {
  margin-bottom: 0;
}
