/**
 * TOP NEWS スライダー（固定カード高・正方形画像・余白フィット）
 */

main section#topMainSct .whatsB .newsBlock {
  position: relative;
  padding-right: 10%;
  margin: 6.5em 0 7em;
}
@media screen and (max-width: 599px) {
  main section#topMainSct .whatsB .newsBlock {
    padding-right: 4%;
    margin: 4.5em 0 6.5em;
  }
}

main section#topMainSct .whatsB .newsBlock .newsHead {
  display: block;
  text-align: center;
  font-size: 220%;
  line-height: 1;
  margin-bottom: 0.6em;
  color: #10100e;
}
@media screen and (max-width: 599px) {
  main section#topMainSct .whatsB .newsBlock .newsHead {
    font-size: 220%;
  }
}

main section#topMainSct .whatsB .newsSlider {
  position: relative;
}

main section#topMainSct .whatsB .newsSlider ul {
  margin: 0;
  padding: 0;
}

/* 1件（空プレースホルダー含む）: Slick せず中央寄せ */
main section#topMainSct .whatsB .newsSlider.is-single ul {
  display: flex;
  justify-content: center;
  align-items: stretch;
  list-style: none;
}
main section#topMainSct .whatsB .newsSlider.is-single ul li {
  box-sizing: border-box;
  width: 32%;
  max-width: 20em;
  flex: 0 1 32%;
  padding: 0.3em;
}
main section#topMainSct .whatsB .newsSlider.is-single ul li a {
  /* 通常の current スライド相当（scale 1） */
  transform: none;
}
@media screen and (max-width: 599px) {
  main section#topMainSct .whatsB .newsSlider.is-single ul li {
    width: 84%;
    max-width: none;
    flex: 0 1 84%;
  }
}

main section#topMainSct .whatsB .newsSlider ul li {
  padding: 0.3em;
}

main section#topMainSct .whatsB .newsSlider ul li a {
  display: flex;
  flex-direction: column;
  height: auto; /* カード自体は可変。内部の固定高の合計で揃う */
  background: #fff;
  padding: 1em 1.15em 0;
  border-radius: 0.8em;
  box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  overflow: hidden;
}
@media screen and (max-width: 599px) {
  main section#topMainSct .whatsB .newsSlider ul li a {
    padding: 0.95em 1em 0;
  }
}

main section#topMainSct .whatsB .newsSlider ul li .hash {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  height: 1.25em;
  margin: 0 0 0.2em;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #53bd97;
  font-size: 95%;
  line-height: 1.15;
  overflow: hidden;
}

main section#topMainSct .whatsB .newsSlider ul li .ttl {
  /* TOPネーム用 .ttl（top:-6.6em 等）の上書き */
  position: static;
  top: auto;
  right: auto;
  width: auto;
  display: -webkit-box;
  flex: 0 0 auto;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 85%;
  font-weight: 700;
  line-height: 1.3;
  height: 2.6em; /* 2行固定 */
  margin: 0 0 0.25em;
  color: #10100e;
}

main section#topMainSct .whatsB .newsSlider ul li .txt {
  /* whatsB 紹介文用 .txt（width:57% 等）の上書き */
  position: static;
  width: auto;
  display: -webkit-box;
  flex: 0 0 auto;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  font-size: 68%;
  line-height: 1.35;
  height: 4.05em; /* 3行固定 */
  margin: 0 0 0.45em;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #686868;
}

main section#topMainSct .whatsB .newsSlider ul li .imgFrame {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 1 / 1; /* 正方形固定 → スライド幅が同じなら画像枠高も揃う */
  height: auto;
  background: #fdffd8;
  border-radius: 0.35em;
  overflow: hidden;
  margin: 0;
}

main section#topMainSct .whatsB .newsSlider ul li .imgFrame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

main section#topMainSct .whatsB .newsSlider ul li .date {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: 1.3em;
  /* 画像下端〜カード下端の中間に来るよう上下余白を均等に */
  margin: 0.75em 0;
  text-align: center;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 95%;
  line-height: 1.2;
}

@media screen and (max-width: 599px) {
  main section#topMainSct .whatsB .newsSlider ul li .hash {
    font-size: 120%;
    height: 1.4em;
  }
  main section#topMainSct .whatsB .newsSlider ul li .ttl {
    font-size: 108%;
    height: 2.6em;
  }
  main section#topMainSct .whatsB .newsSlider ul li .txt {
    font-size: 90%;
    height: 4.05em;
  }
  main section#topMainSct .whatsB .newsSlider ul li .date {
    font-size: 120%;
    height: 1.45em;
  }
}

