@charset "UTF-8";
/* ===================================================================
CSS information

file name  : faq.css
style info : よくあるご質問(/faq/)と外国語ページ(/en/ 等)のみで読み込む。
             枠組みは privacy.css の .p-pri__* を使い、足りない分だけここに書く
=================================================================== */

/* カテゴリへのリンク */
.p-faq__nav {
  margin-right: auto;
  margin-left: auto;
  margin-top: calc(40 / 13 * 1rem);
}
@media only screen and (min-width: 1025px) {
  .p-faq__nav {
    width: calc(1160 / 1440 * 100%);
    max-width: calc(1160px);
  }
}
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .p-faq__nav {
    width: calc(1260 / 1440 * 100%);
  }
}
@media only screen and (max-width: 767px) {
  .p-faq__nav {
    width: calc(388 / 428 * 100%);
    margin-top: 2em;
  }
}
.p-faq__nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8em;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media only screen and (max-width: 767px) {
  .p-faq__nav__list {
    justify-content: flex-start;
    gap: 0.6em;
  }
}
.p-faq__nav__link {
  display: block;
  padding: 0.5em 1.2em;
  border: 1px solid var(--color-ccccc1, #CCCCC1);
  background: rgba(255, 255, 255, 0.5);
  color: var(--color-text-title, #252121);
  font-family: var(--font-title);
  line-height: 1.5;
  text-decoration: none;
  transition: background-color 0.3s;
}
.p-faq__nav__link:hover {
  background: #fff;
}

/* 本文中のリンク */
.p-faq__link,
.p-faq__a__txt a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  word-break: break-all;
}
.p-faq__link:hover,
.p-faq__a__txt a:hover {
  text-decoration: none;
}

/* 質問と回答 */
.p-faq [id] {
  scroll-margin-top: 100px;
}
.p-faq__list {
  margin: 0;
}
.p-faq__item {
  padding: 1.6em 0;
  border-bottom: 1px solid var(--color-ccccc1, #CCCCC1);
}
.p-faq__item:first-child {
  padding-top: 0;
}
.p-faq__q,
.p-faq__a {
  display: flex;
  align-items: flex-start;
  gap: 1em;
  margin: 0;
}
.p-faq__a {
  margin-top: 0.9em;
}
.p-faq__mark {
  flex: 0 0 auto;
  width: 1.4em;
  font-family: var(--font-en);
  font-size: 1.4em;
  line-height: 1.3;
  color: var(--color-text-title, #252121);
}
.p-faq__a .p-faq__mark {
  color: var(--color-cv, #D7730B);
}
.p-faq__q__txt {
  flex: 1 1 auto;
  font-family: var(--font-title);
  font-size: 1.15em;
  line-height: 1.7;
  color: var(--color-text-title, #252121);
}
.p-faq__a__txt {
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.9;
}
@media only screen and (max-width: 767px) {
  .p-faq__item {
    padding: 1.3em 0;
  }
  .p-faq__q,
  .p-faq__a {
    gap: 0.6em;
  }
}

/* 外国語ページへのリンク(/faq/ の末尾) */
.p-faq__langs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4em 1.8em;
  margin-top: calc(50 / 13 * 1rem);
}

/* 公式情報である旨と最終更新日 */
.p-faq__official {
  margin-top: 1em;
  font-size: 0.9em;
}
