@charset "UTF-8";

/* CSS Document */

/* ================================
CAST
================================ */

/* 写真サイズ比：主演 1／中段 0.85／下段 0.7 */
.cast_layout {
  --cast-gap: 15px;
  max-width: 775px;
  margin: 0 auto;
}

/* 2列：PC/SP共通 */
.cast_box1 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--cast-gap);
  width: calc((100% - 2 * var(--cast-gap)) * .7843137255 + var(--cast-gap));
  margin: 0 auto 82.5px;
}

/* 3列：PC/SP共通 */
.cast_box3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--cast-gap);
  width: 100%;
  margin: 0 auto 52.5px;
}

/* 主演と中段の区切り：主演側の下余白と合わせて配置 */
.cast_separator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 auto 75px;
  color: var(--accent1);
  font-size: 14px;
  line-height: 1;
}

@media screen and (max-width:767px) {
  .cast_separator {
    gap: 12px;
    margin-bottom: 54px;
    font-size: 12px;
  }
}

/* 中段2列は、中段3列と1枚あたりの大きさを揃える */
.cast_box1.cast_medium {
  width: calc((100% - 2 * var(--cast-gap)) * .6666666667 + var(--cast-gap));
  margin-bottom: 52.5px;
}

/* 中段・鍵本輝さんの段の下は広めに確保 */
.cast_box3.cast_medium,
.cast_box3.cast_gap_wide {
  margin-bottom: 82.5px;
}

.cast_box3.cast_small {
  width: calc((100% - 2 * var(--cast-gap)) * .8235294118 + 2 * var(--cast-gap));
}

/* 鈴木凌平さん〜松本ユキ子さんの2段の間は元の余白 */
.cast_box3.cast_gap_normal {
  margin-bottom: 35px;
}

.cast1,
.cast3 {
  width: 100%;
  min-width: 0;
}

.cast_img {
  box-sizing: border-box;
  border: 1px solid var(--line-main);
  padding: 7px;
  background-color: rgba(255,255,255,.35);
}

.cast_img img {
  display: block;
  width: 100%;
  height: auto;
}

.cast_text1 {
  margin: .6em 0 0;
  text-align: center;
  width: 100%;
}

.cast_name1 {
  display: block;
  color: var(--text-main);
  font-family: var(--font-editorial);
  font-weight: 700;
  font-size: clamp(14px, 2.3vw, 28px);
  letter-spacing: .04em;
  line-height: 1.5;
}

.cast_name2 {
  display: block;
  margin-top: 2px;
  color: var(--accent1);
  font-family: Georgia, serif;
  font-size: clamp(8px, 1vw, 11px);
  letter-spacing: .03em;
  line-height: 1.5;
}

.cast_name3 {
  display: block;
  color: var(--text-sub);
  font-size: clamp(13px, 1.5vw, 17px);
  font-weight: 600;
  line-height: 1.6;
}

/* SP：列数を維持し、メイン2名を大きく見せる */
@media screen and (max-width:767px) {
  .cast_layout {
    --cast-gap: 6px;
  }

  .cast_img {
    padding: 3px;
  }

  .cast_box1:not(.cast_medium) {
    width: 90%;
    gap: 10px;
    margin-bottom: 63px;
  }

  .cast_box1:not(.cast_medium) .cast_name1 {
    font-size: clamp(16px, 4.4vw, 24px);
  }

  .cast_box1:not(.cast_medium) .cast_name2 {
    font-size: 10px;
  }

  .cast_box1:not(.cast_medium) .cast_name3 {
    font-size: 13px;
  }

  .cast_box1,
  .cast_box3.cast_medium,
  .cast_box3.cast_gap_wide {
    margin-bottom: 52.5px;
  }

  .cast_box1.cast_medium,
  .cast_box3 {
    margin-bottom: 37.5px;
  }

  .cast_box3.cast_gap_normal {
    margin-bottom: 25px;
  }

  .cast_medium .cast_name1,
  .cast_small .cast_name1 {
    font-size: clamp(14px, 3.6vw, 24px);
    letter-spacing: 0;
  }
}

/* ================================
コメントボタン
================================ */
.comment_box {
  margin-top: 25px;
}

