.FaqDetails {
  border-bottom: 1px solid #ddd;
  padding: 0;
}
/*FAQ全体の大枠*/
.Faq {
  justify-content: center;
  /*width: 80vw;
  height: auto;
  border: .5rem solid black;
  border-radius: 2rem;
  /*padding: 1rem 2rem;
  margin: 0 1rem;*/
}
.FaqType {
  text-align: center;
  font-size: 1.7rem;
  margin: 1rem 0;
}
/* 見出し部分 */
.FaqDetails_summary {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  cursor: pointer;
  padding: 1rem 0;
  margin: 0 auto;
}
/*Question mark*/
.FaqQuestion {
  font-size: 1.3rem;
  margin: 0;
  flex-shrink: 0;
  color: #1E8EA4;
  font-weight: bold;
  padding-right: 1rem;
}
.FaqQuestion::before {

  content: 'Q';

}
.FaqDetails_ttl {
  font-size: 1.3rem;
  margin: 0;
  text-align: left;
  padding-right: .5rem;
  white-space: normal;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.FaqDetails_txt {
  text-align: left;
  padding: 1rem 0;
  margin: 0;
  white-space: normal;
  word-break: break-all;
  border-color: black;
}
/* ○付き+/-アイコン */
.FaqDetails_icons {
  position: relative;
  width: 2rem;
  height: 2rem;
  border: 2px solid #333;
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-left: auto;
}
.FaqDetails_summary:hover .FaqDetails_icons {
  transform: scale(1.2, 1.2);
  box-shadow: 0 0 .5rem rgba(0, 0, 0, .8);

}
.FaqDetails_icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 1rem;
  background: #333;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;

}

/* 縦棒 */
.FaqDetails_icon:nth-child(2) {
  transform: translate(-50%, -50%) rotate(-90deg);
}

/* 開いたときは縦棒が横になって「－」に */
.FaqDetails.open .FaqDetails_icon:nth-child(2) {
  transform: translate(-50%, -50%) rotate(0deg);
}

/* 開閉アニメーション */
.FaqDetails_content {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
  background-color: #A6D9E0;
  border-radius: 1rem;
  align-items: flex-start;
  display: flex;
  width: 95%;
  margin: auto;
  padding: 0 1rem;
}

.FaqAnswer {
  color: #1E8EA4;
  font-weight: bold;
  flex-shrink: 0;
  /*margin-top: .8rem;*/
  font-size: 1.3rem;
  padding: .8rem .8rem 0 0;
}
.FaqAnswer::before {
  content: 'A';
}

.FaqDetails.open .FaqDetails_content {
  max-height: var(--content-height);
  opacity: 1;
  margin: 0 auto 1rem;
}

@media (min-width: 1024px) {
.Faq {
  justify-content: center;
  /*border: .5rem solid black;
  border-radius: 2rem;
  padding: 1rem 3rem;
  margin: 0 4rem;*/
}

}