@charset "utf-8";
/* 弁護士検索ページ */
.lawyer-search__contents-wrap {
  display: flex;
  justify-content: center;
  margin: 40px auto 0;
}
.search-left {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin-right: 80px;
}
.lawyer-sarch__list {
  list-style: none;
  margin-top: 20px;
}
@media(max-width: 860px) {
  .lawyer-sarch__list {
    margin-top: 10px;
  }
}
.lawyer-search__contents-wrap h2 {
  font-size: 1.875rem;
  font-weight: 600;
  margin-bottom: 5px;
}
.lawyer-search__contents-wrap .widgettitle {
  margin-bottom: 0px;
}
.lawyer-box__wrap {
  width: 98%;
  max-width: 800px;
  margin: 0 auto;
}
.lawyer-box__wrap:not(:first-child) {
  margin-top: 30px;
}
.lawyer-box__heading {
  display: flex;
  align-items: flex-end;
  background-color: #1b5f95;
  border-radius: 10px 10px 0 0;
  padding: 10px 30px;
  box-sizing: border-box;
}
.lawyer-box__heading-name {
  font-size: 1.5rem;
  line-height: 2.25rem;
  color: #FFF;
  margin-right: 30px;
}
.lawyer-box__heading-prefectures {
  font-size: 1.125rem;
  line-height: 1.6875rem;
  font-weight: 600;
  color: #FFF;
}
.lawyer-box__contents-wrap {
  border-left: solid 2px #bbbbbb;
  border-right: solid 2px #bbbbbb;
  border-bottom: solid 2px #bbbbbb;
  border-radius: 0 0 10px 10px;
  box-sizing: border-box;
}
.lawyer-box__description-wrap {
  padding: 15px 20px 0;
  box-sizing: border-box;
}
.lawyer-box__upper {
  display: flex;
  align-items: center;
}
.search__lawyaer-detail__wrap {
  width: 100%;
  max-width: 410px;
  margin-right: 40px;
}
.search__lawyer-detail {
  border: solid 2px #565656;
  box-sizing: border-box;
}
.search__lawyer-detail tr:not(:last-child) {
  border-bottom: solid 2px #565656;
  box-sizing: border-box;
}
.search__lawyer-detail tr th {
  max-width: 100px;
  font-size: 1.0rem;
  background-color: #d6e6f7;
  white-space: nowrap;
  padding: 10px;
  border-right: solid 2px #565656;
  box-sizing: border-box;
}
.search__lawyer-detail tr td {
  width: 100%;
  max-width: 340px;
  font-size: 1.0rem;
  line-height: 1.5rem;
  text-align: left;
  background-color: #eef6ff;
  padding: 10px;
  box-sizing: border-box;
}
.search__lawyer-detail .search-area__consultation-fee {
  padding: 0;
}
.search-area__consultation-fee div {
  margin: 10px;
  display: -webkit-box; /* 必須: フレックスボックスのような挙動を適用 */
  -webkit-line-clamp: 5; /* 表示する行数を指定 */
  -webkit-box-orient: vertical; /* ボックスの方向を縦に設定 */
  overflow: hidden; /* 余剰部分を隠す */
  text-overflow: ellipsis; /* 必須ではないが、末尾に「…」を表示する場合 */ 
}
.search-area__lawyer-image {
  width: 80vw;
  max-width: 300px;
  max-height: 300px;
}
.search-area__lawyer-image img {
  width: 80vw;
  max-width: 300px;
  max-height: 300px;
  object-fit: contain;
}
.lawyer-seach__upper-right .icon-area {
  flex-wrap: wrap;
  max-width: 300px;
  margin: 10px auto 0;
}
.lawyer-seach__upper-right .icon-area .appeal-icon {
  margin-top: 10px;
  margin-right: 12px;
}
.lawyer-seach__upper-right .icon-area .appeal-icon:nth-child(5n) {
  margin-right: 0;
}
.lawyer-seach__upper-right .icon-area .appeal-icon img {
  border-radius: 5px;
}
.lawyer-box__contents-wrap .handling-field {
  max-width: 700px;
  margin: 10px auto 0;
}
.lawyer-box__contents-wrap .handling-field li:nth-child(3n) {
  margin: 10px 15px 0 0;
}
.lawyer-box__contents-wrap .handling-field li:nth-child(4n) {
  margin: 10px 0 0 0;
}
.search-area__lawyer-description {
  font-size: 1.0rem;
  line-height: 1.5rem;
  text-align: left;
  margin-top: 15px;
  display: -webkit-box; /* 必須: フレックスボックスのような挙動を適用 */
  -webkit-line-clamp: 3; /* 表示する行数を指定 */
  -webkit-box-orient: vertical; /* ボックスの方向を縦に設定 */
  overflow: hidden; /* 余剰部分を隠す */
  text-overflow: ellipsis; /* 必須ではないが、末尾に「…」を表示する場合 */ 
}
.lawyer-box__contents-wrap .mypage-link {
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 400px;
  background-color: #1b5f95;
  border-radius: 100px;
  padding: 10px 15px;
  margin: 10px auto 15px;
  position: relative; /* 擬似要素の配置用 */
  overflow: hidden; /* 擬似要素が外にはみ出さないようにする */
  z-index: 1; /* テキストを最前面に配置 */
  transition: all 0.3s ease-in-out;
  box-sizing: border-box;
}
/* 擬似要素でスライドアニメーション用の背景を作成 */
.lawyer-box__contents-wrap .mypage-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%; /* 初期状態で左側に隠す */
  width: 100%;
  height: 100%;
  z-index: -1; /* 擬似要素をテキストの背面に配置 */
  transition: all 0.4s ease-in-out; /* 背景のアニメーションを滑らかに */
}
/* more-button ホバー時の背景色 */
.lawyer-box__contents-wrap .mypage-link::before {
  background-color: #5097e3; /* more-button ホバー時の背景色 */
}
.lawyer-box__contents-wrap .mypage-link p {
  font-size: 1.125rem;
  font-weight: 600;
  color: #FFF;
  white-space: nowrap;
}
.search__lawyaer-detail__wrap.pc {
  display: block;
}
.search__lawyaer-detail__wrap.sp, .search-lawyer__toggle-heading {
  display: none;
}
/* PC版のみリンクへのホバー要素 */
@media(min-width: 961px) {
  /* ホバー時のアニメーション */
  .lawyer-box__contents-wrap .mypage-link:hover::before {
    transform: translateX(100%); /* 左から右へスライド */
  }
}
.search__contact-area {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 860px;
  background-color: #d6e6f7;
  border-radius: 0 0 8px 8px;
  padding: 15px 15px;
  box-sizing: border-box;
}
.search__contact-description {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  margin-right: 30px;
}
.search__contact-area .button-area {
  margin-top: initial;
}

