.mainimagebox {
  max-width: 1440px;
  margin: 0 auto 100px;
}
@media screen and (min-width: 1441px) {
  .mainimagebox {
    max-width: initial;
    transform-origin: top center;
    transform: scale(0.0694444444vw);
  }
  .mainimagebox .main_image {
    max-width: initial;
    padding-top: 17vw;
  }
  .mainimagebox .main_image .inner {
    width: initial;
  }
  .mainimagebox .main_image .text {
    font-size: 3vw;
  }
}
@media screen and (max-width: 768px) {
  .mainimagebox {
    padding: 0;
    max-width: 100%;
    margin: 0 auto;
  }
}

.main_image {
  position: relative;
  margin: 0 auto;
  padding-top: 250px;
  box-sizing: border-box;
  background: url(/images/after-inheritance/after-inheritance_key.webp) center top/cover no-repeat;
  overflow: hidden;
  max-width: 1440px;
  aspect-ratio: 1440/550;
}
.main_image .inner {
  width: 1025px;
  max-width: 100%;
  margin: 0 0 auto;
  box-sizing: border-box;
  padding: 0 0 0 100px;
}
.main_image .text {
  position: relative;
  z-index: 5;
  font-size: 47px;
  letter-spacing: 0.2em;
  text-align: left;
  color: #fff;
  font-weight: bold;
  font-family: serif;
  text-shadow: 0 0px 12px rgba(0, 0, 0, 0.9);
}
@media screen and (max-width: 1279px) and (min-width: 769px) {
  .main_image {
    min-width: 1280px;
    padding-top: 150px;
    transform-origin: top center;
    transform: scale(0.0694444444vw);
  }
}
@media screen and (max-width: 768px) {
  .main_image {
    position: relative;
    width: initial;
    height: auto;
    padding-top: 40vw;
    box-sizing: border-box;
    background-position: center top;
    overflow: hidden;
    aspect-ratio: 375/300;
  }
  .main_image .inner {
    padding: 0 5vw;
  }
  .main_image .text {
    text-align: center;
    padding-left: 0;
    font-size: 5.8vw;
  }
}

