/* 2025.11.17 TOPの業務内容修正 */
.top-business-content__img-1 img {
  height: auto;
}
.top-business__link {
  text-align: right;
}
.inline-block {
  display: inline-block;
}

/* 2025.11.17 個別記事 この記事の監修者を追加 */
.post-author {
  margin-top: 40px;
}
.post-author__title {
  padding: 0 0 16px;
  border-bottom: 1px solid #aaaaaa;
  font-size: 16px;
  margin-bottom: 20px;
}
.post-author__profile {
  display: flex;
  gap: 17px;
}
.post-author__profile + .post-author__profile {
  margin-top: 20px;
}
.post-author__img {
  width: 173px;
  height: 173px;
  overflow: hidden;
}
.post-author__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-author__body {
  width: calc(100% - 142px);
}
.post-author__body a {
  color: #1463a6;
  text-decoration: underline;
  transition: all 0.3s;
}

.post-author__body a:hover {
  opacity: 0.7;
}

p.post-author__name {
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 8px;
}
.post-author__name a {
  transition: all 0.3s;
  text-decoration: underline;
}
.post-author__name a:hover {
  opacity: 0.7;
}

.post-author__post {
  font-size: 16px;
  letter-spacing: 0;
  font-weight: 500;
}
.post-author__text p {
  font-size: 16px;
  margin-top: 8px;
  line-height: calc(24 / 16);
  letter-spacing: 0;
  font-weight: 400;
}

@media screen and (max-width: 790px) {
  .post-author__title {
    margin-bottom: 10px;
  }
  .post-author__profile {
    gap: 24px;
  }

  .post-author__profile + .post-author__profile {
    margin-top: 10px;
  }
  .post-author__img {
    width: 80px;
    height: 80px;
  }
  .post-author__body {
    width: calc(100% - 104px);
  }
  .post-author__post {
    margin-top: 0;
    font-size: 14px;
  }
  p.post-author__name {
    font-size: 20px;
  }
  .post-author__text p {
    font-size: 14px;
    line-height: calc(20 / 14);
  }
}

/* 2025.11.17 お問い合わせ項目の条件表示 */
.mw_wp_form_confirm .item-text {
  display: none !important; /* 確認画面では非表示 */
}
.item-text {
  display: none; /* 初期状態で全て非表示 */
  margin-left: 16px;
  padding: 10px;
}
@media screen and (max-width: 790px) {
  .item-text {
    margin-left: 0px;
  }
}

/* 2025.11.17 CTA */
.single {
  overflow-x: hidden;
}
.cta {
  margin-top: 25px;
  margin-bottom: 25px;
  background: url(../images/back_cta_pc.webp) no-repeat center center / cover;
  padding: 40px;
}
.cta picture {
  width: 700px;
  max-width: 100%;
  margin-inline: auto;
  display: block;
}
.cta img {
  height: auto;
}
.cta__footer {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 270px 270px;
  justify-content: center;
  gap: 38px;
}
.cta-wrap .cta {
  margin-bottom: 0;
}
@media screen and (max-width: 790px) {
  .cta {
    background: url(../images/back_cta_sp.webp) no-repeat center center / cover;
    padding: 25px 12px;
  }
  .cta__footer {
    margin-top: 20px;
    gap: 10px;
    grid-template-columns: 1fr;
  }
}

.btn-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  border-radius: 30px;
  text-align: center;
  margin-inline: auto;
  padding: 10px;
  position: relative;
  width: 272px;
  transition: all 0.3s;
  text-decoration: none !important;
}
@media (any-hover: hover) {
  .btn-cta:hover {
    filter: brightness(1.1);
  }
}

