/* ============================================================
 * rpo_column アーカイブ (ブログ一覧) のスタイル
 * 全ルールを body.is-echoes-blog でスコープ。
 * Image paths are relative to this file (Arkhe-child/css/).
 * ============================================================ */

/* ============== LAYOUT OVERRIDES ============== */
body.is-echoes-blog {
  overflow-x: hidden;
  background: #f1f6fc;
}

body.is-echoes-blog .l-wrapper #content .l-container,
body.is-echoes-blog .l-content,
body.is-echoes-blog .l-content__body {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

/* ============== BLOG PAGE WRAPPER ============== */
body.is-echoes-blog .blog-page {
  position: relative;
  background: linear-gradient(180deg, #f1f6fc 0%, #f1f6fc 100%);
  overflow-x: clip;
  padding-bottom: 100px;
}

/* ===== Decorative background ===== */
body.is-echoes-blog .contact-bg {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  background-repeat: no-repeat;
  background-size: contain;
}

body.is-echoes-blog .contact-bg-tr {
  top: -80px;
  right: -120px;
  width: 760px;
  height: 600px;
  background-image: url('../images/bg04.svg');
  background-position: top right;
}

body.is-echoes-blog .contact-bg-bl {
  left: -80px;
  bottom: 60px;
  width: 720px;
  height: 400px;
  background-image: url('../images/bg03.svg');
  background-position: bottom left;
}

/* ============== HERO ============== */
body.is-echoes-blog .blog-hero {
  position: relative;
  z-index: 2;
  padding: 150px 0 40px;
}

body.is-echoes-blog .blog-hero-inner {
  max-width: 1330px;
  margin: 0 auto;
  padding: 0 110px;
}

body.is-echoes-blog .blog-hero-title {
  font-family: "YakuHanJP", "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: 55px;
  line-height: 1.35;
  color: var(--blue);
  margin: 16px 0 20px;
}

body.is-echoes-blog .blog-hero-lead {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  color: #000;
  line-height: 1.8;
}

/* ============== MAIN : 2 COLUMN ============== */
body.is-echoes-blog .blog-main {
  position: relative;
  z-index: 2;
  padding: 40px 0 0;
}

body.is-echoes-blog .blog-main-inner {
  max-width: 1330px;
  margin: 0 auto;
  padding: 0 110px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
}

/* ===== Pick up label ===== */
body.is-echoes-blog .blog-pickup-label {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 31px;
  letter-spacing: 1.24px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 24px;
}

/* ===== Featured pick-up banner ===== */
body.is-echoes-blog .blog-pickup {
  display: block;
  overflow: hidden;
  margin-bottom: 48px;
}

body.is-echoes-blog .blog-pickup-media {
  position: relative;
  aspect-ratio: 858 / 470;
  background:
    linear-gradient(180deg, rgba(0, 30, 55, 0.15) 0%, rgba(0, 30, 55, 0.75) 100%),
    linear-gradient(120deg, #0a3a63 0%, #047 55%, #0a4d80 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px 40px;
  color: #fff;
}

body.is-echoes-blog .blog-pickup-overlay {
  position: relative;
  z-index: 1;
}

body.is-echoes-blog .blog-pickup-title {
  font-family: "YakuHanJP", "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: 36px;
  line-height: 1.35;
  color: #fff;
}

body.is-echoes-blog .blog-pickup:hover .blog-pickup-media {
  filter: brightness(1.05);
}

/* ===== Blog grid (2 columns) ===== */
body.is-echoes-blog .blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

body.is-echoes-blog .blog-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

body.is-echoes-blog .blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 68, 119, 0.12);
}

body.is-echoes-blog .blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 22px;
  gap: 16px;
}

body.is-echoes-blog .blog-card-thumb {
  aspect-ratio: 351 / 195;
  border-radius: 5px;
  overflow: hidden;
  background:
    linear-gradient(135deg, #d7e4f2 0%, #eaf1f8 50%, #dfe9f4 100%);
}

body.is-echoes-blog .blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.is-echoes-blog .blog-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body.is-echoes-blog .blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body.is-echoes-blog .blog-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 9px;
  border-radius: 19px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: #fff;
  white-space: nowrap;
}

body.is-echoes-blog .tag-saiyo {
  background: var(--blue);
}

body.is-echoes-blog .tag-kenshu {
  background: var(--orange);
}

body.is-echoes-blog .tag-oyakudachi {
  background: #13bad7;
}

body.is-echoes-blog .blog-date {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: #777;
}

body.is-echoes-blog .blog-card-title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.55;
  letter-spacing: 0.8px;
  color: #48585e;
}

body.is-echoes-blog .blog-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #777;
  padding: 40px 0;
}

