@charset "UTF-8";

.help {
  background-color: #f4f4f4;
  margin-top: 100px;
  padding-bottom: 100px;
}

.help-ttl__wrapper {
  color: #fff;   
}

.help-ttl__wrapper .help-ttl__inner {
  position: relative;
  width: 100%;
  height: 200px;
  background-image: url("../img/service/main.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.help-ttl__wrapper .help-ttl__inner:before {
  content: "";
  display: block;
  width: 100%;
  height: 200px;
  background-color: #009773;
  opacity: 0.7;
  position: absolute;
  top: 0;
  left: 0;
}

.help-ttl {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 70px;
  position: relative;
  z-index: 1;
}

.help-ttl img {
  display: inline-block;
  height: 40px;
}

.help-ttl__ttl {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
}

.help-item__wrapper {
  margin: 50px auto;
  max-width: 1000px;
  padding: 0 1%;
  width: 70%;
}

.help-item {
  height: -moz-fit-content;
  height: fit-content;
  transition: all ease-in-out 0.3s;
  box-sizing: border-box;
}

.help-item[open] {
  min-height: 200px;
  height: -moz-fit-content;
  height: fit-content;
}

/* 質問 */
.help-item__ttl {
  display: block;
  width: 80%;
  padding: 20px 28px 20px;
  margin: 10px 0;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 7px 7px #b8b8b8;
  position: relative;
  transition: all ease-in-out 1s;
}

.help-item__ttl:hover {
  cursor: pointer;
}

.help-item__ttl:before {
  content: "";
  background-image: url("../img/service/col_q.svg");
  background-repeat: no-repeat;
  position: absolute;
  width: 50px;
  height: 50px;
  top: 0;
  bottom: 0;
  left: -65px;
  margin: auto;
  display: block;
}

.help-item__ttl::-webkit-details-marker {
  display: none;
}

.help-item__ttl h2 {
  font-size: inherit;
  font-weight: inherit;
}

/* 回答 */
.help-item__content {
  display: block;
  width: 80%;
  padding: 20px 28px 20px;
  position: relative;
  margin: 28px 0 28px 15%;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 7px 7px #b8b8b8;
}

.help-item__content:after {
  content: "";
  background-image: url("../img/service/col_a.svg");
  background-repeat: no-repeat;
  position: absolute;
  width: 50px;
  height: 50px;
  top: 0;
  right: -80px;
}

.help-item[open] .help-item__content {
  animation: fadeIn 1s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}