@charset "UTF-8";

/* ===== Lawyer Archive ===== */
.lawyer-archive__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 24px 20px 60px;
}

/* ✅ 2カラム（メイン＋サイドバー）を lawyer 側にも適用 */
.lawyer-archive .column-layout {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.lawyer-archive .column-main {
  flex: 1;
  min-width: 0; /* これがないと崩れることがある */
}

.lawyer-archive .column-sidebar {
  width: 320px;
  flex: 0 0 320px;
}

/* ===== Lawyer cards grid（PC: 3カラム / SP: 1カラム） ===== */
.lawyer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 28px;
}

/* カード */
.lawyer-card {
  margin: 0;
}

.lawyer-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.lawyer-card__thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 10px;
  background: #f2f2f2;
}

.lawyer-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lawyer-card__noimg {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: #666;
}

.lawyer-card__affiliation {
  margin: 10px 0 2px;
  font-size: 12px;
  line-height: 1.4;
  color: #666;
  text-align: center;
}

.lawyer-card__name {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
  color: #111;
  text-align: center;
}

/* Pagination dots */
.lawyer-pagination {
  margin-top: 22px;
}

.lawyer-pagination__list {
  list-style: none;
  display: flex;
  gap: 10px;
  padding: 0;
  margin: 0;
  justify-content: center;
  align-items: center;
}

.lawyer-pagination__item {
  margin: 0;
  padding: 0;
}

.lawyer-pagination__dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #cfcfcf;
  text-decoration: none;
}

.lawyer-pagination__dot.is-current {
  background: #0093E9;
}

/* ===== Responsive ===== */
@media (max-width: 750px) {
  .lawyer-archive__inner {
    padding: 18px 5vw 50px;
  }

  /* ✅ SPは1カラム（メイン→サイドバーの縦並び） */
  .lawyer-archive .column-layout {
    display: block;
  }

  .lawyer-archive .column-sidebar {
    width: auto;
    flex: none;
    margin-top: 22px;
  }

  .lawyer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .lawyer-card__affiliation {
    font-size: 12px;
  }

  .lawyer-card__name {
    font-size: 14px;
  }

    .column-head__title{
  font-size:20px;
}

}

/* ===== 追加：ページ背景（ヘッダー/フッター以外） ===== */
.lawyer-archive {
  background: #F6F9FB;
}

/* ===== 追加：H1（PC 30px / 中央寄せ） ===== */
.lawyer-archive .column-head__title {
  text-align: center;
}

/* PCのみ 30px */
@media (min-width: 751px) {
  .lawyer-archive .column-head__title {
    font-size: 30px;
  }
}

/* ===== 画像の角丸を削除 ===== */
.lawyer-card__thumb {
  border-radius: 0;
}

/* ===== 事務所名・弁護士名の背景を #B9B9B9 / 透過58% ===== */
.lawyer-card__affiliation,
.lawyer-card__name {
  background: rgba(185, 185, 185, 0.58);
  margin: 0;              /* 既存marginを上書き（背景が途切れないように） */
}


/* 氏名の太字はそのまま維持（必要なら） */
.lawyer-card__name {
  font-weight: 700;
}

p.lawyer-card__affiliation{
    padding-top: 8px;
}

p.lawyer-card__name {
    padding-bottom: 8px;

}

.lawyer-archive .column-layout{
    padding-top: 18px;
}