main section#topMainSct .whatsB .newsSlider ul li.slick-slide a {
  transform: scale(0.8);
  transition: all 1s;
}
main section#topMainSct .whatsB .newsSlider ul li.slick-current a {
  transform: scale(1);
  transition: all 1s;
}

main section#topMainSct .whatsB .newsSlider .prev,
main section#topMainSct .whatsB .newsSlider .next {
  position: absolute;
  z-index: 50;
  top: 42%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  width: 2.8em;
  height: 2.8em;
  padding: 0;
  margin: 0;
  border: 0.14em solid #53bd97;
  border-radius: 50%;
  background: #10100e;
  box-shadow: 0 0.15em 0.4em rgba(16, 16, 14, 0.28);
  box-sizing: border-box;
  appearance: none;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
main section#topMainSct .whatsB .newsSlider .prev {
  left: -0.2em;
}
main section#topMainSct .whatsB .newsSlider .next {
  right: -0.2em;
}
main section#topMainSct .whatsB .newsSlider .prev img,
main section#topMainSct .whatsB .newsSlider .next img {
  display: block;
  width: 52%;
  height: auto;
  pointer-events: none;
  transition: filter 0.25s ease;
}
main section#topMainSct .whatsB .newsSlider .prev:hover,
main section#topMainSct .whatsB .newsSlider .next:hover {
  background: #53bd97;
  border-color: #53bd97;
  opacity: 1;
  transform: scale(1.06);
}
main section#topMainSct .whatsB .newsSlider .prev:hover img,
main section#topMainSct .whatsB .newsSlider .next:hover img {
  /* 緑矢印 → 濃色 */
  filter: brightness(0) saturate(100%);
}
main section#topMainSct .whatsB .newsSlider .prev:focus-visible,
main section#topMainSct .whatsB .newsSlider .next:focus-visible {
  outline: 2px solid #e3ca49;
  outline-offset: 3px;
}
@media screen and (max-width: 599px) {
  main section#topMainSct .whatsB .newsSlider .prev,
  main section#topMainSct .whatsB .newsSlider .next {
    display: none !important;
  }
}

main section#topMainSct .whatsB .newsSlider .slick-dots {
  position: relative;
  bottom: auto;
  margin-top: 0.8em;
}
main section#topMainSct .whatsB .newsSlider .slick-dots li button:before {
  color: #53bd97;
  opacity: 0.35;
  font-size: 10px;
}
main section#topMainSct .whatsB .newsSlider .slick-dots li.slick-active button:before {
  color: #53bd97;
  opacity: 1;
}

main section#topMainSct .whatsB .newsBlock .newsMore {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  margin-top: 1.6em;
}
main section#topMainSct .whatsB .newsBlock .newsMore a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  background: #53bd97;
  color: #fff;
  font-size: 160%;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  /* 文字側・三角側の外側余白を揃える */
  padding: 0.45em 1em;
  border-radius: 3em;
  text-decoration: none;
  box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.2);
  transition: background-color 0.25s ease, transform 0.25s ease;
}
main section#topMainSct .whatsB .newsBlock .newsMore a:hover {
  background-color: #45a884;
  transform: translateY(-1px);
}
main section#topMainSct .whatsB .newsBlock .newsMore a:focus-visible {
  outline: 2px solid #e3ca49;
  outline-offset: 3px;
}
main section#topMainSct .whatsB .newsBlock .newsMore a span.fnt-bcb {
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
  line-height: 1;
}
main section#topMainSct .whatsB .newsBlock .newsMore a span::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.26em 0 0.26em 0.4em;
  border-color: transparent transparent transparent #e3ca49;
  flex: 0 0 auto;
  /* Barlow Condensed の視覚中心に合わせて微調整 */
  transform: translateY(0.05em);
}
@media screen and (max-width: 599px) {
  main section#topMainSct .whatsB .newsBlock .newsMore {
    margin-top: 1.3em;
  }
  main section#topMainSct .whatsB .newsBlock .newsMore a {
    width: 88%;
    font-size: 200%;
    padding: 0.5em 1em;
  }
}
