
h1 {
  font-size: 0;
}

/* chart
------------------------------ */
.chart-inner {
  padding: 60px 0 100px;
}

.chart-title {
	height: 36px;
	background-image: url(../images/chart/chart_title.png);
}

.chart-box-body {
  padding: 0 20px;
  background-color: transparent;
}

/* chart-img */
.chart-img {
  padding-top:145.2%;
  background-image: url(../images/chart/chart.png);
  background-repeat: no-repeat;
  background-size: contain;
  position: relative;
}

.chart-img__item {
  position: absolute;
}

.chart-img__item.large-img {
  width: 14.6%;
  height: 12%;
}

.chart-img__item.medium-img {
  width: 11.6%;
  height: 9.6%;
}

.chart-img__item.small-img {
  width: 10%;
  height: 6.9%;
}

.chart-img__item.is-sakai {
  top: 1.5%;
  left: 7.2%;
}

.chart-img__item.is-mitsuishi {
  top: 1.5%;
  left: 24.2%;
}

.chart-img__item.is-motora {
  top: 24.7%;
  left: 6.4%;
}

.chart-img__item.is-sato {
  top: 21.6%;
  left: 29.8%;
}

.chart-img__item.is-takahashi {
  top: 21.6%;
  left: 46.6%;
}

.chart-img__item.is-tozuka {
  top: 27.4%;
  left: 83.1%;
}

.chart-img__item.is-hotta {
  top: 49.6%;
  left: 7.2%;
}

.chart-img__item.is-yanai {
  top: 63.85%;
  left: 7.2%;
}

.chart-img__item.is-tanaka {
  top: 46.9%;
  left: 35.1%;
}

.chart-img__item.is-aoi {
  top: 63.8%;
  left: 29.7%;
}

.chart-img__item.is-mizusawa {
  top: 63.8%;
  left: 42.2%;
}

.chart-img__item.is-tatsuma {
  top: 49.6%;
  left: 59.4%;
}

.chart-img__item.is-yakushimaru {
  top: 49.6%;
  left: 77.5%;
}

.chart-img__item.is-narumi {
  top: 82.85%;
  left: 7.5%;
}

.chart-img__item.is-yoshida {
  top: 82.85%;
  left: 21.3%;
}

.chart-img__item.is-denden {
  top: 82.85%;
  left: 37.1%;
}

.chart-img__item.is-hoshida {
  top: 82.85%;
  left: 50.9%;
}

.chart-img__item.is-katayama {
  top: 82.85%;
  left: 64.7%;
}

/* -----PC（993px〜）---- */
@media screen and (min-width: 993px) {
  .chart-img__item:hover {
    cursor: pointer;
  }
}

/* -----SP（〜600px-)---- */
@media only screen and (max-width: 600px) {

  .chart-inner {
    padding: 30px 0;
  }

  .chart-title {
    height: 20px;
  }

}

/* modal
------------------------------ */
#modal{
  display: none;
}
.modal-area {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 40;
  overflow-y: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-wrap {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 40px);
  max-width: 500px;
  max-height: 100%;
}

.modal-close {
  font-size: 14px;
  margin-bottom: 5px;
  color: #fff;
  text-align: right;
}

.modal-hover:hover {
 display: inline-block;
}

.modal-icon {
  position: relative;
  top: 2px;
  left: 0;
  display: inline-block;
  margin-left: 5px;
  width: 14px;
  height: 14px;
  border: solid 1px #fff;
}

