/* =================================================
 * Archive 共通 見出し（front と完全一致）
 * ================================================= */

.lc-section-title {
  margin-top: 64px;
  margin-bottom: 24px;
  color: var(--lc-accent-color);
  font-size: 1.8rem;
  line-height: 1.4;
  position: relative;
  display: inline-block;
}

.lc-section-sub {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #9e9e9e;
  text-transform: uppercase;
}

/* =================================================
 * Section Lead（共通）
 * ================================================= */

.lc-section-lead {
  margin: 0 auto 32px;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 48px;
}


/* =================================================
 * Archive 共通 セクションラッパ
 * ================================================= */

.lc-archive-section {
  padding: 0 0 2.5rem 0;
}

.lc-archive-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}


/* =================================================
 * お知らせ（News Archive）
 * ================================================= */

/* 見出し */
.lc-archive-header .lc-section-title {
  font-weight: 700;
}

/* トップへ戻る（共通クラスに合わせる） */
.lc-archive-header .lc-archive-back {
  position: relative;
  padding-right: 2.2rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #333;
  text-decoration: none;
}

/* 丸アイコン */
.lc-archive-header .lc-archive-back::after {
  content: "›";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: var(--lc-accent-color);
  color: #fff;
  font-size: 1rem;
  line-height: 1.2rem;
  text-align: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lc-archive-header .lc-archive-back:hover::after {
  background: #1f6fe0;
  transform: translate(3px, -50%);
}


/* list */
.lc-news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

/* item */
.lc-news-item {
  background: #f7f7f7;
  border-bottom: 1px solid #e5e7eb;
}

.lc-news-item:last-child {
  border-bottom: 1px solid #e5e7eb;
}

/* link */
.lc-news-link {
  display: grid;
  grid-template-columns: 7rem 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.8rem 1.25rem;
  text-decoration: none;
  color: inherit;
}

/* date */
.lc-news-date {
  font-size: 0.75rem;
  color: #888;
  white-space: nowrap;
}

/* title */
.lc-news-title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}

/* arrow */
.lc-news-arrow {
  color: #555;
  font-size: 25px;
  transition: transform 0.2s ease;
}

.lc-news-link:hover .lc-news-arrow {
  transform: translateX(4px);
}

/* SP */

@media (max-width: 768px) {
  .lc-news-link {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 1.2rem 1rem;
  }

  .lc-news-arrow {
    display: none;
  }
}



/* =================================================
 * Service Archive（front-page と完全共通）
 * ================================================= */

.lc-service-item h3 {
  margin: 0;
}

.lc-service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.lc-service-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

@media (max-width: 1024px) {
  .lc-service-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .lc-service-cards {
    grid-template-columns: 1fr;
  }
}

.lc-service-item {
  border: 1px solid #e5e5e5;
  border-left: none;
  border-top: none;
}

.lc-service-item:nth-child(-n+3) {
  border-top: 1px solid #e5e5e5;
}

.lc-service-item:nth-child(3n+1) {
  border-left: 1px solid #e5e5e5;
}

@media (max-width: 1024px) {
  .lc-service-item {
    border-left: none;
    border-top: none;
  }

  .lc-service-item:nth-child(-n+2) {
    border-top: 1px solid #e5e5e5;
  }

  .lc-service-item:nth-child(2n+1) {
    border-left: 1px solid #e5e5e5;
  }
}


.lc-service-card {
  display: block;
  background: #fff;
  text-decoration: none;
  color: inherit;
}

.lc-service-thumb {
  position: relative;
  overflow: hidden;
}

.lc-service-thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.lc-service-card:hover .lc-service-thumb img {
  transform: scale(1.08);
}

.lc-service-body {
  padding: 22px 24px 28px;
}

.lc-service-title {
  margin: 0 0 12px;
  font-size: 1.25rem;
  text-align: center;
  position: relative;
  padding-bottom: 12px;
}

.lc-service-title::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: #e0e0e0;
  margin: 12px auto 0;
}

.lc-service-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #555;
  text-align: center;
}

/* Service Archive : 件数別レイアウト調整 */

/* 1件のみ */
body.archive
.lc-service-list:has(> .lc-service-item:only-child)
.lc-service-thumb img {
  height: 300px;
}

body.archive
.lc-service-list:has(> .lc-service-item:nth-child(2):last-child)
.lc-service-thumb img {
  height: 260px;
}

@media (max-width: 767px) {
  .lc-service-item {
    border: 1px solid #e5e5e5;
    margin-bottom: 30px;
  }
}


/* =================================================
 * Blog Cards（共通：front / archive）
 * ================================================= */

.lc-blog-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
@media (max-width: 1024px) {
  .lc-blog-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .lc-blog-list {
    grid-template-columns: 1fr;
  }
}


.lc-blog-item {
  border: 1px solid #e5e5e5;
  background: #fff;
}

.lc-blog-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* thumbnail */
.lc-blog-thumb {
  position: relative;
  overflow: hidden;
}

.lc-blog-thumb img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform .45s ease;
}

.lc-blog-card:hover .lc-blog-thumb img {
  transform: scale(1.08);
}

/* body */
.lc-blog-body {
  padding: 18px 22px 22px;
}

.lc-blog-title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  line-height: 1.5;
}

.lc-blog-date {
  display: block;
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 10px;
}

.lc-blog-excerpt {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #555;
  border-top: 1px solid #e5e5e5;
  padding-top: 10px;
}






/* =========================================
 * Pagination
 * ======================================= */

/* archive 内だけに効かせる */
.lc-main .pagination {
  margin-top: 48px;
  text-align: center;
}

.lc-main .pagination .nav-links {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
}

.lc-main .pagination .page-numbers {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid #e5e5e5;
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
}

.lc-main .pagination .page-numbers.current {
  background: var(--lc-accent-color);
  color: #fff;
  border-color: var(--lc-accent-color);
}

.lc-main .pagination a.page-numbers:hover {
  background: #f5f5f5;
}

@media (max-width: 768px) {
  .lc-main .pagination
  .page-numbers:not(.prev):not(.next):not(.current):not(.current + .page-numbers):not(.page-numbers + .current) {
    display: none;
  }
}


