@charset "UTF-8";
/* CSS Document */

/* =========================== */
/* 福利厚生ページ ヘッダー */
/* =========================== */
.welfare-header {
  width: 100%;
  margin-top: 120px; /* ヘッダーの高さ分を確保 */
}

.welfare-header-img {
  width: 100%;
  height: auto; /* アスペクト比を保持 */
  display: block;
}

.welfare-header-sp {
  width: 100%;
  height: auto;
  display: block;
}
/* =========================== */
/* カテゴリーセクション 固定3カラム対応 */
/* =========================== */
.welfare-category-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* カテゴリー行：中央揃え＆3つ横並び（PC） */
.category-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* カテゴリーカラム（共通） */
.category-col {
  text-align: center;
}

/* 共通：画像にブロック幅を与える */
.welfare-category {
  display: inline-block;
  overflow: hidden;
}

/* 共通：画像内調整 */
.welfare-category img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

/* =========================== */
/* PC時（常に横並び・等幅） */
/* =========================== */
@media (min-width: 769px) {
  .category-col {
    flex: 0 0 calc((100% - 20px) / 3); /* gap考慮して3分割 */
  }

  .welfare-category {
    width: 100%;
    aspect-ratio: 360 / 233;
  }
}

/* =========================== */
/* スマホ時（113×73サイズ固定） */
/* =========================== */
@media (max-width: 768px) {
   .welfare-categories {
    padding-top: 20px !important;
    padding-bottom: 0 !important;
  }
.welfare-category-container {
    padding: 0 10px; /* ← 15px → 10px にして横幅いっぱいに近づける */
  }

  .category-row {
    gap: 6px; /* ← 10px → 6px にしてXDに近づける */
  }

  .category-col {
    flex: 0 0 113px; /* XD通りに固定 */
  }

  .welfare-category {
    aspect-ratio: 113 / 73; /* XDに合わせる */
  }
}

/* =========================== */
/* 共通：セクション幅制御（最大1200px） */
/* =========================== */
.welfare-detail,
.welfare-evaluation {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

/* =========================== */
/* セクションタイトル画像 */
/* =========================== */
.welfare-detail-title {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =========================== */
/* セクションタイトル見出し */
/* =========================== */
.welfare-section-title {
  font-size: 22px;
  font-weight: bold;
  color: #008E44;
  position: relative;
  margin-bottom: 20px;
  padding-left: 0;
}

/* =========================== */
/* 福利リスト内構造 */
/* =========================== */
.welfare-list {
  margin-bottom: 50px;
}

.welfare-item {
  padding: 20px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  border-bottom: 1px solid #ccc;
  font-size: 16px;
}

/* 最初の項目だけ上にもボーダーを付ける */
.welfare-list .welfare-item:first-of-type {
  border-top: 1px solid #ccc;
}

.welfare-item strong {
  display: inline-block;
  font-weight: bold;
  margin-bottom: 5px;
  color: #000;
}

/* =========================== */
/* レスポンシブ調整（スマホ用） */
/* =========================== */
@media (max-width: 768px) {
  .welfare-section-title {
    font-size: 1.1rem;
  }

  .welfare-item {
    flex-direction: column;
    padding: 20px 0;
  }

  .welfare-item strong {
    margin-bottom: 10px;
  }
}
/* =========================== */
/* 認定マークセクション XDデザイン準拠 */
/* =========================== */
.certification-container {
  display: flex;
  flex-direction: row;
  align-items: center; /* ★ 中央揃えに変更 */
  justify-content: space-between;
  gap: 60px;
  background-color: #fff;
  flex-wrap: nowrap;
  padding:50px;
}

.certification-title-area {
  flex: 0 0 35%; /* ★ 幅広めに変更 */
}

.certification-title {
  font-size: 1.8rem; /* ★ 少し大きめに */
  font-weight: bold;
  line-height: 1.6;
  margin: 0;
  text-align: center;
}

.certification-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px; /* ゆったり配置 */
}

.certification-item {
  display: flex;
  gap: 25px;
  align-items: center; /* ★ 縦中央揃えに変更 */
}

.cert-icon {
  width: 100px; /* ★ アイコンを大きめに */
  flex-shrink: 0;
}

.cert-icon img {
  max-width: 100%;
  height: auto;
}

.cert-content {
  flex: 1;
}

.cert-title {
  font-size: 18px;
  margin-bottom: 6px;
}

.cert-text {
  font-size: 16px;
  margin-bottom: 5px;
  line-height: 1.6;
}

.cert-details {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 15px;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* =========================== */
/* スマホ調整（そのままでも問題なし） */
/* =========================== */
@media (max-width: 768px) {
  .certification-container {
    flex-direction: column;
    align-items: stretch;
	padding:20px;
  }

  .certification-title-area {
    width: 100%;
    text-align: center;
    margin-bottom: 10px!important; 

  }

  .certification-title {
	  flex: 0;
    font-size: 18px;
    margin-bottom: 0!important;
  }
	.cert-title{
		font-size: 16px;
	}
	.cert-text{
		font-size: 14px;
	}
  .certification-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .cert-icon {
    margin-bottom: 15px;
  }
	.cert-content{
		width: 100%;
		text-align: left!important;
	}
  .cert-details {
		font-size: 14px;
	  text-align: left!important;
  }
}