.modal-icon::before, .modal-icon::after {
  content: "";
  display: block;
  width: 80%;
  height: 1px;
  background-color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.modal-icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.modal-content {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  margin: auto;
  background-color: #000;
  border: solid 6px #ffce07;
}

.modal-img {
  padding: 0 15.5%;
}

.modal-img__act {
  padding-top: 103.94%;
  background-size: contain;
  background-repeat: no-repeat;
}

.modal-title {
  width: calc(100% + 2px);
  background-color: #ffce07;
  padding: 11px 14px;
  margin: -1px 0 0 -1px;
  font-size: 30px;
  line-height: 30px;
  font-weight: bold;
}

.modal-title.is-yakushimaru {
  font-size: 22px;
}

.modal-act {
  display: flex;
  align-items: center;
  color: #ffce07;
  font-size: 20px;
  line-height: 20px;
  padding: 20px 17px 30px;
}

.modal-act .text-small {
  padding-left: 5px;
  font-size: 12px;
  line-height: 12px;
}

.modal-act .text-red {
  color: #d80000;
}

.modal-info {
  color: #fff;
  font-size: 12px;
  padding: 30px 17px;
} 

/* modal用 個別写真 */
.modal-img__act.is-sakai {
  background-image: url(../images/chart/sakai.jpg);
}

.modal-img__act.is-mitsuishi {
  background-image: url(../images/chart/mitsuishi.jpg);
}

.modal-img__act.is-motora {
  background-image: url(../images/chart/motora.jpg);
}

.modal-img__act.is-sato {
  background-image: url(../images/chart/sato.jpg);
}

.modal-img__act.is-takahashi {
  background-image: url(../images/chart/takahashi.jpg);
}

.modal-img__act.is-tozuka {
  background-image: url(../images/chart/tozuka.jpg);
}

.modal-img__act.is-hotta {
  background-image: url(../images/chart/hotta.jpg);
}

.modal-img__act.is-yanai {
  background-image: url(../images/chart/yanai.jpg);
}

.modal-img__act.is-tanaka {
  background-image: url(../images/chart/tanaka.jpg);
}

.modal-img__act.is-aoi {
  background-image: url(../images/chart/aoi.jpg);
}

.modal-img__act.is-mizusawa {
  background-image: url(../images/chart/mizusawa.jpg);
}

.modal-img__act.is-tatsuma {
  background-image: url(../images/chart/tatsuma.jpg);
}

.modal-img__act.is-yakushimaru {
  background-image: url(../images/chart/yakushimaru.jpg);
}

.modal-img__act.is-narumi {
  background-image: url(../images/chart/narumi.jpg);
}

.modal-img__act.is-yoshida {
  background-image: url(../images/chart/yoshida.jpg);
}

.modal-img__act.is-denden {
  background-image: url(../images/chart/denden.jpg);
}

.modal-img__act.is-hoshida {
  background-image: url(../images/chart/hoshida.jpg);
}

.modal-img__act.is-katayama {
  background-image: url(../images/chart/katayama.jpg);
}


/* -----TAB（601px〜）文字サイズ切り替え---- */
@media screen and (min-width: 601px) {
  .modal-close {
    font-size: 21px;
  }
  
  .modal-icon {
    top: 4px;
    margin-left: 10px;
    width: 24px;
    height: 24px;
  }

  .modal-title {
    padding: 24px 20px 30px;
    font-size: 52px;
    line-height: 52px;
  }

  .modal-title.is-yakushimaru {
    font-size: 42px;
  }
  
  .modal-act {
    padding: 30px 20px;
    font-size: 30px;
    line-height: 30px;
  }
  
  .modal-act .text-small {
    font-size: 16px;
  }
  
  .modal-info {
    padding: 30px 20px;
    font-size: 22px;
  } 

}

/* -----PC（993px〜）---- */
@media screen and (min-width: 993px) {
  .modal-hover:hover {
    opacity: 0.5;
    cursor: pointer;
  }

  .modal-wrap {
    max-width: 960px;
  }

  .modal-content {
    position: relative;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    border: solid 10px #ffce07;
  }
  
  .modal-img {
    order: 1;
    width: 48%;
    padding: 20px;
  }
  
  .modal-name {
    order: 2;
    width: 52%;
  }

  .modal-title {
    width: 100%;
    margin-left: 0;
  }

  .modal-info {
    position: absolute;
    top: 186px;
    right: 0;
    width: 52%;
  }

}