@charset "UTF-8";

/* Q&A ページ (faq.php) 専用。common_general.css の上に読み込む。 */

/* --- 本文の基本規則（旧 page-form.css より） ---
   main 配下（サイドバー .main_left と本文 .main_right）だけに効かせる。
   「main p」のように要素セレクタで囲むこと。.main_right p のようにクラスで囲むと
   詳細度が上がり、共通 CSS の単一クラス規則（.link、表セルの .date など）を逆転する。
   main img はサイドバーのバナーの幅指定でもある（.adsbygoogle 用の CSS は他に無い）。 */

main img {
  pointer-events: none;
  width: 100%;
}

main p {
  text-align: justify;
}

/* --- 表 --- */

main th,
main td {
  border: solid 2px var(--gray-light);
  padding: 10px;
  text-align: center;
}

main th {
  background-color: var(--themeocean);
  color: var(--white);
}

main table {
  border-collapse: collapse;
  width: 100%;
}



.pagelink {
  text-decoration: underline;
  text-decoration-color: var(--themeocean);
  color: var(--themeocean);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  font-weight: 400;
  word-break: break-all;
}

.li-round {
  color: var(--themeocean);
  margin-right: 1.5px;
}

/* --- ここからページ固有 --- */

.q_box {
  margin: auto;
  position: relative;
  cursor: pointer;
  border: solid 2px var(--thememix);
  padding: 10px 7% 10px 3%;
  display: flex;
  align-items: center;
  font-size: 1.1em;
}

.a_box {
  padding: 2% 2% 5% 2%;
  margin: auto;
  display: block;
  background-color: #fff;
}

.question {
  display: none;
}

.qa {
  position: relative;
  margin-bottom: 1em;
}

.q_box,
.faqcontent {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: all 0.3s;
}

.q_box::after,
.q_box::before {
  content: "";
  position: absolute;
  right: 1em;
  width: 2px;
  height: 0.75em;
  background-color: var(--thememix);
  transition: all 0.3s;
}

.q_box::after {
  transform: rotate(90deg);
}

.faqcontent {
  max-height: 0;
  overflow: hidden;
}

.faqcontent p {
  margin: auto;
}

.question:checked+.q_box+.faqcontent {
  max-height: 1800px;
  transition: all 1.5s;
}

.question:checked+.q_box::before {
  transform: rotate(90deg) !important;
}
