/* モーダルを開くボタン */
.modal__trigger {
  cursor: pointer;
}

.modal__trigger:nth-child(n + 2) {
  margin-top: 60px;
}

/* モーダル本体 */
.modal__wrapper,
.modal__wrapper * {
  max-width: 100vw;
}

/* モーダル本体 */
.modal__wrapper {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  width: 100%;
  height: 100%;
  padding: 20vh 4vw;
  background: rgba(50, 50, 50, .85);
  background-color: rgba(0, 0, 0, 0.5);
}

/* .modal__layer {
  height: 100%;
  cursor: pointer;
} */

.modal__container {
  /* position: absolute; */
  /* top: 50%; */
  /* left: 50%; */
  /* transform: translate(-50%, -50%); */
  /* width: min(calc(100% - 40px), 1000px); */
  /* height: calc(100% - 40px); */
  position: relative;
  border-radius: 12px;
  width: 100%;
  height: 100%;
  padding: 16px;
  background: #fff;
}

.modal__inner {
  position: relative;
  overflow-y: scroll;
  height: 100%;
}

/* モーダルを閉じるボタン */
.modal__close {
  position: absolute;
  width: 35px;
  height: 35px;
  top: 5px;
  right: 5px;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.1);
  border: none;
  color: rgb(255, 255, 255);
  text-align: center;
  font-weight: 700;
  line-height: 1.8em;
  border-radius: 50px;
  display: flex;
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  align-items: center;
}

.modal__close:hover {
  opacity: .6;
}

.modal__close:before,
.modal__close:after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 1px;
  background: #fff;
  content: '';
}

.modal__close:before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.modal__close:after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* モーダル内のコンテンツ */
.modal__content * {
  font-family: ’arial, "”ヒラギノ角ゴ Pro”", "”Hiragino Kaku Gothic Pro”", "”Hiragino Sans”", arial, ”メイリオ”, sans-serif’;
}

.modal__content {
  color: #545454;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 1.2px;
  overflow-wrap: break-word;
  font-kerning: normal;
  font-feature-settings: "palt";
}

.modal__content h2 {
  font-size: 1.25rem;
  color: #2f599d;
  font-weight: 700;
  margin: 16px 0px;
}

.modal__content h2 span {
  margin-right: 4px;
}

.modal__content h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 16px 0px 8px;
}

.modal__content h3::before {
  content: "■";
  color: #2f599d;
  padding-right: 4px;
}

.modal__content strong {
  display: inline-block;
  font-weight: bold;
  margin-bottom: 2px;
}

.modal__content table {
  border-collapse: collapse;
  border-spacing: 0;
}

.modal__content table tr {
  border-top: 1px solid rgb(221, 221, 221)
}

.modal__content table th {
  font-weight: bold;
  text-align: left;
}

.modal__content .row {
  width: 100%;
  overflow-x: scroll;
}

.modal__content .row table {
  border-collapse: collapse;
  width: max-content;
}

.modal__content .row table thead {
  width: max-content;
  max-width: 700px;
}

.modal__content .row table tr {
  height: max-content;
}

.modal__content .row table th {
  border: 1px solid rgb(175, 176, 181);
  background: rgb(224, 232, 243);
  color: rgb(47, 89, 157);
  padding: 16px 10px;
  width: max-content;
  text-align: center;
  white-space: pre;
}

.modal__content .row table th:nth-child(2) {
  text-align: left;
  white-space: normal;
}

.modal__content .row table td {
  border: 1px solid rgb(175, 176, 181);
  padding: 16px 10px;
  width: max-content;
  max-width: 300px;
  vertical-align: middle;
  text-align: center;
  white-space: pre;
}

.modal__content .row table td:nth-child(2) {
  text-align: left;
  white-space: normal;
}

.modal__content .row table td a {
  color: rgb(93, 169, 211);
}

.modal__content .col table th {
  border: 1px solid rgb(175, 176, 181);
  background: rgb(224, 232, 243);
  color: rgb(47, 89, 157);
  padding: 16px 10px;
  width: max-content;
  text-align: center;
  white-space: pre;
}

.modal__content .col table td {
  border: 1px solid rgb(175, 176, 181);
  padding: 16px 10px;
  width: max-content;
  vertical-align: middle;
  white-space: normal;
}

.modal__text {
  /* margin-top: 30px;
  line-height: 2.875; */
}