.recruit-section {
  margin: 4rem auto;
  padding: 1rem;
  max-width: 1000px;
}

.recruit-section h2 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--color-text);
}

.intro-message {
  max-width: 720px;         /* 横幅制限（お好みで調整） */
  margin: 0 auto 5rem auto; /* 中央寄せ＋下に余白 */
  line-height: 1.8;         /* 行間をやや広めにすると読みやすい */
  font-size: 1rem;          /* フォントサイズは調整自由 */
}

.recruit-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  column-gap: 2rem;
  row-gap: 3rem;
  justify-content: center;
}

.recruit-item {
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 0.8rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  font-size: 0.9rem;
}

.image-area {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 4px;
  background-color: #f3f3f3;
  margin-bottom: 0.5rem;
}

.image-area img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.image-area time {
  position: absolute;
  top: 4px;
  left: 6px;
  font-size: 0.75rem;
  font-weight: bold;
  color: rgba(0, 0, 0, 0.6);
  background: #ffffff;
  padding: 2px 6px;
  border-radius: 4px;
}

.recruit-item h3 {
  font-size: 1rem;
  margin: 0.5rem 0;
  line-height: 1.4;
  height: 1.4em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--color-text);
}

.recruit-item p {
  margin: 0;
  line-height: 1.4;
  max-height: calc(1.4em * 7);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  color: var(--color-text);
}

/* ハローワーク案内全体のラッパー */
.article-more {
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* 詳細+リンクを右寄せするブロック */
.hellowork-right-block {
  max-width: 500px;
  margin-left: auto;
  margin-right: 0;
  text-align: left;
  background-color: var(--color-bg);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  box-sizing: border-box;
}

.hellowork-right-block {
  max-width: 500px;
  margin-left: auto;
  margin-right: 0;
  text-align: left;
  background-color: var(--color-bg);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  box-sizing: border-box;
}

/* リンクスタイル */
.hellowork-link a {
  color: var(--color-link);
  text-decoration: underline;
}

.note-right {
  font-size: 0.7rem;
  text-align: right;
  margin-top: 0.6rem;
  color: var(--color-text);
}

/* ※お問い合わせメッセージ */
.note-message {
  font-size: 1rem;
  color: var(--color-text);
  text-align: left;
  margin: 1.5rem 0 0 0;
  max-width: 100%;
}

/* === リンク群：右寄せ === */
.service-links-wrapper {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin: 2em 0;
}

/* === 縦並び === */
.service-links {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

/* === 各リンク行 === */
.service-link {
  display: flex;
  align-items: center;
}

/* →アイコン */
.service-link .arrow {
  display: inline-block;
  width: 1.5em;
  text-align: right;
  color: var(--color-link);
  font-weight: bold;
}

/* テキストリンク */
.service-link a {
  color: var(--color-link);
  text-decoration: none;
  font-size: 1rem;
  margin-left: 0.3em;
}

.service-link a:hover {
  text-decoration: underline;
  color: var(--color-link-hover);
}

@media screen and (max-width: 768px) {
  .hellowork-right-block {
    margin-left: auto;
    margin-right: auto;
  }

  .note-message {
    margin: 1rem auto 0 auto;
    max-width: 100%;
  }

  .service-links-wrapper {
    justify-content: center;
  }
}
