@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans+JP:wght@100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&icon_names=link");
.faq__nav {
  list-style-type: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 3rem;
}
@media screen and (max-width: 768px) {
  .faq__nav {
    grid-template-columns: repeat(1, 1fr);
  }
}
.faq__nav .faq__nav-item {
  border-bottom: 1px solid #CCC;
  line-height: 1.5;
  position: relative;
}
.faq__nav .faq__nav-item:after {
  position: absolute;
  content: "";
  bottom: -1px;
  left: 0;
  width: 3rem;
  height: 0;
  border-bottom: 1px solid #434343;
}
.faq__nav .faq__nav-item a {
  display: block;
  padding: 2.5rem 3rem 2.5rem 0;
  color: #434343;
  line-height: 1.5;
  position: relative;
  height: 100%;
  -ms-flex-line-pack: center;
      align-content: center;
}
.faq__nav .faq__nav-item a .arrow {
  position: absolute;
  top: 50%;
  -webkit-transform: translate(-100%, -50%);
          transform: translate(-100%, -50%);
  right: 0;
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
}
.faq__nav .faq__nav-item a .arrow::before, .faq__nav .faq__nav-item a .arrow::after {
  position: absolute;
  content: "";
  top: 50%;
}
.faq__nav .faq__nav-item a .arrow::before {
  width: 1.5rem;
  height: 0;
  border-top: 1px solid #434343;
}
.faq__nav .faq__nav-item a .arrow::after {
  width: 1rem;
  height: 1rem;
  border-top: 1px solid #434343;
  border-right: 1px solid #434343;
  -webkit-transform: rotate(45deg) translateY(-60%);
          transform: rotate(45deg) translateY(-60%);
}
.faq__nav .faq__nav-item a:hover {
  color: #8691A3;
}
.faq__nav .faq__nav-item a:hover .arrow {
  -webkit-animation: arrow 1s infinite;
          animation: arrow 1s infinite;
}
@-webkit-keyframes arrow {
  from {
    -webkit-transform: translate(-100%, -50%);
            transform: translate(-100%, -50%);
  }
  to {
    -webkit-transform: translate(0%, -50%);
            transform: translate(0%, -50%);
  }
}
@keyframes arrow {
  from {
    -webkit-transform: translate(-100%, -50%);
            transform: translate(-100%, -50%);
  }
  to {
    -webkit-transform: translate(0%, -50%);
            transform: translate(0%, -50%);
  }
}

.faq-ttl {
  font-size: 2.3rem;
  font-weight: 500;
  line-height: 1.5;
  margin: 5rem 0 3rem 0;
}

.faq__list {
  width: 100%;
  margin: 0 auto 8rem auto;
  border-bottom: 1px solid #CCC;
  /* アコーディオンの開閉 */
}
.faq__list .faq__list-q {
  position: relative;
  padding: 2rem 5rem 2rem 6rem;
  cursor: pointer;
  border-top: 1px solid #CCC;
  -webkit-transition: background 0.3s;
  transition: background 0.3s;
  /* ＋アイコン */
  /* 開いたとき */
}
.faq__list .faq__list-q:hover {
  background: #f7f7f7;
}
.faq__list .faq__list-q::before, .faq__list .faq__list-q::after {
  content: "";
  position: absolute;
  right: 2rem;
  top: 3.5rem;
  width: 12px;
  height: 1px;
  background: #434343;
  -webkit-transition: all 0.4s 0s ease;
  transition: all 0.4s 0s ease;
}
.faq__list .faq__list-q::after {
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
}
.faq__list .faq__list-q.active::after {
  -webkit-transform: rotate(0deg);
          transform: rotate(0deg);
}
.faq__list .faq__list-q.active + .faq__list-a {
  /* 適当に大きめの値 */
  max-height: 100em;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.faq__list .faq__list-q .icon-q {
  position: absolute;
  top: 1.4rem;
  left: 0;
  background: #f0f0f0;
  display: inline-block;
  width: 4rem;
  height: 4rem;
  border-radius: 2rem;
  -ms-flex-line-pack: center;
      align-content: center;
  text-align: center;
  font-size: 2rem;
  line-height: 1;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}
.faq__list .faq__list-a {
  max-height: 0;
  overflow: hidden;
  background: #fff;
  padding: 0 1.5rem 0 6rem;
  margin-left: 0;
  -webkit-transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  position: relative;
}
.faq__list .faq__list-a p {
  margin-top: 0;
}
.faq__list .faq__list-a .icon-a {
  position: absolute;
  top: 1.4rem;
  left: 0;
  background: #434343;
  color: #fff;
  display: inline-block;
  width: 4rem;
  height: 4rem;
  border-radius: 2rem;
  -ms-flex-line-pack: center;
      align-content: center;
  text-align: center;
  font-size: 2rem;
  line-height: 1;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}