@media(max-width: 1250px) {
  .lawyer-search__contents-wrap {
    max-width: 99vw;
  }
  .search-left {
    margin-right: 40px;
  }
}
@media(max-width: 1200px) {
  .search-left {
    margin-right: 20px;
  }
}
@media(max-width: 1150px) {
  .search__lawyaer-detail__wrap {
    margin-right: 20px;
  }
}
@media(max-width: 1100px) {
  .lawyer-search__contents-wrap {
    flex-flow: column;
  }
  .search-left {
    margin-right: 0;
    margin: 0 auto;
  }
}
@media(max-width: 960px) {
  .lawyer-search__contents-wrap h2 {
    font-size: 1.5rem;
  }
  .lawyer-box__contents-wrap .handling-field {
    min-width: initial;
  }
}
@media(max-width: 740px) {
  .lawyer-box__upper {
    justify-content: center;
  }
  .search__lawyaer-detail__wrap.pc {
    display: none;
  }
  .search__lawyaer-detail__wrap.sp {
    display: block;
  }
  .search-lawyer__toggle {
    width: 95%;
    background-color: #e8e8e8;
    border-radius: 10px;
    margin: 15px auto 0;
    box-sizing: border-box;
    transition: all 0.3s ease-in-out;
  }
  .search-lawyer__toggle-heading {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1b5f95;
    color: #FFF;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 10px;
    padding: 5px 10px;
    box-sizing: border-box;
    transition: all 0.5s ease-in-out;
  }
  .search-lawyer__toggle-heading.details-open {
    border-radius: 10px 10px 0 0;
    transition: all 0.3s ease-in-out;
  }
  .search-contents__icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 15px;
    height: 15px;
    color: #FFF;
    font-size: 1.0rem;
    font-weight: 700;
    background-color: #B2B2B2;
    border-radius: 100px;
    margin-left: 10px;
  }
  .search-contents__icon::before {
    position: absolute;
    content: "";
    width: 15px;
    height: 2px;
    border-radius: 10px;
    background-color: #FFF;
    transition: all 0.2s;
  }
  .search-contents__icon::after {
    position: absolute;
    content: "";
    width: 2px;
    height: 15px;
    border-radius: 10px;
    background-color: #FFF;
    transition: all 0.2s;
  }
  .search-lawyer__toggle-heading.details-open .search-contents__icon:after {
    transform: rotate(90deg);
  }
  .search-lawyer__toggle-contents__wrap {
    flex-flow: column;
    padding: 15px 10px;
    box-sizing: border-box;
  }
  .search__lawyaer-detail__wrap {
    margin: 0 auto;
  }
  .lawyer-box__contents-wrap .handling-field {
    justify-content: center;
    flex-flow: column;
    max-width: 300px;
  }
  .lawyer-box__contents-wrap .handling-field li:nth-child(3n) {
    margin: initial;
  }
  .lawyer-box__contents-wrap .handling-field li:nth-child(4n) {
    margin: initial;
  }
  .lawyer-box__contents-wrap .handling-field li {
    margin: 10px 0 0 0 !important;
  }
  .handling-field.pc {
    display: none;
  }
  .search__contact-area {
    flex-flow: column;
  }
  .search__contact-description {
    font-size: 1.125rem;
    max-width: initial;
    margin-right: 0;
  }
  .search__contact-area .button-area {
    transform: scale(1.0);
    margin-top: 10px;
  }
}
@media(max-width: 500px) {
  .lawyer-search__contents-wrap h2 {
    font-size: 1.2rem;
  }
}
@media(max-width: 460px) {
  .search__contact-area .button-area {
    flex-flow: column;
  }
  .search__contact-area .button-area a:first-child {
      margin-right: 0;
  }
  .search__contact-area .button-area a:not(:first-child) {
      margin-top: 10px;
  }
}
@media(max-width: 450px) {
  .lawyer-box__heading-name {
    font-size: 1.25rem;
    line-height: 1.875rem;
    margin-right: 0;
  }
  .lawyer-box__heading-prefectures, .lawyer-box__heading-municipalities {
    display: none;
  }
}


/* worries-search */
.worries-search {
  width: 100%;
  max-width: 1000px;
  border: solid 1px #1b5f95;
  border-radius: 10px;
  margin: 50px auto 0;
  padding: 20px 50px 50px;
  box-sizing: border-box;
}
.worried-heading {
  border-bottom: solid 2px #1b5f95;
  padding-bottom: 10px;
  box-sizing: border-box;
}
.worried-heading img {
  width: initial;
  max-width: initial;
  max-height: 30px;
}
.worries-list {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
}
.worries-list li {
  position: relative;
  width: 180px;
  margin-top: 25px;
  margin-right: 50px;
}
.worries-list li:nth-child(-n+3) {
  margin-top: 20px;
}
.worries-list li:nth-child(4n) {
  margin-right: 0;
}
.worries-list li a {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  text-decoration: none;
  margin-right: auto;
  padding-bottom: 5px;
  box-sizing: border-box;
  transition: all .0.5s ease-in-out 0s;
}
.worries-list li a img {
  width: 100%;
  max-width: 30px;
  max-height: 30px;
  margin-right: 10px;
}
.worries-list li a p {
  position: relative;
  font-size: 1.5rem;
  line-height: 2.25rem;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
  transition: transform 0.5s ease-in-out;
}
@media(min-width: 961px) {
  .worries-list li a p::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0; /* 下線を要素の下部に配置 */
    width: 100%; /* 要素の幅に合わせる */
    height: 2px; /* 下線の高さ */
    background-color: #1b5f95; /* 下線の色 */
    transform: scaleX(0); /* 初期状態で下線を非表示 */
    transform-origin: left; /* 下線のアニメーションの開始位置を左に設定 */
    transition: transform 0.5s ease-in-out;
  }
  .worries-list li a:hover p::after {
    transform: scaleX(1); /* hover時に下線を表示 */
  }
}
@media(max-width: 1020px) {
  .worries-search {
    max-width: 95vw;
    margin: 50px 20px 0;
    padding: 20px 30px 50px;
  }
  .worries-list li {
    margin-right: 50px;
  }
}
@media(max-width: 980px) {
  .worries-list li:nth-child(4n) {
    margin-right: 50px;
  }
  .worries-list li:nth-child(3n) {
    margin-right: 0;
  }
}
@media(max-width: 960px) {
  .worries-search {
    margin: 0 20px;
  }
  .ken-search__heading h1 {
    white-space: initial;
  }
}
@media(max-width: 740px) {
  .worries-search {
    display: none;
  }
}

