/* ============================
   News List
============================ */

#news-list-page {
  padding: 100px 0;
}

.news-page-header {
  margin-bottom: 32px;
}

.news-page-header h1 {
  font-size: 42px;
  margin: 0 0 12px;
  line-height: 1.2;
}

.news-page-header p {
  margin: 0;
  color: #666;
  font-size: 16px;
  line-height: 1.6;
}

.news-list {
  display: flex;
  flex-direction: column;
}

.news-item {
  display: flex;
  align-items: center;
  gap: 24px;
  border-radius: 16px;
  padding: 24px 12px;

  border-bottom: 1px solid #e5e5e5;

  color: inherit;
  text-decoration: none;

  transition: 0.2s ease;
}

.news-item:hover {
  background: #f8f7ff;

  transform: translateY(-3px);

  box-shadow: 0 8px 24px rgba(106, 92, 255, 0.08);

  color: #6a5cff;
}

.news-item:hover .category {
  transform: scale(1.05);
}

.news-item .date {
  min-width: 110px;
}

.news-item .category {
  min-width: 110px;

  text-align: center;

  padding: 6px 12px;

  border-radius: 999px;

  font-size: 14px;
  font-weight: 700;
}

.news-item .category.recruit {
  background: #e1deff;
}

.news-item .category.info {
  background: #dff7ef;
}

.news-item .category.blog {
  background: #f7efdf;
}

.news-item .title {
  flex: 1;
}

.news-page-header .category {
  display: inline-flex;
  margin-bottom: 24px;
}

.news-body .common-buttons .btn {
  width: fit-content;
  white-space: nowrap;
  gap: 24px;
}

.news-body .common-buttons{
  justify-content:flex-end;
  margin-top:40px;
}

/* ============================
   SP
============================ */

@media (max-width: 768px) {

  #news-list-page {
    padding: 60px 0;
  }

  .news-page-header h1 {
    font-size: 36px;
  }

  .news-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

}

/* ============================
   News Detail
============================ */

.news-page-header {
  margin-bottom: 48px;
}

.news-lead {
  font-size: 18px;
  line-height: 1.9;
  color: #555;
}

.news-thumbnail {
  max-width: 1000px;
  margin: 40px auto 48px;

  border-radius: 24px;
  overflow: hidden;

  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

.news-thumbnail img {
  width: 100%;
  display: block;
}

.news-body {
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
  padding: 48px;

}

.news-body p {
  margin: 0 0 24px;

  line-height: 2;
  color: #555;
}

.news-body p:last-child {
  margin-bottom: 0;
}

@media (max-width:768px) {

  .news-page-header {
    margin-bottom: 32px;
  }

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

  .news-thumbnail {
    margin-bottom: 32px;
    border-radius: 16px;
  }

  .news-body {
    padding: 32px 24px;
  }

}