/* 横スクロール防止とヘッダー修正 */
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;
  }
  
  /* ハンバーガーメニューの修正（blogページ専用） */
  .hamburger-menu {
    flex-direction: column;
    justify-content: space-around;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    flex-shrink: 0;
  }
  
  @media (max-width: 900px) {
    .hamburger-menu {
      display: flex;
      position: relative;
      right: auto;
      top: auto;
      transform: none;
      margin-left: auto;
      margin-right: 8px;
      width: 30px;
      height: 30px;
    }
    
    .header__inner {
      justify-content: space-between;
      padding-right: 16px;
      align-items: center;
    }
  }
  
  @media (max-width: 600px) {
   
    .header__inner {
      padding-right: 16px;
    }
  }
  
  /* パンくずリスト */
  .breadcrumb {
    margin: 84px 5% 4px 5%;
    font-size: 0.8rem;
    color: #888;
  }
  
  .breadcrumb a {
    color: #1E4377;
    text-decoration: underline;
  }
  
  /* サービスタイトルエリア */
  .news-title-area {
    position: relative;
    width: 100vw;
    min-width: 320px;
    height: auto;
    opacity: 0;
    animation: titleAreaFadeIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s forwards;
  }
  
  @keyframes titleAreaFadeIn {
    to {
      opacity: 1;
    }
  }
  
  .news-title-whiteband {
    position: relative;
    top: 0; left: 0;
    width: 95vw;
    background: #fff;
    z-index: 2;
    display: flex;
    align-items: center;
    overflow: hidden;
    height: auto;
    border-radius: 0;
    transform: translateX(-30%);
    opacity: 0;
    animation: whiteBandSlideIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s forwards;
  }
  
  @keyframes whiteBandSlideIn {
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  .news-title-blueband {
    position: absolute;
    right: 0%;
    top: 50%;
    width: 95vw;
    height: 100%;
    background: linear-gradient(90deg, #387CDD 0%, #1E4377 100%);
    z-index: 1;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    pointer-events: none;
    transform: translateX(30%);
    opacity: 0;
    animation: blueBandSlideIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
  }
  
  @keyframes blueBandSlideIn {
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  .news-title-blueband-text {
    position: absolute;
    top: 75%;
    left: 5vw;
    transform: translateY(-50%);
    width: 100vw;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 0;
    padding-right: 80px;
    height: auto;
    margin: 0;
    opacity: 0;
    animation: blueTextFadeIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.8s forwards;
    padding-right: 150px;
  }
  
  @keyframes blueTextFadeIn {
    to {
      opacity: 1;
    }
  }
  
  .news-title-texts {
    margin-left: 10vw;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 80px;
    padding-bottom: 80px;
    opacity: 0;
    transform: translateY(20px);
    animation: whiteTextSlideUp 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s forwards;
  }
  
  @keyframes whiteTextSlideUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .news-title-bgmark {
    position: absolute;
    right: -333px;
    top: 50%;
    transform: translateY(-50%) scale(0.9);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: auto;
    opacity: 0;
    animation: logoScaleIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.0s forwards;
  }
  
  @keyframes logoScaleIn {
    to {
      opacity: 1;
      transform: translateY(-50%) scale(1);
    }
  }
  
  .news-title-bgmark img {
    width: 55%;
    object-fit: contain;
    display: block;
  }
  
  .news-title-ja {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 48px;
    font-weight: bold;
    color: #1E4377;
    line-height: 1.2;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: #fff;
    paint-order: stroke;
  }
  
  .news-title-en {
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    font-weight: normal;
    color: #1E4377;
    line-height: 1.2;
  }

  .news-search-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 16px 0px 16px;
    margin-top: 160px;
}

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

/* 検索・フィルターセクション */
.news-search-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 16px 0px 16px;
    margin-top: 160px;
  }
  
  .news-search-container {
    padding: 32px;
  }
  
  /* 検索ボックス */
  .blog-search-box {
    margin-bottom: 32px;
  }
  
  .blog-search-input-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
  }
  
 
  /* タグフィルター */
  .news-tags-section {
    /*border-top: 1px solid #E5E7EB;
    padding-top: 24px;*/
  }
  
  .news-tags-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1E4377;
    margin-bottom: 16px;
    text-align: center;
  }
  
  .news-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }
  
  .news-tag {
    padding: 8px 16px;
    border: 2px solid #E5E7EB;
    border-radius: 20px;
    background: #fff;
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .news-tag:hover {
    border-color: #1E4377;
    color: #1E4377;
  }
  
  .news-tag--active {
    background: #1E4377;
    border-color: #1E4377;
    color: #fff;
  }

  /* ニュース一覧セクション */
.news-list-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px 80px 16px;
  }
  
  .news-list-container {
    padding: 32px;
  }

  .news-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid #E5E7EB;
  }
  
  .news-list-count {
    font-size: 1rem;
    color: #666;
  }




  /* ページネーション */
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
  }
  
  .pagination-btn {
    padding: 8px 16px;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    background: #fff;
    color: #666;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .pagination-btn:hover:not(:disabled) {
    border-color: #1E4377;
    color: #1E4377;
  }
  
  .pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
  
  .pagination-numbers {
    display: flex;
    gap: 8px;
  }
  
  .pagination-number {
    width: 40px;
    height: 40px;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    background: #fff;
    color: #666;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .pagination-number:hover {
    border-color: #1E4377;
    color: #1E4377;
  }
  
  .pagination-number--active {
    background: #1E4377;
    border-color: #1E4377;
    color: #fff;
  }





