@charset "utf-8";

/* よくある質問詳細ページ [ /faq/xxxxx/xxxxx/detail/ ]
====================================================================== */

/* ===============================================
 pagetitle
=============================================== */

.l-pagetitle {
  padding: 30px 0 60px;
}
.l-pagetitle__title {
  font-size: 4.2rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}
.l-pagetitle__text {
  margin-top: 45px;
  font-size: 1.8rem;
  font-weight: 500;
}
@media screen and (max-width: 767px) {
  .l-pagetitle {
    padding: 25px 0 35px;
  }
  .l-pagetitle__title {
    font-size: 3.8rem;
  }
  .l-pagetitle__text {
    margin-top: 30px;
  }
}

/* ===============================================
 faq-detail
=============================================== */

.faq-detail {
  padding: 90px 0 0;
  background-color: #fff;
}
.faq-detail-q {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
}
.faq-detail-q__title {
  position: relative;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--corp-color);
  padding-left: 45px;
}
.faq-detail-q__title::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 13px;
  height: 24px;
  background-image: url("../images/common/faq_q.svg");
  background-size: contain;
  background-repeat: no-repeat;
}
.faq-detail-q__text {
  font-size: 2.2rem;
  font-weight: 700;
  margin-top: 10px;
}
.faq-detail-a {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 35px;
  margin-top: 50px;
}
.faq-detail-a__title {
  position: relative;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--red);
  padding-left: 45px;
}
.faq-detail-a__title::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 13px;
  height: 24px;
  background-image: url("../images/common/faq_a.svg");
  background-size: contain;
  background-repeat: no-repeat;
}
.faq-detail-a__text {
  font-size: 1.8rem;
  font-weight: 500;
  margin-top: 10px;
}
.faq-detail-a__image {
  margin-top: 40px;
}
@media screen and (max-width: 767px) {
  .faq-detail {
    padding: 60px 0 20px;
  }
  .faq-detail-q__title {
    font-size: 2.2rem;
    padding-left: 30px;
  }
  .faq-detail-q__text {
    font-size: 1.8rem;
  }
  .faq-detail-a {
    padding-bottom: 30px;
    margin-top: 40px;
  }
  .faq-detail-a__title {
    font-size: 2.2rem;
    padding-left: 30px;
  }
  .faq-detail-a__image {
    margin-top: 30px;
  }
}

/* faq-detail-recommended */

.faq-detail-recommended {
  padding: 90px 0;
}
.faq-detail-recommended__title {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--txt-base-color);
  text-align: center;
  margin-bottom: 10px;
}
.faq-detail-recommended__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 40px;
}
.faq-detail-recommended__item {
  border-bottom: 1px solid var(--border-color);
}
.faq-detail-recommended__link {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 25px 60px 25px 0;
  text-decoration: none;
  color: var(--txt-base-color);
  position: relative;
  transition: opacity 0.3s ease-out;
}
.faq-detail-recommended__link::before,
.faq-detail-recommended__link::after {
  content: "";
  position: absolute;
  top: calc(50% - 0.5px);
  right: 0;
  width: 0.725em;
  height: 1px;
  border-radius: 9999px;
  background-color: var(--txt-base-color);
  transform-origin: calc(100% - 0.5px) 50%;
}
.faq-detail-recommended__link::before {
  transform: rotate(53deg);
}
.faq-detail-recommended__link::after {
  transform: rotate(-53deg);
}
.faq-detail-recommended__label {
  flex-shrink: 0;
  width: 13px;
  height: 24px;
}
.faq-detail-recommended__text {
  font-size: 1.6rem;
  font-weight: 500;
}
@media screen and (max-width: 767px) {
  .faq-detail-recommended {
    padding: 60px 0;
  }
  .faq-detail-recommended__title {
    font-size: 2.2rem;
  }
  .faq-detail-recommended__list {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .faq-detail-recommended__link {
    gap: 20px;
    padding: 20px 40px 20px 0;
  }
  .faq-detail-recommended__link::before,
  .faq-detail-recommended__link::after {
    width: 1em;
    height: 2px;
  }
}
@media (hover: hover) {
  .faq-detail-recommended__link:hover {
    color: var(--corp-color);
  }
  .faq-detail-recommended__link:hover::before,
  .faq-detail-recommended__link:hover::after {
    background-color: var(--corp-color);
  }
}

/* --- */
