@charset "utf-8";

.faq .page-ttl-en {
  width: 5.6rem;
}

.faq-cat-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 7rem;
  margin-bottom: 9rem;
}

.faq-cat-item {
  width: 23.2%;
  font-size: 1.6rem;
  color: #70a500;
  background: #fff;
  border: 2px solid;
  border-radius: 1rem;
  position: relative;
}
.faq-cat-item:last-of-type {
  margin-top: 2.5rem;
}

.faq-cat-item a {
  padding: 2rem;
}

.faq-cat-item::after {
  content: "";
  width: 3.2rem;
  height: auto;
  aspect-ratio: 1/1;
  background-image: url("../img/faq/btn_arrow_g02.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 1rem;
}

.faq-cat-wrap {
  margin-bottom: 11rem;
}

.faq-cat-block {
  padding-top: 12rem;
  margin-top: -12rem;
}

.faq-cat-block:not(:last-of-type) {
  margin-bottom: 6rem;
}

.faq-cat-ttl {
  font-size: 3.4rem;
  letter-spacing: 0.06em;
  margin-bottom: 4.4rem;
}

.faq-content {
  font-size: 1.5rem;
  color: #483626;
  background: #fff;
  border: 2px solid;
  border-radius: 1.4rem;
  overflow: hidden;
}
.faq-content:not(:last-of-type) {
  margin-bottom: 1.4rem;
}
#faq-allergy-anchor {
  padding-top: 12rem;
  margin-top: -12rem;
  visibility: hidden;
}

.faq-q-wrap {
  color: #483626;
  background: #fff;
  padding: 2.2rem 8rem;
  position: relative;
  transition: all 0.5s;
  cursor: pointer;
}

.faq-q-wrap.active {
  color: #fff;
  background: #483626;
}

.faq-q-wrap::before {
  content: "";
  width: 3.2rem;
  height: auto;
  aspect-ratio: 32/22;
  background-image: url("../img/faq/icon_q.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 3.6rem;
  transition: all 0.5s;
}

.faq-q-wrap.active::before {
  background-image: url("../img/faq/icon_q_w.svg");
}

.faq-btn {
  width: 3.2rem;
  height: auto;
  aspect-ratio: 1/1;
  background: #483626;
  border-radius: 50%;
  display: inline-block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 2.4rem;
  transition: all 0.5s;
}

.faq-q-wrap.active .faq-btn {
  background: #fff;
}

.faq-btn::before,
.faq-btn::after {
  content: "";
  width: 1.4rem;
  height: 0.2rem;
  background: #fff;
  border-radius: 1rem;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.5s;
}

.faq-q-wrap.active .faq-btn::before,
.faq-q-wrap.active .faq-btn::after {
  background: #483626;
}

.faq-btn::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-q-wrap.active .faq-btn::after {
  transform: translate(-50%, -50%) rotate(180deg);
}

.faq-a-wrap {
  padding: 2.2rem 8rem;
  position: relative;
  display: none;
}

.faq-a-wrap::before {
  content: "";
  width: 3.1rem;
  height: auto;
  aspect-ratio: 31/20;
  background-image: url("../img/faq/icon_a.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  display: block;
  position: absolute;
  top: 2rem;
  left: 4rem;
}

.faq-q,
.faq-a {
  line-height: 1.9;
}

.answer-dl {
  display: flex;
  line-height: 1.9;
}

.answer-dt {
  width: 20rem;
}

.answer-dd {
  padding-left: 1em;
  position: relative;
}
.answer-dd::before {
  content: "：";
  position: absolute;
  top: 0;
  left: 0;
}

.answer-dd-attention {
  padding-left: 1em;
}

.faq-contact {
	margin-top: 6rem
}

.faq-contact p {
	font-size: 1.5rem;
	line-height: 1.5;
	color: #483626;
	margin-bottom: 3rem;
}

.bus-btn {
  width: 32rem;
  height: 5.2rem;
  font-size: 1.8rem;
  letter-spacing: 0.13em;
  color: #70a500;
  background: #fff;
  border: 2px solid;
  border-radius: 30rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.bus-btn::after {
  content: "";
  width: 3.6rem;
  height: auto;
  aspect-ratio: 1/1;
  background-image: url(../img/top/btn_arrow_g.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 1rem;
}

/*SP: 〜750px*/
@media screen and (max-width: 750px) {
  .faq .page-ttl-en {
    width: 3.4rem;
  }

  .faq-cat-list {
    margin-top: 10rem;
  }

  .faq-cat-item {
    width: 47.5%;
    font-size: 1.4rem;
  }

  .faq-cat-item::after {
    width: 2.6rem;
    right: 1.2rem;
  }

  .faq-cat-item:nth-of-type(-n + 2) {
    margin-bottom: 2rem;
  }
  .faq-cat-item:last-of-type {
    margin-top: 2rem;
  }

  .faq-cat-item a {
    padding: 1.9rem 2.2rem;
  }

  .faq-cat-wrap {
    margin-bottom: 7.6rem;
  }

  .faq-cat-ttl {
    font-size: 2.4rem;
    text-align: center;
    margin-bottom: 3.2rem;
  }

  .faq-q-wrap {
    padding: 2.6rem 6.2rem;
  }

  .faq-q-wrap::before {
    left: 2rem;
  }

  .faq-btn {
    right: 1.6rem;
  }

  .faq-a-wrap {
    padding: 2.6rem 2.5rem 2.6rem 6.2rem;
  }

  .faq-a-wrap::before {
    top: 2.4rem;
    left: 2.1rem;
  }

  .answer-dl {
    display: block;
  }
  .answer-dl:last-of-type {
    margin-top: 1rem;
  }

  .answer-dd::before {
    content: none;
  }

  .answer-dd-attention {
    display: block;
    padding-left: 0;
  }
}