/* 都道府県ページ検索ボックス下カテゴリーリンク */
.ken-page__category-link {
  display: block;
  max-width: 700px;
  margin: 30px auto 0;
  padding: 10px 20px 10px;
}
.ken-page__category-link .worried-heading {
  padding-bottom: 5px;
}
.ken-page__category-link .worried-heading img {
  width: initial;
  max-width: initial;
  max-height: 25px;
  margin-right: 10px;
}
.ken-page__category-link .small-heading p {
  font-size: 1.2rem;
  font-weight: 600;
}
.ken-page__field-list {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  flex-wrap: wrap;
  list-style: none;
  max-width: 600px;
  margin: 0 auto;
  box-sizing: border-box;
}
.ken-page__field-list li {
  width: 30%;
  margin-top: 15px;
  margin-right: 20px;
}
.ken-page__field-list li a {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  text-decoration: none;
  max-height: 30px;
  margin-right: auto;
  padding-bottom: 5px;
  box-sizing: border-box;
  transition: all .0.5s ease-in-out 0s;
}
.ken-page__field-list li a img {
  max-width: 25px;
  max-height: 25px;
  margin-right: 5px;
}
.ken-page__field-list li a p {
  position: relative;
  font-size: 1.0rem;
  line-height: 1.5rem;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
  transition: transform 0.5s ease-in-out;
}
@media(min-width: 961px) {
  .ken-page__field-list li a p::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0; /* 下線を要素の下部に配置 */
    width: 100%; /* 要素の幅に合わせる */
    height: 1.5px; /* 下線の高さ */
    background-color: #1b5f95; /* 下線の色 */
    transform: scaleX(0); /* 初期状態で下線を非表示 */
    transform-origin: left; /* 下線のアニメーションの開始位置を左に設定 */
    transition: transform 0.5s ease-in-out;
  }
  .ken-page__field-list li a:hover p::after {
    transform: scaleX(1); /* hover時に下線を表示 */
  }
}
@media(max-width: 960px) {
  .ken-page__category-link {
    width: 95vw;
    max-width: 600px;
    margin: 20px auto 0 !important;
  }
  .ken-page__field-list {
    max-width: 650px;
  }
  .ken-page__field-list li {
    width: 28%;
  }
}
@media(max-width: 760px) {
  .ken-page__category-link {
    display: none;
  }
}
.lower-heading {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: 60px;
}
.lower-heading.ken-search__heading img {
  padding: 0 15px 5px 15px;
  border-bottom: solid 2px #1b5f95;
}
.lower-heading.ken-search__heading h1 {
  display: block;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.0rem;
  font-weight: 600;
  padding: 0 15px 5px 0;
  box-sizing: border-box;
  border-bottom: solid 2px #1b5f95;
  white-space: wrap;
}
.lawyer-archive__page-wrap .search-box ,.ken-search__page-wrap .search-box {
  margin-top: 20px;
}
.side__search-area .search-box {
  margin-top: 0;
}
@media(max-width: 960px) {
  .lower-heading.ken-search__heading {
    transform: scale(0.8);
    margin-top: 20px;
  }
  .lower-heading.ken-search__heading h1 {
    font-size: 1.8rem;
  }
}
@media(max-width: 800px) {
  .lower-heading.ken-search__heading h1 {
    font-size: 1.6rem;
  }
}
@media(max-width: 500px) {
  .lower-heading.ken-search__heading h1 {
    font-size: 1.5rem;
  }
}
@media(max-width: 380px) {
  .lower-heading.ken-search__heading h1 {
    font-size: 1.2rem;
  }
}


