/*award 変更*/
#award .award-cts.award-sponsor{
  border-bottom: none;
}

.award-vote{
  max-width: 675px;
  margin: 0 auto 50px;
  padding: 0 20px;
}

.award-vote .ttl{
  background-color: #118B3B;
}

.award-vote .post-dsc{
  letter-spacing: -0.04em;
}

.cts__lead-sub{
  padding: 0 35px;
  margin-bottom: 50px;
}

/* 授賞式の様子 */
#ceremony .ttl{
  background-color: #EB6D8E;
}

.gallery {
  margin-top: 40px;
}

.gallery .flex{
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  padding: 0 20px;
}

.gallery .flex li{
  width: calc((100% - 35px) / 2);
}

/* galleryモーダル */
/* モーダル */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
  pointer-events: none;
  opacity: 0;
  z-index: 100;
  background-color: rgba(120, 123, 131, 0.8);
}

/* モーダルがactiveの時 */
.modal.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* モーダル背景のオーバーレイ部分 */
.modal__overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

/* モーダル内のコンテンツ */
.modal__content {
  position: relative;
  background-color: #fff;
  width: 100%;
  max-width: 585px;
  height: 596px;
  padding: 55px 65px;
  border: solid 1px #EB6D8E;
}

.gallery-txt{
  font-size: 20px;
  font-weight: 400;
  color: #000;
  /* letter-spacing: 0.02em; */
  margin-top: 30px;
  text-align: justify;
}

.gallery-txt.ls20{
  letter-spacing: 0.05em;
}

.gallery-txt.ls50{
  letter-spacing: 0.07em;
}

/* モーダルを閉じるボタン */
.modal__close-btn {
  position: absolute;
  right: -20px;
  top: -20px;
  width: 53px;
  height: 53px;
  background: #EB6D8E;
  cursor: pointer;
  z-index: 10;
  border-radius: 50px;
}

.batsu {
  display: block;
  position: relative;
  width: 52px;
  height: 52px;
}

.batsu::before, .batsu::after { /* 共通設定 */
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px; /* 棒の幅（太さ） */
  height: 30px; /* 棒の高さ */
  background: #FFF;
}

.batsu::before {
  transform: translate(-50%,-50%) rotate(45deg);
}

.batsu::after {
  transform: translate(-50%,-50%) rotate(-45deg);
}

/* 前後矢印 */
.modal .swiper-button-next,
.modal .swiper-button-prev{
  top: initial;
  bottom: -2px;
  color: #898989;
  font-weight: 100;
}

.swiper-button-next{
  left: 50%;
  margin-left: 20px;
  font-size: 20px;
  display: block;
}

.swiper-button-prev{
  left: 50%;
  margin-left: -50px;
  font-size: 20px;
  top: initial;
  /* bottom: -5px; */
}

.swiper-button-next:after, .swiper-button-prev:after{
  display: none;
}

/* 数字 */
.swiper-pagination.swiper-pagination-fraction.swiper-pagination-horizontal{
  color: #fff;
}

span.swiper-pagination-current{
  color: #898989;
  font-size: 20px;
  margin-left: 5px;
  font-weight: 100;
}

span.swiper-pagination-total{
  display: none;
}
/* Swiperの矢印部分 */
/* @media (max-width: 768px) {
  .modal .swiper-button-next,
  .modal .swiper-button-prev {
    display: none;
  }
} */

/* 応募川柳について */
#apply{
  margin-bottom: 9em;
  margin-top: 9em;
}

#apply .ttl{
  background-color: #EB6D8E;
}

.graph-area{
  margin-top: 50px;
  padding: 0 10px;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 20px;
}

.apply-txt{
  max-width: 675px;
  margin: 50px auto 0 !important;
  padding: 0 20px;
}

@media screen and (max-width:767px) {
  .cts__lead{
    margin: 15px 0 !important;
  }
  .cts__lead-sub{
    padding: 0 15px;
  }
  /* 受賞作品発表 */
  .award-lead{
    font-size: 24px;
    margin: 20px auto 25px;
  }

  .award-vote .ttl{
    margin: 0;
  }

  /* 受賞作品 モーダル */
  .modal-container{
    display: flex;
    align-items: start;
  }

  .modal-body{
    max-width: 360px;
    width: 100%;
    margin: 0 auto;
  }

  .modal-close{
    width: 40px;
    height: 40px;
    top: -15px;
    right: -15px;
  }

  /* 犬山審査員からのコメント */
  .coment-ttl{
    font-size: 27px;
    line-height: 1.4;
    letter-spacing: -0.02em;
  }

  .coment-dsc{
    flex-direction: column;
    padding: 0 17px;
    margin-top: 10px;
  }

  .coment-txt{
    font-size: 17px;
    width: 100%;
    line-height: 1.3;
    letter-spacing: 0.02em;
  }

  .coment-dsc-r{
    width: 100%;
    align-items: end;
    display: flex;
    gap: 10px;
    margin-top: 20px;
  }

  .coment-dsc-r img{
    max-width: 105px;
    margin: 0;
  }

  .coment .judge__name{
    text-align: left;
  }

  .txt-cts {
    margin-top: 5em;
  }

  /* 授賞式の様子 */
  .gallery{
    margin-top: 25px;
  }

  .gallery .flex{
    flex-direction: row;
    justify-content: center;
    gap: 15px;
    padding: 0 15px;
  }

  .gallery .flex li{
    width: calc((100% - 50px) /2);
  }

  .gallery .flex::after{
    content: "";
    display: block;
    width: calc((100% - 50px) /2);
  }

  .modal__content{
    padding: 33.5px 35px;
    height: 365px;
  }

  .gallery-txt{
    font-size: 15px;
  }

  .modal__close-btn {
    right: -10px;
    top: -10px;
    width: 30px;
    height: 30px;
  }

  .batsu{
    width: 30px;
    height: 30px;
  }

  .batsu::before, .batsu::after{
    height: 20px;
  }

  span.swiper-pagination-current{
    font-size: 14px;
  }

  .swiper-button-next,.swiper-button-prev{
    font-size: 16px;
    height: 37px;
  }

  .swiper-button-next{
    margin-left: 10px;
  }

  .swiper-button-prev {
    margin-left: -37px;
  }

  .gallery-img{
    max-width: 300px;
    width: 100%;
    display: flex;
  }

  .gallery-txt{
    margin-top: 15px;
  }

  .gallery-txt.ls20{
    letter-spacing: 0.03em;
  }

  .gallery-txt.ls50 {
    letter-spacing: -0.03em;
  }

  .gallery-txt.ls-sp{
    letter-spacing: -0.06em;
  }

  /* 応募川柳について */
  #apply{
    margin-top: 2em;
    margin-bottom: 5em;
  }

  .graph-area{
    margin-top: 25px;
    gap: 20px;
    padding: 0 20px;
  }

  .graph-area li:first-child{
    max-width: 397px;
  }

  .apply-txt .txt{
    line-height: 1.56;
    text-align: justify;
  }
}