body {
    padding-top: 50px;
}
.company-hero{
  position: relative;
  background: url('../images/news_mv.jpg') center/cover no-repeat;
  height: 400px;
}

.company-hero::before{
  content:"";
  position:absolute;
  top:0; left:0; right:0; bottom:0;
  background: rgba(255,255,255,0.05);
  z-index: 0;
}

.hero-text-com{
  position: absolute;
  bottom: -50px; /* 画像の下にはみ出す量 */
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 300px;       /* 文字ボックスの幅を調整 */
  display: flex;
  flex-direction: column;
  align-items: center;
	border-radius:5px;
	text-align:center;
}
.hero-text-com h2,
.hero-text-com .subtitle-com{
  background: rgba(255,255,255,1);
  padding: 8px 15px;
  display: block;   /* 幅いっぱいに広げる */
  width: 100%;      /* 親の幅に合わせる */
  margin: 0;
}
.hero-text-com h2{
	border-radius:10px 10px 0 0;
}
.subtitle-com{
	border-radius:0 0 10px 10px;
}
.section-title{
  font-size: 50px;
  margin-bottom: 10px;
	margin-top:0 !important;
}

.subtitle-com{
  font-size: 1.2rem;
}
.news-list {
    gap: 50px;
    display: flex;
    flex-direction: column;
}
.page-news .news-card {
   margin-bottom: 0;
  	padding-bottom: 0; 
}
.news-card {
    max-width: none;
}
/* 一覧ページ専用 */
.page-news .news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-news .news-card {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid #eee;
}

.page-news .news-card a {
  display: flex;
  gap: 20px;
  text-decoration: none;
  color: inherit;
  width: 100%;
}

.page-news .news-thumb {
  width: 300px;
	height:100%;
  flex-shrink: 0;
}

.page-news .news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
	min-height:245px;
}

.page-news .news-content {
  flex: 1;
  position: relative;
	padding-right:20px;
}

.page-news .news-meta {
  font-size: 18px;
  margin-bottom: 5px;
}

.page-news .news-title {
  font-size: 20px;
  margin-bottom: 8px;
}

.page-news .news-summary {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
	padding-left: 16px;
}
.news-content {
  position: relative;
}

.news-more {
  position: absolute;
  right: 0;
  bottom: 0;
}
/* ?? more部分 */
.page-news .news-more {
  display: inline-block;
    margin: 20px;
    padding: 10px 30px;
    border-radius: 40px;
    border: 2px solid #1e90ff;
    color: #1e90ff;
    text-decoration: none;
    transition: 0.3s;
}
.page-news .news-more:hover{
	background:#1e90ff;
	color:#fff;
}
/* 矢印ちょい動く */
.page-news .news-card:hover .arrow {
  transform: translateX(5px);
  transition: 0.3s;
}
.news-title {
  margin-bottom: 10px;
  padding-bottom: 5px;
}
.inner {
    max-width: 950px;
    padding:0;
}
.pagination {
  display: flex !important;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.pagination a {
  display: inline-flex;
	align-items: center;       /* 縦中央 */
  justify-content: center; 
  min-width: 36px;
  padding: 8px 12px;
  text-align: center;
  border-radius: 6px;
  background: #f5f5f5;
  color: #333;
  text-decoration: none;
  font-size: 16px;
  transition: 0.3s;
}

/* hover */
.pagination a:hover {
  background: #ff7bac;
  color: #fff;
}

/* 現在ページ */
.pagination .active {
  background: #ff7bac;
  color: #fff;
  font-weight: bold;
}

/* 前後ボタン */
.pagination .prev,
.pagination .next {
  font-weight: bold;
}
section.cta-button {
    padding: 0 20px;
}
.recruit-cta.aos-init.aos-animate {
    padding-top: 30px;
}
#category-buttons {
    background: #FFD9E5;
    padding:50px;
}
.category-inner {
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 auto;
}
#category-buttons button {
  padding: 10px 16px;
  width: 180px;         /* 全ボタン同じ幅 */
  text-align: center;   /* 中央寄せ */
  border-radius: 999px;
  border: none;
  background-color: rgba(241, 90, 36, 0.5); /* 薄めオレンジ */
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  transition: 0.3s;
}

/* ホバー */
#category-buttons button:hover {
  background-color: #f15a24;
  color: #fff;
}

/* 選択中 */
#category-buttons button.active {
  background-color:#f15a24;
  color: #fff;
}