/* consultation_section */
.top-heading {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 300px;
  border-bottom: solid 2px #1b5f95;
  margin: 60px auto 0;
}
.top-heading img {
  max-height: 35px;
  padding: 0 15px 5px 15px;
}
.top-heading h2 {
  display: block;
  height: 42px;
  font-size: 2.0rem;
  font-weight: 600;
  padding: 0 15px 5px 0;
  box-sizing: border-box;
  white-space: nowrap;
}
@media(max-width: 500px) {
  .top-heading {
    transform: scale(0.8);
    margin-top: 30px;
  }
}
@media(max-width: 350px) {
  .top-heading {
    transform: scale(0.6);
  }
}
.area-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1000px;
  background-color: #FFF;
  border: solid 1px #1b5f95;
  border-radius: 10px;
  padding: 10px 10px 0 30px;
  margin: 30px auto 0;
  box-sizing: border-box;
}
.area-list .tab-button {
  list-style: none;
  border: solid 2px #1b5f95;
  border-radius: 100px;
  background-color: #FFF;
  font-size: 1.0rem;
  line-height: 1.5rem;
  font-weight: 600;
  color: #333;
  margin: 0 20px 10px 0;
  padding: 5px 15px;
  cursor: pointer;
  transition: all .2s ease-in-out 0s;
  box-sizing: border-box;
}
.area-list .tab-button.tab-selected {
  background-color: #1b5f95;
  color: #FFF;
}
.area-list .tab-button.new-line {
  margin-top: 20px;
}
.lawyer-list__wrap {
  position: relative;
  max-width: 1200px;
  overflow: hidden;
  margin: 10px auto;
}
.top__lawyer-list {
  display: none;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin-top: 40px;
  padding: 0;
  transition: transform 0.5s ease-in-out;
}
.top__lawyer-list.tab-open {
  display: flex;
}
.lawyer-area {
  flex-shrink: 0;
  width: 90%;
  max-width: 500px; /* 必要に応じて調整 */
  margin-right: 15px;
  transition: transform 0.3s ease-in-out;
  border: solid 1px #1b5f95;
  border-top: solid 20px #1b5f95;
  border-radius: 10px;
  padding: 20px 30px 25px;
  box-sizing: border-box;
}
.lawyer-area:last-child {
  margin-right: 0;
}
.list-upper {
  display: flex;
  align-items: center;
}
.lawyer-profile {
  min-width: 240px;
  min-height: 182px;
  margin-right: 10px;
}
.lawyer-name {
  font-size: 1.5rem;
  line-height: 1.75rem;
  font-weight: 600;
  text-align: left;
  border-bottom: solid 2px #1b5f95;
}
.office-name {
  font-size: 1.125rem;
  font-weight: 600;
  text-align: left;
  margin: 15px 0;
  display: -webkit-box; /* 必須: フレックスボックスのような挙動を適用 */
  -webkit-line-clamp: 1; /* 表示する行数を指定 */
  -webkit-box-orient: vertical; /* ボックスの方向を縦に設定 */
  overflow: hidden; /* 余剰部分を隠す */
  text-overflow: ellipsis; /* 必須ではないが、末尾に「…」を表示する場合 */
}
.office-address {
  min-height: 42px;
  font-size: 0.875rem;
  line-height: 1.3125rem;
  text-align: left;
  display: -webkit-box; /* 必須: フレックスボックスのような挙動を適用 */
  -webkit-line-clamp: 2; /* 表示する行数を指定 */
  -webkit-box-orient: vertical; /* ボックスの方向を縦に設定 */
  overflow: hidden; /* 余剰部分を隠す */
  text-overflow: ellipsis; /* 必須ではないが、末尾に「…」を表示する場合 */
}
.icon-area {
  display: flex;
  align-items: center;
  margin-top: 10px;
}
.appeal-icon {
  margin-right: 10px;
}
.icon-area img {
  width: 50px;
}
.profile_image-area img {
  width: 200px;
  max-height: 180px;
  aspect-ratio: auto;
  object-fit: contain;
}
.lawyer-description {
  height: 120px;
  font-size: 1.0rem;
  line-height: 1.5rem;
  margin-top: 10px;
  text-align: left;
  display: -webkit-box; /* 必須: フレックスボックスのような挙動を適用 */
  -webkit-line-clamp: 5; /* 表示する行数を指定 */
  -webkit-box-orient: vertical; /* ボックスの方向を縦に設定 */
  overflow: hidden; /* 余剰部分を隠す */
  text-overflow: ellipsis; /* 必須ではないが、末尾に「…」を表示する場合 */
}
.mypage-link {
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 300px;
  background-color: #1b5f95;
  border-radius: 100px;
  padding: 10px 15px;
  margin: 10px auto 0;
  position: relative; /* 擬似要素の配置用 */
  overflow: hidden; /* 擬似要素が外にはみ出さないようにする */
  z-index: 1; /* テキストを最前面に配置 */
  transition: all 0.3s ease-in-out;
  box-sizing: border-box;
}
/* 擬似要素でスライドアニメーション用の背景を作成 */
.mypage-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%; /* 初期状態で左側に隠す */
  width: 100%;
  height: 100%;
  z-index: -1; /* 擬似要素をテキストの背面に配置 */
  transition: all 0.4s ease-in-out; /* 背景のアニメーションを滑らかに */
}
/* more-button ホバー時の背景色 */
.mypage-link::before {
  background-color: #5097e3; /* more-button ホバー時の背景色 */
}
.mypage-link p {
  font-size: 1.125rem;
  font-weight: 600;
  color: #FFF;
  white-space: nowrap;
}
.button-area {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 15px;
}
.lawyer-area .button-area {
  margin-top: 5px;
}
.top-lawyer__contact-area {
  margin-top: 10px;
}
.top-lawyer__contact-description {
  display: none;
}
.button-area a {
  display: block;
  text-decoration: none;
  color: #FFF;
}
.button-area a:first-child {
  margin-right: 30px;
}
.button-area .mail-link {
  margin-right: 0 !important;
}
.button-area a img {
  max-width: 200px;
}
.tel-button, .mail-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200px;
  height: 60px;
  border-radius: 5px;
  text-decoration: none;
  position: relative; /* 擬似要素の配置用 */
  overflow: hidden; /* 擬似要素が外にはみ出さないようにする */
  z-index: 1; /* テキストを最前面に配置 */
  transition: all 0.3s ease-in-out;
}
/* tel-button 背景色 */
.tel-button {
  background-color: #d1b41b;
}
/* mail-button 背景色 */
.mail-button {
  background-color: #1b5f95;
}
/* 擬似要素でスライドアニメーション用の背景を作成 */
.tel-button::before, .mail-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%; /* 初期状態で左側に隠す */
  width: 100%;
  height: 100%;
  z-index: -1; /* 擬似要素をテキストの背面に配置 */
  transition: all 0.4s ease-in-out;
}
.tel-button::before {
  background-color: #f2d347; /* tel-button ホバー時の背景色 */
}
/* mail-button ホバー時の背景色 */
.mail-button::before {
  background-color: #5097e3; /* mail-button ホバー時の背景色 */
}
.tel-button img {
  width: 30px;
  height: 30px;
  margin-right: 15px;
}
.mail-button img {
  width: 42px;
  margin-right: 25px;
}
.tel-number {
  font-size: 1.125rem;
  font-weight: 600;
}
.tel-description {
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 3px;
}
.mail-button p {
  font-size: 1.0rem;
  line-height: 1.5rem;
  font-weight: 600;
  margin-right: 10px;
}
.lawyer-list__wrap {
  position: relative;
}
button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
}
.left-button {
  position: absolute;
  top: 40%;
  left: 5%;
  z-index: 5;
  cursor: pointer;
}
.right-button {
  position: absolute;
  top: 40%;
  right: 5%;
  z-index: 5;
  cursor: pointer;
}
.left-button img, .right-button img {
  max-width: 50px;
  transition: all .2s ease-in-out 0s;
}
.link-button {
  display: none;
  max-width: 300px;
  margin: 30px auto 0;
  text-decoration: none;
}
.link-button.tab-open {
  display: block;
}
.more-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 300px;
  background-color: #1b5f95;
  border-radius: 100px;
  padding: 10px 15px;
  position: relative; /* 擬似要素の配置用 */
  overflow: hidden; /* 擬似要素が外にはみ出さないようにする */
  z-index: 1; /* テキストを最前面に配置 */
  transition: all 0.3s ease-in-out;
  box-sizing: border-box;
}
/* 擬似要素でスライドアニメーション用の背景を作成 */
.more-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%; /* 初期状態で左側に隠す */
  width: 100%;
  height: 100%;
  z-index: -1; /* 擬似要素をテキストの背面に配置 */
  transition: all 0.4s ease-in-out; /* 背景のアニメーションを滑らかに */
}
/* more-button ホバー時の背景色 */
.more-button::before {
  background-color: #5097e3; /* more-button ホバー時の背景色 */
}
.more-icon__left {
  max-width: 30px;
  max-height: 30px;
  margin-right: 50px;
}
.more-icon__right {
  max-width: 42px;
  max-height: 10px;
  margin-top: 5px;
  margin-left: 35px;
}
.more-button p {
  font-size: 1.125rem;
  font-weight: 600;
  color: #FFF;
  white-space: nowrap;
}
/* PC版のみリンクへのホバー要素 */
@media(min-width: 961px) {
  .area-list .tab-button:hover {
    background-color: #1b5f95;
    color: #FFF;
  }
  /* ホバー時のアニメーション */
  .tel-button:hover::before, .mail-button:hover::before, .more-button:hover::before, .mypage-link:hover::before {
    transform: translateX(100%); /* 左から右へスライド */
  }
  .left-button:hover img, .right-button:hover img {
    transform: scale(1.1);
    opacity: 0.8;
  }
}
@media(max-width: 1400px) {
  .left-button {
    left: 1%;
  }
  .right-button {
    right: 1%;
  }
}
@media(max-width: 1040px) {
  .area-list {
    max-width: 90%;
    margin: 30px auto 0;
  }
}
@media(max-width: 960px) {
  .left-button {
    left: 0;
  }
  .right-button {
    right: 0;
  }
}
@media(max-width: 600px) {
  .area-list {
    padding: 5px 0 0 20px;
    margin: 20px auto 0;
  }
  .area-list .tab-button {
    font-size: 0.8rem;
    line-height: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0 20px 5px 0;
    padding: 5px 10px;
  }
}
@media(max-width: 550px) {
  .profile_image-area img {
    width: 160px;
  }
}
@media(max-width: 500px) {
  .lawyer-area {
    width: 327px;
    height: initial;
    border: solid 1px #1b5f95;
    border-top: solid 20px #1b5f95;
    border-radius: 10px;
    margin-right: 15px;
    padding: 10px 24px 10px;
    box-sizing: border-box;
  }
  .list-upper {
    flex-flow: column-reverse;
  }
  .lawyer-profile {
    min-height: 110px;
    margin-right: 0;
    margin-top: 10px;
  }
  .office-name {
    margin: 10px 0;
  }
  .profile_image-area {
    width: 100%;
    max-height: 180px;
  }
  .profile_image-area img {
    width: 100%;
    max-width: 280px;
    height: 180px;
    object-fit: contain;
  }
  .icon-area {
    display: none;
  }
  .lawyer-description {
    display: none;
  }
  .button-area {
    transform: scale(0.75);
    margin-top: 0;
  }
  .button-area a:first-child {
    margin-right: 10px;
  }
  .left-button {
    top: 70%;
  }
  .right-button {
    top: 70%;
  }
}
@media(max-width: 500px) {
  .tel-number {
    font-size: 1.0rem;
  }
}
@media(max-width: 350px) {
  .lawyer-list__wrap {
    padding-top: 30px;
    box-sizing: border-box;
  }
  .top__lawyer-list {
    margin-top: 0;
  }
  .lawyer-area {
    width: 250px;
  }
  .profile_image-area img {
    height: 150px;
  }
  .top-lawyer__contact-description {
    display: block;
    font-weight: 600;
  }
  .lawyer-area .tel-button, .lawyer-area .mail-button {
    width: 100px;
  }
  .lawyer-area .tel-button img, .lawyer-area .mail-button img {
    margin: initial;
  }
  .lawyer-area .tel-button p, .lawyer-area .mail-button p {
    display: none;
  }
  .link-button {
    max-width: 90vw;
    margin-top: 0;
  }
  .more-button {
    transform: scale(0.8);
    margin: 0 auto;
  }
  .more-icon__left {
    margin-right: 20px;
  }
  .more-icon__right {
    margin-left: 15px;
  }
}


