/***************************************

***************************************/
.mt-1 {
  margin-top: 0.25rem !important; /* 4px */
}
.mt-2 {
  margin-top: 0.5rem !important; /* 8px */
}
.mt-3 {
  margin-top: 1rem !important; /* 16px */
}
.mt-4 {
  margin-top: 1.5rem !important; /* 24px */
}
.mt-5 {
  margin-top: 2rem !important; /* 32px */
}
.mt-6 {
  margin-top: 2.5rem !important; /* 40px */
}
.mt-7 {
  margin-top: 3.5rem !important; /* 56px */
}
.mt-8 {
  margin-top: 4.5rem !important; /* 72px */
}
.mt-9 {
  margin-top: 5rem !important; /* 80px */
}

@media (min-width:768px) {
  .md:mt-1 {
    margin-top: 0.25rem !important; /* 4px */
  }
  .md:mt-2 {
    margin-top: 0.5rem !important; /* 8px */
  }
  .md:mt-3 {
    margin-top: 1rem !important; /* 16px */
  }
  .md:mt-4 {
    margin-top: 1.5rem !important; /* 24px */
  }
  .md:mt-5 {
    margin-top: 2rem !important; /* 32px */
  }
  .md:mt-6 {
    margin-top: 2.5rem !important; /* 40px */
  }
  .md:mt-7 {
    margin-top: 3.5rem !important; /* 56px */
  }
  .md:mt-8 {
    margin-top: 4.5rem !important; /* 72px */
  }
}

/* ブロック左寄せ */
.mr-auto {
  margin-right: auto;
}

/* ブロック中央寄せ */
.mx-auto {
  margin-inline: auto;
}


/***************************************
記事
***************************************/
.article {
  width: calc(100% - 40px);
  max-width: 800px;
  margin: 24px auto 0;
}

.article h2 {
  font-size: var(--fz24);
  line-height: 1.6;
}

.article-head > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 52px;
}

.article-head time {
  font-size: var(--fz18);
  line-height: 1.8;
  color: #a0a0a0;
}

.sns-share-btns span {
  margin-left: 16px;
}

.article-body {
  margin-top: 80px;
}

.article h3,
.article h4,
.article h5 {
  margin-top: 72px;
}

.article h3 {
  color: #000;
  font-size: var(--fz24);
  font-weight: 700;
  line-height: 1.67;
}

.article h4 {
  color: #000;
  font-size: var(--fz22);
  line-height: 1.64;
}

.article h5 {
  color: #000;
  font-size: var(--fz20);
  font-weight: 700;
  line-height: 1.6;
}

.article h3 + p,
.article h4 + p,
.article h5 + p {
  margin-top: 16px;
}

.article .article-body p {
  font-size: 1rem;
  line-height: 2;
}

.article .article-body > p {
  margin-top: 32px;
  padding: 0;
}

.img-text-block {
  margin-top: 56px;
}

.img-text-block img {
  width: 100%;
}

.img-text-block img:not(:first-child) {
  margin-top: 20px;
}

.img-text-block .text:not(:first-child) {
  margin-top: 34px;
}


.img-block {
  margin-top: 56px;
}

.img-block img {
  width: 100%;
  height: auto;
}

@media (min-width: 768px) {
  .article {
    width: calc(100% - 92px);
    margin: 64px auto 0;
  }

  .article-head h2 {
    font-size: var(--fz32);
  }

  .article-head > div {
    margin-top: 36px;
  }

  .article {
    margin-top: 64px;
  }

  .article h3,
  .article h4,
  .article h5 {
    margin-top: 80px;
  }

  .article h3 {
    font-size: var(--fz32);
    line-height: 1.25;
  }

  .article h4 {
    font-size: var(--fz28);
    font-weight: 700;
    line-height: 1.28;
  }

  .article h5 {
    font-size: var(--fz24);
    font-weight: 700;
    line-height: 1.33;
  }

  .article h3 + p,
  .article h4 + p,
  .article h5 + p {
    margin-top: 24px;
  }

  .article p {
    font-size: 1rem;
    line-height: 2;
  }
  
  .article-body > p {
    margin-top: 40px;
  }

  .img-text-block {
    margin-top: 56px;
    display: flex;
    gap: 34px;
  }

  .img-text-block .text {
    margin-top: 0;
  }

  .img-text-block img {
    display: block;
    width: 46%;
    height: auto;
  }
  
  .img-text-block img:not(:first-child) {
    margin-top: 0;
  }

  .img-text-block .text {
    margin-top: 0;
    flex: 1;
  }
  
  .img-text-block .text:not(:first-child) {
    margin-top: 0;
  }
}

/***************************************
パーツ集
***************************************/

.article .text-link {
  color: #8d99ae;
  font-size: 1rem;
  line-height: 2;
  text-decoration: underline !important;
}

.article .btn-general {
  padding-left: 60px;
  padding-right: 60px;
  margin-top: 12px;
}

.article .btn-general span {
  line-height: 1.3;
}



.article em {
  font-weight: 700;
  font-style: normal;
}

/***************************************
パーツ集: テーブル
***************************************/
.w-10 {
  width: 10%;
}
.w-15 {
  width: 15%;
}
.w-20 {
  width: 20%;
}
.w-25 {
  width: 25%;
}
.w-30 {
  width: 30%;
}
.w-40 {
  width: 40%;
}
.w-50 {
  width: 50%;
}
.w-60 {
  width: 60%;
}
.w-70 {
  width: 70%;
}
.w-80 {
  width: 80%;
}
.w-90 {
  width: 90%;
}

.table-container {
  overflow: auto;
  margin-top: 40px;
}


table {
  border-collapse: collapse;
}

.table th {
  background: #F7F8FF;
}

.table th,
.table td {
  border: 1px solid #A0A0A0;
}

.table th span,
.table td span {
  display: block;
  padding: 12px 17px;
}



@media screen and (max-width: 768px) {
  .table {
    display: block;
    width: 100%;
  }
  
  .table.width-150 {
    width: 150%;
    max-width: 800px;
    overflow: auto;
  }

  .table.width-200 {
    width: 200%;
    max-width: 800px;
    overflow: auto;
  }

  .table-container:has(.scroll-message) {
    position: relative;
  }
  
  .table-container .scroll-message {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
  }

  .table-container .scroll-message > div {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 5px;
    height: auto;
    display: grid;
    place-items: center;
    padding: 20px 10px 12px;
    min-width: 170px;
  }
  
  .table-container .scroll-message > div p {
    color: #fff;
    margin-top: 8px;
    font-size: var(--fz11);
  }
}


/***************************************
その他
***************************************/
.btn-back {
  margin: 120px auto 0;
}