/* === 記事セクション全体 === */
.article-section {
  margin: 4rem auto;
  padding: 1rem;
  max-width: 1000px;
}

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

/* === グリッドレイアウト === */
.article-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  column-gap: 2rem;
  row-gap: 3rem;
}

/* === 記事ボックス === */
.article-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;
}

.load-more-wrapper{
  text-align:center;
  margin-top:1rem;       /* お好みで */
  font-size:0.9rem;      /* お好みで */
}

.load-more-wrapper a{
  color:var(--color-link);
  text-decoration:underline;
}

/* === 画像エリア === */
.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;
}

/* === タイトル === */
.article-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);
}

/* === 説明文 === */
.article-item p {
  margin: 0;
  line-height: 1.4;
  height: calc(1.4em * 3);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  color: var(--color-text);
}

/* === moreリンク === */
.article-more {
  text-align: right;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.article-more a {
  color: var(--color-link);
  text-decoration: underline;
}

/* === 記事なしメッセージ === */
.no-article-msg {
  grid-column: 1 / -1;
  text-align: center;
  color: #666;
  font-style: italic;
  font-size: 0.95rem;
  margin: 2rem 0;
}

/* === リンク群（共通） === */
.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) {
  .service-links-wrapper {
    justify-content: center;
  }
}