/* lawyer-mypage */
.lawyer-mypage__wrap {
  margin-top: 60px;
}
.mypage-heading {
  display: flex;
  align-items: flex-end;
  max-width: 1000px;
  border-bottom: solid 2px #1b5f95;
  margin: 0 auto;
  padding: 0 0 10px 20px;
  box-sizing: border-box;
}
.mypage__heading-name {
  font-size: 2.0rem;
  font-weight: 600;
  text-align: left;
}
.mypage__heading-office {
  font-size: 1.125rem;
  margin-left: 20px;
  box-sizing: border-box;
}
.lawyer-mypage__upper, .lawyer-info__bottom {
  max-width: 1000px;
  margin: 0 auto;
}
.lawyer-mypage__upper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}
.lawyaer-detail__wrap {
  width: 100%;
  max-width: 450px;
  margin-right: 50px;
}
.lawyer-detail {
  max-width: 450px;
  border: solid 2px #565656;
  box-sizing: border-box;
}
.lawyer-detail tr:not(:last-child) {
  border-bottom: solid 2px #565656;
  box-sizing: border-box;
}
.lawyer-detail tr th {
  width: 110px;
  background-color: #d6e6f7;
  font-size: 1.0rem;
  line-height: 1.5rem;
  padding: 10px;
  border-right: solid 2px #565656;
  box-sizing: border-box;
  white-space: nowrap;
}
.lawyer-detail tr td {
  width: 340px;
  font-size: 1.0rem;
  line-height: 1.5rem;
  text-align: left;
  background-color: #eef6ff;
  padding: 10px;
  box-sizing: border-box;
}
.mypage__office-address {
  margin-bottom: 5px;
}
.lawyer-mypage__wrap .google-map {
  display: flex;
  justify-content: center;
  align-items: center;
}
.lawyer-mypage__wrap .google-map iframe {
  width: 50vw;
  max-width: 300px;
  max-height: 160px;
  border-radius: 10px;
}
.lawyer-mypage__wrap .icon-area {
  flex-wrap: wrap;
  margin-top: 10px;
  margin-right: 0;
}
.lawyer-mypage__wrap .icon-area:not(:last-child) {
  margin-right: 20px;
}
.lawyer-mypage__wrap .appeal-icon img {
  border-radius: 5px;
}
.lawyer-mypage__wrap .icon-area img {
  margin-top: 10px;
}

