.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  z-index: 10000;
}
.overlay.transparent {
  opacity: 0;
}
.modal-window {
  display: none;
  position: fixed;
  z-index: 10001;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.modal-window.taishin-modal {
  background: #fff;
  border-radius: 10px;
  width: 650px;
  padding: 20px 25px 25px;
  height: auto;
}
.modal-window.data-modal {
  width: 1080px;
  margin: 0 auto;
}
@media screen and (max-width: 767px) {
  .modal-window.taishin-modal {
    width: calc(100% - 30px);
    padding: 10px 15px 15px;
    border-radius: 10px 0 10px 10px;
  }
  .modal-window.data-modal {
    width: calc(100% - 30px);
  }
}
.modal-window.data-modal > div {
  background-color: rgba(51, 51, 51, 0.9);
  width: 770px;
  margin: 0 0 0 auto;
  padding: 10px 20px;
  border-radius: 5px 0 5px 5px;
}
@media screen and (max-width: 767px) {
  .modal-window.data-modal > div {
    width: 100%;
  }
}
.modal-window.data-modal > div p,
.modal-window.data-modal > div p a {
  color: #fff;
  font-weight: 200;
}
.modal-window.data-modal > div p a {
  text-decoration: underline;
}
.taishinBox p {
  font-size: 1.4rem;
}
@media screen and (max-width: 767px) {
  .taishinBox > p {
    font-size: 1.1rem;
  }
}
.taishinBox > .ttl p {
  font-size: 1.6rem;
  font-weight: 800;
}
@media screen and (max-width: 767px) {
  .taishinBox > .ttl p {
    font-size: 1.4rem;
  }
}
.taishinBox .taishin-table {
  margin-top: 20px;
}
@media screen and (max-width: 767px) {
  .taishinBox .taishin-table {
    margin-top: 10px;
  }
}
.taishinBox .taishin-table table {
  border: solid 1px #c8c8c8;
  border-radius: 10px;
  width: 510px;
  margin: 0 auto;
}
@media screen and (max-width: 767px) {
  .taishinBox .taishin-table table {
    width: 100%;
  }
}
.taishinBox .taishin-table table tr:first-of-type th:first-of-type {
  width: 23%;
}
.taishinBox .taishin-table table tr:first-of-type th:nth-of-type(2) {
  width: 35%;
}
.taishinBox .taishin-table table tr:first-of-type th:nth-of-type(3) {
  width: 42%;
}
.taishinBox .taishin-table table tr:first-of-type th {
  border-bottom: solid 1px #c8c8c8;
}
@media screen and (min-width: 768px) {
  .taishinBox .taishin-table table tr th,
  .taishinBox .taishin-table table tr td {
    vertical-align: middle;
  }
}
.taishinBox .taishin-table table tr:not(:first-of-type):not(:last-of-type) th,
.taishinBox .taishin-table table tr:not(:first-of-type):not(:last-of-type) td {
  border-bottom: solid 1px #c8c8c8;
}
.taishin-table table tr th:not(:last-of-type),
.taishin-table table tr td:not(:last-of-type),
.taishin-table table tr:not(:first-of-type) th {
  border-right: solid 1px #c8c8c8;
}
.taishinBox .taishin-table table th {
  background: #c0e1e8;
}
.taishinBox .taishin-table table th.top-left {
  border-top-left-radius: 10px;
}
.taishinBox .taishin-table table th.top-right {
  border-top-right-radius: 10px;
}
.taishinBox .taishin-table table th.bottom-left {
  border-bottom-left-radius: 10px;
}
.taishinBox .taishin-table table th,
.taishinBox .taishin-table table td {
  padding: 10px;
}
.taishinBox .taishin-table table .ttl p {
  line-height: 1.3;
}
.taishinBox .taishin-table table .ttl span {
  font-size: 1.2rem;
}
.taishinBox .taishin-table table .box {
  text-align: center;
}
.taishinBox .taishin-table table .box p:not(.ttl) {
  font-size: 1.2rem;
  background: #c0e1e8;
  display: inline-block;
  padding: 2px 10px;
  margin: 6px 0 8px;
  position: relative;
  color: #017f9d;
  font-weight: 800;
}
@media screen and (max-width: 767px) {
  .taishinBox .taishin-table table .box p:not(.ttl) {
    line-height: 1.2;
    padding: 4px 10px;
  }
}
.taishinBox .taishin-table table .box .ttl {
  display: block;
  font-weight: 800;
}
.taishinBox .taishin-table table .box:not(.no-img) p:not(.ttl)::before {
  content: "";
  position: absolute;
  display: inline-block;
  width: 0;
  height: 0;
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
  border-bottom: 12px solid #c0e1e8;
  border-top: 0;
  left: calc(50% - 6px);
  top: -8px;
}
.taishinBox .taishin-table table .box figure {
  width: 90px;
  margin: auto;
}
@media screen and (max-width: 767px) {
  .taishinBox .taishin-table table .box figure {
    width: 50px;
  }
}
.taishin-modal .button-close {
  top: 10px;
  right: 10px;
  cursor: pointer;
  display: block;
  position: absolute;
  width: 30px;
  height: 30px;
  background: #484848;
  border-radius: 3px;
  padding: 4px;
  padding-left: 20px;
  font-size: 1.4rem;
  color: #333;
}
.modal-window.data-modal .button-close {
  top: 10px;
  right: 10px;
  cursor: pointer;
  display: block;
  position: absolute;
  width: 30px;
  height: 30px;
  background: #fff;
  border: solid 1px #a5a5a5;
  border-radius: 3px;
  padding: 4px;
  padding-left: 20px;
  font-size: 1.4rem;
  color: #333;
  top: -15px;
  right: -8px;
}
@media screen and (max-width: 767px) {
  .taishin-modal .button-close {
    top: -30px;
    right: 0;
    border-radius: 3px 3px 0 0;
  }
  .modal-window.data-modal .button-close {
    border-radius: 3px;
  }
}
.modal-window.data-modal .button-close::before,
.modal-window.data-modal .button-close::after,
.taishin-modal .button-close::before,
.taishin-modal .button-close::after {
  /* 共通設定 */
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px; /* 棒の幅（太さ） */
  height: 28px; /* 棒の高さ */
  background: #fff;
  border-radius: 2.5px;
}
.modal-window.data-modal .button-close::before,
.modal-window.data-modal .button-close::after {
  background: #333;
}
.button-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.button-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
@media screen and (max-width: 767px) {
  main.trend-detail ~ footer .footer-gotoTop.is-fixed {
    bottom: 85px;
  }
}