.btn-cta::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(50%, -50%);
  width: 36px;
  height: 8px;
  background: url(../images/icon_btn-arrow.svg) no-repeat center center /
    contain;
}
.btn-cta__text {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  width: fit-content;
  margin-inline: auto;
}
.btn-cta--tel {
  background: linear-gradient(90deg, #3e87f5 0%, #5dccee 100%);
}
.btn-cta--form {
  background: linear-gradient(90deg, #ff7708 0%, #ffd308 100%);
}
.btn-cta--form .btn-cta__text {
  font-size: 17px;
  position: relative;
}
.btn-cta--tel .btn-cta__text::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(150%, -85%);
  width: 18px;
  aspect-ratio: 14/20;
  background: url(../images/icon_phone.svg) no-repeat center center / contain;
}
.btn-cta__time {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

/* 2025.11.19 不動産相続サポート */
.active-sp {
  display: none;
}
@media screen and (max-width: 790px) {
  .active-sp {
    display: block;
  }
}
.active-pc {
  display: block;
}
@media screen and (max-width: 790px) {
  .active-pc {
    display: none;
  }
}

.page-main {
  padding-top: 114px;
  overflow: hidden;
}
@media screen and (max-width: 980px) {
  .page-main {
    padding-top: 60px;
  }
}

.page-heading {
  background: url(../images/souzoku/bg_heading.webp) no-repeat center center /
    cover;
  padding: 63px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  font-size: 38px;
}

@media screen and (max-width: 790px) {
  .page-heading {
    background: url(../images/souzoku/bg_heading_sp.webp) no-repeat center
      center / cover;
    font-size: 21px;
    padding: 48px 10px;
  }
}

.souzoku {
  padding-top: 0 !important;
}

.souzoku__content {
  display: grid;
  grid-template-columns: 496px 1fr;
  margin-top: 30px;
}

.souzoku__img {
  position: relative;
  z-index: 1;
}

.souzoku__img img {
  border-radius: 20px;
  height: auto;
}

.souzoku__body {
  margin-top: 50px;
  display: grid;
  gap: 6px;
  padding: 35px;
  border-radius: 20px 0 0 20px;
  position: relative;
}
.souzoku__body::before {
  content: "";
  display: block;
  width: 100vw;
  height: 100%;
  background-color: #fff;
  position: absolute;
  z-index: -1;
  left: -10vw;
  top: 0;
  background: #eaf2f9;
  border-radius: 20px;
}

.souzoku__item {
  position: relative;
  display: grid;
  gap: 10px;
  align-items: baseline;
  grid-template-columns: 16px 1fr;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}
.souzoku__item::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 15px;
  background: url(../images/souzoku/icon_check.svg) no-repeat center center /
    contain;
}
@media screen and (max-width: 1024px) {
  .souzoku__content {
    grid-template-columns: 1fr;
  }
  .souzoku__img {
    margin-bottom: -96px;
  }
  .souzoku__body {
    margin-top: 0;
    margin-left: 24px;
    padding: 114px 0px 30px 20px;
  }
  .souzoku__body::before {
    left: 0;
  }
  .souzoku__item {
    font-size: 16px;
  }
}

.souzoku__card {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}

.souzoku__card-item {
  background-color: #eaf2f9;
  border-radius: 20px;
  width: 356px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.souzoku__card-item-img {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 130px;
}
.souzoku__card-item-img--1 {
  margin-bottom: 3px;
}

.souzoku__card-item-img--2 {
  width: 95px;
}

.souzoku__card-item-img img {
  width: 100%;
  height: auto;
}

.souzoku__card-item-text {
  font-weight: bold;
  color: #1463a0;
  text-align: center;
  line-height: normal;
}

.souzoku__card-item-text-large {
  font-size: 26px;
}

.souzoku__card-item-text-small {
  font-size: 20px;
}

@media screen and (max-width: 790px) {
  .souzoku__card {
    gap: 10px;
    margin-top: 30px;
  }

  .souzoku__card-item {
    width: 100%;
    max-width: 356px;
    flex-direction: row;
    gap: 24px;
    padding: 17px 28px;
    align-items: center;
  }
  .souzoku__card-item-img {
    width: 94px;
    margin-bottom: 0;
  }
  .souzoku__card-item-img img {
    height: auto;
  }
  .souzoku__card-item-img--1 {
    margin-bottom: 0;
  }
  .souzoku__card-item-img--2 {
    width: 72px;
  }
  .souzoku__card-item-text {
    width: calc(100% - 94px - 24px);
    text-align: left;
  }
  .souzoku__card-item-text-large {
    font-size: 20px;
  }
  .souzoku__card-item-text-small {
    font-size: 16px;
  }
}

.souzoku__subtitle {
  margin-top: 80px;
  font-size: 26px;
  text-align: center;
  font-weight: 700;
  line-height: 160%;
}
.souzoku__text {
  margin-top: 15px;
  font-weight: 500;
  font-size: 20px;
  text-align: center;
  line-height: 160%;
}

.souzoku__lead {
  padding-top: 20px;
  font-size: 38px;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
}
.souzoku__marker {
  color: #1463a0;
  font-size: 46px;
  font-weight: 700;
  background: linear-gradient(transparent 75%, #ffd308 75%);
}

@media screen and (max-width: 790px) {
  .souzoku__subtitle {
    margin-top: 50px;
  }
  .souzoku__lead {
    padding-top: 0;
    font-size: 24px;
  }
  .souzoku__marker {
    font-size: 32px;
  }
  .souzoku__subtitle {
    font-size: 20px;
  }
  .souzoku__text {
    font-size: 16px;
  }
}

/* cta */
.page-cta {
  background: url(../images/souzoku/bg_souzoku-cta.webp) no-repeat center top /
    cover;
  padding: 100px 20px;
}
.page-cta__title {
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
}

.page-cta__text {
  margin-top: 15px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
}

@media screen and (min-width: 791px) {
  /* 余白調整 */
  .page-cta--small {
    padding: 80px 20px;
  }
  /* ボタンのスタイル */
  .cta__footer--page {
    grid-template-columns: 340px 340px;
  }

  .btn-cta--page {
    width: 340px;
    padding: 16px;
    border-radius: 40px;
  }
  .btn-cta--page .btn-cta__text {
    font-size: 22px;
  }
  .btn-cta--page .btn-cta__text::before {
    transform: translate(340%, -85%);
  }
  .btn-cta--page .btn-cta__time {
    font-size: 14px;
  }
}
@media screen and (max-width: 790px) {
  .page-cta {
    background: url(../images/souzoku/bg_souzoku-cta_sp.webp) no-repeat center
      center / cover;
    padding: 60px 20px;
  }
  .page-cta__title {
    font-size: 26px;
  }
  .page-cta__text {
    font-size: 16px;
  }

  .btn-cta--page {
    min-height: 64px;
  }
}

/* 共通スタイル */
.page-inner {
  padding: 0 20px;
  max-width: calc(1150px + 40px);
  margin: auto;
}

.section {
  padding-top: 80px;
  padding-bottom: 80px;
}
@media screen and (max-width: 790px) {
  .section {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

.section-title {
  margin-bottom: 50px;
}

.section-title__en {
  color: #1463a0;
  font-family: "Alexandria", sans-serif;
  font-size: 60px;
  font-weight: 600;
  position: relative;
  padding-top: 50px;
  text-align: center;
  letter-spacing: 0.03em;
}
.section-title__en::before {
  content: "";
  position: absolute;
  width: 4px;
  height: 39px;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffd308;
}

.section-title__en--white {
  color: #fff;
}
.section-title__ja {
  text-align: center;
  margin-top: 10px;
  font-size: 18px;
  font-weight: 700;
}
.section-title__ja--white {
  color: #fff;
}
@media screen and (max-width: 790px) {
  .section-title {
    margin-bottom: 20px;
  }
  .section-title__en {
    font-size: 30px;
    padding-top: 30px;
  }
  .section-title__en::before {
    height: 25px;
  }
  .section-title__ja {
    margin-top: 4px;
    font-size: 14px;
  }
}

.souzoku-text {
  font-size: 16px;
  font-weight: 500;
  line-height: 160%;
}

/* 不動産相続の流れ */
.souzoku-flow {
  position: relative;
  padding-bottom: 0;
}
.souzoku-flow__text {
  text-align: center;
  margin-top: 26px;
}
@media screen and (max-width: 790px) {
  .souzoku-flow__text {
    margin-top: 20px;
    text-align: left;
  }
}

/* 表 */
.souzoku-flow__table-wrapper {
  margin-top: 40px;
  margin-inline: auto;
  overflow-x: auto;
  width: 1000px;
  max-width: 100%;
}

.souzoku-flow__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}

.souzoku-flow__table thead {
  background-color: #1463a0;
}

.souzoku-flow__table thead th {
  color: #ffffff;
  font-weight: 700;
  padding: 7px;
  text-align: center;
  vertical-align: middle;
  border: none;
  font-size: 14px;
}

.souzoku-flow__table thead th:nth-child(2) {
  border-left: 1px solid #fff;
}
.souzoku-flow__table thead th:nth-child(3) {
  border-left: 1px solid #fff;
}

.souzoku-flow__table tbody tr {
  border-bottom: 1px solid #fff;
}

.souzoku-flow__table tbody td {
  padding: 20px;
  vertical-align: middle;
}

.souzoku-flow__table tbody td:first-child {
  width: 60px;
  text-align: center;
  background-color: #7bb0d9;
  color: #ffffff;
  font-size: 22px;
}

.souzoku-flow__table tbody td:nth-child(2) {
  width: auto;
  background-color: #eaf2f9;
  vertical-align: middle;
}

.souzoku-flow__table tbody td:nth-child(3) {
  width: 216px;
  background-color: #eaf2f9;
  border-left: 1px solid #1463a0;
  text-align: center;
  vertical-align: middle;
}

@media screen and (max-width: 790px) {
  .souzoku-flow__table-wrapper {
    margin-top: 25px;
  }

  .souzoku-flow__table {
    font-size: 16px;
    width: 100%;
  }

  .souzoku-flow__table thead th {
    padding: 4px;
    font-size: 12px;
  }

  .souzoku-flow__table tbody td {
    padding: 5px 15px;
    vertical-align: top;
  }

  .souzoku-flow__table tbody td:first-child {
    width: 34px;
    padding: 20px 7px;
    font-size: 16px;
  }

  .souzoku-flow__table tbody td:nth-child(3) {
    padding: 5px;
    width: 110px;
  }
}

.souzoku-flow__arrow {
  margin-top: 30px;
  width: 396px;
  margin-inline: auto;
}

.souzoku-flow__arrow img {
  height: auto;
}

.souzoku-flow__detail {
  margin-top: 20px;
  border-radius: 20px;
  border: 3px solid #1463a0;
  padding: 26px 16px;
  background: #fff;
  font-size: 20px;
  line-height: 1.6;
  font-weight: 500;
  text-align: center;
  max-width: 1000px;
  margin-inline: auto;
}

.souzoku-flow__detail span {
  color: #1463a0;
  font-weight: 700;
  font-size: 26px;
}

@media screen and (max-width: 790px) {
  .souzoku-flow__arrow {
    margin-top: 20px;
    width: 230px;
  }
  .souzoku-flow__detail {
    margin-top: 14px;
    font-size: 16px;
    padding: 18px 10px;
  }
  .souzoku-flow__detail span {
    font-size: 18px;
  }
}

/* 2025.11.21 不動産相続の特徴 */
.souzoku-feature {
  padding-top: 168px;
  background-color: #1463a0;
  margin-top: -86px;
}
.souzoku-feature__item {
  display: grid;
  grid-template-columns: calc(522 / 1150 * 100%) 1fr;
  grid-template-areas:
    "img head"
    "img text";
  align-items: center;
  gap: 0 40px;
}
.souzoku-feature__item:nth-child(odd) {
  grid-template-columns: 1fr calc(522 / 1150 * 100%);
  grid-template-areas:
    "head img"
    "text img";
}

.souzoku-feature__item + .souzoku-feature__item {
  margin-top: 50px;
}

.souzoku-feature__item--souzoku {
  padding-bottom: 245px;
  position: relative;
}
@media screen and (max-width: 1400px) {
  .souzoku-feature__item--souzoku {
    padding-bottom: 316px;
  }
}
@media screen and (max-width: 1024px) {
  .souzoku-feature {
    margin-top: -104px;
    padding-top: 144px;
  }
  .souzoku-feature__item + .souzoku-feature__item {
    margin-top: 30px;
  }
  .souzoku-feature__item--souzoku {
    padding-bottom: 420px;
  }
}
@media screen and (max-width: 790px) {
  .souzoku-feature__item--souzoku {
    padding-bottom: 0;
  }
}
.souzoku-feature__item-note {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}

.souzoku-feature__item-head {
  grid-area: head;
  margin-top: auto;
}

.souzoku-feature__item-number {
  color: #fff;
  opacity: 0.4;
  font-family: Alexandria, sans-serif;
  font-size: 80px;
  font-weight: 600;
}
.souzoku-feature__item-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
  color: #fff;
}
.souzoku-feature__item-text {
  grid-area: text;
  margin-top: 7px;
  margin-bottom: auto;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
}
@media screen and (min-width: 791px) {
  .souzoku-feature__item--souzoku .souzoku-feature__img {
    margin-right: calc(50% - 50vw);
    width: 47.5vw;
  }
}

@media screen and (max-width: 790px) {
  .souzoku-feature__item {
    display: block;
  }
  .souzoku-feature__item-head {
    margin-top: 0;
    margin-bottom: 20px;
  }
  .souzoku-feature__img {
    margin-bottom: 20px;
  }
  .souzoku-feature__item-text {
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 0;
  }
  .souzoku-feature__item-number {
    font-size: 50px;
  }
  .souzoku-feature__item-title {
    font-size: 20px;
  }
}

.souzoku-feature__img {
  grid-area: img;
}
.souzoku-feature__img img {
  border-radius: 20px;
  aspect-ratio: 524/345;
  height: auto;
  width: 100%;
}

.souzoku-feature__btn {
  margin-left: auto;
}
.souzoku-feature__btn a {
  color: #fff;
  margin-bottom: 0;
  transition: all 0.3s;
  font-weight: 700;
}
.souzoku-feature__btn a:hover {
  opacity: 0.8;
}

@media screen and (max-width: 790px) {
  .souzoku-feature__btn img {
    width: 52px;
  }
}

/* Staff List  */
.staff-list {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  list-style: none;
  background-color: #ffffff;
  box-shadow: 0px 4px 6px 0px rgba(0, 0, 0, 0.25);
  border-radius: 20px;
  padding: 34px;
}

.staff-list__item {
  display: flex;
  flex: 1;
  gap: 20px;
  align-items: flex-end;
}
.staff-list__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: calc(100% - 220px - 20px);
}

.staff-list__label {
  background-color: #1463a0;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  line-height: normal;
  width: 100%;
  padding: 3px 5px;
  width: fit-content;
}

.staff-list__place {
  margin-top: 9px;
  font-weight: 700;
  font-size: 16px;
  color: #000000;
  line-height: normal;
}

.staff-list__name {
  font-weight: 700;
  font-size: 26px;
  color: #000000;
  line-height: normal;
  margin-bottom: 9px;
}

.staff-list__address {
  margin-top: 9px;
  position: relative;
  font-weight: 500;
  font-size: 14px;
  color: #000000;
  line-height: normal;
  margin-top: 0;
  padding-top: 9px;
  width: 100%;
}

.staff-list__address::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #989898;
}

.staff-list__img {
  width: 220px;
}

.staff-list__img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media screen and (max-width: 1024px) {
  .staff-list {
    flex-direction: column;
    gap: 15px;
    padding: 20px;
  }
  .staff-list__label {
    font-size: 12px;
    padding: 4px 8px;
  }

  .staff-list__place {
    font-size: 14px;
  }

  .staff-list__name {
    font-size: 20px;
  }

  .staff-list__address {
    font-size: 14px;
  }

  .staff-list__item {
    gap: 12px;
    align-items: flex-start;
  }

  .staff-list__img {
    width: 111px;
  }

  .staff-list__body {
    width: calc(100% - 111px - 12px);
  }
}
@media screen and (max-width: 790px) {
  .staff-list {
    position: static;
  }
}

/* ご相続の流れ */
.souzoku-advice__list {
  margin-top: 30px;
  display: grid;
  gap: 74px;
  grid-template-columns: repeat(4, 1fr);
}

.souzoku-advice__item {
  background-color: #eaf2f9;
  border-radius: 20px;
  padding: 28px 18px;
  position: relative;
}

.souzoku-advice__item a {
  color: rgb(20, 99, 166);
  text-decoration: underline;
  transition: all 0.3s;
}
.souzoku-advice__item a:hover {
  opacity: 0.8;
}

.souzoku-advice__item + .souzoku-advice__item::before {
  position: absolute;
  content: "";
  background: url(../images/souzoku/icon_flow.svg) no-repeat center center /
    contain;
  left: 0;
  top: 50%;
  transform: translate(-172%, -50%);
  width: 30px;
  height: 17px;
}

.souzoku-advice__item-img {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.souzoku-advice__item-title {
  margin-top: 20px;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: calc(32 / 1000 * 1em);
  line-height: calc(40 / 24);
  text-align: center;
}

.souzoku-advice__item-text {
  margin-top: 8px;
  font-size: 16px;
  letter-spacing: calc(24 / 1000 * 1em);
  line-height: calc(32 / 18);
}

.souzoku-advice__item-btn {
  margin-top: 16px;
}

.souzoku-advice__item-img {
  margin-inline: auto;
}

.souzoku-advice__item-img--small {
  width: 83px;
}

@media screen and (max-width: 1024px) {
  .souzoku-advice__list {
    margin-top: 20px;
    gap: 40px;
    grid-template-columns: repeat(1, 1fr);
  }

  .souzoku-advice__item {
    padding: 16px 12px;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 25px;
  }

  .souzoku-advice__item + .souzoku-advice__item::before {
    background: url(../images/souzoku/icon_flow-bottom.svg) no-repeat center
      center / contain;
    transform: translate(-50%, -110%);
    top: 0;
    left: 50%;
    width: 17px;
    height: 30px;
  }
  .souzoku-advice__item-img {
    width: 50px;
    margin: 20px;
  }
  .souzoku-advice__item-img--small {
    width: 66px;
  }

  .souzoku-advice__item-title {
    font-size: 18px;
    line-height: calc(28 / 20);
    margin-top: 0;
    text-align: left;
  }

  .souzoku-advice__item-text {
    margin-top: 8px;
    font-size: 16px;
    line-height: 1.6;
  }
}

/* 料金表セクション */
.section-subtitle {
  border-radius: 35px;
  background: #1463a0;
  color: #fff;
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  padding: 14px;
}
@media screen and (max-width: 790px) {
  .section-subtitle {
    border-radius: 25px;
    font-size: 20px;
    padding: 10px;
    line-height: 1.5;
  }
}

.souzoku-price {
  padding-bottom: 0;
}

.souzoku-price__list {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
@media screen and (max-width: 790px) {
  .souzoku-price__list {
    margin-top: 20px;
    gap: 20px;
  }
}

.souzoku-price__item {
  display: grid;
  grid-template-columns: 40% 60%;
  border: 2px solid #eaf2f9;
}

.souzoku-price__item--2 .souzoku-price__item-title {
  height: auto;
}

.souzoku-price__body {
  padding: 18px 0px 18px clamp(0.625rem, -4.315rem + 7.711vw, 2.625rem);
}

.souzoku-price__item-title-wrap {
  background: #eaf2f9;
  padding: 23px 60px;
}

.souzoku-price__item-title {
  color: #1463a0;
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  height: 100%;
}
@media screen and (max-width: 1024px) {
  .souzoku-price__body {
    padding: 23px 11px;
  }
  .souzoku-price__item {
    padding: 0;
    display: block;
  }
  .souzoku-price__item-title-wrap {
    padding: 12px;
  }
  .souzoku-price__item-title {
    justify-content: center;
    font-size: 22px;
  }

  .souzoku-price__item--2 .souzoku-price__item-title-wrap {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

.souzoku-price__title {
  font-weight: 700;
  font-size: 24px;
  line-height: normal;
  color: #1463a0;
}
@media screen and (max-width: 790px) {
  .souzoku-price__title {
    font-size: 20px;
  }
}

.souzoku-price__amount {
  font-weight: 700;
  color: #1463a0;
}

.souzoku-price__amount-large {
  font-size: 40px;
  line-height: normal;
}
@media screen and (max-width: 790px) {
  .souzoku-price__amount-large {
    font-size: 30px;
  }
}

.souzoku-price__amount-small {
  font-size: 20px;
  line-height: normal;
}
@media screen and (max-width: 790px) {
  .souzoku-price__amount {
    text-align: center;
  }
  .souzoku-price__amount-small {
    font-size: 16px;
  }
}

.souzoku-price__description {
  margin-top: 6px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
}
@media screen and (max-width: 790px) {
  .souzoku-price__description {
    margin-top: 8px;
    font-size: 14px;
  }
}

.souzoku-price__service-list {
  margin-top: 8px;
  font-weight: 700;
  font-size: 16px;
  line-height: normal;
  color: #000000;
}
@media screen and (max-width: 790px) {
  .souzoku-price__service-list {
    font-size: 14px;
  }
}

.souzoku-price__service-list li {
  margin-bottom: 2px;
}
.souzoku-price__service-list li:last-child {
  margin-bottom: 0;
}

.souzoku-price__options {
  display: flex;
  flex-direction: column;
  gap: 0px;
  margin-bottom: 20px;
}
@media screen and (max-width: 790px) {
  .souzoku-price__options {
    gap: 15px;
    margin-bottom: 15px;
  }
}

.souzoku-price__option {
  display: flex;
  align-items: center;
  gap: 10px;
}

.souzoku-price__option-title {
  font-weight: 700;
  font-size: 20px;
  color: #1463a0;
}
.souzoku-price__note {
  margin-top: 30px;
  font-size: 24px;
  text-align: center;
  font-weight: 700;
  line-height: 1.6;
}

@media screen and (max-width: 790px) {
  .souzoku-price__option {
    display: block;
  }
  .souzoku-price__option-title {
    font-size: 16px;
    margin-bottom: 4px;
    text-align: center;
  }

  .souzoku-price__note {
    margin-top: 20px;
    font-size: 18px;
  }
}

/* FAQアコーディオン */
.souzoku-faq {
  background: #f1f1f1;
}

.souzoku-faq__content {
  background: #fff;
  padding: 40px 20px;
  width: 100%;
}

.souzoku-faq__list {
  margin-inline: auto;
  width: 980px;
  max-width: 100%;
}

.souzoku-faq__item {
  margin-bottom: 20px;
}

.souzoku-faq__question {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 12px 24px;
  background-color: #f5f5f5;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 16px;
  transition: background-color 0.3s ease;
  border-radius: 35px;
}

.souzoku-faq__question:hover {
  background-color: #eeeeee;
}

.souzoku-faq__icon {
  font-family: Alexandria, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 20px;
  color: #ffffff;
  flex-shrink: 0;
}

.souzoku-faq__icon--q {
  background-color: #1463a0;
}

.souzoku-faq__icon--a {
  background-color: #ff6b35;
}

.souzoku-faq__question-text {
  flex: 1;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  color: #000000;
}

.souzoku-faq__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #1463a0;
  font-size: 28px;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.souzoku-faq__toggle--plus::before {
  content: "＋";
}

.souzoku-faq__toggle--minus::before {
  content: "−";
}

.souzoku-faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  background-color: #ffffff;
  transition: grid-template-rows 0.3s ease, padding-top 0.3s ease,
    padding-bottom 0.3s ease;
  padding: 0px 24px;
}

.souzoku-faq__answer > * {
  min-height: 0;
}

.souzoku-faq__answer-inner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-top: 0;
  padding-bottom: 0;
}

.souzoku-faq__item--active .souzoku-faq__answer,
.souzoku-faq__item.souzoku-faq__item--active .souzoku-faq__answer {
  grid-template-rows: 1fr;
  padding-top: 24px;
  padding-bottom: 0;
}

.souzoku-faq__item--active .souzoku-faq__answer-inner,
.souzoku-faq__item.souzoku-faq__item--active .souzoku-faq__answer-inner {
  padding-top: 0;
  padding-bottom: 0;
}

.souzoku-faq__answer-text {
  flex: 1;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
  color: #000000;
  margin: 0;
}

@media screen and (max-width: 790px) {
  .souzoku-faq__content {
    padding: 20px;
  }
  .souzoku-faq__item {
    margin-bottom: 15px;
  }

  .souzoku-faq__question {
    padding: 7px 11px;
    gap: 12px;
    align-items: baseline;
    border-radius: 15px;
  }

  .souzoku-faq__icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .souzoku-faq__question-text {
    font-size: 16px;
  }

  .souzoku-faq__toggle {
    width: 20px;
    height: 20px;
    font-size: 24px;
    font-weight: 400;
  }

  .souzoku-faq__answer-inner {
    gap: 8px;
  }

  .souzoku-faq__answer {
    padding: 0px 11px;
  }

  .souzoku-faq__item--active .souzoku-faq__answer,
  .souzoku-faq__item.souzoku-faq__item--active .souzoku-faq__answer {
    padding-top: 10px;
    padding-bottom: 0px;
  }

  .souzoku-faq__answer-text {
    margin-top: 6px;
    padding-left: 0;
    font-size: 16px;
  }
}

/* お客様の声 */
.souzoku-voice {
  padding-bottom: 0;
}
.souzoku-voice .swiper-voice {
  position: relative;
  padding-bottom: 40px;
}
.souzoku-voice .swiper-slide {
  width: 900px;
}

.souzoku-voice__card {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  background-color: #eaf2f9;
  border-radius: 20px;
  margin-top: 30px;
  padding: 35px 40px;
}

.souzoku-voice__image-wrapper {
  position: relative;
  width: 330px;
  position: absolute;
  left: -90px;
  top: -22px;
}
.souzoku-voice__image-wrapper img {
  border-radius: 20px;
  width: 100%;
  aspect-ratio: 330 / 232;
}

.souzoku-voice__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: 50% 50%;
}

.souzoku-voice__body {
  width: 72%;
  margin-left: auto;
}

.souzoku-voice__name {
  font-weight: 700;
  font-size: 18px;
  color: #1463a0;
  line-height: normal;
  margin-bottom: 17px;
}

.souzoku-voice__title {
  margin-top: 6px;
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 14px;
  color: #1463a0;
}

.souzoku-voice__text-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
}

.souzoku-voice__text {
  font-weight: 500;
  font-size: 16px;
  color: #000000;
  line-height: 1.6;
  flex: 1;
  transition: all 0.3s ease;
}

/* 不動産ページのみ：wrapperがある場合は5行制限を適用 */
.souzoku-voice__text-wrapper .souzoku-voice__text {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.souzoku-voice__text.expanded {
  display: block !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
  overflow: visible !important;
}

.souzoku-voice__read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  margin-left: auto;
  margin-right: auto;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  color: #1463a0;
  line-height: normal;
}

.souzoku-voice__read-more-text {
  display: inline-block;
}

.souzoku-voice__read-more-icon {
  display: inline-block;
  width: 15px;
  aspect-ratio: 10 / 5;
  background: url("../images/souzoku/icon_arrow-bottom.svg") no-repeat center
    center / contain;
  transition: transform 0.3s ease;
}

.souzoku-voice__read-more.expanded .souzoku-voice__read-more-icon {
  transform: rotate(180deg);
}

@media screen and (max-width: 1300px) {
  .souzoku-voice__image-wrapper {
    width: 260px;
  }
  .souzoku-voice .swiper-slide {
    width: 700px;
  }
}

@media screen and (max-width: 1024px) {
  .souzoku-voice .swiper-voice {
    padding-bottom: 32px;
  }
  .souzoku-voice__card {
    flex-direction: column;
    height: auto;
    max-width: 100%;
    padding: 150px 20px 20px;
    border-radius: 15px;
    margin-inline: 20px;
  }

  .souzoku-voice__image-wrapper {
    width: 71%;
    max-width: 226px;
    margin-left: 0;
    margin-top: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  .souzoku-voice__image {
    width: 100%;
    height: 100%;
  }
  .souzoku-voice__body {
    margin: 0;
    width: 100%;
  }
  .souzoku-voice__name {
    font-size: 16px;
    margin-bottom: 12px;
  }
  .souzoku-voice__title {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .souzoku-voice__text {
    width: 100%;
    font-size: 16px;
  }

  .souzoku-voice__read-more {
    font-size: 14px;
    margin-bottom: 18px;
  }
}

@media screen and (max-width: 790px) {
  .souzoku-voice .swiper-slide {
    width: 100%;
  }
}

/* Swiper Navigation - 共通スタイル */
.souzoku-voice .swiper-button-next.swiper-button-disabled,
.souzoku-voice .swiper-button-prev.swiper-button-disabled,
.fudousan-case .swiper-button-next.swiper-button-disabled,
.fudousan-case .swiper-button-prev.swiper-button-disabled {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.swiper-voice .swiper-button-prev,
.swiper-voice .swiper-button-next,
.swiper-case .swiper-button-prev,
.swiper-case .swiper-button-next {
  width: 70px;
  height: 70px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  top: 42%;
}

.swiper-voice .swiper-button-prev:after,
.swiper-voice .swiper-button-next:after,
.swiper-case .swiper-button-prev:after,
.swiper-case .swiper-button-next:after {
  display: none;
}

.swiper-voice .swiper-button-prev,
.swiper-case .swiper-button-prev {
  left: 5%;
  background-image: url(../images/souzoku/img_swiper-btn-prev.png);
}

.swiper-voice .swiper-button-next,
.swiper-case .swiper-button-next {
  right: 5%;
  background-image: url(../images/souzoku/img_swiper-btn-next.png);
}
@media screen and (max-width: 1300px) {
  .swiper-voice .swiper-button-prev,
  .swiper-case .swiper-button-prev {
    left: 1%;
  }

  .swiper-voice .swiper-button-next,
  .swiper-case .swiper-button-next {
    right: 1%;
  }
}

@media screen and (max-width: 1024px) {
  .swiper-voice .swiper-button-prev,
  .swiper-voice .swiper-button-next,
  .swiper-case .swiper-button-prev,
  .swiper-case .swiper-button-next {
    top: 21%;
  }
}

@media screen and (max-width: 790px) {
  .swiper-case .swiper-button-prev,
  .swiper-case .swiper-button-next {
    top: 13%;
  }
}

/* Swiper Pagination */
.swiper-voice .swiper-pagination,
.swiper-case .swiper-pagination {
  bottom: 0;
}

.swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets
  .swiper-pagination-bullet {
  margin: 0 7.5px;
}

.swiper-voice .swiper-pagination-bullet,
.swiper-case .swiper-pagination-bullet {
  background-color: #cacaca;
  opacity: 1;
  width: 10px;
  height: 10px;
}

.swiper-voice .swiper-pagination-bullet-active,
.swiper-case .swiper-pagination-bullet-active {
  background-color: #1463a0;
}

@media screen and (max-width: 790px) {
  .swiper-voice .swiper-button-prev,
  .swiper-voice .swiper-button-next,
  .swiper-case .swiper-button-prev,
  .swiper-case .swiper-button-next {
    width: 47px;
    height: 47px;
  }
}

/* 不動産の査定ページ */
.souzoku-feature--fudousan {
  margin-top: 0;
  padding-top: 104px;
}

.fudousan-service__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.fudousan-service__img img {
  border-radius: 20px;
  width: 100%;
  height: auto;
}

.fudousan-service__list {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.fudousan-service__title {
  margin-top: 20px;
  text-align: center;
  font-size: 26px;
  font-weight: 700;
}

.fudousan-service__text {
  margin-top: 14px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
}

@media screen and (max-width: 790px) {
  .souzoku-feature--fudousan {
    padding-top: 50px;
  }
  .fudousan-service__head {
    grid-template-columns: 1fr;
    gap: 0px;
  }
  .fudousan-service__list {
    margin-top: 20px;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .fudousan-service__title {
    font-size: 20px;
  }
  .fudousan-service__text {
    font-size: 16px;
  }
}

/* 相続での不動産売却・活用事例 */
.fudousan-case {
  padding-bottom: 0;
}
.fudousan-case__inner {
  max-width: calc(1140px + 40px);
  margin-inline: auto;
  padding-inline: 20px;
}
.fudousan-case__title {
  margin-bottom: 80px;
}
.fudousan-case .swiper-voice {
  position: relative;
  padding-bottom: 40px;
}
.fudousan-case .swiper-slide {
  width: 900px;
}
.fudousan-case .swiper-case {
  position: relative;
  padding-bottom: 36px;
}

/* 791px以上ではスライダーなしで横並び */
@media screen and (min-width: 791px) {
  .fudousan-case .swiper-case {
    overflow: visible;
  }
  .fudousan-case .swiper-case .swiper-wrapper {
    display: flex;
    flex-wrap: wrap;

    justify-content: center;
    transform: none !important;
  }
  .fudousan-case .swiper-case .swiper-slide {
    width: 50%;
    flex-shrink: 0;
    padding-left: 5.5%;
  }
  .fudousan-case .swiper-case .swiper-pagination,
  .fudousan-case .swiper-case .swiper-button-prev,
  .fudousan-case .swiper-case .swiper-button-next {
    display: none;
  }
}

.fudousan-case__card {
  position: relative;
  margin: 0 auto;
  background-color: #eaf2f9;
  border-radius: 20px;
  padding: 242px 30px 35px 30px;
}

.fudousan-case__image-wrapper {
  position: relative;
  width: calc(470 / 507 * 100%);
  position: absolute;
  left: -6%;
  top: -8%;
}
.fudousan-case__image-wrapper img {
  border-radius: 20px;
  width: 100%;
  aspect-ratio: 480 / 275;
}

.fudousan-case__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: 50% 50%;
}

.fudousan-case__case {
  background-color: #1463a0;
  color: #ffffff;
  font-weight: 700;
  font-size: 18px;
  width: 100%;
  padding: 5px 15px;
  width: fit-content;
  margin-bottom: 10px;
}

.fudousan-case__name {
  font-weight: 700;
  font-size: 18px;
  color: #1463a0;
  line-height: normal;
  margin-bottom: 17px;
}

.fudousan-case__card-title {
  margin-top: 6px;
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 12px;
}

.fudousan-case__text {
  font-weight: 500;
  font-size: 16px;
  color: #000000;
  line-height: 1.6;
  flex: 1;
}

@media screen and (max-width: 1200px) {
  .fudousan-case__card {
    padding-top: 20vw;
  }
}
@media screen and (max-width: 1024px) {
  .fudousan-case__inner {
    padding: 0;
  }
  .fudousan-case .swiper-voice {
    padding-bottom: 26px;
  }
  .fudousan-case__card {
    flex-direction: column;
    height: auto;
    max-width: 100%;
    padding: 117px 20px 20px;
    border-radius: 15px;
    margin-inline: 20px;
  }

  .fudousan-case__case {
    font-size: 14px;
  }

  .fudousan-case .swiper-case .swiper-slide {
    padding-left: 0;
  }

  .fudousan-case__image-wrapper {
    width: 71%;
    min-width: 238px;
    max-width: 226px;
    margin-left: 0;
    margin-top: 0;
    top: -6%;
    left: 50%;
    transform: translateX(-50%);
  }

  .fudousan-case__image {
    width: 100%;
    height: 100%;
  }

  .fudousan-case__name {
    font-size: 14px;
    margin-bottom: 12px;
  }
  .fudousan-case__card-title {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .fudousan-case__text {
    width: 100%;
    font-size: 16px;
  }
}

@media screen and (max-width: 790px) {
  .fudousan-case__title {
    margin-bottom: 0px;
  }
  .fudousan-case .swiper-case {
    padding-top: 57px;
  }
  .fudousan-case .swiper-slide {
    width: 100%;
  }
  .fudousan-case__card {
    padding-top: 110px;
  }
}

/* 2025.11.27 プライバシーポリシー */
@media screen and (max-width: 790px) {
  .privacy {
    margin-top: 52px;
  }
}

/* 2025.11.28 お問い合わせフォームselectのエラーメッセージ調整 */
@media screen and (min-width: 791px) {
  .mw_wp_form .error {
    position: absolute;
    bottom: 0;
    transform: translate(84%, -66%);
  }
  .mw_wp_form .contact__select-inner .error {
    bottom: auto;
    transform: none;
    margin-top: 4px;
  }
}
@media screen and (max-width: 790px) {
  .mw_wp_form .error {
    margin-top: 4px;
  }
}