.lower__image-area {
  max-width: 500px;
  margin: 0 auto;
  padding-bottom: 50px;
  box-sizing: border-box;
}
.lawyer-image {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 500px;
  height: 400px;
  margin: 0 auto;
}
.lawyer-image img {
  width: 100%;
  max-width: 500px;
  max-height: 400px;
  object-fit: contain;
}
.lawyer-image__expansion {
  display: none;
}
.lawyer-image__expansion.tab-open {
  display: block;
}
.mypage__image-list {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  margin-top: 20px;
}
.image-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border: solid 2px #bbbbbb;
  transition: all .2s ease-in-out 0s;
}
.image-button:not(:last-child) {
  margin-right: 15px;
}
.image-button img {
  width: 100%;
  max-width: 50px;
  max-height: 50px;
  object-fit: contain;
}
/* PC版のみリンクへのホバー要素 */
@media(min-width: 961px) {
  .image-button:hover {
    transform: scale(1.1);
  }
}
@media(max-width: 1000px) {
  .lawyaer-detail__wrap {
    margin-right: 20px;
  }
}
@media(max-width: 960px) {
  .lawyer-mypage__upper {
    flex-flow: column-reverse;
    margin-top: 20px;
  }
  .lawyaer-detail__wrap {
    margin-right: 0;
  }
  .lower__image-area {
    padding-bottom: 20px;
  }
  .lawyer-image__expansion {
    margin: 0 auto;
  }
  .mypage__image-list {
    margin-top: 10px;
  }
  .lawyer-image img {
    max-height: 300px;
  }
}
@media (max-width: 600px) {
  .lower__image-area {
    padding-bottom: 0;
  }
  .lawyer-image {
    max-width: 90vw;
  }
  .lawyer-detail {
    margin: 10px auto 0;
  }
  .mypage__image-list {
    margin-top: 10px;
  }
}
@media (max-width: 550px) {
  .lawyer-mypage__wrap {
    margin: 30px 10px 0;
  }
  .mypage-heading {
    flex-flow: column;
    align-items: flex-start;
    padding: 0;
  }
  .mypage__heading-office {
    margin: 5px 0 0 0;
  }
  .lawyer-image {
    height: 70vw;
  }
}
@media (max-width: 500px) {
  .lawyer-mypage__wrap .icon-area {
      display: flex;
  }
  .image-button {
    margin-top: 5px;
  }
  .image-button:not(:last-child) {
    margin-right: 10px;
  }
}
@media (max-width: 400px) {
  .lawyer-image img {
    max-height: 200px;
  }
}
@media (max-width: 300px) {
  .lawyer-detail tr th {
    width: 80px;
    padding: 5px;
  }
}

.lawyer-info__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}
.business-days {
  width: 100%;
  max-width: 450px;
  max-height: 130px;
  border-collapse: separate;
  border: solid 2px #bbbbbb;
  border-radius: 10px;
  box-sizing: border-box;
}
.business-days th {
  width: 100px;
  font-size: 0.875rem;
  padding: 5px 0;
  box-sizing: border-box;
}
.business-days th span {
  font-size: 0.625rem;
}
.business-days__top-line th, .business-days__top-line td {
  vertical-align: center;
  background-color: #b9d2ef;
  padding: 10px 0;
  box-sizing: border-box; 
}
.business-days__top-line .blue {
  color: #fff;
  background-color: #1b5f95;
}
.business-days__top-line .red {
  color: #fff;
  background-color: #f96565;
}
.business-days__top-line th {
  border-radius: 7px 0 0 0;
}
.business-days__top-line td:last-child {
  border-radius: 0 7px 0 0;
}
.business-days__contents td {
  width: 10vw;
  max-width: 50px;
  font-size: 1.25rem;
  vertical-align: middle;
  padding: 10px 0;
  box-sizing: border-box;
}
.business-days__top-line th, .business-days__top-line td:not(:last-child), .business-days__contents th, .business-days__contents td:not(:last-child) {
  border-right: solid 2px #bbbbbb;
  box-sizing: border-box;
}
.business-days__contents th, .business-days__contents td {
  border-top: solid 2px #bbbbbb;
  box-sizing: border-box;
}
@media(max-width: 1000px) {
  .lawyer-info__bottom {
    flex-flow: column;
  }
}

