/* 横スクロール防止とヘッダー修正 */
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;
  }

  .blog-card__category {
    font-size: 0.8rem;
    color: #1E4377;
    font-weight: 600;
    padding: 2px 8px;
    background: #F0F4FF;
    border-radius: 4px;
}

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

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

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

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

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

.blog-card__title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1E4377;
}

.blog-text{
  width: 100%;
}

/*他の記事*/

h2 {
  margin-bottom: 0px;
}

.other-blog-section{
  color: #1E4377;
  margin-top: 64px;
border-bottom: solid 1px #1E4377;
margin-bottom: 16px;
}

.other-blog-cards-grid {
  display: flex;
  gap: 24px;
  margin-bottom: 48px;
}

.other-blog-card {
  flex: 1;
  max-width: 300px;
  border: 1px solid #E5E7EB;
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: #fff;
}
.other-blog-card__image {
  position: relative;
  height: 160px;
  overflow: hidden;
}
.other-blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.other-blog-card__content
 {
    padding:16px;
}
.other-blog-card__meta {
  display: flex;
  justify-content: start;
  align-items: center;
  margin-bottom: 12px;
  gap: 8px;
}
.other-blog-card__date {
  font-size: 0.85rem;
  color: #666;
}
.other-blog-card__category {
  font-size: 0.8rem;
  color: #1E4377;
  font-weight: 600;
  padding: 2px 8px;
  background: #F0F4FF;
  border-radius: 4px;
}
h3.other-blog-card__title {
  font-size: 1rem;
  margin-top: 8px;
  color: #1E4377;
}

/*戻るボタン*/
.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;
}

/*.back__more:hover {
  background: #16325c;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 67, 119, 0.3);
}*/
.back__more:hover::after {
  transform: translateX(8px);
  background: transparent;
  border-color: #fff;
}
/*戻るボタンEND*/

@media (max-width: 1000px) {
  .other-blog-cards-grid {
    flex-wrap: wrap;
}
.other-blog-card {
  min-width: calc(50% - 12px);
}
}



@media (max-width: 900px) {
  .blog-deets-content {
    width: 100%;
    max-width: 600px;
    padding: 16px;
}

.blog-deets-container {
  padding: 32px 0px;
}

}

@media (max-width: 600px) {
  .other-blog-cards-grid {
    flex-wrap: wrap;
}
.other-blog-card {
  min-width: 100%;
}
}
