/*アコーディオン全体*/
.accordion-area {
  position: relative;
  list-style: none;
  width: 100%;
  margin: 0 auto;
  z-index: 2;
}

.accordion-area li {
  margin: 10px 0;
}

/*アコーディオンタイトル*/
.title {
  position: relative;
  cursor: pointer;
  transition: all .5s ease;
}

/*アコーディオンタイトル*/
.title img {
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
}

/*アイコンの+と-*/
.title::before {
  position: absolute;
  content: '';
  width: 50px;
  height: 10px;
  background-color: #baac6e;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

.title::after {
  position: absolute;
  content: '';
  width: 10px;
  height: 50px;
  background-color: #baac6e;
  top: 50%;
  right: 35px;
  transform: translate(-50%, -50%);
}

/*　closeというクラスがついたら形状変化　*/
.title.close::before {
  transform: translateY(-50%);
}

.title.close::after {
  /* closeクラスが追加された際には縦棒を非表示にして-記号にする */
  display: none;
}


/*アコーディオンで現れるエリア*/
.box {
  display: none;
  padding: 2rem 0;
}


@media screen and (min-width: 1px) and (max-width: 767px) {
  .accordion-area {
    padding: 3rem 0 0;
  }

  .title::before {
    width: 25px;
    height: 5px;
    right: 20px;
  }

  .title::after {
    width: 5px;
    height: 25px;
    background-color: #baac6e;
    right: 28px;
  }

  .box {
    display: none;
    padding: 1rem 0;
  }

}