@charset "UTF-8";

.red {
  color: #d70000;
}
.article__data p {
  font-size: 1.6rem;
  line-height: 1.5;
  color: #333;
  text-align: justify;
}

.article__item_row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-top: 20px;
  margin-bottom: 80px;
}
.article__item_row .tmb {
  flex: 0 0 330px;
}
.article__item_row .info {
  flex: 1;
}
.article__item_row .tmb img {
  aspect-ratio: 394 / 285;
  object-fit: cover;
}
.article__item_row .info p {
  font-size: 1.6rem;
  line-height: 1.5;
}
.article__item_row .info p + p {
  margin-top: 1em;
}
.article__item_row .info p.theme {
  font-size: 2.4rem;
  font-weight: 700;
}

.article__data_plan h3 {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.article__data_plan p.memo {
  font-size: 1.6rem;
}
.article__data_plan .table {
  table-layout: fixed;
  width: 100%;
  border-top: 1px solid #969696;
  border-collapse: collapse;
  margin-top: 20px;
}
.article__data_plan .table th,
.article__data_plan .table td {
  border-bottom: 1px solid #969696;
}
.article__data_plan .table th {
  width: 10%;
  font-size: 1.8rem;
  font-weight: 400;
  background-color: #d7dde3;
  vertical-align: middle;
  text-align: center;
}
.article__data_plan .table td {
  padding: 1em;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
}

.article__data_plan .table td p {
  font-size: 1.6rem;
  line-height: 1.33;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.article__data_plan .table td p.date {
  flex: 0 0 100px;
}
.article__data_plan .table td p.theme {
  flex: 1;
}

/* タブ切り替えのため、.currentを.activeで使用 */
.cat-tabs__list li a.active {
  position: relative;
}
.cat-tabs__list li a.active::before {
  position: absolute;
  content: "";
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  width: 100%;
  height: 2px;
  background-color: #ce120c;
}

.article__data_flow .tabs__data {
  display: none;
}
.article__data_flow .tabs__data.show {
  display: block;
}
.article__data_flow .tmb {
  margin-right: auto;
  width: 82%;
}

.wp-block-group__inner-container > * {
  margin-top: 0;
}

/* -------------------------------------------------
  responsive
------------------------------------------------- */

@media (width < 768px) {
  .article__data p {
    font-size: 1.4rem;
  }

  .article__item_row {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 40px;
  }
  .article__item_row .tmb,
  .article__item_row .info {
    flex: initial;
    width: 100%;
  }
  .article__item_row .info p.theme {
    font-size: 2rem;
    font-weight: 700;
  }

  .article__data_plan h3 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 10px;
  }
  .article__data_plan p.memo {
    font-size: 1.4rem;
  }

  .article__data_plan .table th {
    width: 5em;
    font-size: 1.6rem;
    font-weight: 400;
    background-color: #d7dde3;
    vertical-align: middle;
    text-align: center;
  }
  .article__data_plan .table td {
    padding: 1em;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0;
  }

  .article__data_plan .table td p {
    font-size: 1.4rem;
    line-height: 1.33;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .article__data_plan .table td p.date,
  .article__data_plan .table td p.theme {
    flex: initial;
    width: 100%;
  }
}
