.head_of_find_a_lawyer_from_category, .head_of_related_columns {
  width: 230px;
  height: 69px;
  margin: 0 auto 25px;
  font-family: Noto Sans JP;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: 0em;
  text-align: center;
}

/* .head_of_find_a_lawyer_from_category:before {
  border-bottom: 1px solid #2FA875;
} */

.head_of_find_a_lawyer_from_category:before, .head_of_related_columns:before {
  content: '';
  position: relative;
  left: 45%;
  display: flex;
  width: 25px;
  height: 3px;
  background-color: #2fa875;
}

.head_of_related_columns {
  margin-top: 30px;
}

.head_of_find_a_lawyer_from_category:before {
  top: 70px;
}

.head_of_related_columns:before {
  top: 40px;
}

.head_of_find_a_lawyer_from_category span, .head_of_related_columns span {
  color: #2FA875;
}

.accordion {
  border-radius: 0 0 10px 10px;
  border: 1px solid;
  border-color: #D5D5D5;
  border-top: none;
}

.accordion ul {
  padding: 10px 0;
  display: flex;
  flex-wrap: wrap;
}

.accordion li {
  padding: 0 7.5px 5px;
  font-size: 15px;
  line-height: 28px;
}

.accordion li a {
  color: #5B68D7;
}

.consultations_accordion {
  border-radius: 0 0 10px 10px;
  border: 1px solid;
  border-color: #D5D5D5;
  border-top: none;
}

.consultations_accordion li {
  width: 246px;
  height: 48px;
  border-top: 1px solid;
  border-color: #D5D5D5;
  display: flex;
  align-items: center;
  position: relative;
}

.consultations_accordion img {
  right: 12px;
  position: absolute;
  width: 10px;
  height: 15px;
}

.consultation_box li:hover::before {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  bottom: -1px;
  left: -1px;
  box-sizing: border-box;
  border: 1px solid;
  border-color: #2FA875;
  transition: 0.25s;
  pointer-events: none;
  z-index: 1;
}

.consultation_box:last-child li:hover::before {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.consultation_box:first-of-type li {
  border-top: none;
}

.consultations_accordion li a {
  width: 100%;
  height: 100%;
  color: inherit;
  padding: 10px 10px 10px 12px;
  display: flex;
  align-items: center;
  font-size: 14.5px;
}

.find_lawyer_and_related_column_widget_head {
  display: flex;
  justify-content: center;
}

.find_a_lawyer_headline {
  display: flex;
  width: 248px;
  height: 58px;
  background-color: #2FA875;
  border-radius: 10px 10px 0 0;
  align-items: center;
  justify-content: center;
}

.find_a_lawyer_headline img{
  width: 18px;
  height: 23px;
  margin-right: 8px;
}

.find_a_lawyer_headline.search_consultation img{
  width: 20px;
  height: 18px;
  margin-right: 8px;
}

.search_from_context {
  color: #FFFFFF;
  font-family: Noto Sans JP;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: 0em;
  text-align: center;
}

.region_background {
  display: flex;
  width: 246px;
  height: 40px;
  padding: 6px 15px 6px 15px;
  background-color: #E7F8EF;
  align-items: center;
}

.find_a_lawyer_from_prefecture {
  margin-bottom: 30px;
}

.column_title {
  font-family: Noto Sans JP;
  margin-top: 10px;
  font-size: 15px;
  font-weight: 600;
  line-height: 22px;
  text-align: left;
  color: #0E96D3;
}

.column_created_at {
  font-family: Arial;
  margin: 10px 0 15px 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 22px;
  text-align: left;
  color: #909090;
}

.column_thumbnail {
  position: relative;
  height: 124px;
  overflow: hidden;
}

.column_thumbnail > img {
  width: 100%;
  height: auto;
}

.category_badge {
  position: absolute;
  width: 80px;
  height: 26px;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #2FA875;

  /* PJID-2894 */
  width: fit-content;
  max-width: 100%;
  padding: 0 10px;
}

.category_badge p {
  font-family: Noto Sans JP;
  font-size: 12px;
  font-weight: 500;
  line-height: 28px;
  text-align: center;
  color: #FFFFFF;

  /* PJID-2894 */
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.column_tab-links {
  display: flex;
}

.column_tab {
  width: 124px;
  height: 58px;
  border-radius: 10px 10px 0 0;
  color: #909090;
  border-bottom: 3px solid;
  border-color: #D9D9D9;
  margin-bottom: 15px;
}

.column_tab {
  display: flex;
  justify-content: center;
  align-items: center;
}

.column_tab_links {
  display: flex;
}

.column_tab.active{
  color: #2FA875;
  background-color: rgba(47, 168, 117, 0.2);
  border-color: #2FA875;
}

.column_tab.active a{
  color: #2FA875;
}

.column_tab a, .column_tab a:hover {
  color: inherit;
  font-size: 18px;
  line-height: 28px;
  font-weight: 700;
}

.tab-content .tab {
  display: none;
}

.tab-content .tab.active {
  display: block;
}

/*
  PJID-2820
  2023年8月時点で Chrome/Edge/Safari/Firefox 等主要なWebブラウザは
  CSS Nesting Module への対応が完了しているため
  ここではネストを使用してスタイルを記述します */
.sidebar-shindan-widget {

  .sb-widget-heading {
    position: relative;
    border-radius: 10px 10px 0 0;
    background-color: #2EA875;
    padding: 20px 0 20px 65px;
    color: #FFF;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.0;


    .badge-easy-4-steps {
      position: absolute;
      bottom: 0;
      left: -5px;
      display: block;
    }
  }

  .sb-widget-main {
    border-radius: 0 0 10px 10px;
    border-right: 1px solid #D5D5D5;
    border-bottom: 1px solid #D5D5D5;
    border-left: 1px solid #D5D5D5;
    background-color: #FFF;
    padding: 20px 0 24px;

    .sb-widget-link-button {
      box-sizing: border-box;
      display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
      justify-content: center;
      align-items: center;
      gap: 0 10px;
      border-radius: 5px;
      border: 1px solid #D18000;
      background-color: #F28D00;
      box-shadow: 0 5px 0 0 #B26D00;
      width: 208px;
      height: 68px;
      margin: 0 auto 5px;
      transition: unset;

      color: #FFF;
      font-feature-settings: 'palt' on;
      font-size: 18px;
      font-weight: 700;
      line-height: 130%; /* 23.4px */
      letter-spacing: 0.54px;

      cursor: pointer;

      .icon-loupe {
        display: block;
        width: 20px;
        height: 20px;

        path {
          width: 20px;
          height: 20px;
        }
      }

      &:active {
        box-shadow: 0 0 0 0 #B26D00;
        transform: translateY(5px);
      }
    }
  }
}
.sidebar-shindan-widget{margin-bottom: 20px;margin-top: 30px;}
.find_a_lawyer_from_consultation + .sidebar-shindan-widget {
  margin-top: 30px;
}