.m_wrapper {
  width: 100%;
  max-width: 1440px;
  min-width: 1280px;
  margin: 0 auto;
}
@media screen and (min-width: 1441px) {
  .m_wrapper {
    width: 100%;
    max-width: initial;
    min-width: 1280px;
    margin: 0 auto;
  }
}
@media screen and (max-width: 768px) {
  .m_wrapper {
    min-width: initial;
    max-width: initial;
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .lead_sec .sec_title {
    font-size: 5vw;
  }
}

.sec01 {
  margin-bottom: 200px;
}
.sec01 .bg_box {
  position: relative;
  padding: 50px 0 85px;
  background-image: linear-gradient(180deg, rgba(47, 137, 105, 0.2), rgba(252, 246, 188, 0.2));
}
.sec01 .bg_box::before {
  content: "";
  position: absolute;
  width: 388px;
  height: 471px;
  left: 0;
  top: 0;
  z-index: -1;
  background: url(/images/after-inheritance/sec01_1.webp) center/contain no-repeat;
}
.sec01 .bg_box .box_header {
  text-align: center;
  margin-bottom: 30px;
}
.sec01 .bg_box .box_header .box_title {
  font-weight: bold;
  font-size: 30px;
  font-family: serif;
  letter-spacing: 0.1em;
}
.sec01 .bg_box .box_header .box_title ruby {
  letter-spacing: 0.1em;
  font-weight: bold;
  font-size: 36px;
  color: #2F8969;
}
.sec01 .bg_box .box_header .box_title ruby rt {
  color: #A48535;
  font-size: 30px;
}
.sec01 .bg_box .flexbox {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  max-width: 832px;
  margin: 0 auto 80px;
  justify-content: center;
}
.sec01 .bg_box .flexbox .box {
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  letter-spacing: 0.05em;
  filter: drop-shadow(0px 0px 20px rgba(47, 137, 105, 0.5));
}
.sec01 .bg_box .flexbox .box p {
  text-align: center;
  font-size: 20px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  margin: 0;
}
.sec01 .bg_box .flexbox .box span {
  color: #2F8969;
  font-weight: bold;
  font-size: 23px;
}
.sec01 .bg_box .bottom_text {
  font-size: 30px;
  font-weight: bold;
  font-family: serif;
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
}
.sec01 .bg_box .box {
  position: relative;
}
.sec01 .bg_box .box::before {
  content: "";
  position: absolute;
}
.sec01 .bg_box .b1::before {
  width: 48px;
  height: 55px;
  left: 20px;
  top: 10px;
  background: url(/images/estate-planning/c3.webp) center/contain no-repeat;
}
.sec01 .bg_box .b2::before {
  width: 42px;
  height: 39px;
  right: 0;
  top: 20px;
  transform: scaleX(-1);
  background: url(/images/estate-planning/c1.webp) center/contain no-repeat;
}
.sec01 .bg_box .b3::before {
  width: 38px;
  height: 37px;
  right: -10px;
  top: 50px;
  background: url(/images/estate-planning/c2.webp) center/contain no-repeat;
}
.sec01 .bg_box .b4::before {
  width: 38px;
  height: 37px;
  left: -10px;
  bottom: 40px;
  background: url(/images/estate-planning/c4.webp) center/contain no-repeat;
}
.sec01 .bg_box .b5::before {
  width: 42px;
  height: 53px;
  right: 0px;
  top: 20px;
  background: url(/images/estate-planning/c5.webp) center/contain no-repeat;
}
@media screen and (max-width: 768px) {
  .sec01 {
    margin-bottom: 13.8vw;
  }
  .sec01 .bg_box {
    padding: 13.8vw 0;
  }
  .sec01 .bg_box::before {
    width: 41vw;
    height: 50vw;
  }
  .sec01 .bg_box .box_header {
    margin-bottom: 6.4vw;
  }
  .sec01 .bg_box .box_header .box_title {
    font-size: 5.1vw;
  }
  .sec01 .bg_box .box_header .box_title ruby {
    font-size: 6.1vw;
  }
  .sec01 .bg_box .box_header .box_title ruby rt {
    font-size: 5.1vw;
  }
  .sec01 .bg_box .flexbox {
    gap: 4vw;
    max-width: 90vw;
    margin: 0 auto 10.6vw;
  }
  .sec01 .bg_box .flexbox .box {
    width: 40vw;
    height: 40vw;
  }
  .sec01 .bg_box .flexbox .box p {
    font-size: 3.5vw;
  }
  .sec01 .bg_box .flexbox .box span {
    font-size: 4vw;
  }
  .sec01 .bg_box .flexbox .box:nth-child(4) {
    margin-left: 0;
  }
  .sec01 .bg_box .flexbox::after {
    content: none;
  }
  .sec01 .bg_box .flexbox .b1::before {
    width: 10vw;
    height: 11vw;
    left: 0;
    top: 3vw;
  }
  .sec01 .bg_box .flexbox .b2::before {
    width: 8vw;
    height: 10vw;
    right: -2vw;
    top: 4vw;
  }
  .sec01 .bg_box .flexbox .b3::before {
    width: 8vw;
    height: 10vw;
    right: -1vw;
    top: 6vw;
  }
  .sec01 .bg_box .flexbox .b4::before {
    width: 8vw;
    height: 10vw;
    left: -1vw;
    bottom: 3vw;
  }
  .sec01 .bg_box .flexbox .b5::before {
    width: 10vw;
    height: 11vw;
    right: -2vw;
    top: 3vw;
  }
  .sec01 .bg_box .flexbox .b5 {
    width: 40vw;
    height: 40vw;
  }
  .sec01 .bg_box .bottom_text {
    font-size: 4vw;
    padding: 0 5vw;
    text-align: left;
  }
}

.sec02 {
  margin-bottom: 170px;
}
.sec02 .lead_text {
  max-width: 814px;
  margin: 0 auto 130px;
  letter-spacing: 0.1em;
  line-height: 2;
}
.sec02 .flexbox {
  display: flex;
  align-items: center;
  margin-bottom: 150px;
}
.sec02 .flexbox .imagebox {
  position: relative;
  flex-shrink: 0;
  width: 550px;
  bottom: 30px;
}
.sec02 .flexbox .imagebox img {
  width: 100%;
  height: auto;
  display: block;
}
.sec02 .flexbox .imagebox .circle_box {
  position: absolute;
  bottom: -50px;
  left: -30px;
  display: flex;
  gap: 5px;
}
.sec02 .flexbox .imagebox .circle_box .circle {
  width: 171px;
  height: 171px;
  border-radius: 50%;
  border: 2px solid #A48535;
  background: #F6F6F6;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.7;
  color: #333;
  letter-spacing: 0.1em;
  margin: 0;
  flex-shrink: 0;
}
.sec02 .flexbox .textbox {
  flex: 1;
  background-image: linear-gradient(90deg, rgb(255, 255, 255), rgba(47, 137, 105, 0.1));
  padding: 40px 65px 60px 55px;
}
.sec02 .flexbox .textbox .box_header {
  margin-bottom: 20px;
}
.sec02 .flexbox .textbox .box_header .box_subtitle {
  font-size: 25px;
  color: #333;
  letter-spacing: 0.1em;
  font-weight: bold;
  font-family: serif;
  line-height: 1.5;
}
.sec02 .flexbox .textbox .box_header .box_title {
  font-size: 35px;
  font-weight: bold;
  color: #2F8969;
  letter-spacing: 0.1em;
  margin: 0;
  font-family: serif;
}
.sec02 .flexbox .textbox .box_text {
  font-size: 15px;
  line-height: 2;
  color: #333;
  letter-spacing: 0.05em;
  margin: 0;
}
.sec02 .reverse .imagebox .circle_box {
  position: absolute;
  bottom: -50px;
  right: -30px;
  left: initial;
  display: flex;
  gap: 5px;
}
.sec02 .reverse .imagebox .circle_box .circle {
  border: none;
  background: #A48535;
  color: #fff;
}
.sec02 .reverse .textbox {
  background-image: linear-gradient(270deg, rgb(255, 255, 255), rgba(47, 137, 105, 0.1));
}
.sec02 .about_wrapper {
  margin-top: 35px;
  text-align: left;
}
.sec02 .about_wrapper .about_btn {
  width: 275px;
  height: 60px;
  background-color: rgba(47, 137, 105, 0.2);
  border: 2px solid #2F8969;
  color: #333;
}
.sec02 .about_wrapper .about_btn::before {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: url(/images/common/maru_green.webp) center/contain no-repeat;
}
@media screen and (max-width: 768px) {
  .sec02 {
    margin-bottom: 13.8vw;
  }
  .sec02 .lead_text {
    margin: 0 auto 13.8vw;
    font-size: 4vw;
  }
  .sec02 .flexbox {
    flex-direction: column;
    margin-bottom: 10vw;
  }
  .sec02 .flexbox .imagebox {
    width: 100%;
    bottom: 0;
  }
  .sec02 .flexbox .imagebox .circle_box {
    bottom: -7vw;
    left: -2vw;
    gap: 1.5vw;
    z-index: 1;
  }
  .sec02 .flexbox .imagebox .circle_box .circle {
    width: 29vw;
    height: 29vw;
    font-size: 3.2vw;
    line-height: 1.6;
    letter-spacing: 0.05em;
  }
  .sec02 .flexbox .textbox {
    width: 100%;
    padding: 8vw 5vw;
    background-image: linear-gradient(180deg, rgb(255, 255, 255), rgba(47, 137, 105, 0.1));
  }
  .sec02 .flexbox .textbox .box_header {
    margin-bottom: 4vw;
  }
  .sec02 .flexbox .textbox .box_header .box_subtitle {
    font-size: 3.7vw;
    font-feature-settings: "palt";
  }
  .sec02 .flexbox .textbox .box_header .box_title {
    font-size: 5.5vw;
    font-feature-settings: "palt";
  }
  .sec02 .flexbox .textbox .box_text {
    font-size: 4vw;
  }
  .sec02 .reverse {
    flex-direction: column;
  }
  .sec02 .reverse .imagebox {
    order: 1;
  }
  .sec02 .reverse .imagebox .circle_box {
    right: -2vw;
    left: initial;
    bottom: -7vw;
  }
  .sec02 .reverse .textbox {
    order: 2;
    background-image: linear-gradient(180deg, rgb(255, 255, 255), rgba(47, 137, 105, 0.1));
  }
  .sec02 .about_wrapper {
    margin-top: 10vw;
    text-align: left;
  }
  .sec02 .about_wrapper .about_btn {
    width: 64vw;
    height: auto;
  }
  .sec02 .about_wrapper .about_btn::before {
    width: 8vw;
    height: 8vw;
    border-radius: 10px;
  }
}

.sec03 {
  margin-bottom: 100px;
}
.sec03 .sec_body {
  padding: 0 55px;
}
.sec03 .faq {
  margin-bottom: 50px;
  border-bottom: 2px dashed #2F8969;
}
.sec03 .faq .qbox, .sec03 .faq .abox {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 80%;
  margin: 0 auto;
  padding: 0 100px 50px 90px;
  -moz-column-gap: 20px;
       column-gap: 20px;
}
.sec03 .faq .qbox .q_left, .sec03 .faq .qbox .a_left, .sec03 .faq .abox .q_left, .sec03 .faq .abox .a_left {
  font-size: 40px;
  line-height: 1;
  color: #2F8969;
  font-family: serif;
}
.sec03 .faq .qbox .q_left, .sec03 .faq .abox .q_left {
  color: #A48535;
}
.sec03 .faq .qbox .q_text, .sec03 .faq .abox .q_text {
  font-size: 25px;
  font-family: serif;
  color: #A48535;
  font-weight: bold;
}
.sec03 .faq .qbox .a_text a, .sec03 .faq .abox .a_text a {
  color: #2F8969;
  font-weight: bold;
}
.sec03 .faq .abox {
  align-items: flex-start;
}
@media screen and (max-width: 768px) {
  .sec03 {
    margin-bottom: 13.8vw;
  }
  .sec03 .sec_body {
    padding: 0;
  }
  .sec03 .faq {
    padding-bottom: 10vw;
    margin-bottom: 10vw;
  }
  .sec03 .faq .qbox, .sec03 .faq .abox {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    -moz-column-gap: 3vw;
         column-gap: 3vw;
  }
  .sec03 .faq .qbox .q_left, .sec03 .faq .qbox .a_left, .sec03 .faq .abox .q_left, .sec03 .faq .abox .a_left {
    font-size: 8vw;
    font-weight: bold;
    line-height: 1;
    flex-shrink: 0;
  }
  .sec03 .faq .qbox .q_left, .sec03 .faq .abox .q_left {
    color: #D3CEA8;
  }
  .sec03 .faq .qbox .q_text, .sec03 .faq .qbox .a_text, .sec03 .faq .abox .q_text, .sec03 .faq .abox .a_text {
    font-weight: bold;
    font-size: 4vw;
    line-height: 1.8;
  }
  .sec03 .faq .qbox .q_text, .sec03 .faq .abox .q_text {
    font-size: 4vw;
    font-feature-settings: "palt";
  }
  .sec03 .faq .qbox {
    margin-bottom: 0;
    padding-bottom: 3vw;
  }
  .sec03 .faq .abox {
    align-items: flex-start;
    padding-top: 3vw;
  }
}/*# sourceMappingURL=after-inheritance.css.map */