@charset "utf-8";

/****************
 * Google Fonts *
****************/
@import url('https://fonts.googleapis.com/css2?family=Zen+Old+Mincho&display=swap');

.rel_bd {
  font-size: 15px;
  border-bottom: 2px dashed #558ed5;
  padding: 0 0 2em;
}

.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: 2.4em;
  font-style: italic;
  line-height: 1.25em;
  color: #fff;
  background: #0000fe;
  padding: 0.25em 0.5em;
}

.rel_hd .date {
  text-align: right;
  font-size: 1.2em;
  font-weight: 500;
  margin: 0 0 1em;
}

.rel_hd .logo {
  width: 320px;
}

.rel_ttl {
  text-align: center;
  /* border: 3px solid #558ed5; */
  padding: 1em;
  font-weight: 600;
  margin: 0 0 2em;
  background: #ff0000;
  color: #ffffff;
}

.rel_ttl span {
  font-size: 2em;
}

.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: 0 1em 2em;
}

.rel_txt p {
  font-size: 1.2em;
}

.rel_txt .middle {
  font-size: 0.9em;
}

.rel_txt .small {
  font-size: 0.8em;
}

/*
.rel_txt p {
  margin: 0 0 1em;
}
*/

.rel_cont {
  margin: 0 1em 2em;
}

.rel_cont h4 span:nth-of-type(1) {
  background: #ffff00;
  color: #ff0000;
  font-size: 2em;
  font-weight: 500;
  padding: 0 0.5em;
}

.rel_cont h4 span:nth-of-type(2) {
  margin: 0 0 0 0.5em;
  font-weight: 500;
}

.rel_cont dl {
  display: flex;
  justify-content: space-between;
  margin: 1em 0 0;
}

.rel_cont dl div {
  width: 16%;
}

.rel_cont dt {
  margin: 0 0 0.5em;
}

.rel_cont dd {
  font-size: 0.9em;
}

.rel_dtl {
  margin: 0 1em 2em;
}

.rel_dtl .about {
  border: 0.25em solid #ff0000;
  padding: 1em 2em;
  border-radius: 1em 0 1em 0;
  margin: 0 0 1em;
}

.rel_dtl .about .inner {
  font-size: 1.2em;
}

.rel_dtl .about span {
  display: block;
  font-size: 1.2em;
  font-weight: 600;
  margin: 0 0 0.25em;
}

.rel_dtl .howto .inner {
  display: flex;
  align-items: center;
  /* justify-content: center; */
}

.rel_dtl .howto .qr {
  max-width: 18%;
}

.rel_dtl .howto a {
  text-decoration: underline;
}

.rel_dtl .howto .fukidashi{
  position: relative;
  background: #ffffff;
  padding: 1em;
  text-align: center;
  border: 0.25em solid #0000ff;
  border-radius: 1em;
  -webkit-border-radius: 1em;
  -moz-border-radius: 1em;
  margin: 0 0 0 1em;
}

.rel_dtl .howto .fukidashi:after,
.rel_dtl .howto .fukidashi:before {
  border: solid transparent;
  content:'';
  height: 0;
  width: 0;
  pointer-events: none;
  position: absolute;
  right: 100%;
  top: 50%;
}

.rel_dtl .howto .fukidashi:before {
  border-color: rgba(255, 0, 0, 0);
  border-top-width: 1em;
  border-bottom-width: 1em;
  border-left-width: 2em;
  border-right-width: 2em;
  margin-top: -1em;
  margin-right: 0;
  border-right-color:#0000ff;
}

.rel_dtl .howto .fukidashi:after {
  border-color: rgba(255, 255, 255, 0);
  border-top-width: 0.75em;
  border-bottom-width: 0.75em;
  border-left-width: 1.5em;
  border-right-width: 1.5em;
  margin-top: -0.75em;
  border-right-color: #ffffff;
}

.rel_dtl .howto .fukidashi span {
  font-size: 1.2em;
  font-weight: 500;
}

dl.contact {
  border: 1px solid;
  text-align: center;
  font-size: 1.2em;
  padding: 0.75em 0;
  line-height: 1.75em;
}

@media screen and (max-width: 899px) {
  .rel_bd {
    font-size: 12px;

  }

  .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 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;
  }

  .rel_ttl span {
    font-size: 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 {
    margin: 0 0.5em 1em;
  }

  .rel_txt .middle {
    font-size: 0.9em;
  }

  .rel_cont {
    margin: 0 0.5em 1em;
  }

  .rel_txt dl {
    font-size: 14px;
    padding: 0.5em 0;
    margin: 1em 0 0;
  }

  .rel_cont h4 span:nth-of-type(1) {
    display: block;
    text-align: center;
  }

  .rel_cont h4 span:nth-of-type(2) {
    text-align: right;
    display: block;
    margin: 0.25em 0 0;
    font-size: 0.9em;
  }

  .rel_cont dl {
    flex-wrap: wrap;
  }

  .rel_cont dl div {
    width: 32%;
  }

  .rel_cont dl div:nth-of-type(n+4) {
    margin: 1em 0 0;
  }

  .rel_dtl {
    margin: 0 0.5em 2em;
  }

  .rel_dtl .about {
    padding: 1em;
  }

  .rel_dtl .howto .qr {
    max-width: 25%;
  }

  a.dtl_link {
    font-size: 12px;
    margin: 0.5em 0 0;
  }

}