@charset "utf-8";

/* faq-menu
 * ========================================================================== */

.faq-title{
  position: relative;
  margin: 0;
  padding: 0;
  font-size: 2.8rem;
  font-size: min(max(2.4rem, calc(2.4rem + ((1vw - 0.64rem) * 1.1111))), 2.8rem);
  min-height: 0vw;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
}

.faq-title em{
  min-height: 0vw;
  font-size: min(max(2.6rem, calc(2.6rem + ((1vw - 0.64rem) * 1.6667))), 3.2rem);
  font-weight: 600;
  white-space: nowrap;
}

.contents-title em{
  margin-left: 1.5rem;
  width: 6rem;
  height: 2.1rem;
}

.faq-section {
  padding-top: 10rem;
}

.faq-section-title {
  padding: 0.2rem 1.5rem;
  border-left: 0.3rem solid #b1883a;
  font-size: min(max(2.4rem, calc(2.4rem + ((1vw - 0.64rem) * 1.1111))), 2.8rem);
}

.faq-menu {
  margin: 3rem auto 0;
  width: 91%;
  max-width: 120rem;
  display: flex;
  justify-content: left;
  flex-wrap: wrap;
  gap: 2rem;
}

.faq-menu .faq-item {
  font-size: 1.8rem;
  width: 100%;
  padding: 1.5rem 2rem;
  border: solid 0.1rem #b1883a;
  background-color: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.faq-menu li{
  position: relative;
  margin: 0;
  width: calc(100% / 3 - 4rem / 3);
  display: flex;
  align-items: stretch;
}

.faq-menu li::after{
  position: absolute;
  top: 0;
  right: 1.5rem;;
  bottom: 0;
  margin: auto;
  padding: 0;
  width: 1rem;
  height: 1rem;
  border-bottom: solid 0.2rem #b1883a;
  border-right: solid 0.2rem #b1883a;
  display: block;
  content: '';
  transform: rotate(45deg);
}

.faq-menu .faq-item { color: #333;}

.faqlist li:first-child{
  border-top: 0.1rem solid #a1a3ab;
}

.faqlist li{
  border-bottom: 0.1rem solid #a1a3ab;
}


.question {
  cursor: pointer;
  position: relative;
  width: 100%;
  margin: 0;
  /* padding: 3.5rem 4rem 3.5rem 6rem; */
  margin: 1rem;
  display: flex;
  align-items: center;
  color: #222;
  font-size: 2rem;
  /* border-bottom: 0.1rem solid #a1a3ab; */
}

.question::before {
  position: absolute;
  top: -.5rem;
  left: -5rem;
  display: inline-block;
  margin: 0 1rem 0 0;
  background: url(/smileup/reform/img/faq/faq_icon_q.svg) center center no-repeat;
  background-size: 80%;
  content: "";
}

.question::before, .answer::before {
  width: 4rem;
  height: 4rem;
  padding: 0;
  /* display: block; */
}

.answer {
  position: relative;
  margin: 0 3rem;
  padding-left: 6rem;
}

.answer::before {
  position: absolute;
  top: 1.5rem;
  left: 1rem;
  display: inline-block;
  margin: 0 1rem 0 0;
  background: url(/smileup/reform/img/faq/faq_icon_a_red.svg) center center no-repeat;
  background-size: 80%;
  content: "";
}

#CATE8{ padding-bottom: 6rem;}


/* --------------------アコーディオンメニュー------------------ */

.js-accordion--close{ display: none;}

.accordion-box{
  height: 0;
  overflow: hidden;
  transition: height .35s ease, opacity .35s ease;
  opacity: 0;
}

.accordion-box .txt{ padding: 1rem 0 2.5rem;}

.js-accordion{
  position: relative;
  padding: 2.5rem 4rem 2.5rem 6rem;
}

.js-accordion::before{
  content: "";
  width: 0.2rem;
  height: 1.6rem;
  background: #b1883a;
  position: absolute;
  right: 1.8rem;
  top: 0;
  bottom: 0;
  margin: auto;
  transition: transform  .6s ease;
}

.js-accordion::after{
  content: "";
  width: 1.6rem;
  height: 0.2rem;
  background: #b1883a;
  position: absolute;
  right: 1.1rem;
  top: 0;
  bottom: 0;
  margin: auto;
  transition: transform .6s ease;
}
.js-accordion.is-accordion--open::before{
  transform: rotate(90deg);
}

.js-accordion.is-accordion--open::after{
  transform: rotate(-180deg);
}


.js-accordion.is-accordion--open + .accordion-box{
  border-top: 0.1rem dotted #a1a3ab;
  opacity: 1;
}


/* --------------------レスポンシブ------------------ */

@media screen and (max-width: 1024px) {
.faq-menu { width: 100%;}

.faq-menu li{ width: calc(50% - 1rem);}

.answer { margin: 0 2rem;}

}

@media screen and (min-width: 769px) {
.faq-title br{ display: none;}
}

@media screen and (max-width: 768px) {

.pc_none { display: block;}

.faq-menu { justify-content: center}

.faq-menu li { width: 90%;}

.question{
  /* padding: 3rem 4rem 3rem 5rem; */
  font-size: 1.8rem;
}

.question::before, .answer::before {
  width: 3.5rem;
  height: 3.5rem;
}

.answer { padding-left: 5rem;}

}