@charset "UTF-8";

.qa {
  margin: 40px;
  padding: 40px 60px;
}

.qa__block {
  display: flex;
  flex-direction: column;
  min-width: 200px;
  gap: 12px;
}

.qa__item {
  display: inline-block;
}

.qa__head {
  position: relative;
  text-align: left;
  padding: 20px 50px 20px 20px;
  background: #000;
  cursor: pointer;
  width: 100%;
  border: 1px solid #D9D9D9;
  display: flex;
  gap: 1rem;
}

.js-ac {
  color: #fff;
  font-size: 18px;
}

.is-open {
  font-size: 18px;
}

.question,
.answer {
  color: #fff;
}

.qa__head:after {
  content: "";
  border-top: 4px solid #BC8D35;
  border-left: 4px solid #BC8D35;
  display: inline-block;
  width: 14px;
  height: 14px;
  transform: rotate(-135deg) translateY(9px);
  position: absolute;
  right: 25px;
  top: 0;
  bottom: 0;
  margin: auto;
  transition: transform .4s;
}

.qa__body {
  position: relative;
  background: #000;
  color: black;
  border: transparent;
  padding: 0 20px;
  line-height: 0;
  opacity: 0;
  display: flex;
  gap: 1rem;
  transition: line-height 0.4s, padding 0.4s, opacity 0.4s;
  height: 0;
}

.qa__body h4 {
  color: #fff;
  font-weight: 600;
  line-height: 26px;
  text-wrap: wrap;
}

.qa__body h4 a {
  color: #E63383;
}

.qa__body p {
  color: #4E362E;
}

.qa__body.is-open {
  padding: 20px 50px 20px 20px;
  line-height: 1.5;
  opacity: 1;
  border: 1px solid #D9D9D9;
  height: auto;
}

.ulr-text {
  font-size: 12px;
}

.qa__head.is-open::after {
  transform: rotate(45deg) translateY(-10px);

}

.qa__item:not(:first-child) {
  margin-top: 16px;
}

.kinki {
  color: #4E362E;
}

.kinki-list {
  list-style: auto;
}

.title-qa {
  text-align: center;
  margin-top: 132px;
  font-size: 24px;
}

@media only screen and (max-width: 599px) {
  .qa {
    margin: 8px;
    padding: 0;
  }

  .qa__head {
    padding: 20px 39px 20px 0;;
    gap: 2px;
  }

  .qa__head #text {
    font-size: 14px;
  }

  .qa__head:after {
    right: 10%;
    top: 16%;
    border-top: 2px solid #BC8D35;
    border-left: 2px solid #BC8D35;
    width: 9px;
    height: 9px;
  }

  .question {
    padding: 0 24px;
  }

  .qa__body.is-open {
    padding: 20px 50px 20px 22px;
  }
}

@media screen and (min-width:375px) and (max-width:430px) {
  .qa__block {
    padding: 0;
  }

  .title-qa {
    margin-bottom: 30px;
  }
}