/* 横スクロール防止とヘッダー修正 */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }
  
  .header {
    width: 100%;
    overflow-x: hidden;
  }
  
  .header__inner {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* パンくずリスト */
.breadcrumb {
  margin: 84px 5% 4px 5%;
  font-size: 0.8rem;
  color: #888;
  }

  .breadcrumb a {
    color: #1E4377;
    text-decoration: underline;
  }
  .news-card__category-flex {
    display: flex;
    gap: 8px;
}
  .news-card__category {
    font-size: 0.8rem;
    color: #FFF;
    font-weight: 600;
    padding: 2px 8px;
    background: #F0F4FF;
    border-radius: 16px;
}
.info {
  background-color: #1E4377;
}
.significant {
  background-color: #E63946;
}

.news-deets-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px 80px 16px;
}

.news-deets-container {
  padding: 32px;
}

.news-deets-content{
  width: 70%;
  margin: auto;
  background-color: #FFF;
  padding: 32px
}

.news-card__image {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 32px 0;
}

.news-card__date {
  font-size: 1rem;
  color: #888;
}

.news-card__title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1E4377;
}

.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-text{
  width: 100%;
}

/*戻るボタン*/
.back__more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1E4377;
  color: #fff;
  font-weight: 700;
  border-radius: 50px;
  padding: 16px 32px 16px 64px;
  margin: 32px auto 0 auto;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(30, 67, 119, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  min-width: 200px;
  max-width: fit-content;
  width: auto;
}
.back__animate-item.animate {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s cubic-bezier(0.4, 0.0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0.0, 0.2, 1);
}
.back__more.services__animate-item.animate {
  transition-delay: 300ms;
}
.back__more::after {
  content: '→';
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 2px solid #fff;
  transition: transform 0.3s ease;
  margin-left: 32px;
}


@media (max-width: 900px) {
  .news-deets-container
 {
    padding: 32px 0;
}
  .news-deets-content {
    width: 100%;
    max-width: 600px;
}
}