@charset "utf-8";

/****************
 * Google Fonts *
****************/
@import url('https://fonts.googleapis.com/css2?family=Zen+Old+Mincho&display=swap');

.rel_bd {
  border-bottom: 2px dashed #558ed5;
  padding: 0 0 3em;
}

.rel_bd .indent {
  text-indent: 1em;
}

.rel_bd img {
  vertical-align: middle;
}

.rel_hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 2em;
}

.rel_hd h3 {
  font-family: "Zen Old Mincho", serif;
  font-weight: 500;
  font-size: 36px;
  font-style: italic;
  line-height: 1.25em;
  color: #fff;
  background: #0000fe;
  padding: 0.25em 0.5em;
}

.rel_hd .date {
  text-align: right;
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 1em;
}

.rel_hd .logo {
  width: 320px;
}

.rel_ttl {
  text-align: center;
  border: 3px solid #558ed5;
  padding: 0.5em 1em;
  font-size: 30px;
  font-weight: 600;
  margin: 0 0 1em;
}

.rel_img {
  margin: 0 0 2em;
}

.rel_img ul {
  display: flex;
  justify-content: center;
  margin: 0 2em;
}

.rel_img ul li {
  width: 640px;
  text-align: center;
  font-size: 16px;
}

.rel_img ul li:nth-of-type(2) {
  margin: 0 0 0 60px;
}

.rel_txt {
  margin: 1em 0 0;
  padding: 0 1em;
  font-size: 21px;
}

.rel_txt .middle {
  font-size: 18px;
}

.rel_txt .small {
  font-size: 14px;
}

.rel_txt p {
  margin: 0 0 1em;
}

.rel_txt .prog_title {
  margin: 2em 1em;
}

.rel_txt .prog_title div {
  margin: 0.5em 0 0;
}

.rel_txt .prog_title h4 {
  font-size: 27px;
  font-weight: 600;
}

.rel_txt .prog_title h5 {
  font-weight: 600;
}

.rel_txt .prog_detail {
  font-size: 16px;
}

.rel_txt .prog_detail p {
  margin: 0 0 1em;
}

.rel_txt ul.prog_img {
  display: flex;
  justify-content: center;
  margin: 1em 0;
}

.rel_txt ul.prog_img li {
  width: 360px;
  text-align: center;
  font-size: 16px;
}

.rel_txt dl {
  border: 1px solid;
  text-align: center;
  font-size: 18px;
  padding: 0.75em 0;
  margin: 2em 0 0;
  line-height: 1.75em;
}

@media screen and (max-width: 899px) {
  .rel_hd {
    flex-wrap: wrap;
    flex-direction: row-reverse;
    margin: 0 0 1em;
  }

  .rel_hd div {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    width: 100%;
    margin: 1em 0.5em 0;
    align-items: center;
  }

  .rel_hd h3 {
    font-size: 27px;
    width: 100%;
  }

  .rel_hd .date {
    font-size: 16px;
    margin: 0;
  }

  .rel_hd .logo {
    width: 180px;
  }

  .rel_ttl {
    text-align: left;
    padding: 0.5em;
    font-size: 5.5vw;
  }

  .rel_img {
    margin: 0 0 1em;
  }

  .rel_img ul {
    margin: 0 1em;
  }

  .rel_img ul li {
    /* width: 45%; */
    text-align: center;
    font-size: 12px;
  }

  .rel_img ul li:nth-of-type(2) {
    margin: 0 0 0 5%;
  }

  .rel_txt {
    padding: 0 0.75em;
    font-size: 16px;
  }

  .rel_txt .middle {
    font-size: 14px;
  }

  .rel_txt .prog_title {
    margin: 2em 0.5em;
  }

  .rel_txt .prog_title h4 {
    font-size: 21px;
  }

  .rel_txt .prog_detail {
    font-size: 14px;
  }

  .rel_txt ul.prog_img {
    display: block;
    margin: 1em 0;
  }

  .rel_txt ul.prog_img li {
    width: 75%;
    margin: 0 auto 0.5em;
  }

  .rel_txt .total {
    font-size: 21px;
  }

  .rel_txt .kyoshutsu span {
    font-size: 12px;
  }

  .rel_txt dl {
    font-size: 14px;
    padding: 0.5em 0;
    margin: 1em 0 0;
  }
}