.handling-field {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  position: relative;
  width: 100%;
  max-width: 530px;
  background-color: #f7f4e2;
  border-radius: 10px;
  padding: 20px 5px 20px 20px;
  box-sizing: border-box;
}
.handling-field:after {
  position: absolute;
  content: '取扱分野';
  font-size: 0.875rem;
  text-align: center;
  background: #d1b41b;
  color: #FFF;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  top: 0;
  left: 10px;
  padding: 2px 6px;
  box-sizing: border-box;
}
.handling-field li {
  width: 100%;
  max-width: 150px;
  color: #fff;
  background-color: #1b5f95;
  border-radius: 5px;
  margin: 10px 15px 0 0;
  padding: 7px 0;
  box-sizing: border-box;
}
@media(max-width: 1000px) {
  .handling-field {
    margin-top: 20px;
  }
}
@media(max-width: 550px) {
  .handling-field {
    max-width: 360px;
  }
}
@media(max-width: 375px) {
  .handling-field {
    flex-flow: column;
    justify-content: center;
  }
}

.mypage__contact-area {
  max-width: 860px;
  background-color: #d6e6f7;
  border-left: solid 20px #1b5f95;
  border-radius: 10px;
  margin: 30px auto 0;
  padding: 20px 15px;
  box-sizing: border-box;
}
.contact-area__upper {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
.mypage__contact-description {
  display: block;
  font-size: 2.0rem;
  font-weight: 600;
}
.contact-area__lower {
  font-size: 0.9rem;
  margin-top: 10px;
}
.mypage__contact-area .button-area {
  margin-top: initial;
}
@media(max-width: 900px) {
  .mypage__contact-area {
    justify-content: center;
    text-align: center;
    margin: 30px 20px 0;
  }
  .mypage__contact-description {
    font-size: 1.5rem;
    margin-right: 20px;
  }
}
@media(max-width: 800px) {
  .mypage__contact-description {
    font-size: 1.25rem;
  }
}
@media(max-width: 760px) {
  .mypage__contact-area {
    max-width: 530px;
    margin: 30px auto 0;
    padding: 10px 5px;
  }
  .contact-area__upper {
    flex-flow: column;
  }
  .mypage__contact-description {
    font-size: 1.125rem;
    margin-right: 0;
    margin-top: 5px;
  }
  .mypage__contact-area .button-area {
    margin-top: 10px;
  }
  .contact-area__lower {
    display: block;
    font-size: 0.75rem;
    line-height: 1.125rem;
  }
}
@media(max-width: 600px) {
  .mypage__contact-area {
    border-left: solid 10px #1b5f95;
    padding: 10px 15px 10px 5px;
  }
  .mypage__contact-area .button-area {
    transform: scale(0.8);
  }
  .contact-area__lower {
    margin-top: 0;
  }
}
@media(max-width: 550px) {
  .mypage__contact-area {
    max-width: 360px;
  }
  .mypage__contact-area .button-area {
    margin-top: 0;
  }
  .mypage__contact-area .button-area a:not(:last-child) {
    margin-right: 10px;
  }
}
@media(max-width: 420px) {
  .mypage__contact-area .button-area {
    flex-flow: column;
  }
  .mypage__contact-area .button-area a:not(:last-child) {
    margin-right: 0;
  }
  .mypage__contact-area .button-area a:not(:first-child) {
    margin-top: 10px;
  }
}

.mypage__free-area {
  display: block;
  width: 95vw;
  max-width: 900px;
  margin: 30px auto 0;
}
.mypage__tab-list {
  display: flex;
  align-items:flex-end;
  list-style: none;
  height: 70px;
  transition: all .3s ease-in-out;
}
.mypage__tab-button {
  display: flex;
  align-items: center;
  color: #333;
  text-align: center;
  background-color: #FFF;
  border-radius: 8px 8px 0 0;
  border-left: solid 4px #b9d2ef;
  border-right: solid 4px #b9d2ef;
  border-top: solid 4px #b9d2ef;
  height: 60px;
  font-size: 1.0rem;
  line-height: 1.5rem;
  font-weight: 600;
  padding: 15px;
  box-sizing: border-box;
  transition: all .3s ease-in-out;
  cursor: pointer;
}
.mypage__tab-button.tab-selected {
  background-color: #b9d2ef;
}
.mypage__tab-button:not(:last-child) {
  margin-right: 10px;
}
.mypage__tab-area {
  display: none;
  width: 95vw;
  max-width: 900px;
  border-top: solid 20px #b9d2ef;
  border-left: solid 4px #b9d2ef;
  border-right: solid 4px #b9d2ef;
  border-bottom: solid 4px #b9d2ef;
  border-radius: 0 10px 10px 10px;
  box-sizing: border-box;
}
.mypage__tab-area.tab-open {
  display: block;
}
.mypage__tab-area .single-animated, .interview-area__wrap {
  max-width: 90%;
  margin: 0 auto;
  padding: 20px 0 0;
  box-sizing: border-box;
}
.interview-area__heading {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}
.intervew__image-box {
  display: flex;
  align-items: center;
  width: 60vw;
  height: 100%;
  max-height: 300px;
  aspect-ratio: 4 / 3;
  margin-right: 30px;
}
.intervew__image-box img {
  width: 100%;
  max-width: 400px;
  max-height: 300px;
  object-fit: cover;
}
.intervew-description {
  line-height: 1.8rem;
  width: 98%;
  text-align: left;
}
.interview-question {
  display: block;
  font-size: 1.5rem;
  line-height: 2.25rem;
  font-weight: 600;
  text-align: left;
  border-bottom: solid 10px #b9d2ef;
  margin-bottom: 15px;
  padding: 0 5px;
  box-sizing: border-box;
}
.interview-question span {
  margin-right: 10px;
}
.interview-answer {
  line-height: 1.8rem;
  width: 98%;
  text-align: left;
  margin: 0 auto 30px;
}
/* PC版のみリンクへのホバー要素 */
@media(min-width: 961px) {
  .mypage__tab-button:hover {
    background-color: #b9d2ef;
  }
}
@media(max-width: 960px) {
  .mypage__tab-list {
    height: 60px;
  }
  .mypage__tab-button {
    height: 50px;
    font-size: 0.8rem;
    line-height: 1.2rem;
    padding: 5px;
  }
  .interview-area__heading {
    flex-flow: column;
    margin-bottom: 30px;
  }
  .intervew__image-box {
    margin-right: 0;
    margin-bottom: 20px;
  }
}
@media(max-width: 400px) {
  .mypage__tab-list {
    height: 50px;
  }
  .mypage__tab-button {
    height: 40px;
    font-size: 0.75rem;
    line-height: 1.125rem;
  }
}

.lawyer-mypage__contents {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.lawyer-mypage__banner {
  width: 220px !important;
  height: auto;
  margin-left: 30px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
}
.lawyer-mypage__banner .lawyer__tracking-banner {
  position: sticky;
  top: 10px;
  width: 220px;
}
@media(min-width: 1461px) {
  .lawyer-mypage__banner {
    margin-left: 50px;
    padding: 80px 0 0;
  }
  .lawyer-mypage__banner .lawyer__tracking-banner {
    top: 5px;
  }
}
@media(min-width: 1500px) {
  .lawyer-mypage__banner .lawyer__tracking-banner {
    transform: scale(1.1);
    top: 20px;
  }
}
@media(min-width: 1600px) {
  .lawyer-mypage__banner {
    margin-left: 5vw;
    padding: 100px 0 0;
  }
  .lawyer-mypage__banner .lawyer__tracking-banner {
    transform: scale(1.2);
    top: 35px;
  }
}
@media(min-width: 2000px) {
  .lawyer-mypage__banner {
    margin-left: 5vw;
    padding: 100px 0 0;
  }
  .lawyer-mypage__banner .lawyer__tracking-banner {
    transform: scale(1.3);
    top: 45px;
  }
}
.lawyer-mypage__banner .lawyer__tracking-banner .banner-image {
  max-width: 180px;
  max-height: 100px;
}
.lawyer-mypage__banner .lawyer__tracking-banner .side-banner__tel-description {
  color: #333;
  font-weight: 600;
  margin: 10px auto 0;
}
.lawyer-mypage__banner .lawyer__tracking-banner .side__tel-button {
  margin: 5px auto 10px;
}
@media(max-width: 1460px) {
  .lawyer-mypage__banner {
    display: none;
  }
}


.connect-list {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  position: relative;
  width: 100%;
  max-width: 860px;
  border: solid 2px #157f3b;
  border-radius: 10px;
  margin: 20px auto 0;
  padding: 20px 5px 20px 20px;
  box-sizing: border-box;
}
.connect-list:after {
  position: absolute;
  content: '専門サイトリンク';
  font-size: 0.875rem;
  text-align: center;
  background: #157f3b;
  color: #FFF;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  top: 0;
  left: 10px;
  padding: 2px 6px;
  box-sizing: border-box;
}
.connect-link {
  width: 100%;
  max-width: 200px;
  border-radius: 5px;
  margin: 10px 15px 0 0;
  padding: 7px 0;
  box-sizing: border-box;
}
.connect-link img {
  max-width: 200px;
  transition: all .2s ease-in-out 0s;
}
.connect-link__off {
  opacity: 0.5;
  pointer-events: none;
}
@media(min-width: 960px) {
  .connect-link img:hover {
    transform: scale(1.1)
  }
}
@media(max-width: 550px) {
  .connect-list {
    max-width: 360px;
  }
  .connect-link__off {
    display: none;
  }
}
@media(max-width: 375px) {
  .connect-list {
    flex-flow: column;
    justify-content: center;
  }
}

/* 弁護士リスト(個別ページ) */
.single__lawyer-list {
  max-width: 900px;
  overflow: hidden;
  margin: 10px auto;
  position: relative;
  box-sizing: border-box;
  margin-top: 30px; 
}
.single__lawyer-title {
  font-size: 1.5rem;
  font-weight: 600;
}
.single__lawyer-list .area-list {
  margin-top: 20px;
}
.single__lawyer-list .top__lawyer-list.tab-open {
  margin-top: 20px;
}
.single__lawyer-list .lawyer-area {
  max-width: 330px;
  min-height: 394px;
  background-color: #d0e0f4;
  border: solid 2px #b9d2ef;
  padding: 20px 0 10px;
}
.single__lawyer-list .list-upper {
  flex-flow: column;
  padding: 0 20px;
  box-sizing: border-box;
}
.single__lawyer-list .profile_image-area {
  width: 100%;
  max-width: 280px;
  max-height: 180px;
}
.single__lawyer-list .profile_image-area img {
  width: 100%;
  max-width: 280px;
  height: 180px;
  object-fit: contain;
}
.single__lawyer-list .lawyer-profile {
  min-height: initial;
  margin: 10px 15px 0;
}
.single__lawyer-list .office-name {
  margin: 10px 0;
}
.single__lawyer-list .button-area {
  transform: scale(0.75);
  margin-top: 0;
}
.single__lawyer-list .button-area a:first-child {
  margin-right: 10px;
}
.single__lawyer-list .link-button {
  margin: 20px auto 0;
}
.single__lawyer-list .left-button .pc, .single__lawyer-list .right-button .pc {
  max-width: 50px;
}
.single__lawyer-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 300px;
  background-color: #1b5f95;
  font-size: 1.0rem;
  font-weight: 600;
  color: #FFF;
  white-space: nowrap;
  border-radius: 100px;
  padding: 5px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s ease-in-out;
  box-sizing: border-box;
  cursor: pointer;
}
@media (max-width: 500px) {
  .single__lawyer-list .right-button, .single__lawyer-list .left-button {
    top: 40%;
  }
}
@media (max-width: 400px) {
  .single__lawyer-link {
    max-width: 200px;
  }
}

.single__lawyer-list .lawyer-list__wrap {
  padding-top: 10px;
  box-sizing: border-box;
}
.single__lawyer-list .search-header__right {
  top: 0;
  padding: 5px;
}
@media(max-width: 960px) {
  .single__lawyer-list .sort-info-tooltip.sp {
    right: 5px;
    top: 0;
  }
}