/* ===== Pagination ===== */
body.is-echoes-blog .blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 56px;
}

/* Arkhe親テーマ _pagination.scss の .page-numbers box style
   (min-width: 32px; height: 32px; padding; line-height; hover背景色 等)
   を打ち消す ── blog-pagination 配下のページャー全要素を一旦リセット */
body.is-echoes-blog .blog-pagination .page-numbers {
  box-sizing: content-box;
  min-width: 0;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  line-height: inherit;
  background: transparent;
  color: inherit;
  text-decoration: none;
}

body.is-echoes-blog .blog-pagination .page-numbers:not(.dots):hover,
body.is-echoes-blog .blog-pagination .page-numbers:not(.dots).current {
  background-color: transparent;
  color: inherit;
}

/* prev / next arrow buttons */
body.is-echoes-blog .blog-page-arrow {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

body.is-echoes-blog .blog-page-arrow img {
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

body.is-echoes-blog .blog-page-prev:hover img {
  transform: translateX(-5px);
}

body.is-echoes-blog .blog-page-next:hover img {
  transform: translateX(5px);
}

/* numbers / dots */
body.is-echoes-blog .blog-page-nums {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.8px;
  color: #333;
}

body.is-echoes-blog .blog-page-nums .page-numbers {
  display: inline-block;
  color: #333;
  opacity: 0.5;
  transition: opacity 0.2s;
}

body.is-echoes-blog .blog-page-nums .page-numbers:hover,
body.is-echoes-blog .blog-page-nums .page-numbers.current,
body.is-echoes-blog .blog-page-nums .is-current {
  opacity: 1;
}

body.is-echoes-blog .blog-page-nums .dots,
body.is-echoes-blog .blog-page-dots {
  opacity: 0.5;
}

/* ============== SIDEBAR ============== */
body.is-echoes-blog .blog-sidebar {
  position: sticky;
  top: 118px;
  align-self: start;
}

body.is-echoes-blog .blog-side-card {
  background: #fff;
  border-radius: 20px;
  padding: 44px 36px;
}

body.is-echoes-blog .blog-side-title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 1.2px;
  color: #48585e;
  text-align: center;
  margin-bottom: 32px;
}

body.is-echoes-blog .blog-cat-list {
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

body.is-echoes-blog .blog-cat-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.8px;
  color: #48585e;
}

body.is-echoes-blog .blog-cat-list a img {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

body.is-echoes-blog .blog-cat-list a:hover img {
  transform: translateX(5px);
}

body.is-echoes-blog .blog-latest-label {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.6px;
  color: #48585e;
  margin-bottom: 8px;
}

body.is-echoes-blog .blog-latest-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.is-echoes-blog .blog-latest-list li {
  border-bottom: 1px solid #e2e2e2;
}

body.is-echoes-blog .blog-latest-list li:first-child {
  border-top: 1px solid #e2e2e2;
}

body.is-echoes-blog .blog-latest-list a {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 14px 10px;
  margin: 0 -10px;
  border-radius: 6px;
  transition: background 0.2s ease;
}

body.is-echoes-blog .blog-latest-list a:hover {
  background: #eaf2fb;
}

body.is-echoes-blog .blog-latest-list .blog-tag {
  font-size: 12px;
  padding: 3px 7px;
}

body.is-echoes-blog .blog-latest-list .blog-date {
  font-size: 12px;
}

body.is-echoes-blog .blog-latest-title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.6px;
  color: #48585e;
}

/* ============== RESPONSIVE ============== */
@media (max-width: 1200px) {

  body.is-echoes-blog .blog-hero-inner,
  body.is-echoes-blog .blog-main-inner {
    padding: 0 32px;
  }

  body.is-echoes-blog .blog-pickup-title {
    font-size: 34px;
  }

  body.is-echoes-blog .contact-bg-tr {
    width: 500px;
    height: 400px;
  }

  body.is-echoes-blog .contact-bg-bl {
    width: 480px;
    height: 280px;
  }
}

@media (max-width: 900px) {
  body.is-echoes-blog .blog-hero {
    padding: 120px 0 24px;
  }

  body.is-echoes-blog .blog-hero-title {
    font-size: 40px;
  }

  body.is-echoes-blog .blog-main-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  body.is-echoes-blog .blog-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  body.is-echoes-blog .blog-pickup-label {
    font-size: 26px;
  }

  body.is-echoes-blog .blog-pickup-title {
    font-size: 28px;
  }

  body.is-echoes-blog .blog-sidebar {
    position: static;
  }

  body.is-echoes-blog .contact-bg-tr,
  body.is-echoes-blog .contact-bg-bl {
    opacity: 0.5;
  }
}
