.hero{
  position: relative;
  width: auto-fit;
}
.hero img{
  width: 100%;
  height: 100vh;
  object-fit: cover;
}
.umigame img{
  width: 100%;
  height: auto;
}

.title{
  position: absolute;
  z-index: 1;  
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: auto;
  font-size:42px;
  color: var(--clr-wh);
  text-align: center;
  text-shadow:1px 1px 2px var(--clr-fontbl) ;
}

.category_container{
  width:max(700px,75%) ;
  margin: 0 auto;
}
.category-section {
  margin: 2vw auto 0 auto;
}
.category-label {
  background: var(--clr-green);
  color: var(--clr-wh);
  font-size: 26px;
  font-weight: bold;
  text-align: center;
  padding: 1rem 0;
}

.category-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 90%;
  margin: 0 auto;
  padding:50px 0;
  gap:20px;
  line-height:2.1 ;
}
.category-message {
  width:80% ;
  font-size: 18px;
  text-align: top;
  padding:150px 0 200px 0 ;
  line-height: 3em;
  margin: 0 auto;
}


.category h3{
  text-align: center;
  font-size: 28px;
  font-weight: 200;
  padding:20px 0;
  width: 100%;
  margin:0 auto;
  border-top: 1px solid var(--clr-fontbl);
  border-bottom: 1px solid var(--clr-fontbl);
}

.news-card {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  align-items: flex-start;
  margin: 2rem auto;
  width: 100%;
}

.news-thumb img {
  width: 340px;
  height: 240px;
  object-fit: cover;
  display: block;
}

.news-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex: 1;
  min-width: 0;
}

.news-category {
  font-size: 14px;
  display: inline-block;
  color: var(--clr-fontgreen);
  padding-bottom: 0.1em;
  width: 100%;
}

.news-title {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  flex-wrap: wrap;
  letter-spacing: 0.04em;
  margin:0 0 0.5rem 0;
  padding-bottom: 0.2em;
  border-bottom: 1px solid var(--clr-fontgray);
}
.news-title a{
  color: var(--clr-fontgreen);
}
.news-title-main {
  font-size: 24px;
}

.news-date {
  font-size: 16px;
  color:var(--clr-fontgreen) ;
  font-weight: normal;
}

.news-summary {
  font-size: 16px;
}

.news-btn {
  align-self: flex-end;
  display: inline-block;
  background: #2477f7;
  color:var(--clr-wh);
  font-size: 14px;
  padding: 0.6em 2.2em;
  border-radius: 3px;
}
/* --- PC用スタイル --- */
@media (min-width: 768px) {
.news-btn:hover {
    background: #3296ff;
  }
}
/* --- モバイル用スタイル --- */
@media (max-width: 767px) {
.category_container {
    width:95vw;
  }
.category-section {
  margin: 2vw auto 0 auto;
  padding-top: 30px;
}
 .title {
   font-size: 18px;
   width: 95vw;
 }

 .category-main {
   flex-direction: column;
   width: 95vw;
 }

 .category-message {
   font-size: 16px;
   line-height: 1.8;
   padding: 0;
 }
 .category-message p{
  width:100% ;
 }
  .news-card {
    flex-direction: column;
    gap: 0.5rem;
    width: 95vw;
  }
  .news-thumb img {
    width: 95vw;
    height: auto;
  }
  .news-content {
    flex-direction: column;
  }
  .news-category {
    font-size: 14px;
    display: inline-block;
    padding-bottom: 0.2em;
    width: 95vw;
  }
  .news-title {
    gap: 0.1rem;
  }
  .news-title-main {
    font-size: 20px;
  }
  .news-date {
    font-size: 12px;
    font-weight:400;
  }
  .news-summary {
    font-size: 16px;
  }
  .news-btn {
    font-size: 12px;
    padding: 0.6em 2.2em;
    border-radius: 4px;
  }
}