@charset "utf-8";

.other-desc{
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
}

.other-cont{
  position: relative;
  width: 80%;
  margin: 5rem auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.other-item{
  position: relative;
  margin: 2rem auto;
  display: flex;
  gap: 5rem;
}

.other-item-img{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 50%;
}

.other-item-img p{
  position: relative;
  width: 100%;
}

.other-item-img p:before{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto 0;
  right: 0;
  width: 60%;
  height: 1px;
  background-color: #000;
}

.other-item-title{
  position: relative;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.other-item-title h2{
  font-size: 1.5rem;
  position: relative;
  writing-mode: vertical-rl;
  text-orientation: upcenter;
}

.other-item-title img{
  width: 24px;
  height: 24px;
}

.other-item-text{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.other-item-text-case{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.other-item-text-case-back{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.other-item-text-case h3{
  font-size: 1rem;
  text-align: center;
}

.other-item-text-list{
  width: 100%;
  padding: 2rem;
  width: 460px;
  font-size: 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-cont{
  position: relative;
  width: 70%;
  margin: 5rem auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media screen and (max-width: 960px) {
  .other-desc{
    font-size: 16px;
  }
  .other-cont{
    width: 90%;
    margin: 3rem auto;
  }
  .faq-cont{
    width: 90%;
    margin: 3rem auto;
  }
  .other-item{
    flex-direction: column;
    gap: 3rem;
    font-size: 12px;
  }
  .other-item:nth-child(even){
    flex-direction: column-reverse;
    gap: 3rem;
  }
  .other-item-img{
    max-width: 100%;
  }
  .other-item-img img{
    max-width: 100%;
    height: 400px;
    object-fit: cover;
  }
  .other-item-title h2{
    font-size: 18px;
  }
  .other-item-title img{
    width: 20px;
    height: 20px;
  }
  .other-item-text-case h3{
    font-size: 1rem;
    text-align: center;
  }
  .other-item-text-list{
    width: 320px;
    padding: 2rem 1rem;
    font-size: 10px;
  }
}



/*アコーディオン全体*/
.accordion-area{
  list-style: none;
  width: 100%;
  margin: 3rem auto;
}
.accordion-area-faq{
  background-color: #fff;
  margin: 0 0 2rem 0;
}

/*アコーディオンタイトル*/
.accordion__title {
  position: relative;
  cursor: pointer;
  padding: .5rem 3rem .5rem 0;
  transition: all .5s ease;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 auto;
  width: 100%;
}

.accordion__title-back{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.accordion__title h3{
  font-size: 16px;
  text-align: left;
  font-weight: bold;
  color: #000;
  z-index: 1;
}

.accordion__title-img{
  width: 64px;  
  height: auto;
  z-index: 1;
}

.accordion__answer {
  position: relative;
  cursor: pointer;
  width: 100%;
  font-size: 12px;
  font-weight: bold;
  padding: 1.5rem 0;
  transition: all .5s ease;
  color: #000;
  display: flex;
  align-items: center;
  text-align: left;
  gap: 1rem;
}

.accordion__answer  img{
  width: 64px;  
  height: auto;
}

/* ▼ 下向き（閉じているとき） */
.accordion__title::before {
  content: '';
  position: absolute;
  color: #000;
  right: 20px;      /* 矢印の位置 */
  top: 40%;
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
  width: 1rem;
  height: 1rem;
  border: 0.2rem solid currentColor;
  border-left: 0;
  border-bottom: 0;
  box-sizing: border-box;
  transform: translateY(-25%) rotate(135deg);
  z-index: 1;
}

/* ▲ 上向き（開いているとき） */
.accordion__title.close::before {
  transform: translateY(4px) rotate(-45deg);
}

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

@media screen and (max-width: 960px) {
  .accordion__title h3{
    font-size: 14px;
  }
  .accordion__title-img{
    width: 48px;  
  }
  .accordion__answer  img{
    width: 48px;  
  } 
}