/* ------------------------------
回答欄向けのMarkdownスタイル
------------------------------ */

.markdown {
  display: flex;
  flex-direction: column;
  row-gap: 1.5em;
  align-items: flex-start;
  line-height: 1.6;
  color: #47525d;
}

.markdown p {
  width: 100%;
}

.markdown a {
  margin: 0 2px;
  text-decoration: underline;
  color: rgba(51, 146, 209, 1);
}

.markdown a[target="_blank"]:not([class]):not([href$=".pdf"])::after {
  content: "\f08e";
  font: var(--fa-font-solid);
  padding-left: 0.5em;
  color: rgba(51, 146, 209, 0.6);
  font-size: 10px;
}

/* markdown内の.link-buttonについての記述 */
.markdown a.link-button {
  text-decoration: none;
  color: #fff;
}

.markdown img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  border-style: none;
}

.markdown hr {
  width: 100%;
  height: 1px;
  margin: 0;
  background-color: #dcdcdc;
  border: 0;
}

.markdown ul,
.markdown ol {
  display: flex;
  flex-direction: column;
  padding-left: 1.5em;
  row-gap: 0.5em;
}

.markdown ul > li {
  list-style: unset;
}

.markdown ol > li {
  list-style-type: decimal;
}

.markdown table {
  border-spacing: 0;
  border-collapse: collapse;
  max-width: 100%;
  overflow: auto;
}

.markdown table th {
  font-weight: 600;
  background-color: #eee;
}

.markdown table th,
.markdown table td {
  padding: 10px 10px;
  border: 1px solid #d0d4d9;
}

.markdown table td:first-child {
  min-width: 6em; /* 現時点では /documents/conflict_of_interest で有効に機能している */
}

/* ------------------------------
回答欄向けに追加したスタイル
------------------------------ */

.inquiryBox {
  border-bottom: 1px solid #dcdcdc;
}

.inquiryBox:first-child {
  border-top: 1px solid #dcdcdc;
}

.inquiryBox summary {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 5px;
  padding: 17px 10px 17px 11px;
  line-height: 1.5;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

@media screen and (min-width: 520px) {
  .inquiryBox summary {
    padding: 15px 10px 15px 11px;
    font-size: 18px;
  }
}

.inquiryBox summary::-webkit-details-marker {
  display: none;
}

.inquiryBox summary::after {
  content: "";
  width: 30px;
  height: 30px;
  background-image: url("/assets/images/open.png");
  background-size: 30px 30px;
}

.inquiryBox[open] summary::after {
  transform: rotate(180deg);
}

.answer {
  overflow: hidden;
}

.answer-inner {
  padding: 0 50px 1.5em 11px;
}

.inquiryBox p {
  font-size: 14px;
  color: #171c23;
}
@media screen and (min-width: 520px) {
  .inquiryBox p {
    font-size: 15px;
  }
}