.news__list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    justify-content: center;
    align-items: center;
    margin-bottom: 32px;
    width: 100%;
  }
  
  .news__item {
    background: #FFF;
    border-radius: 12px;
    padding: 24px 32px;
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: none;
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
  }
  
  .news__item:hover {
    background: #fff;
    box-shadow: 0 12px 32px rgba(30,67,119,0.15);
  }
  
  .news__item-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
  }
  
  .news__date {
    color: #1E4377;
    min-width: 96px;
    transition: color 0.3s ease;
    font-size: 1rem;
  }
  
  .news__item:hover .news__date {
    color: #387CDD;
  }
  
  .news__tags {
    display: flex;
    gap: 8px;
  }
  
  .news__tag {
    background: #29507a;
    color: #fff;
    border-radius: 32px;
    padding: 4px 16px;
    font-size: 0.8rem;
    transition: background 0.3s ease;
  }
  
  .news__item:hover .news__tag {
    background: #387CDD;
  }
  
  .news__tag--important {
    background: #e34a5c;
  }
  
  .news__item:hover .news__tag--important {
    background: #ff5a6d;
  }
  
  .news__title {
    font-size: 1.1rem;
    color: #1E4377;
    margin-bottom: 0;
    transition: color 0.3s ease;
    display: -webkit-box; /* 必須 */
    -webkit-box-orient: vertical; /* 必須 */
    -webkit-line-clamp: 1; /* 行数を制限 */
    overflow: hidden; /* はみ出た部分を非表示 */
    padding-right: 32px;
  }
  
  .news__item:hover .news__title {
    color: #387CDD;
  }
  
  .news__arrow {
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: transform 0.3s ease;
  }
  
  .news__item:hover .news__arrow {
    transform: translateY(-50%) translateX(10px);
  }
  
  .news__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;
    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;
    margin: 64px auto 0 auto;
  }
  
  .news__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;
  }
  
  .news__more:hover {
    background: #16325c;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(30, 67, 119, 0.3);
  }
  
  .news__more:hover::after {
    transform: translateX(8px);
    background: transparent;
    border-color: #fff;
  }


  @media (max-width: 900px) {
    .news__item {
      width: 100%;
  }
  .news__date {
    font-size: 0.9rem;
  }
  .news__title {
    font-size: 0.9rem;
}
.news-title-area {
  position: relative;
  width: 100vw;
  min-width: 320px;
  height: auto;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  opacity: 0;
  animation: titleAreaFadeIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s forwards;
}
.news-title-whiteband {
  position: relative;
  width: 95vw;
  background: #fff;
  z-index: 2;
  display: flex;
  align-items: center;
  overflow: hidden;
  height: auto;
  border-radius: 0;
  min-height: 80px;
  flex: 1 1 auto;
  transform: translateX(-25%);
  opacity: 0;
  animation: whiteBandSlideIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s forwards;
}
.news-title-texts {
  margin-left: 6vw;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 24px;
  padding-bottom: 24px;
  opacity: 0;
  transform: translateY(15px);
  animation: whiteTextSlideUp 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s forwards;
}
.news-title-ja {
  font-size: 32px;
}
.news-title-en {
  font-size: 18px;
}

.news-title-bgmark {
  position: absolute;
  right: -22rem;
  top: 50%;
  transform: translateY(-50%) scale(0.9);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: unset;
  height: 60px;
  opacity: 0;
  animation: logoScaleIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.0s forwards;
}
.news-title-bgmark img {
  width: 45%;
}
.news-title-blueband-text {
  opacity: 0;
  animation: blueTextFadeIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.8s forwards;
  padding-right: 32px;
}

  }

  @media (max-width: 600px) {
    .news__list {
      gap: 16px;
  }
    .news-search-container {
      padding: 32px 0;
  }
  .news__item {
    padding: 16px 16px;
}
.news__arrow {
  right: 16px;
}
  .news-list-container {
    padding: 32px 0;
}
.news__date {
  font-size: 0.8rem;
}
.news__title {
  font-size: 0.8rem;
}
.news-title-bgmark {
  right: -16rem;
}
.news-title-bgmark img {
  width: 55%;
  opacity: 0.5;
}
.news-title-blueband-text {
  font-size: 1rem;
  left: 3vw;
  padding-right: 48px;
}

  }