@charset "UTF-8";
/* ============================================
  メディアクエリ・ホバー mixin（編集不要）
  768px、1200px
============================================ */
/* ============================================
  人物相関図
  ・chart.jpg（背景画像）の上に透明なリンク領域を絶対配置する
  ・リンクの位置・サイズは各ページのHTML側で指定する
    （.charaBox の style="--top:..; --left:..; --w:..; --h:.." ）
  ・基準サイズも HTML側の .chartWrap の style="--chart-w; --chart-h" で指定
  ★ このCSSは案件ごとに編集不要
============================================ */
.chartWrap {
  position: relative;
  width: 100%;
  margin: 0 auto;
}
.chartWrap > img {
  display: block;
  width: 100%;
}

.charaList {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* リンク領域（座標・サイズはHTMLの style から受け取る） */
.charaBox {
  position: absolute;
  top: calc(var(--top) / var(--chart-h) * 100%);
  left: calc(var(--left) / var(--chart-w) * 100%);
  width: calc(var(--w) / var(--chart-w) * 100%);
  height: calc(var(--h) / var(--chart-h) * 100%);
}
.charaBox a {
  display: block;
  overflow: hidden;
  width: 100%;
  height: 100%;
  color: #fff;
  text-indent: 120%;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}
@media (any-hover: hover) {
  .charaBox a {
    transition: all 0.3s ease-in;
  }
  .charaBox a:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
}

/* ============================================
  人物詳細モーダル（lity）
============================================ */
.lity {
  background-color: rgba(0, 0, 0, 0.6);
}

.lity-content:after {
  box-shadow: none;
}

.lity-close {
  position: absolute;
  top: -35px;
  right: -40px;
  color: var(--color-main);
}
.lity-close:active {
  top: -35px;
}
@media (max-width: 768px) {
  .lity-close {
    top: -50px;
    right: 12px;
  }
  .lity-close:active {
    top: -50px;
  }
}

.detail {
  position: relative;
  max-width: 65rem;
  overflow: hidden;
  border-radius: 7px;
  border: 2px solid #000;
  box-shadow: 0 0 0 8px var(--color-main);
  background-color: #fff;
}
@media (max-width: 768px) {
  .detail {
    width: 90%;
    margin: 0 auto;
  }
}
.detail__inner {
  padding: 1.2rem;
}
.detail__photo {
  margin: 1.2rem 1.2rem 0;
}
.detail__photo--square {
  max-width: 40rem;
  margin-right: auto;
  margin-left: auto;
}
@media (max-width: 768px) {
  .detail__photo--square {
    margin-right: 1.2rem;
    margin-left: 1.2rem;
  }
}
.detail__nameBox {
  position: relative;
  display: flex;
  align-items: flex-end;
  -moz-column-gap: 8px;
       column-gap: 8px;
  margin: 0 2.8rem 1.6rem;
  border-bottom: 1px dotted var(--color-main);
  color: #000;
}
.detail__nameBox .role {
  font-size: 4rem;
  font-weight: bold;
}
@media (max-width: 768px) {
  .detail__nameBox .role {
    font-size: 6vw;
  }
}
.detail__nameBox .role rt {
  padding-bottom: 2px;
  font-size: 1rem;
  text-align: center;
}
.detail__nameBox .actor {
  font-size: 2.8rem;
  font-weight: bold;
  padding-bottom: 0.2em;
}
@media (max-width: 768px) {
  .detail__nameBox .actor {
    font-size: 4.6vw;
  }
}
.detail__nameBox .actor::before {
  content: "/ ";
}
.detail__nameBox .actor span {
  font-size: 0.7em;
}
.detail__text {
  margin: 0 2.8rem 1.6rem;
  border-radius: 10px;
  font-size: 1.6rem;
  line-height: 1.5;
  overflow: auto;
  max-height: 6.6em;
  overscroll-behavior: contain;
  background-color: #fff;
}
@media (max-width: 768px) {
  .detail__text {
    max-height: 12em;
    font-size: 1.4rem;
  }
}/*# sourceMappingURL=chart.css.map */