/* ------------------------------
   Hero Section
------------------------------ */
.hero{
  margin-top: -24px;
  padding-bottom: 40px;
}
.hero-text{
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  column-gap: 80px;
  row-gap: 40px;
  padding-bottom: 64px;
}

body .hero-text .text-lg,
body .hero-text .hero-text-sub{
  line-height: 1.8;
}

.text-underline{
  white-space: nowrap;
  width: fit-content;
}

.hero-text-sub{
  white-space: nowrap;
  width: fit-content;
}

@media (max-width: 769px) {
  .hero-text-sub{
  white-space: wrap;
  width: fit-content;
}
}

/* ---------Hero Sectionのスライダー----------- */

.thumb-slider {
   width: 100%;
}

.thumb-viewport {
  overflow: hidden;
  padding: 16px 0px 8px;
}

.thumb-slide {
  position: relative;
  flex: 0 0 480px;
  height: 311px;
  border: 1px solid var(--color-text-primary);
  border-radius: 8px;
  background-color: #fff;
  overflow: visible;
}

.thumb-slide::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  width: 100%;
  height: 100%;
  background-color: #fff;
  border: 1px solid var(--color-text-primary);
  border-radius: 8px;
  z-index: -1;
}



/* 背面の四角 */
.thumb-slide::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  width: 100%;
  height: 100%;

  background-color: #fff;
  border: 1px solid var(--color-text-primary);
  border-radius: 8px;
  z-index: -1;
}

/* 画像 */

.thumb-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

/* タブ */

/* .thumb-slide::after {
  content: "＃イベント";
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11.64px;
  font-weight: 900;
  color:var(--color-text-primary);

  position: absolute;
  top: 8px;
  left: 8px;

  width: 90px;
  height: 23px;

  background-color: var(--color-accent); 
  border-radius: 3px;

  transform: translate(-24px, 0px) rotate(-34deg);

  z-index: 2; 
  pointer-events: none;
}
*/

/* ---------Hero Sectionのスライダーアニメーション----------- */

.thumb-track {
  display: flex;
  width: max-content; 
  gap: 48px;
  animation: infinite-slide 90s linear infinite;
}

@keyframes infinite-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------Newsの記事がない場合----------- */

.news-empty {
  width: 100%;
  text-align: center;
}

/* ---------Newsのボタンまわり----------- */

.btn-row{
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 80px;
  width: 100%;
}

/* ---------Projectの小見出し----------- */
.project-group-title{
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: var(--font-size-heading-sm);
  font-weight: var(--font-weight-black);
  line-height: 1.5;
  color: var(--color-text-primary);
  margin-bottom: 40px;
  gap: 24px;
}
 .project-group-title img{
   height: 64px;
   width: auto;
 }

 .project-groups{
  display: flex;
  flex-direction: column;
  gap: 40px;
 }

 