.comment_box a {
  width: 300px;
  color: #D2C183;
  font-weight: bold;
  background: linear-gradient(to bottom, #C6093A, #A91514);
  border: 1px solid var(--line-main);
  padding: 1.2rem 3rem;
  border-radius: 6px;
  transition: .3s;
}

.comment_box a:hover {
  color: #F4E5AE;
  background: linear-gradient(to bottom, #EA1D52, #D30C0A);
  border: 1px solid var(--line-hover);
  text-decoration: none;
}

/* ================================
STAFF
================================ */
.staff__name-wrap {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.staff__item .comment_box {
  margin-top: 0;
}

.staff__item .comment_box a {
  width: auto;
  padding: 0.6rem 1.6rem;
  font-size: 0.8em;
}

.staff__list {
  margin-top: 0.2em;
}

.staff__list2 {
  margin-top: 1.5em;
}

.staff__item {
  display: grid;
  grid-template-columns: 50% 50%;
  align-items: center;
  margin-bottom: 3px;
}

.staff__role {
  text-align: right;
  padding-right: 16px;
  box-sizing: border-box;
  color: var(--accent1);
  font-size: 0.80em;
}

.staff__name {
  text-align: left;
  padding-left: 10px;
  box-sizing: border-box;
}

.staff__big1 {
  font-size: 1.1em;
}

.staff__big2 {
  font-size: 1.3em;
}

.staff__big3 {
  font-size: 1.15em;
  font-weight: 800;
}

/* ================================
COMMENT
================================ */
.comment_list {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 30px;
}

.com_box_text1 {
  text-align: left;
  width: 92%;
  margin: 0 auto;
}

.com_box {
  position: relative;
  margin-top: 3em;
}

.com_box_inner {
  padding: 2.0rem 2.8rem;
  background-image: linear-gradient( to bottom, rgba(224,206,161,0.08) 0%, rgba(0,0,0,0.45) 100% );
}

.com_box::before, .com_box::after {
  content: "";
  width: 6em;
  height: 4em;
  position: absolute;
}

.com_box::before {
  border-top: 2px solid #867E69;
  border-left: 2px solid #99895C;
}

.com_box::after {
  border-bottom: 2px solid #99895C;
  border-right: 2px solid #867E69;
  right: 0;
  bottom: 0;
}

.com_box h3 {
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  margin: 0 0 .5em;
  font-size: 2.2rem;
  letter-spacing: 0.08em;
  text-shadow: 1px 1px 2px #0B0A07;
}

.com_box h3:first-letter {
  font-size: 1.4em;
  color: var(--accent1);
  ;
}

.com_text {
  margin: 0;
  font-weight: 400;
  color: #FFFFFF;
  line-height: 1.9;
  letter-spacing: 0.02em;
}

.comment_list .com_box:first-child {
  margin-top: 0;
}

/* =====================================
Tablet & Mobile (<=960px)
===================================== */
@media (max-width: 960px) {
  .cast_text1 {
    line-height: 1.4;
  }

  .cast_name_size1 {
    font-size: 125%;
  }

  .comment_box {
    margin-top: 20px;
  }

  .comment_box a {
    width: 280px;
    padding: 0.9rem 3rem;
  }

  .staff__item {
    grid-template-columns: 1fr;
    text-align: center;
    margin-bottom: 6px;
  }

  .staff__role, .staff__name {
    padding: 0;
    text-align: center;
    line-height: 1.35;
  }

  .staff__big1 {
    font-size: 1.05em;
  }

  .staff__big2 {
    font-size: 1.25em;
  }

  .com_box_text1 {
    width: 90%;
  }

}

/* =====================================
Mobile (<=700px)
===================================== */
@media (max-width: 700px) {
  .cast1c, .cast2c {
    font-size: 1.0em;
  }

  .cast9c {
    padding: 2px 0.6rem;
  }

  .cast1b {
    font-size: 1.6em;
  }

  .cast2b {
    font-size: 1.8em;
  }

  .cast9b {
    padding: 18px 0.6rem;
  }

  .com_box_inner {
    padding: 1.4rem 1.8rem;
    font-size: 1.5rem;
    line-height: 1.65;
  }

  .com_box h3 {
    margin: 0 0 .3em;
    font-size: 1.8rem;
  }

  .com_box {
    margin-top: 2.5em;
  }

  .comment_list {
    padding-top: 20px;
  }

}

/* =========================
   製作クレジット（PCは／、SPは改行）
========================= */
.staff__credits {
  margin-top: 55px;
  text-align: center;
}

.staff__credit {
  margin-top: 30px;
}

.staff__credit dt {
  margin-bottom: 8px;
  color: var(--accent1);
  font-size: 14px;
}

.staff__credit dd {
  font-size: 17px;
  line-height: 2;
}

@media (max-width: 960px) {
  .staff__credit dd {
    font-size: 15px;
  }
}
