@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap");

main#main {
  overflow-x: initial;
}

.inheritance_pagination {
  display: none;
}

.link_box {
  display: none;
  position: sticky;
  top: 40%;
  left: 70%;
  z-index: 1000;
  background-color: #fff;
  width: 100%;
  max-width: 220px;
  border: 1px solid #007F51;
  border-radius: 5px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.16);
  padding: 18px 11px;
	margin-top: -91px;
  transition: top 0.3s ease;
}

.link_box .close_button {
  position: absolute;
  top: 5px;
  right: 10px;
  width: 12px;
  height: 12px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.link_box .close_button::before,
.link_box .close_button::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 12px;
  height: 2px;
  background-color: #333;
}

.link_box .close_button::before {
  transform: rotate(45deg);
}

.link_box .close_button::after {
  transform: rotate(-45deg);
}

.link_box .link_box_text {
  font-size: 0.75rem;
  font-weight: bold;
  line-height: 1.33;
  margin-bottom: 15px;
}

.link_box .link_box_text:last-child {
  margin-bottom: 0;
}

.link_box .link_box_text .link_text {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0 5px;
  color: #007F51;
}

.link_box .link_box_text.only_one .link_text {
	justify-content: center;
}

.link_box .link_box_text .link_text.left_arrow {
  flex-direction: row-reverse;
}

.link_box .link_box_text .link_text.right_arrow::after {
  transform: rotate(180deg);
}

.link_box .link_box_text .link_text::after {
  content: "";
  display: block;
  width: 19px;
  height: 19px;
  background-image: url(/service/sozoku/strategy/images/arrow_01.png);
  background-repeat: no-repeat;
}

.hdg_link.txt-highest.color_black {
  color: #333;
}

.important-notice-section .inner figure {
  margin-bottom: 100px;
}

.important-notice-section .hdg__accordion_B {
  color: #004831;
  line-height: 1.44;
}

@media screen and (max-width: 767px) {
  .important-notice-section .accordion_box {
    padding-top: 30px;
  }

  .inheritance_pagination {
      display: block;
      background-color: #007F51;
      padding: 10px 0;
    }

  .inheritance_pagination .inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0 6px;
    margin-bottom: 0;
    flex-direction: row;
  }
  .inheritance_pagination .inner p {margin-bottom: 10px!important;}
  .inheritance_pagination .pagination_prev,
  .inheritance_pagination .pagination_next {
    background-color: #fff;
    font-size: 0.857rem;
    font-weight: bold;
    line-height: 1.33;
    width: 155px;
    text-align: center;
    padding: 10px 0;
    border-radius: 20px;
    margin: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.16);
  }

  .inheritance_pagination a {
    position: relative;
    color: #007F51;
    text-decoration: none;
  }

  .inheritance_pagination .pagination_prev a::before {
    content: '';
    width: 4px;
    height: 4px;
    border: 0;
    border-top: solid 2px #007F51;
    border-left: solid 2px #007F51;
    transform: rotate(-45deg);
    position: absolute;
    top: 45%;
    left: -50%;
    bottom: 0;
  }

  .inheritance_pagination .pagination_next a::after {
    content: '';
    width: 4px;
    height: 4px;
    border: 0;
    border-top: solid 2px #007F51;
    border-right: solid 2px #007F51;
    transform: rotate(45deg);
    position: absolute;
    top: 45%;
    right: -50%;
    bottom: 0;
  }

  .link_box {
    display: none;
  }
}